4#ifndef GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fxbee_5fextensions_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fxbee_5fextensions_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/acomms/protobuf/driver_base.pb.h"
34#include "goby/protobuf/option_extensions.pb.h"
36#include <boost/units/quantity.hpp>
37#include <boost/units/absolute.hpp>
38#include <boost/units/dimensionless_type.hpp>
39#include <boost/units/make_scaled_unit.hpp>
41#include <boost/units/systems/si.hpp>
43#include <google/protobuf/port_def.inc>
44#define PROTOBUF_INTERNAL_EXPORT_jaiabot_2fmessages_2fxbee_5fextensions_2eproto
45PROTOBUF_NAMESPACE_OPEN
49PROTOBUF_NAMESPACE_CLOSE
59struct ConfigDefaultTypeInternal;
63PROTOBUF_NAMESPACE_OPEN
65PROTOBUF_NAMESPACE_CLOSE
72 public ::PROTOBUF_NAMESPACE_ID::Message {
76 explicit PROTOBUF_CONSTEXPR
Config(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
81 *
this = ::std::move(from);
89 if (
this == &from)
return *
this;
90 if (GetOwningArena() == from.GetOwningArena()
91 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
92 && GetOwningArena() !=
nullptr
103 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
106 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
109 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
122 return reinterpret_cast<const Config*
>(
132 if (other ==
this)
return;
133 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
134 if (GetOwningArena() !=
nullptr &&
135 GetOwningArena() == other->GetOwningArena()) {
137 if (GetOwningArena() == other->GetOwningArena()) {
141 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
145 if (other ==
this)
return;
146 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
152 Config*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
153 return CreateMaybeMessage<Config>(arena);
155 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
157 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
159 Config::MergeImpl(*
this, from);
162 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
164 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
170 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
174 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
176 void SetCachedSize(
int size)
const final;
177 void InternalSwap(
Config* other);
180 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
181 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
182 return "xbee.protobuf.Config";
185 explicit Config(::PROTOBUF_NAMESPACE_ID::Arena* arena,
186 bool is_message_owned =
false);
190 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
216 bool _internal_has_xbee_info_location()
const;
220 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
226 const std::string& _internal_xbee_info_location()
const;
227 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_xbee_info_location(
const std::string& value);
228 std::string* _internal_mutable_xbee_info_location();
234 bool _internal_has_xbee_encryption_password()
const;
238 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
244 const std::string& _internal_xbee_encryption_password()
const;
245 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_xbee_encryption_password(
const std::string& value);
246 std::string* _internal_mutable_xbee_encryption_password();
252 bool _internal_has_hub_info_location()
const;
256 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
262 const std::string& _internal_hub_info_location()
const;
263 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_hub_info_location(
const std::string& value);
264 std::string* _internal_mutable_hub_info_location();
270 bool _internal_has_xbee_mesh_unicast_retries()
const;
274 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
280 const std::string& _internal_xbee_mesh_unicast_retries()
const;
281 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_xbee_mesh_unicast_retries(
const std::string& value);
282 std::string* _internal_mutable_xbee_mesh_unicast_retries();
288 bool _internal_has_xbee_unicast_mac_retries()
const;
292 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
298 const std::string& _internal_xbee_unicast_mac_retries()
const;
299 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_xbee_unicast_mac_retries(
const std::string& value);
300 std::string* _internal_mutable_xbee_unicast_mac_retries();
306 bool _internal_has_xbee_network_delay_slots()
const;
310 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
316 const std::string& _internal_xbee_network_delay_slots()
const;
317 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_xbee_network_delay_slots(
const std::string& value);
318 std::string* _internal_mutable_xbee_network_delay_slots();
324 bool _internal_has_xbee_broadcast_multi_transmits()
const;
328 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
334 const std::string& _internal_xbee_broadcast_multi_transmits()
const;
335 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_xbee_broadcast_multi_transmits(
const std::string& value);
336 std::string* _internal_mutable_xbee_broadcast_multi_transmits();
342 bool _internal_has_test_comms()
const;
348 bool _internal_test_comms()
const;
349 void _internal_set_test_comms(
bool value);
355 bool _internal_has_use_xbee_encryption()
const;
361 bool _internal_use_xbee_encryption()
const;
362 void _internal_set_use_xbee_encryption(
bool value);
368 bool _internal_has_hub_id()
const;
374 int32_t _internal_hub_id()
const;
375 void _internal_set_hub_id(int32_t value);
381 bool _internal_has_fleet_id()
const;
387 int32_t _internal_fleet_id()
const;
388 void _internal_set_fleet_id(int32_t value);
394 bool _internal_has_subnet_mask()
const;
400 uint32_t _internal_subnet_mask()
const;
401 void _internal_set_subnet_mask(uint32_t value);
407 bool _internal_has_network_id()
const;
413 uint64_t _internal_network_id()
const;
414 void _internal_set_network_id(uint64_t value);
422 size_t RequiredFieldsByteSizeFallback()
const;
424 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
425 typedef void InternalArenaConstructable_;
426 typedef void DestructorSkippable_;
428 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
429 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
430 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_xbee_info_location_;
431 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr xbee_info_location_;
432 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr xbee_encryption_password_;
433 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_hub_info_location_;
434 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr hub_info_location_;
435 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_xbee_mesh_unicast_retries_;
436 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr xbee_mesh_unicast_retries_;
437 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_xbee_unicast_mac_retries_;
438 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr xbee_unicast_mac_retries_;
439 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_xbee_network_delay_slots_;
440 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr xbee_network_delay_slots_;
441 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_xbee_broadcast_multi_transmits_;
442 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr xbee_broadcast_multi_transmits_;
444 bool use_xbee_encryption_;
447 uint32_t subnet_mask_;
448 uint64_t network_id_;
451 friend struct ::TableStruct_jaiabot_2fmessages_2fxbee_5fextensions_2eproto;
456extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::goby::acomms::protobuf::DriverConfig,
457 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::xbee::protobuf::Config >, 11,
false >
463 #pragma GCC diagnostic push
464 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
469inline bool Config::_internal_has_network_id()
const {
470 bool value = (
_impl_._has_bits_[0] & 0x00001000u) != 0;
474 return _internal_has_network_id();
477 _impl_.network_id_ = uint64_t{7u};
478 _impl_._has_bits_[0] &= ~0x00001000u;
480inline uint64_t Config::_internal_network_id()
const {
481 return _impl_.network_id_;
485 return _internal_network_id();
487inline void Config::_internal_set_network_id(uint64_t value) {
488 _impl_._has_bits_[0] |= 0x00001000u;
489 _impl_.network_id_ = value;
492 _internal_set_network_id(value);
497inline bool Config::_internal_has_test_comms()
const {
498 bool value = (
_impl_._has_bits_[0] & 0x00000080u) != 0;
502 return _internal_has_test_comms();
505 _impl_.test_comms_ =
false;
506 _impl_._has_bits_[0] &= ~0x00000080u;
508inline bool Config::_internal_test_comms()
const {
509 return _impl_.test_comms_;
513 return _internal_test_comms();
515inline void Config::_internal_set_test_comms(
bool value) {
516 _impl_._has_bits_[0] |= 0x00000080u;
517 _impl_.test_comms_ = value;
520 _internal_set_test_comms(value);
525inline bool Config::_internal_has_xbee_info_location()
const {
526 bool value = (
_impl_._has_bits_[0] & 0x00000001u) != 0;
530 return _internal_has_xbee_info_location();
533 _impl_.xbee_info_location_.ClearToDefault(::xbee::protobuf::Config::Impl_::_i_give_permission_to_break_this_code_default_xbee_info_location_, GetArenaForAllocation());
534 _impl_._has_bits_[0] &= ~0x00000001u;
538 if (
_impl_.xbee_info_location_.IsDefault())
return Impl_::_i_give_permission_to_break_this_code_default_xbee_info_location_.get();
539 return _internal_xbee_info_location();
541template <
typename ArgT0,
typename... ArgT>
542inline PROTOBUF_ALWAYS_INLINE
544 _impl_._has_bits_[0] |= 0x00000001u;
545 _impl_.xbee_info_location_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
549 std::string* _s = _internal_mutable_xbee_info_location();
553inline const std::string& Config::_internal_xbee_info_location()
const {
554 return _impl_.xbee_info_location_.Get();
556inline void Config::_internal_set_xbee_info_location(
const std::string& value) {
557 _impl_._has_bits_[0] |= 0x00000001u;
558 _impl_.xbee_info_location_.Set(value, GetArenaForAllocation());
560inline std::string* Config::_internal_mutable_xbee_info_location() {
561 _impl_._has_bits_[0] |= 0x00000001u;
562 return _impl_.xbee_info_location_.Mutable(::xbee::protobuf::Config::Impl_::_i_give_permission_to_break_this_code_default_xbee_info_location_, GetArenaForAllocation());
566 if (!_internal_has_xbee_info_location()) {
569 _impl_._has_bits_[0] &= ~0x00000001u;
570 auto* p =
_impl_.xbee_info_location_.Release();
575 _impl_._has_bits_[0] |= 0x00000001u;
577 _impl_._has_bits_[0] &= ~0x00000001u;
584inline bool Config::_internal_has_hub_id()
const {
585 bool value = (
_impl_._has_bits_[0] & 0x00000200u) != 0;
589 return _internal_has_hub_id();
593 _impl_._has_bits_[0] &= ~0x00000200u;
595inline int32_t Config::_internal_hub_id()
const {
600 return _internal_hub_id();
602inline void Config::_internal_set_hub_id(int32_t value) {
603 _impl_._has_bits_[0] |= 0x00000200u;
607 _internal_set_hub_id(value);
612inline bool Config::_internal_has_use_xbee_encryption()
const {
613 bool value = (
_impl_._has_bits_[0] & 0x00000100u) != 0;
617 return _internal_has_use_xbee_encryption();
620 _impl_.use_xbee_encryption_ =
false;
621 _impl_._has_bits_[0] &= ~0x00000100u;
623inline bool Config::_internal_use_xbee_encryption()
const {
624 return _impl_.use_xbee_encryption_;
628 return _internal_use_xbee_encryption();
630inline void Config::_internal_set_use_xbee_encryption(
bool value) {
631 _impl_._has_bits_[0] |= 0x00000100u;
632 _impl_.use_xbee_encryption_ = value;
635 _internal_set_use_xbee_encryption(value);
640inline bool Config::_internal_has_xbee_encryption_password()
const {
641 bool value = (
_impl_._has_bits_[0] & 0x00000002u) != 0;
645 return _internal_has_xbee_encryption_password();
648 _impl_.xbee_encryption_password_.ClearToEmpty();
649 _impl_._has_bits_[0] &= ~0x00000002u;
653 return _internal_xbee_encryption_password();
655template <
typename ArgT0,
typename... ArgT>
656inline PROTOBUF_ALWAYS_INLINE
658 _impl_._has_bits_[0] |= 0x00000002u;
659 _impl_.xbee_encryption_password_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
663 std::string* _s = _internal_mutable_xbee_encryption_password();
667inline const std::string& Config::_internal_xbee_encryption_password()
const {
668 return _impl_.xbee_encryption_password_.Get();
670inline void Config::_internal_set_xbee_encryption_password(
const std::string& value) {
671 _impl_._has_bits_[0] |= 0x00000002u;
672 _impl_.xbee_encryption_password_.Set(value, GetArenaForAllocation());
674inline std::string* Config::_internal_mutable_xbee_encryption_password() {
675 _impl_._has_bits_[0] |= 0x00000002u;
676 return _impl_.xbee_encryption_password_.Mutable(GetArenaForAllocation());
680 if (!_internal_has_xbee_encryption_password()) {
683 _impl_._has_bits_[0] &= ~0x00000002u;
684 auto* p =
_impl_.xbee_encryption_password_.Release();
685#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
686 if (
_impl_.xbee_encryption_password_.IsDefault()) {
687 _impl_.xbee_encryption_password_.Set(
"", GetArenaForAllocation());
694 _impl_._has_bits_[0] |= 0x00000002u;
696 _impl_._has_bits_[0] &= ~0x00000002u;
699#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
700 if (
_impl_.xbee_encryption_password_.IsDefault()) {
701 _impl_.xbee_encryption_password_.Set(
"", GetArenaForAllocation());
708inline bool Config::_internal_has_hub_info_location()
const {
709 bool value = (
_impl_._has_bits_[0] & 0x00000004u) != 0;
713 return _internal_has_hub_info_location();
716 _impl_.hub_info_location_.ClearToDefault(::xbee::protobuf::Config::Impl_::_i_give_permission_to_break_this_code_default_hub_info_location_, GetArenaForAllocation());
717 _impl_._has_bits_[0] &= ~0x00000004u;
721 if (
_impl_.hub_info_location_.IsDefault())
return Impl_::_i_give_permission_to_break_this_code_default_hub_info_location_.get();
722 return _internal_hub_info_location();
724template <
typename ArgT0,
typename... ArgT>
725inline PROTOBUF_ALWAYS_INLINE
727 _impl_._has_bits_[0] |= 0x00000004u;
728 _impl_.hub_info_location_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
732 std::string* _s = _internal_mutable_hub_info_location();
736inline const std::string& Config::_internal_hub_info_location()
const {
737 return _impl_.hub_info_location_.Get();
739inline void Config::_internal_set_hub_info_location(
const std::string& value) {
740 _impl_._has_bits_[0] |= 0x00000004u;
741 _impl_.hub_info_location_.Set(value, GetArenaForAllocation());
743inline std::string* Config::_internal_mutable_hub_info_location() {
744 _impl_._has_bits_[0] |= 0x00000004u;
745 return _impl_.hub_info_location_.Mutable(::xbee::protobuf::Config::Impl_::_i_give_permission_to_break_this_code_default_hub_info_location_, GetArenaForAllocation());
749 if (!_internal_has_hub_info_location()) {
752 _impl_._has_bits_[0] &= ~0x00000004u;
753 auto* p =
_impl_.hub_info_location_.Release();
758 _impl_._has_bits_[0] |= 0x00000004u;
760 _impl_._has_bits_[0] &= ~0x00000004u;
767inline bool Config::_internal_has_xbee_mesh_unicast_retries()
const {
768 bool value = (
_impl_._has_bits_[0] & 0x00000008u) != 0;
772 return _internal_has_xbee_mesh_unicast_retries();
775 _impl_.xbee_mesh_unicast_retries_.ClearToDefault(::xbee::protobuf::Config::Impl_::_i_give_permission_to_break_this_code_default_xbee_mesh_unicast_retries_, GetArenaForAllocation());
776 _impl_._has_bits_[0] &= ~0x00000008u;
780 if (
_impl_.xbee_mesh_unicast_retries_.IsDefault())
return Impl_::_i_give_permission_to_break_this_code_default_xbee_mesh_unicast_retries_.get();
781 return _internal_xbee_mesh_unicast_retries();
783template <
typename ArgT0,
typename... ArgT>
784inline PROTOBUF_ALWAYS_INLINE
786 _impl_._has_bits_[0] |= 0x00000008u;
787 _impl_.xbee_mesh_unicast_retries_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
791 std::string* _s = _internal_mutable_xbee_mesh_unicast_retries();
795inline const std::string& Config::_internal_xbee_mesh_unicast_retries()
const {
796 return _impl_.xbee_mesh_unicast_retries_.Get();
798inline void Config::_internal_set_xbee_mesh_unicast_retries(
const std::string& value) {
799 _impl_._has_bits_[0] |= 0x00000008u;
800 _impl_.xbee_mesh_unicast_retries_.Set(value, GetArenaForAllocation());
802inline std::string* Config::_internal_mutable_xbee_mesh_unicast_retries() {
803 _impl_._has_bits_[0] |= 0x00000008u;
804 return _impl_.xbee_mesh_unicast_retries_.Mutable(::xbee::protobuf::Config::Impl_::_i_give_permission_to_break_this_code_default_xbee_mesh_unicast_retries_, GetArenaForAllocation());
808 if (!_internal_has_xbee_mesh_unicast_retries()) {
811 _impl_._has_bits_[0] &= ~0x00000008u;
812 auto* p =
_impl_.xbee_mesh_unicast_retries_.Release();
817 _impl_._has_bits_[0] |= 0x00000008u;
819 _impl_._has_bits_[0] &= ~0x00000008u;
826inline bool Config::_internal_has_xbee_unicast_mac_retries()
const {
827 bool value = (
_impl_._has_bits_[0] & 0x00000010u) != 0;
831 return _internal_has_xbee_unicast_mac_retries();
834 _impl_.xbee_unicast_mac_retries_.ClearToDefault(::xbee::protobuf::Config::Impl_::_i_give_permission_to_break_this_code_default_xbee_unicast_mac_retries_, GetArenaForAllocation());
835 _impl_._has_bits_[0] &= ~0x00000010u;
839 if (
_impl_.xbee_unicast_mac_retries_.IsDefault())
return Impl_::_i_give_permission_to_break_this_code_default_xbee_unicast_mac_retries_.get();
840 return _internal_xbee_unicast_mac_retries();
842template <
typename ArgT0,
typename... ArgT>
843inline PROTOBUF_ALWAYS_INLINE
845 _impl_._has_bits_[0] |= 0x00000010u;
846 _impl_.xbee_unicast_mac_retries_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
850 std::string* _s = _internal_mutable_xbee_unicast_mac_retries();
854inline const std::string& Config::_internal_xbee_unicast_mac_retries()
const {
855 return _impl_.xbee_unicast_mac_retries_.Get();
857inline void Config::_internal_set_xbee_unicast_mac_retries(
const std::string& value) {
858 _impl_._has_bits_[0] |= 0x00000010u;
859 _impl_.xbee_unicast_mac_retries_.Set(value, GetArenaForAllocation());
861inline std::string* Config::_internal_mutable_xbee_unicast_mac_retries() {
862 _impl_._has_bits_[0] |= 0x00000010u;
863 return _impl_.xbee_unicast_mac_retries_.Mutable(::xbee::protobuf::Config::Impl_::_i_give_permission_to_break_this_code_default_xbee_unicast_mac_retries_, GetArenaForAllocation());
867 if (!_internal_has_xbee_unicast_mac_retries()) {
870 _impl_._has_bits_[0] &= ~0x00000010u;
871 auto* p =
_impl_.xbee_unicast_mac_retries_.Release();
876 _impl_._has_bits_[0] |= 0x00000010u;
878 _impl_._has_bits_[0] &= ~0x00000010u;
885inline bool Config::_internal_has_xbee_network_delay_slots()
const {
886 bool value = (
_impl_._has_bits_[0] & 0x00000020u) != 0;
890 return _internal_has_xbee_network_delay_slots();
893 _impl_.xbee_network_delay_slots_.ClearToDefault(::xbee::protobuf::Config::Impl_::_i_give_permission_to_break_this_code_default_xbee_network_delay_slots_, GetArenaForAllocation());
894 _impl_._has_bits_[0] &= ~0x00000020u;
898 if (
_impl_.xbee_network_delay_slots_.IsDefault())
return Impl_::_i_give_permission_to_break_this_code_default_xbee_network_delay_slots_.get();
899 return _internal_xbee_network_delay_slots();
901template <
typename ArgT0,
typename... ArgT>
902inline PROTOBUF_ALWAYS_INLINE
904 _impl_._has_bits_[0] |= 0x00000020u;
905 _impl_.xbee_network_delay_slots_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
909 std::string* _s = _internal_mutable_xbee_network_delay_slots();
913inline const std::string& Config::_internal_xbee_network_delay_slots()
const {
914 return _impl_.xbee_network_delay_slots_.Get();
916inline void Config::_internal_set_xbee_network_delay_slots(
const std::string& value) {
917 _impl_._has_bits_[0] |= 0x00000020u;
918 _impl_.xbee_network_delay_slots_.Set(value, GetArenaForAllocation());
920inline std::string* Config::_internal_mutable_xbee_network_delay_slots() {
921 _impl_._has_bits_[0] |= 0x00000020u;
922 return _impl_.xbee_network_delay_slots_.Mutable(::xbee::protobuf::Config::Impl_::_i_give_permission_to_break_this_code_default_xbee_network_delay_slots_, GetArenaForAllocation());
926 if (!_internal_has_xbee_network_delay_slots()) {
929 _impl_._has_bits_[0] &= ~0x00000020u;
930 auto* p =
_impl_.xbee_network_delay_slots_.Release();
935 _impl_._has_bits_[0] |= 0x00000020u;
937 _impl_._has_bits_[0] &= ~0x00000020u;
944inline bool Config::_internal_has_xbee_broadcast_multi_transmits()
const {
945 bool value = (
_impl_._has_bits_[0] & 0x00000040u) != 0;
949 return _internal_has_xbee_broadcast_multi_transmits();
952 _impl_.xbee_broadcast_multi_transmits_.ClearToDefault(::xbee::protobuf::Config::Impl_::_i_give_permission_to_break_this_code_default_xbee_broadcast_multi_transmits_, GetArenaForAllocation());
953 _impl_._has_bits_[0] &= ~0x00000040u;
957 if (
_impl_.xbee_broadcast_multi_transmits_.IsDefault())
return Impl_::_i_give_permission_to_break_this_code_default_xbee_broadcast_multi_transmits_.get();
958 return _internal_xbee_broadcast_multi_transmits();
960template <
typename ArgT0,
typename... ArgT>
961inline PROTOBUF_ALWAYS_INLINE
963 _impl_._has_bits_[0] |= 0x00000040u;
964 _impl_.xbee_broadcast_multi_transmits_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
968 std::string* _s = _internal_mutable_xbee_broadcast_multi_transmits();
972inline const std::string& Config::_internal_xbee_broadcast_multi_transmits()
const {
973 return _impl_.xbee_broadcast_multi_transmits_.Get();
975inline void Config::_internal_set_xbee_broadcast_multi_transmits(
const std::string& value) {
976 _impl_._has_bits_[0] |= 0x00000040u;
977 _impl_.xbee_broadcast_multi_transmits_.Set(value, GetArenaForAllocation());
979inline std::string* Config::_internal_mutable_xbee_broadcast_multi_transmits() {
980 _impl_._has_bits_[0] |= 0x00000040u;
981 return _impl_.xbee_broadcast_multi_transmits_.Mutable(::xbee::protobuf::Config::Impl_::_i_give_permission_to_break_this_code_default_xbee_broadcast_multi_transmits_, GetArenaForAllocation());
985 if (!_internal_has_xbee_broadcast_multi_transmits()) {
988 _impl_._has_bits_[0] &= ~0x00000040u;
989 auto* p =
_impl_.xbee_broadcast_multi_transmits_.Release();
994 _impl_._has_bits_[0] |= 0x00000040u;
996 _impl_._has_bits_[0] &= ~0x00000040u;
1003inline bool Config::_internal_has_fleet_id()
const {
1004 bool value = (
_impl_._has_bits_[0] & 0x00000400u) != 0;
1008 return _internal_has_fleet_id();
1012 _impl_._has_bits_[0] &= ~0x00000400u;
1014inline int32_t Config::_internal_fleet_id()
const {
1019 return _internal_fleet_id();
1021inline void Config::_internal_set_fleet_id(int32_t value) {
1022 _impl_._has_bits_[0] |= 0x00000400u;
1023 _impl_.fleet_id_ = value;
1026 _internal_set_fleet_id(value);
1031inline bool Config::_internal_has_subnet_mask()
const {
1032 bool value = (
_impl_._has_bits_[0] & 0x00000800u) != 0;
1036 return _internal_has_subnet_mask();
1039 _impl_.subnet_mask_ = 0u;
1040 _impl_._has_bits_[0] &= ~0x00000800u;
1042inline uint32_t Config::_internal_subnet_mask()
const {
1043 return _impl_.subnet_mask_;
1047 return _internal_subnet_mask();
1049inline void Config::_internal_set_subnet_mask(uint32_t value) {
1050 _impl_._has_bits_[0] |= 0x00000800u;
1051 _impl_.subnet_mask_ = value;
1054 _internal_set_subnet_mask(value);
1059 #pragma GCC diagnostic pop
1069#include <google/protobuf/port_undef.inc>
void clear_xbee_info_location()
std::string * mutable_xbee_unicast_mac_retries()
bool has_hub_info_location() const
bool has_network_id() const
const std::string & xbee_network_delay_slots() const
PROTOBUF_NODISCARD std::string * release_xbee_network_delay_slots()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
void set_allocated_xbee_mesh_unicast_retries(std::string *xbee_mesh_unicast_retries)
bool use_xbee_encryption() const
Config(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
std::string * mutable_xbee_info_location()
PROTOBUF_NODISCARD std::string * release_xbee_mesh_unicast_retries()
const std::string & xbee_mesh_unicast_retries() const
std::string * mutable_xbee_network_delay_slots()
void set_fleet_id(int32_t value)
static const ClassData _class_data_
void clear_xbee_unicast_mac_retries()
const std::string & xbee_encryption_password() const
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
uint32_t subnet_mask() const
std::string * mutable_xbee_mesh_unicast_retries()
void set_allocated_xbee_unicast_mac_retries(std::string *xbee_unicast_mac_retries)
static const Config * internal_default_instance()
uint64_t network_id() const
friend void swap(Config &a, Config &b)
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
std::string * mutable_hub_info_location()
PROTOBUF_NODISCARD std::string * release_xbee_broadcast_multi_transmits()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Config(const Config &from)
void set_allocated_xbee_broadcast_multi_transmits(std::string *xbee_broadcast_multi_transmits)
void set_xbee_info_location(ArgT0 &&arg0, ArgT... args)
void set_xbee_broadcast_multi_transmits(ArgT0 &&arg0, ArgT... args)
const std::string & xbee_broadcast_multi_transmits() const
const std::string & xbee_info_location() const
Config & operator=(const Config &from)
Config & operator=(Config &&from) noexcept
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
const std::string & hub_info_location() const
size_t ByteSizeLong() const final
void UnsafeArenaSwap(Config *other)
void set_allocated_xbee_encryption_password(std::string *xbee_encryption_password)
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
PROTOBUF_CONSTEXPR Config(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
const std::string & xbee_unicast_mac_retries() const
void set_xbee_encryption_password(ArgT0 &&arg0, ArgT... args)
void clear_use_xbee_encryption()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void set_hub_id(int32_t value)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void set_use_xbee_encryption(bool value)
bool has_xbee_mesh_unicast_retries() const
static const Config & default_instance()
void set_subnet_mask(uint32_t value)
void clear_hub_info_location()
void set_xbee_mesh_unicast_retries(ArgT0 &&arg0, ArgT... args)
void set_allocated_hub_info_location(std::string *hub_info_location)
@ kUseXbeeEncryptionFieldNumber
@ kXbeeEncryptionPasswordFieldNumber
@ kXbeeMeshUnicastRetriesFieldNumber
@ kXbeeNetworkDelaySlotsFieldNumber
@ kXbeeBroadcastMultiTransmitsFieldNumber
@ kHubInfoLocationFieldNumber
@ kXbeeUnicastMacRetriesFieldNumber
@ kXbeeInfoLocationFieldNumber
void set_allocated_xbee_network_delay_slots(std::string *xbee_network_delay_slots)
bool has_xbee_info_location() const
bool has_xbee_encryption_password() const
bool has_test_comms() const
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void set_network_id(uint64_t value)
PROTOBUF_NODISCARD std::string * release_xbee_info_location()
bool has_use_xbee_encryption() const
void MergeFrom(const Config &from)
bool IsInitialized() const final
std::string * mutable_xbee_encryption_password()
bool has_subnet_mask() const
void set_test_comms(bool value)
PROTOBUF_NODISCARD std::string * release_hub_info_location()
bool has_xbee_network_delay_slots() const
void set_xbee_unicast_mac_retries(ArgT0 &&arg0, ArgT... args)
void clear_xbee_broadcast_multi_transmits()
Config * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
void clear_xbee_mesh_unicast_retries()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
std::string * mutable_xbee_broadcast_multi_transmits()
void set_xbee_network_delay_slots(ArgT0 &&arg0, ArgT... args)
bool has_xbee_unicast_mac_retries() const
void set_hub_info_location(ArgT0 &&arg0, ArgT... args)
void clear_xbee_encryption_password()
static constexpr int kIndexInFileMessages
int GetCachedSize() const final
void set_allocated_xbee_info_location(std::string *xbee_info_location)
void CopyFrom(const Config &from)
Config(Config &&from) noexcept
bool has_xbee_broadcast_multi_transmits() const
PROTOBUF_NODISCARD std::string * release_xbee_encryption_password()
PROTOBUF_NODISCARD std::string * release_xbee_unicast_mac_retries()
bool has_fleet_id() const
void clear_xbee_network_delay_slots()
extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::goby::acomms::protobuf::DriverConfig, ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::xbee::protobuf::Config >, 11, false > config
ConfigDefaultTypeInternal _Config_default_instance_
static const int kConfigFieldNumber
static const uint32_t offsets[]
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fxbee_5fextensions_2eproto