JaiaBot  1.19.0
JaiaBot micro-AUV software
hub.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: jaiabot/messages/hub.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fhub_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fhub_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 "dccl/option_extensions.pb.h"
37 #include "goby/middleware/protobuf/coroner.pb.h"
40 #include <boost/units/quantity.hpp>
41 #include <boost/units/absolute.hpp>
42 #include <boost/units/dimensionless_type.hpp>
43 #include <boost/units/make_scaled_unit.hpp>
44 
45 #include <boost/units/systems/si.hpp>
46 // @@protoc_insertion_point(includes)
47 #include <google/protobuf/port_def.inc>
48 #define PROTOBUF_INTERNAL_EXPORT_jaiabot_2fmessages_2fhub_2eproto
49 PROTOBUF_NAMESPACE_OPEN
50 namespace internal {
51 class AnyMetadata;
52 } // namespace internal
53 PROTOBUF_NAMESPACE_CLOSE
54 
55 // Internal implementation detail -- do not use these members.
57  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
58  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
59  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
60  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
61  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[3]
62  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
63  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
64  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
65  static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
66 };
67 extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fhub_2eproto;
68 namespace jaiabot {
69 namespace protobuf {
70 class HubStatus;
71 class HubStatusDefaultTypeInternal;
72 extern HubStatusDefaultTypeInternal _HubStatus_default_instance_;
73 class HubStatus_BotOffloadData;
74 class HubStatus_BotOffloadDataDefaultTypeInternal;
75 extern HubStatus_BotOffloadDataDefaultTypeInternal _HubStatus_BotOffloadData_default_instance_;
76 class HubStatus_KnownBot;
77 class HubStatus_KnownBotDefaultTypeInternal;
78 extern HubStatus_KnownBotDefaultTypeInternal _HubStatus_KnownBot_default_instance_;
79 } // namespace protobuf
80 } // namespace jaiabot
81 PROTOBUF_NAMESPACE_OPEN
82 template<> ::jaiabot::protobuf::HubStatus* Arena::CreateMaybeMessage<::jaiabot::protobuf::HubStatus>(Arena*);
83 template<> ::jaiabot::protobuf::HubStatus_BotOffloadData* Arena::CreateMaybeMessage<::jaiabot::protobuf::HubStatus_BotOffloadData>(Arena*);
84 template<> ::jaiabot::protobuf::HubStatus_KnownBot* Arena::CreateMaybeMessage<::jaiabot::protobuf::HubStatus_KnownBot>(Arena*);
85 PROTOBUF_NAMESPACE_CLOSE
86 namespace jaiabot {
87 namespace protobuf {
88 
89 // ===================================================================
90 
91 class HubStatus_BotOffloadData PROTOBUF_FINAL :
92  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.HubStatus.BotOffloadData) */ {
93  public:
94  inline HubStatus_BotOffloadData() : HubStatus_BotOffloadData(nullptr) {};
96 
97  HubStatus_BotOffloadData(const HubStatus_BotOffloadData& from);
98  HubStatus_BotOffloadData(HubStatus_BotOffloadData&& from) noexcept
99  : HubStatus_BotOffloadData() {
100  *this = ::std::move(from);
101  }
102 
103  inline HubStatus_BotOffloadData& operator=(const HubStatus_BotOffloadData& from) {
104  CopyFrom(from);
105  return *this;
106  }
107  inline HubStatus_BotOffloadData& operator=(HubStatus_BotOffloadData&& from) noexcept {
108  if (GetArena() == from.GetArena()) {
109  if (this != &from) InternalSwap(&from);
110  } else {
111  CopyFrom(from);
112  }
113  return *this;
114  }
115 
116  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
117  return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
118  }
119  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
120  return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
121  }
122 
123  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
124  return GetDescriptor();
125  }
126  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
127  return GetMetadataStatic().descriptor;
128  }
129  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
130  return GetMetadataStatic().reflection;
131  }
132  static const HubStatus_BotOffloadData& default_instance();
133 
134  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
135  static inline const HubStatus_BotOffloadData* internal_default_instance() {
136  return reinterpret_cast<const HubStatus_BotOffloadData*>(
138  }
139  static constexpr int kIndexInFileMessages =
140  0;
141 
142  friend void swap(HubStatus_BotOffloadData& a, HubStatus_BotOffloadData& b) {
143  a.Swap(&b);
144  }
145  inline void Swap(HubStatus_BotOffloadData* other) {
146  if (other == this) return;
147  if (GetArena() == other->GetArena()) {
148  InternalSwap(other);
149  } else {
150  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
151  }
152  }
153  void UnsafeArenaSwap(HubStatus_BotOffloadData* other) {
154  if (other == this) return;
155  GOOGLE_DCHECK(GetArena() == other->GetArena());
156  InternalSwap(other);
157  }
158 
159  // implements Message ----------------------------------------------
160 
161  inline HubStatus_BotOffloadData* New() const final {
162  return CreateMaybeMessage<HubStatus_BotOffloadData>(nullptr);
163  }
164 
165  HubStatus_BotOffloadData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
166  return CreateMaybeMessage<HubStatus_BotOffloadData>(arena);
167  }
168  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
169  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
170  void CopyFrom(const HubStatus_BotOffloadData& from);
171  void MergeFrom(const HubStatus_BotOffloadData& from);
172  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
173  bool IsInitialized() const final;
174 
175  size_t ByteSizeLong() const final;
176  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
177  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
178  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
179  int GetCachedSize() const final { return _cached_size_.Get(); }
180 
181  private:
182  inline void SharedCtor();
183  inline void SharedDtor();
184  void SetCachedSize(int size) const final;
185  void InternalSwap(HubStatus_BotOffloadData* other);
186  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
187  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
188  return "jaiabot.protobuf.HubStatus.BotOffloadData";
189  }
190  protected:
191  explicit HubStatus_BotOffloadData(::PROTOBUF_NAMESPACE_ID::Arena* arena);
192  private:
193  static void ArenaDtor(void* object);
194  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
195  public:
196 
197  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
198  private:
199  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
200  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_jaiabot_2fmessages_2fhub_2eproto);
201  return ::descriptor_table_jaiabot_2fmessages_2fhub_2eproto.file_level_metadata[kIndexInFileMessages];
202  }
203 
204  public:
205 
206  // nested types ----------------------------------------------------
207 
208  // accessors -------------------------------------------------------
209 
210  enum : int {
211  kBotIdFieldNumber = 1,
212  kDataOffloadPercentageFieldNumber = 2,
213  kOffloadSucceededFieldNumber = 3,
214  };
215  // required uint32 bot_id = 1;
216  bool has_bot_id() const;
217  private:
218  bool _internal_has_bot_id() const;
219  public:
220  void clear_bot_id();
221  ::PROTOBUF_NAMESPACE_ID::uint32 bot_id() const;
222  void set_bot_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
223  private:
224  ::PROTOBUF_NAMESPACE_ID::uint32 _internal_bot_id() const;
225  void _internal_set_bot_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
226  public:
227 
228  // optional int32 data_offload_percentage = 2;
230  private:
231  bool _internal_has_data_offload_percentage() const;
232  public:
234  ::PROTOBUF_NAMESPACE_ID::int32 data_offload_percentage() const;
235  void set_data_offload_percentage(::PROTOBUF_NAMESPACE_ID::int32 value);
236  private:
237  ::PROTOBUF_NAMESPACE_ID::int32 _internal_data_offload_percentage() const;
238  void _internal_set_data_offload_percentage(::PROTOBUF_NAMESPACE_ID::int32 value);
239  public:
240 
241  // optional bool offload_succeeded = 3;
242  bool has_offload_succeeded() const;
243  private:
244  bool _internal_has_offload_succeeded() const;
245  public:
247  bool offload_succeeded() const;
248  void set_offload_succeeded(bool value);
249  private:
250  bool _internal_offload_succeeded() const;
251  void _internal_set_offload_succeeded(bool value);
252  public:
253 
254  // @@protoc_insertion_point(class_scope:jaiabot.protobuf.HubStatus.BotOffloadData)
255  private:
256  class _Internal;
257 
258  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
259  typedef void InternalArenaConstructable_;
260  typedef void DestructorSkippable_;
261  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
262  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
263  ::PROTOBUF_NAMESPACE_ID::uint32 bot_id_;
264  ::PROTOBUF_NAMESPACE_ID::int32 data_offload_percentage_;
265  bool offload_succeeded_;
266  friend struct ::TableStruct_jaiabot_2fmessages_2fhub_2eproto;
267 };
268 // -------------------------------------------------------------------
269 
270 class HubStatus_KnownBot PROTOBUF_FINAL :
271  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.HubStatus.KnownBot) */ {
272  public:
273  inline HubStatus_KnownBot() : HubStatus_KnownBot(nullptr) {};
275 
276  HubStatus_KnownBot(const HubStatus_KnownBot& from);
277  HubStatus_KnownBot(HubStatus_KnownBot&& from) noexcept
278  : HubStatus_KnownBot() {
279  *this = ::std::move(from);
280  }
281 
282  inline HubStatus_KnownBot& operator=(const HubStatus_KnownBot& from) {
283  CopyFrom(from);
284  return *this;
285  }
286  inline HubStatus_KnownBot& operator=(HubStatus_KnownBot&& from) noexcept {
287  if (GetArena() == from.GetArena()) {
288  if (this != &from) InternalSwap(&from);
289  } else {
290  CopyFrom(from);
291  }
292  return *this;
293  }
294 
295  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
296  return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
297  }
298  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
299  return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
300  }
301 
302  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
303  return GetDescriptor();
304  }
305  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
306  return GetMetadataStatic().descriptor;
307  }
308  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
309  return GetMetadataStatic().reflection;
310  }
311  static const HubStatus_KnownBot& default_instance();
312 
313  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
314  static inline const HubStatus_KnownBot* internal_default_instance() {
315  return reinterpret_cast<const HubStatus_KnownBot*>(
317  }
318  static constexpr int kIndexInFileMessages =
319  1;
320 
321  friend void swap(HubStatus_KnownBot& a, HubStatus_KnownBot& b) {
322  a.Swap(&b);
323  }
324  inline void Swap(HubStatus_KnownBot* other) {
325  if (other == this) return;
326  if (GetArena() == other->GetArena()) {
327  InternalSwap(other);
328  } else {
329  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
330  }
331  }
332  void UnsafeArenaSwap(HubStatus_KnownBot* other) {
333  if (other == this) return;
334  GOOGLE_DCHECK(GetArena() == other->GetArena());
335  InternalSwap(other);
336  }
337 
338  // implements Message ----------------------------------------------
339 
340  inline HubStatus_KnownBot* New() const final {
341  return CreateMaybeMessage<HubStatus_KnownBot>(nullptr);
342  }
343 
344  HubStatus_KnownBot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
345  return CreateMaybeMessage<HubStatus_KnownBot>(arena);
346  }
347  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
348  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
349  void CopyFrom(const HubStatus_KnownBot& from);
350  void MergeFrom(const HubStatus_KnownBot& from);
351  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
352  bool IsInitialized() const final;
353 
354  size_t ByteSizeLong() const final;
355  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
356  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
357  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
358  int GetCachedSize() const final { return _cached_size_.Get(); }
359 
360  private:
361  inline void SharedCtor();
362  inline void SharedDtor();
363  void SetCachedSize(int size) const final;
364  void InternalSwap(HubStatus_KnownBot* other);
365  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
366  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
367  return "jaiabot.protobuf.HubStatus.KnownBot";
368  }
369  protected:
370  explicit HubStatus_KnownBot(::PROTOBUF_NAMESPACE_ID::Arena* arena);
371  private:
372  static void ArenaDtor(void* object);
373  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
374  public:
375 
376  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
377  private:
378  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
379  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_jaiabot_2fmessages_2fhub_2eproto);
380  return ::descriptor_table_jaiabot_2fmessages_2fhub_2eproto.file_level_metadata[kIndexInFileMessages];
381  }
382 
383  public:
384 
385  // nested types ----------------------------------------------------
386 
387  // accessors -------------------------------------------------------
388 
389  enum : int {
390  kLastStatusTimeFieldNumber = 2,
391  kIdFieldNumber = 1,
392  };
393  // required uint64 last_status_time = 2 [(.dccl.field) = {
394  bool has_last_status_time() const;
395  private:
396  bool _internal_has_last_status_time() const;
397  public:
399  ::PROTOBUF_NAMESPACE_ID::uint64 last_status_time() const;
400  void set_last_status_time(::PROTOBUF_NAMESPACE_ID::uint64 value);
401  private:
402  ::PROTOBUF_NAMESPACE_ID::uint64 _internal_last_status_time() const;
403  void _internal_set_last_status_time(::PROTOBUF_NAMESPACE_ID::uint64 value);
404  public:
405 
406  // required uint32 id = 1 [(.jaia.field) = {
407  bool has_id() const;
408  private:
409  bool _internal_has_id() const;
410  public:
411  void clear_id();
412  ::PROTOBUF_NAMESPACE_ID::uint32 id() const;
413  void set_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
414  private:
415  ::PROTOBUF_NAMESPACE_ID::uint32 _internal_id() const;
416  void _internal_set_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
417  public:
418 
419  typedef boost::units::time_dimension last_status_time_dimension;
420 
421  typedef boost::units::make_scaled_unit<boost::units::unit<last_status_time_dimension,boost::units::si::system> , boost::units::scale<10, boost::units::static_rational<-6> > >::type last_status_time_unit;
422 
423  template<typename Quantity >
424  void set_last_status_time_with_units(Quantity value_w_units)
425  { set_last_status_time(boost::units::quantity<last_status_time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
426 
427  template<typename Quantity >
429  { return Quantity(last_status_time() * last_status_time_unit()); };
430 
431  boost::units::quantity< last_status_time_unit,google::protobuf::uint64 > last_status_time_with_units() const
432  { return last_status_time_with_units<boost::units::quantity< last_status_time_unit,google::protobuf::uint64 > >(); };
433 
434  // @@protoc_insertion_point(class_scope:jaiabot.protobuf.HubStatus.KnownBot)
435  private:
436  class _Internal;
437 
438  // helper for ByteSizeLong()
439  size_t RequiredFieldsByteSizeFallback() const;
440 
441  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
442  typedef void InternalArenaConstructable_;
443  typedef void DestructorSkippable_;
444  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
445  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
446  ::PROTOBUF_NAMESPACE_ID::uint64 last_status_time_;
447  ::PROTOBUF_NAMESPACE_ID::uint32 id_;
448  friend struct ::TableStruct_jaiabot_2fmessages_2fhub_2eproto;
449 };
450 // -------------------------------------------------------------------
451 
452 class HubStatus PROTOBUF_FINAL :
453  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.HubStatus) */ {
454  public:
455  inline HubStatus() : HubStatus(nullptr) {};
456  virtual ~HubStatus();
457 
458  HubStatus(const HubStatus& from);
459  HubStatus(HubStatus&& from) noexcept
460  : HubStatus() {
461  *this = ::std::move(from);
462  }
463 
464  inline HubStatus& operator=(const HubStatus& from) {
465  CopyFrom(from);
466  return *this;
467  }
468  inline HubStatus& operator=(HubStatus&& from) noexcept {
469  if (GetArena() == from.GetArena()) {
470  if (this != &from) InternalSwap(&from);
471  } else {
472  CopyFrom(from);
473  }
474  return *this;
475  }
476 
477  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
478  return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
479  }
480  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
481  return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
482  }
483 
484  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
485  return GetDescriptor();
486  }
487  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
488  return GetMetadataStatic().descriptor;
489  }
490  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
491  return GetMetadataStatic().reflection;
492  }
493  static const HubStatus& default_instance();
494 
495  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
496  static inline const HubStatus* internal_default_instance() {
497  return reinterpret_cast<const HubStatus*>(
499  }
500  static constexpr int kIndexInFileMessages =
501  2;
502 
503  friend void swap(HubStatus& a, HubStatus& b) {
504  a.Swap(&b);
505  }
506  inline void Swap(HubStatus* other) {
507  if (other == this) return;
508  if (GetArena() == other->GetArena()) {
509  InternalSwap(other);
510  } else {
511  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
512  }
513  }
514  void UnsafeArenaSwap(HubStatus* other) {
515  if (other == this) return;
516  GOOGLE_DCHECK(GetArena() == other->GetArena());
517  InternalSwap(other);
518  }
519 
520  // implements Message ----------------------------------------------
521 
522  inline HubStatus* New() const final {
523  return CreateMaybeMessage<HubStatus>(nullptr);
524  }
525 
526  HubStatus* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
527  return CreateMaybeMessage<HubStatus>(arena);
528  }
529  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
530  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
531  void CopyFrom(const HubStatus& from);
532  void MergeFrom(const HubStatus& from);
533  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
534  bool IsInitialized() const final;
535 
536  size_t ByteSizeLong() const final;
537  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
538  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
539  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
540  int GetCachedSize() const final { return _cached_size_.Get(); }
541 
542  private:
543  inline void SharedCtor();
544  inline void SharedDtor();
545  void SetCachedSize(int size) const final;
546  void InternalSwap(HubStatus* other);
547  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
548  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
549  return "jaiabot.protobuf.HubStatus";
550  }
551  protected:
552  explicit HubStatus(::PROTOBUF_NAMESPACE_ID::Arena* arena);
553  private:
554  static void ArenaDtor(void* object);
555  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
556  public:
557 
558  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
559  private:
560  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
561  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_jaiabot_2fmessages_2fhub_2eproto);
562  return ::descriptor_table_jaiabot_2fmessages_2fhub_2eproto.file_level_metadata[kIndexInFileMessages];
563  }
564 
565  public:
566 
567  // nested types ----------------------------------------------------
568 
569  typedef HubStatus_BotOffloadData BotOffloadData;
570  typedef HubStatus_KnownBot KnownBot;
571 
572  // accessors -------------------------------------------------------
573 
574  enum : int {
575  kErrorFieldNumber = 5,
576  kWarningFieldNumber = 6,
577  kBotIdsInRadioFileFieldNumber = 11,
578  kKnownBotFieldNumber = 15,
579  kLocationFieldNumber = 10,
580  kLinuxHardwareStatusFieldNumber = 12,
581  kBotOffloadFieldNumber = 13,
582  kHubIdFieldNumber = 1,
583  kFleetIdFieldNumber = 2,
584  kTimeFieldNumber = 3,
585  kReceivedTimeFieldNumber = 14,
586  kHealthStateFieldNumber = 4,
587  };
588  // repeated .jaiabot.protobuf.Error error = 5 [(.dccl.field) = {
589  int error_size() const;
590  private:
591  int _internal_error_size() const;
592  public:
593  void clear_error();
594  private:
595  ::jaiabot::protobuf::Error _internal_error(int index) const;
596  void _internal_add_error(::jaiabot::protobuf::Error value);
597  ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* _internal_mutable_error();
598  public:
600  void set_error(int index, ::jaiabot::protobuf::Error value);
602  const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>& error() const;
603  ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* mutable_error();
604 
605  // repeated .jaiabot.protobuf.Warning warning = 6 [(.dccl.field) = {
606  int warning_size() const;
607  private:
608  int _internal_warning_size() const;
609  public:
611  private:
612  ::jaiabot::protobuf::Warning _internal_warning(int index) const;
613  void _internal_add_warning(::jaiabot::protobuf::Warning value);
614  ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* _internal_mutable_warning();
615  public:
617  void set_warning(int index, ::jaiabot::protobuf::Warning value);
619  const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>& warning() const;
620  ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* mutable_warning();
621 
622  // repeated uint32 bot_ids_in_radio_file = 11 [(.dccl.field) = {
624  private:
625  int _internal_bot_ids_in_radio_file_size() const;
626  public:
628  private:
629  ::PROTOBUF_NAMESPACE_ID::uint32 _internal_bot_ids_in_radio_file(int index) const;
630  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >&
631  _internal_bot_ids_in_radio_file() const;
632  void _internal_add_bot_ids_in_radio_file(::PROTOBUF_NAMESPACE_ID::uint32 value);
633  ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >*
634  _internal_mutable_bot_ids_in_radio_file();
635  public:
636  ::PROTOBUF_NAMESPACE_ID::uint32 bot_ids_in_radio_file(int index) const;
637  void set_bot_ids_in_radio_file(int index, ::PROTOBUF_NAMESPACE_ID::uint32 value);
638  void add_bot_ids_in_radio_file(::PROTOBUF_NAMESPACE_ID::uint32 value);
639  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >&
641  ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >*
643 
644  // repeated .jaiabot.protobuf.HubStatus.KnownBot known_bot = 15 [(.jaia.field) = {
645  int known_bot_size() const;
646  private:
647  int _internal_known_bot_size() const;
648  public:
650  ::jaiabot::protobuf::HubStatus_KnownBot* mutable_known_bot(int index);
651  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::HubStatus_KnownBot >*
653  private:
654  const ::jaiabot::protobuf::HubStatus_KnownBot& _internal_known_bot(int index) const;
655  ::jaiabot::protobuf::HubStatus_KnownBot* _internal_add_known_bot();
656  public:
657  const ::jaiabot::protobuf::HubStatus_KnownBot& known_bot(int index) const;
658  ::jaiabot::protobuf::HubStatus_KnownBot* add_known_bot();
659  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::HubStatus_KnownBot >&
660  known_bot() const;
661 
662  // optional .jaiabot.protobuf.GeographicCoordinate location = 10 [(.jaia.field) = {
663  bool has_location() const;
664  private:
665  bool _internal_has_location() const;
666  public:
668  const ::jaiabot::protobuf::GeographicCoordinate& location() const;
669  ::jaiabot::protobuf::GeographicCoordinate* release_location();
670  ::jaiabot::protobuf::GeographicCoordinate* mutable_location();
671  void set_allocated_location(::jaiabot::protobuf::GeographicCoordinate* location);
672  private:
673  const ::jaiabot::protobuf::GeographicCoordinate& _internal_location() const;
674  ::jaiabot::protobuf::GeographicCoordinate* _internal_mutable_location();
675  public:
677  ::jaiabot::protobuf::GeographicCoordinate* location);
678  ::jaiabot::protobuf::GeographicCoordinate* unsafe_arena_release_location();
679 
680  // optional .jaiabot.protobuf.LinuxHardwareStatus linux_hardware_status = 12;
682  private:
683  bool _internal_has_linux_hardware_status() const;
684  public:
686  const ::jaiabot::protobuf::LinuxHardwareStatus& linux_hardware_status() const;
687  ::jaiabot::protobuf::LinuxHardwareStatus* release_linux_hardware_status();
688  ::jaiabot::protobuf::LinuxHardwareStatus* mutable_linux_hardware_status();
689  void set_allocated_linux_hardware_status(::jaiabot::protobuf::LinuxHardwareStatus* linux_hardware_status);
690  private:
691  const ::jaiabot::protobuf::LinuxHardwareStatus& _internal_linux_hardware_status() const;
692  ::jaiabot::protobuf::LinuxHardwareStatus* _internal_mutable_linux_hardware_status();
693  public:
695  ::jaiabot::protobuf::LinuxHardwareStatus* linux_hardware_status);
696  ::jaiabot::protobuf::LinuxHardwareStatus* unsafe_arena_release_linux_hardware_status();
697 
698  // optional .jaiabot.protobuf.HubStatus.BotOffloadData bot_offload = 13;
699  bool has_bot_offload() const;
700  private:
701  bool _internal_has_bot_offload() const;
702  public:
704  const ::jaiabot::protobuf::HubStatus_BotOffloadData& bot_offload() const;
705  ::jaiabot::protobuf::HubStatus_BotOffloadData* release_bot_offload();
706  ::jaiabot::protobuf::HubStatus_BotOffloadData* mutable_bot_offload();
707  void set_allocated_bot_offload(::jaiabot::protobuf::HubStatus_BotOffloadData* bot_offload);
708  private:
709  const ::jaiabot::protobuf::HubStatus_BotOffloadData& _internal_bot_offload() const;
710  ::jaiabot::protobuf::HubStatus_BotOffloadData* _internal_mutable_bot_offload();
711  public:
713  ::jaiabot::protobuf::HubStatus_BotOffloadData* bot_offload);
714  ::jaiabot::protobuf::HubStatus_BotOffloadData* unsafe_arena_release_bot_offload();
715 
716  // required uint32 hub_id = 1 [(.jaia.field) = {
717  bool has_hub_id() const;
718  private:
719  bool _internal_has_hub_id() const;
720  public:
721  void clear_hub_id();
722  ::PROTOBUF_NAMESPACE_ID::uint32 hub_id() const;
723  void set_hub_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
724  private:
725  ::PROTOBUF_NAMESPACE_ID::uint32 _internal_hub_id() const;
726  void _internal_set_hub_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
727  public:
728 
729  // required uint32 fleet_id = 2 [(.jaia.field) = {
730  bool has_fleet_id() const;
731  private:
732  bool _internal_has_fleet_id() const;
733  public:
735  ::PROTOBUF_NAMESPACE_ID::uint32 fleet_id() const;
736  void set_fleet_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
737  private:
738  ::PROTOBUF_NAMESPACE_ID::uint32 _internal_fleet_id() const;
739  void _internal_set_fleet_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
740  public:
741 
742  // required uint64 time = 3 [(.dccl.field) = {
743  bool has_time() const;
744  private:
745  bool _internal_has_time() const;
746  public:
747  void clear_time();
748  ::PROTOBUF_NAMESPACE_ID::uint64 time() const;
749  void set_time(::PROTOBUF_NAMESPACE_ID::uint64 value);
750  private:
751  ::PROTOBUF_NAMESPACE_ID::uint64 _internal_time() const;
752  void _internal_set_time(::PROTOBUF_NAMESPACE_ID::uint64 value);
753  public:
754 
755  // optional uint64 received_time = 14 [(.dccl.field) = {
756  bool has_received_time() const;
757  private:
758  bool _internal_has_received_time() const;
759  public:
761  ::PROTOBUF_NAMESPACE_ID::uint64 received_time() const;
762  void set_received_time(::PROTOBUF_NAMESPACE_ID::uint64 value);
763  private:
764  ::PROTOBUF_NAMESPACE_ID::uint64 _internal_received_time() const;
765  void _internal_set_received_time(::PROTOBUF_NAMESPACE_ID::uint64 value);
766  public:
767 
768  // optional .goby.middleware.protobuf.HealthState health_state = 4 [(.jaia.field) = {
769  bool has_health_state() const;
770  private:
771  bool _internal_has_health_state() const;
772  public:
774  ::goby::middleware::protobuf::HealthState health_state() const;
775  void set_health_state(::goby::middleware::protobuf::HealthState value);
776  private:
777  ::goby::middleware::protobuf::HealthState _internal_health_state() const;
778  void _internal_set_health_state(::goby::middleware::protobuf::HealthState value);
779  public:
780 
781  typedef boost::units::time_dimension time_dimension;
782 
783  typedef boost::units::make_scaled_unit<boost::units::unit<time_dimension,boost::units::si::system> , boost::units::scale<10, boost::units::static_rational<-6> > >::type time_unit;
784 
785  template<typename Quantity >
786  void set_time_with_units(Quantity value_w_units)
787  { set_time(boost::units::quantity<time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
788 
789  template<typename Quantity >
790  Quantity time_with_units() const
791  { return Quantity(time() * time_unit()); };
792 
793  boost::units::quantity< time_unit,google::protobuf::uint64 > time_with_units() const
794  { return time_with_units<boost::units::quantity< time_unit,google::protobuf::uint64 > >(); };
795 
796  typedef boost::units::time_dimension received_time_dimension;
797 
798  typedef boost::units::make_scaled_unit<boost::units::unit<received_time_dimension,boost::units::si::system> , boost::units::scale<10, boost::units::static_rational<-6> > >::type received_time_unit;
799 
800  template<typename Quantity >
801  void set_received_time_with_units(Quantity value_w_units)
802  { set_received_time(boost::units::quantity<received_time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
803 
804  template<typename Quantity >
805  Quantity received_time_with_units() const
806  { return Quantity(received_time() * received_time_unit()); };
807 
808  boost::units::quantity< received_time_unit,google::protobuf::uint64 > received_time_with_units() const
809  { return received_time_with_units<boost::units::quantity< received_time_unit,google::protobuf::uint64 > >(); };
810 
811  // @@protoc_insertion_point(class_scope:jaiabot.protobuf.HubStatus)
812  private:
813  class _Internal;
814 
815  // helper for ByteSizeLong()
816  size_t RequiredFieldsByteSizeFallback() const;
817 
818  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
819  typedef void InternalArenaConstructable_;
820  typedef void DestructorSkippable_;
821  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
822  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
823  ::PROTOBUF_NAMESPACE_ID::RepeatedField<int> error_;
824  ::PROTOBUF_NAMESPACE_ID::RepeatedField<int> warning_;
825  ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 > bot_ids_in_radio_file_;
826  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::HubStatus_KnownBot > known_bot_;
827  ::jaiabot::protobuf::GeographicCoordinate* location_;
828  ::jaiabot::protobuf::LinuxHardwareStatus* linux_hardware_status_;
829  ::jaiabot::protobuf::HubStatus_BotOffloadData* bot_offload_;
830  ::PROTOBUF_NAMESPACE_ID::uint32 hub_id_;
831  ::PROTOBUF_NAMESPACE_ID::uint32 fleet_id_;
832  ::PROTOBUF_NAMESPACE_ID::uint64 time_;
833  ::PROTOBUF_NAMESPACE_ID::uint64 received_time_;
834  int health_state_;
835  friend struct ::TableStruct_jaiabot_2fmessages_2fhub_2eproto;
836 };
837 // ===================================================================
838 
839 
840 // ===================================================================
841 
842 #ifdef __GNUC__
843  #pragma GCC diagnostic push
844  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
845 #endif // __GNUC__
846 // HubStatus_BotOffloadData
847 
848 // required uint32 bot_id = 1;
849 inline bool HubStatus_BotOffloadData::_internal_has_bot_id() const {
850  bool value = (_has_bits_[0] & 0x00000001u) != 0;
851  return value;
852 }
853 inline bool HubStatus_BotOffloadData::has_bot_id() const {
854  return _internal_has_bot_id();
855 }
856 inline void HubStatus_BotOffloadData::clear_bot_id() {
857  bot_id_ = 0u;
858  _has_bits_[0] &= ~0x00000001u;
859 }
860 inline ::PROTOBUF_NAMESPACE_ID::uint32 HubStatus_BotOffloadData::_internal_bot_id() const {
861  return bot_id_;
862 }
863 inline ::PROTOBUF_NAMESPACE_ID::uint32 HubStatus_BotOffloadData::bot_id() const {
864  // @@protoc_insertion_point(field_get:jaiabot.protobuf.HubStatus.BotOffloadData.bot_id)
865  return _internal_bot_id();
866 }
867 inline void HubStatus_BotOffloadData::_internal_set_bot_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
868  _has_bits_[0] |= 0x00000001u;
869  bot_id_ = value;
870 }
871 inline void HubStatus_BotOffloadData::set_bot_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
872  _internal_set_bot_id(value);
873  // @@protoc_insertion_point(field_set:jaiabot.protobuf.HubStatus.BotOffloadData.bot_id)
874 }
875 
876 // optional int32 data_offload_percentage = 2;
877 inline bool HubStatus_BotOffloadData::_internal_has_data_offload_percentage() const {
878  bool value = (_has_bits_[0] & 0x00000002u) != 0;
879  return value;
880 }
881 inline bool HubStatus_BotOffloadData::has_data_offload_percentage() const {
882  return _internal_has_data_offload_percentage();
883 }
884 inline void HubStatus_BotOffloadData::clear_data_offload_percentage() {
885  data_offload_percentage_ = 0;
886  _has_bits_[0] &= ~0x00000002u;
887 }
888 inline ::PROTOBUF_NAMESPACE_ID::int32 HubStatus_BotOffloadData::_internal_data_offload_percentage() const {
889  return data_offload_percentage_;
890 }
891 inline ::PROTOBUF_NAMESPACE_ID::int32 HubStatus_BotOffloadData::data_offload_percentage() const {
892  // @@protoc_insertion_point(field_get:jaiabot.protobuf.HubStatus.BotOffloadData.data_offload_percentage)
893  return _internal_data_offload_percentage();
894 }
895 inline void HubStatus_BotOffloadData::_internal_set_data_offload_percentage(::PROTOBUF_NAMESPACE_ID::int32 value) {
896  _has_bits_[0] |= 0x00000002u;
897  data_offload_percentage_ = value;
898 }
899 inline void HubStatus_BotOffloadData::set_data_offload_percentage(::PROTOBUF_NAMESPACE_ID::int32 value) {
900  _internal_set_data_offload_percentage(value);
901  // @@protoc_insertion_point(field_set:jaiabot.protobuf.HubStatus.BotOffloadData.data_offload_percentage)
902 }
903 
904 // optional bool offload_succeeded = 3;
905 inline bool HubStatus_BotOffloadData::_internal_has_offload_succeeded() const {
906  bool value = (_has_bits_[0] & 0x00000004u) != 0;
907  return value;
908 }
909 inline bool HubStatus_BotOffloadData::has_offload_succeeded() const {
910  return _internal_has_offload_succeeded();
911 }
912 inline void HubStatus_BotOffloadData::clear_offload_succeeded() {
913  offload_succeeded_ = false;
914  _has_bits_[0] &= ~0x00000004u;
915 }
916 inline bool HubStatus_BotOffloadData::_internal_offload_succeeded() const {
917  return offload_succeeded_;
918 }
919 inline bool HubStatus_BotOffloadData::offload_succeeded() const {
920  // @@protoc_insertion_point(field_get:jaiabot.protobuf.HubStatus.BotOffloadData.offload_succeeded)
921  return _internal_offload_succeeded();
922 }
923 inline void HubStatus_BotOffloadData::_internal_set_offload_succeeded(bool value) {
924  _has_bits_[0] |= 0x00000004u;
925  offload_succeeded_ = value;
926 }
927 inline void HubStatus_BotOffloadData::set_offload_succeeded(bool value) {
928  _internal_set_offload_succeeded(value);
929  // @@protoc_insertion_point(field_set:jaiabot.protobuf.HubStatus.BotOffloadData.offload_succeeded)
930 }
931 
932 // -------------------------------------------------------------------
933 
934 // HubStatus_KnownBot
935 
936 // required uint32 id = 1 [(.jaia.field) = {
937 inline bool HubStatus_KnownBot::_internal_has_id() const {
938  bool value = (_has_bits_[0] & 0x00000002u) != 0;
939  return value;
940 }
941 inline bool HubStatus_KnownBot::has_id() const {
942  return _internal_has_id();
943 }
944 inline void HubStatus_KnownBot::clear_id() {
945  id_ = 0u;
946  _has_bits_[0] &= ~0x00000002u;
947 }
948 inline ::PROTOBUF_NAMESPACE_ID::uint32 HubStatus_KnownBot::_internal_id() const {
949  return id_;
950 }
951 inline ::PROTOBUF_NAMESPACE_ID::uint32 HubStatus_KnownBot::id() const {
952  // @@protoc_insertion_point(field_get:jaiabot.protobuf.HubStatus.KnownBot.id)
953  return _internal_id();
954 }
955 inline void HubStatus_KnownBot::_internal_set_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
956  _has_bits_[0] |= 0x00000002u;
957  id_ = value;
958 }
959 inline void HubStatus_KnownBot::set_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
960  _internal_set_id(value);
961  // @@protoc_insertion_point(field_set:jaiabot.protobuf.HubStatus.KnownBot.id)
962 }
963 
964 // required uint64 last_status_time = 2 [(.dccl.field) = {
965 inline bool HubStatus_KnownBot::_internal_has_last_status_time() const {
966  bool value = (_has_bits_[0] & 0x00000001u) != 0;
967  return value;
968 }
969 inline bool HubStatus_KnownBot::has_last_status_time() const {
970  return _internal_has_last_status_time();
971 }
972 inline void HubStatus_KnownBot::clear_last_status_time() {
973  last_status_time_ = PROTOBUF_ULONGLONG(0);
974  _has_bits_[0] &= ~0x00000001u;
975 }
976 inline ::PROTOBUF_NAMESPACE_ID::uint64 HubStatus_KnownBot::_internal_last_status_time() const {
977  return last_status_time_;
978 }
979 inline ::PROTOBUF_NAMESPACE_ID::uint64 HubStatus_KnownBot::last_status_time() const {
980  // @@protoc_insertion_point(field_get:jaiabot.protobuf.HubStatus.KnownBot.last_status_time)
981  return _internal_last_status_time();
982 }
983 inline void HubStatus_KnownBot::_internal_set_last_status_time(::PROTOBUF_NAMESPACE_ID::uint64 value) {
984  _has_bits_[0] |= 0x00000001u;
985  last_status_time_ = value;
986 }
987 inline void HubStatus_KnownBot::set_last_status_time(::PROTOBUF_NAMESPACE_ID::uint64 value) {
988  _internal_set_last_status_time(value);
989  // @@protoc_insertion_point(field_set:jaiabot.protobuf.HubStatus.KnownBot.last_status_time)
990 }
991 
992 // -------------------------------------------------------------------
993 
994 // HubStatus
995 
996 // required uint32 hub_id = 1 [(.jaia.field) = {
997 inline bool HubStatus::_internal_has_hub_id() const {
998  bool value = (_has_bits_[0] & 0x00000008u) != 0;
999  return value;
1000 }
1001 inline bool HubStatus::has_hub_id() const {
1002  return _internal_has_hub_id();
1003 }
1004 inline void HubStatus::clear_hub_id() {
1005  hub_id_ = 0u;
1006  _has_bits_[0] &= ~0x00000008u;
1007 }
1008 inline ::PROTOBUF_NAMESPACE_ID::uint32 HubStatus::_internal_hub_id() const {
1009  return hub_id_;
1010 }
1011 inline ::PROTOBUF_NAMESPACE_ID::uint32 HubStatus::hub_id() const {
1012  // @@protoc_insertion_point(field_get:jaiabot.protobuf.HubStatus.hub_id)
1013  return _internal_hub_id();
1014 }
1015 inline void HubStatus::_internal_set_hub_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
1016  _has_bits_[0] |= 0x00000008u;
1017  hub_id_ = value;
1018 }
1019 inline void HubStatus::set_hub_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
1020  _internal_set_hub_id(value);
1021  // @@protoc_insertion_point(field_set:jaiabot.protobuf.HubStatus.hub_id)
1022 }
1023 
1024 // required uint32 fleet_id = 2 [(.jaia.field) = {
1025 inline bool HubStatus::_internal_has_fleet_id() const {
1026  bool value = (_has_bits_[0] & 0x00000010u) != 0;
1027  return value;
1028 }
1029 inline bool HubStatus::has_fleet_id() const {
1030  return _internal_has_fleet_id();
1031 }
1032 inline void HubStatus::clear_fleet_id() {
1033  fleet_id_ = 0u;
1034  _has_bits_[0] &= ~0x00000010u;
1035 }
1036 inline ::PROTOBUF_NAMESPACE_ID::uint32 HubStatus::_internal_fleet_id() const {
1037  return fleet_id_;
1038 }
1039 inline ::PROTOBUF_NAMESPACE_ID::uint32 HubStatus::fleet_id() const {
1040  // @@protoc_insertion_point(field_get:jaiabot.protobuf.HubStatus.fleet_id)
1041  return _internal_fleet_id();
1042 }
1043 inline void HubStatus::_internal_set_fleet_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
1044  _has_bits_[0] |= 0x00000010u;
1045  fleet_id_ = value;
1046 }
1047 inline void HubStatus::set_fleet_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
1048  _internal_set_fleet_id(value);
1049  // @@protoc_insertion_point(field_set:jaiabot.protobuf.HubStatus.fleet_id)
1050 }
1051 
1052 // required uint64 time = 3 [(.dccl.field) = {
1053 inline bool HubStatus::_internal_has_time() const {
1054  bool value = (_has_bits_[0] & 0x00000020u) != 0;
1055  return value;
1056 }
1057 inline bool HubStatus::has_time() const {
1058  return _internal_has_time();
1059 }
1060 inline void HubStatus::clear_time() {
1061  time_ = PROTOBUF_ULONGLONG(0);
1062  _has_bits_[0] &= ~0x00000020u;
1063 }
1064 inline ::PROTOBUF_NAMESPACE_ID::uint64 HubStatus::_internal_time() const {
1065  return time_;
1066 }
1067 inline ::PROTOBUF_NAMESPACE_ID::uint64 HubStatus::time() const {
1068  // @@protoc_insertion_point(field_get:jaiabot.protobuf.HubStatus.time)
1069  return _internal_time();
1070 }
1071 inline void HubStatus::_internal_set_time(::PROTOBUF_NAMESPACE_ID::uint64 value) {
1072  _has_bits_[0] |= 0x00000020u;
1073  time_ = value;
1074 }
1075 inline void HubStatus::set_time(::PROTOBUF_NAMESPACE_ID::uint64 value) {
1076  _internal_set_time(value);
1077  // @@protoc_insertion_point(field_set:jaiabot.protobuf.HubStatus.time)
1078 }
1079 
1080 // optional .goby.middleware.protobuf.HealthState health_state = 4 [(.jaia.field) = {
1081 inline bool HubStatus::_internal_has_health_state() const {
1082  bool value = (_has_bits_[0] & 0x00000080u) != 0;
1083  return value;
1084 }
1085 inline bool HubStatus::has_health_state() const {
1086  return _internal_has_health_state();
1087 }
1088 inline void HubStatus::clear_health_state() {
1089  health_state_ = 1;
1090  _has_bits_[0] &= ~0x00000080u;
1091 }
1092 inline ::goby::middleware::protobuf::HealthState HubStatus::_internal_health_state() const {
1093  return static_cast< ::goby::middleware::protobuf::HealthState >(health_state_);
1094 }
1095 inline ::goby::middleware::protobuf::HealthState HubStatus::health_state() const {
1096  // @@protoc_insertion_point(field_get:jaiabot.protobuf.HubStatus.health_state)
1097  return _internal_health_state();
1098 }
1099 inline void HubStatus::_internal_set_health_state(::goby::middleware::protobuf::HealthState value) {
1100  assert(::goby::middleware::protobuf::HealthState_IsValid(value));
1101  _has_bits_[0] |= 0x00000080u;
1102  health_state_ = value;
1103 }
1104 inline void HubStatus::set_health_state(::goby::middleware::protobuf::HealthState value) {
1105  _internal_set_health_state(value);
1106  // @@protoc_insertion_point(field_set:jaiabot.protobuf.HubStatus.health_state)
1107 }
1108 
1109 // repeated .jaiabot.protobuf.Error error = 5 [(.dccl.field) = {
1110 inline int HubStatus::_internal_error_size() const {
1111  return error_.size();
1112 }
1113 inline int HubStatus::error_size() const {
1114  return _internal_error_size();
1115 }
1116 inline void HubStatus::clear_error() {
1117  error_.Clear();
1118 }
1119 inline ::jaiabot::protobuf::Error HubStatus::_internal_error(int index) const {
1120  return static_cast< ::jaiabot::protobuf::Error >(error_.Get(index));
1121 }
1122 inline ::jaiabot::protobuf::Error HubStatus::error(int index) const {
1123  // @@protoc_insertion_point(field_get:jaiabot.protobuf.HubStatus.error)
1124  return _internal_error(index);
1125 }
1126 inline void HubStatus::set_error(int index, ::jaiabot::protobuf::Error value) {
1127  assert(::jaiabot::protobuf::Error_IsValid(value));
1128  error_.Set(index, value);
1129  // @@protoc_insertion_point(field_set:jaiabot.protobuf.HubStatus.error)
1130 }
1131 inline void HubStatus::_internal_add_error(::jaiabot::protobuf::Error value) {
1132  assert(::jaiabot::protobuf::Error_IsValid(value));
1133  error_.Add(value);
1134 }
1135 inline void HubStatus::add_error(::jaiabot::protobuf::Error value) {
1136  // @@protoc_insertion_point(field_add:jaiabot.protobuf.HubStatus.error)
1137  _internal_add_error(value);
1138 }
1139 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>&
1140 HubStatus::error() const {
1141  // @@protoc_insertion_point(field_list:jaiabot.protobuf.HubStatus.error)
1142  return error_;
1143 }
1144 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
1145 HubStatus::_internal_mutable_error() {
1146  return &error_;
1147 }
1148 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
1149 HubStatus::mutable_error() {
1150  // @@protoc_insertion_point(field_mutable_list:jaiabot.protobuf.HubStatus.error)
1151  return _internal_mutable_error();
1152 }
1153 
1154 // repeated .jaiabot.protobuf.Warning warning = 6 [(.dccl.field) = {
1155 inline int HubStatus::_internal_warning_size() const {
1156  return warning_.size();
1157 }
1158 inline int HubStatus::warning_size() const {
1159  return _internal_warning_size();
1160 }
1161 inline void HubStatus::clear_warning() {
1162  warning_.Clear();
1163 }
1164 inline ::jaiabot::protobuf::Warning HubStatus::_internal_warning(int index) const {
1165  return static_cast< ::jaiabot::protobuf::Warning >(warning_.Get(index));
1166 }
1167 inline ::jaiabot::protobuf::Warning HubStatus::warning(int index) const {
1168  // @@protoc_insertion_point(field_get:jaiabot.protobuf.HubStatus.warning)
1169  return _internal_warning(index);
1170 }
1171 inline void HubStatus::set_warning(int index, ::jaiabot::protobuf::Warning value) {
1172  assert(::jaiabot::protobuf::Warning_IsValid(value));
1173  warning_.Set(index, value);
1174  // @@protoc_insertion_point(field_set:jaiabot.protobuf.HubStatus.warning)
1175 }
1176 inline void HubStatus::_internal_add_warning(::jaiabot::protobuf::Warning value) {
1177  assert(::jaiabot::protobuf::Warning_IsValid(value));
1178  warning_.Add(value);
1179 }
1180 inline void HubStatus::add_warning(::jaiabot::protobuf::Warning value) {
1181  // @@protoc_insertion_point(field_add:jaiabot.protobuf.HubStatus.warning)
1182  _internal_add_warning(value);
1183 }
1184 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>&
1185 HubStatus::warning() const {
1186  // @@protoc_insertion_point(field_list:jaiabot.protobuf.HubStatus.warning)
1187  return warning_;
1188 }
1189 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
1190 HubStatus::_internal_mutable_warning() {
1191  return &warning_;
1192 }
1193 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
1194 HubStatus::mutable_warning() {
1195  // @@protoc_insertion_point(field_mutable_list:jaiabot.protobuf.HubStatus.warning)
1196  return _internal_mutable_warning();
1197 }
1198 
1199 // optional .jaiabot.protobuf.GeographicCoordinate location = 10 [(.jaia.field) = {
1200 inline bool HubStatus::_internal_has_location() const {
1201  bool value = (_has_bits_[0] & 0x00000001u) != 0;
1202  PROTOBUF_ASSUME(!value || location_ != nullptr);
1203  return value;
1204 }
1205 inline bool HubStatus::has_location() const {
1206  return _internal_has_location();
1207 }
1208 inline const ::jaiabot::protobuf::GeographicCoordinate& HubStatus::_internal_location() const {
1209  const ::jaiabot::protobuf::GeographicCoordinate* p = location_;
1210  return p != nullptr ? *p : *reinterpret_cast<const ::jaiabot::protobuf::GeographicCoordinate*>(
1212 }
1213 inline const ::jaiabot::protobuf::GeographicCoordinate& HubStatus::location() const {
1214  // @@protoc_insertion_point(field_get:jaiabot.protobuf.HubStatus.location)
1215  return _internal_location();
1216 }
1217 inline void HubStatus::unsafe_arena_set_allocated_location(
1218  ::jaiabot::protobuf::GeographicCoordinate* location) {
1219  if (GetArena() == nullptr) {
1220  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(location_);
1221  }
1222  location_ = location;
1223  if (location) {
1224  _has_bits_[0] |= 0x00000001u;
1225  } else {
1226  _has_bits_[0] &= ~0x00000001u;
1227  }
1228  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.HubStatus.location)
1229 }
1230 inline ::jaiabot::protobuf::GeographicCoordinate* HubStatus::release_location() {
1231  auto temp = unsafe_arena_release_location();
1232  if (GetArena() != nullptr) {
1233  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1234  }
1235  return temp;
1236 }
1237 inline ::jaiabot::protobuf::GeographicCoordinate* HubStatus::unsafe_arena_release_location() {
1238  // @@protoc_insertion_point(field_release:jaiabot.protobuf.HubStatus.location)
1239  _has_bits_[0] &= ~0x00000001u;
1240  ::jaiabot::protobuf::GeographicCoordinate* temp = location_;
1241  location_ = nullptr;
1242  return temp;
1243 }
1244 inline ::jaiabot::protobuf::GeographicCoordinate* HubStatus::_internal_mutable_location() {
1245  _has_bits_[0] |= 0x00000001u;
1246  if (location_ == nullptr) {
1247  auto* p = CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate>(GetArena());
1248  location_ = p;
1249  }
1250  return location_;
1251 }
1252 inline ::jaiabot::protobuf::GeographicCoordinate* HubStatus::mutable_location() {
1253  // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.HubStatus.location)
1254  return _internal_mutable_location();
1255 }
1256 inline void HubStatus::set_allocated_location(::jaiabot::protobuf::GeographicCoordinate* location) {
1257  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1258  if (message_arena == nullptr) {
1259  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(location_);
1260  }
1261  if (location) {
1262  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1263  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(location)->GetArena();
1264  if (message_arena != submessage_arena) {
1265  location = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1266  message_arena, location, submessage_arena);
1267  }
1268  _has_bits_[0] |= 0x00000001u;
1269  } else {
1270  _has_bits_[0] &= ~0x00000001u;
1271  }
1272  location_ = location;
1273  // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.HubStatus.location)
1274 }
1275 
1276 // repeated uint32 bot_ids_in_radio_file = 11 [(.dccl.field) = {
1277 inline int HubStatus::_internal_bot_ids_in_radio_file_size() const {
1278  return bot_ids_in_radio_file_.size();
1279 }
1280 inline int HubStatus::bot_ids_in_radio_file_size() const {
1281  return _internal_bot_ids_in_radio_file_size();
1282 }
1283 inline void HubStatus::clear_bot_ids_in_radio_file() {
1284  bot_ids_in_radio_file_.Clear();
1285 }
1286 inline ::PROTOBUF_NAMESPACE_ID::uint32 HubStatus::_internal_bot_ids_in_radio_file(int index) const {
1287  return bot_ids_in_radio_file_.Get(index);
1288 }
1289 inline ::PROTOBUF_NAMESPACE_ID::uint32 HubStatus::bot_ids_in_radio_file(int index) const {
1290  // @@protoc_insertion_point(field_get:jaiabot.protobuf.HubStatus.bot_ids_in_radio_file)
1291  return _internal_bot_ids_in_radio_file(index);
1292 }
1293 inline void HubStatus::set_bot_ids_in_radio_file(int index, ::PROTOBUF_NAMESPACE_ID::uint32 value) {
1294  bot_ids_in_radio_file_.Set(index, value);
1295  // @@protoc_insertion_point(field_set:jaiabot.protobuf.HubStatus.bot_ids_in_radio_file)
1296 }
1297 inline void HubStatus::_internal_add_bot_ids_in_radio_file(::PROTOBUF_NAMESPACE_ID::uint32 value) {
1298  bot_ids_in_radio_file_.Add(value);
1299 }
1300 inline void HubStatus::add_bot_ids_in_radio_file(::PROTOBUF_NAMESPACE_ID::uint32 value) {
1301  _internal_add_bot_ids_in_radio_file(value);
1302  // @@protoc_insertion_point(field_add:jaiabot.protobuf.HubStatus.bot_ids_in_radio_file)
1303 }
1304 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >&
1305 HubStatus::_internal_bot_ids_in_radio_file() const {
1306  return bot_ids_in_radio_file_;
1307 }
1308 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >&
1309 HubStatus::bot_ids_in_radio_file() const {
1310  // @@protoc_insertion_point(field_list:jaiabot.protobuf.HubStatus.bot_ids_in_radio_file)
1311  return _internal_bot_ids_in_radio_file();
1312 }
1313 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >*
1314 HubStatus::_internal_mutable_bot_ids_in_radio_file() {
1315  return &bot_ids_in_radio_file_;
1316 }
1317 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >*
1318 HubStatus::mutable_bot_ids_in_radio_file() {
1319  // @@protoc_insertion_point(field_mutable_list:jaiabot.protobuf.HubStatus.bot_ids_in_radio_file)
1320  return _internal_mutable_bot_ids_in_radio_file();
1321 }
1322 
1323 // optional .jaiabot.protobuf.LinuxHardwareStatus linux_hardware_status = 12;
1324 inline bool HubStatus::_internal_has_linux_hardware_status() const {
1325  bool value = (_has_bits_[0] & 0x00000002u) != 0;
1326  PROTOBUF_ASSUME(!value || linux_hardware_status_ != nullptr);
1327  return value;
1328 }
1329 inline bool HubStatus::has_linux_hardware_status() const {
1330  return _internal_has_linux_hardware_status();
1331 }
1332 inline const ::jaiabot::protobuf::LinuxHardwareStatus& HubStatus::_internal_linux_hardware_status() const {
1333  const ::jaiabot::protobuf::LinuxHardwareStatus* p = linux_hardware_status_;
1334  return p != nullptr ? *p : *reinterpret_cast<const ::jaiabot::protobuf::LinuxHardwareStatus*>(
1336 }
1337 inline const ::jaiabot::protobuf::LinuxHardwareStatus& HubStatus::linux_hardware_status() const {
1338  // @@protoc_insertion_point(field_get:jaiabot.protobuf.HubStatus.linux_hardware_status)
1339  return _internal_linux_hardware_status();
1340 }
1341 inline void HubStatus::unsafe_arena_set_allocated_linux_hardware_status(
1342  ::jaiabot::protobuf::LinuxHardwareStatus* linux_hardware_status) {
1343  if (GetArena() == nullptr) {
1344  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(linux_hardware_status_);
1345  }
1346  linux_hardware_status_ = linux_hardware_status;
1347  if (linux_hardware_status) {
1348  _has_bits_[0] |= 0x00000002u;
1349  } else {
1350  _has_bits_[0] &= ~0x00000002u;
1351  }
1352  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.HubStatus.linux_hardware_status)
1353 }
1354 inline ::jaiabot::protobuf::LinuxHardwareStatus* HubStatus::release_linux_hardware_status() {
1355  auto temp = unsafe_arena_release_linux_hardware_status();
1356  if (GetArena() != nullptr) {
1357  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1358  }
1359  return temp;
1360 }
1361 inline ::jaiabot::protobuf::LinuxHardwareStatus* HubStatus::unsafe_arena_release_linux_hardware_status() {
1362  // @@protoc_insertion_point(field_release:jaiabot.protobuf.HubStatus.linux_hardware_status)
1363  _has_bits_[0] &= ~0x00000002u;
1364  ::jaiabot::protobuf::LinuxHardwareStatus* temp = linux_hardware_status_;
1365  linux_hardware_status_ = nullptr;
1366  return temp;
1367 }
1368 inline ::jaiabot::protobuf::LinuxHardwareStatus* HubStatus::_internal_mutable_linux_hardware_status() {
1369  _has_bits_[0] |= 0x00000002u;
1370  if (linux_hardware_status_ == nullptr) {
1371  auto* p = CreateMaybeMessage<::jaiabot::protobuf::LinuxHardwareStatus>(GetArena());
1372  linux_hardware_status_ = p;
1373  }
1374  return linux_hardware_status_;
1375 }
1376 inline ::jaiabot::protobuf::LinuxHardwareStatus* HubStatus::mutable_linux_hardware_status() {
1377  // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.HubStatus.linux_hardware_status)
1378  return _internal_mutable_linux_hardware_status();
1379 }
1380 inline void HubStatus::set_allocated_linux_hardware_status(::jaiabot::protobuf::LinuxHardwareStatus* linux_hardware_status) {
1381  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1382  if (message_arena == nullptr) {
1383  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(linux_hardware_status_);
1384  }
1385  if (linux_hardware_status) {
1386  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1387  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(linux_hardware_status)->GetArena();
1388  if (message_arena != submessage_arena) {
1389  linux_hardware_status = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1390  message_arena, linux_hardware_status, submessage_arena);
1391  }
1392  _has_bits_[0] |= 0x00000002u;
1393  } else {
1394  _has_bits_[0] &= ~0x00000002u;
1395  }
1396  linux_hardware_status_ = linux_hardware_status;
1397  // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.HubStatus.linux_hardware_status)
1398 }
1399 
1400 // optional .jaiabot.protobuf.HubStatus.BotOffloadData bot_offload = 13;
1401 inline bool HubStatus::_internal_has_bot_offload() const {
1402  bool value = (_has_bits_[0] & 0x00000004u) != 0;
1403  PROTOBUF_ASSUME(!value || bot_offload_ != nullptr);
1404  return value;
1405 }
1406 inline bool HubStatus::has_bot_offload() const {
1407  return _internal_has_bot_offload();
1408 }
1409 inline void HubStatus::clear_bot_offload() {
1410  if (bot_offload_ != nullptr) bot_offload_->Clear();
1411  _has_bits_[0] &= ~0x00000004u;
1412 }
1413 inline const ::jaiabot::protobuf::HubStatus_BotOffloadData& HubStatus::_internal_bot_offload() const {
1414  const ::jaiabot::protobuf::HubStatus_BotOffloadData* p = bot_offload_;
1415  return p != nullptr ? *p : *reinterpret_cast<const ::jaiabot::protobuf::HubStatus_BotOffloadData*>(
1417 }
1418 inline const ::jaiabot::protobuf::HubStatus_BotOffloadData& HubStatus::bot_offload() const {
1419  // @@protoc_insertion_point(field_get:jaiabot.protobuf.HubStatus.bot_offload)
1420  return _internal_bot_offload();
1421 }
1422 inline void HubStatus::unsafe_arena_set_allocated_bot_offload(
1423  ::jaiabot::protobuf::HubStatus_BotOffloadData* bot_offload) {
1424  if (GetArena() == nullptr) {
1425  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(bot_offload_);
1426  }
1427  bot_offload_ = bot_offload;
1428  if (bot_offload) {
1429  _has_bits_[0] |= 0x00000004u;
1430  } else {
1431  _has_bits_[0] &= ~0x00000004u;
1432  }
1433  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.HubStatus.bot_offload)
1434 }
1435 inline ::jaiabot::protobuf::HubStatus_BotOffloadData* HubStatus::release_bot_offload() {
1436  auto temp = unsafe_arena_release_bot_offload();
1437  if (GetArena() != nullptr) {
1438  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1439  }
1440  return temp;
1441 }
1442 inline ::jaiabot::protobuf::HubStatus_BotOffloadData* HubStatus::unsafe_arena_release_bot_offload() {
1443  // @@protoc_insertion_point(field_release:jaiabot.protobuf.HubStatus.bot_offload)
1444  _has_bits_[0] &= ~0x00000004u;
1445  ::jaiabot::protobuf::HubStatus_BotOffloadData* temp = bot_offload_;
1446  bot_offload_ = nullptr;
1447  return temp;
1448 }
1449 inline ::jaiabot::protobuf::HubStatus_BotOffloadData* HubStatus::_internal_mutable_bot_offload() {
1450  _has_bits_[0] |= 0x00000004u;
1451  if (bot_offload_ == nullptr) {
1452  auto* p = CreateMaybeMessage<::jaiabot::protobuf::HubStatus_BotOffloadData>(GetArena());
1453  bot_offload_ = p;
1454  }
1455  return bot_offload_;
1456 }
1457 inline ::jaiabot::protobuf::HubStatus_BotOffloadData* HubStatus::mutable_bot_offload() {
1458  // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.HubStatus.bot_offload)
1459  return _internal_mutable_bot_offload();
1460 }
1461 inline void HubStatus::set_allocated_bot_offload(::jaiabot::protobuf::HubStatus_BotOffloadData* bot_offload) {
1462  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1463  if (message_arena == nullptr) {
1464  delete bot_offload_;
1465  }
1466  if (bot_offload) {
1467  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1468  ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(bot_offload);
1469  if (message_arena != submessage_arena) {
1470  bot_offload = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1471  message_arena, bot_offload, submessage_arena);
1472  }
1473  _has_bits_[0] |= 0x00000004u;
1474  } else {
1475  _has_bits_[0] &= ~0x00000004u;
1476  }
1477  bot_offload_ = bot_offload;
1478  // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.HubStatus.bot_offload)
1479 }
1480 
1481 // optional uint64 received_time = 14 [(.dccl.field) = {
1482 inline bool HubStatus::_internal_has_received_time() const {
1483  bool value = (_has_bits_[0] & 0x00000040u) != 0;
1484  return value;
1485 }
1486 inline bool HubStatus::has_received_time() const {
1487  return _internal_has_received_time();
1488 }
1489 inline void HubStatus::clear_received_time() {
1490  received_time_ = PROTOBUF_ULONGLONG(0);
1491  _has_bits_[0] &= ~0x00000040u;
1492 }
1493 inline ::PROTOBUF_NAMESPACE_ID::uint64 HubStatus::_internal_received_time() const {
1494  return received_time_;
1495 }
1496 inline ::PROTOBUF_NAMESPACE_ID::uint64 HubStatus::received_time() const {
1497  // @@protoc_insertion_point(field_get:jaiabot.protobuf.HubStatus.received_time)
1498  return _internal_received_time();
1499 }
1500 inline void HubStatus::_internal_set_received_time(::PROTOBUF_NAMESPACE_ID::uint64 value) {
1501  _has_bits_[0] |= 0x00000040u;
1502  received_time_ = value;
1503 }
1504 inline void HubStatus::set_received_time(::PROTOBUF_NAMESPACE_ID::uint64 value) {
1505  _internal_set_received_time(value);
1506  // @@protoc_insertion_point(field_set:jaiabot.protobuf.HubStatus.received_time)
1507 }
1508 
1509 // repeated .jaiabot.protobuf.HubStatus.KnownBot known_bot = 15 [(.jaia.field) = {
1510 inline int HubStatus::_internal_known_bot_size() const {
1511  return known_bot_.size();
1512 }
1513 inline int HubStatus::known_bot_size() const {
1514  return _internal_known_bot_size();
1515 }
1516 inline void HubStatus::clear_known_bot() {
1517  known_bot_.Clear();
1518 }
1519 inline ::jaiabot::protobuf::HubStatus_KnownBot* HubStatus::mutable_known_bot(int index) {
1520  // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.HubStatus.known_bot)
1521  return known_bot_.Mutable(index);
1522 }
1523 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::HubStatus_KnownBot >*
1524 HubStatus::mutable_known_bot() {
1525  // @@protoc_insertion_point(field_mutable_list:jaiabot.protobuf.HubStatus.known_bot)
1526  return &known_bot_;
1527 }
1528 inline const ::jaiabot::protobuf::HubStatus_KnownBot& HubStatus::_internal_known_bot(int index) const {
1529  return known_bot_.Get(index);
1530 }
1531 inline const ::jaiabot::protobuf::HubStatus_KnownBot& HubStatus::known_bot(int index) const {
1532  // @@protoc_insertion_point(field_get:jaiabot.protobuf.HubStatus.known_bot)
1533  return _internal_known_bot(index);
1534 }
1535 inline ::jaiabot::protobuf::HubStatus_KnownBot* HubStatus::_internal_add_known_bot() {
1536  return known_bot_.Add();
1537 }
1538 inline ::jaiabot::protobuf::HubStatus_KnownBot* HubStatus::add_known_bot() {
1539  // @@protoc_insertion_point(field_add:jaiabot.protobuf.HubStatus.known_bot)
1540  return _internal_add_known_bot();
1541 }
1542 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::HubStatus_KnownBot >&
1543 HubStatus::known_bot() const {
1544  // @@protoc_insertion_point(field_list:jaiabot.protobuf.HubStatus.known_bot)
1545  return known_bot_;
1546 }
1547 
1548 #ifdef __GNUC__
1549  #pragma GCC diagnostic pop
1550 #endif // __GNUC__
1551 // -------------------------------------------------------------------
1552 
1553 // -------------------------------------------------------------------
1554 
1555 
1556 // @@protoc_insertion_point(namespace_scope)
1557 
1558 } // namespace protobuf
1559 } // namespace jaiabot
1560 
1561 // @@protoc_insertion_point(global_scope)
1562 
1563 #include <google/protobuf/port_undef.inc>
1564 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fhub_2eproto
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::HubStatus_KnownBot > * mutable_known_bot()
HubStatus_KnownBot KnownBot
Definition: hub.pb.h:570
::jaiabot::protobuf::HubStatus_BotOffloadData * unsafe_arena_release_bot_offload()
boost::units::make_scaled_unit< boost::units::unit< received_time_dimension, boost::units::si::system >, boost::units::scale< 10, boost::units::static_rational<-6 > > >::type received_time_unit
Definition: hub.pb.h:798
HubStatus_KnownBot & operator=(HubStatus_KnownBot &&from) noexcept
Definition: hub.pb.h:286
void MergeFrom(const HubStatus_BotOffloadData &from)
::PROTOBUF_NAMESPACE_ID::uint64 received_time() const
::jaiabot::protobuf::Error error(int index) const
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Definition: hub.pb.h:116
void Swap(HubStatus *other)
Definition: hub.pb.h:506
::PROTOBUF_NAMESPACE_ID::uint32 fleet_id() const
HubStatus_KnownBot(::PROTOBUF_NAMESPACE_ID::Arena *arena)
static const HubStatus * internal_default_instance()
Definition: hub.pb.h:496
friend void swap(HubStatus_BotOffloadData &a, HubStatus_BotOffloadData &b)
Definition: hub.pb.h:142
HubStatus_KnownBot & operator=(const HubStatus_KnownBot &from)
Definition: hub.pb.h:282
void set_time_with_units(Quantity value_w_units)
Definition: hub.pb.h:786
friend void swap(HubStatus_KnownBot &a, HubStatus_KnownBot &b)
Definition: hub.pb.h:321
::jaiabot::protobuf::GeographicCoordinate * mutable_location()
static const HubStatus_BotOffloadData * internal_default_instance()
Definition: hub.pb.h:135
HubStatus_BotOffloadData(const HubStatus_BotOffloadData &from)
const ::jaiabot::protobuf::LinuxHardwareStatus & linux_hardware_status() const
void MergeFrom(const HubStatus_KnownBot &from)
HubStatus_KnownBot(HubStatus_KnownBot &&from) noexcept
Definition: hub.pb.h:277
void set_error(int index, ::jaiabot::protobuf::Error value)
Quantity last_status_time_with_units() const
Definition: hub.pb.h:428
void add_warning(::jaiabot::protobuf::Warning value)
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::HubStatus_KnownBot > & known_bot() const
::PROTOBUF_NAMESPACE_ID::int32 data_offload_percentage() const
HubStatus & operator=(const HubStatus &from)
Definition: hub.pb.h:464
boost::units::make_scaled_unit< boost::units::unit< last_status_time_dimension, boost::units::si::system >, boost::units::scale< 10, boost::units::static_rational<-6 > > >::type last_status_time_unit
Definition: hub.pb.h:421
HubStatus(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void UnsafeArenaSwap(HubStatus_KnownBot *other)
Definition: hub.pb.h:332
HubStatus(const HubStatus &from)
void set_bot_id(::PROTOBUF_NAMESPACE_ID::uint32 value)
void set_last_status_time(::PROTOBUF_NAMESPACE_ID::uint64 value)
boost::units::time_dimension time_dimension
Definition: hub.pb.h:781
friend void swap(HubStatus &a, HubStatus &b)
Definition: hub.pb.h:503
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
::PROTOBUF_NAMESPACE_ID::uint32 bot_ids_in_radio_file(int index) const
boost::units::quantity< received_time_unit, google::protobuf::uint64 > received_time_with_units() const
Definition: hub.pb.h:808
const ::jaiabot::protobuf::HubStatus_KnownBot & known_bot(int index) const
static const HubStatus_KnownBot & default_instance()
void unsafe_arena_set_allocated_linux_hardware_status(::jaiabot::protobuf::LinuxHardwareStatus *linux_hardware_status)
HubStatus * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: hub.pb.h:526
::jaiabot::protobuf::HubStatus_BotOffloadData * release_bot_offload()
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 > & bot_ids_in_radio_file() const
boost::units::time_dimension received_time_dimension
Definition: hub.pb.h:794
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int > & error() const
void CopyFrom(const HubStatus_KnownBot &from)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
HubStatus_BotOffloadData(::PROTOBUF_NAMESPACE_ID::Arena *arena)
const ::jaiabot::protobuf::GeographicCoordinate & location() const
::jaiabot::protobuf::GeographicCoordinate * release_location()
void set_received_time(::PROTOBUF_NAMESPACE_ID::uint64 value)
::goby::middleware::protobuf::HealthState health_state() const
static const HubStatus_KnownBot * internal_default_instance()
Definition: hub.pb.h:314
HubStatus_BotOffloadData & operator=(const HubStatus_BotOffloadData &from)
Definition: hub.pb.h:103
HubStatus_KnownBot * New() const final
Definition: hub.pb.h:340
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Definition: hub.pb.h:119
void Swap(HubStatus_BotOffloadData *other)
Definition: hub.pb.h:145
void CopyFrom(const HubStatus &from)
void set_offload_succeeded(bool value)
void unsafe_arena_set_allocated_location(::jaiabot::protobuf::GeographicCoordinate *location)
::jaiabot::protobuf::LinuxHardwareStatus * unsafe_arena_release_linux_hardware_status()
::jaiabot::protobuf::GeographicCoordinate * unsafe_arena_release_location()
void set_received_time_with_units(Quantity value_w_units)
Definition: hub.pb.h:801
boost::units::quantity< last_status_time_unit, google::protobuf::uint64 > last_status_time_with_units() const
Definition: hub.pb.h:431
HubStatus_BotOffloadData * New() const final
Definition: hub.pb.h:161
void set_allocated_bot_offload(::jaiabot::protobuf::HubStatus_BotOffloadData *bot_offload)
void add_bot_ids_in_radio_file(::PROTOBUF_NAMESPACE_ID::uint32 value)
void UnsafeArenaSwap(HubStatus_BotOffloadData *other)
Definition: hub.pb.h:153
HubStatus_BotOffloadData & operator=(HubStatus_BotOffloadData &&from) noexcept
Definition: hub.pb.h:107
::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 > * mutable_bot_ids_in_radio_file()
::jaiabot::protobuf::Warning warning(int index) const
void set_last_status_time_with_units(Quantity value_w_units)
Definition: hub.pb.h:424
void set_warning(int index, ::jaiabot::protobuf::Warning value)
::PROTOBUF_NAMESPACE_ID::uint64 time() const
Quantity received_time_with_units() const
Definition: hub.pb.h:805
::jaiabot::protobuf::HubStatus_KnownBot * mutable_known_bot(int index)
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
::PROTOBUF_NAMESPACE_ID::uint32 id() const
::PROTOBUF_NAMESPACE_ID::uint64 last_status_time() const
void set_id(::PROTOBUF_NAMESPACE_ID::uint32 value)
void unsafe_arena_set_allocated_bot_offload(::jaiabot::protobuf::HubStatus_BotOffloadData *bot_offload)
boost::units::time_dimension last_status_time_dimension
Definition: hub.pb.h:419
::PROTOBUF_NAMESPACE_ID::RepeatedField< int > * mutable_warning()
static const HubStatus_BotOffloadData & default_instance()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: hub.pb.h:126
void set_time(::PROTOBUF_NAMESPACE_ID::uint64 value)
::jaiabot::protobuf::HubStatus_KnownBot * add_known_bot()
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int > & warning() const
void MergeFrom(const HubStatus &from)
void CopyFrom(const HubStatus_BotOffloadData &from)
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
HubStatus(HubStatus &&from) noexcept
Definition: hub.pb.h:459
void set_data_offload_percentage(::PROTOBUF_NAMESPACE_ID::int32 value)
static const HubStatus & default_instance()
void add_error(::jaiabot::protobuf::Error value)
void set_bot_ids_in_radio_file(int index, ::PROTOBUF_NAMESPACE_ID::uint32 value)
HubStatus * New() const final
Definition: hub.pb.h:522
void UnsafeArenaSwap(HubStatus *other)
Definition: hub.pb.h:514
::jaiabot::protobuf::HubStatus_BotOffloadData * mutable_bot_offload()
void set_health_state(::goby::middleware::protobuf::HealthState value)
boost::units::quantity< time_unit, google::protobuf::uint64 > time_with_units() const
Definition: hub.pb.h:793
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: hub.pb.h:129
::jaiabot::protobuf::LinuxHardwareStatus * release_linux_hardware_status()
void Swap(HubStatus_KnownBot *other)
Definition: hub.pb.h:324
::PROTOBUF_NAMESPACE_ID::uint32 bot_id() const
::jaiabot::protobuf::LinuxHardwareStatus * mutable_linux_hardware_status()
HubStatus_KnownBot(const HubStatus_KnownBot &from)
HubStatus & operator=(HubStatus &&from) noexcept
Definition: hub.pb.h:468
HubStatus_BotOffloadData(HubStatus_BotOffloadData &&from) noexcept
Definition: hub.pb.h:98
Quantity time_with_units() const
Definition: hub.pb.h:790
void set_hub_id(::PROTOBUF_NAMESPACE_ID::uint32 value)
void set_allocated_linux_hardware_status(::jaiabot::protobuf::LinuxHardwareStatus *linux_hardware_status)
void set_fleet_id(::PROTOBUF_NAMESPACE_ID::uint32 value)
HubStatus_BotOffloadData BotOffloadData
Definition: hub.pb.h:569
::PROTOBUF_NAMESPACE_ID::RepeatedField< int > * mutable_error()
void set_allocated_location(::jaiabot::protobuf::GeographicCoordinate *location)
HubStatus_KnownBot * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: hub.pb.h:344
const ::jaiabot::protobuf::HubStatus_BotOffloadData & bot_offload() const
boost::units::make_scaled_unit< boost::units::unit< time_dimension, boost::units::si::system >, boost::units::scale< 10, boost::units::static_rational<-6 > > >::type time_unit
Definition: hub.pb.h:783
HubStatus_BotOffloadData * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: hub.pb.h:165
::PROTOBUF_NAMESPACE_ID::uint32 hub_id() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: hub.pb.h:123
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fhub_2eproto
constexpr goby::middleware::Group linux_hardware_status
Definition: groups.h:70
HubStatus_KnownBotDefaultTypeInternal _HubStatus_KnownBot_default_instance_
bool Error_IsValid(int value)
HubStatus_BotOffloadDataDefaultTypeInternal _HubStatus_BotOffloadData_default_instance_
LinuxHardwareStatusDefaultTypeInternal _LinuxHardwareStatus_default_instance_
GeographicCoordinateDefaultTypeInternal _GeographicCoordinate_default_instance_
bool Warning_IsValid(int value)
HubStatusDefaultTypeInternal _HubStatus_default_instance_
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]
Definition: hub.pb.h:64
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]
Definition: hub.pb.h:65
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[3] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]
Definition: hub.pb.h:63