4 #ifndef GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fhub_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fhub_2eproto
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
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.
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>
33 #include <google/protobuf/extension_set.h>
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>
45 #include <boost/units/systems/si.hpp>
47 #include <google/protobuf/port_def.inc>
48 #define PROTOBUF_INTERNAL_EXPORT_jaiabot_2fmessages_2fhub_2eproto
49 PROTOBUF_NAMESPACE_OPEN
53 PROTOBUF_NAMESPACE_CLOSE
57 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
59 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
61 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[3]
63 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata
field_metadata[];
65 static const ::PROTOBUF_NAMESPACE_ID::uint32
offsets[];
71 class HubStatusDefaultTypeInternal;
73 class HubStatus_BotOffloadData;
74 class HubStatus_BotOffloadDataDefaultTypeInternal;
76 class HubStatus_KnownBot;
77 class HubStatus_KnownBotDefaultTypeInternal;
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
91 class HubStatus_BotOffloadData PROTOBUF_FINAL :
92 public ::PROTOBUF_NAMESPACE_ID::Message {
99 : HubStatus_BotOffloadData() {
100 *
this = ::std::move(from);
103 inline HubStatus_BotOffloadData&
operator=(
const HubStatus_BotOffloadData& from) {
107 inline HubStatus_BotOffloadData&
operator=(HubStatus_BotOffloadData&& from) noexcept {
108 if (GetArena() == from.GetArena()) {
109 if (
this != &from) InternalSwap(&from);
117 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
120 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
123 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
124 return GetDescriptor();
127 return GetMetadataStatic().descriptor;
130 return GetMetadataStatic().reflection;
136 return reinterpret_cast<const HubStatus_BotOffloadData*
>(
139 static constexpr
int kIndexInFileMessages =
142 friend void swap(HubStatus_BotOffloadData& a, HubStatus_BotOffloadData& b) {
145 inline void Swap(HubStatus_BotOffloadData* other) {
146 if (other ==
this)
return;
147 if (GetArena() == other->GetArena()) {
150 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
154 if (other ==
this)
return;
155 GOOGLE_DCHECK(GetArena() == other->GetArena());
161 inline HubStatus_BotOffloadData*
New() const final {
162 return CreateMaybeMessage<HubStatus_BotOffloadData>(
nullptr);
165 HubStatus_BotOffloadData*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
166 return CreateMaybeMessage<HubStatus_BotOffloadData>(arena);
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);
172 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
173 bool IsInitialized() const final;
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(); }
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";
193 static void ArenaDtor(
void*
object);
194 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
199 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
211 kBotIdFieldNumber = 1,
212 kDataOffloadPercentageFieldNumber = 2,
213 kOffloadSucceededFieldNumber = 3,
218 bool _internal_has_bot_id()
const;
221 ::PROTOBUF_NAMESPACE_ID::uint32
bot_id()
const;
224 ::PROTOBUF_NAMESPACE_ID::uint32 _internal_bot_id()
const;
225 void _internal_set_bot_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
231 bool _internal_has_data_offload_percentage()
const;
237 ::PROTOBUF_NAMESPACE_ID::int32 _internal_data_offload_percentage()
const;
238 void _internal_set_data_offload_percentage(::PROTOBUF_NAMESPACE_ID::int32 value);
244 bool _internal_has_offload_succeeded()
const;
250 bool _internal_offload_succeeded()
const;
251 void _internal_set_offload_succeeded(
bool value);
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;
271 public ::PROTOBUF_NAMESPACE_ID::Message {
278 : HubStatus_KnownBot() {
279 *
this = ::std::move(from);
282 inline HubStatus_KnownBot&
operator=(
const HubStatus_KnownBot& from) {
286 inline HubStatus_KnownBot&
operator=(HubStatus_KnownBot&& from) noexcept {
287 if (GetArena() == from.GetArena()) {
288 if (
this != &from) InternalSwap(&from);
296 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
299 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
302 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
303 return GetDescriptor();
306 return GetMetadataStatic().descriptor;
309 return GetMetadataStatic().reflection;
315 return reinterpret_cast<const HubStatus_KnownBot*
>(
318 static constexpr
int kIndexInFileMessages =
321 friend void swap(HubStatus_KnownBot& a, HubStatus_KnownBot& b) {
324 inline void Swap(HubStatus_KnownBot* other) {
325 if (other ==
this)
return;
326 if (GetArena() == other->GetArena()) {
329 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
333 if (other ==
this)
return;
334 GOOGLE_DCHECK(GetArena() == other->GetArena());
340 inline HubStatus_KnownBot*
New() const final {
341 return CreateMaybeMessage<HubStatus_KnownBot>(
nullptr);
344 HubStatus_KnownBot*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
345 return CreateMaybeMessage<HubStatus_KnownBot>(arena);
347 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
348 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
351 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
352 bool IsInitialized() const final;
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(); }
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";
372 static void ArenaDtor(
void*
object);
373 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
378 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
390 kLastStatusTimeFieldNumber = 2,
396 bool _internal_has_last_status_time()
const;
402 ::PROTOBUF_NAMESPACE_ID::uint64 _internal_last_status_time()
const;
403 void _internal_set_last_status_time(::PROTOBUF_NAMESPACE_ID::uint64 value);
409 bool _internal_has_id()
const;
412 ::PROTOBUF_NAMESPACE_ID::uint32
id()
const;
413 void set_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
415 ::PROTOBUF_NAMESPACE_ID::uint32 _internal_id()
const;
416 void _internal_set_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
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;
423 template<
typename Quantity >
425 { set_last_status_time(boost::units::quantity<last_status_time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
427 template<
typename Quantity >
432 {
return last_status_time_with_units<boost::units::quantity< last_status_time_unit,google::protobuf::uint64 > >(); };
439 size_t RequiredFieldsByteSizeFallback()
const;
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;
452 class HubStatus PROTOBUF_FINAL :
453 public ::PROTOBUF_NAMESPACE_ID::Message {
461 *
this = ::std::move(from);
468 inline HubStatus&
operator=(HubStatus&& from) noexcept {
469 if (GetArena() == from.GetArena()) {
470 if (
this != &from) InternalSwap(&from);
478 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
481 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
484 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
485 return GetDescriptor();
488 return GetMetadataStatic().descriptor;
491 return GetMetadataStatic().reflection;
497 return reinterpret_cast<const HubStatus*
>(
500 static constexpr
int kIndexInFileMessages =
503 friend void swap(HubStatus& a, HubStatus& b) {
506 inline void Swap(HubStatus* other) {
507 if (other ==
this)
return;
508 if (GetArena() == other->GetArena()) {
511 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
515 if (other ==
this)
return;
516 GOOGLE_DCHECK(GetArena() == other->GetArena());
522 inline HubStatus*
New() const final {
523 return CreateMaybeMessage<HubStatus>(
nullptr);
526 HubStatus*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
527 return CreateMaybeMessage<HubStatus>(arena);
529 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
530 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
533 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
534 bool IsInitialized() const final;
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(); }
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";
552 explicit HubStatus(::PROTOBUF_NAMESPACE_ID::Arena* arena);
554 static void ArenaDtor(
void*
object);
555 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
560 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
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,
591 int _internal_error_size()
const;
597 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* _internal_mutable_error();
602 const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>&
error()
const;
608 int _internal_warning_size()
const;
614 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* _internal_mutable_warning();
619 const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>&
warning()
const;
625 int _internal_bot_ids_in_radio_file_size()
const;
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();
639 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >&
641 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >*
647 int _internal_known_bot_size()
const;
651 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::HubStatus_KnownBot >*
654 const ::jaiabot::protobuf::HubStatus_KnownBot& _internal_known_bot(
int index)
const;
655 ::jaiabot::protobuf::HubStatus_KnownBot* _internal_add_known_bot();
657 const ::jaiabot::protobuf::HubStatus_KnownBot&
known_bot(
int index)
const;
659 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::HubStatus_KnownBot >&
665 bool _internal_has_location()
const;
668 const ::jaiabot::protobuf::GeographicCoordinate&
location()
const;
673 const ::jaiabot::protobuf::GeographicCoordinate& _internal_location()
const;
674 ::jaiabot::protobuf::GeographicCoordinate* _internal_mutable_location();
677 ::jaiabot::protobuf::GeographicCoordinate* location);
683 bool _internal_has_linux_hardware_status()
const;
691 const ::jaiabot::protobuf::LinuxHardwareStatus& _internal_linux_hardware_status()
const;
692 ::jaiabot::protobuf::LinuxHardwareStatus* _internal_mutable_linux_hardware_status();
701 bool _internal_has_bot_offload()
const;
704 const ::jaiabot::protobuf::HubStatus_BotOffloadData&
bot_offload()
const;
709 const ::jaiabot::protobuf::HubStatus_BotOffloadData& _internal_bot_offload()
const;
710 ::jaiabot::protobuf::HubStatus_BotOffloadData* _internal_mutable_bot_offload();
713 ::jaiabot::protobuf::HubStatus_BotOffloadData* bot_offload);
719 bool _internal_has_hub_id()
const;
722 ::PROTOBUF_NAMESPACE_ID::uint32
hub_id()
const;
725 ::PROTOBUF_NAMESPACE_ID::uint32 _internal_hub_id()
const;
726 void _internal_set_hub_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
732 bool _internal_has_fleet_id()
const;
738 ::PROTOBUF_NAMESPACE_ID::uint32 _internal_fleet_id()
const;
739 void _internal_set_fleet_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
745 bool _internal_has_time()
const;
748 ::PROTOBUF_NAMESPACE_ID::uint64
time()
const;
749 void set_time(::PROTOBUF_NAMESPACE_ID::uint64 value);
751 ::PROTOBUF_NAMESPACE_ID::uint64 _internal_time()
const;
752 void _internal_set_time(::PROTOBUF_NAMESPACE_ID::uint64 value);
758 bool _internal_has_received_time()
const;
764 ::PROTOBUF_NAMESPACE_ID::uint64 _internal_received_time()
const;
765 void _internal_set_received_time(::PROTOBUF_NAMESPACE_ID::uint64 value);
771 bool _internal_has_health_state()
const;
777 ::goby::middleware::protobuf::HealthState _internal_health_state()
const;
778 void _internal_set_health_state(::goby::middleware::protobuf::HealthState value);
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;
785 template<
typename Quantity >
787 { set_time(boost::units::quantity<time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
789 template<
typename Quantity >
791 {
return Quantity(time() *
time_unit()); };
794 {
return time_with_units<boost::units::quantity< time_unit,google::protobuf::uint64 > >(); };
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;
800 template<
typename Quantity >
802 { set_received_time(boost::units::quantity<received_time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
804 template<
typename Quantity >
809 {
return received_time_with_units<boost::units::quantity< received_time_unit,google::protobuf::uint64 > >(); };
816 size_t RequiredFieldsByteSizeFallback()
const;
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_;
835 friend struct ::TableStruct_jaiabot_2fmessages_2fhub_2eproto;
843 #pragma GCC diagnostic push
844 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
849 inline bool HubStatus_BotOffloadData::_internal_has_bot_id()
const {
850 bool value = (_has_bits_[0] & 0x00000001u) != 0;
853 inline bool HubStatus_BotOffloadData::has_bot_id()
const {
854 return _internal_has_bot_id();
856 inline void HubStatus_BotOffloadData::clear_bot_id() {
858 _has_bits_[0] &= ~0x00000001u;
860 inline ::PROTOBUF_NAMESPACE_ID::uint32 HubStatus_BotOffloadData::_internal_bot_id()
const {
863 inline ::PROTOBUF_NAMESPACE_ID::uint32 HubStatus_BotOffloadData::bot_id()
const {
865 return _internal_bot_id();
867 inline void HubStatus_BotOffloadData::_internal_set_bot_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
868 _has_bits_[0] |= 0x00000001u;
871 inline void HubStatus_BotOffloadData::set_bot_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
872 _internal_set_bot_id(value);
877 inline bool HubStatus_BotOffloadData::_internal_has_data_offload_percentage()
const {
878 bool value = (_has_bits_[0] & 0x00000002u) != 0;
881 inline bool HubStatus_BotOffloadData::has_data_offload_percentage()
const {
882 return _internal_has_data_offload_percentage();
884 inline void HubStatus_BotOffloadData::clear_data_offload_percentage() {
885 data_offload_percentage_ = 0;
886 _has_bits_[0] &= ~0x00000002u;
888 inline ::PROTOBUF_NAMESPACE_ID::int32 HubStatus_BotOffloadData::_internal_data_offload_percentage()
const {
889 return data_offload_percentage_;
891 inline ::PROTOBUF_NAMESPACE_ID::int32 HubStatus_BotOffloadData::data_offload_percentage()
const {
893 return _internal_data_offload_percentage();
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;
899 inline void HubStatus_BotOffloadData::set_data_offload_percentage(::PROTOBUF_NAMESPACE_ID::int32 value) {
900 _internal_set_data_offload_percentage(value);
905 inline bool HubStatus_BotOffloadData::_internal_has_offload_succeeded()
const {
906 bool value = (_has_bits_[0] & 0x00000004u) != 0;
909 inline bool HubStatus_BotOffloadData::has_offload_succeeded()
const {
910 return _internal_has_offload_succeeded();
912 inline void HubStatus_BotOffloadData::clear_offload_succeeded() {
913 offload_succeeded_ =
false;
914 _has_bits_[0] &= ~0x00000004u;
916 inline bool HubStatus_BotOffloadData::_internal_offload_succeeded()
const {
917 return offload_succeeded_;
919 inline bool HubStatus_BotOffloadData::offload_succeeded()
const {
921 return _internal_offload_succeeded();
923 inline void HubStatus_BotOffloadData::_internal_set_offload_succeeded(
bool value) {
924 _has_bits_[0] |= 0x00000004u;
925 offload_succeeded_ = value;
927 inline void HubStatus_BotOffloadData::set_offload_succeeded(
bool value) {
928 _internal_set_offload_succeeded(value);
937 inline bool HubStatus_KnownBot::_internal_has_id()
const {
938 bool value = (_has_bits_[0] & 0x00000002u) != 0;
941 inline bool HubStatus_KnownBot::has_id()
const {
942 return _internal_has_id();
944 inline void HubStatus_KnownBot::clear_id() {
946 _has_bits_[0] &= ~0x00000002u;
948 inline ::PROTOBUF_NAMESPACE_ID::uint32 HubStatus_KnownBot::_internal_id()
const {
951 inline ::PROTOBUF_NAMESPACE_ID::uint32 HubStatus_KnownBot::id()
const {
953 return _internal_id();
955 inline void HubStatus_KnownBot::_internal_set_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
956 _has_bits_[0] |= 0x00000002u;
959 inline void HubStatus_KnownBot::set_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
960 _internal_set_id(value);
965 inline bool HubStatus_KnownBot::_internal_has_last_status_time()
const {
966 bool value = (_has_bits_[0] & 0x00000001u) != 0;
969 inline bool HubStatus_KnownBot::has_last_status_time()
const {
970 return _internal_has_last_status_time();
972 inline void HubStatus_KnownBot::clear_last_status_time() {
973 last_status_time_ = PROTOBUF_ULONGLONG(0);
974 _has_bits_[0] &= ~0x00000001u;
976 inline ::PROTOBUF_NAMESPACE_ID::uint64 HubStatus_KnownBot::_internal_last_status_time()
const {
977 return last_status_time_;
979 inline ::PROTOBUF_NAMESPACE_ID::uint64 HubStatus_KnownBot::last_status_time()
const {
981 return _internal_last_status_time();
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;
987 inline void HubStatus_KnownBot::set_last_status_time(::PROTOBUF_NAMESPACE_ID::uint64 value) {
988 _internal_set_last_status_time(value);
997 inline bool HubStatus::_internal_has_hub_id()
const {
998 bool value = (_has_bits_[0] & 0x00000008u) != 0;
1001 inline bool HubStatus::has_hub_id()
const {
1002 return _internal_has_hub_id();
1004 inline void HubStatus::clear_hub_id() {
1006 _has_bits_[0] &= ~0x00000008u;
1008 inline ::PROTOBUF_NAMESPACE_ID::uint32 HubStatus::_internal_hub_id()
const {
1011 inline ::PROTOBUF_NAMESPACE_ID::uint32 HubStatus::hub_id()
const {
1013 return _internal_hub_id();
1015 inline void HubStatus::_internal_set_hub_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
1016 _has_bits_[0] |= 0x00000008u;
1019 inline void HubStatus::set_hub_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
1020 _internal_set_hub_id(value);
1025 inline bool HubStatus::_internal_has_fleet_id()
const {
1026 bool value = (_has_bits_[0] & 0x00000010u) != 0;
1029 inline bool HubStatus::has_fleet_id()
const {
1030 return _internal_has_fleet_id();
1032 inline void HubStatus::clear_fleet_id() {
1034 _has_bits_[0] &= ~0x00000010u;
1036 inline ::PROTOBUF_NAMESPACE_ID::uint32 HubStatus::_internal_fleet_id()
const {
1039 inline ::PROTOBUF_NAMESPACE_ID::uint32 HubStatus::fleet_id()
const {
1041 return _internal_fleet_id();
1043 inline void HubStatus::_internal_set_fleet_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
1044 _has_bits_[0] |= 0x00000010u;
1047 inline void HubStatus::set_fleet_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
1048 _internal_set_fleet_id(value);
1053 inline bool HubStatus::_internal_has_time()
const {
1054 bool value = (_has_bits_[0] & 0x00000020u) != 0;
1057 inline bool HubStatus::has_time()
const {
1058 return _internal_has_time();
1060 inline void HubStatus::clear_time() {
1061 time_ = PROTOBUF_ULONGLONG(0);
1062 _has_bits_[0] &= ~0x00000020u;
1064 inline ::PROTOBUF_NAMESPACE_ID::uint64 HubStatus::_internal_time()
const {
1067 inline ::PROTOBUF_NAMESPACE_ID::uint64 HubStatus::time()
const {
1069 return _internal_time();
1071 inline void HubStatus::_internal_set_time(::PROTOBUF_NAMESPACE_ID::uint64 value) {
1072 _has_bits_[0] |= 0x00000020u;
1075 inline void HubStatus::set_time(::PROTOBUF_NAMESPACE_ID::uint64 value) {
1076 _internal_set_time(value);
1081 inline bool HubStatus::_internal_has_health_state()
const {
1082 bool value = (_has_bits_[0] & 0x00000080u) != 0;
1085 inline bool HubStatus::has_health_state()
const {
1086 return _internal_has_health_state();
1088 inline void HubStatus::clear_health_state() {
1090 _has_bits_[0] &= ~0x00000080u;
1092 inline ::goby::middleware::protobuf::HealthState HubStatus::_internal_health_state()
const {
1093 return static_cast< ::goby::middleware::protobuf::HealthState
>(health_state_);
1095 inline ::goby::middleware::protobuf::HealthState HubStatus::health_state()
const {
1097 return _internal_health_state();
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;
1104 inline void HubStatus::set_health_state(::goby::middleware::protobuf::HealthState value) {
1105 _internal_set_health_state(value);
1110 inline int HubStatus::_internal_error_size()
const {
1111 return error_.size();
1113 inline int HubStatus::error_size()
const {
1114 return _internal_error_size();
1116 inline void HubStatus::clear_error() {
1124 return _internal_error(index);
1128 error_.Set(index, value);
1137 _internal_add_error(value);
1139 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>&
1140 HubStatus::error()
const {
1144 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
1145 HubStatus::_internal_mutable_error() {
1148 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
1149 HubStatus::mutable_error() {
1151 return _internal_mutable_error();
1155 inline int HubStatus::_internal_warning_size()
const {
1156 return warning_.size();
1158 inline int HubStatus::warning_size()
const {
1159 return _internal_warning_size();
1161 inline void HubStatus::clear_warning() {
1169 return _internal_warning(index);
1173 warning_.Set(index, value);
1178 warning_.Add(value);
1182 _internal_add_warning(value);
1184 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>&
1185 HubStatus::warning()
const {
1189 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
1190 HubStatus::_internal_mutable_warning() {
1193 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
1194 HubStatus::mutable_warning() {
1196 return _internal_mutable_warning();
1200 inline bool HubStatus::_internal_has_location()
const {
1201 bool value = (_has_bits_[0] & 0x00000001u) != 0;
1202 PROTOBUF_ASSUME(!value || location_ !=
nullptr);
1205 inline bool HubStatus::has_location()
const {
1206 return _internal_has_location();
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*
>(
1213 inline const ::jaiabot::protobuf::GeographicCoordinate& HubStatus::location()
const {
1215 return _internal_location();
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_);
1222 location_ = location;
1224 _has_bits_[0] |= 0x00000001u;
1226 _has_bits_[0] &= ~0x00000001u;
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);
1237 inline ::jaiabot::protobuf::GeographicCoordinate* HubStatus::unsafe_arena_release_location() {
1239 _has_bits_[0] &= ~0x00000001u;
1240 ::jaiabot::protobuf::GeographicCoordinate* temp = location_;
1241 location_ =
nullptr;
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());
1252 inline ::jaiabot::protobuf::GeographicCoordinate* HubStatus::mutable_location() {
1254 return _internal_mutable_location();
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_);
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);
1268 _has_bits_[0] |= 0x00000001u;
1270 _has_bits_[0] &= ~0x00000001u;
1272 location_ = location;
1277 inline int HubStatus::_internal_bot_ids_in_radio_file_size()
const {
1278 return bot_ids_in_radio_file_.size();
1280 inline int HubStatus::bot_ids_in_radio_file_size()
const {
1281 return _internal_bot_ids_in_radio_file_size();
1283 inline void HubStatus::clear_bot_ids_in_radio_file() {
1284 bot_ids_in_radio_file_.Clear();
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);
1289 inline ::PROTOBUF_NAMESPACE_ID::uint32 HubStatus::bot_ids_in_radio_file(
int index)
const {
1291 return _internal_bot_ids_in_radio_file(index);
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);
1297 inline void HubStatus::_internal_add_bot_ids_in_radio_file(::PROTOBUF_NAMESPACE_ID::uint32 value) {
1298 bot_ids_in_radio_file_.Add(value);
1300 inline void HubStatus::add_bot_ids_in_radio_file(::PROTOBUF_NAMESPACE_ID::uint32 value) {
1301 _internal_add_bot_ids_in_radio_file(value);
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_;
1308 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >&
1309 HubStatus::bot_ids_in_radio_file()
const {
1311 return _internal_bot_ids_in_radio_file();
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_;
1317 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >*
1318 HubStatus::mutable_bot_ids_in_radio_file() {
1320 return _internal_mutable_bot_ids_in_radio_file();
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);
1329 inline bool HubStatus::has_linux_hardware_status()
const {
1330 return _internal_has_linux_hardware_status();
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*
>(
1339 return _internal_linux_hardware_status();
1341 inline void HubStatus::unsafe_arena_set_allocated_linux_hardware_status(
1343 if (GetArena() ==
nullptr) {
1344 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(linux_hardware_status_);
1348 _has_bits_[0] |= 0x00000002u;
1350 _has_bits_[0] &= ~0x00000002u;
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);
1361 inline ::jaiabot::protobuf::LinuxHardwareStatus* HubStatus::unsafe_arena_release_linux_hardware_status() {
1363 _has_bits_[0] &= ~0x00000002u;
1364 ::jaiabot::protobuf::LinuxHardwareStatus* temp = linux_hardware_status_;
1365 linux_hardware_status_ =
nullptr;
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;
1374 return linux_hardware_status_;
1376 inline ::jaiabot::protobuf::LinuxHardwareStatus* HubStatus::mutable_linux_hardware_status() {
1378 return _internal_mutable_linux_hardware_status();
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_);
1386 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1388 if (message_arena != submessage_arena) {
1392 _has_bits_[0] |= 0x00000002u;
1394 _has_bits_[0] &= ~0x00000002u;
1401 inline bool HubStatus::_internal_has_bot_offload()
const {
1402 bool value = (_has_bits_[0] & 0x00000004u) != 0;
1403 PROTOBUF_ASSUME(!value || bot_offload_ !=
nullptr);
1406 inline bool HubStatus::has_bot_offload()
const {
1407 return _internal_has_bot_offload();
1409 inline void HubStatus::clear_bot_offload() {
1410 if (bot_offload_ !=
nullptr) bot_offload_->Clear();
1411 _has_bits_[0] &= ~0x00000004u;
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*
>(
1418 inline const ::jaiabot::protobuf::HubStatus_BotOffloadData& HubStatus::bot_offload()
const {
1420 return _internal_bot_offload();
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_);
1427 bot_offload_ = bot_offload;
1429 _has_bits_[0] |= 0x00000004u;
1431 _has_bits_[0] &= ~0x00000004u;
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);
1442 inline ::jaiabot::protobuf::HubStatus_BotOffloadData* HubStatus::unsafe_arena_release_bot_offload() {
1444 _has_bits_[0] &= ~0x00000004u;
1445 ::jaiabot::protobuf::HubStatus_BotOffloadData* temp = bot_offload_;
1446 bot_offload_ =
nullptr;
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());
1455 return bot_offload_;
1457 inline ::jaiabot::protobuf::HubStatus_BotOffloadData* HubStatus::mutable_bot_offload() {
1459 return _internal_mutable_bot_offload();
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_;
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);
1473 _has_bits_[0] |= 0x00000004u;
1475 _has_bits_[0] &= ~0x00000004u;
1477 bot_offload_ = bot_offload;
1482 inline bool HubStatus::_internal_has_received_time()
const {
1483 bool value = (_has_bits_[0] & 0x00000040u) != 0;
1486 inline bool HubStatus::has_received_time()
const {
1487 return _internal_has_received_time();
1489 inline void HubStatus::clear_received_time() {
1490 received_time_ = PROTOBUF_ULONGLONG(0);
1491 _has_bits_[0] &= ~0x00000040u;
1493 inline ::PROTOBUF_NAMESPACE_ID::uint64 HubStatus::_internal_received_time()
const {
1494 return received_time_;
1496 inline ::PROTOBUF_NAMESPACE_ID::uint64 HubStatus::received_time()
const {
1498 return _internal_received_time();
1500 inline void HubStatus::_internal_set_received_time(::PROTOBUF_NAMESPACE_ID::uint64 value) {
1501 _has_bits_[0] |= 0x00000040u;
1502 received_time_ = value;
1504 inline void HubStatus::set_received_time(::PROTOBUF_NAMESPACE_ID::uint64 value) {
1505 _internal_set_received_time(value);
1510 inline int HubStatus::_internal_known_bot_size()
const {
1511 return known_bot_.size();
1513 inline int HubStatus::known_bot_size()
const {
1514 return _internal_known_bot_size();
1516 inline void HubStatus::clear_known_bot() {
1519 inline ::jaiabot::protobuf::HubStatus_KnownBot* HubStatus::mutable_known_bot(
int index) {
1521 return known_bot_.Mutable(index);
1523 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::HubStatus_KnownBot >*
1524 HubStatus::mutable_known_bot() {
1528 inline const ::jaiabot::protobuf::HubStatus_KnownBot& HubStatus::_internal_known_bot(
int index)
const {
1529 return known_bot_.Get(index);
1531 inline const ::jaiabot::protobuf::HubStatus_KnownBot& HubStatus::known_bot(
int index)
const {
1533 return _internal_known_bot(index);
1535 inline ::jaiabot::protobuf::HubStatus_KnownBot* HubStatus::_internal_add_known_bot() {
1536 return known_bot_.Add();
1538 inline ::jaiabot::protobuf::HubStatus_KnownBot* HubStatus::add_known_bot() {
1540 return _internal_add_known_bot();
1542 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::HubStatus_KnownBot >&
1543 HubStatus::known_bot()
const {
1549 #pragma GCC diagnostic pop
1563 #include <google/protobuf/port_undef.inc>
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::HubStatus_KnownBot > * mutable_known_bot()
HubStatus_KnownBot KnownBot
::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
HubStatus_KnownBot & operator=(HubStatus_KnownBot &&from) noexcept
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
virtual ~HubStatus_BotOffloadData()
void Swap(HubStatus *other)
::PROTOBUF_NAMESPACE_ID::uint32 fleet_id() const
HubStatus_KnownBot(::PROTOBUF_NAMESPACE_ID::Arena *arena)
static const HubStatus * internal_default_instance()
friend void swap(HubStatus_BotOffloadData &a, HubStatus_BotOffloadData &b)
HubStatus_KnownBot & operator=(const HubStatus_KnownBot &from)
bool has_last_status_time() const
void set_time_with_units(Quantity value_w_units)
friend void swap(HubStatus_KnownBot &a, HubStatus_KnownBot &b)
::jaiabot::protobuf::GeographicCoordinate * mutable_location()
static const HubStatus_BotOffloadData * internal_default_instance()
virtual ~HubStatus_KnownBot()
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
void set_error(int index, ::jaiabot::protobuf::Error value)
Quantity last_status_time_with_units() const
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_BotOffloadData()
HubStatus & operator=(const HubStatus &from)
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
HubStatus(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void UnsafeArenaSwap(HubStatus_KnownBot *other)
int bot_ids_in_radio_file_size() const
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
friend void swap(HubStatus &a, HubStatus &b)
::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
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)
bool has_health_state() const
HubStatus * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
::jaiabot::protobuf::HubStatus_BotOffloadData * release_bot_offload()
bool offload_succeeded() const
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 > & bot_ids_in_radio_file() const
boost::units::time_dimension received_time_dimension
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int > & error() const
void CopyFrom(const HubStatus_KnownBot &from)
void clear_health_state()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
int known_bot_size() const
bool has_linux_hardware_status() const
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()
HubStatus_BotOffloadData & operator=(const HubStatus_BotOffloadData &from)
HubStatus_KnownBot * New() const final
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
bool has_fleet_id() const
void Swap(HubStatus_BotOffloadData *other)
void clear_data_offload_percentage()
void CopyFrom(const HubStatus &from)
void set_offload_succeeded(bool value)
bool has_data_offload_percentage() const
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)
boost::units::quantity< last_status_time_unit, google::protobuf::uint64 > last_status_time_with_units() const
HubStatus_BotOffloadData * New() const final
void set_allocated_bot_offload(::jaiabot::protobuf::HubStatus_BotOffloadData *bot_offload)
bool has_bot_offload() const
void add_bot_ids_in_radio_file(::PROTOBUF_NAMESPACE_ID::uint32 value)
void UnsafeArenaSwap(HubStatus_BotOffloadData *other)
HubStatus_BotOffloadData & operator=(HubStatus_BotOffloadData &&from) noexcept
bool has_offload_succeeded() const
::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)
void set_warning(int index, ::jaiabot::protobuf::Warning value)
::PROTOBUF_NAMESPACE_ID::uint64 time() const
Quantity received_time_with_units() const
::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
::PROTOBUF_NAMESPACE_ID::RepeatedField< int > * mutable_warning()
static const HubStatus_BotOffloadData & default_instance()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
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
void clear_offload_succeeded()
HubStatus(HubStatus &&from) noexcept
void clear_bot_ids_in_radio_file()
void set_data_offload_percentage(::PROTOBUF_NAMESPACE_ID::int32 value)
void clear_linux_hardware_status()
static const HubStatus & default_instance()
void add_error(::jaiabot::protobuf::Error value)
static void InitAsDefaultInstance()
void set_bot_ids_in_radio_file(int index, ::PROTOBUF_NAMESPACE_ID::uint32 value)
HubStatus * New() const final
bool has_received_time() const
void UnsafeArenaSwap(HubStatus *other)
void clear_received_time()
::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
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
::jaiabot::protobuf::LinuxHardwareStatus * release_linux_hardware_status()
void Swap(HubStatus_KnownBot *other)
::PROTOBUF_NAMESPACE_ID::uint32 bot_id() const
::jaiabot::protobuf::LinuxHardwareStatus * mutable_linux_hardware_status()
HubStatus_KnownBot(const HubStatus_KnownBot &from)
bool has_location() const
HubStatus & operator=(HubStatus &&from) noexcept
HubStatus_BotOffloadData(HubStatus_BotOffloadData &&from) noexcept
Quantity time_with_units() const
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
::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
const ::jaiabot::protobuf::HubStatus_BotOffloadData & bot_offload() const
void clear_last_status_time()
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
HubStatus_BotOffloadData * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
::PROTOBUF_NAMESPACE_ID::uint32 hub_id() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fhub_2eproto
constexpr goby::middleware::Group linux_hardware_status
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[]
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]
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[]