4 #ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fudp_5fdriver_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fudp_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_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[];
68 class ConfigDefaultTypeInternal;
70 class Config_EndPoint;
71 class Config_EndPointDefaultTypeInternal;
77 PROTOBUF_NAMESPACE_OPEN
78 template<> ::goby::acomms::udp::protobuf::Config* Arena::CreateMaybeMessage<::goby::acomms::udp::protobuf::Config>(Arena*);
79 template<> ::goby::acomms::udp::protobuf::Config_EndPoint* Arena::CreateMaybeMessage<::goby::acomms::udp::protobuf::Config_EndPoint>(Arena*);
80 PROTOBUF_NAMESPACE_CLOSE
89 public ::PROTOBUF_NAMESPACE_ID::Message {
97 *
this = ::std::move(from);
100 inline Config_EndPoint&
operator=(
const Config_EndPoint& from) {
104 inline Config_EndPoint&
operator=(Config_EndPoint&& 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_EndPoint*
>(
136 static constexpr
int kIndexInFileMessages =
139 friend void swap(Config_EndPoint& a, Config_EndPoint& b) {
142 inline void Swap(Config_EndPoint* 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_EndPoint*
New() const final {
159 return CreateMaybeMessage<Config_EndPoint>(
nullptr);
162 Config_EndPoint*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
163 return CreateMaybeMessage<Config_EndPoint>(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_EndPoint* other);
183 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
184 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
185 return "goby.acomms.udp.protobuf.Config.EndPoint";
190 static void ArenaDtor(
void*
object);
191 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
196 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
209 kModemIdFieldNumber = 1,
210 kPortFieldNumber = 3,
215 bool _internal_has_ip()
const;
218 const std::string&
ip()
const;
222 void set_ip(
const char* value,
size_t size);
226 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED(
"The unsafe_arena_ accessors for"
227 " string fields are deprecated and will be removed in a"
229 std::
string* unsafe_arena_release_ip();
230 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
231 "
string fields are deprecated and will be removed in a"
233 void unsafe_arena_set_allocated_ip(
236 const std::
string& _internal_ip() const;
237 void _internal_set_ip(const std::
string& value);
238 std::
string* _internal_mutable_ip();
242 bool has_modem_id() const;
244 bool _internal_has_modem_id() const;
246 void clear_modem_id();
247 ::PROTOBUF_NAMESPACE_ID::
uint32 modem_id() const;
248 void set_modem_id(::PROTOBUF_NAMESPACE_ID::
uint32 value);
250 ::PROTOBUF_NAMESPACE_ID::
uint32 _internal_modem_id() const;
251 void _internal_set_modem_id(::PROTOBUF_NAMESPACE_ID::
uint32 value);
255 bool has_port() const;
257 bool _internal_has_port() const;
260 ::PROTOBUF_NAMESPACE_ID::
uint32 port() const;
261 void set_port(::PROTOBUF_NAMESPACE_ID::
uint32 value);
263 ::PROTOBUF_NAMESPACE_ID::
uint32 _internal_port() const;
264 void _internal_set_port(::PROTOBUF_NAMESPACE_ID::
uint32 value);
271 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
272 typedef
void InternalArenaConstructable_;
273 typedef
void DestructorSkippable_;
274 ::PROTOBUF_NAMESPACE_ID::
internal::HasBits<1> _has_bits_;
275 mutable ::PROTOBUF_NAMESPACE_ID::
internal::CachedSize _cached_size_;
277 static ::PROTOBUF_NAMESPACE_ID::
internal::ExplicitlyConstructed<std::
string> _i_give_permission_to_break_this_code_default_ip_;
279 ::PROTOBUF_NAMESPACE_ID::
internal::ArenaStringPtr ip_;
280 ::PROTOBUF_NAMESPACE_ID::
uint32 modem_id_;
281 ::PROTOBUF_NAMESPACE_ID::
uint32 port_;
287 public ::PROTOBUF_NAMESPACE_ID::Message {
295 *
this = ::std::move(from);
303 if (GetArena() == from.GetArena()) {
304 if (
this != &from) InternalSwap(&from);
312 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
315 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
318 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
319 return GetDescriptor();
322 return GetMetadataStatic().descriptor;
325 return GetMetadataStatic().reflection;
331 return reinterpret_cast<const Config*
>(
334 static constexpr
int kIndexInFileMessages =
337 friend void swap(Config& a, Config& b) {
340 inline void Swap(Config* other) {
341 if (other ==
this)
return;
342 if (GetArena() == other->GetArena()) {
345 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
349 if (other ==
this)
return;
350 GOOGLE_DCHECK(GetArena() == other->GetArena());
356 inline Config*
New() const final {
357 return CreateMaybeMessage<Config>(
nullptr);
360 Config*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
361 return CreateMaybeMessage<Config>(arena);
363 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
364 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
367 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
368 bool IsInitialized() const final;
371 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
372 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
373 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
374 int GetCachedSize() const final {
return _cached_size_.Get(); }
377 inline void SharedCtor();
378 inline void SharedDtor();
379 void SetCachedSize(
int size)
const final;
380 void InternalSwap(Config* other);
381 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
382 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
383 return "goby.acomms.udp.protobuf.Config";
386 explicit Config(::PROTOBUF_NAMESPACE_ID::Arena* arena);
388 static void ArenaDtor(
void*
object);
389 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
394 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
408 kRemoteFieldNumber = 2,
409 kAdditionalApplicationAckModemIdFieldNumber = 21,
410 kLocalFieldNumber = 1,
411 kIpv6FieldNumber = 4,
412 kMaxFrameSizeFieldNumber = 3,
417 int _internal_remote_size()
const;
421 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::udp::protobuf::Config_EndPoint >*
424 const ::goby::acomms::udp::protobuf::Config_EndPoint& _internal_remote(
int index)
const;
425 ::goby::acomms::udp::protobuf::Config_EndPoint* _internal_add_remote();
427 const ::goby::acomms::udp::protobuf::Config_EndPoint&
remote(
int index)
const;
428 ::goby::acomms::udp::protobuf::Config_EndPoint*
add_remote();
429 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::udp::protobuf::Config_EndPoint >&
435 int _internal_additional_application_ack_modem_id_size()
const;
440 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >&
441 _internal_additional_application_ack_modem_id()
const;
443 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >*
444 _internal_mutable_additional_application_ack_modem_id();
449 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >&
451 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >*
457 bool _internal_has_local()
const;
460 const ::goby::acomms::udp::protobuf::Config_EndPoint&
local()
const;
465 const ::goby::acomms::udp::protobuf::Config_EndPoint& _internal_local()
const;
466 ::goby::acomms::udp::protobuf::Config_EndPoint* _internal_mutable_local();
469 ::goby::acomms::udp::protobuf::Config_EndPoint* local);
475 bool _internal_has_ipv6()
const;
481 bool _internal_ipv6()
const;
482 void _internal_set_ipv6(
bool value);
488 bool _internal_has_max_frame_size()
const;
502 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
503 typedef void InternalArenaConstructable_;
504 typedef void DestructorSkippable_;
505 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
506 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
507 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::udp::protobuf::Config_EndPoint > remote_;
508 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 > additional_application_ack_modem_id_;
509 ::goby::acomms::udp::protobuf::Config_EndPoint* local_;
512 friend struct ::TableStruct_goby_2facomms_2fprotobuf_2fudp_5fdriver_2eproto;
517 extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::goby::acomms::protobuf::DriverConfig,
518 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::goby::acomms::udp::protobuf::Config >, 11,
false >
524 #pragma GCC diagnostic push
525 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
530 inline bool Config_EndPoint::_internal_has_modem_id()
const {
531 bool value = (_has_bits_[0] & 0x00000002u) != 0;
534 inline bool Config_EndPoint::has_modem_id()
const {
535 return _internal_has_modem_id();
537 inline void Config_EndPoint::clear_modem_id() {
539 _has_bits_[0] &= ~0x00000002u;
546 return _internal_modem_id();
549 _has_bits_[0] |= 0x00000002u;
553 _internal_set_modem_id(value);
558 inline bool Config_EndPoint::_internal_has_ip()
const {
559 bool value = (_has_bits_[0] & 0x00000001u) != 0;
562 inline bool Config_EndPoint::has_ip()
const {
563 return _internal_has_ip();
565 inline void Config_EndPoint::clear_ip() {
566 ip_.ClearToDefault(&::goby::acomms::udp::protobuf::Config_EndPoint::_i_give_permission_to_break_this_code_default_ip_.
get(), GetArena());
567 _has_bits_[0] &= ~0x00000001u;
569 inline const std::string& Config_EndPoint::ip()
const {
571 return _internal_ip();
573 inline void Config_EndPoint::set_ip(
const std::string& value) {
574 _internal_set_ip(value);
577 inline std::string* Config_EndPoint::mutable_ip() {
579 return _internal_mutable_ip();
581 inline const std::string& Config_EndPoint::_internal_ip()
const {
584 inline void Config_EndPoint::_internal_set_ip(
const std::string& value) {
585 _has_bits_[0] |= 0x00000001u;
586 ip_.Set(&::goby::acomms::udp::protobuf::Config_EndPoint::_i_give_permission_to_break_this_code_default_ip_.
get(), value, GetArena());
588 inline void Config_EndPoint::set_ip(std::string&& value) {
589 _has_bits_[0] |= 0x00000001u;
591 &::goby::acomms::udp::protobuf::Config_EndPoint::_i_give_permission_to_break_this_code_default_ip_.
get(), ::std::move(value), GetArena());
594 inline void Config_EndPoint::set_ip(
const char* value) {
595 GOOGLE_DCHECK(value !=
nullptr);
596 _has_bits_[0] |= 0x00000001u;
597 ip_.Set(&::goby::acomms::udp::protobuf::Config_EndPoint::_i_give_permission_to_break_this_code_default_ip_.
get(), ::std::string(value),
601 inline void Config_EndPoint::set_ip(
const char* value,
603 _has_bits_[0] |= 0x00000001u;
604 ip_.Set(&::goby::acomms::udp::protobuf::Config_EndPoint::_i_give_permission_to_break_this_code_default_ip_.
get(), ::std::string(
605 reinterpret_cast<const char*
>(value), size), GetArena());
608 inline std::string* Config_EndPoint::_internal_mutable_ip() {
609 _has_bits_[0] |= 0x00000001u;
610 return ip_.Mutable(&::goby::acomms::udp::protobuf::Config_EndPoint::_i_give_permission_to_break_this_code_default_ip_.
get(), GetArena());
612 inline std::string* Config_EndPoint::release_ip() {
614 if (!_internal_has_ip()) {
617 _has_bits_[0] &= ~0x00000001u;
618 return ip_.ReleaseNonDefault(&::goby::acomms::udp::protobuf::Config_EndPoint::_i_give_permission_to_break_this_code_default_ip_.
get(), GetArena());
620 inline void Config_EndPoint::set_allocated_ip(std::string* ip) {
622 _has_bits_[0] |= 0x00000001u;
624 _has_bits_[0] &= ~0x00000001u;
626 ip_.SetAllocated(&::goby::acomms::udp::protobuf::Config_EndPoint::_i_give_permission_to_break_this_code_default_ip_.
get(), ip,
630 inline std::string* Config_EndPoint::unsafe_arena_release_ip() {
632 GOOGLE_DCHECK(GetArena() !=
nullptr);
633 _has_bits_[0] &= ~0x00000001u;
634 return ip_.UnsafeArenaRelease(&::goby::acomms::udp::protobuf::Config_EndPoint::_i_give_permission_to_break_this_code_default_ip_.
get(),
637 inline void Config_EndPoint::unsafe_arena_set_allocated_ip(
639 GOOGLE_DCHECK(GetArena() !=
nullptr);
641 _has_bits_[0] |= 0x00000001u;
643 _has_bits_[0] &= ~0x00000001u;
645 ip_.UnsafeArenaSetAllocated(&::goby::acomms::udp::protobuf::Config_EndPoint::_i_give_permission_to_break_this_code_default_ip_.
get(),
651 inline bool Config_EndPoint::_internal_has_port()
const {
652 bool value = (_has_bits_[0] & 0x00000004u) != 0;
655 inline bool Config_EndPoint::has_port()
const {
656 return _internal_has_port();
658 inline void Config_EndPoint::clear_port() {
660 _has_bits_[0] &= ~0x00000004u;
667 return _internal_port();
670 _has_bits_[0] |= 0x00000004u;
674 _internal_set_port(value);
683 inline bool Config::_internal_has_local()
const {
684 bool value = (_has_bits_[0] & 0x00000001u) != 0;
685 PROTOBUF_ASSUME(!value || local_ !=
nullptr);
688 inline bool Config::has_local()
const {
689 return _internal_has_local();
691 inline void Config::clear_local() {
692 if (local_ !=
nullptr) local_->Clear();
693 _has_bits_[0] &= ~0x00000001u;
695 inline const ::goby::acomms::udp::protobuf::Config_EndPoint& Config::_internal_local()
const {
696 const ::goby::acomms::udp::protobuf::Config_EndPoint* p = local_;
697 return p !=
nullptr ? *p : *
reinterpret_cast<const ::goby::acomms::udp::protobuf::Config_EndPoint*
>(
700 inline const ::goby::acomms::udp::protobuf::Config_EndPoint& Config::local()
const {
702 return _internal_local();
704 inline void Config::unsafe_arena_set_allocated_local(
705 ::goby::acomms::udp::protobuf::Config_EndPoint* local) {
706 if (GetArena() ==
nullptr) {
707 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(local_);
711 _has_bits_[0] |= 0x00000001u;
713 _has_bits_[0] &= ~0x00000001u;
717 inline ::goby::acomms::udp::protobuf::Config_EndPoint* Config::release_local() {
718 auto temp = unsafe_arena_release_local();
719 if (GetArena() !=
nullptr) {
720 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
724 inline ::goby::acomms::udp::protobuf::Config_EndPoint* Config::unsafe_arena_release_local() {
726 _has_bits_[0] &= ~0x00000001u;
727 ::goby::acomms::udp::protobuf::Config_EndPoint* temp = local_;
731 inline ::goby::acomms::udp::protobuf::Config_EndPoint* Config::_internal_mutable_local() {
732 _has_bits_[0] |= 0x00000001u;
733 if (local_ ==
nullptr) {
734 auto* p = CreateMaybeMessage<::goby::acomms::udp::protobuf::Config_EndPoint>(GetArena());
739 inline ::goby::acomms::udp::protobuf::Config_EndPoint* Config::mutable_local() {
741 return _internal_mutable_local();
743 inline void Config::set_allocated_local(::goby::acomms::udp::protobuf::Config_EndPoint* local) {
744 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
745 if (message_arena ==
nullptr) {
749 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
750 ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(local);
751 if (message_arena != submessage_arena) {
752 local = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
753 message_arena, local, submessage_arena);
755 _has_bits_[0] |= 0x00000001u;
757 _has_bits_[0] &= ~0x00000001u;
764 inline int Config::_internal_remote_size()
const {
765 return remote_.size();
767 inline int Config::remote_size()
const {
768 return _internal_remote_size();
770 inline void Config::clear_remote() {
773 inline ::goby::acomms::udp::protobuf::Config_EndPoint* Config::mutable_remote(
int index) {
775 return remote_.Mutable(index);
777 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::udp::protobuf::Config_EndPoint >*
778 Config::mutable_remote() {
782 inline const ::goby::acomms::udp::protobuf::Config_EndPoint& Config::_internal_remote(
int index)
const {
783 return remote_.Get(index);
785 inline const ::goby::acomms::udp::protobuf::Config_EndPoint& Config::remote(
int index)
const {
787 return _internal_remote(index);
789 inline ::goby::acomms::udp::protobuf::Config_EndPoint* Config::_internal_add_remote() {
790 return remote_.Add();
792 inline ::goby::acomms::udp::protobuf::Config_EndPoint* Config::add_remote() {
794 return _internal_add_remote();
796 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::udp::protobuf::Config_EndPoint >&
797 Config::remote()
const {
803 inline bool Config::_internal_has_max_frame_size()
const {
804 bool value = (_has_bits_[0] & 0x00000004u) != 0;
807 inline bool Config::has_max_frame_size()
const {
808 return _internal_has_max_frame_size();
810 inline void Config::clear_max_frame_size() {
811 max_frame_size_ = 1400;
812 _has_bits_[0] &= ~0x00000004u;
815 return max_frame_size_;
819 return _internal_max_frame_size();
822 _has_bits_[0] |= 0x00000004u;
823 max_frame_size_ =
value;
826 _internal_set_max_frame_size(value);
831 inline bool Config::_internal_has_ipv6()
const {
832 bool value = (_has_bits_[0] & 0x00000002u) != 0;
835 inline bool Config::has_ipv6()
const {
836 return _internal_has_ipv6();
838 inline void Config::clear_ipv6() {
840 _has_bits_[0] &= ~0x00000002u;
842 inline bool Config::_internal_ipv6()
const {
845 inline bool Config::ipv6()
const {
847 return _internal_ipv6();
849 inline void Config::_internal_set_ipv6(
bool value) {
850 _has_bits_[0] |= 0x00000002u;
853 inline void Config::set_ipv6(
bool value) {
854 _internal_set_ipv6(value);
859 inline int Config::_internal_additional_application_ack_modem_id_size()
const {
860 return additional_application_ack_modem_id_.size();
862 inline int Config::additional_application_ack_modem_id_size()
const {
863 return _internal_additional_application_ack_modem_id_size();
865 inline void Config::clear_additional_application_ack_modem_id() {
866 additional_application_ack_modem_id_.Clear();
869 return additional_application_ack_modem_id_.Get(index);
873 return _internal_additional_application_ack_modem_id(index);
876 additional_application_ack_modem_id_.Set(index, value);
880 additional_application_ack_modem_id_.Add(value);
883 _internal_add_additional_application_ack_modem_id(value);
886 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >&
887 Config::_internal_additional_application_ack_modem_id()
const {
888 return additional_application_ack_modem_id_;
890 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >&
891 Config::additional_application_ack_modem_id()
const {
893 return _internal_additional_application_ack_modem_id();
895 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >*
896 Config::_internal_mutable_additional_application_ack_modem_id() {
897 return &additional_application_ack_modem_id_;
899 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >*
900 Config::mutable_additional_application_ack_modem_id() {
902 return _internal_mutable_additional_application_ack_modem_id();
906 #pragma GCC diagnostic pop
920 #include <google/protobuf/port_undef.inc>
std::string * mutable_ip()
int additional_application_ack_modem_id_size() const
static void InitAsDefaultInstance()
void CopyFrom(const Config_EndPoint &from)
void set_additional_application_ack_modem_id(int index, ::PROTOBUF_NAMESPACE_ID::uint32 value)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
bool has_max_frame_size() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
::PROTOBUF_NAMESPACE_ID::int32 max_frame_size() const
void set_allocated_local(::goby::acomms::udp::protobuf::Config_EndPoint *local)
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::udp::protobuf::Config_EndPoint > & remote() const
void Swap(Config_EndPoint *other)
friend void swap(Config_EndPoint &a, Config_EndPoint &b)
::goby::acomms::udp::protobuf::Config_EndPoint * mutable_remote(int index)
void unsafe_arena_set_allocated_local(::goby::acomms::udp::protobuf::Config_EndPoint *local)
Config_EndPoint * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::udp::protobuf::Config_EndPoint > * mutable_remote()
friend void swap(Config &a, Config &b)
Config_EndPoint * New() const final
Config * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
::goby::acomms::udp::protobuf::Config_EndPoint * add_remote()
const ::goby::acomms::udp::protobuf::Config_EndPoint & remote(int index) const
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
virtual ~Config_EndPoint()
static const Config_EndPoint & default_instance()
static const Config & default_instance()
Config_EndPoint & operator=(Config_EndPoint &&from) noexcept
void set_allocated_ip(std::string *ip)
void set_ip(const char *value)
Config(Config &&from) noexcept
std::string * release_ip()
::PROTOBUF_NAMESPACE_ID::uint32 additional_application_ack_modem_id(int index) const
const std::string & ip() const
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void MergeFrom(const Config_EndPoint &from)
void set_ip(const char *value, size_t size)
Config * New() const final
void MergeFrom(const Config &from)
void clear_additional_application_ack_modem_id()
void set_ipv6(bool value)
Config & operator=(Config &&from) noexcept
static const Config * internal_default_instance()
static const Config_EndPoint * internal_default_instance()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void clear_max_frame_size()
void set_max_frame_size(::PROTOBUF_NAMESPACE_ID::int32 value)
void set_ip(std::string &&value)
Config(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void UnsafeArenaSwap(Config_EndPoint *other)
::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 > * mutable_additional_application_ack_modem_id()
Config_EndPoint(::PROTOBUF_NAMESPACE_ID::Arena *arena)
::goby::acomms::udp::protobuf::Config_EndPoint * release_local()
void add_additional_application_ack_modem_id(::PROTOBUF_NAMESPACE_ID::uint32 value)
const ::goby::acomms::udp::protobuf::Config_EndPoint & local() const
Config_EndPoint & operator=(const Config_EndPoint &from)
Config_EndPoint(Config_EndPoint &&from) noexcept
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 > & additional_application_ack_modem_id() const
Config_EndPoint(const Config_EndPoint &from)
::goby::acomms::udp::protobuf::Config_EndPoint * unsafe_arena_release_local()
void UnsafeArenaSwap(Config *other)
Config(const Config &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void CopyFrom(const Config &from)
::goby::acomms::udp::protobuf::Config_EndPoint * mutable_local()
void set_ip(const std::string &value)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Config & operator=(const Config &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::protobuf::Config >, 11, false > config
ConfigDefaultTypeInternal _Config_default_instance_
Config_EndPointDefaultTypeInternal _Config_EndPoint_default_instance_
The global namespace for the Goby project.
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]
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)
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2facomms_2fprotobuf_2fudp_5fdriver_2eproto