JaiaBot  1.12.0+7+gdc1e5561
JaiaBot micro-AUV software
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 < 3012000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
14 #error your headers.
15 #endif
16 #if 3012004 < PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
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_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/inlined_string_field.h>
29 #include <google/protobuf/metadata_lite.h>
30 #include <google/protobuf/generated_message_reflection.h>
31 #include <google/protobuf/message.h>
32 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
33 #include <google/protobuf/extension_set.h> // IWYU pragma: export
34 #include <google/protobuf/unknown_field_set.h>
35 #include "goby/acomms/protobuf/driver_base.pb.h"
36 #include "goby/protobuf/option_extensions.pb.h"
37 #include "dccl/option_extensions.pb.h"
38 #include <boost/units/quantity.hpp>
39 #include <boost/units/absolute.hpp>
40 #include <boost/units/dimensionless_type.hpp>
41 #include <boost/units/make_scaled_unit.hpp>
42 
43 #include <boost/units/systems/si.hpp>
44 // @@protoc_insertion_point(includes)
45 #include <google/protobuf/port_def.inc>
46 #define PROTOBUF_INTERNAL_EXPORT_jaiabot_2fmessages_2fxbee_5fextensions_2eproto
47 PROTOBUF_NAMESPACE_OPEN
48 namespace internal {
49 class AnyMetadata;
50 } // namespace internal
51 PROTOBUF_NAMESPACE_CLOSE
52 
53 // Internal implementation detail -- do not use these members.
55  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
56  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
57  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
58  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
59  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2]
60  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
61  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
62  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
63  static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
64 };
65 extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fxbee_5fextensions_2eproto;
66 namespace xbee {
67 namespace protobuf {
68 class Config;
69 class ConfigDefaultTypeInternal;
70 extern ConfigDefaultTypeInternal _Config_default_instance_;
71 class Peer;
72 class PeerDefaultTypeInternal;
73 extern PeerDefaultTypeInternal _Peer_default_instance_;
74 } // namespace protobuf
75 } // namespace xbee
76 PROTOBUF_NAMESPACE_OPEN
77 template<> ::xbee::protobuf::Config* Arena::CreateMaybeMessage<::xbee::protobuf::Config>(Arena*);
78 template<> ::xbee::protobuf::Peer* Arena::CreateMaybeMessage<::xbee::protobuf::Peer>(Arena*);
79 PROTOBUF_NAMESPACE_CLOSE
80 namespace xbee {
81 namespace protobuf {
82 
83 // ===================================================================
84 
85 class Peer PROTOBUF_FINAL :
86  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:xbee.protobuf.Peer) */ {
87  public:
88  inline Peer() : Peer(nullptr) {};
89  virtual ~Peer();
90 
91  Peer(const Peer& from);
92  Peer(Peer&& from) noexcept
93  : Peer() {
94  *this = ::std::move(from);
95  }
96 
97  inline Peer& operator=(const Peer& from) {
98  CopyFrom(from);
99  return *this;
100  }
101  inline Peer& operator=(Peer&& from) noexcept {
102  if (GetArena() == from.GetArena()) {
103  if (this != &from) InternalSwap(&from);
104  } else {
105  CopyFrom(from);
106  }
107  return *this;
108  }
109 
110  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
111  return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
112  }
113  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
114  return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
115  }
116 
117  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
118  return GetDescriptor();
119  }
120  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
121  return GetMetadataStatic().descriptor;
122  }
123  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
124  return GetMetadataStatic().reflection;
125  }
126  static const Peer& default_instance();
127 
128  enum IdCase {
129  kNodeId = 1,
130  kHubId = 3,
131  kBotId = 4,
132  ID_NOT_SET = 0,
133  };
134 
135  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
136  static inline const Peer* internal_default_instance() {
137  return reinterpret_cast<const Peer*>(
139  }
140  static constexpr int kIndexInFileMessages =
141  0;
142 
143  friend void swap(Peer& a, Peer& b) {
144  a.Swap(&b);
145  }
146  inline void Swap(Peer* other) {
147  if (other == this) return;
148  if (GetArena() == other->GetArena()) {
149  InternalSwap(other);
150  } else {
151  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
152  }
153  }
154  void UnsafeArenaSwap(Peer* other) {
155  if (other == this) return;
156  GOOGLE_DCHECK(GetArena() == other->GetArena());
157  InternalSwap(other);
158  }
159 
160  // implements Message ----------------------------------------------
161 
162  inline Peer* New() const final {
163  return CreateMaybeMessage<Peer>(nullptr);
164  }
165 
166  Peer* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
167  return CreateMaybeMessage<Peer>(arena);
168  }
169  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
170  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
171  void CopyFrom(const Peer& from);
172  void MergeFrom(const Peer& from);
173  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
174  bool IsInitialized() const final;
175 
176  size_t ByteSizeLong() const final;
177  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
178  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
179  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
180  int GetCachedSize() const final { return _cached_size_.Get(); }
181 
182  private:
183  inline void SharedCtor();
184  inline void SharedDtor();
185  void SetCachedSize(int size) const final;
186  void InternalSwap(Peer* other);
187  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
188  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
189  return "xbee.protobuf.Peer";
190  }
191  protected:
192  explicit Peer(::PROTOBUF_NAMESPACE_ID::Arena* arena);
193  private:
194  static void ArenaDtor(void* object);
195  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
196  public:
197 
198  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
199  private:
200  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
201  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_jaiabot_2fmessages_2fxbee_5fextensions_2eproto);
202  return ::descriptor_table_jaiabot_2fmessages_2fxbee_5fextensions_2eproto.file_level_metadata[kIndexInFileMessages];
203  }
204 
205  public:
206 
207  // nested types ----------------------------------------------------
208 
209  // accessors -------------------------------------------------------
210 
211  enum : int {
212  kSerialNumberFieldNumber = 2,
213  kNodeIdFieldNumber = 1,
214  kHubIdFieldNumber = 3,
215  kBotIdFieldNumber = 4,
216  };
217  // required uint64 serial_number = 2 [(.goby.field) = {
218  bool has_serial_number() const;
219  private:
220  bool _internal_has_serial_number() const;
221  public:
223  ::PROTOBUF_NAMESPACE_ID::uint64 serial_number() const;
224  void set_serial_number(::PROTOBUF_NAMESPACE_ID::uint64 value);
225  private:
226  ::PROTOBUF_NAMESPACE_ID::uint64 _internal_serial_number() const;
227  void _internal_set_serial_number(::PROTOBUF_NAMESPACE_ID::uint64 value);
228  public:
229 
230  // string node_id = 1 [(.goby.field) = {
231  bool has_node_id() const;
232  private:
233  bool _internal_has_node_id() const;
234  public:
236  const std::string& node_id() const;
237  void set_node_id(const std::string& value);
238  void set_node_id(std::string&& value);
239  void set_node_id(const char* value);
240  void set_node_id(const char* value, size_t size);
241  std::string* mutable_node_id();
242  std::string* release_node_id();
243  void set_allocated_node_id(std::string* node_id);
244  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
245  " string fields are deprecated and will be removed in a"
246  " future release.")
247  std::string* unsafe_arena_release_node_id();
248  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
249  " string fields are deprecated and will be removed in a"
250  " future release.")
251  void unsafe_arena_set_allocated_node_id(
252  std::string* node_id);
253  private:
254  const std::string& _internal_node_id() const;
255  void _internal_set_node_id(const std::string& value);
256  std::string* _internal_mutable_node_id();
257  public:
258 
259  // int32 hub_id = 3 [(.goby.field) = {
260  bool has_hub_id() const;
261  private:
262  bool _internal_has_hub_id() const;
263  public:
264  void clear_hub_id();
265  ::PROTOBUF_NAMESPACE_ID::int32 hub_id() const;
266  void set_hub_id(::PROTOBUF_NAMESPACE_ID::int32 value);
267  private:
268  ::PROTOBUF_NAMESPACE_ID::int32 _internal_hub_id() const;
269  void _internal_set_hub_id(::PROTOBUF_NAMESPACE_ID::int32 value);
270  public:
271 
272  // int32 bot_id = 4 [(.goby.field) = {
273  bool has_bot_id() const;
274  private:
275  bool _internal_has_bot_id() const;
276  public:
277  void clear_bot_id();
278  ::PROTOBUF_NAMESPACE_ID::int32 bot_id() const;
279  void set_bot_id(::PROTOBUF_NAMESPACE_ID::int32 value);
280  private:
281  ::PROTOBUF_NAMESPACE_ID::int32 _internal_bot_id() const;
282  void _internal_set_bot_id(::PROTOBUF_NAMESPACE_ID::int32 value);
283  public:
284 
285  void clear_id();
286  IdCase id_case() const;
287  // @@protoc_insertion_point(class_scope:xbee.protobuf.Peer)
288  private:
289  class _Internal;
290  void set_has_node_id();
291  void set_has_hub_id();
292  void set_has_bot_id();
293 
294  inline bool has_id() const;
295  inline void clear_has_id();
296 
297  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
298  typedef void InternalArenaConstructable_;
299  typedef void DestructorSkippable_;
300  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
301  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
302  ::PROTOBUF_NAMESPACE_ID::uint64 serial_number_;
303  union IdUnion {
304  IdUnion() {}
305  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr node_id_;
306  ::PROTOBUF_NAMESPACE_ID::int32 hub_id_;
307  ::PROTOBUF_NAMESPACE_ID::int32 bot_id_;
308  } id_;
309  ::PROTOBUF_NAMESPACE_ID::uint32 _oneof_case_[1];
310 
311  friend struct ::TableStruct_jaiabot_2fmessages_2fxbee_5fextensions_2eproto;
312 };
313 // -------------------------------------------------------------------
314 
315 class Config PROTOBUF_FINAL :
316  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:xbee.protobuf.Config) */ {
317  public:
318  inline Config() : Config(nullptr) {};
319  virtual ~Config();
320 
321  Config(const Config& from);
322  Config(Config&& from) noexcept
323  : Config() {
324  *this = ::std::move(from);
325  }
326 
327  inline Config& operator=(const Config& from) {
328  CopyFrom(from);
329  return *this;
330  }
331  inline Config& operator=(Config&& from) noexcept {
332  if (GetArena() == from.GetArena()) {
333  if (this != &from) InternalSwap(&from);
334  } else {
335  CopyFrom(from);
336  }
337  return *this;
338  }
339 
340  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
341  return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
342  }
343  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
344  return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
345  }
346 
347  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
348  return GetDescriptor();
349  }
350  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
351  return GetMetadataStatic().descriptor;
352  }
353  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
354  return GetMetadataStatic().reflection;
355  }
356  static const Config& default_instance();
357 
358  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
359  static inline const Config* internal_default_instance() {
360  return reinterpret_cast<const Config*>(
362  }
363  static constexpr int kIndexInFileMessages =
364  1;
365 
366  friend void swap(Config& a, Config& b) {
367  a.Swap(&b);
368  }
369  inline void Swap(Config* other) {
370  if (other == this) return;
371  if (GetArena() == other->GetArena()) {
372  InternalSwap(other);
373  } else {
374  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
375  }
376  }
377  void UnsafeArenaSwap(Config* other) {
378  if (other == this) return;
379  GOOGLE_DCHECK(GetArena() == other->GetArena());
380  InternalSwap(other);
381  }
382 
383  // implements Message ----------------------------------------------
384 
385  inline Config* New() const final {
386  return CreateMaybeMessage<Config>(nullptr);
387  }
388 
389  Config* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
390  return CreateMaybeMessage<Config>(arena);
391  }
392  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
393  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
394  void CopyFrom(const Config& from);
395  void MergeFrom(const Config& from);
396  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
397  bool IsInitialized() const final;
398 
399  size_t ByteSizeLong() const final;
400  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
401  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
402  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
403  int GetCachedSize() const final { return _cached_size_.Get(); }
404 
405  private:
406  inline void SharedCtor();
407  inline void SharedDtor();
408  void SetCachedSize(int size) const final;
409  void InternalSwap(Config* other);
410  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
411  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
412  return "xbee.protobuf.Config";
413  }
414  protected:
415  explicit Config(::PROTOBUF_NAMESPACE_ID::Arena* arena);
416  private:
417  static void ArenaDtor(void* object);
418  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
419  public:
420 
421  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
422  private:
423  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
424  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_jaiabot_2fmessages_2fxbee_5fextensions_2eproto);
425  return ::descriptor_table_jaiabot_2fmessages_2fxbee_5fextensions_2eproto.file_level_metadata[kIndexInFileMessages];
426  }
427 
428  public:
429 
430  // nested types ----------------------------------------------------
431 
432  // accessors -------------------------------------------------------
433 
434  enum : int {
435  kPeersFieldNumber = 2,
436  kXbeeInfoLocationFieldNumber = 5,
437  kXbeeEncryptionPasswordFieldNumber = 8,
438  kHubInfoLocationFieldNumber = 9,
439  kTestCommsFieldNumber = 4,
440  kUseXbeeEncryptionFieldNumber = 7,
441  kHubIdFieldNumber = 6,
442  kNetworkIdFieldNumber = 1,
443  };
444  // repeated .xbee.protobuf.Peer peers = 2 [(.goby.field) = {
445  int peers_size() const;
446  private:
447  int _internal_peers_size() const;
448  public:
449  void clear_peers();
450  ::xbee::protobuf::Peer* mutable_peers(int index);
451  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::xbee::protobuf::Peer >*
453  private:
454  const ::xbee::protobuf::Peer& _internal_peers(int index) const;
455  ::xbee::protobuf::Peer* _internal_add_peers();
456  public:
457  const ::xbee::protobuf::Peer& peers(int index) const;
458  ::xbee::protobuf::Peer* add_peers();
459  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::xbee::protobuf::Peer >&
460  peers() const;
461 
462  // optional string xbee_info_location = 5 [default = "/etc/jaiabot/xbee_info.pb.cfg", (.goby.field) = {
464  private:
465  bool _internal_has_xbee_info_location() const;
466  public:
468  const std::string& xbee_info_location() const;
469  void set_xbee_info_location(const std::string& value);
470  void set_xbee_info_location(std::string&& value);
471  void set_xbee_info_location(const char* value);
472  void set_xbee_info_location(const char* value, size_t size);
475  void set_allocated_xbee_info_location(std::string* xbee_info_location);
476  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
477  " string fields are deprecated and will be removed in a"
478  " future release.")
479  std::string* unsafe_arena_release_xbee_info_location();
480  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
481  " string fields are deprecated and will be removed in a"
482  " future release.")
483  void unsafe_arena_set_allocated_xbee_info_location(
484  std::string* xbee_info_location);
485  private:
486  const std::string& _internal_xbee_info_location() const;
487  void _internal_set_xbee_info_location(const std::string& value);
488  std::string* _internal_mutable_xbee_info_location();
489  public:
490 
491  // optional string xbee_encryption_password = 8 [default = "", (.goby.field) = {
492  bool has_xbee_encryption_password() const;
493  private:
494  bool _internal_has_xbee_encryption_password() const;
495  public:
496  void clear_xbee_encryption_password();
497  const std::string& xbee_encryption_password() const;
498  void set_xbee_encryption_password(const std::string& value);
499  void set_xbee_encryption_password(std::string&& value);
500  void set_xbee_encryption_password(const char* value);
501  void set_xbee_encryption_password(const char* value, size_t size);
502  std::string* mutable_xbee_encryption_password();
503  std::string* release_xbee_encryption_password();
504  void set_allocated_xbee_encryption_password(std::string* xbee_encryption_password);
505  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
506  " string fields are deprecated and will be removed in a"
507  " future release.")
508  std::string* unsafe_arena_release_xbee_encryption_password();
509  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
510  " string fields are deprecated and will be removed in a"
511  " future release.")
512  void unsafe_arena_set_allocated_xbee_encryption_password(
513  std::string* xbee_encryption_password);
514  private:
515  const std::string& _internal_xbee_encryption_password() const;
516  void _internal_set_xbee_encryption_password(const std::string& value);
517  std::string* _internal_mutable_xbee_encryption_password();
518  public:
519 
520  // optional string hub_info_location = 9 [default = "/etc/jaiabot/hub_info.pb.cfg", (.goby.field) = {
521  bool has_hub_info_location() const;
522  private:
523  bool _internal_has_hub_info_location() const;
524  public:
525  void clear_hub_info_location();
526  const std::string& hub_info_location() const;
527  void set_hub_info_location(const std::string& value);
528  void set_hub_info_location(std::string&& value);
529  void set_hub_info_location(const char* value);
530  void set_hub_info_location(const char* value, size_t size);
531  std::string* mutable_hub_info_location();
532  std::string* release_hub_info_location();
533  void set_allocated_hub_info_location(std::string* hub_info_location);
534  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
535  " string fields are deprecated and will be removed in a"
536  " future release.")
537  std::string* unsafe_arena_release_hub_info_location();
538  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
539  " string fields are deprecated and will be removed in a"
540  " future release.")
541  void unsafe_arena_set_allocated_hub_info_location(
542  std::string* hub_info_location);
543  private:
544  const std::string& _internal_hub_info_location() const;
545  void _internal_set_hub_info_location(const std::string& value);
546  std::string* _internal_mutable_hub_info_location();
547  public:
548 
549  // optional bool test_comms = 4 [default = false, (.goby.field) = {
550  bool has_test_comms() const;
551  private:
552  bool _internal_has_test_comms() const;
553  public:
554  void clear_test_comms();
555  bool test_comms() const;
556  void set_test_comms(bool value);
557  private:
558  bool _internal_test_comms() const;
559  void _internal_set_test_comms(bool value);
560  public:
561 
562  // optional bool use_xbee_encryption = 7 [default = false, (.goby.field) = {
563  bool has_use_xbee_encryption() const;
564  private:
565  bool _internal_has_use_xbee_encryption() const;
566  public:
567  void clear_use_xbee_encryption();
568  bool use_xbee_encryption() const;
569  void set_use_xbee_encryption(bool value);
570  private:
571  bool _internal_use_xbee_encryption() const;
572  void _internal_set_use_xbee_encryption(bool value);
573  public:
574 
575  // optional int32 hub_id = 6 [(.goby.field) = {
576  bool has_hub_id() const;
577  private:
578  bool _internal_has_hub_id() const;
579  public:
580  void clear_hub_id();
581  ::PROTOBUF_NAMESPACE_ID::int32 hub_id() const;
582  void set_hub_id(::PROTOBUF_NAMESPACE_ID::int32 value);
583  private:
584  ::PROTOBUF_NAMESPACE_ID::int32 _internal_hub_id() const;
585  void _internal_set_hub_id(::PROTOBUF_NAMESPACE_ID::int32 value);
586  public:
587 
588  // optional uint64 network_id = 1 [default = 7, (.goby.field) = {
589  bool has_network_id() const;
590  private:
591  bool _internal_has_network_id() const;
592  public:
593  void clear_network_id();
594  ::PROTOBUF_NAMESPACE_ID::uint64 network_id() const;
595  void set_network_id(::PROTOBUF_NAMESPACE_ID::uint64 value);
596  private:
597  ::PROTOBUF_NAMESPACE_ID::uint64 _internal_network_id() const;
598  void _internal_set_network_id(::PROTOBUF_NAMESPACE_ID::uint64 value);
599  public:
600 
601  // @@protoc_insertion_point(class_scope:xbee.protobuf.Config)
602  private:
603  class _Internal;
604 
605  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
606  typedef void InternalArenaConstructable_;
607  typedef void DestructorSkippable_;
608  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
609  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
610  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::xbee::protobuf::Peer > peers_;
611  public:
612  static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<std::string> _i_give_permission_to_break_this_code_default_xbee_info_location_;
613  private:
614  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr xbee_info_location_;
615  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr xbee_encryption_password_;
616  public:
617  static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<std::string> _i_give_permission_to_break_this_code_default_hub_info_location_;
618  private:
619  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr hub_info_location_;
620  bool test_comms_;
621  bool use_xbee_encryption_;
622  ::PROTOBUF_NAMESPACE_ID::int32 hub_id_;
623  ::PROTOBUF_NAMESPACE_ID::uint64 network_id_;
625 };
626 // ===================================================================
627 
628 static const int kConfigFieldNumber = 1500;
629 extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::goby::acomms::protobuf::DriverConfig,
630  ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::xbee::protobuf::Config >, 11, false >
632 
633 // ===================================================================
634 
635 #ifdef __GNUC__
636  #pragma GCC diagnostic push
637  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
638 #endif // __GNUC__
639 // Peer
640 
641 // string node_id = 1 [(.goby.field) = {
642 inline bool Peer::_internal_has_node_id() const {
643  return id_case() == kNodeId;
644 }
645 inline bool Peer::has_node_id() const {
646  return _internal_has_node_id();
647 }
648 inline void Peer::set_has_node_id() {
649  _oneof_case_[0] = kNodeId;
650 }
651 inline void Peer::clear_node_id() {
652  if (_internal_has_node_id()) {
653  id_.node_id_.Destroy(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
654  clear_has_id();
655  }
656 }
657 inline const std::string& Peer::node_id() const {
658  // @@protoc_insertion_point(field_get:xbee.protobuf.Peer.node_id)
659  return _internal_node_id();
660 }
661 inline void Peer::set_node_id(const std::string& value) {
662  _internal_set_node_id(value);
663  // @@protoc_insertion_point(field_set:xbee.protobuf.Peer.node_id)
664 }
665 inline std::string* Peer::mutable_node_id() {
666  // @@protoc_insertion_point(field_mutable:xbee.protobuf.Peer.node_id)
667  return _internal_mutable_node_id();
668 }
669 inline const std::string& Peer::_internal_node_id() const {
670  if (_internal_has_node_id()) {
671  return id_.node_id_.Get();
672  }
673  return *&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited();
674 }
675 inline void Peer::_internal_set_node_id(const std::string& value) {
676  if (!_internal_has_node_id()) {
677  clear_id();
678  set_has_node_id();
679  id_.node_id_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
680  }
681  id_.node_id_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
682 }
683 inline void Peer::set_node_id(std::string&& value) {
684  // @@protoc_insertion_point(field_set:xbee.protobuf.Peer.node_id)
685  if (!_internal_has_node_id()) {
686  clear_id();
687  set_has_node_id();
688  id_.node_id_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
689  }
690  id_.node_id_.Set(
691  &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
692  // @@protoc_insertion_point(field_set_rvalue:xbee.protobuf.Peer.node_id)
693 }
694 inline void Peer::set_node_id(const char* value) {
695  GOOGLE_DCHECK(value != nullptr);
696  if (!_internal_has_node_id()) {
697  clear_id();
698  set_has_node_id();
699  id_.node_id_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
700  }
701  id_.node_id_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
702  ::std::string(value), GetArena());
703  // @@protoc_insertion_point(field_set_char:xbee.protobuf.Peer.node_id)
704 }
705 inline void Peer::set_node_id(const char* value,
706  size_t size) {
707  if (!_internal_has_node_id()) {
708  clear_id();
709  set_has_node_id();
710  id_.node_id_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
711  }
712  id_.node_id_.Set(
713  &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
714  reinterpret_cast<const char*>(value), size),
715  GetArena());
716  // @@protoc_insertion_point(field_set_pointer:xbee.protobuf.Peer.node_id)
717 }
718 inline std::string* Peer::_internal_mutable_node_id() {
719  if (!_internal_has_node_id()) {
720  clear_id();
721  set_has_node_id();
722  id_.node_id_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
723  }
724  return id_.node_id_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
725 }
726 inline std::string* Peer::release_node_id() {
727  // @@protoc_insertion_point(field_release:xbee.protobuf.Peer.node_id)
728  if (_internal_has_node_id()) {
729  clear_has_id();
730  return id_.node_id_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
731  } else {
732  return nullptr;
733  }
734 }
735 inline void Peer::set_allocated_node_id(std::string* node_id) {
736  if (has_id()) {
737  clear_id();
738  }
739  if (node_id != nullptr) {
740  set_has_node_id();
741  id_.node_id_.UnsafeSetDefault(node_id);
742  }
743  // @@protoc_insertion_point(field_set_allocated:xbee.protobuf.Peer.node_id)
744 }
745 inline std::string* Peer::unsafe_arena_release_node_id() {
746  // @@protoc_insertion_point(field_unsafe_arena_release:xbee.protobuf.Peer.node_id)
747  GOOGLE_DCHECK(GetArena() != nullptr);
748  if (_internal_has_node_id()) {
749  clear_has_id();
750  return id_.node_id_.UnsafeArenaRelease(
751  &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
752  } else {
753  return nullptr;
754  }
755 }
756 inline void Peer::unsafe_arena_set_allocated_node_id(std::string* node_id) {
757  GOOGLE_DCHECK(GetArena() != nullptr);
758  if (!_internal_has_node_id()) {
759  id_.node_id_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
760  }
761  clear_id();
762  if (node_id) {
763  set_has_node_id();
764  id_.node_id_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), node_id, GetArena());
765  }
766  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xbee.protobuf.Peer.node_id)
767 }
768 
769 // int32 hub_id = 3 [(.goby.field) = {
770 inline bool Peer::_internal_has_hub_id() const {
771  return id_case() == kHubId;
772 }
773 inline bool Peer::has_hub_id() const {
774  return _internal_has_hub_id();
775 }
776 inline void Peer::set_has_hub_id() {
777  _oneof_case_[0] = kHubId;
778 }
779 inline void Peer::clear_hub_id() {
780  if (_internal_has_hub_id()) {
781  id_.hub_id_ = 0;
782  clear_has_id();
783  }
784 }
785 inline ::PROTOBUF_NAMESPACE_ID::int32 Peer::_internal_hub_id() const {
786  if (_internal_has_hub_id()) {
787  return id_.hub_id_;
788  }
789  return 0;
790 }
791 inline void Peer::_internal_set_hub_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
792  if (!_internal_has_hub_id()) {
793  clear_id();
794  set_has_hub_id();
795  }
796  id_.hub_id_ = value;
797 }
798 inline ::PROTOBUF_NAMESPACE_ID::int32 Peer::hub_id() const {
799  // @@protoc_insertion_point(field_get:xbee.protobuf.Peer.hub_id)
800  return _internal_hub_id();
801 }
802 inline void Peer::set_hub_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
803  _internal_set_hub_id(value);
804  // @@protoc_insertion_point(field_set:xbee.protobuf.Peer.hub_id)
805 }
806 
807 // int32 bot_id = 4 [(.goby.field) = {
808 inline bool Peer::_internal_has_bot_id() const {
809  return id_case() == kBotId;
810 }
811 inline bool Peer::has_bot_id() const {
812  return _internal_has_bot_id();
813 }
814 inline void Peer::set_has_bot_id() {
815  _oneof_case_[0] = kBotId;
816 }
817 inline void Peer::clear_bot_id() {
818  if (_internal_has_bot_id()) {
819  id_.bot_id_ = 0;
820  clear_has_id();
821  }
822 }
823 inline ::PROTOBUF_NAMESPACE_ID::int32 Peer::_internal_bot_id() const {
824  if (_internal_has_bot_id()) {
825  return id_.bot_id_;
826  }
827  return 0;
828 }
829 inline void Peer::_internal_set_bot_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
830  if (!_internal_has_bot_id()) {
831  clear_id();
832  set_has_bot_id();
833  }
834  id_.bot_id_ = value;
835 }
836 inline ::PROTOBUF_NAMESPACE_ID::int32 Peer::bot_id() const {
837  // @@protoc_insertion_point(field_get:xbee.protobuf.Peer.bot_id)
838  return _internal_bot_id();
839 }
840 inline void Peer::set_bot_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
841  _internal_set_bot_id(value);
842  // @@protoc_insertion_point(field_set:xbee.protobuf.Peer.bot_id)
843 }
844 
845 // required uint64 serial_number = 2 [(.goby.field) = {
846 inline bool Peer::_internal_has_serial_number() const {
847  bool value = (_has_bits_[0] & 0x00000001u) != 0;
848  return value;
849 }
850 inline bool Peer::has_serial_number() const {
851  return _internal_has_serial_number();
852 }
853 inline void Peer::clear_serial_number() {
854  serial_number_ = PROTOBUF_ULONGLONG(0);
855  _has_bits_[0] &= ~0x00000001u;
856 }
857 inline ::PROTOBUF_NAMESPACE_ID::uint64 Peer::_internal_serial_number() const {
858  return serial_number_;
859 }
860 inline ::PROTOBUF_NAMESPACE_ID::uint64 Peer::serial_number() const {
861  // @@protoc_insertion_point(field_get:xbee.protobuf.Peer.serial_number)
862  return _internal_serial_number();
863 }
864 inline void Peer::_internal_set_serial_number(::PROTOBUF_NAMESPACE_ID::uint64 value) {
865  _has_bits_[0] |= 0x00000001u;
866  serial_number_ = value;
867 }
868 inline void Peer::set_serial_number(::PROTOBUF_NAMESPACE_ID::uint64 value) {
869  _internal_set_serial_number(value);
870  // @@protoc_insertion_point(field_set:xbee.protobuf.Peer.serial_number)
871 }
872 
873 inline bool Peer::has_id() const {
874  return id_case() != ID_NOT_SET;
875 }
876 inline void Peer::clear_has_id() {
877  _oneof_case_[0] = ID_NOT_SET;
878 }
879 inline Peer::IdCase Peer::id_case() const {
880  return Peer::IdCase(_oneof_case_[0]);
881 }
882 // -------------------------------------------------------------------
883 
884 // Config
885 
886 // optional uint64 network_id = 1 [default = 7, (.goby.field) = {
887 inline bool Config::_internal_has_network_id() const {
888  bool value = (_has_bits_[0] & 0x00000040u) != 0;
889  return value;
890 }
891 inline bool Config::has_network_id() const {
892  return _internal_has_network_id();
893 }
894 inline void Config::clear_network_id() {
895  network_id_ = PROTOBUF_ULONGLONG(7);
896  _has_bits_[0] &= ~0x00000040u;
897 }
898 inline ::PROTOBUF_NAMESPACE_ID::uint64 Config::_internal_network_id() const {
899  return network_id_;
900 }
901 inline ::PROTOBUF_NAMESPACE_ID::uint64 Config::network_id() const {
902  // @@protoc_insertion_point(field_get:xbee.protobuf.Config.network_id)
903  return _internal_network_id();
904 }
905 inline void Config::_internal_set_network_id(::PROTOBUF_NAMESPACE_ID::uint64 value) {
906  _has_bits_[0] |= 0x00000040u;
907  network_id_ = value;
908 }
909 inline void Config::set_network_id(::PROTOBUF_NAMESPACE_ID::uint64 value) {
910  _internal_set_network_id(value);
911  // @@protoc_insertion_point(field_set:xbee.protobuf.Config.network_id)
912 }
913 
914 // repeated .xbee.protobuf.Peer peers = 2 [(.goby.field) = {
915 inline int Config::_internal_peers_size() const {
916  return peers_.size();
917 }
918 inline int Config::peers_size() const {
919  return _internal_peers_size();
920 }
921 inline void Config::clear_peers() {
922  peers_.Clear();
923 }
924 inline ::xbee::protobuf::Peer* Config::mutable_peers(int index) {
925  // @@protoc_insertion_point(field_mutable:xbee.protobuf.Config.peers)
926  return peers_.Mutable(index);
927 }
928 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::xbee::protobuf::Peer >*
929 Config::mutable_peers() {
930  // @@protoc_insertion_point(field_mutable_list:xbee.protobuf.Config.peers)
931  return &peers_;
932 }
933 inline const ::xbee::protobuf::Peer& Config::_internal_peers(int index) const {
934  return peers_.Get(index);
935 }
936 inline const ::xbee::protobuf::Peer& Config::peers(int index) const {
937  // @@protoc_insertion_point(field_get:xbee.protobuf.Config.peers)
938  return _internal_peers(index);
939 }
940 inline ::xbee::protobuf::Peer* Config::_internal_add_peers() {
941  return peers_.Add();
942 }
943 inline ::xbee::protobuf::Peer* Config::add_peers() {
944  // @@protoc_insertion_point(field_add:xbee.protobuf.Config.peers)
945  return _internal_add_peers();
946 }
947 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::xbee::protobuf::Peer >&
948 Config::peers() const {
949  // @@protoc_insertion_point(field_list:xbee.protobuf.Config.peers)
950  return peers_;
951 }
952 
953 // optional bool test_comms = 4 [default = false, (.goby.field) = {
954 inline bool Config::_internal_has_test_comms() const {
955  bool value = (_has_bits_[0] & 0x00000008u) != 0;
956  return value;
957 }
958 inline bool Config::has_test_comms() const {
959  return _internal_has_test_comms();
960 }
961 inline void Config::clear_test_comms() {
962  test_comms_ = false;
963  _has_bits_[0] &= ~0x00000008u;
964 }
965 inline bool Config::_internal_test_comms() const {
966  return test_comms_;
967 }
968 inline bool Config::test_comms() const {
969  // @@protoc_insertion_point(field_get:xbee.protobuf.Config.test_comms)
970  return _internal_test_comms();
971 }
972 inline void Config::_internal_set_test_comms(bool value) {
973  _has_bits_[0] |= 0x00000008u;
974  test_comms_ = value;
975 }
976 inline void Config::set_test_comms(bool value) {
977  _internal_set_test_comms(value);
978  // @@protoc_insertion_point(field_set:xbee.protobuf.Config.test_comms)
979 }
980 
981 // optional string xbee_info_location = 5 [default = "/etc/jaiabot/xbee_info.pb.cfg", (.goby.field) = {
982 inline bool Config::_internal_has_xbee_info_location() const {
983  bool value = (_has_bits_[0] & 0x00000001u) != 0;
984  return value;
985 }
986 inline bool Config::has_xbee_info_location() const {
987  return _internal_has_xbee_info_location();
988 }
989 inline void Config::clear_xbee_info_location() {
990  xbee_info_location_.ClearToDefault(&::xbee::protobuf::Config::_i_give_permission_to_break_this_code_default_xbee_info_location_.get(), GetArena());
991  _has_bits_[0] &= ~0x00000001u;
992 }
993 inline const std::string& Config::xbee_info_location() const {
994  // @@protoc_insertion_point(field_get:xbee.protobuf.Config.xbee_info_location)
995  return _internal_xbee_info_location();
996 }
997 inline void Config::set_xbee_info_location(const std::string& value) {
998  _internal_set_xbee_info_location(value);
999  // @@protoc_insertion_point(field_set:xbee.protobuf.Config.xbee_info_location)
1000 }
1001 inline std::string* Config::mutable_xbee_info_location() {
1002  // @@protoc_insertion_point(field_mutable:xbee.protobuf.Config.xbee_info_location)
1003  return _internal_mutable_xbee_info_location();
1004 }
1005 inline const std::string& Config::_internal_xbee_info_location() const {
1006  return xbee_info_location_.Get();
1007 }
1008 inline void Config::_internal_set_xbee_info_location(const std::string& value) {
1009  _has_bits_[0] |= 0x00000001u;
1010  xbee_info_location_.Set(&::xbee::protobuf::Config::_i_give_permission_to_break_this_code_default_xbee_info_location_.get(), value, GetArena());
1011 }
1012 inline void Config::set_xbee_info_location(std::string&& value) {
1013  _has_bits_[0] |= 0x00000001u;
1014  xbee_info_location_.Set(
1015  &::xbee::protobuf::Config::_i_give_permission_to_break_this_code_default_xbee_info_location_.get(), ::std::move(value), GetArena());
1016  // @@protoc_insertion_point(field_set_rvalue:xbee.protobuf.Config.xbee_info_location)
1017 }
1018 inline void Config::set_xbee_info_location(const char* value) {
1019  GOOGLE_DCHECK(value != nullptr);
1020  _has_bits_[0] |= 0x00000001u;
1021  xbee_info_location_.Set(&::xbee::protobuf::Config::_i_give_permission_to_break_this_code_default_xbee_info_location_.get(), ::std::string(value),
1022  GetArena());
1023  // @@protoc_insertion_point(field_set_char:xbee.protobuf.Config.xbee_info_location)
1024 }
1025 inline void Config::set_xbee_info_location(const char* value,
1026  size_t size) {
1027  _has_bits_[0] |= 0x00000001u;
1028  xbee_info_location_.Set(&::xbee::protobuf::Config::_i_give_permission_to_break_this_code_default_xbee_info_location_.get(), ::std::string(
1029  reinterpret_cast<const char*>(value), size), GetArena());
1030  // @@protoc_insertion_point(field_set_pointer:xbee.protobuf.Config.xbee_info_location)
1031 }
1032 inline std::string* Config::_internal_mutable_xbee_info_location() {
1033  _has_bits_[0] |= 0x00000001u;
1034  return xbee_info_location_.Mutable(&::xbee::protobuf::Config::_i_give_permission_to_break_this_code_default_xbee_info_location_.get(), GetArena());
1035 }
1036 inline std::string* Config::release_xbee_info_location() {
1037  // @@protoc_insertion_point(field_release:xbee.protobuf.Config.xbee_info_location)
1038  if (!_internal_has_xbee_info_location()) {
1039  return nullptr;
1040  }
1041  _has_bits_[0] &= ~0x00000001u;
1042  return xbee_info_location_.ReleaseNonDefault(&::xbee::protobuf::Config::_i_give_permission_to_break_this_code_default_xbee_info_location_.get(), GetArena());
1043 }
1044 inline void Config::set_allocated_xbee_info_location(std::string* xbee_info_location) {
1045  if (xbee_info_location != nullptr) {
1046  _has_bits_[0] |= 0x00000001u;
1047  } else {
1048  _has_bits_[0] &= ~0x00000001u;
1049  }
1050  xbee_info_location_.SetAllocated(&::xbee::protobuf::Config::_i_give_permission_to_break_this_code_default_xbee_info_location_.get(), xbee_info_location,
1051  GetArena());
1052  // @@protoc_insertion_point(field_set_allocated:xbee.protobuf.Config.xbee_info_location)
1053 }
1054 inline std::string* Config::unsafe_arena_release_xbee_info_location() {
1055  // @@protoc_insertion_point(field_unsafe_arena_release:xbee.protobuf.Config.xbee_info_location)
1056  GOOGLE_DCHECK(GetArena() != nullptr);
1057  _has_bits_[0] &= ~0x00000001u;
1058  return xbee_info_location_.UnsafeArenaRelease(&::xbee::protobuf::Config::_i_give_permission_to_break_this_code_default_xbee_info_location_.get(),
1059  GetArena());
1060 }
1061 inline void Config::unsafe_arena_set_allocated_xbee_info_location(
1062  std::string* xbee_info_location) {
1063  GOOGLE_DCHECK(GetArena() != nullptr);
1064  if (xbee_info_location != nullptr) {
1065  _has_bits_[0] |= 0x00000001u;
1066  } else {
1067  _has_bits_[0] &= ~0x00000001u;
1068  }
1069  xbee_info_location_.UnsafeArenaSetAllocated(&::xbee::protobuf::Config::_i_give_permission_to_break_this_code_default_xbee_info_location_.get(),
1070  xbee_info_location, GetArena());
1071  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xbee.protobuf.Config.xbee_info_location)
1072 }
1073 
1074 // optional int32 hub_id = 6 [(.goby.field) = {
1075 inline bool Config::_internal_has_hub_id() const {
1076  bool value = (_has_bits_[0] & 0x00000020u) != 0;
1077  return value;
1078 }
1079 inline bool Config::has_hub_id() const {
1080  return _internal_has_hub_id();
1081 }
1082 inline void Config::clear_hub_id() {
1083  hub_id_ = 0;
1084  _has_bits_[0] &= ~0x00000020u;
1085 }
1086 inline ::PROTOBUF_NAMESPACE_ID::int32 Config::_internal_hub_id() const {
1087  return hub_id_;
1088 }
1089 inline ::PROTOBUF_NAMESPACE_ID::int32 Config::hub_id() const {
1090  // @@protoc_insertion_point(field_get:xbee.protobuf.Config.hub_id)
1091  return _internal_hub_id();
1092 }
1093 inline void Config::_internal_set_hub_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
1094  _has_bits_[0] |= 0x00000020u;
1095  hub_id_ = value;
1096 }
1097 inline void Config::set_hub_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
1098  _internal_set_hub_id(value);
1099  // @@protoc_insertion_point(field_set:xbee.protobuf.Config.hub_id)
1100 }
1101 
1102 // optional bool use_xbee_encryption = 7 [default = false, (.goby.field) = {
1103 inline bool Config::_internal_has_use_xbee_encryption() const {
1104  bool value = (_has_bits_[0] & 0x00000010u) != 0;
1105  return value;
1106 }
1107 inline bool Config::has_use_xbee_encryption() const {
1108  return _internal_has_use_xbee_encryption();
1109 }
1110 inline void Config::clear_use_xbee_encryption() {
1111  use_xbee_encryption_ = false;
1112  _has_bits_[0] &= ~0x00000010u;
1113 }
1114 inline bool Config::_internal_use_xbee_encryption() const {
1115  return use_xbee_encryption_;
1116 }
1117 inline bool Config::use_xbee_encryption() const {
1118  // @@protoc_insertion_point(field_get:xbee.protobuf.Config.use_xbee_encryption)
1119  return _internal_use_xbee_encryption();
1120 }
1121 inline void Config::_internal_set_use_xbee_encryption(bool value) {
1122  _has_bits_[0] |= 0x00000010u;
1123  use_xbee_encryption_ = value;
1124 }
1125 inline void Config::set_use_xbee_encryption(bool value) {
1126  _internal_set_use_xbee_encryption(value);
1127  // @@protoc_insertion_point(field_set:xbee.protobuf.Config.use_xbee_encryption)
1128 }
1129 
1130 // optional string xbee_encryption_password = 8 [default = "", (.goby.field) = {
1131 inline bool Config::_internal_has_xbee_encryption_password() const {
1132  bool value = (_has_bits_[0] & 0x00000002u) != 0;
1133  return value;
1134 }
1135 inline bool Config::has_xbee_encryption_password() const {
1136  return _internal_has_xbee_encryption_password();
1137 }
1138 inline void Config::clear_xbee_encryption_password() {
1139  xbee_encryption_password_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1140  _has_bits_[0] &= ~0x00000002u;
1141 }
1142 inline const std::string& Config::xbee_encryption_password() const {
1143  // @@protoc_insertion_point(field_get:xbee.protobuf.Config.xbee_encryption_password)
1144  return _internal_xbee_encryption_password();
1145 }
1146 inline void Config::set_xbee_encryption_password(const std::string& value) {
1147  _internal_set_xbee_encryption_password(value);
1148  // @@protoc_insertion_point(field_set:xbee.protobuf.Config.xbee_encryption_password)
1149 }
1150 inline std::string* Config::mutable_xbee_encryption_password() {
1151  // @@protoc_insertion_point(field_mutable:xbee.protobuf.Config.xbee_encryption_password)
1152  return _internal_mutable_xbee_encryption_password();
1153 }
1154 inline const std::string& Config::_internal_xbee_encryption_password() const {
1155  return xbee_encryption_password_.Get();
1156 }
1157 inline void Config::_internal_set_xbee_encryption_password(const std::string& value) {
1158  _has_bits_[0] |= 0x00000002u;
1159  xbee_encryption_password_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
1160 }
1161 inline void Config::set_xbee_encryption_password(std::string&& value) {
1162  _has_bits_[0] |= 0x00000002u;
1163  xbee_encryption_password_.Set(
1164  &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
1165  // @@protoc_insertion_point(field_set_rvalue:xbee.protobuf.Config.xbee_encryption_password)
1166 }
1167 inline void Config::set_xbee_encryption_password(const char* value) {
1168  GOOGLE_DCHECK(value != nullptr);
1169  _has_bits_[0] |= 0x00000002u;
1170  xbee_encryption_password_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
1171  GetArena());
1172  // @@protoc_insertion_point(field_set_char:xbee.protobuf.Config.xbee_encryption_password)
1173 }
1174 inline void Config::set_xbee_encryption_password(const char* value,
1175  size_t size) {
1176  _has_bits_[0] |= 0x00000002u;
1177  xbee_encryption_password_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
1178  reinterpret_cast<const char*>(value), size), GetArena());
1179  // @@protoc_insertion_point(field_set_pointer:xbee.protobuf.Config.xbee_encryption_password)
1180 }
1181 inline std::string* Config::_internal_mutable_xbee_encryption_password() {
1182  _has_bits_[0] |= 0x00000002u;
1183  return xbee_encryption_password_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1184 }
1185 inline std::string* Config::release_xbee_encryption_password() {
1186  // @@protoc_insertion_point(field_release:xbee.protobuf.Config.xbee_encryption_password)
1187  if (!_internal_has_xbee_encryption_password()) {
1188  return nullptr;
1189  }
1190  _has_bits_[0] &= ~0x00000002u;
1191  return xbee_encryption_password_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1192 }
1193 inline void Config::set_allocated_xbee_encryption_password(std::string* xbee_encryption_password) {
1194  if (xbee_encryption_password != nullptr) {
1195  _has_bits_[0] |= 0x00000002u;
1196  } else {
1197  _has_bits_[0] &= ~0x00000002u;
1198  }
1199  xbee_encryption_password_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), xbee_encryption_password,
1200  GetArena());
1201  // @@protoc_insertion_point(field_set_allocated:xbee.protobuf.Config.xbee_encryption_password)
1202 }
1203 inline std::string* Config::unsafe_arena_release_xbee_encryption_password() {
1204  // @@protoc_insertion_point(field_unsafe_arena_release:xbee.protobuf.Config.xbee_encryption_password)
1205  GOOGLE_DCHECK(GetArena() != nullptr);
1206  _has_bits_[0] &= ~0x00000002u;
1207  return xbee_encryption_password_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1208  GetArena());
1209 }
1210 inline void Config::unsafe_arena_set_allocated_xbee_encryption_password(
1211  std::string* xbee_encryption_password) {
1212  GOOGLE_DCHECK(GetArena() != nullptr);
1213  if (xbee_encryption_password != nullptr) {
1214  _has_bits_[0] |= 0x00000002u;
1215  } else {
1216  _has_bits_[0] &= ~0x00000002u;
1217  }
1218  xbee_encryption_password_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1219  xbee_encryption_password, GetArena());
1220  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xbee.protobuf.Config.xbee_encryption_password)
1221 }
1222 
1223 // optional string hub_info_location = 9 [default = "/etc/jaiabot/hub_info.pb.cfg", (.goby.field) = {
1224 inline bool Config::_internal_has_hub_info_location() const {
1225  bool value = (_has_bits_[0] & 0x00000004u) != 0;
1226  return value;
1227 }
1228 inline bool Config::has_hub_info_location() const {
1229  return _internal_has_hub_info_location();
1230 }
1231 inline void Config::clear_hub_info_location() {
1232  hub_info_location_.ClearToDefault(&::xbee::protobuf::Config::_i_give_permission_to_break_this_code_default_hub_info_location_.get(), GetArena());
1233  _has_bits_[0] &= ~0x00000004u;
1234 }
1235 inline const std::string& Config::hub_info_location() const {
1236  // @@protoc_insertion_point(field_get:xbee.protobuf.Config.hub_info_location)
1237  return _internal_hub_info_location();
1238 }
1239 inline void Config::set_hub_info_location(const std::string& value) {
1240  _internal_set_hub_info_location(value);
1241  // @@protoc_insertion_point(field_set:xbee.protobuf.Config.hub_info_location)
1242 }
1243 inline std::string* Config::mutable_hub_info_location() {
1244  // @@protoc_insertion_point(field_mutable:xbee.protobuf.Config.hub_info_location)
1245  return _internal_mutable_hub_info_location();
1246 }
1247 inline const std::string& Config::_internal_hub_info_location() const {
1248  return hub_info_location_.Get();
1249 }
1250 inline void Config::_internal_set_hub_info_location(const std::string& value) {
1251  _has_bits_[0] |= 0x00000004u;
1252  hub_info_location_.Set(&::xbee::protobuf::Config::_i_give_permission_to_break_this_code_default_hub_info_location_.get(), value, GetArena());
1253 }
1254 inline void Config::set_hub_info_location(std::string&& value) {
1255  _has_bits_[0] |= 0x00000004u;
1256  hub_info_location_.Set(
1257  &::xbee::protobuf::Config::_i_give_permission_to_break_this_code_default_hub_info_location_.get(), ::std::move(value), GetArena());
1258  // @@protoc_insertion_point(field_set_rvalue:xbee.protobuf.Config.hub_info_location)
1259 }
1260 inline void Config::set_hub_info_location(const char* value) {
1261  GOOGLE_DCHECK(value != nullptr);
1262  _has_bits_[0] |= 0x00000004u;
1263  hub_info_location_.Set(&::xbee::protobuf::Config::_i_give_permission_to_break_this_code_default_hub_info_location_.get(), ::std::string(value),
1264  GetArena());
1265  // @@protoc_insertion_point(field_set_char:xbee.protobuf.Config.hub_info_location)
1266 }
1267 inline void Config::set_hub_info_location(const char* value,
1268  size_t size) {
1269  _has_bits_[0] |= 0x00000004u;
1270  hub_info_location_.Set(&::xbee::protobuf::Config::_i_give_permission_to_break_this_code_default_hub_info_location_.get(), ::std::string(
1271  reinterpret_cast<const char*>(value), size), GetArena());
1272  // @@protoc_insertion_point(field_set_pointer:xbee.protobuf.Config.hub_info_location)
1273 }
1274 inline std::string* Config::_internal_mutable_hub_info_location() {
1275  _has_bits_[0] |= 0x00000004u;
1276  return hub_info_location_.Mutable(&::xbee::protobuf::Config::_i_give_permission_to_break_this_code_default_hub_info_location_.get(), GetArena());
1277 }
1278 inline std::string* Config::release_hub_info_location() {
1279  // @@protoc_insertion_point(field_release:xbee.protobuf.Config.hub_info_location)
1280  if (!_internal_has_hub_info_location()) {
1281  return nullptr;
1282  }
1283  _has_bits_[0] &= ~0x00000004u;
1284  return hub_info_location_.ReleaseNonDefault(&::xbee::protobuf::Config::_i_give_permission_to_break_this_code_default_hub_info_location_.get(), GetArena());
1285 }
1286 inline void Config::set_allocated_hub_info_location(std::string* hub_info_location) {
1287  if (hub_info_location != nullptr) {
1288  _has_bits_[0] |= 0x00000004u;
1289  } else {
1290  _has_bits_[0] &= ~0x00000004u;
1291  }
1292  hub_info_location_.SetAllocated(&::xbee::protobuf::Config::_i_give_permission_to_break_this_code_default_hub_info_location_.get(), hub_info_location,
1293  GetArena());
1294  // @@protoc_insertion_point(field_set_allocated:xbee.protobuf.Config.hub_info_location)
1295 }
1296 inline std::string* Config::unsafe_arena_release_hub_info_location() {
1297  // @@protoc_insertion_point(field_unsafe_arena_release:xbee.protobuf.Config.hub_info_location)
1298  GOOGLE_DCHECK(GetArena() != nullptr);
1299  _has_bits_[0] &= ~0x00000004u;
1300  return hub_info_location_.UnsafeArenaRelease(&::xbee::protobuf::Config::_i_give_permission_to_break_this_code_default_hub_info_location_.get(),
1301  GetArena());
1302 }
1303 inline void Config::unsafe_arena_set_allocated_hub_info_location(
1304  std::string* hub_info_location) {
1305  GOOGLE_DCHECK(GetArena() != nullptr);
1306  if (hub_info_location != nullptr) {
1307  _has_bits_[0] |= 0x00000004u;
1308  } else {
1309  _has_bits_[0] &= ~0x00000004u;
1310  }
1311  hub_info_location_.UnsafeArenaSetAllocated(&::xbee::protobuf::Config::_i_give_permission_to_break_this_code_default_hub_info_location_.get(),
1312  hub_info_location, GetArena());
1313  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xbee.protobuf.Config.hub_info_location)
1314 }
1315 
1316 #ifdef __GNUC__
1317  #pragma GCC diagnostic pop
1318 #endif // __GNUC__
1319 // -------------------------------------------------------------------
1320 
1321 
1322 // @@protoc_insertion_point(namespace_scope)
1323 
1324 } // namespace protobuf
1325 } // namespace xbee
1326 
1327 // @@protoc_insertion_point(global_scope)
1328 
1329 #include <google/protobuf/port_undef.inc>
1330 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fxbee_5fextensions_2eproto
void MergeFrom(const Peer &from)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
const std::string & xbee_info_location() const
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void CopyFrom(const Config &from)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
static const Config * internal_default_instance()
void CopyFrom(const Peer &from)
void MergeFrom(const Config &from)
void set_node_id(const std::string &value)
void set_xbee_info_location(const std::string &value)
std::string * mutable_xbee_info_location()
friend void swap(Peer &a, Peer &b)
Config(const Config &from)
void set_node_id(std::string &&value)
friend void swap(Config &a, Config &b)
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Config * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
void set_xbee_info_location(const char *value)
void set_allocated_node_id(std::string *node_id)
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::xbee::protobuf::Peer > & peers() const
Config & operator=(const Config &from)
static const Config & default_instance()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void set_allocated_xbee_info_location(std::string *xbee_info_location)
static const Peer & default_instance()
Peer & operator=(const Peer &from)
Config(Config &&from) noexcept
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::xbee::protobuf::Peer > * mutable_peers()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
void set_node_id(const char *value, size_t size)
Peer(::PROTOBUF_NAMESPACE_ID::Arena *arena)
Peer & operator=(Peer &&from) noexcept
void set_serial_number(::PROTOBUF_NAMESPACE_ID::uint64 value)
Peer * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Config(::PROTOBUF_NAMESPACE_ID::Arena *arena)
::xbee::protobuf::Peer * mutable_peers(int index)
::xbee::protobuf::Peer * add_peers()
::PROTOBUF_NAMESPACE_ID::uint64 serial_number() const
const ::xbee::protobuf::Peer & peers(int index) const
void set_node_id(const char *value)
void set_xbee_info_location(std::string &&value)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Config & operator=(Config &&from) noexcept
static const Peer * internal_default_instance()
void set_xbee_info_location(const char *value, size_t size)
const std::string & node_id() const
std::string * release_xbee_info_location()
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
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fxbee_5fextensions_2eproto