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 < 3021000
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 3021012 < 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_util.h>
27#include <google/protobuf/metadata_lite.h>
28#include <google/protobuf/generated_message_reflection.h>
30#include <google/protobuf/repeated_field.h>
31#include <google/protobuf/extension_set.h>
32#include <google/protobuf/unknown_field_set.h>
34#include <boost/units/quantity.hpp>
35#include <boost/units/absolute.hpp>
36#include <boost/units/dimensionless_type.hpp>
37#include <boost/units/make_scaled_unit.hpp>
39#include <google/protobuf/port_def.inc>
40#define PROTOBUF_INTERNAL_EXPORT_goby_2facomms_2fprotobuf_2fdccl_2eproto
41PROTOBUF_NAMESPACE_OPEN
45PROTOBUF_NAMESPACE_CLOSE
56struct ArithmeticModelDefaultTypeInternal;
59struct DCCLConfigDefaultTypeInternal;
64PROTOBUF_NAMESPACE_OPEN
67PROTOBUF_NAMESPACE_CLOSE
75 public ::PROTOBUF_NAMESPACE_ID::Message {
79 explicit PROTOBUF_CONSTEXPR
DCCLConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
84 *
this = ::std::move(from);
92 if (
this == &from)
return *
this;
93 if (GetOwningArena() == from.GetOwningArena()
94 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
95 && GetOwningArena() !=
nullptr
106 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
109 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
112 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
135 if (other ==
this)
return;
136 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
137 if (GetOwningArena() !=
nullptr &&
138 GetOwningArena() == other->GetOwningArena()) {
140 if (GetOwningArena() == other->GetOwningArena()) {
144 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
148 if (other ==
this)
return;
149 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
155 DCCLConfig*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
156 return CreateMaybeMessage<DCCLConfig>(arena);
158 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
160 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
162 DCCLConfig::MergeImpl(*
this, from);
165 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
167 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
173 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
177 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
179 void SetCachedSize(
int size)
const final;
183 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
184 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
185 return "goby.acomms.protobuf.DCCLConfig";
189 bool is_message_owned =
false);
193 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
209 int _internal_skip_crypto_for_id_size()
const;
213 uint32_t _internal_skip_crypto_for_id(
int index)
const;
214 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
215 _internal_skip_crypto_for_id()
const;
216 void _internal_add_skip_crypto_for_id(uint32_t value);
217 ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
218 _internal_mutable_skip_crypto_for_id();
223 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
225 ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
231 bool _internal_has_crypto_passphrase()
const;
235 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
241 const std::string& _internal_crypto_passphrase()
const;
242 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_crypto_passphrase(
const std::string& value);
243 std::string* _internal_mutable_crypto_passphrase();
249 bool _internal_has_id_codec()
const;
252 const std::string&
id_codec()
const;
253 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
259 const std::string& _internal_id_codec()
const;
260 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_id_codec(
const std::string& value);
261 std::string* _internal_mutable_id_codec();
268 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
269 typedef void InternalArenaConstructable_;
270 typedef void DestructorSkippable_;
272 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
273 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
274 ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > skip_crypto_for_id_;
275 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr crypto_passphrase_;
276 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_codec_;
279 friend struct ::TableStruct_goby_2facomms_2fprotobuf_2fdccl_2eproto;
284 public ::PROTOBUF_NAMESPACE_ID::Message {
288 explicit PROTOBUF_CONSTEXPR
ArithmeticModel(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
293 *
this = ::std::move(from);
301 if (
this == &from)
return *
this;
302 if (GetOwningArena() == from.GetOwningArena()
303 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
304 && GetOwningArena() !=
nullptr
315 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
318 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
321 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
322 return GetDescriptor();
325 return default_instance().GetMetadata().descriptor;
328 return default_instance().GetMetadata().reflection;
331 return *internal_default_instance();
337 static constexpr int kIndexInFileMessages =
344 if (other ==
this)
return;
345 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
346 if (GetOwningArena() !=
nullptr &&
347 GetOwningArena() == other->GetOwningArena()) {
349 if (GetOwningArena() == other->GetOwningArena()) {
353 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
357 if (other ==
this)
return;
358 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
365 return CreateMaybeMessage<ArithmeticModel>(arena);
367 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
369 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
371 ArithmeticModel::MergeImpl(*
this, from);
374 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
376 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
377 bool IsInitialized() const final;
380 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
381 uint8_t* _InternalSerialize(
382 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
383 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
386 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
388 void SetCachedSize(
int size)
const final;
392 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
393 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
394 return "goby.acomms.protobuf.ArithmeticModel";
398 bool is_message_owned =
false);
402 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
404 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
411 kFrequencyFieldNumber = 10,
412 kValueBoundFieldNumber = 20,
413 kNameFieldNumber = 1,
414 kOutOfRangeFrequencyFieldNumber = 12,
415 kIsAdaptiveFieldNumber = 30,
416 kEofFrequencyFieldNumber = 11,
419 int frequency_size()
const;
421 int _internal_frequency_size()
const;
423 void clear_frequency();
425 uint32_t _internal_frequency(
int index)
const;
426 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
427 _internal_frequency()
const;
428 void _internal_add_frequency(uint32_t value);
429 ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
430 _internal_mutable_frequency();
432 uint32_t frequency(
int index)
const;
433 void set_frequency(
int index, uint32_t value);
434 void add_frequency(uint32_t value);
435 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
437 ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
441 int value_bound_size()
const;
443 int _internal_value_bound_size()
const;
445 void clear_value_bound();
447 double _internal_value_bound(
int index)
const;
448 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
449 _internal_value_bound()
const;
450 void _internal_add_value_bound(
double value);
451 ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
452 _internal_mutable_value_bound();
454 double value_bound(
int index)
const;
455 void set_value_bound(
int index,
double value);
456 void add_value_bound(
double value);
457 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
459 ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
460 mutable_value_bound();
463 bool has_name()
const;
465 bool _internal_has_name()
const;
468 const std::string& name()
const;
469 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
471 std::string* mutable_name();
472 PROTOBUF_NODISCARD std::string* release_name();
473 void set_allocated_name(std::string* name);
475 const std::string& _internal_name()
const;
476 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_name(
const std::string& value);
477 std::string* _internal_mutable_name();
481 bool has_out_of_range_frequency()
const;
483 bool _internal_has_out_of_range_frequency()
const;
485 void clear_out_of_range_frequency();
486 uint32_t out_of_range_frequency()
const;
487 void set_out_of_range_frequency(uint32_t value);
489 uint32_t _internal_out_of_range_frequency()
const;
490 void _internal_set_out_of_range_frequency(uint32_t value);
494 bool has_is_adaptive()
const;
496 bool _internal_has_is_adaptive()
const;
498 void clear_is_adaptive();
499 bool is_adaptive()
const;
500 void set_is_adaptive(
bool value);
502 bool _internal_is_adaptive()
const;
503 void _internal_set_is_adaptive(
bool value);
507 bool has_eof_frequency()
const;
509 bool _internal_has_eof_frequency()
const;
511 void clear_eof_frequency();
512 uint32_t eof_frequency()
const;
513 void set_eof_frequency(uint32_t value);
515 uint32_t _internal_eof_frequency()
const;
516 void _internal_set_eof_frequency(uint32_t value);
523 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
524 typedef void InternalArenaConstructable_;
525 typedef void DestructorSkippable_;
527 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
528 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
529 ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > frequency_;
530 ::PROTOBUF_NAMESPACE_ID::RepeatedField< double > value_bound_;
531 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
532 uint32_t out_of_range_frequency_;
534 uint32_t eof_frequency_;
537 friend struct ::TableStruct_goby_2facomms_2fprotobuf_2fdccl_2eproto;
545 #pragma GCC diagnostic push
546 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
551inline bool DCCLConfig::_internal_has_crypto_passphrase()
const {
552 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
555inline bool DCCLConfig::has_crypto_passphrase()
const {
556 return _internal_has_crypto_passphrase();
558inline void DCCLConfig::clear_crypto_passphrase() {
559 _impl_.crypto_passphrase_.ClearToEmpty();
560 _impl_._has_bits_[0] &= ~0x00000001u;
562inline const std::string& DCCLConfig::crypto_passphrase()
const {
564 return _internal_crypto_passphrase();
566template <
typename ArgT0,
typename... ArgT>
567inline PROTOBUF_ALWAYS_INLINE
568void DCCLConfig::set_crypto_passphrase(ArgT0&& arg0, ArgT... args) {
569 _impl_._has_bits_[0] |= 0x00000001u;
570 _impl_.crypto_passphrase_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
573inline std::string* DCCLConfig::mutable_crypto_passphrase() {
574 std::string* _s = _internal_mutable_crypto_passphrase();
578inline const std::string& DCCLConfig::_internal_crypto_passphrase()
const {
579 return _impl_.crypto_passphrase_.Get();
581inline void DCCLConfig::_internal_set_crypto_passphrase(
const std::string& value) {
582 _impl_._has_bits_[0] |= 0x00000001u;
583 _impl_.crypto_passphrase_.Set(value, GetArenaForAllocation());
585inline std::string* DCCLConfig::_internal_mutable_crypto_passphrase() {
586 _impl_._has_bits_[0] |= 0x00000001u;
587 return _impl_.crypto_passphrase_.Mutable(GetArenaForAllocation());
589inline std::string* DCCLConfig::release_crypto_passphrase() {
591 if (!_internal_has_crypto_passphrase()) {
594 _impl_._has_bits_[0] &= ~0x00000001u;
595 auto* p = _impl_.crypto_passphrase_.Release();
596#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
597 if (_impl_.crypto_passphrase_.IsDefault()) {
598 _impl_.crypto_passphrase_.Set(
"", GetArenaForAllocation());
603inline void DCCLConfig::set_allocated_crypto_passphrase(std::string* crypto_passphrase) {
604 if (crypto_passphrase !=
nullptr) {
605 _impl_._has_bits_[0] |= 0x00000001u;
607 _impl_._has_bits_[0] &= ~0x00000001u;
609 _impl_.crypto_passphrase_.SetAllocated(crypto_passphrase, GetArenaForAllocation());
610#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
611 if (_impl_.crypto_passphrase_.IsDefault()) {
612 _impl_.crypto_passphrase_.Set(
"", GetArenaForAllocation());
619inline int DCCLConfig::_internal_skip_crypto_for_id_size()
const {
620 return _impl_.skip_crypto_for_id_.size();
622inline int DCCLConfig::skip_crypto_for_id_size()
const {
623 return _internal_skip_crypto_for_id_size();
625inline void DCCLConfig::clear_skip_crypto_for_id() {
626 _impl_.skip_crypto_for_id_.Clear();
628inline uint32_t DCCLConfig::_internal_skip_crypto_for_id(
int index)
const {
629 return _impl_.skip_crypto_for_id_.Get(index);
631inline uint32_t DCCLConfig::skip_crypto_for_id(
int index)
const {
633 return _internal_skip_crypto_for_id(index);
635inline void DCCLConfig::set_skip_crypto_for_id(
int index, uint32_t value) {
636 _impl_.skip_crypto_for_id_.Set(index, value);
639inline void DCCLConfig::_internal_add_skip_crypto_for_id(uint32_t value) {
640 _impl_.skip_crypto_for_id_.Add(value);
642inline void DCCLConfig::add_skip_crypto_for_id(uint32_t value) {
643 _internal_add_skip_crypto_for_id(value);
646inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
647DCCLConfig::_internal_skip_crypto_for_id()
const {
648 return _impl_.skip_crypto_for_id_;
650inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
651DCCLConfig::skip_crypto_for_id()
const {
653 return _internal_skip_crypto_for_id();
655inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
656DCCLConfig::_internal_mutable_skip_crypto_for_id() {
657 return &_impl_.skip_crypto_for_id_;
659inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
660DCCLConfig::mutable_skip_crypto_for_id() {
662 return _internal_mutable_skip_crypto_for_id();
666inline bool DCCLConfig::_internal_has_id_codec()
const {
667 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
670inline bool DCCLConfig::has_id_codec()
const {
671 return _internal_has_id_codec();
673inline void DCCLConfig::clear_id_codec() {
674 _impl_.id_codec_.ClearToEmpty();
675 _impl_._has_bits_[0] &= ~0x00000002u;
677inline const std::string& DCCLConfig::id_codec()
const {
679 return _internal_id_codec();
681template <
typename ArgT0,
typename... ArgT>
682inline PROTOBUF_ALWAYS_INLINE
683void DCCLConfig::set_id_codec(ArgT0&& arg0, ArgT... args) {
684 _impl_._has_bits_[0] |= 0x00000002u;
685 _impl_.id_codec_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
688inline std::string* DCCLConfig::mutable_id_codec() {
689 std::string* _s = _internal_mutable_id_codec();
693inline const std::string& DCCLConfig::_internal_id_codec()
const {
694 return _impl_.id_codec_.Get();
696inline void DCCLConfig::_internal_set_id_codec(
const std::string& value) {
697 _impl_._has_bits_[0] |= 0x00000002u;
698 _impl_.id_codec_.Set(value, GetArenaForAllocation());
700inline std::string* DCCLConfig::_internal_mutable_id_codec() {
701 _impl_._has_bits_[0] |= 0x00000002u;
702 return _impl_.id_codec_.Mutable(GetArenaForAllocation());
704inline std::string* DCCLConfig::release_id_codec() {
706 if (!_internal_has_id_codec()) {
709 _impl_._has_bits_[0] &= ~0x00000002u;
710 auto* p = _impl_.id_codec_.Release();
711#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
712 if (_impl_.id_codec_.IsDefault()) {
713 _impl_.id_codec_.Set(
"", GetArenaForAllocation());
718inline void DCCLConfig::set_allocated_id_codec(std::string* id_codec) {
719 if (id_codec !=
nullptr) {
720 _impl_._has_bits_[0] |= 0x00000002u;
722 _impl_._has_bits_[0] &= ~0x00000002u;
724 _impl_.id_codec_.SetAllocated(id_codec, GetArenaForAllocation());
725#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
726 if (_impl_.id_codec_.IsDefault()) {
727 _impl_.id_codec_.Set(
"", GetArenaForAllocation());
738inline bool ArithmeticModel::_internal_has_name()
const {
739 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
742inline bool ArithmeticModel::has_name()
const {
743 return _internal_has_name();
745inline void ArithmeticModel::clear_name() {
746 _impl_.name_.ClearToEmpty();
747 _impl_._has_bits_[0] &= ~0x00000001u;
749inline const std::string& ArithmeticModel::name()
const {
751 return _internal_name();
753template <
typename ArgT0,
typename... ArgT>
754inline PROTOBUF_ALWAYS_INLINE
755void ArithmeticModel::set_name(ArgT0&& arg0, ArgT... args) {
756 _impl_._has_bits_[0] |= 0x00000001u;
757 _impl_.name_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
760inline std::string* ArithmeticModel::mutable_name() {
761 std::string* _s = _internal_mutable_name();
765inline const std::string& ArithmeticModel::_internal_name()
const {
766 return _impl_.name_.Get();
768inline void ArithmeticModel::_internal_set_name(
const std::string& value) {
769 _impl_._has_bits_[0] |= 0x00000001u;
770 _impl_.name_.Set(value, GetArenaForAllocation());
772inline std::string* ArithmeticModel::_internal_mutable_name() {
773 _impl_._has_bits_[0] |= 0x00000001u;
774 return _impl_.name_.Mutable(GetArenaForAllocation());
776inline std::string* ArithmeticModel::release_name() {
778 if (!_internal_has_name()) {
781 _impl_._has_bits_[0] &= ~0x00000001u;
782 auto* p = _impl_.name_.Release();
783#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
784 if (_impl_.name_.IsDefault()) {
785 _impl_.name_.Set(
"", GetArenaForAllocation());
790inline void ArithmeticModel::set_allocated_name(std::string* name) {
791 if (name !=
nullptr) {
792 _impl_._has_bits_[0] |= 0x00000001u;
794 _impl_._has_bits_[0] &= ~0x00000001u;
796 _impl_.name_.SetAllocated(name, GetArenaForAllocation());
797#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
798 if (_impl_.name_.IsDefault()) {
799 _impl_.name_.Set(
"", GetArenaForAllocation());
806inline int ArithmeticModel::_internal_frequency_size()
const {
807 return _impl_.frequency_.size();
809inline int ArithmeticModel::frequency_size()
const {
810 return _internal_frequency_size();
812inline void ArithmeticModel::clear_frequency() {
813 _impl_.frequency_.Clear();
815inline uint32_t ArithmeticModel::_internal_frequency(
int index)
const {
816 return _impl_.frequency_.Get(index);
818inline uint32_t ArithmeticModel::frequency(
int index)
const {
820 return _internal_frequency(index);
822inline void ArithmeticModel::set_frequency(
int index, uint32_t value) {
823 _impl_.frequency_.Set(index, value);
826inline void ArithmeticModel::_internal_add_frequency(uint32_t value) {
827 _impl_.frequency_.Add(value);
829inline void ArithmeticModel::add_frequency(uint32_t value) {
830 _internal_add_frequency(value);
833inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
834ArithmeticModel::_internal_frequency()
const {
835 return _impl_.frequency_;
837inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
838ArithmeticModel::frequency()
const {
840 return _internal_frequency();
842inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
843ArithmeticModel::_internal_mutable_frequency() {
844 return &_impl_.frequency_;
846inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
847ArithmeticModel::mutable_frequency() {
849 return _internal_mutable_frequency();
853inline bool ArithmeticModel::_internal_has_eof_frequency()
const {
854 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
857inline bool ArithmeticModel::has_eof_frequency()
const {
858 return _internal_has_eof_frequency();
860inline void ArithmeticModel::clear_eof_frequency() {
861 _impl_.eof_frequency_ = 1u;
862 _impl_._has_bits_[0] &= ~0x00000008u;
864inline uint32_t ArithmeticModel::_internal_eof_frequency()
const {
865 return _impl_.eof_frequency_;
867inline uint32_t ArithmeticModel::eof_frequency()
const {
869 return _internal_eof_frequency();
871inline void ArithmeticModel::_internal_set_eof_frequency(uint32_t value) {
872 _impl_._has_bits_[0] |= 0x00000008u;
873 _impl_.eof_frequency_ = value;
875inline void ArithmeticModel::set_eof_frequency(uint32_t value) {
876 _internal_set_eof_frequency(value);
881inline bool ArithmeticModel::_internal_has_out_of_range_frequency()
const {
882 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
885inline bool ArithmeticModel::has_out_of_range_frequency()
const {
886 return _internal_has_out_of_range_frequency();
888inline void ArithmeticModel::clear_out_of_range_frequency() {
889 _impl_.out_of_range_frequency_ = 0u;
890 _impl_._has_bits_[0] &= ~0x00000002u;
892inline uint32_t ArithmeticModel::_internal_out_of_range_frequency()
const {
893 return _impl_.out_of_range_frequency_;
895inline uint32_t ArithmeticModel::out_of_range_frequency()
const {
897 return _internal_out_of_range_frequency();
899inline void ArithmeticModel::_internal_set_out_of_range_frequency(uint32_t value) {
900 _impl_._has_bits_[0] |= 0x00000002u;
901 _impl_.out_of_range_frequency_ = value;
903inline void ArithmeticModel::set_out_of_range_frequency(uint32_t value) {
904 _internal_set_out_of_range_frequency(value);
909inline int ArithmeticModel::_internal_value_bound_size()
const {
910 return _impl_.value_bound_.size();
912inline int ArithmeticModel::value_bound_size()
const {
913 return _internal_value_bound_size();
915inline void ArithmeticModel::clear_value_bound() {
916 _impl_.value_bound_.Clear();
918inline double ArithmeticModel::_internal_value_bound(
int index)
const {
919 return _impl_.value_bound_.Get(index);
921inline double ArithmeticModel::value_bound(
int index)
const {
923 return _internal_value_bound(index);
925inline void ArithmeticModel::set_value_bound(
int index,
double value) {
926 _impl_.value_bound_.Set(index, value);
929inline void ArithmeticModel::_internal_add_value_bound(
double value) {
930 _impl_.value_bound_.Add(value);
932inline void ArithmeticModel::add_value_bound(
double value) {
933 _internal_add_value_bound(value);
936inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
937ArithmeticModel::_internal_value_bound()
const {
938 return _impl_.value_bound_;
940inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
941ArithmeticModel::value_bound()
const {
943 return _internal_value_bound();
945inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
946ArithmeticModel::_internal_mutable_value_bound() {
947 return &_impl_.value_bound_;
949inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
950ArithmeticModel::mutable_value_bound() {
952 return _internal_mutable_value_bound();
956inline bool ArithmeticModel::_internal_has_is_adaptive()
const {
957 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
960inline bool ArithmeticModel::has_is_adaptive()
const {
961 return _internal_has_is_adaptive();
963inline void ArithmeticModel::clear_is_adaptive() {
964 _impl_.is_adaptive_ =
false;
965 _impl_._has_bits_[0] &= ~0x00000004u;
967inline bool ArithmeticModel::_internal_is_adaptive()
const {
968 return _impl_.is_adaptive_;
970inline bool ArithmeticModel::is_adaptive()
const {
972 return _internal_is_adaptive();
974inline void ArithmeticModel::_internal_set_is_adaptive(
bool value) {
975 _impl_._has_bits_[0] |= 0x00000004u;
976 _impl_.is_adaptive_ = value;
978inline void ArithmeticModel::set_is_adaptive(
bool value) {
979 _internal_set_is_adaptive(value);
984 #pragma GCC diagnostic pop
997#include <google/protobuf/port_undef.inc>
friend void swap(ArithmeticModel &a, ArithmeticModel &b)
void Swap(ArithmeticModel *other)
PROTOBUF_CONSTEXPR ArithmeticModel(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
static const ArithmeticModel * internal_default_instance()
static const ClassData _class_data_
void set_name(ArgT0 &&arg0, ArgT... args)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
void CopyFrom(const ArithmeticModel &from)
~ArithmeticModel() override
ArithmeticModel(const ArithmeticModel &from)
void MergeFrom(const ArithmeticModel &from)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void UnsafeArenaSwap(ArithmeticModel *other)
ArithmeticModel & operator=(ArithmeticModel &&from) noexcept
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
static const ArithmeticModel & default_instance()
ArithmeticModel * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
ArithmeticModel & operator=(const ArithmeticModel &from)
ArithmeticModel(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
ArithmeticModel(ArithmeticModel &&from) noexcept
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > & skip_crypto_for_id() const
DCCLConfig(DCCLConfig &&from) noexcept
std::string * mutable_id_codec()
PROTOBUF_CONSTEXPR DCCLConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
DCCLConfig & operator=(const DCCLConfig &from)
int skip_crypto_for_id_size() const
PROTOBUF_NODISCARD std::string * release_id_codec()
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
bool has_id_codec() const
static const DCCLConfig & default_instance()
const std::string & id_codec() const
void set_allocated_id_codec(std::string *id_codec)
DCCLConfig & operator=(DCCLConfig &&from) noexcept
void set_id_codec(ArgT0 &&arg0, ArgT... args)
static constexpr int kIndexInFileMessages
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
DCCLConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
void MergeFrom(const DCCLConfig &from)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void UnsafeArenaSwap(DCCLConfig *other)
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
void CopyFrom(const DCCLConfig &from)
void set_crypto_passphrase(ArgT0 &&arg0, ArgT... args)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
void set_allocated_crypto_passphrase(std::string *crypto_passphrase)
void Swap(DCCLConfig *other)
DCCLConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
size_t ByteSizeLong() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
int GetCachedSize() const final
static const DCCLConfig * internal_default_instance()
bool has_crypto_passphrase() const
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
@ kSkipCryptoForIdFieldNumber
@ kCryptoPassphraseFieldNumber
DCCLConfig(const DCCLConfig &from)
::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > * mutable_skip_crypto_for_id()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
std::string * mutable_crypto_passphrase()
const std::string & crypto_passphrase() const
void clear_crypto_passphrase()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
friend void swap(DCCLConfig &a, DCCLConfig &b)
void clear_skip_crypto_for_id()
void set_skip_crypto_for_id(int index, uint32_t value)
void add_skip_crypto_for_id(uint32_t value)
PROTOBUF_NODISCARD std::string * release_crypto_passphrase()
bool IsInitialized() const final
static const ClassData _class_data_
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2facomms_2fprotobuf_2fdccl_2eproto
DCCLConfigDefaultTypeInternal _DCCLConfig_default_instance_
ArithmeticModelDefaultTypeInternal _ArithmeticModel_default_instance_
The global namespace for the Goby project.
static const uint32_t offsets[]