4 #ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fudp_5fmulticast_5fdriver_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fudp_5fmulticast_5fdriver_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>
37 #include <boost/units/quantity.hpp>
38 #include <boost/units/absolute.hpp>
39 #include <boost/units/dimensionless_type.hpp>
40 #include <boost/units/make_scaled_unit.hpp>
42 #include <google/protobuf/port_def.inc>
43 #define PROTOBUF_INTERNAL_EXPORT_goby_2facomms_2fprotobuf_2fudp_5fmulticast_5fdriver_2eproto
44 PROTOBUF_NAMESPACE_OPEN
48 PROTOBUF_NAMESPACE_CLOSE
52 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
54 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
56 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2]
58 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata
field_metadata[];
65 namespace udp_multicast {
68 class ConfigDefaultTypeInternal;
70 class Config_RateBytesPair;
71 class Config_RateBytesPairDefaultTypeInternal;
77 PROTOBUF_NAMESPACE_OPEN
78 template<> ::goby::acomms::udp_multicast::protobuf::Config* Arena::CreateMaybeMessage<::goby::acomms::udp_multicast::protobuf::Config>(Arena*);
79 template<> ::goby::acomms::udp_multicast::protobuf::Config_RateBytesPair* Arena::CreateMaybeMessage<::goby::acomms::udp_multicast::protobuf::Config_RateBytesPair>(Arena*);
80 PROTOBUF_NAMESPACE_CLOSE
83 namespace udp_multicast {
89 public ::PROTOBUF_NAMESPACE_ID::Message {
96 : Config_RateBytesPair() {
97 *
this = ::std::move(from);
100 inline Config_RateBytesPair&
operator=(
const Config_RateBytesPair& from) {
104 inline Config_RateBytesPair&
operator=(Config_RateBytesPair&& from) noexcept {
105 if (GetArena() == from.GetArena()) {
106 if (
this != &from) InternalSwap(&from);
114 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
117 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
120 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
121 return GetDescriptor();
124 return GetMetadataStatic().descriptor;
127 return GetMetadataStatic().reflection;
133 return reinterpret_cast<const Config_RateBytesPair*
>(
136 static constexpr
int kIndexInFileMessages =
139 friend void swap(Config_RateBytesPair& a, Config_RateBytesPair& b) {
142 inline void Swap(Config_RateBytesPair* other) {
143 if (other ==
this)
return;
144 if (GetArena() == other->GetArena()) {
147 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
151 if (other ==
this)
return;
152 GOOGLE_DCHECK(GetArena() == other->GetArena());
158 inline Config_RateBytesPair*
New() const final {
159 return CreateMaybeMessage<Config_RateBytesPair>(
nullptr);
162 Config_RateBytesPair*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
163 return CreateMaybeMessage<Config_RateBytesPair>(arena);
165 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
166 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
169 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
170 bool IsInitialized() const final;
173 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
174 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
175 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
176 int GetCachedSize() const final {
return _cached_size_.Get(); }
179 inline void SharedCtor();
180 inline void SharedDtor();
181 void SetCachedSize(
int size)
const final;
182 void InternalSwap(Config_RateBytesPair* other);
183 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
184 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
185 return "goby.acomms.udp_multicast.protobuf.Config.RateBytesPair";
190 static void ArenaDtor(
void*
object);
191 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
196 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
208 kRateFieldNumber = 1,
209 kBytesFieldNumber = 2,
214 bool _internal_has_rate()
const;
227 bool _internal_has_bytes()
const;
242 size_t RequiredFieldsByteSizeFallback()
const;
244 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
245 typedef void InternalArenaConstructable_;
246 typedef void DestructorSkippable_;
247 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
248 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
251 friend struct ::TableStruct_goby_2facomms_2fprotobuf_2fudp_5fmulticast_5fdriver_2eproto;
256 public ::PROTOBUF_NAMESPACE_ID::Message {
264 *
this = ::std::move(from);
272 if (GetArena() == from.GetArena()) {
273 if (
this != &from) InternalSwap(&from);
281 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
284 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
287 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
288 return GetDescriptor();
291 return GetMetadataStatic().descriptor;
294 return GetMetadataStatic().reflection;
300 return reinterpret_cast<const Config*
>(
303 static constexpr
int kIndexInFileMessages =
306 friend void swap(Config& a, Config& b) {
309 inline void Swap(Config* other) {
310 if (other ==
this)
return;
311 if (GetArena() == other->GetArena()) {
314 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
318 if (other ==
this)
return;
319 GOOGLE_DCHECK(GetArena() == other->GetArena());
325 inline Config*
New() const final {
326 return CreateMaybeMessage<Config>(
nullptr);
329 Config*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
330 return CreateMaybeMessage<Config>(arena);
332 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
333 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
336 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
337 bool IsInitialized() const final;
340 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
341 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
342 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
343 int GetCachedSize() const final {
return _cached_size_.Get(); }
346 inline void SharedCtor();
347 inline void SharedDtor();
348 void SetCachedSize(
int size)
const final;
349 void InternalSwap(Config* other);
350 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
351 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
352 return "goby.acomms.udp_multicast.protobuf.Config";
355 explicit Config(::PROTOBUF_NAMESPACE_ID::Arena* arena);
357 static void ArenaDtor(
void*
object);
358 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
363 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
377 kRateToBytesFieldNumber = 5,
378 kListenAddressFieldNumber = 1,
379 kMulticastAddressFieldNumber = 2,
380 kMulticastPortFieldNumber = 3,
381 kMaxFrameSizeFieldNumber = 4,
386 int _internal_rate_to_bytes_size()
const;
390 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::udp_multicast::protobuf::Config_RateBytesPair >*
393 const ::goby::acomms::udp_multicast::protobuf::Config_RateBytesPair& _internal_rate_to_bytes(
int index)
const;
394 ::goby::acomms::udp_multicast::protobuf::Config_RateBytesPair* _internal_add_rate_to_bytes();
396 const ::goby::acomms::udp_multicast::protobuf::Config_RateBytesPair&
rate_to_bytes(
int index)
const;
398 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::udp_multicast::protobuf::Config_RateBytesPair >&
404 bool _internal_has_listen_address()
const;
415 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED(
"The unsafe_arena_ accessors for"
416 " string fields are deprecated and will be removed in a"
418 std::
string* unsafe_arena_release_listen_address();
419 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
420 "
string fields are deprecated and will be removed in a"
422 void unsafe_arena_set_allocated_listen_address(
423 std::
string* listen_address);
425 const std::
string& _internal_listen_address() const;
426 void _internal_set_listen_address(const std::
string& value);
427 std::
string* _internal_mutable_listen_address();
431 bool has_multicast_address() const;
433 bool _internal_has_multicast_address() const;
435 void clear_multicast_address();
436 const std::
string& multicast_address() const;
437 void set_multicast_address(const std::
string& value);
438 void set_multicast_address(std::
string&& value);
439 void set_multicast_address(const
char* value);
440 void set_multicast_address(const
char* value,
size_t size);
441 std::
string* mutable_multicast_address();
442 std::
string* release_multicast_address();
443 void set_allocated_multicast_address(std::
string* multicast_address);
444 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
445 "
string fields are deprecated and will be removed in a"
447 std::
string* unsafe_arena_release_multicast_address();
448 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
449 "
string fields are deprecated and will be removed in a"
451 void unsafe_arena_set_allocated_multicast_address(
452 std::
string* multicast_address);
454 const std::
string& _internal_multicast_address() const;
455 void _internal_set_multicast_address(const std::
string& value);
456 std::
string* _internal_mutable_multicast_address();
460 bool has_multicast_port() const;
462 bool _internal_has_multicast_port() const;
464 void clear_multicast_port();
465 ::PROTOBUF_NAMESPACE_ID::
uint32 multicast_port() const;
466 void set_multicast_port(::PROTOBUF_NAMESPACE_ID::
uint32 value);
468 ::PROTOBUF_NAMESPACE_ID::
uint32 _internal_multicast_port() const;
469 void _internal_set_multicast_port(::PROTOBUF_NAMESPACE_ID::
uint32 value);
473 bool has_max_frame_size() const;
475 bool _internal_has_max_frame_size() const;
477 void clear_max_frame_size();
478 ::PROTOBUF_NAMESPACE_ID::
int32 max_frame_size() const;
479 void set_max_frame_size(::PROTOBUF_NAMESPACE_ID::
int32 value);
481 ::PROTOBUF_NAMESPACE_ID::
int32 _internal_max_frame_size() const;
482 void _internal_set_max_frame_size(::PROTOBUF_NAMESPACE_ID::
int32 value);
489 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
490 typedef
void InternalArenaConstructable_;
491 typedef
void DestructorSkippable_;
492 ::PROTOBUF_NAMESPACE_ID::
internal::HasBits<1> _has_bits_;
493 mutable ::PROTOBUF_NAMESPACE_ID::
internal::CachedSize _cached_size_;
494 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::
goby::acomms::udp_multicast::protobuf::Config_RateBytesPair > rate_to_bytes_;
496 static ::PROTOBUF_NAMESPACE_ID::
internal::ExplicitlyConstructed<std::
string> _i_give_permission_to_break_this_code_default_listen_address_;
498 ::PROTOBUF_NAMESPACE_ID::
internal::ArenaStringPtr listen_address_;
500 static ::PROTOBUF_NAMESPACE_ID::
internal::ExplicitlyConstructed<std::
string> _i_give_permission_to_break_this_code_default_multicast_address_;
502 ::PROTOBUF_NAMESPACE_ID::
internal::ArenaStringPtr multicast_address_;
503 ::PROTOBUF_NAMESPACE_ID::
uint32 multicast_port_;
504 ::PROTOBUF_NAMESPACE_ID::
int32 max_frame_size_;
510 extern ::PROTOBUF_NAMESPACE_ID::
internal::ExtensionIdentifier< ::
goby::acomms::protobuf::DriverConfig,
511 ::PROTOBUF_NAMESPACE_ID::
internal::MessageTypeTraits< ::
goby::acomms::udp_multicast::protobuf::Config >, 11, false >
517 #pragma GCC diagnostic push
518 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
523 inline bool Config_RateBytesPair::_internal_has_rate()
const {
524 bool value = (_has_bits_[0] & 0x00000001u) != 0;
527 inline bool Config_RateBytesPair::has_rate()
const {
528 return _internal_has_rate();
530 inline void Config_RateBytesPair::clear_rate() {
532 _has_bits_[0] &= ~0x00000001u;
539 return _internal_rate();
542 _has_bits_[0] |= 0x00000001u;
546 _internal_set_rate(value);
551 inline bool Config_RateBytesPair::_internal_has_bytes()
const {
552 bool value = (_has_bits_[0] & 0x00000002u) != 0;
555 inline bool Config_RateBytesPair::has_bytes()
const {
556 return _internal_has_bytes();
558 inline void Config_RateBytesPair::clear_bytes() {
560 _has_bits_[0] &= ~0x00000002u;
567 return _internal_bytes();
570 _has_bits_[0] |= 0x00000002u;
574 _internal_set_bytes(value);
583 inline bool Config::_internal_has_listen_address()
const {
584 bool value = (_has_bits_[0] & 0x00000001u) != 0;
587 inline bool Config::has_listen_address()
const {
588 return _internal_has_listen_address();
590 inline void Config::clear_listen_address() {
591 listen_address_.ClearToDefault(&::goby::acomms::udp_multicast::protobuf::Config::_i_give_permission_to_break_this_code_default_listen_address_.
get(), GetArena());
592 _has_bits_[0] &= ~0x00000001u;
594 inline const std::string& Config::listen_address()
const {
596 return _internal_listen_address();
598 inline void Config::set_listen_address(
const std::string& value) {
599 _internal_set_listen_address(value);
602 inline std::string* Config::mutable_listen_address() {
604 return _internal_mutable_listen_address();
606 inline const std::string& Config::_internal_listen_address()
const {
607 return listen_address_.Get();
609 inline void Config::_internal_set_listen_address(
const std::string& value) {
610 _has_bits_[0] |= 0x00000001u;
611 listen_address_.Set(&::goby::acomms::udp_multicast::protobuf::Config::_i_give_permission_to_break_this_code_default_listen_address_.
get(), value, GetArena());
613 inline void Config::set_listen_address(std::string&& value) {
614 _has_bits_[0] |= 0x00000001u;
616 &::goby::acomms::udp_multicast::protobuf::Config::_i_give_permission_to_break_this_code_default_listen_address_.
get(), ::std::move(value), GetArena());
619 inline void Config::set_listen_address(
const char* value) {
620 GOOGLE_DCHECK(value !=
nullptr);
621 _has_bits_[0] |= 0x00000001u;
622 listen_address_.Set(&::goby::acomms::udp_multicast::protobuf::Config::_i_give_permission_to_break_this_code_default_listen_address_.
get(), ::std::string(value),
626 inline void Config::set_listen_address(
const char* value,
628 _has_bits_[0] |= 0x00000001u;
629 listen_address_.Set(&::goby::acomms::udp_multicast::protobuf::Config::_i_give_permission_to_break_this_code_default_listen_address_.
get(), ::std::string(
630 reinterpret_cast<const char*
>(value), size), GetArena());
633 inline std::string* Config::_internal_mutable_listen_address() {
634 _has_bits_[0] |= 0x00000001u;
635 return listen_address_.Mutable(&::goby::acomms::udp_multicast::protobuf::Config::_i_give_permission_to_break_this_code_default_listen_address_.
get(), GetArena());
637 inline std::string* Config::release_listen_address() {
639 if (!_internal_has_listen_address()) {
642 _has_bits_[0] &= ~0x00000001u;
643 return listen_address_.ReleaseNonDefault(&::goby::acomms::udp_multicast::protobuf::Config::_i_give_permission_to_break_this_code_default_listen_address_.
get(), GetArena());
645 inline void Config::set_allocated_listen_address(std::string* listen_address) {
646 if (listen_address !=
nullptr) {
647 _has_bits_[0] |= 0x00000001u;
649 _has_bits_[0] &= ~0x00000001u;
651 listen_address_.SetAllocated(&::goby::acomms::udp_multicast::protobuf::Config::_i_give_permission_to_break_this_code_default_listen_address_.
get(), listen_address,
655 inline std::string* Config::unsafe_arena_release_listen_address() {
657 GOOGLE_DCHECK(GetArena() !=
nullptr);
658 _has_bits_[0] &= ~0x00000001u;
659 return listen_address_.UnsafeArenaRelease(&::goby::acomms::udp_multicast::protobuf::Config::_i_give_permission_to_break_this_code_default_listen_address_.
get(),
662 inline void Config::unsafe_arena_set_allocated_listen_address(
663 std::string* listen_address) {
664 GOOGLE_DCHECK(GetArena() !=
nullptr);
665 if (listen_address !=
nullptr) {
666 _has_bits_[0] |= 0x00000001u;
668 _has_bits_[0] &= ~0x00000001u;
670 listen_address_.UnsafeArenaSetAllocated(&::goby::acomms::udp_multicast::protobuf::Config::_i_give_permission_to_break_this_code_default_listen_address_.
get(),
671 listen_address, GetArena());
676 inline bool Config::_internal_has_multicast_address()
const {
677 bool value = (_has_bits_[0] & 0x00000002u) != 0;
680 inline bool Config::has_multicast_address()
const {
681 return _internal_has_multicast_address();
683 inline void Config::clear_multicast_address() {
684 multicast_address_.ClearToDefault(&::goby::acomms::udp_multicast::protobuf::Config::_i_give_permission_to_break_this_code_default_multicast_address_.
get(), GetArena());
685 _has_bits_[0] &= ~0x00000002u;
687 inline const std::string& Config::multicast_address()
const {
689 return _internal_multicast_address();
691 inline void Config::set_multicast_address(
const std::string& value) {
692 _internal_set_multicast_address(value);
695 inline std::string* Config::mutable_multicast_address() {
697 return _internal_mutable_multicast_address();
699 inline const std::string& Config::_internal_multicast_address()
const {
700 return multicast_address_.Get();
702 inline void Config::_internal_set_multicast_address(
const std::string& value) {
703 _has_bits_[0] |= 0x00000002u;
704 multicast_address_.Set(&::goby::acomms::udp_multicast::protobuf::Config::_i_give_permission_to_break_this_code_default_multicast_address_.
get(), value, GetArena());
706 inline void Config::set_multicast_address(std::string&& value) {
707 _has_bits_[0] |= 0x00000002u;
708 multicast_address_.Set(
709 &::goby::acomms::udp_multicast::protobuf::Config::_i_give_permission_to_break_this_code_default_multicast_address_.
get(), ::std::move(value), GetArena());
712 inline void Config::set_multicast_address(
const char* value) {
713 GOOGLE_DCHECK(value !=
nullptr);
714 _has_bits_[0] |= 0x00000002u;
715 multicast_address_.Set(&::goby::acomms::udp_multicast::protobuf::Config::_i_give_permission_to_break_this_code_default_multicast_address_.
get(), ::std::string(value),
719 inline void Config::set_multicast_address(
const char* value,
721 _has_bits_[0] |= 0x00000002u;
722 multicast_address_.Set(&::goby::acomms::udp_multicast::protobuf::Config::_i_give_permission_to_break_this_code_default_multicast_address_.
get(), ::std::string(
723 reinterpret_cast<const char*
>(value), size), GetArena());
726 inline std::string* Config::_internal_mutable_multicast_address() {
727 _has_bits_[0] |= 0x00000002u;
728 return multicast_address_.Mutable(&::goby::acomms::udp_multicast::protobuf::Config::_i_give_permission_to_break_this_code_default_multicast_address_.
get(), GetArena());
730 inline std::string* Config::release_multicast_address() {
732 if (!_internal_has_multicast_address()) {
735 _has_bits_[0] &= ~0x00000002u;
736 return multicast_address_.ReleaseNonDefault(&::goby::acomms::udp_multicast::protobuf::Config::_i_give_permission_to_break_this_code_default_multicast_address_.
get(), GetArena());
738 inline void Config::set_allocated_multicast_address(std::string* multicast_address) {
739 if (multicast_address !=
nullptr) {
740 _has_bits_[0] |= 0x00000002u;
742 _has_bits_[0] &= ~0x00000002u;
744 multicast_address_.SetAllocated(&::goby::acomms::udp_multicast::protobuf::Config::_i_give_permission_to_break_this_code_default_multicast_address_.
get(), multicast_address,
748 inline std::string* Config::unsafe_arena_release_multicast_address() {
750 GOOGLE_DCHECK(GetArena() !=
nullptr);
751 _has_bits_[0] &= ~0x00000002u;
752 return multicast_address_.UnsafeArenaRelease(&::goby::acomms::udp_multicast::protobuf::Config::_i_give_permission_to_break_this_code_default_multicast_address_.
get(),
755 inline void Config::unsafe_arena_set_allocated_multicast_address(
756 std::string* multicast_address) {
757 GOOGLE_DCHECK(GetArena() !=
nullptr);
758 if (multicast_address !=
nullptr) {
759 _has_bits_[0] |= 0x00000002u;
761 _has_bits_[0] &= ~0x00000002u;
763 multicast_address_.UnsafeArenaSetAllocated(&::goby::acomms::udp_multicast::protobuf::Config::_i_give_permission_to_break_this_code_default_multicast_address_.
get(),
764 multicast_address, GetArena());
769 inline bool Config::_internal_has_multicast_port()
const {
770 bool value = (_has_bits_[0] & 0x00000004u) != 0;
773 inline bool Config::has_multicast_port()
const {
774 return _internal_has_multicast_port();
776 inline void Config::clear_multicast_port() {
777 multicast_port_ = 50021u;
778 _has_bits_[0] &= ~0x00000004u;
781 return multicast_port_;
785 return _internal_multicast_port();
788 _has_bits_[0] |= 0x00000004u;
789 multicast_port_ =
value;
792 _internal_set_multicast_port(value);
797 inline bool Config::_internal_has_max_frame_size()
const {
798 bool value = (_has_bits_[0] & 0x00000008u) != 0;
801 inline bool Config::has_max_frame_size()
const {
802 return _internal_has_max_frame_size();
804 inline void Config::clear_max_frame_size() {
805 max_frame_size_ = 1400;
806 _has_bits_[0] &= ~0x00000008u;
809 return max_frame_size_;
813 return _internal_max_frame_size();
816 _has_bits_[0] |= 0x00000008u;
817 max_frame_size_ =
value;
820 _internal_set_max_frame_size(value);
825 inline int Config::_internal_rate_to_bytes_size()
const {
826 return rate_to_bytes_.size();
828 inline int Config::rate_to_bytes_size()
const {
829 return _internal_rate_to_bytes_size();
831 inline void Config::clear_rate_to_bytes() {
832 rate_to_bytes_.Clear();
834 inline ::goby::acomms::udp_multicast::protobuf::Config_RateBytesPair* Config::mutable_rate_to_bytes(
int index) {
836 return rate_to_bytes_.Mutable(index);
838 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::udp_multicast::protobuf::Config_RateBytesPair >*
839 Config::mutable_rate_to_bytes() {
841 return &rate_to_bytes_;
843 inline const ::goby::acomms::udp_multicast::protobuf::Config_RateBytesPair& Config::_internal_rate_to_bytes(
int index)
const {
844 return rate_to_bytes_.Get(index);
846 inline const ::goby::acomms::udp_multicast::protobuf::Config_RateBytesPair& Config::rate_to_bytes(
int index)
const {
848 return _internal_rate_to_bytes(index);
850 inline ::goby::acomms::udp_multicast::protobuf::Config_RateBytesPair* Config::_internal_add_rate_to_bytes() {
851 return rate_to_bytes_.Add();
853 inline ::goby::acomms::udp_multicast::protobuf::Config_RateBytesPair* Config::add_rate_to_bytes() {
855 return _internal_add_rate_to_bytes();
857 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::udp_multicast::protobuf::Config_RateBytesPair >&
858 Config::rate_to_bytes()
const {
860 return rate_to_bytes_;
864 #pragma GCC diagnostic pop
878 #include <google/protobuf/port_undef.inc>
friend void swap(Config_RateBytesPair &a, Config_RateBytesPair &b)
static const Config_RateBytesPair * internal_default_instance()
Config * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
void UnsafeArenaSwap(Config *other)
Config & operator=(const Config &from)
void set_listen_address(std::string &&value)
void set_rate(::PROTOBUF_NAMESPACE_ID::int32 value)
static void InitAsDefaultInstance()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Config & operator=(Config &&from) noexcept
Config_RateBytesPair(::PROTOBUF_NAMESPACE_ID::Arena *arena)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
Config_RateBytesPair RateBytesPair
Config * New() const final
std::string * release_listen_address()
void CopyFrom(const Config_RateBytesPair &from)
bool has_listen_address() const
Config(const Config &from)
friend void swap(Config &a, Config &b)
const std::string & listen_address() const
void clear_listen_address()
void UnsafeArenaSwap(Config_RateBytesPair *other)
void Swap(Config_RateBytesPair *other)
std::string * mutable_listen_address()
void set_allocated_listen_address(std::string *listen_address)
Config(Config &&from) noexcept
static const Config_RateBytesPair & default_instance()
int rate_to_bytes_size() const
void set_bytes(::PROTOBUF_NAMESPACE_ID::int32 value)
void CopyFrom(const Config &from)
Config_RateBytesPair * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
void clear_rate_to_bytes()
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::udp_multicast::protobuf::Config_RateBytesPair > & rate_to_bytes() const
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
static const Config & default_instance()
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
static const Config * internal_default_instance()
Config_RateBytesPair(const Config_RateBytesPair &from)
void set_listen_address(const char *value)
Config_RateBytesPair(Config_RateBytesPair &&from) noexcept
::PROTOBUF_NAMESPACE_ID::int32 rate() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Config_RateBytesPair & operator=(Config_RateBytesPair &&from) noexcept
void set_listen_address(const char *value, size_t size)
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::udp_multicast::protobuf::Config_RateBytesPair > * mutable_rate_to_bytes()
::PROTOBUF_NAMESPACE_ID::int32 bytes() const
Config_RateBytesPair & operator=(const Config_RateBytesPair &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
virtual ~Config_RateBytesPair()
Config(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void MergeFrom(const Config &from)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
::goby::acomms::udp_multicast::protobuf::Config_RateBytesPair * add_rate_to_bytes()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
const ::goby::acomms::udp_multicast::protobuf::Config_RateBytesPair & rate_to_bytes(int index) const
Config_RateBytesPair * New() const final
void set_listen_address(const std::string &value)
::goby::acomms::udp_multicast::protobuf::Config_RateBytesPair * mutable_rate_to_bytes(int index)
void MergeFrom(const Config_RateBytesPair &from)
@ value
the parser finished reading a JSON value
auto get(const nlohmann::detail::iteration_proxy_value< IteratorType > &i) -> decltype(i.key())
static const int kConfigFieldNumber
extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::goby::acomms::protobuf::DriverConfig, ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::goby::acomms::udp_multicast::protobuf::Config >, 11, false > config
ConfigDefaultTypeInternal _Config_default_instance_
Config_RateBytesPairDefaultTypeInternal _Config_RateBytesPair_default_instance_
The global namespace for the Goby project.
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]
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)
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2facomms_2fprotobuf_2fudp_5fmulticast_5fdriver_2eproto