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;
215 bool _internal_has_xbee_info_location()
const;
219 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
225 const std::string& _internal_xbee_info_location()
const;
226 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_xbee_info_location(
const std::string& value);
227 std::string* _internal_mutable_xbee_info_location();
233 bool _internal_has_xbee_encryption_password()
const;
237 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
243 const std::string& _internal_xbee_encryption_password()
const;
244 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_xbee_encryption_password(
const std::string& value);
245 std::string* _internal_mutable_xbee_encryption_password();
251 bool _internal_has_xbee_mesh_unicast_retries()
const;
255 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
261 const std::string& _internal_xbee_mesh_unicast_retries()
const;
262 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_xbee_mesh_unicast_retries(
const std::string& value);
263 std::string* _internal_mutable_xbee_mesh_unicast_retries();
269 bool _internal_has_xbee_unicast_mac_retries()
const;
273 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
279 const std::string& _internal_xbee_unicast_mac_retries()
const;
280 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_xbee_unicast_mac_retries(
const std::string& value);
281 std::string* _internal_mutable_xbee_unicast_mac_retries();
287 bool _internal_has_xbee_network_delay_slots()
const;
291 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
297 const std::string& _internal_xbee_network_delay_slots()
const;
298 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_xbee_network_delay_slots(
const std::string& value);
299 std::string* _internal_mutable_xbee_network_delay_slots();
305 bool _internal_has_xbee_broadcast_multi_transmits()
const;
309 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
315 const std::string& _internal_xbee_broadcast_multi_transmits()
const;
316 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_xbee_broadcast_multi_transmits(
const std::string& value);
317 std::string* _internal_mutable_xbee_broadcast_multi_transmits();
323 bool _internal_has_test_comms()
const;
329 bool _internal_test_comms()
const;
330 void _internal_set_test_comms(
bool value);
336 bool _internal_has_use_xbee_encryption()
const;
342 bool _internal_use_xbee_encryption()
const;
343 void _internal_set_use_xbee_encryption(
bool value);
349 bool _internal_has_fleet_id()
const;
355 int32_t _internal_fleet_id()
const;
356 void _internal_set_fleet_id(int32_t value);
362 bool _internal_has_subnet_mask()
const;
368 uint32_t _internal_subnet_mask()
const;
369 void _internal_set_subnet_mask(uint32_t value);
375 bool _internal_has_is_in_sim()
const;
381 bool _internal_is_in_sim()
const;
382 void _internal_set_is_in_sim(
bool value);
388 bool _internal_has_network_id()
const;
394 uint64_t _internal_network_id()
const;
395 void _internal_set_network_id(uint64_t value);
403 size_t RequiredFieldsByteSizeFallback()
const;
405 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
406 typedef void InternalArenaConstructable_;
407 typedef void DestructorSkippable_;
409 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
410 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
411 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_xbee_info_location_;
412 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr xbee_info_location_;
413 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr xbee_encryption_password_;
414 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_xbee_mesh_unicast_retries_;
415 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr xbee_mesh_unicast_retries_;
416 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_xbee_unicast_mac_retries_;
417 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr xbee_unicast_mac_retries_;
418 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_xbee_network_delay_slots_;
419 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr xbee_network_delay_slots_;
420 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_xbee_broadcast_multi_transmits_;
421 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr xbee_broadcast_multi_transmits_;
423 bool use_xbee_encryption_;
425 uint32_t subnet_mask_;
427 uint64_t network_id_;
430 friend struct ::TableStruct_jaiabot_2fmessages_2fxbee_5fextensions_2eproto;
435extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::goby::acomms::protobuf::DriverConfig,
436 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::xbee::protobuf::Config >, 11,
false >
442 #pragma GCC diagnostic push
443 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
448inline bool Config::_internal_has_network_id()
const {
449 bool value = (
_impl_._has_bits_[0] & 0x00000800u) != 0;
453 return _internal_has_network_id();
456 _impl_.network_id_ = uint64_t{7u};
457 _impl_._has_bits_[0] &= ~0x00000800u;
459inline uint64_t Config::_internal_network_id()
const {
460 return _impl_.network_id_;
464 return _internal_network_id();
466inline void Config::_internal_set_network_id(uint64_t value) {
467 _impl_._has_bits_[0] |= 0x00000800u;
468 _impl_.network_id_ = value;
471 _internal_set_network_id(value);
476inline bool Config::_internal_has_test_comms()
const {
477 bool value = (
_impl_._has_bits_[0] & 0x00000040u) != 0;
481 return _internal_has_test_comms();
484 _impl_.test_comms_ =
false;
485 _impl_._has_bits_[0] &= ~0x00000040u;
487inline bool Config::_internal_test_comms()
const {
488 return _impl_.test_comms_;
492 return _internal_test_comms();
494inline void Config::_internal_set_test_comms(
bool value) {
495 _impl_._has_bits_[0] |= 0x00000040u;
496 _impl_.test_comms_ = value;
499 _internal_set_test_comms(value);
504inline bool Config::_internal_has_xbee_info_location()
const {
505 bool value = (
_impl_._has_bits_[0] & 0x00000001u) != 0;
509 return _internal_has_xbee_info_location();
512 _impl_.xbee_info_location_.ClearToDefault(::xbee::protobuf::Config::Impl_::_i_give_permission_to_break_this_code_default_xbee_info_location_, GetArenaForAllocation());
513 _impl_._has_bits_[0] &= ~0x00000001u;
517 if (
_impl_.xbee_info_location_.IsDefault())
return Impl_::_i_give_permission_to_break_this_code_default_xbee_info_location_.get();
518 return _internal_xbee_info_location();
520template <
typename ArgT0,
typename... ArgT>
521inline PROTOBUF_ALWAYS_INLINE
523 _impl_._has_bits_[0] |= 0x00000001u;
524 _impl_.xbee_info_location_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
528 std::string* _s = _internal_mutable_xbee_info_location();
532inline const std::string& Config::_internal_xbee_info_location()
const {
533 return _impl_.xbee_info_location_.Get();
535inline void Config::_internal_set_xbee_info_location(
const std::string& value) {
536 _impl_._has_bits_[0] |= 0x00000001u;
537 _impl_.xbee_info_location_.Set(value, GetArenaForAllocation());
539inline std::string* Config::_internal_mutable_xbee_info_location() {
540 _impl_._has_bits_[0] |= 0x00000001u;
541 return _impl_.xbee_info_location_.Mutable(::xbee::protobuf::Config::Impl_::_i_give_permission_to_break_this_code_default_xbee_info_location_, GetArenaForAllocation());
545 if (!_internal_has_xbee_info_location()) {
548 _impl_._has_bits_[0] &= ~0x00000001u;
549 auto* p =
_impl_.xbee_info_location_.Release();
554 _impl_._has_bits_[0] |= 0x00000001u;
556 _impl_._has_bits_[0] &= ~0x00000001u;
563inline bool Config::_internal_has_use_xbee_encryption()
const {
564 bool value = (
_impl_._has_bits_[0] & 0x00000080u) != 0;
568 return _internal_has_use_xbee_encryption();
571 _impl_.use_xbee_encryption_ =
false;
572 _impl_._has_bits_[0] &= ~0x00000080u;
574inline bool Config::_internal_use_xbee_encryption()
const {
575 return _impl_.use_xbee_encryption_;
579 return _internal_use_xbee_encryption();
581inline void Config::_internal_set_use_xbee_encryption(
bool value) {
582 _impl_._has_bits_[0] |= 0x00000080u;
583 _impl_.use_xbee_encryption_ = value;
586 _internal_set_use_xbee_encryption(value);
591inline bool Config::_internal_has_xbee_encryption_password()
const {
592 bool value = (
_impl_._has_bits_[0] & 0x00000002u) != 0;
596 return _internal_has_xbee_encryption_password();
599 _impl_.xbee_encryption_password_.ClearToEmpty();
600 _impl_._has_bits_[0] &= ~0x00000002u;
604 return _internal_xbee_encryption_password();
606template <
typename ArgT0,
typename... ArgT>
607inline PROTOBUF_ALWAYS_INLINE
609 _impl_._has_bits_[0] |= 0x00000002u;
610 _impl_.xbee_encryption_password_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
614 std::string* _s = _internal_mutable_xbee_encryption_password();
618inline const std::string& Config::_internal_xbee_encryption_password()
const {
619 return _impl_.xbee_encryption_password_.Get();
621inline void Config::_internal_set_xbee_encryption_password(
const std::string& value) {
622 _impl_._has_bits_[0] |= 0x00000002u;
623 _impl_.xbee_encryption_password_.Set(value, GetArenaForAllocation());
625inline std::string* Config::_internal_mutable_xbee_encryption_password() {
626 _impl_._has_bits_[0] |= 0x00000002u;
627 return _impl_.xbee_encryption_password_.Mutable(GetArenaForAllocation());
631 if (!_internal_has_xbee_encryption_password()) {
634 _impl_._has_bits_[0] &= ~0x00000002u;
635 auto* p =
_impl_.xbee_encryption_password_.Release();
636#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
637 if (
_impl_.xbee_encryption_password_.IsDefault()) {
638 _impl_.xbee_encryption_password_.Set(
"", GetArenaForAllocation());
645 _impl_._has_bits_[0] |= 0x00000002u;
647 _impl_._has_bits_[0] &= ~0x00000002u;
650#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
651 if (
_impl_.xbee_encryption_password_.IsDefault()) {
652 _impl_.xbee_encryption_password_.Set(
"", GetArenaForAllocation());
659inline bool Config::_internal_has_xbee_mesh_unicast_retries()
const {
660 bool value = (
_impl_._has_bits_[0] & 0x00000004u) != 0;
664 return _internal_has_xbee_mesh_unicast_retries();
667 _impl_.xbee_mesh_unicast_retries_.ClearToDefault(::xbee::protobuf::Config::Impl_::_i_give_permission_to_break_this_code_default_xbee_mesh_unicast_retries_, GetArenaForAllocation());
668 _impl_._has_bits_[0] &= ~0x00000004u;
672 if (
_impl_.xbee_mesh_unicast_retries_.IsDefault())
return Impl_::_i_give_permission_to_break_this_code_default_xbee_mesh_unicast_retries_.get();
673 return _internal_xbee_mesh_unicast_retries();
675template <
typename ArgT0,
typename... ArgT>
676inline PROTOBUF_ALWAYS_INLINE
678 _impl_._has_bits_[0] |= 0x00000004u;
679 _impl_.xbee_mesh_unicast_retries_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
683 std::string* _s = _internal_mutable_xbee_mesh_unicast_retries();
687inline const std::string& Config::_internal_xbee_mesh_unicast_retries()
const {
688 return _impl_.xbee_mesh_unicast_retries_.Get();
690inline void Config::_internal_set_xbee_mesh_unicast_retries(
const std::string& value) {
691 _impl_._has_bits_[0] |= 0x00000004u;
692 _impl_.xbee_mesh_unicast_retries_.Set(value, GetArenaForAllocation());
694inline std::string* Config::_internal_mutable_xbee_mesh_unicast_retries() {
695 _impl_._has_bits_[0] |= 0x00000004u;
696 return _impl_.xbee_mesh_unicast_retries_.Mutable(::xbee::protobuf::Config::Impl_::_i_give_permission_to_break_this_code_default_xbee_mesh_unicast_retries_, GetArenaForAllocation());
700 if (!_internal_has_xbee_mesh_unicast_retries()) {
703 _impl_._has_bits_[0] &= ~0x00000004u;
704 auto* p =
_impl_.xbee_mesh_unicast_retries_.Release();
709 _impl_._has_bits_[0] |= 0x00000004u;
711 _impl_._has_bits_[0] &= ~0x00000004u;
718inline bool Config::_internal_has_xbee_unicast_mac_retries()
const {
719 bool value = (
_impl_._has_bits_[0] & 0x00000008u) != 0;
723 return _internal_has_xbee_unicast_mac_retries();
726 _impl_.xbee_unicast_mac_retries_.ClearToDefault(::xbee::protobuf::Config::Impl_::_i_give_permission_to_break_this_code_default_xbee_unicast_mac_retries_, GetArenaForAllocation());
727 _impl_._has_bits_[0] &= ~0x00000008u;
731 if (
_impl_.xbee_unicast_mac_retries_.IsDefault())
return Impl_::_i_give_permission_to_break_this_code_default_xbee_unicast_mac_retries_.get();
732 return _internal_xbee_unicast_mac_retries();
734template <
typename ArgT0,
typename... ArgT>
735inline PROTOBUF_ALWAYS_INLINE
737 _impl_._has_bits_[0] |= 0x00000008u;
738 _impl_.xbee_unicast_mac_retries_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
742 std::string* _s = _internal_mutable_xbee_unicast_mac_retries();
746inline const std::string& Config::_internal_xbee_unicast_mac_retries()
const {
747 return _impl_.xbee_unicast_mac_retries_.Get();
749inline void Config::_internal_set_xbee_unicast_mac_retries(
const std::string& value) {
750 _impl_._has_bits_[0] |= 0x00000008u;
751 _impl_.xbee_unicast_mac_retries_.Set(value, GetArenaForAllocation());
753inline std::string* Config::_internal_mutable_xbee_unicast_mac_retries() {
754 _impl_._has_bits_[0] |= 0x00000008u;
755 return _impl_.xbee_unicast_mac_retries_.Mutable(::xbee::protobuf::Config::Impl_::_i_give_permission_to_break_this_code_default_xbee_unicast_mac_retries_, GetArenaForAllocation());
759 if (!_internal_has_xbee_unicast_mac_retries()) {
762 _impl_._has_bits_[0] &= ~0x00000008u;
763 auto* p =
_impl_.xbee_unicast_mac_retries_.Release();
768 _impl_._has_bits_[0] |= 0x00000008u;
770 _impl_._has_bits_[0] &= ~0x00000008u;
777inline bool Config::_internal_has_xbee_network_delay_slots()
const {
778 bool value = (
_impl_._has_bits_[0] & 0x00000010u) != 0;
782 return _internal_has_xbee_network_delay_slots();
785 _impl_.xbee_network_delay_slots_.ClearToDefault(::xbee::protobuf::Config::Impl_::_i_give_permission_to_break_this_code_default_xbee_network_delay_slots_, GetArenaForAllocation());
786 _impl_._has_bits_[0] &= ~0x00000010u;
790 if (
_impl_.xbee_network_delay_slots_.IsDefault())
return Impl_::_i_give_permission_to_break_this_code_default_xbee_network_delay_slots_.get();
791 return _internal_xbee_network_delay_slots();
793template <
typename ArgT0,
typename... ArgT>
794inline PROTOBUF_ALWAYS_INLINE
796 _impl_._has_bits_[0] |= 0x00000010u;
797 _impl_.xbee_network_delay_slots_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
801 std::string* _s = _internal_mutable_xbee_network_delay_slots();
805inline const std::string& Config::_internal_xbee_network_delay_slots()
const {
806 return _impl_.xbee_network_delay_slots_.Get();
808inline void Config::_internal_set_xbee_network_delay_slots(
const std::string& value) {
809 _impl_._has_bits_[0] |= 0x00000010u;
810 _impl_.xbee_network_delay_slots_.Set(value, GetArenaForAllocation());
812inline std::string* Config::_internal_mutable_xbee_network_delay_slots() {
813 _impl_._has_bits_[0] |= 0x00000010u;
814 return _impl_.xbee_network_delay_slots_.Mutable(::xbee::protobuf::Config::Impl_::_i_give_permission_to_break_this_code_default_xbee_network_delay_slots_, GetArenaForAllocation());
818 if (!_internal_has_xbee_network_delay_slots()) {
821 _impl_._has_bits_[0] &= ~0x00000010u;
822 auto* p =
_impl_.xbee_network_delay_slots_.Release();
827 _impl_._has_bits_[0] |= 0x00000010u;
829 _impl_._has_bits_[0] &= ~0x00000010u;
836inline bool Config::_internal_has_xbee_broadcast_multi_transmits()
const {
837 bool value = (
_impl_._has_bits_[0] & 0x00000020u) != 0;
841 return _internal_has_xbee_broadcast_multi_transmits();
844 _impl_.xbee_broadcast_multi_transmits_.ClearToDefault(::xbee::protobuf::Config::Impl_::_i_give_permission_to_break_this_code_default_xbee_broadcast_multi_transmits_, GetArenaForAllocation());
845 _impl_._has_bits_[0] &= ~0x00000020u;
849 if (
_impl_.xbee_broadcast_multi_transmits_.IsDefault())
return Impl_::_i_give_permission_to_break_this_code_default_xbee_broadcast_multi_transmits_.get();
850 return _internal_xbee_broadcast_multi_transmits();
852template <
typename ArgT0,
typename... ArgT>
853inline PROTOBUF_ALWAYS_INLINE
855 _impl_._has_bits_[0] |= 0x00000020u;
856 _impl_.xbee_broadcast_multi_transmits_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
860 std::string* _s = _internal_mutable_xbee_broadcast_multi_transmits();
864inline const std::string& Config::_internal_xbee_broadcast_multi_transmits()
const {
865 return _impl_.xbee_broadcast_multi_transmits_.Get();
867inline void Config::_internal_set_xbee_broadcast_multi_transmits(
const std::string& value) {
868 _impl_._has_bits_[0] |= 0x00000020u;
869 _impl_.xbee_broadcast_multi_transmits_.Set(value, GetArenaForAllocation());
871inline std::string* Config::_internal_mutable_xbee_broadcast_multi_transmits() {
872 _impl_._has_bits_[0] |= 0x00000020u;
873 return _impl_.xbee_broadcast_multi_transmits_.Mutable(::xbee::protobuf::Config::Impl_::_i_give_permission_to_break_this_code_default_xbee_broadcast_multi_transmits_, GetArenaForAllocation());
877 if (!_internal_has_xbee_broadcast_multi_transmits()) {
880 _impl_._has_bits_[0] &= ~0x00000020u;
881 auto* p =
_impl_.xbee_broadcast_multi_transmits_.Release();
886 _impl_._has_bits_[0] |= 0x00000020u;
888 _impl_._has_bits_[0] &= ~0x00000020u;
895inline bool Config::_internal_has_fleet_id()
const {
896 bool value = (
_impl_._has_bits_[0] & 0x00000100u) != 0;
900 return _internal_has_fleet_id();
904 _impl_._has_bits_[0] &= ~0x00000100u;
906inline int32_t Config::_internal_fleet_id()
const {
911 return _internal_fleet_id();
913inline void Config::_internal_set_fleet_id(int32_t value) {
914 _impl_._has_bits_[0] |= 0x00000100u;
918 _internal_set_fleet_id(value);
923inline bool Config::_internal_has_subnet_mask()
const {
924 bool value = (
_impl_._has_bits_[0] & 0x00000200u) != 0;
928 return _internal_has_subnet_mask();
932 _impl_._has_bits_[0] &= ~0x00000200u;
934inline uint32_t Config::_internal_subnet_mask()
const {
935 return _impl_.subnet_mask_;
939 return _internal_subnet_mask();
941inline void Config::_internal_set_subnet_mask(uint32_t value) {
942 _impl_._has_bits_[0] |= 0x00000200u;
943 _impl_.subnet_mask_ = value;
946 _internal_set_subnet_mask(value);
951inline bool Config::_internal_has_is_in_sim()
const {
952 bool value = (
_impl_._has_bits_[0] & 0x00000400u) != 0;
956 return _internal_has_is_in_sim();
960 _impl_._has_bits_[0] &= ~0x00000400u;
962inline bool Config::_internal_is_in_sim()
const {
967 return _internal_is_in_sim();
969inline void Config::_internal_set_is_in_sim(
bool value) {
970 _impl_._has_bits_[0] |= 0x00000400u;
971 _impl_.is_in_sim_ = value;
974 _internal_set_is_in_sim(value);
979 #pragma GCC diagnostic pop
989#include <google/protobuf/port_undef.inc>
void clear_xbee_info_location()
std::string * mutable_xbee_unicast_mac_retries()
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_
bool has_is_in_sim() const
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()
void set_is_in_sim(bool value)
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
@ kUseXbeeEncryptionFieldNumber
@ kXbeeEncryptionPasswordFieldNumber
@ kXbeeMeshUnicastRetriesFieldNumber
@ kXbeeNetworkDelaySlotsFieldNumber
@ kXbeeBroadcastMultiTransmitsFieldNumber
@ kXbeeUnicastMacRetriesFieldNumber
@ kXbeeInfoLocationFieldNumber
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()
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()
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 set_xbee_mesh_unicast_retries(ArgT0 &&arg0, ArgT... args)
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)
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 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