4 #ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fdccl_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fdccl_2eproto
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3012000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
16 #if 3012004 < PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
22 #include <google/protobuf/port_undef.inc>
23 #include <google/protobuf/io/coded_stream.h>
25 #include <google/protobuf/arenastring.h>
26 #include <google/protobuf/generated_message_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/inlined_string_field.h>
29 #include <google/protobuf/metadata_lite.h>
30 #include <google/protobuf/generated_message_reflection.h>
32 #include <google/protobuf/repeated_field.h>
33 #include <google/protobuf/extension_set.h>
34 #include <google/protobuf/unknown_field_set.h>
36 #include <boost/units/quantity.hpp>
37 #include <boost/units/absolute.hpp>
38 #include <boost/units/dimensionless_type.hpp>
39 #include <boost/units/make_scaled_unit.hpp>
41 #include <google/protobuf/port_def.inc>
42 #define PROTOBUF_INTERNAL_EXPORT_goby_2facomms_2fprotobuf_2fdccl_2eproto
43 PROTOBUF_NAMESPACE_OPEN
47 PROTOBUF_NAMESPACE_CLOSE
51 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
53 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
55 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2]
57 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata
field_metadata[];
65 class ArithmeticModel;
66 class ArithmeticModelDefaultTypeInternal;
69 class DCCLConfigDefaultTypeInternal;
74 PROTOBUF_NAMESPACE_OPEN
75 template<> ::goby::acomms::protobuf::ArithmeticModel* Arena::CreateMaybeMessage<::goby::acomms::protobuf::ArithmeticModel>(Arena*);
76 template<> ::goby::acomms::protobuf::DCCLConfig* Arena::CreateMaybeMessage<::goby::acomms::protobuf::DCCLConfig>(Arena*);
77 PROTOBUF_NAMESPACE_CLOSE
84 class DCCLConfig PROTOBUF_FINAL :
85 public ::PROTOBUF_NAMESPACE_ID::Message {
93 *
this = ::std::move(from);
96 inline DCCLConfig&
operator=(
const DCCLConfig& from) {
100 inline DCCLConfig&
operator=(DCCLConfig&& from) noexcept {
101 if (GetArena() == from.GetArena()) {
102 if (
this != &from) InternalSwap(&from);
110 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
113 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
116 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
117 return GetDescriptor();
120 return GetMetadataStatic().descriptor;
123 return GetMetadataStatic().reflection;
129 return reinterpret_cast<const DCCLConfig*
>(
132 static constexpr
int kIndexInFileMessages =
135 friend void swap(DCCLConfig& a, DCCLConfig& b) {
138 inline void Swap(DCCLConfig* other) {
139 if (other ==
this)
return;
140 if (GetArena() == other->GetArena()) {
143 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
147 if (other ==
this)
return;
148 GOOGLE_DCHECK(GetArena() == other->GetArena());
154 inline DCCLConfig*
New() const final {
155 return CreateMaybeMessage<DCCLConfig>(
nullptr);
158 DCCLConfig*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
159 return CreateMaybeMessage<DCCLConfig>(arena);
161 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
162 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
165 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
166 bool IsInitialized() const final;
169 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
170 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
171 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
172 int GetCachedSize() const final {
return _cached_size_.Get(); }
175 inline void SharedCtor();
176 inline void SharedDtor();
177 void SetCachedSize(
int size)
const final;
178 void InternalSwap(DCCLConfig* other);
179 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
180 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
181 return "goby.acomms.protobuf.DCCLConfig";
186 static void ArenaDtor(
void*
object);
187 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
192 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
204 kSkipCryptoForIdFieldNumber = 3,
205 kCryptoPassphraseFieldNumber = 2,
206 kIdCodecFieldNumber = 4,
211 int _internal_skip_crypto_for_id_size()
const;
216 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >&
217 _internal_skip_crypto_for_id()
const;
219 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >*
220 _internal_mutable_skip_crypto_for_id();
225 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >&
227 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >*
233 bool _internal_has_crypto_passphrase()
const;
244 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED(
"The unsafe_arena_ accessors for"
245 " string fields are deprecated and will be removed in a"
247 std::
string* unsafe_arena_release_crypto_passphrase();
248 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
249 "
string fields are deprecated and will be removed in a"
251 void unsafe_arena_set_allocated_crypto_passphrase(
252 std::
string* crypto_passphrase);
254 const std::
string& _internal_crypto_passphrase() const;
255 void _internal_set_crypto_passphrase(const std::
string& value);
256 std::
string* _internal_mutable_crypto_passphrase();
260 bool has_id_codec() const;
262 bool _internal_has_id_codec() const;
264 void clear_id_codec();
265 const std::
string& id_codec() const;
266 void set_id_codec(const std::
string& value);
267 void set_id_codec(std::
string&& value);
268 void set_id_codec(const
char* value);
269 void set_id_codec(const
char* value,
size_t size);
270 std::
string* mutable_id_codec();
271 std::
string* release_id_codec();
272 void set_allocated_id_codec(std::
string* id_codec);
273 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
274 "
string fields are deprecated and will be removed in a"
276 std::
string* unsafe_arena_release_id_codec();
277 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
278 "
string fields are deprecated and will be removed in a"
280 void unsafe_arena_set_allocated_id_codec(
281 std::
string* id_codec);
283 const std::
string& _internal_id_codec() const;
284 void _internal_set_id_codec(const std::
string& value);
285 std::
string* _internal_mutable_id_codec();
292 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
293 typedef
void InternalArenaConstructable_;
294 typedef
void DestructorSkippable_;
295 ::PROTOBUF_NAMESPACE_ID::
internal::HasBits<1> _has_bits_;
296 mutable ::PROTOBUF_NAMESPACE_ID::
internal::CachedSize _cached_size_;
297 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::
uint32 > skip_crypto_for_id_;
298 ::PROTOBUF_NAMESPACE_ID::
internal::ArenaStringPtr crypto_passphrase_;
299 ::PROTOBUF_NAMESPACE_ID::
internal::ArenaStringPtr id_codec_;
305 public ::PROTOBUF_NAMESPACE_ID::Message {
312 : ArithmeticModel() {
313 *
this = ::std::move(from);
316 inline ArithmeticModel&
operator=(
const ArithmeticModel& from) {
320 inline ArithmeticModel&
operator=(ArithmeticModel&& from) noexcept {
321 if (GetArena() == from.GetArena()) {
322 if (
this != &from) InternalSwap(&from);
330 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
333 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
336 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
337 return GetDescriptor();
340 return GetMetadataStatic().descriptor;
343 return GetMetadataStatic().reflection;
349 return reinterpret_cast<const ArithmeticModel*
>(
352 static constexpr
int kIndexInFileMessages =
355 friend void swap(ArithmeticModel& a, ArithmeticModel& b) {
358 inline void Swap(ArithmeticModel* other) {
359 if (other ==
this)
return;
360 if (GetArena() == other->GetArena()) {
363 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
367 if (other ==
this)
return;
368 GOOGLE_DCHECK(GetArena() == other->GetArena());
374 inline ArithmeticModel*
New() const final {
375 return CreateMaybeMessage<ArithmeticModel>(
nullptr);
378 ArithmeticModel*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
379 return CreateMaybeMessage<ArithmeticModel>(arena);
381 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
382 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
385 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
386 bool IsInitialized() const final;
389 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
390 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
391 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
392 int GetCachedSize() const final {
return _cached_size_.Get(); }
395 inline void SharedCtor();
396 inline void SharedDtor();
397 void SetCachedSize(
int size)
const final;
398 void InternalSwap(ArithmeticModel* other);
399 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
400 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
401 return "goby.acomms.protobuf.ArithmeticModel";
406 static void ArenaDtor(
void*
object);
407 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
412 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
424 kFrequencyFieldNumber = 10,
425 kValueBoundFieldNumber = 20,
426 kNameFieldNumber = 1,
427 kOutOfRangeFrequencyFieldNumber = 12,
428 kIsAdaptiveFieldNumber = 30,
429 kEofFrequencyFieldNumber = 11,
434 int _internal_frequency_size()
const;
439 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >&
440 _internal_frequency()
const;
442 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >*
443 _internal_mutable_frequency();
448 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >&
450 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >*
456 int _internal_value_bound_size()
const;
460 double _internal_value_bound(
int index)
const;
461 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
462 _internal_value_bound()
const;
463 void _internal_add_value_bound(
double value);
464 ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
465 _internal_mutable_value_bound();
470 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
472 ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
478 bool _internal_has_name()
const;
481 const std::string&
name()
const;
489 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED(
"The unsafe_arena_ accessors for"
490 " string fields are deprecated and will be removed in a"
492 std::
string* unsafe_arena_release_name();
493 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
494 "
string fields are deprecated and will be removed in a"
496 void unsafe_arena_set_allocated_name(
499 const std::
string& _internal_name() const;
500 void _internal_set_name(const std::
string& value);
501 std::
string* _internal_mutable_name();
505 bool has_out_of_range_frequency() const;
507 bool _internal_has_out_of_range_frequency() const;
509 void clear_out_of_range_frequency();
510 ::PROTOBUF_NAMESPACE_ID::
uint32 out_of_range_frequency() const;
511 void set_out_of_range_frequency(::PROTOBUF_NAMESPACE_ID::
uint32 value);
513 ::PROTOBUF_NAMESPACE_ID::
uint32 _internal_out_of_range_frequency() const;
514 void _internal_set_out_of_range_frequency(::PROTOBUF_NAMESPACE_ID::
uint32 value);
518 bool has_is_adaptive() const;
520 bool _internal_has_is_adaptive() const;
522 void clear_is_adaptive();
523 bool is_adaptive() const;
524 void set_is_adaptive(
bool value);
526 bool _internal_is_adaptive() const;
527 void _internal_set_is_adaptive(
bool value);
531 bool has_eof_frequency() const;
533 bool _internal_has_eof_frequency() const;
535 void clear_eof_frequency();
536 ::PROTOBUF_NAMESPACE_ID::
uint32 eof_frequency() const;
537 void set_eof_frequency(::PROTOBUF_NAMESPACE_ID::
uint32 value);
539 ::PROTOBUF_NAMESPACE_ID::
uint32 _internal_eof_frequency() const;
540 void _internal_set_eof_frequency(::PROTOBUF_NAMESPACE_ID::
uint32 value);
547 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
548 typedef
void InternalArenaConstructable_;
549 typedef
void DestructorSkippable_;
550 ::PROTOBUF_NAMESPACE_ID::
internal::HasBits<1> _has_bits_;
551 mutable ::PROTOBUF_NAMESPACE_ID::
internal::CachedSize _cached_size_;
552 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::
uint32 > frequency_;
553 ::PROTOBUF_NAMESPACE_ID::RepeatedField<
double > value_bound_;
554 ::PROTOBUF_NAMESPACE_ID::
internal::ArenaStringPtr name_;
555 ::PROTOBUF_NAMESPACE_ID::
uint32 out_of_range_frequency_;
557 ::PROTOBUF_NAMESPACE_ID::
uint32 eof_frequency_;
566 #pragma GCC diagnostic push
567 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
572 inline bool DCCLConfig::_internal_has_crypto_passphrase()
const {
573 bool value = (_has_bits_[0] & 0x00000001u) != 0;
576 inline bool DCCLConfig::has_crypto_passphrase()
const {
577 return _internal_has_crypto_passphrase();
579 inline void DCCLConfig::clear_crypto_passphrase() {
581 _has_bits_[0] &= ~0x00000001u;
583 inline const std::string& DCCLConfig::crypto_passphrase()
const {
585 return _internal_crypto_passphrase();
587 inline void DCCLConfig::set_crypto_passphrase(
const std::string& value) {
588 _internal_set_crypto_passphrase(value);
591 inline std::string* DCCLConfig::mutable_crypto_passphrase() {
593 return _internal_mutable_crypto_passphrase();
595 inline const std::string& DCCLConfig::_internal_crypto_passphrase()
const {
596 return crypto_passphrase_.Get();
598 inline void DCCLConfig::_internal_set_crypto_passphrase(
const std::string& value) {
599 _has_bits_[0] |= 0x00000001u;
602 inline void DCCLConfig::set_crypto_passphrase(std::string&& value) {
603 _has_bits_[0] |= 0x00000001u;
604 crypto_passphrase_.Set(
608 inline void DCCLConfig::set_crypto_passphrase(
const char* value) {
609 GOOGLE_DCHECK(value !=
nullptr);
610 _has_bits_[0] |= 0x00000001u;
615 inline void DCCLConfig::set_crypto_passphrase(
const char* value,
617 _has_bits_[0] |= 0x00000001u;
619 reinterpret_cast<const char*
>(value), size), GetArena());
622 inline std::string* DCCLConfig::_internal_mutable_crypto_passphrase() {
623 _has_bits_[0] |= 0x00000001u;
626 inline std::string* DCCLConfig::release_crypto_passphrase() {
628 if (!_internal_has_crypto_passphrase()) {
631 _has_bits_[0] &= ~0x00000001u;
634 inline void DCCLConfig::set_allocated_crypto_passphrase(std::string* crypto_passphrase) {
635 if (crypto_passphrase !=
nullptr) {
636 _has_bits_[0] |= 0x00000001u;
638 _has_bits_[0] &= ~0x00000001u;
644 inline std::string* DCCLConfig::unsafe_arena_release_crypto_passphrase() {
646 GOOGLE_DCHECK(GetArena() !=
nullptr);
647 _has_bits_[0] &= ~0x00000001u;
651 inline void DCCLConfig::unsafe_arena_set_allocated_crypto_passphrase(
652 std::string* crypto_passphrase) {
653 GOOGLE_DCHECK(GetArena() !=
nullptr);
654 if (crypto_passphrase !=
nullptr) {
655 _has_bits_[0] |= 0x00000001u;
657 _has_bits_[0] &= ~0x00000001u;
660 crypto_passphrase, GetArena());
665 inline int DCCLConfig::_internal_skip_crypto_for_id_size()
const {
666 return skip_crypto_for_id_.size();
668 inline int DCCLConfig::skip_crypto_for_id_size()
const {
669 return _internal_skip_crypto_for_id_size();
671 inline void DCCLConfig::clear_skip_crypto_for_id() {
672 skip_crypto_for_id_.Clear();
675 return skip_crypto_for_id_.Get(index);
679 return _internal_skip_crypto_for_id(index);
682 skip_crypto_for_id_.Set(index, value);
686 skip_crypto_for_id_.Add(value);
689 _internal_add_skip_crypto_for_id(value);
692 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >&
693 DCCLConfig::_internal_skip_crypto_for_id()
const {
694 return skip_crypto_for_id_;
696 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >&
697 DCCLConfig::skip_crypto_for_id()
const {
699 return _internal_skip_crypto_for_id();
701 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >*
702 DCCLConfig::_internal_mutable_skip_crypto_for_id() {
703 return &skip_crypto_for_id_;
705 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >*
706 DCCLConfig::mutable_skip_crypto_for_id() {
708 return _internal_mutable_skip_crypto_for_id();
712 inline bool DCCLConfig::_internal_has_id_codec()
const {
713 bool value = (_has_bits_[0] & 0x00000002u) != 0;
716 inline bool DCCLConfig::has_id_codec()
const {
717 return _internal_has_id_codec();
719 inline void DCCLConfig::clear_id_codec() {
721 _has_bits_[0] &= ~0x00000002u;
723 inline const std::string& DCCLConfig::id_codec()
const {
725 return _internal_id_codec();
727 inline void DCCLConfig::set_id_codec(
const std::string& value) {
728 _internal_set_id_codec(value);
731 inline std::string* DCCLConfig::mutable_id_codec() {
733 return _internal_mutable_id_codec();
735 inline const std::string& DCCLConfig::_internal_id_codec()
const {
736 return id_codec_.Get();
738 inline void DCCLConfig::_internal_set_id_codec(
const std::string& value) {
739 _has_bits_[0] |= 0x00000002u;
742 inline void DCCLConfig::set_id_codec(std::string&& value) {
743 _has_bits_[0] |= 0x00000002u;
748 inline void DCCLConfig::set_id_codec(
const char* value) {
749 GOOGLE_DCHECK(value !=
nullptr);
750 _has_bits_[0] |= 0x00000002u;
755 inline void DCCLConfig::set_id_codec(
const char* value,
757 _has_bits_[0] |= 0x00000002u;
759 reinterpret_cast<const char*
>(value), size), GetArena());
762 inline std::string* DCCLConfig::_internal_mutable_id_codec() {
763 _has_bits_[0] |= 0x00000002u;
766 inline std::string* DCCLConfig::release_id_codec() {
768 if (!_internal_has_id_codec()) {
771 _has_bits_[0] &= ~0x00000002u;
774 inline void DCCLConfig::set_allocated_id_codec(std::string* id_codec) {
775 if (id_codec !=
nullptr) {
776 _has_bits_[0] |= 0x00000002u;
778 _has_bits_[0] &= ~0x00000002u;
784 inline std::string* DCCLConfig::unsafe_arena_release_id_codec() {
786 GOOGLE_DCHECK(GetArena() !=
nullptr);
787 _has_bits_[0] &= ~0x00000002u;
791 inline void DCCLConfig::unsafe_arena_set_allocated_id_codec(
792 std::string* id_codec) {
793 GOOGLE_DCHECK(GetArena() !=
nullptr);
794 if (id_codec !=
nullptr) {
795 _has_bits_[0] |= 0x00000002u;
797 _has_bits_[0] &= ~0x00000002u;
800 id_codec, GetArena());
809 inline bool ArithmeticModel::_internal_has_name()
const {
810 bool value = (_has_bits_[0] & 0x00000001u) != 0;
813 inline bool ArithmeticModel::has_name()
const {
814 return _internal_has_name();
816 inline void ArithmeticModel::clear_name() {
818 _has_bits_[0] &= ~0x00000001u;
820 inline const std::string& ArithmeticModel::name()
const {
822 return _internal_name();
824 inline void ArithmeticModel::set_name(
const std::string& value) {
825 _internal_set_name(value);
828 inline std::string* ArithmeticModel::mutable_name() {
830 return _internal_mutable_name();
832 inline const std::string& ArithmeticModel::_internal_name()
const {
835 inline void ArithmeticModel::_internal_set_name(
const std::string& value) {
836 _has_bits_[0] |= 0x00000001u;
839 inline void ArithmeticModel::set_name(std::string&& value) {
840 _has_bits_[0] |= 0x00000001u;
845 inline void ArithmeticModel::set_name(
const char* value) {
846 GOOGLE_DCHECK(value !=
nullptr);
847 _has_bits_[0] |= 0x00000001u;
852 inline void ArithmeticModel::set_name(
const char* value,
854 _has_bits_[0] |= 0x00000001u;
856 reinterpret_cast<const char*
>(value), size), GetArena());
859 inline std::string* ArithmeticModel::_internal_mutable_name() {
860 _has_bits_[0] |= 0x00000001u;
863 inline std::string* ArithmeticModel::release_name() {
865 if (!_internal_has_name()) {
868 _has_bits_[0] &= ~0x00000001u;
871 inline void ArithmeticModel::set_allocated_name(std::string* name) {
872 if (name !=
nullptr) {
873 _has_bits_[0] |= 0x00000001u;
875 _has_bits_[0] &= ~0x00000001u;
881 inline std::string* ArithmeticModel::unsafe_arena_release_name() {
883 GOOGLE_DCHECK(GetArena() !=
nullptr);
884 _has_bits_[0] &= ~0x00000001u;
888 inline void ArithmeticModel::unsafe_arena_set_allocated_name(
890 GOOGLE_DCHECK(GetArena() !=
nullptr);
891 if (name !=
nullptr) {
892 _has_bits_[0] |= 0x00000001u;
894 _has_bits_[0] &= ~0x00000001u;
902 inline int ArithmeticModel::_internal_frequency_size()
const {
903 return frequency_.size();
905 inline int ArithmeticModel::frequency_size()
const {
906 return _internal_frequency_size();
908 inline void ArithmeticModel::clear_frequency() {
912 return frequency_.Get(index);
916 return _internal_frequency(index);
919 frequency_.Set(index, value);
923 frequency_.Add(value);
926 _internal_add_frequency(value);
929 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >&
930 ArithmeticModel::_internal_frequency()
const {
933 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >&
936 return _internal_frequency();
938 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >*
939 ArithmeticModel::_internal_mutable_frequency() {
942 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >*
943 ArithmeticModel::mutable_frequency() {
945 return _internal_mutable_frequency();
949 inline bool ArithmeticModel::_internal_has_eof_frequency()
const {
950 bool value = (_has_bits_[0] & 0x00000008u) != 0;
953 inline bool ArithmeticModel::has_eof_frequency()
const {
954 return _internal_has_eof_frequency();
956 inline void ArithmeticModel::clear_eof_frequency() {
958 _has_bits_[0] &= ~0x00000008u;
961 return eof_frequency_;
965 return _internal_eof_frequency();
968 _has_bits_[0] |= 0x00000008u;
969 eof_frequency_ =
value;
972 _internal_set_eof_frequency(value);
977 inline bool ArithmeticModel::_internal_has_out_of_range_frequency()
const {
978 bool value = (_has_bits_[0] & 0x00000002u) != 0;
981 inline bool ArithmeticModel::has_out_of_range_frequency()
const {
982 return _internal_has_out_of_range_frequency();
984 inline void ArithmeticModel::clear_out_of_range_frequency() {
985 out_of_range_frequency_ = 0u;
986 _has_bits_[0] &= ~0x00000002u;
989 return out_of_range_frequency_;
993 return _internal_out_of_range_frequency();
996 _has_bits_[0] |= 0x00000002u;
997 out_of_range_frequency_ =
value;
1000 _internal_set_out_of_range_frequency(value);
1005 inline int ArithmeticModel::_internal_value_bound_size()
const {
1006 return value_bound_.size();
1008 inline int ArithmeticModel::value_bound_size()
const {
1009 return _internal_value_bound_size();
1011 inline void ArithmeticModel::clear_value_bound() {
1012 value_bound_.Clear();
1014 inline double ArithmeticModel::_internal_value_bound(
int index)
const {
1015 return value_bound_.Get(index);
1017 inline double ArithmeticModel::value_bound(
int index)
const {
1019 return _internal_value_bound(index);
1021 inline void ArithmeticModel::set_value_bound(
int index,
double value) {
1022 value_bound_.Set(index, value);
1025 inline void ArithmeticModel::_internal_add_value_bound(
double value) {
1026 value_bound_.Add(value);
1028 inline void ArithmeticModel::add_value_bound(
double value) {
1029 _internal_add_value_bound(value);
1032 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
1033 ArithmeticModel::_internal_value_bound()
const {
1034 return value_bound_;
1036 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
1037 ArithmeticModel::value_bound()
const {
1039 return _internal_value_bound();
1041 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
1042 ArithmeticModel::_internal_mutable_value_bound() {
1043 return &value_bound_;
1045 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
1046 ArithmeticModel::mutable_value_bound() {
1048 return _internal_mutable_value_bound();
1052 inline bool ArithmeticModel::_internal_has_is_adaptive()
const {
1053 bool value = (_has_bits_[0] & 0x00000004u) != 0;
1056 inline bool ArithmeticModel::has_is_adaptive()
const {
1057 return _internal_has_is_adaptive();
1059 inline void ArithmeticModel::clear_is_adaptive() {
1060 is_adaptive_ =
false;
1061 _has_bits_[0] &= ~0x00000004u;
1063 inline bool ArithmeticModel::_internal_is_adaptive()
const {
1064 return is_adaptive_;
1066 inline bool ArithmeticModel::is_adaptive()
const {
1068 return _internal_is_adaptive();
1070 inline void ArithmeticModel::_internal_set_is_adaptive(
bool value) {
1071 _has_bits_[0] |= 0x00000004u;
1072 is_adaptive_ =
value;
1074 inline void ArithmeticModel::set_is_adaptive(
bool value) {
1075 _internal_set_is_adaptive(value);
1080 #pragma GCC diagnostic pop
1093 #include <google/protobuf/port_undef.inc>
ArithmeticModel * New() const final
std::string * release_crypto_passphrase()
::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 > * mutable_skip_crypto_for_id()
void set_crypto_passphrase(std::string &&value)
void set_skip_crypto_for_id(int index, ::PROTOBUF_NAMESPACE_ID::uint32 value)
void CopyFrom(const ArithmeticModel &from)
void set_frequency(int index, ::PROTOBUF_NAMESPACE_ID::uint32 value)
void Swap(ArithmeticModel *other)
void set_crypto_passphrase(const char *value)
::PROTOBUF_NAMESPACE_ID::uint32 skip_crypto_for_id(int index) const
static const ArithmeticModel * internal_default_instance()
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
friend void swap(ArithmeticModel &a, ArithmeticModel &b)
void set_name(const std::string &value)
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double > & value_bound() const
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void add_skip_crypto_for_id(::PROTOBUF_NAMESPACE_ID::uint32 value)
::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 > * mutable_frequency()
void clear_crypto_passphrase()
int skip_crypto_for_id_size() const
static const DCCLConfig & default_instance()
void UnsafeArenaSwap(ArithmeticModel *other)
ArithmeticModel & operator=(ArithmeticModel &&from) noexcept
int frequency_size() const
static const DCCLConfig * internal_default_instance()
static const ArithmeticModel & default_instance()
void MergeFrom(const DCCLConfig &from)
std::string * mutable_name()
DCCLConfig & operator=(const DCCLConfig &from)
void clear_skip_crypto_for_id()
virtual ~ArithmeticModel()
::PROTOBUF_NAMESPACE_ID::RepeatedField< double > * mutable_value_bound()
ArithmeticModel(const ArithmeticModel &from)
void set_allocated_name(std::string *name)
void set_allocated_crypto_passphrase(std::string *crypto_passphrase)
DCCLConfig * New() const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void set_crypto_passphrase(const std::string &value)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
DCCLConfig(DCCLConfig &&from) noexcept
static void InitAsDefaultInstance()
void MergeFrom(const ArithmeticModel &from)
ArithmeticModel * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
void set_name(const char *value, size_t size)
void UnsafeArenaSwap(DCCLConfig *other)
std::string * mutable_crypto_passphrase()
void set_name(std::string &&value)
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 > & frequency() const
void add_value_bound(double value)
DCCLConfig & operator=(DCCLConfig &&from) noexcept
const std::string & crypto_passphrase() const
DCCLConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 > & skip_crypto_for_id() const
::PROTOBUF_NAMESPACE_ID::uint32 frequency(int index) const
DCCLConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void set_crypto_passphrase(const char *value, size_t size)
std::string * release_name()
void set_name(const char *value)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
ArithmeticModel & operator=(const ArithmeticModel &from)
friend void swap(DCCLConfig &a, DCCLConfig &b)
DCCLConfig(const DCCLConfig &from)
void set_value_bound(int index, double value)
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
ArithmeticModel(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void Swap(DCCLConfig *other)
void add_frequency(::PROTOBUF_NAMESPACE_ID::uint32 value)
double value_bound(int index) const
int value_bound_size() const
bool has_crypto_passphrase() const
ArithmeticModel(ArithmeticModel &&from) noexcept
void CopyFrom(const DCCLConfig &from)
const std::string & name() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2facomms_2fprotobuf_2fdccl_2eproto
@ value
the parser finished reading a JSON value
DCCLConfigDefaultTypeInternal _DCCLConfig_default_instance_
ArithmeticModelDefaultTypeInternal _ArithmeticModel_default_instance_
boost::units::unit< boost::units::frequency_dimension, system > frequency
The global namespace for the Goby project.
PROTOBUF_EXPORT const std::string & GetEmptyStringAlreadyInited()
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)