4#ifndef GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fudp_5fdriver_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fudp_5fdriver_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>
24#include <google/protobuf/arena.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>
29#include <google/protobuf/message.h>
30#include <google/protobuf/repeated_field.h>
31#include <google/protobuf/extension_set.h>
32#include <google/protobuf/unknown_field_set.h>
33#include "goby/protobuf/option_extensions.pb.h"
34#include "goby/acomms/protobuf/driver_base.pb.h"
35#include <boost/units/quantity.hpp>
36#include <boost/units/absolute.hpp>
37#include <boost/units/dimensionless_type.hpp>
38#include <boost/units/make_scaled_unit.hpp>
40#include <google/protobuf/port_def.inc>
41#define PROTOBUF_INTERNAL_EXPORT_jaiabot_2fmessages_2fudp_5fdriver_2eproto
42PROTOBUF_NAMESPACE_OPEN
46PROTOBUF_NAMESPACE_CLOSE
57struct ConfigDefaultTypeInternal;
60struct Config_EndPointDefaultTypeInternal;
63struct Config_HubEndPointsDefaultTypeInternal;
68PROTOBUF_NAMESPACE_OPEN
72PROTOBUF_NAMESPACE_CLOSE
80 public ::PROTOBUF_NAMESPACE_ID::Message {
84 explicit PROTOBUF_CONSTEXPR
Config_EndPoint(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
89 *
this = ::std::move(from);
97 if (
this == &from)
return *
this;
98 if (GetOwningArena() == from.GetOwningArena()
99 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
100 && GetOwningArena() !=
nullptr
111 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
114 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
117 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
140 if (other ==
this)
return;
141 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
142 if (GetOwningArena() !=
nullptr &&
143 GetOwningArena() == other->GetOwningArena()) {
145 if (GetOwningArena() == other->GetOwningArena()) {
149 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
153 if (other ==
this)
return;
154 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
161 return CreateMaybeMessage<Config_EndPoint>(arena);
163 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
165 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
167 Config_EndPoint::MergeImpl(*
this, from);
170 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
172 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
178 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
182 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
184 void SetCachedSize(
int size)
const final;
188 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
189 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
190 return "jaiabot.udp.protobuf.Config.EndPoint";
194 bool is_message_owned =
false);
198 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
214 bool _internal_has_ip()
const;
217 const std::string&
ip()
const;
218 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
224 const std::string& _internal_ip()
const;
225 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_ip(
const std::string& value);
226 std::string* _internal_mutable_ip();
232 bool _internal_has_modem_id()
const;
238 uint32_t _internal_modem_id()
const;
239 void _internal_set_modem_id(uint32_t value);
245 bool _internal_has_port()
const;
248 uint32_t
port()
const;
251 uint32_t _internal_port()
const;
252 void _internal_set_port(uint32_t value);
259 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
260 typedef void InternalArenaConstructable_;
261 typedef void DestructorSkippable_;
263 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
264 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
265 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_ip_;
266 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ip_;
271 friend struct ::TableStruct_jaiabot_2fmessages_2fudp_5fdriver_2eproto;
276 public ::PROTOBUF_NAMESPACE_ID::Message {
285 *
this = ::std::move(from);
293 if (
this == &from)
return *
this;
294 if (GetOwningArena() == from.GetOwningArena()
295 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
296 && GetOwningArena() !=
nullptr
307 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
310 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
313 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
314 return GetDescriptor();
317 return default_instance().GetMetadata().descriptor;
320 return default_instance().GetMetadata().reflection;
323 return *internal_default_instance();
329 static constexpr int kIndexInFileMessages =
336 if (other ==
this)
return;
337 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
338 if (GetOwningArena() !=
nullptr &&
339 GetOwningArena() == other->GetOwningArena()) {
341 if (GetOwningArena() == other->GetOwningArena()) {
345 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
349 if (other ==
this)
return;
350 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
357 return CreateMaybeMessage<Config_HubEndPoints>(arena);
359 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
361 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
363 Config_HubEndPoints::MergeImpl(*
this, from);
366 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
368 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
369 bool IsInitialized() const final;
371 size_t ByteSizeLong() const final;
372 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
373 uint8_t* _InternalSerialize(
374 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
375 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
378 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
380 void SetCachedSize(
int size)
const final;
384 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
385 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
386 return "jaiabot.udp.protobuf.Config.HubEndPoints";
390 bool is_message_owned =
false);
394 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
396 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
403 kRemoteFieldNumber = 2,
404 kHubIdFieldNumber = 1,
407 bool has_remote()
const;
409 bool _internal_has_remote()
const;
412 const ::jaiabot::udp::protobuf::Config_EndPoint& remote()
const;
413 PROTOBUF_NODISCARD ::jaiabot::udp::protobuf::Config_EndPoint* release_remote();
417 const ::jaiabot::udp::protobuf::Config_EndPoint& _internal_remote()
const;
420 void unsafe_arena_set_allocated_remote(
425 bool has_hub_id()
const;
427 bool _internal_has_hub_id()
const;
430 int32_t hub_id()
const;
431 void set_hub_id(int32_t value);
433 int32_t _internal_hub_id()
const;
434 void _internal_set_hub_id(int32_t value);
442 size_t RequiredFieldsByteSizeFallback()
const;
444 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
445 typedef void InternalArenaConstructable_;
446 typedef void DestructorSkippable_;
448 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
449 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
454 friend struct ::TableStruct_jaiabot_2fmessages_2fudp_5fdriver_2eproto;
459 public ::PROTOBUF_NAMESPACE_ID::Message {
463 explicit PROTOBUF_CONSTEXPR
Config(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
468 *
this = ::std::move(from);
476 if (
this == &from)
return *
this;
477 if (GetOwningArena() == from.GetOwningArena()
478 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
479 && GetOwningArena() !=
nullptr
490 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
493 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
496 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
497 return GetDescriptor();
500 return default_instance().GetMetadata().descriptor;
503 return default_instance().GetMetadata().reflection;
506 return *internal_default_instance();
509 return reinterpret_cast<const Config*
>(
512 static constexpr int kIndexInFileMessages =
519 if (other ==
this)
return;
520 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
521 if (GetOwningArena() !=
nullptr &&
522 GetOwningArena() == other->GetOwningArena()) {
524 if (GetOwningArena() == other->GetOwningArena()) {
528 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
532 if (other ==
this)
return;
533 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
539 Config*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
540 return CreateMaybeMessage<Config>(arena);
542 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
544 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
546 Config::MergeImpl(*
this, from);
549 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
551 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
552 bool IsInitialized() const final;
554 size_t ByteSizeLong() const final;
555 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
556 uint8_t* _InternalSerialize(
557 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
558 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
561 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
563 void SetCachedSize(
int size)
const final;
564 void InternalSwap(
Config* other);
567 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
568 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
569 return "jaiabot.udp.protobuf.Config";
572 explicit Config(::PROTOBUF_NAMESPACE_ID::Arena* arena,
573 bool is_message_owned =
false);
577 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
579 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
589 kRemoteFieldNumber = 2,
590 kAdditionalApplicationAckModemIdFieldNumber = 21,
591 kHubEndpointFieldNumber = 32,
592 kLocalFieldNumber = 1,
593 kIpv6FieldNumber = 4,
594 kHubIdFieldNumber = 30,
595 kSubnetMaskFieldNumber = 31,
596 kMaxFrameSizeFieldNumber = 3,
599 int remote_size()
const;
601 int _internal_remote_size()
const;
605 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::udp::protobuf::Config_EndPoint >*
608 const ::jaiabot::udp::protobuf::Config_EndPoint& _internal_remote(
int index)
const;
611 const ::jaiabot::udp::protobuf::Config_EndPoint& remote(
int index)
const;
613 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::udp::protobuf::Config_EndPoint >&
617 int additional_application_ack_modem_id_size()
const;
619 int _internal_additional_application_ack_modem_id_size()
const;
621 void clear_additional_application_ack_modem_id();
623 uint32_t _internal_additional_application_ack_modem_id(
int index)
const;
624 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
625 _internal_additional_application_ack_modem_id()
const;
626 void _internal_add_additional_application_ack_modem_id(uint32_t value);
627 ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
628 _internal_mutable_additional_application_ack_modem_id();
630 uint32_t additional_application_ack_modem_id(
int index)
const;
631 void set_additional_application_ack_modem_id(
int index, uint32_t value);
632 void add_additional_application_ack_modem_id(uint32_t value);
633 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
634 additional_application_ack_modem_id()
const;
635 ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
636 mutable_additional_application_ack_modem_id();
639 int hub_endpoint_size()
const;
641 int _internal_hub_endpoint_size()
const;
643 void clear_hub_endpoint();
645 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::udp::protobuf::Config_HubEndPoints >*
646 mutable_hub_endpoint();
648 const ::jaiabot::udp::protobuf::Config_HubEndPoints& _internal_hub_endpoint(
int index)
const;
651 const ::jaiabot::udp::protobuf::Config_HubEndPoints& hub_endpoint(
int index)
const;
653 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::udp::protobuf::Config_HubEndPoints >&
654 hub_endpoint()
const;
657 bool has_local()
const;
659 bool _internal_has_local()
const;
662 const ::jaiabot::udp::protobuf::Config_EndPoint& local()
const;
663 PROTOBUF_NODISCARD ::jaiabot::udp::protobuf::Config_EndPoint* release_local();
667 const ::jaiabot::udp::protobuf::Config_EndPoint& _internal_local()
const;
670 void unsafe_arena_set_allocated_local(
675 bool has_ipv6()
const;
677 bool _internal_has_ipv6()
const;
681 void set_ipv6(
bool value);
683 bool _internal_ipv6()
const;
684 void _internal_set_ipv6(
bool value);
688 bool has_hub_id()
const;
690 bool _internal_has_hub_id()
const;
693 int32_t hub_id()
const;
694 void set_hub_id(int32_t value);
696 int32_t _internal_hub_id()
const;
697 void _internal_set_hub_id(int32_t value);
701 bool has_subnet_mask()
const;
703 bool _internal_has_subnet_mask()
const;
705 void clear_subnet_mask();
706 uint32_t subnet_mask()
const;
707 void set_subnet_mask(uint32_t value);
709 uint32_t _internal_subnet_mask()
const;
710 void _internal_set_subnet_mask(uint32_t value);
714 bool has_max_frame_size()
const;
716 bool _internal_has_max_frame_size()
const;
718 void clear_max_frame_size();
719 int32_t max_frame_size()
const;
720 void set_max_frame_size(int32_t value);
722 int32_t _internal_max_frame_size()
const;
723 void _internal_set_max_frame_size(int32_t value);
731 size_t RequiredFieldsByteSizeFallback()
const;
733 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
734 typedef void InternalArenaConstructable_;
735 typedef void DestructorSkippable_;
737 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
738 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
739 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::udp::protobuf::Config_EndPoint > remote_;
740 ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > additional_application_ack_modem_id_;
741 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::udp::protobuf::Config_HubEndPoints > hub_endpoint_;
745 uint32_t subnet_mask_;
746 int32_t max_frame_size_;
749 friend struct ::TableStruct_jaiabot_2fmessages_2fudp_5fdriver_2eproto;
754extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::goby::acomms::protobuf::DriverConfig,
755 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::jaiabot::udp::protobuf::Config >, 11,
false >
761 #pragma GCC diagnostic push
762 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
767inline bool Config_EndPoint::_internal_has_modem_id()
const {
768 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
771inline bool Config_EndPoint::has_modem_id()
const {
772 return _internal_has_modem_id();
774inline void Config_EndPoint::clear_modem_id() {
775 _impl_.modem_id_ = 0u;
776 _impl_._has_bits_[0] &= ~0x00000002u;
778inline uint32_t Config_EndPoint::_internal_modem_id()
const {
779 return _impl_.modem_id_;
781inline uint32_t Config_EndPoint::modem_id()
const {
783 return _internal_modem_id();
785inline void Config_EndPoint::_internal_set_modem_id(uint32_t value) {
786 _impl_._has_bits_[0] |= 0x00000002u;
787 _impl_.modem_id_ = value;
789inline void Config_EndPoint::set_modem_id(uint32_t value) {
790 _internal_set_modem_id(value);
795inline bool Config_EndPoint::_internal_has_ip()
const {
796 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
799inline bool Config_EndPoint::has_ip()
const {
800 return _internal_has_ip();
802inline void Config_EndPoint::clear_ip() {
803 _impl_.ip_.ClearToDefault(::jaiabot::udp::protobuf::Config_EndPoint::Impl_::_i_give_permission_to_break_this_code_default_ip_, GetArenaForAllocation());
804 _impl_._has_bits_[0] &= ~0x00000001u;
806inline const std::string& Config_EndPoint::ip()
const {
808 if (_impl_.ip_.IsDefault())
return Impl_::_i_give_permission_to_break_this_code_default_ip_.get();
809 return _internal_ip();
811template <
typename ArgT0,
typename... ArgT>
812inline PROTOBUF_ALWAYS_INLINE
813void Config_EndPoint::set_ip(ArgT0&& arg0, ArgT... args) {
814 _impl_._has_bits_[0] |= 0x00000001u;
815 _impl_.ip_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
818inline std::string* Config_EndPoint::mutable_ip() {
819 std::string* _s = _internal_mutable_ip();
823inline const std::string& Config_EndPoint::_internal_ip()
const {
824 return _impl_.ip_.Get();
826inline void Config_EndPoint::_internal_set_ip(
const std::string& value) {
827 _impl_._has_bits_[0] |= 0x00000001u;
828 _impl_.ip_.Set(value, GetArenaForAllocation());
830inline std::string* Config_EndPoint::_internal_mutable_ip() {
831 _impl_._has_bits_[0] |= 0x00000001u;
832 return _impl_.ip_.Mutable(::jaiabot::udp::protobuf::Config_EndPoint::Impl_::_i_give_permission_to_break_this_code_default_ip_, GetArenaForAllocation());
834inline std::string* Config_EndPoint::release_ip() {
836 if (!_internal_has_ip()) {
839 _impl_._has_bits_[0] &= ~0x00000001u;
840 auto* p = _impl_.ip_.Release();
843inline void Config_EndPoint::set_allocated_ip(std::string* ip) {
845 _impl_._has_bits_[0] |= 0x00000001u;
847 _impl_._has_bits_[0] &= ~0x00000001u;
849 _impl_.ip_.SetAllocated(ip, GetArenaForAllocation());
854inline bool Config_EndPoint::_internal_has_port()
const {
855 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
858inline bool Config_EndPoint::has_port()
const {
859 return _internal_has_port();
861inline void Config_EndPoint::clear_port() {
863 _impl_._has_bits_[0] &= ~0x00000004u;
865inline uint32_t Config_EndPoint::_internal_port()
const {
868inline uint32_t Config_EndPoint::port()
const {
870 return _internal_port();
872inline void Config_EndPoint::_internal_set_port(uint32_t value) {
873 _impl_._has_bits_[0] |= 0x00000004u;
874 _impl_.port_ = value;
876inline void Config_EndPoint::set_port(uint32_t value) {
877 _internal_set_port(value);
886inline bool Config_HubEndPoints::_internal_has_hub_id()
const {
887 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
890inline bool Config_HubEndPoints::has_hub_id()
const {
891 return _internal_has_hub_id();
893inline void Config_HubEndPoints::clear_hub_id() {
895 _impl_._has_bits_[0] &= ~0x00000002u;
897inline int32_t Config_HubEndPoints::_internal_hub_id()
const {
898 return _impl_.hub_id_;
900inline int32_t Config_HubEndPoints::hub_id()
const {
902 return _internal_hub_id();
904inline void Config_HubEndPoints::_internal_set_hub_id(int32_t value) {
905 _impl_._has_bits_[0] |= 0x00000002u;
906 _impl_.hub_id_ = value;
908inline void Config_HubEndPoints::set_hub_id(int32_t value) {
909 _internal_set_hub_id(value);
914inline bool Config_HubEndPoints::_internal_has_remote()
const {
915 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
916 PROTOBUF_ASSUME(!value || _impl_.remote_ !=
nullptr);
919inline bool Config_HubEndPoints::has_remote()
const {
920 return _internal_has_remote();
922inline void Config_HubEndPoints::clear_remote() {
923 if (_impl_.remote_ !=
nullptr) _impl_.remote_->Clear();
924 _impl_._has_bits_[0] &= ~0x00000001u;
926inline const ::jaiabot::udp::protobuf::Config_EndPoint& Config_HubEndPoints::_internal_remote()
const {
927 const ::jaiabot::udp::protobuf::Config_EndPoint* p = _impl_.remote_;
931inline const ::jaiabot::udp::protobuf::Config_EndPoint& Config_HubEndPoints::remote()
const {
933 return _internal_remote();
935inline void Config_HubEndPoints::unsafe_arena_set_allocated_remote(
937 if (GetArenaForAllocation() ==
nullptr) {
938 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.remote_);
940 _impl_.remote_ = remote;
942 _impl_._has_bits_[0] |= 0x00000001u;
944 _impl_._has_bits_[0] &= ~0x00000001u;
948inline ::jaiabot::udp::protobuf::Config_EndPoint* Config_HubEndPoints::release_remote() {
949 _impl_._has_bits_[0] &= ~0x00000001u;
951 _impl_.remote_ =
nullptr;
952#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
953 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
954 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
955 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
957 if (GetArenaForAllocation() !=
nullptr) {
958 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
963inline ::jaiabot::udp::protobuf::Config_EndPoint* Config_HubEndPoints::unsafe_arena_release_remote() {
965 _impl_._has_bits_[0] &= ~0x00000001u;
967 _impl_.remote_ =
nullptr;
970inline ::jaiabot::udp::protobuf::Config_EndPoint* Config_HubEndPoints::_internal_mutable_remote() {
971 _impl_._has_bits_[0] |= 0x00000001u;
972 if (_impl_.remote_ ==
nullptr) {
976 return _impl_.remote_;
978inline ::jaiabot::udp::protobuf::Config_EndPoint* Config_HubEndPoints::mutable_remote() {
984 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
985 if (message_arena ==
nullptr) {
986 delete _impl_.remote_;
989 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
990 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(remote);
991 if (message_arena != submessage_arena) {
992 remote = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
993 message_arena, remote, submessage_arena);
995 _impl_._has_bits_[0] |= 0x00000001u;
997 _impl_._has_bits_[0] &= ~0x00000001u;
999 _impl_.remote_ = remote;
1008inline bool Config::_internal_has_local()
const {
1009 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1010 PROTOBUF_ASSUME(!value || _impl_.local_ !=
nullptr);
1013inline bool Config::has_local()
const {
1014 return _internal_has_local();
1016inline void Config::clear_local() {
1017 if (_impl_.local_ !=
nullptr) _impl_.local_->Clear();
1018 _impl_._has_bits_[0] &= ~0x00000001u;
1020inline const ::jaiabot::udp::protobuf::Config_EndPoint& Config::_internal_local()
const {
1021 const ::jaiabot::udp::protobuf::Config_EndPoint* p = _impl_.local_;
1025inline const ::jaiabot::udp::protobuf::Config_EndPoint& Config::local()
const {
1027 return _internal_local();
1029inline void Config::unsafe_arena_set_allocated_local(
1031 if (GetArenaForAllocation() ==
nullptr) {
1032 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.local_);
1034 _impl_.local_ = local;
1036 _impl_._has_bits_[0] |= 0x00000001u;
1038 _impl_._has_bits_[0] &= ~0x00000001u;
1042inline ::jaiabot::udp::protobuf::Config_EndPoint* Config::release_local() {
1043 _impl_._has_bits_[0] &= ~0x00000001u;
1045 _impl_.local_ =
nullptr;
1046#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1047 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
1048 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1049 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
1051 if (GetArenaForAllocation() !=
nullptr) {
1052 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1057inline ::jaiabot::udp::protobuf::Config_EndPoint* Config::unsafe_arena_release_local() {
1059 _impl_._has_bits_[0] &= ~0x00000001u;
1061 _impl_.local_ =
nullptr;
1064inline ::jaiabot::udp::protobuf::Config_EndPoint* Config::_internal_mutable_local() {
1065 _impl_._has_bits_[0] |= 0x00000001u;
1066 if (_impl_.local_ ==
nullptr) {
1070 return _impl_.local_;
1072inline ::jaiabot::udp::protobuf::Config_EndPoint* Config::mutable_local() {
1078 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1079 if (message_arena ==
nullptr) {
1080 delete _impl_.local_;
1083 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1084 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(local);
1085 if (message_arena != submessage_arena) {
1086 local = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1087 message_arena, local, submessage_arena);
1089 _impl_._has_bits_[0] |= 0x00000001u;
1091 _impl_._has_bits_[0] &= ~0x00000001u;
1093 _impl_.local_ = local;
1098inline int Config::_internal_remote_size()
const {
1099 return _impl_.remote_.size();
1101inline int Config::remote_size()
const {
1102 return _internal_remote_size();
1104inline void Config::clear_remote() {
1105 _impl_.remote_.Clear();
1107inline ::jaiabot::udp::protobuf::Config_EndPoint* Config::mutable_remote(
int index) {
1109 return _impl_.remote_.Mutable(index);
1111inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::udp::protobuf::Config_EndPoint >*
1112Config::mutable_remote() {
1114 return &_impl_.remote_;
1116inline const ::jaiabot::udp::protobuf::Config_EndPoint& Config::_internal_remote(
int index)
const {
1117 return _impl_.remote_.Get(index);
1119inline const ::jaiabot::udp::protobuf::Config_EndPoint& Config::remote(
int index)
const {
1121 return _internal_remote(index);
1123inline ::jaiabot::udp::protobuf::Config_EndPoint* Config::_internal_add_remote() {
1124 return _impl_.remote_.Add();
1126inline ::jaiabot::udp::protobuf::Config_EndPoint* Config::add_remote() {
1131inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::udp::protobuf::Config_EndPoint >&
1132Config::remote()
const {
1134 return _impl_.remote_;
1138inline bool Config::_internal_has_max_frame_size()
const {
1139 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
1142inline bool Config::has_max_frame_size()
const {
1143 return _internal_has_max_frame_size();
1145inline void Config::clear_max_frame_size() {
1146 _impl_.max_frame_size_ = 1400;
1147 _impl_._has_bits_[0] &= ~0x00000010u;
1149inline int32_t Config::_internal_max_frame_size()
const {
1150 return _impl_.max_frame_size_;
1152inline int32_t Config::max_frame_size()
const {
1154 return _internal_max_frame_size();
1156inline void Config::_internal_set_max_frame_size(int32_t value) {
1157 _impl_._has_bits_[0] |= 0x00000010u;
1158 _impl_.max_frame_size_ = value;
1160inline void Config::set_max_frame_size(int32_t value) {
1161 _internal_set_max_frame_size(value);
1166inline bool Config::_internal_has_ipv6()
const {
1167 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1170inline bool Config::has_ipv6()
const {
1171 return _internal_has_ipv6();
1173inline void Config::clear_ipv6() {
1174 _impl_.ipv6_ =
false;
1175 _impl_._has_bits_[0] &= ~0x00000002u;
1177inline bool Config::_internal_ipv6()
const {
1178 return _impl_.ipv6_;
1180inline bool Config::ipv6()
const {
1182 return _internal_ipv6();
1184inline void Config::_internal_set_ipv6(
bool value) {
1185 _impl_._has_bits_[0] |= 0x00000002u;
1186 _impl_.ipv6_ = value;
1188inline void Config::set_ipv6(
bool value) {
1189 _internal_set_ipv6(value);
1194inline int Config::_internal_additional_application_ack_modem_id_size()
const {
1195 return _impl_.additional_application_ack_modem_id_.size();
1197inline int Config::additional_application_ack_modem_id_size()
const {
1198 return _internal_additional_application_ack_modem_id_size();
1200inline void Config::clear_additional_application_ack_modem_id() {
1201 _impl_.additional_application_ack_modem_id_.Clear();
1203inline uint32_t Config::_internal_additional_application_ack_modem_id(
int index)
const {
1204 return _impl_.additional_application_ack_modem_id_.Get(index);
1206inline uint32_t Config::additional_application_ack_modem_id(
int index)
const {
1208 return _internal_additional_application_ack_modem_id(index);
1210inline void Config::set_additional_application_ack_modem_id(
int index, uint32_t value) {
1211 _impl_.additional_application_ack_modem_id_.Set(index, value);
1214inline void Config::_internal_add_additional_application_ack_modem_id(uint32_t value) {
1215 _impl_.additional_application_ack_modem_id_.Add(value);
1217inline void Config::add_additional_application_ack_modem_id(uint32_t value) {
1218 _internal_add_additional_application_ack_modem_id(value);
1221inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
1222Config::_internal_additional_application_ack_modem_id()
const {
1223 return _impl_.additional_application_ack_modem_id_;
1225inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
1226Config::additional_application_ack_modem_id()
const {
1228 return _internal_additional_application_ack_modem_id();
1230inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
1231Config::_internal_mutable_additional_application_ack_modem_id() {
1232 return &_impl_.additional_application_ack_modem_id_;
1234inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
1235Config::mutable_additional_application_ack_modem_id() {
1237 return _internal_mutable_additional_application_ack_modem_id();
1241inline bool Config::_internal_has_hub_id()
const {
1242 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1245inline bool Config::has_hub_id()
const {
1246 return _internal_has_hub_id();
1248inline void Config::clear_hub_id() {
1250 _impl_._has_bits_[0] &= ~0x00000004u;
1252inline int32_t Config::_internal_hub_id()
const {
1253 return _impl_.hub_id_;
1255inline int32_t Config::hub_id()
const {
1257 return _internal_hub_id();
1259inline void Config::_internal_set_hub_id(int32_t value) {
1260 _impl_._has_bits_[0] |= 0x00000004u;
1261 _impl_.hub_id_ = value;
1263inline void Config::set_hub_id(int32_t value) {
1264 _internal_set_hub_id(value);
1269inline bool Config::_internal_has_subnet_mask()
const {
1270 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
1273inline bool Config::has_subnet_mask()
const {
1274 return _internal_has_subnet_mask();
1276inline void Config::clear_subnet_mask() {
1277 _impl_.subnet_mask_ = 0u;
1278 _impl_._has_bits_[0] &= ~0x00000008u;
1280inline uint32_t Config::_internal_subnet_mask()
const {
1281 return _impl_.subnet_mask_;
1283inline uint32_t Config::subnet_mask()
const {
1285 return _internal_subnet_mask();
1287inline void Config::_internal_set_subnet_mask(uint32_t value) {
1288 _impl_._has_bits_[0] |= 0x00000008u;
1289 _impl_.subnet_mask_ = value;
1291inline void Config::set_subnet_mask(uint32_t value) {
1292 _internal_set_subnet_mask(value);
1297inline int Config::_internal_hub_endpoint_size()
const {
1298 return _impl_.hub_endpoint_.size();
1300inline int Config::hub_endpoint_size()
const {
1301 return _internal_hub_endpoint_size();
1303inline void Config::clear_hub_endpoint() {
1304 _impl_.hub_endpoint_.Clear();
1306inline ::jaiabot::udp::protobuf::Config_HubEndPoints* Config::mutable_hub_endpoint(
int index) {
1308 return _impl_.hub_endpoint_.Mutable(index);
1310inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::udp::protobuf::Config_HubEndPoints >*
1311Config::mutable_hub_endpoint() {
1313 return &_impl_.hub_endpoint_;
1315inline const ::jaiabot::udp::protobuf::Config_HubEndPoints& Config::_internal_hub_endpoint(
int index)
const {
1316 return _impl_.hub_endpoint_.Get(index);
1318inline const ::jaiabot::udp::protobuf::Config_HubEndPoints& Config::hub_endpoint(
int index)
const {
1320 return _internal_hub_endpoint(index);
1322inline ::jaiabot::udp::protobuf::Config_HubEndPoints* Config::_internal_add_hub_endpoint() {
1323 return _impl_.hub_endpoint_.Add();
1325inline ::jaiabot::udp::protobuf::Config_HubEndPoints* Config::add_hub_endpoint() {
1330inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::udp::protobuf::Config_HubEndPoints >&
1331Config::hub_endpoint()
const {
1333 return _impl_.hub_endpoint_;
1337 #pragma GCC diagnostic pop
1352#include <google/protobuf/port_undef.inc>
void set_port(uint32_t value)
Config_EndPoint(Config_EndPoint &&from) noexcept
size_t ByteSizeLong() const final
void set_allocated_ip(std::string *ip)
void MergeFrom(const Config_EndPoint &from)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
PROTOBUF_NODISCARD std::string * release_ip()
Config_EndPoint & operator=(Config_EndPoint &&from) noexcept
friend void swap(Config_EndPoint &a, Config_EndPoint &b)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void set_ip(ArgT0 &&arg0, ArgT... args)
Config_EndPoint(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static const Config_EndPoint * internal_default_instance()
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void CopyFrom(const Config_EndPoint &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
PROTOBUF_CONSTEXPR Config_EndPoint(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
Config_EndPoint * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
static constexpr int kIndexInFileMessages
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void set_modem_id(uint32_t value)
void Swap(Config_EndPoint *other)
const std::string & ip() const
std::string * mutable_ip()
Config_EndPoint(const Config_EndPoint &from)
Config_EndPoint & operator=(const Config_EndPoint &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
bool has_modem_id() const
static const Config_EndPoint & default_instance()
int GetCachedSize() const final
~Config_EndPoint() override
static const ClassData _class_data_
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
uint32_t modem_id() const
void UnsafeArenaSwap(Config_EndPoint *other)
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
bool IsInitialized() const final
void MergeFrom(const Config_HubEndPoints &from)
Config_HubEndPoints(Config_HubEndPoints &&from) noexcept
~Config_HubEndPoints() override
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const Config_HubEndPoints * internal_default_instance()
static const Config_HubEndPoints & default_instance()
void CopyFrom(const Config_HubEndPoints &from)
friend void swap(Config_HubEndPoints &a, Config_HubEndPoints &b)
PROTOBUF_CONSTEXPR Config_HubEndPoints(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Config_HubEndPoints & operator=(const Config_HubEndPoints &from)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Config_HubEndPoints & operator=(Config_HubEndPoints &&from) noexcept
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void UnsafeArenaSwap(Config_HubEndPoints *other)
Config_HubEndPoints(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static const ClassData _class_data_
Config_HubEndPoints(const Config_HubEndPoints &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Config_HubEndPoints * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
void Swap(Config_HubEndPoints *other)
static const ClassData _class_data_
Config * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Config & operator=(Config &&from) noexcept
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
PROTOBUF_CONSTEXPR Config(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
friend void swap(Config &a, Config &b)
Config(Config &&from) noexcept
void CopyFrom(const Config &from)
static const Config & default_instance()
void UnsafeArenaSwap(Config *other)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void MergeFrom(const Config &from)
Config(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
Config(const Config &from)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
static const Config * internal_default_instance()
Config & operator=(const Config &from)
static const int kConfigFieldNumber
Config_HubEndPointsDefaultTypeInternal _Config_HubEndPoints_default_instance_
ConfigDefaultTypeInternal _Config_default_instance_
extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::goby::acomms::protobuf::DriverConfig, ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::jaiabot::udp::protobuf::Config >, 11, false > config
Config_EndPointDefaultTypeInternal _Config_EndPoint_default_instance_
static const uint32_t offsets[]
::jaiabot::udp::protobuf::Config_EndPoint * Arena::CreateMaybeMessage<::jaiabot::udp::protobuf::Config_EndPoint >(Arena *)
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fudp_5fdriver_2eproto