JaiaBot 1.10.0+14+g8dbf2589
JaiaBot micro-AUV software
 
Loading...
Searching...
No Matches
xbee_extensions.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: jaiabot/messages/xbee_extensions.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fxbee_5fextensions_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fxbee_5fextensions_2eproto
6
7#include <limits>
8#include <string>
9
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
14#error your headers.
15#endif
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.
20#endif
21
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> // IWYU pragma: export
31#include <google/protobuf/extension_set.h> // IWYU pragma: export
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"
35#include "dccl/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>
40
41#include <boost/units/systems/si.hpp>
42// @@protoc_insertion_point(includes)
43#include <google/protobuf/port_def.inc>
44#define PROTOBUF_INTERNAL_EXPORT_jaiabot_2fmessages_2fxbee_5fextensions_2eproto
45PROTOBUF_NAMESPACE_OPEN
46namespace internal {
47class AnyMetadata;
48} // namespace internal
49PROTOBUF_NAMESPACE_CLOSE
50
51// Internal implementation detail -- do not use these members.
55extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fxbee_5fextensions_2eproto;
56namespace xbee {
57namespace protobuf {
58class Config;
59struct ConfigDefaultTypeInternal;
60extern ConfigDefaultTypeInternal _Config_default_instance_;
61class Peer;
62struct PeerDefaultTypeInternal;
63extern PeerDefaultTypeInternal _Peer_default_instance_;
64} // namespace protobuf
65} // namespace xbee
66PROTOBUF_NAMESPACE_OPEN
67template<> ::xbee::protobuf::Config* Arena::CreateMaybeMessage<::xbee::protobuf::Config>(Arena*);
68template<> ::xbee::protobuf::Peer* Arena::CreateMaybeMessage<::xbee::protobuf::Peer>(Arena*);
69PROTOBUF_NAMESPACE_CLOSE
70namespace xbee {
71namespace protobuf {
72
73// ===================================================================
74
75class Peer final :
76 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:xbee.protobuf.Peer) */ {
77 public:
78 inline Peer() : Peer(nullptr) {}
79 ~Peer() override;
80 explicit PROTOBUF_CONSTEXPR Peer(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
81
82 Peer(const Peer& from);
83 Peer(Peer&& from) noexcept
84 : Peer() {
85 *this = ::std::move(from);
86 }
87
88 inline Peer& operator=(const Peer& from) {
89 CopyFrom(from);
90 return *this;
91 }
92 inline Peer& operator=(Peer&& from) noexcept {
93 if (this == &from) return *this;
94 if (GetOwningArena() == from.GetOwningArena()
95 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
96 && GetOwningArena() != nullptr
97 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
98 ) {
99 InternalSwap(&from);
100 } else {
101 CopyFrom(from);
102 }
103 return *this;
104 }
105
106 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
107 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
108 }
109 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
110 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
111 }
112
113 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
114 return GetDescriptor();
115 }
116 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
117 return default_instance().GetMetadata().descriptor;
118 }
119 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
120 return default_instance().GetMetadata().reflection;
121 }
122 static const Peer& default_instance() {
124 }
125 enum IdCase {
130 };
131
132 static inline const Peer* internal_default_instance() {
133 return reinterpret_cast<const Peer*>(
135 }
136 static constexpr int kIndexInFileMessages =
137 0;
138
139 friend void swap(Peer& a, Peer& b) {
140 a.Swap(&b);
141 }
142 inline void Swap(Peer* other) {
143 if (other == this) return;
144 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
145 if (GetOwningArena() != nullptr &&
146 GetOwningArena() == other->GetOwningArena()) {
147 #else // PROTOBUF_FORCE_COPY_IN_SWAP
148 if (GetOwningArena() == other->GetOwningArena()) {
149 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
150 InternalSwap(other);
151 } else {
152 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
153 }
154 }
155 void UnsafeArenaSwap(Peer* other) {
156 if (other == this) return;
157 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
158 InternalSwap(other);
159 }
160
161 // implements Message ----------------------------------------------
162
163 Peer* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
164 return CreateMaybeMessage<Peer>(arena);
165 }
166 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
167 void CopyFrom(const Peer& from);
168 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
169 void MergeFrom( const Peer& from) {
170 Peer::MergeImpl(*this, from);
171 }
172 private:
173 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
174 public:
175 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
176 bool IsInitialized() const final;
177
178 size_t ByteSizeLong() const final;
179 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
181 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
182 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
183
184 private:
185 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
186 void SharedDtor();
187 void SetCachedSize(int size) const final;
188 void InternalSwap(Peer* other);
189
190 private:
191 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
192 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
193 return "xbee.protobuf.Peer";
194 }
195 protected:
196 explicit Peer(::PROTOBUF_NAMESPACE_ID::Arena* arena,
197 bool is_message_owned = false);
198 public:
199
200 static const ClassData _class_data_;
201 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
202
203 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
204
205 // nested types ----------------------------------------------------
206
207 // accessors -------------------------------------------------------
208
209 enum : int {
214 };
215 // required uint64 serial_number = 2 [(.goby.field) = {
216 bool has_serial_number() const;
217 private:
218 bool _internal_has_serial_number() const;
219 public:
220 void clear_serial_number();
221 uint64_t serial_number() const;
222 void set_serial_number(uint64_t value);
223 private:
224 uint64_t _internal_serial_number() const;
225 void _internal_set_serial_number(uint64_t value);
226 public:
227
228 // string node_id = 1 [(.goby.field) = {
229 bool has_node_id() const;
230 private:
231 bool _internal_has_node_id() const;
232 public:
233 void clear_node_id();
234 const std::string& node_id() const;
235 template <typename ArgT0 = const std::string&, typename... ArgT>
236 void set_node_id(ArgT0&& arg0, ArgT... args);
237 std::string* mutable_node_id();
238 PROTOBUF_NODISCARD std::string* release_node_id();
239 void set_allocated_node_id(std::string* node_id);
240 private:
241 const std::string& _internal_node_id() const;
242 inline PROTOBUF_ALWAYS_INLINE void _internal_set_node_id(const std::string& value);
243 std::string* _internal_mutable_node_id();
244 public:
245
246 // int32 hub_id = 3 [(.goby.field) = {
247 bool has_hub_id() const;
248 private:
249 bool _internal_has_hub_id() const;
250 public:
251 void clear_hub_id();
252 int32_t hub_id() const;
253 void set_hub_id(int32_t value);
254 private:
255 int32_t _internal_hub_id() const;
256 void _internal_set_hub_id(int32_t value);
257 public:
258
259 // int32 bot_id = 4 [(.goby.field) = {
260 bool has_bot_id() const;
261 private:
262 bool _internal_has_bot_id() const;
263 public:
264 void clear_bot_id();
265 int32_t bot_id() const;
266 void set_bot_id(int32_t value);
267 private:
268 int32_t _internal_bot_id() const;
269 void _internal_set_bot_id(int32_t value);
270 public:
271
272 void clear_id();
273 IdCase id_case() const;
274 // @@protoc_insertion_point(class_scope:xbee.protobuf.Peer)
275 private:
276 class _Internal;
277 void set_has_node_id();
278 void set_has_hub_id();
279 void set_has_bot_id();
280
281 inline bool has_id() const;
282 inline void clear_has_id();
283
284 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
285 typedef void InternalArenaConstructable_;
286 typedef void DestructorSkippable_;
287 struct Impl_ {
288 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
289 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
290 uint64_t serial_number_;
291 union IdUnion {
292 constexpr IdUnion() : _constinit_{} {}
293 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
294 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr node_id_;
295 int32_t hub_id_;
296 int32_t bot_id_;
297 } id_;
298 uint32_t _oneof_case_[1];
299
300 };
301 union { Impl_ _impl_; };
302 friend struct ::TableStruct_jaiabot_2fmessages_2fxbee_5fextensions_2eproto;
303};
304// -------------------------------------------------------------------
305
306class Config final :
307 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:xbee.protobuf.Config) */ {
308 public:
309 inline Config() : Config(nullptr) {}
310 ~Config() override;
311 explicit PROTOBUF_CONSTEXPR Config(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
312
313 Config(const Config& from);
314 Config(Config&& from) noexcept
315 : Config() {
316 *this = ::std::move(from);
317 }
318
319 inline Config& operator=(const Config& from) {
320 CopyFrom(from);
321 return *this;
322 }
323 inline Config& operator=(Config&& from) noexcept {
324 if (this == &from) return *this;
325 if (GetOwningArena() == from.GetOwningArena()
326 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
327 && GetOwningArena() != nullptr
328 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
329 ) {
330 InternalSwap(&from);
331 } else {
332 CopyFrom(from);
333 }
334 return *this;
335 }
336
337 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
338 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
339 }
340 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
341 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
342 }
343
344 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
345 return GetDescriptor();
346 }
347 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
348 return default_instance().GetMetadata().descriptor;
349 }
350 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
351 return default_instance().GetMetadata().reflection;
352 }
353 static const Config& default_instance() {
354 return *internal_default_instance();
355 }
356 static inline const Config* internal_default_instance() {
357 return reinterpret_cast<const Config*>(
359 }
360 static constexpr int kIndexInFileMessages =
361 1;
362
363 friend void swap(Config& a, Config& b) {
364 a.Swap(&b);
365 }
366 inline void Swap(Config* other) {
367 if (other == this) return;
368 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
369 if (GetOwningArena() != nullptr &&
370 GetOwningArena() == other->GetOwningArena()) {
371 #else // PROTOBUF_FORCE_COPY_IN_SWAP
372 if (GetOwningArena() == other->GetOwningArena()) {
373 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
374 InternalSwap(other);
375 } else {
376 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
377 }
378 }
379 void UnsafeArenaSwap(Config* other) {
380 if (other == this) return;
381 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
382 InternalSwap(other);
383 }
384
385 // implements Message ----------------------------------------------
386
387 Config* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
388 return CreateMaybeMessage<Config>(arena);
389 }
390 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
391 void CopyFrom(const Config& from);
392 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
393 void MergeFrom( const Config& from) {
394 Config::MergeImpl(*this, from);
395 }
396 private:
397 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
398 public:
399 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
400 bool IsInitialized() const final;
401
402 size_t ByteSizeLong() const final;
403 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
404 uint8_t* _InternalSerialize(
405 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
406 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
407
408 private:
409 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
410 void SharedDtor();
411 void SetCachedSize(int size) const final;
412 void InternalSwap(Config* other);
413
414 private:
415 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
416 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
417 return "xbee.protobuf.Config";
418 }
419 protected:
420 explicit Config(::PROTOBUF_NAMESPACE_ID::Arena* arena,
421 bool is_message_owned = false);
422 public:
423
424 static const ClassData _class_data_;
425 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
426
427 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
428
429 // nested types ----------------------------------------------------
430
431 // accessors -------------------------------------------------------
432
433 enum : int {
434 kPeersFieldNumber = 2,
435 kXbeeInfoLocationFieldNumber = 5,
436 kXbeeEncryptionPasswordFieldNumber = 8,
437 kHubInfoLocationFieldNumber = 9,
438 kTestCommsFieldNumber = 4,
439 kUseXbeeEncryptionFieldNumber = 7,
440 kHubIdFieldNumber = 6,
441 kNetworkIdFieldNumber = 1,
442 };
443 // repeated .xbee.protobuf.Peer peers = 2 [(.goby.field) = {
444 int peers_size() const;
445 private:
446 int _internal_peers_size() const;
447 public:
448 void clear_peers();
449 ::xbee::protobuf::Peer* mutable_peers(int index);
450 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::xbee::protobuf::Peer >*
451 mutable_peers();
452 private:
453 const ::xbee::protobuf::Peer& _internal_peers(int index) const;
454 ::xbee::protobuf::Peer* _internal_add_peers();
455 public:
456 const ::xbee::protobuf::Peer& peers(int index) const;
457 ::xbee::protobuf::Peer* add_peers();
458 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::xbee::protobuf::Peer >&
459 peers() const;
460
461 // optional string xbee_info_location = 5 [default = "/etc/jaiabot/xbee_info.pb.cfg", (.goby.field) = {
462 bool has_xbee_info_location() const;
463 private:
464 bool _internal_has_xbee_info_location() const;
465 public:
466 void clear_xbee_info_location();
467 const std::string& xbee_info_location() const;
468 template <typename ArgT0 = const std::string&, typename... ArgT>
469 void set_xbee_info_location(ArgT0&& arg0, ArgT... args);
470 std::string* mutable_xbee_info_location();
471 PROTOBUF_NODISCARD std::string* release_xbee_info_location();
472 void set_allocated_xbee_info_location(std::string* xbee_info_location);
473 private:
474 const std::string& _internal_xbee_info_location() const;
475 inline PROTOBUF_ALWAYS_INLINE void _internal_set_xbee_info_location(const std::string& value);
476 std::string* _internal_mutable_xbee_info_location();
477 public:
478
479 // optional string xbee_encryption_password = 8 [default = "", (.goby.field) = {
480 bool has_xbee_encryption_password() const;
481 private:
482 bool _internal_has_xbee_encryption_password() const;
483 public:
484 void clear_xbee_encryption_password();
485 const std::string& xbee_encryption_password() const;
486 template <typename ArgT0 = const std::string&, typename... ArgT>
487 void set_xbee_encryption_password(ArgT0&& arg0, ArgT... args);
488 std::string* mutable_xbee_encryption_password();
489 PROTOBUF_NODISCARD std::string* release_xbee_encryption_password();
490 void set_allocated_xbee_encryption_password(std::string* xbee_encryption_password);
491 private:
492 const std::string& _internal_xbee_encryption_password() const;
493 inline PROTOBUF_ALWAYS_INLINE void _internal_set_xbee_encryption_password(const std::string& value);
494 std::string* _internal_mutable_xbee_encryption_password();
495 public:
496
497 // optional string hub_info_location = 9 [default = "/etc/jaiabot/hub_info.pb.cfg", (.goby.field) = {
498 bool has_hub_info_location() const;
499 private:
500 bool _internal_has_hub_info_location() const;
501 public:
502 void clear_hub_info_location();
503 const std::string& hub_info_location() const;
504 template <typename ArgT0 = const std::string&, typename... ArgT>
505 void set_hub_info_location(ArgT0&& arg0, ArgT... args);
506 std::string* mutable_hub_info_location();
507 PROTOBUF_NODISCARD std::string* release_hub_info_location();
508 void set_allocated_hub_info_location(std::string* hub_info_location);
509 private:
510 const std::string& _internal_hub_info_location() const;
511 inline PROTOBUF_ALWAYS_INLINE void _internal_set_hub_info_location(const std::string& value);
512 std::string* _internal_mutable_hub_info_location();
513 public:
514
515 // optional bool test_comms = 4 [default = false, (.goby.field) = {
516 bool has_test_comms() const;
517 private:
518 bool _internal_has_test_comms() const;
519 public:
520 void clear_test_comms();
521 bool test_comms() const;
522 void set_test_comms(bool value);
523 private:
524 bool _internal_test_comms() const;
525 void _internal_set_test_comms(bool value);
526 public:
527
528 // optional bool use_xbee_encryption = 7 [default = false, (.goby.field) = {
529 bool has_use_xbee_encryption() const;
530 private:
531 bool _internal_has_use_xbee_encryption() const;
532 public:
533 void clear_use_xbee_encryption();
534 bool use_xbee_encryption() const;
535 void set_use_xbee_encryption(bool value);
536 private:
537 bool _internal_use_xbee_encryption() const;
538 void _internal_set_use_xbee_encryption(bool value);
539 public:
540
541 // optional int32 hub_id = 6 [(.goby.field) = {
542 bool has_hub_id() const;
543 private:
544 bool _internal_has_hub_id() const;
545 public:
546 void clear_hub_id();
547 int32_t hub_id() const;
548 void set_hub_id(int32_t value);
549 private:
550 int32_t _internal_hub_id() const;
551 void _internal_set_hub_id(int32_t value);
552 public:
553
554 // optional uint64 network_id = 1 [default = 7, (.goby.field) = {
555 bool has_network_id() const;
556 private:
557 bool _internal_has_network_id() const;
558 public:
559 void clear_network_id();
560 uint64_t network_id() const;
561 void set_network_id(uint64_t value);
562 private:
563 uint64_t _internal_network_id() const;
564 void _internal_set_network_id(uint64_t value);
565 public:
566
567 // @@protoc_insertion_point(class_scope:xbee.protobuf.Config)
568 private:
569 class _Internal;
570
571 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
572 typedef void InternalArenaConstructable_;
573 typedef void DestructorSkippable_;
574 struct Impl_ {
575 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
576 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
577 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::xbee::protobuf::Peer > peers_;
578 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_xbee_info_location_;
579 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr xbee_info_location_;
580 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr xbee_encryption_password_;
581 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_hub_info_location_;
582 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr hub_info_location_;
583 bool test_comms_;
584 bool use_xbee_encryption_;
585 int32_t hub_id_;
586 uint64_t network_id_;
587 };
588 union { Impl_ _impl_; };
589 friend struct ::TableStruct_jaiabot_2fmessages_2fxbee_5fextensions_2eproto;
590};
591// ===================================================================
592
593static const int kConfigFieldNumber = 1500;
594extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::goby::acomms::protobuf::DriverConfig,
595 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::xbee::protobuf::Config >, 11, false >
597
598// ===================================================================
599
600#ifdef __GNUC__
601 #pragma GCC diagnostic push
602 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
603#endif // __GNUC__
604// Peer
605
606// string node_id = 1 [(.goby.field) = {
607inline bool Peer::_internal_has_node_id() const {
608 return id_case() == kNodeId;
609}
610inline bool Peer::has_node_id() const {
611 return _internal_has_node_id();
612}
613inline void Peer::set_has_node_id() {
614 _impl_._oneof_case_[0] = kNodeId;
615}
616inline void Peer::clear_node_id() {
617 if (_internal_has_node_id()) {
618 _impl_.id_.node_id_.Destroy();
619 clear_has_id();
620 }
621}
622inline const std::string& Peer::node_id() const {
623 // @@protoc_insertion_point(field_get:xbee.protobuf.Peer.node_id)
624 return _internal_node_id();
625}
626template <typename ArgT0, typename... ArgT>
627inline void Peer::set_node_id(ArgT0&& arg0, ArgT... args) {
628 if (!_internal_has_node_id()) {
629 clear_id();
630 set_has_node_id();
631 _impl_.id_.node_id_.InitDefault();
632 }
633 _impl_.id_.node_id_.Set( static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
634 // @@protoc_insertion_point(field_set:xbee.protobuf.Peer.node_id)
635}
636inline std::string* Peer::mutable_node_id() {
637 std::string* _s = _internal_mutable_node_id();
638 // @@protoc_insertion_point(field_mutable:xbee.protobuf.Peer.node_id)
639 return _s;
640}
641inline const std::string& Peer::_internal_node_id() const {
642 if (_internal_has_node_id()) {
643 return _impl_.id_.node_id_.Get();
644 }
645 return ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited();
646}
647inline void Peer::_internal_set_node_id(const std::string& value) {
648 if (!_internal_has_node_id()) {
649 clear_id();
650 set_has_node_id();
651 _impl_.id_.node_id_.InitDefault();
652 }
653 _impl_.id_.node_id_.Set(value, GetArenaForAllocation());
654}
655inline std::string* Peer::_internal_mutable_node_id() {
656 if (!_internal_has_node_id()) {
657 clear_id();
658 set_has_node_id();
659 _impl_.id_.node_id_.InitDefault();
660 }
661 return _impl_.id_.node_id_.Mutable( GetArenaForAllocation());
662}
663inline std::string* Peer::release_node_id() {
664 // @@protoc_insertion_point(field_release:xbee.protobuf.Peer.node_id)
665 if (_internal_has_node_id()) {
666 clear_has_id();
667 return _impl_.id_.node_id_.Release();
668 } else {
669 return nullptr;
670 }
671}
672inline void Peer::set_allocated_node_id(std::string* node_id) {
673 if (has_id()) {
674 clear_id();
675 }
676 if (node_id != nullptr) {
677 set_has_node_id();
678 _impl_.id_.node_id_.InitAllocated(node_id, GetArenaForAllocation());
679 }
680 // @@protoc_insertion_point(field_set_allocated:xbee.protobuf.Peer.node_id)
681}
682
683// int32 hub_id = 3 [(.goby.field) = {
684inline bool Peer::_internal_has_hub_id() const {
685 return id_case() == kHubId;
686}
687inline bool Peer::has_hub_id() const {
688 return _internal_has_hub_id();
689}
690inline void Peer::set_has_hub_id() {
691 _impl_._oneof_case_[0] = kHubId;
692}
693inline void Peer::clear_hub_id() {
694 if (_internal_has_hub_id()) {
695 _impl_.id_.hub_id_ = 0;
696 clear_has_id();
697 }
698}
699inline int32_t Peer::_internal_hub_id() const {
700 if (_internal_has_hub_id()) {
701 return _impl_.id_.hub_id_;
702 }
703 return 0;
704}
705inline void Peer::_internal_set_hub_id(int32_t value) {
706 if (!_internal_has_hub_id()) {
707 clear_id();
708 set_has_hub_id();
709 }
710 _impl_.id_.hub_id_ = value;
711}
712inline int32_t Peer::hub_id() const {
713 // @@protoc_insertion_point(field_get:xbee.protobuf.Peer.hub_id)
714 return _internal_hub_id();
715}
716inline void Peer::set_hub_id(int32_t value) {
717 _internal_set_hub_id(value);
718 // @@protoc_insertion_point(field_set:xbee.protobuf.Peer.hub_id)
719}
720
721// int32 bot_id = 4 [(.goby.field) = {
722inline bool Peer::_internal_has_bot_id() const {
723 return id_case() == kBotId;
724}
725inline bool Peer::has_bot_id() const {
726 return _internal_has_bot_id();
727}
728inline void Peer::set_has_bot_id() {
729 _impl_._oneof_case_[0] = kBotId;
730}
731inline void Peer::clear_bot_id() {
732 if (_internal_has_bot_id()) {
733 _impl_.id_.bot_id_ = 0;
734 clear_has_id();
735 }
736}
737inline int32_t Peer::_internal_bot_id() const {
738 if (_internal_has_bot_id()) {
739 return _impl_.id_.bot_id_;
740 }
741 return 0;
742}
743inline void Peer::_internal_set_bot_id(int32_t value) {
744 if (!_internal_has_bot_id()) {
745 clear_id();
746 set_has_bot_id();
747 }
748 _impl_.id_.bot_id_ = value;
749}
750inline int32_t Peer::bot_id() const {
751 // @@protoc_insertion_point(field_get:xbee.protobuf.Peer.bot_id)
752 return _internal_bot_id();
753}
754inline void Peer::set_bot_id(int32_t value) {
755 _internal_set_bot_id(value);
756 // @@protoc_insertion_point(field_set:xbee.protobuf.Peer.bot_id)
757}
758
759// required uint64 serial_number = 2 [(.goby.field) = {
760inline bool Peer::_internal_has_serial_number() const {
761 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
762 return value;
763}
764inline bool Peer::has_serial_number() const {
765 return _internal_has_serial_number();
766}
767inline void Peer::clear_serial_number() {
768 _impl_.serial_number_ = uint64_t{0u};
769 _impl_._has_bits_[0] &= ~0x00000001u;
770}
771inline uint64_t Peer::_internal_serial_number() const {
772 return _impl_.serial_number_;
773}
774inline uint64_t Peer::serial_number() const {
775 // @@protoc_insertion_point(field_get:xbee.protobuf.Peer.serial_number)
776 return _internal_serial_number();
777}
778inline void Peer::_internal_set_serial_number(uint64_t value) {
779 _impl_._has_bits_[0] |= 0x00000001u;
780 _impl_.serial_number_ = value;
781}
782inline void Peer::set_serial_number(uint64_t value) {
783 _internal_set_serial_number(value);
784 // @@protoc_insertion_point(field_set:xbee.protobuf.Peer.serial_number)
785}
786
787inline bool Peer::has_id() const {
788 return id_case() != ID_NOT_SET;
789}
790inline void Peer::clear_has_id() {
791 _impl_._oneof_case_[0] = ID_NOT_SET;
792}
793inline Peer::IdCase Peer::id_case() const {
794 return Peer::IdCase(_impl_._oneof_case_[0]);
795}
796// -------------------------------------------------------------------
797
798// Config
799
800// optional uint64 network_id = 1 [default = 7, (.goby.field) = {
801inline bool Config::_internal_has_network_id() const {
802 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
803 return value;
804}
805inline bool Config::has_network_id() const {
806 return _internal_has_network_id();
807}
808inline void Config::clear_network_id() {
809 _impl_.network_id_ = uint64_t{7u};
810 _impl_._has_bits_[0] &= ~0x00000040u;
811}
812inline uint64_t Config::_internal_network_id() const {
813 return _impl_.network_id_;
814}
815inline uint64_t Config::network_id() const {
816 // @@protoc_insertion_point(field_get:xbee.protobuf.Config.network_id)
817 return _internal_network_id();
818}
819inline void Config::_internal_set_network_id(uint64_t value) {
820 _impl_._has_bits_[0] |= 0x00000040u;
821 _impl_.network_id_ = value;
822}
823inline void Config::set_network_id(uint64_t value) {
824 _internal_set_network_id(value);
825 // @@protoc_insertion_point(field_set:xbee.protobuf.Config.network_id)
826}
827
828// repeated .xbee.protobuf.Peer peers = 2 [(.goby.field) = {
829inline int Config::_internal_peers_size() const {
830 return _impl_.peers_.size();
831}
832inline int Config::peers_size() const {
833 return _internal_peers_size();
834}
835inline void Config::clear_peers() {
836 _impl_.peers_.Clear();
837}
838inline ::xbee::protobuf::Peer* Config::mutable_peers(int index) {
839 // @@protoc_insertion_point(field_mutable:xbee.protobuf.Config.peers)
840 return _impl_.peers_.Mutable(index);
841}
842inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::xbee::protobuf::Peer >*
843Config::mutable_peers() {
844 // @@protoc_insertion_point(field_mutable_list:xbee.protobuf.Config.peers)
845 return &_impl_.peers_;
846}
847inline const ::xbee::protobuf::Peer& Config::_internal_peers(int index) const {
848 return _impl_.peers_.Get(index);
849}
850inline const ::xbee::protobuf::Peer& Config::peers(int index) const {
851 // @@protoc_insertion_point(field_get:xbee.protobuf.Config.peers)
852 return _internal_peers(index);
853}
854inline ::xbee::protobuf::Peer* Config::_internal_add_peers() {
855 return _impl_.peers_.Add();
856}
857inline ::xbee::protobuf::Peer* Config::add_peers() {
858 ::xbee::protobuf::Peer* _add = _internal_add_peers();
859 // @@protoc_insertion_point(field_add:xbee.protobuf.Config.peers)
860 return _add;
861}
862inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::xbee::protobuf::Peer >&
863Config::peers() const {
864 // @@protoc_insertion_point(field_list:xbee.protobuf.Config.peers)
865 return _impl_.peers_;
866}
867
868// optional bool test_comms = 4 [default = false, (.goby.field) = {
869inline bool Config::_internal_has_test_comms() const {
870 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
871 return value;
872}
873inline bool Config::has_test_comms() const {
874 return _internal_has_test_comms();
875}
876inline void Config::clear_test_comms() {
877 _impl_.test_comms_ = false;
878 _impl_._has_bits_[0] &= ~0x00000008u;
879}
880inline bool Config::_internal_test_comms() const {
881 return _impl_.test_comms_;
882}
883inline bool Config::test_comms() const {
884 // @@protoc_insertion_point(field_get:xbee.protobuf.Config.test_comms)
885 return _internal_test_comms();
886}
887inline void Config::_internal_set_test_comms(bool value) {
888 _impl_._has_bits_[0] |= 0x00000008u;
889 _impl_.test_comms_ = value;
890}
891inline void Config::set_test_comms(bool value) {
892 _internal_set_test_comms(value);
893 // @@protoc_insertion_point(field_set:xbee.protobuf.Config.test_comms)
894}
895
896// optional string xbee_info_location = 5 [default = "/etc/jaiabot/xbee_info.pb.cfg", (.goby.field) = {
897inline bool Config::_internal_has_xbee_info_location() const {
898 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
899 return value;
900}
901inline bool Config::has_xbee_info_location() const {
902 return _internal_has_xbee_info_location();
903}
904inline void Config::clear_xbee_info_location() {
905 _impl_.xbee_info_location_.ClearToDefault(::xbee::protobuf::Config::Impl_::_i_give_permission_to_break_this_code_default_xbee_info_location_, GetArenaForAllocation());
906 _impl_._has_bits_[0] &= ~0x00000001u;
907}
908inline const std::string& Config::xbee_info_location() const {
909 // @@protoc_insertion_point(field_get:xbee.protobuf.Config.xbee_info_location)
910 if (_impl_.xbee_info_location_.IsDefault()) return Impl_::_i_give_permission_to_break_this_code_default_xbee_info_location_.get();
911 return _internal_xbee_info_location();
912}
913template <typename ArgT0, typename... ArgT>
914inline PROTOBUF_ALWAYS_INLINE
915void Config::set_xbee_info_location(ArgT0&& arg0, ArgT... args) {
916 _impl_._has_bits_[0] |= 0x00000001u;
917 _impl_.xbee_info_location_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
918 // @@protoc_insertion_point(field_set:xbee.protobuf.Config.xbee_info_location)
919}
920inline std::string* Config::mutable_xbee_info_location() {
921 std::string* _s = _internal_mutable_xbee_info_location();
922 // @@protoc_insertion_point(field_mutable:xbee.protobuf.Config.xbee_info_location)
923 return _s;
924}
925inline const std::string& Config::_internal_xbee_info_location() const {
926 return _impl_.xbee_info_location_.Get();
927}
928inline void Config::_internal_set_xbee_info_location(const std::string& value) {
929 _impl_._has_bits_[0] |= 0x00000001u;
930 _impl_.xbee_info_location_.Set(value, GetArenaForAllocation());
931}
932inline std::string* Config::_internal_mutable_xbee_info_location() {
933 _impl_._has_bits_[0] |= 0x00000001u;
934 return _impl_.xbee_info_location_.Mutable(::xbee::protobuf::Config::Impl_::_i_give_permission_to_break_this_code_default_xbee_info_location_, GetArenaForAllocation());
935}
936inline std::string* Config::release_xbee_info_location() {
937 // @@protoc_insertion_point(field_release:xbee.protobuf.Config.xbee_info_location)
938 if (!_internal_has_xbee_info_location()) {
939 return nullptr;
940 }
941 _impl_._has_bits_[0] &= ~0x00000001u;
942 auto* p = _impl_.xbee_info_location_.Release();
943 return p;
944}
945inline void Config::set_allocated_xbee_info_location(std::string* xbee_info_location) {
946 if (xbee_info_location != nullptr) {
947 _impl_._has_bits_[0] |= 0x00000001u;
948 } else {
949 _impl_._has_bits_[0] &= ~0x00000001u;
950 }
951 _impl_.xbee_info_location_.SetAllocated(xbee_info_location, GetArenaForAllocation());
952 // @@protoc_insertion_point(field_set_allocated:xbee.protobuf.Config.xbee_info_location)
953}
954
955// optional int32 hub_id = 6 [(.goby.field) = {
956inline bool Config::_internal_has_hub_id() const {
957 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
958 return value;
959}
960inline bool Config::has_hub_id() const {
961 return _internal_has_hub_id();
962}
963inline void Config::clear_hub_id() {
964 _impl_.hub_id_ = 0;
965 _impl_._has_bits_[0] &= ~0x00000020u;
966}
967inline int32_t Config::_internal_hub_id() const {
968 return _impl_.hub_id_;
969}
970inline int32_t Config::hub_id() const {
971 // @@protoc_insertion_point(field_get:xbee.protobuf.Config.hub_id)
972 return _internal_hub_id();
973}
974inline void Config::_internal_set_hub_id(int32_t value) {
975 _impl_._has_bits_[0] |= 0x00000020u;
976 _impl_.hub_id_ = value;
977}
978inline void Config::set_hub_id(int32_t value) {
979 _internal_set_hub_id(value);
980 // @@protoc_insertion_point(field_set:xbee.protobuf.Config.hub_id)
981}
982
983// optional bool use_xbee_encryption = 7 [default = false, (.goby.field) = {
984inline bool Config::_internal_has_use_xbee_encryption() const {
985 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
986 return value;
987}
988inline bool Config::has_use_xbee_encryption() const {
989 return _internal_has_use_xbee_encryption();
990}
991inline void Config::clear_use_xbee_encryption() {
992 _impl_.use_xbee_encryption_ = false;
993 _impl_._has_bits_[0] &= ~0x00000010u;
994}
995inline bool Config::_internal_use_xbee_encryption() const {
996 return _impl_.use_xbee_encryption_;
997}
998inline bool Config::use_xbee_encryption() const {
999 // @@protoc_insertion_point(field_get:xbee.protobuf.Config.use_xbee_encryption)
1000 return _internal_use_xbee_encryption();
1001}
1002inline void Config::_internal_set_use_xbee_encryption(bool value) {
1003 _impl_._has_bits_[0] |= 0x00000010u;
1004 _impl_.use_xbee_encryption_ = value;
1005}
1006inline void Config::set_use_xbee_encryption(bool value) {
1007 _internal_set_use_xbee_encryption(value);
1008 // @@protoc_insertion_point(field_set:xbee.protobuf.Config.use_xbee_encryption)
1009}
1010
1011// optional string xbee_encryption_password = 8 [default = "", (.goby.field) = {
1012inline bool Config::_internal_has_xbee_encryption_password() const {
1013 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1014 return value;
1015}
1016inline bool Config::has_xbee_encryption_password() const {
1017 return _internal_has_xbee_encryption_password();
1018}
1019inline void Config::clear_xbee_encryption_password() {
1020 _impl_.xbee_encryption_password_.ClearToEmpty();
1021 _impl_._has_bits_[0] &= ~0x00000002u;
1022}
1023inline const std::string& Config::xbee_encryption_password() const {
1024 // @@protoc_insertion_point(field_get:xbee.protobuf.Config.xbee_encryption_password)
1025 return _internal_xbee_encryption_password();
1026}
1027template <typename ArgT0, typename... ArgT>
1028inline PROTOBUF_ALWAYS_INLINE
1029void Config::set_xbee_encryption_password(ArgT0&& arg0, ArgT... args) {
1030 _impl_._has_bits_[0] |= 0x00000002u;
1031 _impl_.xbee_encryption_password_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1032 // @@protoc_insertion_point(field_set:xbee.protobuf.Config.xbee_encryption_password)
1033}
1034inline std::string* Config::mutable_xbee_encryption_password() {
1035 std::string* _s = _internal_mutable_xbee_encryption_password();
1036 // @@protoc_insertion_point(field_mutable:xbee.protobuf.Config.xbee_encryption_password)
1037 return _s;
1038}
1039inline const std::string& Config::_internal_xbee_encryption_password() const {
1040 return _impl_.xbee_encryption_password_.Get();
1041}
1042inline void Config::_internal_set_xbee_encryption_password(const std::string& value) {
1043 _impl_._has_bits_[0] |= 0x00000002u;
1044 _impl_.xbee_encryption_password_.Set(value, GetArenaForAllocation());
1045}
1046inline std::string* Config::_internal_mutable_xbee_encryption_password() {
1047 _impl_._has_bits_[0] |= 0x00000002u;
1048 return _impl_.xbee_encryption_password_.Mutable(GetArenaForAllocation());
1049}
1050inline std::string* Config::release_xbee_encryption_password() {
1051 // @@protoc_insertion_point(field_release:xbee.protobuf.Config.xbee_encryption_password)
1052 if (!_internal_has_xbee_encryption_password()) {
1053 return nullptr;
1054 }
1055 _impl_._has_bits_[0] &= ~0x00000002u;
1056 auto* p = _impl_.xbee_encryption_password_.Release();
1057#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1058 if (_impl_.xbee_encryption_password_.IsDefault()) {
1059 _impl_.xbee_encryption_password_.Set("", GetArenaForAllocation());
1060 }
1061#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1062 return p;
1063}
1064inline void Config::set_allocated_xbee_encryption_password(std::string* xbee_encryption_password) {
1065 if (xbee_encryption_password != nullptr) {
1066 _impl_._has_bits_[0] |= 0x00000002u;
1067 } else {
1068 _impl_._has_bits_[0] &= ~0x00000002u;
1069 }
1070 _impl_.xbee_encryption_password_.SetAllocated(xbee_encryption_password, GetArenaForAllocation());
1071#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1072 if (_impl_.xbee_encryption_password_.IsDefault()) {
1073 _impl_.xbee_encryption_password_.Set("", GetArenaForAllocation());
1074 }
1075#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1076 // @@protoc_insertion_point(field_set_allocated:xbee.protobuf.Config.xbee_encryption_password)
1077}
1078
1079// optional string hub_info_location = 9 [default = "/etc/jaiabot/hub_info.pb.cfg", (.goby.field) = {
1080inline bool Config::_internal_has_hub_info_location() const {
1081 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1082 return value;
1083}
1084inline bool Config::has_hub_info_location() const {
1085 return _internal_has_hub_info_location();
1086}
1087inline void Config::clear_hub_info_location() {
1088 _impl_.hub_info_location_.ClearToDefault(::xbee::protobuf::Config::Impl_::_i_give_permission_to_break_this_code_default_hub_info_location_, GetArenaForAllocation());
1089 _impl_._has_bits_[0] &= ~0x00000004u;
1090}
1091inline const std::string& Config::hub_info_location() const {
1092 // @@protoc_insertion_point(field_get:xbee.protobuf.Config.hub_info_location)
1093 if (_impl_.hub_info_location_.IsDefault()) return Impl_::_i_give_permission_to_break_this_code_default_hub_info_location_.get();
1094 return _internal_hub_info_location();
1095}
1096template <typename ArgT0, typename... ArgT>
1097inline PROTOBUF_ALWAYS_INLINE
1098void Config::set_hub_info_location(ArgT0&& arg0, ArgT... args) {
1099 _impl_._has_bits_[0] |= 0x00000004u;
1100 _impl_.hub_info_location_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1101 // @@protoc_insertion_point(field_set:xbee.protobuf.Config.hub_info_location)
1102}
1103inline std::string* Config::mutable_hub_info_location() {
1104 std::string* _s = _internal_mutable_hub_info_location();
1105 // @@protoc_insertion_point(field_mutable:xbee.protobuf.Config.hub_info_location)
1106 return _s;
1107}
1108inline const std::string& Config::_internal_hub_info_location() const {
1109 return _impl_.hub_info_location_.Get();
1110}
1111inline void Config::_internal_set_hub_info_location(const std::string& value) {
1112 _impl_._has_bits_[0] |= 0x00000004u;
1113 _impl_.hub_info_location_.Set(value, GetArenaForAllocation());
1114}
1115inline std::string* Config::_internal_mutable_hub_info_location() {
1116 _impl_._has_bits_[0] |= 0x00000004u;
1117 return _impl_.hub_info_location_.Mutable(::xbee::protobuf::Config::Impl_::_i_give_permission_to_break_this_code_default_hub_info_location_, GetArenaForAllocation());
1118}
1119inline std::string* Config::release_hub_info_location() {
1120 // @@protoc_insertion_point(field_release:xbee.protobuf.Config.hub_info_location)
1121 if (!_internal_has_hub_info_location()) {
1122 return nullptr;
1123 }
1124 _impl_._has_bits_[0] &= ~0x00000004u;
1125 auto* p = _impl_.hub_info_location_.Release();
1126 return p;
1127}
1128inline void Config::set_allocated_hub_info_location(std::string* hub_info_location) {
1129 if (hub_info_location != nullptr) {
1130 _impl_._has_bits_[0] |= 0x00000004u;
1131 } else {
1132 _impl_._has_bits_[0] &= ~0x00000004u;
1133 }
1134 _impl_.hub_info_location_.SetAllocated(hub_info_location, GetArenaForAllocation());
1135 // @@protoc_insertion_point(field_set_allocated:xbee.protobuf.Config.hub_info_location)
1136}
1137
1138#ifdef __GNUC__
1139 #pragma GCC diagnostic pop
1140#endif // __GNUC__
1141// -------------------------------------------------------------------
1142
1143
1144// @@protoc_insertion_point(namespace_scope)
1145
1146} // namespace protobuf
1147} // namespace xbee
1148
1149// @@protoc_insertion_point(global_scope)
1150
1151#include <google/protobuf/port_undef.inc>
1152#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fxbee_5fextensions_2eproto
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
Config(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static const ClassData _class_data_
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static const Config * internal_default_instance()
friend void swap(Config &a, Config &b)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Config(const Config &from)
void set_xbee_info_location(ArgT0 &&arg0, ArgT... args)
Config & operator=(const Config &from)
Config & operator=(Config &&from) noexcept
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void UnsafeArenaSwap(Config *other)
PROTOBUF_CONSTEXPR Config(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void set_xbee_encryption_password(ArgT0 &&arg0, ArgT... args)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const Config & default_instance()
void Swap(Config *other)
void MergeFrom(const Config &from)
Config * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
void set_hub_info_location(ArgT0 &&arg0, ArgT... args)
void CopyFrom(const Config &from)
Config(Config &&from) noexcept
Peer(const Peer &from)
PROTOBUF_NODISCARD std::string * release_node_id()
size_t ByteSizeLong() const final
Peer & operator=(const Peer &from)
int GetCachedSize() const final
Peer * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
static const Peer & default_instance()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
friend void swap(Peer &a, Peer &b)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Peer & operator=(Peer &&from) noexcept
const std::string & node_id() const
void set_bot_id(int32_t value)
void MergeFrom(const Peer &from)
void set_node_id(ArgT0 &&arg0, ArgT... args)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void set_allocated_node_id(std::string *node_id)
uint64_t serial_number() const
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
void UnsafeArenaSwap(Peer *other)
bool IsInitialized() const final
void set_serial_number(uint64_t value)
void CopyFrom(const Peer &from)
static constexpr int kIndexInFileMessages
PROTOBUF_CONSTEXPR Peer(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
static const ClassData _class_data_
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
std::string * mutable_node_id()
Peer(Peer &&from) noexcept
void set_hub_id(int32_t value)
static const Peer * internal_default_instance()
Peer(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
PeerDefaultTypeInternal _Peer_default_instance_
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
::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr node_id_
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fxbee_5fextensions_2eproto