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 < 3021000
12#error This file was generated by a newer version of protoc which is
13#error incompatible with your Protocol Buffer headers. Please update
16#if 3021012 < PROTOBUF_MIN_PROTOC_VERSION
17#error This file was generated by an older version of protoc which is
18#error incompatible with your Protocol Buffer headers. Please
19#error regenerate this file with a newer version of protoc.
22#include <google/protobuf/port_undef.inc>
23#include <google/protobuf/io/coded_stream.h>
24#include <google/protobuf/arena.h>
25#include <google/protobuf/arenastring.h>
26#include <google/protobuf/generated_message_util.h>
27#include <google/protobuf/metadata_lite.h>
28#include <google/protobuf/generated_message_reflection.h>
29#include <google/protobuf/message.h>
30#include <google/protobuf/repeated_field.h>
31#include <google/protobuf/extension_set.h>
32#include <google/protobuf/unknown_field_set.h>
35#include "goby/middleware/protobuf/coroner.pb.h"
38#include <boost/units/quantity.hpp>
39#include <boost/units/absolute.hpp>
40#include <boost/units/dimensionless_type.hpp>
41#include <boost/units/make_scaled_unit.hpp>
43#include <boost/units/systems/si.hpp>
45#include <google/protobuf/port_def.inc>
46#define PROTOBUF_INTERNAL_EXPORT_jaiabot_2fmessages_2fhub_2eproto
47PROTOBUF_NAMESPACE_OPEN
51PROTOBUF_NAMESPACE_CLOSE
61struct HubStatusDefaultTypeInternal;
63class HubStatus_BotOffloadData;
64struct HubStatus_BotOffloadDataDefaultTypeInternal;
66class HubStatus_KnownBot;
67struct HubStatus_KnownBotDefaultTypeInternal;
71PROTOBUF_NAMESPACE_OPEN
75PROTOBUF_NAMESPACE_CLOSE
82 public ::PROTOBUF_NAMESPACE_ID::Message {
91 *
this = ::std::move(from);
99 if (
this == &from)
return *
this;
100 if (GetOwningArena() == from.GetOwningArena()
101 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
102 && GetOwningArena() !=
nullptr
113 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
116 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
119 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
142 if (other ==
this)
return;
143 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
144 if (GetOwningArena() !=
nullptr &&
145 GetOwningArena() == other->GetOwningArena()) {
147 if (GetOwningArena() == other->GetOwningArena()) {
151 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
155 if (other ==
this)
return;
156 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
163 return CreateMaybeMessage<HubStatus_BotOffloadData>(arena);
165 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
167 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
169 HubStatus_BotOffloadData::MergeImpl(*
this, from);
172 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
174 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
180 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
184 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
186 void SetCachedSize(
int size)
const final;
190 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
191 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
192 return "jaiabot.protobuf.HubStatus.BotOffloadData";
196 bool is_message_owned =
false);
200 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
217 int _internal_bots_pending_size()
const;
221 uint32_t _internal_bots_pending(
int index)
const;
222 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
223 _internal_bots_pending()
const;
224 void _internal_add_bots_pending(uint32_t value);
225 ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
226 _internal_mutable_bots_pending();
231 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
233 ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
239 bool _internal_has_bot_id()
const;
245 uint32_t _internal_bot_id()
const;
246 void _internal_set_bot_id(uint32_t value);
252 bool _internal_has_data_offload_percentage()
const;
258 uint32_t _internal_data_offload_percentage()
const;
259 void _internal_set_data_offload_percentage(uint32_t value);
265 bool _internal_has_offload_succeeded()
const;
271 bool _internal_offload_succeeded()
const;
272 void _internal_set_offload_succeeded(
bool value);
279 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
280 typedef void InternalArenaConstructable_;
281 typedef void DestructorSkippable_;
283 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
284 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
285 ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > bots_pending_;
287 uint32_t data_offload_percentage_;
288 bool offload_succeeded_;
291 friend struct ::TableStruct_jaiabot_2fmessages_2fhub_2eproto;
296 public ::PROTOBUF_NAMESPACE_ID::Message {
300 explicit PROTOBUF_CONSTEXPR
HubStatus_KnownBot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
305 *
this = ::std::move(from);
313 if (
this == &from)
return *
this;
314 if (GetOwningArena() == from.GetOwningArena()
315 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
316 && GetOwningArena() !=
nullptr
327 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
330 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
333 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
334 return GetDescriptor();
337 return default_instance().GetMetadata().descriptor;
340 return default_instance().GetMetadata().reflection;
343 return *internal_default_instance();
349 static constexpr int kIndexInFileMessages =
356 if (other ==
this)
return;
357 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
358 if (GetOwningArena() !=
nullptr &&
359 GetOwningArena() == other->GetOwningArena()) {
361 if (GetOwningArena() == other->GetOwningArena()) {
365 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
369 if (other ==
this)
return;
370 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
377 return CreateMaybeMessage<HubStatus_KnownBot>(arena);
379 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
381 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
383 HubStatus_KnownBot::MergeImpl(*
this, from);
386 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
388 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
389 bool IsInitialized() const final;
391 size_t ByteSizeLong() const final;
392 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
393 uint8_t* _InternalSerialize(
394 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
395 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
398 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
400 void SetCachedSize(
int size)
const final;
404 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
405 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
406 return "jaiabot.protobuf.HubStatus.KnownBot";
410 bool is_message_owned =
false);
414 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
416 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
423 kLastStatusTimeFieldNumber = 2,
427 bool has_last_status_time()
const;
429 bool _internal_has_last_status_time()
const;
431 void clear_last_status_time();
432 uint64_t last_status_time()
const;
433 void set_last_status_time(uint64_t value);
435 uint64_t _internal_last_status_time()
const;
436 void _internal_set_last_status_time(uint64_t value);
442 bool _internal_has_id()
const;
446 void set_id(uint32_t value);
448 uint32_t _internal_id()
const;
449 void _internal_set_id(uint32_t value);
454 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;
456 template<
typename Quantity >
458 { set_last_status_time(boost::units::quantity<last_status_time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
460 template<
typename Quantity >
465 {
return last_status_time_with_units<boost::units::quantity< last_status_time_unit,google::protobuf::uint64 > >(); };
472 size_t RequiredFieldsByteSizeFallback()
const;
474 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
475 typedef void InternalArenaConstructable_;
476 typedef void DestructorSkippable_;
478 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
479 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
480 uint64_t last_status_time_;
484 friend struct ::TableStruct_jaiabot_2fmessages_2fhub_2eproto;
489 public ::PROTOBUF_NAMESPACE_ID::Message {
493 explicit PROTOBUF_CONSTEXPR
HubStatus(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
498 *
this = ::std::move(from);
506 if (
this == &from)
return *
this;
507 if (GetOwningArena() == from.GetOwningArena()
508 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
509 && GetOwningArena() !=
nullptr
520 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
523 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
526 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
527 return GetDescriptor();
530 return default_instance().GetMetadata().descriptor;
533 return default_instance().GetMetadata().reflection;
536 return *internal_default_instance();
539 return reinterpret_cast<const HubStatus*
>(
542 static constexpr int kIndexInFileMessages =
549 if (other ==
this)
return;
550 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
551 if (GetOwningArena() !=
nullptr &&
552 GetOwningArena() == other->GetOwningArena()) {
554 if (GetOwningArena() == other->GetOwningArena()) {
558 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
562 if (other ==
this)
return;
563 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
569 HubStatus*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
570 return CreateMaybeMessage<HubStatus>(arena);
572 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
574 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
576 HubStatus::MergeImpl(*
this, from);
579 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
581 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
582 bool IsInitialized() const final;
584 size_t ByteSizeLong() const final;
585 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
586 uint8_t* _InternalSerialize(
587 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
588 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
591 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
593 void SetCachedSize(
int size)
const final;
597 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
598 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
599 return "jaiabot.protobuf.HubStatus";
602 explicit HubStatus(::PROTOBUF_NAMESPACE_ID::Arena* arena,
603 bool is_message_owned =
false);
607 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
609 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
619 kErrorFieldNumber = 5,
620 kWarningFieldNumber = 6,
621 kBotIdsInRadioFileFieldNumber = 11,
622 kKnownBotFieldNumber = 15,
623 kLocationFieldNumber = 10,
624 kLinuxHardwareStatusFieldNumber = 12,
625 kBotOffloadFieldNumber = 13,
626 kHubIdFieldNumber = 1,
627 kFleetIdFieldNumber = 2,
628 kTimeFieldNumber = 3,
629 kReceivedTimeFieldNumber = 14,
630 kHealthStateFieldNumber = 4,
633 int error_size()
const;
635 int _internal_error_size()
const;
641 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* _internal_mutable_error();
646 const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>& error()
const;
647 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* mutable_error();
650 int warning_size()
const;
652 int _internal_warning_size()
const;
654 void clear_warning();
658 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* _internal_mutable_warning();
663 const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>& warning()
const;
664 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* mutable_warning();
667 int bot_ids_in_radio_file_size()
const;
669 int _internal_bot_ids_in_radio_file_size()
const;
671 void clear_bot_ids_in_radio_file();
673 uint32_t _internal_bot_ids_in_radio_file(
int index)
const;
674 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
675 _internal_bot_ids_in_radio_file()
const;
676 void _internal_add_bot_ids_in_radio_file(uint32_t value);
677 ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
678 _internal_mutable_bot_ids_in_radio_file();
680 uint32_t bot_ids_in_radio_file(
int index)
const;
681 void set_bot_ids_in_radio_file(
int index, uint32_t value);
682 void add_bot_ids_in_radio_file(uint32_t value);
683 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
684 bot_ids_in_radio_file()
const;
685 ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
686 mutable_bot_ids_in_radio_file();
689 int known_bot_size()
const;
691 int _internal_known_bot_size()
const;
693 void clear_known_bot();
695 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::HubStatus_KnownBot >*
698 const ::jaiabot::protobuf::HubStatus_KnownBot& _internal_known_bot(
int index)
const;
701 const ::jaiabot::protobuf::HubStatus_KnownBot& known_bot(
int index)
const;
703 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::HubStatus_KnownBot >&
707 bool has_location()
const;
709 bool _internal_has_location()
const;
712 const ::jaiabot::protobuf::GeographicCoordinate& location()
const;
713 PROTOBUF_NODISCARD ::jaiabot::protobuf::GeographicCoordinate* release_location();
717 const ::jaiabot::protobuf::GeographicCoordinate& _internal_location()
const;
720 void unsafe_arena_set_allocated_location(
725 bool has_linux_hardware_status()
const;
727 bool _internal_has_linux_hardware_status()
const;
730 const ::jaiabot::protobuf::LinuxHardwareStatus& linux_hardware_status()
const;
731 PROTOBUF_NODISCARD ::jaiabot::protobuf::LinuxHardwareStatus* release_linux_hardware_status();
735 const ::jaiabot::protobuf::LinuxHardwareStatus& _internal_linux_hardware_status()
const;
738 void unsafe_arena_set_allocated_linux_hardware_status(
743 bool has_bot_offload()
const;
745 bool _internal_has_bot_offload()
const;
747 void clear_bot_offload();
748 const ::jaiabot::protobuf::HubStatus_BotOffloadData& bot_offload()
const;
749 PROTOBUF_NODISCARD ::jaiabot::protobuf::HubStatus_BotOffloadData* release_bot_offload();
753 const ::jaiabot::protobuf::HubStatus_BotOffloadData& _internal_bot_offload()
const;
756 void unsafe_arena_set_allocated_bot_offload(
761 bool has_hub_id()
const;
763 bool _internal_has_hub_id()
const;
766 uint32_t hub_id()
const;
767 void set_hub_id(uint32_t value);
769 uint32_t _internal_hub_id()
const;
770 void _internal_set_hub_id(uint32_t value);
774 bool has_fleet_id()
const;
776 bool _internal_has_fleet_id()
const;
778 void clear_fleet_id();
779 uint32_t fleet_id()
const;
780 void set_fleet_id(uint32_t value);
782 uint32_t _internal_fleet_id()
const;
783 void _internal_set_fleet_id(uint32_t value);
787 bool has_time()
const;
789 bool _internal_has_time()
const;
792 uint64_t time()
const;
793 void set_time(uint64_t value);
795 uint64_t _internal_time()
const;
796 void _internal_set_time(uint64_t value);
800 bool has_received_time()
const;
802 bool _internal_has_received_time()
const;
804 void clear_received_time();
805 uint64_t received_time()
const;
806 void set_received_time(uint64_t value);
808 uint64_t _internal_received_time()
const;
809 void _internal_set_received_time(uint64_t value);
813 bool has_health_state()
const;
815 bool _internal_has_health_state()
const;
817 void clear_health_state();
818 ::goby::middleware::protobuf::HealthState health_state()
const;
819 void set_health_state(::goby::middleware::protobuf::HealthState value);
821 ::goby::middleware::protobuf::HealthState _internal_health_state()
const;
822 void _internal_set_health_state(::goby::middleware::protobuf::HealthState value);
827 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;
829 template<
typename Quantity >
831 { set_time(boost::units::quantity<time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
833 template<
typename Quantity >
835 {
return Quantity(time() *
time_unit()); };
838 {
return time_with_units<boost::units::quantity< time_unit,google::protobuf::uint64 > >(); };
842 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;
844 template<
typename Quantity >
846 { set_received_time(boost::units::quantity<received_time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
848 template<
typename Quantity >
853 {
return received_time_with_units<boost::units::quantity< received_time_unit,google::protobuf::uint64 > >(); };
860 size_t RequiredFieldsByteSizeFallback()
const;
862 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
863 typedef void InternalArenaConstructable_;
864 typedef void DestructorSkippable_;
866 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
867 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
868 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int> error_;
869 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int> warning_;
870 ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > bot_ids_in_radio_file_;
871 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::HubStatus_KnownBot > known_bot_;
878 uint64_t received_time_;
882 friend struct ::TableStruct_jaiabot_2fmessages_2fhub_2eproto;
890 #pragma GCC diagnostic push
891 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
896inline bool HubStatus_BotOffloadData::_internal_has_bot_id()
const {
897 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
900inline bool HubStatus_BotOffloadData::has_bot_id()
const {
901 return _internal_has_bot_id();
903inline void HubStatus_BotOffloadData::clear_bot_id() {
905 _impl_._has_bits_[0] &= ~0x00000001u;
907inline uint32_t HubStatus_BotOffloadData::_internal_bot_id()
const {
908 return _impl_.bot_id_;
910inline uint32_t HubStatus_BotOffloadData::bot_id()
const {
912 return _internal_bot_id();
914inline void HubStatus_BotOffloadData::_internal_set_bot_id(uint32_t value) {
915 _impl_._has_bits_[0] |= 0x00000001u;
916 _impl_.bot_id_ = value;
918inline void HubStatus_BotOffloadData::set_bot_id(uint32_t value) {
919 _internal_set_bot_id(value);
924inline bool HubStatus_BotOffloadData::_internal_has_data_offload_percentage()
const {
925 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
928inline bool HubStatus_BotOffloadData::has_data_offload_percentage()
const {
929 return _internal_has_data_offload_percentage();
931inline void HubStatus_BotOffloadData::clear_data_offload_percentage() {
932 _impl_.data_offload_percentage_ = 0u;
933 _impl_._has_bits_[0] &= ~0x00000002u;
935inline uint32_t HubStatus_BotOffloadData::_internal_data_offload_percentage()
const {
936 return _impl_.data_offload_percentage_;
938inline uint32_t HubStatus_BotOffloadData::data_offload_percentage()
const {
940 return _internal_data_offload_percentage();
942inline void HubStatus_BotOffloadData::_internal_set_data_offload_percentage(uint32_t value) {
943 _impl_._has_bits_[0] |= 0x00000002u;
944 _impl_.data_offload_percentage_ = value;
946inline void HubStatus_BotOffloadData::set_data_offload_percentage(uint32_t value) {
947 _internal_set_data_offload_percentage(value);
952inline bool HubStatus_BotOffloadData::_internal_has_offload_succeeded()
const {
953 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
956inline bool HubStatus_BotOffloadData::has_offload_succeeded()
const {
957 return _internal_has_offload_succeeded();
959inline void HubStatus_BotOffloadData::clear_offload_succeeded() {
960 _impl_.offload_succeeded_ =
false;
961 _impl_._has_bits_[0] &= ~0x00000004u;
963inline bool HubStatus_BotOffloadData::_internal_offload_succeeded()
const {
964 return _impl_.offload_succeeded_;
966inline bool HubStatus_BotOffloadData::offload_succeeded()
const {
968 return _internal_offload_succeeded();
970inline void HubStatus_BotOffloadData::_internal_set_offload_succeeded(
bool value) {
971 _impl_._has_bits_[0] |= 0x00000004u;
972 _impl_.offload_succeeded_ = value;
974inline void HubStatus_BotOffloadData::set_offload_succeeded(
bool value) {
975 _internal_set_offload_succeeded(value);
980inline int HubStatus_BotOffloadData::_internal_bots_pending_size()
const {
981 return _impl_.bots_pending_.size();
983inline int HubStatus_BotOffloadData::bots_pending_size()
const {
984 return _internal_bots_pending_size();
986inline void HubStatus_BotOffloadData::clear_bots_pending() {
987 _impl_.bots_pending_.Clear();
989inline uint32_t HubStatus_BotOffloadData::_internal_bots_pending(
int index)
const {
990 return _impl_.bots_pending_.Get(index);
992inline uint32_t HubStatus_BotOffloadData::bots_pending(
int index)
const {
994 return _internal_bots_pending(index);
996inline void HubStatus_BotOffloadData::set_bots_pending(
int index, uint32_t value) {
997 _impl_.bots_pending_.Set(index, value);
1000inline void HubStatus_BotOffloadData::_internal_add_bots_pending(uint32_t value) {
1001 _impl_.bots_pending_.Add(value);
1003inline void HubStatus_BotOffloadData::add_bots_pending(uint32_t value) {
1004 _internal_add_bots_pending(value);
1007inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
1008HubStatus_BotOffloadData::_internal_bots_pending()
const {
1009 return _impl_.bots_pending_;
1011inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
1012HubStatus_BotOffloadData::bots_pending()
const {
1014 return _internal_bots_pending();
1016inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
1017HubStatus_BotOffloadData::_internal_mutable_bots_pending() {
1018 return &_impl_.bots_pending_;
1020inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
1021HubStatus_BotOffloadData::mutable_bots_pending() {
1023 return _internal_mutable_bots_pending();
1031inline bool HubStatus_KnownBot::_internal_has_id()
const {
1032 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1035inline bool HubStatus_KnownBot::has_id()
const {
1036 return _internal_has_id();
1038inline void HubStatus_KnownBot::clear_id() {
1040 _impl_._has_bits_[0] &= ~0x00000002u;
1042inline uint32_t HubStatus_KnownBot::_internal_id()
const {
1045inline uint32_t HubStatus_KnownBot::id()
const {
1047 return _internal_id();
1049inline void HubStatus_KnownBot::_internal_set_id(uint32_t value) {
1050 _impl_._has_bits_[0] |= 0x00000002u;
1053inline void HubStatus_KnownBot::set_id(uint32_t value) {
1054 _internal_set_id(value);
1059inline bool HubStatus_KnownBot::_internal_has_last_status_time()
const {
1060 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1063inline bool HubStatus_KnownBot::has_last_status_time()
const {
1064 return _internal_has_last_status_time();
1066inline void HubStatus_KnownBot::clear_last_status_time() {
1067 _impl_.last_status_time_ = uint64_t{0u};
1068 _impl_._has_bits_[0] &= ~0x00000001u;
1070inline uint64_t HubStatus_KnownBot::_internal_last_status_time()
const {
1071 return _impl_.last_status_time_;
1073inline uint64_t HubStatus_KnownBot::last_status_time()
const {
1075 return _internal_last_status_time();
1077inline void HubStatus_KnownBot::_internal_set_last_status_time(uint64_t value) {
1078 _impl_._has_bits_[0] |= 0x00000001u;
1079 _impl_.last_status_time_ = value;
1081inline void HubStatus_KnownBot::set_last_status_time(uint64_t value) {
1082 _internal_set_last_status_time(value);
1091inline bool HubStatus::_internal_has_hub_id()
const {
1092 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
1095inline bool HubStatus::has_hub_id()
const {
1096 return _internal_has_hub_id();
1098inline void HubStatus::clear_hub_id() {
1099 _impl_.hub_id_ = 0u;
1100 _impl_._has_bits_[0] &= ~0x00000008u;
1102inline uint32_t HubStatus::_internal_hub_id()
const {
1103 return _impl_.hub_id_;
1105inline uint32_t HubStatus::hub_id()
const {
1107 return _internal_hub_id();
1109inline void HubStatus::_internal_set_hub_id(uint32_t value) {
1110 _impl_._has_bits_[0] |= 0x00000008u;
1111 _impl_.hub_id_ = value;
1113inline void HubStatus::set_hub_id(uint32_t value) {
1114 _internal_set_hub_id(value);
1119inline bool HubStatus::_internal_has_fleet_id()
const {
1120 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
1123inline bool HubStatus::has_fleet_id()
const {
1124 return _internal_has_fleet_id();
1126inline void HubStatus::clear_fleet_id() {
1127 _impl_.fleet_id_ = 0u;
1128 _impl_._has_bits_[0] &= ~0x00000010u;
1130inline uint32_t HubStatus::_internal_fleet_id()
const {
1131 return _impl_.fleet_id_;
1133inline uint32_t HubStatus::fleet_id()
const {
1135 return _internal_fleet_id();
1137inline void HubStatus::_internal_set_fleet_id(uint32_t value) {
1138 _impl_._has_bits_[0] |= 0x00000010u;
1139 _impl_.fleet_id_ = value;
1141inline void HubStatus::set_fleet_id(uint32_t value) {
1142 _internal_set_fleet_id(value);
1147inline bool HubStatus::_internal_has_time()
const {
1148 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
1151inline bool HubStatus::has_time()
const {
1152 return _internal_has_time();
1154inline void HubStatus::clear_time() {
1155 _impl_.time_ = uint64_t{0u};
1156 _impl_._has_bits_[0] &= ~0x00000020u;
1158inline uint64_t HubStatus::_internal_time()
const {
1159 return _impl_.time_;
1161inline uint64_t HubStatus::time()
const {
1163 return _internal_time();
1165inline void HubStatus::_internal_set_time(uint64_t value) {
1166 _impl_._has_bits_[0] |= 0x00000020u;
1167 _impl_.time_ = value;
1169inline void HubStatus::set_time(uint64_t value) {
1170 _internal_set_time(value);
1175inline bool HubStatus::_internal_has_health_state()
const {
1176 bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
1179inline bool HubStatus::has_health_state()
const {
1180 return _internal_has_health_state();
1182inline void HubStatus::clear_health_state() {
1183 _impl_.health_state_ = 1;
1184 _impl_._has_bits_[0] &= ~0x00000080u;
1186inline ::goby::middleware::protobuf::HealthState HubStatus::_internal_health_state()
const {
1187 return static_cast< ::goby::middleware::protobuf::HealthState
>(_impl_.health_state_);
1189inline ::goby::middleware::protobuf::HealthState HubStatus::health_state()
const {
1191 return _internal_health_state();
1193inline void HubStatus::_internal_set_health_state(::goby::middleware::protobuf::HealthState value) {
1194 assert(::goby::middleware::protobuf::HealthState_IsValid(value));
1195 _impl_._has_bits_[0] |= 0x00000080u;
1196 _impl_.health_state_ = value;
1198inline void HubStatus::set_health_state(::goby::middleware::protobuf::HealthState value) {
1199 _internal_set_health_state(value);
1204inline int HubStatus::_internal_error_size()
const {
1205 return _impl_.error_.size();
1207inline int HubStatus::error_size()
const {
1208 return _internal_error_size();
1210inline void HubStatus::clear_error() {
1211 _impl_.error_.Clear();
1213inline ::jaiabot::protobuf::Error HubStatus::_internal_error(
int index)
const {
1216inline ::jaiabot::protobuf::Error HubStatus::error(
int index)
const {
1218 return _internal_error(index);
1222 _impl_.error_.Set(index, value);
1227 _impl_.error_.Add(value);
1230 _internal_add_error(value);
1233inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>&
1234HubStatus::error()
const {
1236 return _impl_.error_;
1238inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
1239HubStatus::_internal_mutable_error() {
1240 return &_impl_.error_;
1242inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
1243HubStatus::mutable_error() {
1245 return _internal_mutable_error();
1249inline int HubStatus::_internal_warning_size()
const {
1250 return _impl_.warning_.size();
1252inline int HubStatus::warning_size()
const {
1253 return _internal_warning_size();
1255inline void HubStatus::clear_warning() {
1256 _impl_.warning_.Clear();
1258inline ::jaiabot::protobuf::Warning HubStatus::_internal_warning(
int index)
const {
1261inline ::jaiabot::protobuf::Warning HubStatus::warning(
int index)
const {
1263 return _internal_warning(index);
1267 _impl_.warning_.Set(index, value);
1272 _impl_.warning_.Add(value);
1275 _internal_add_warning(value);
1278inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>&
1279HubStatus::warning()
const {
1281 return _impl_.warning_;
1283inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
1284HubStatus::_internal_mutable_warning() {
1285 return &_impl_.warning_;
1287inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
1288HubStatus::mutable_warning() {
1290 return _internal_mutable_warning();
1294inline bool HubStatus::_internal_has_location()
const {
1295 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1296 PROTOBUF_ASSUME(!value || _impl_.location_ !=
nullptr);
1299inline bool HubStatus::has_location()
const {
1300 return _internal_has_location();
1302inline const ::jaiabot::protobuf::GeographicCoordinate& HubStatus::_internal_location()
const {
1303 const ::jaiabot::protobuf::GeographicCoordinate* p = _impl_.location_;
1307inline const ::jaiabot::protobuf::GeographicCoordinate& HubStatus::location()
const {
1309 return _internal_location();
1311inline void HubStatus::unsafe_arena_set_allocated_location(
1313 if (GetArenaForAllocation() ==
nullptr) {
1314 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.location_);
1316 _impl_.location_ = location;
1318 _impl_._has_bits_[0] |= 0x00000001u;
1320 _impl_._has_bits_[0] &= ~0x00000001u;
1324inline ::jaiabot::protobuf::GeographicCoordinate* HubStatus::release_location() {
1325 _impl_._has_bits_[0] &= ~0x00000001u;
1327 _impl_.location_ =
nullptr;
1328#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1329 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
1330 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1331 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
1333 if (GetArenaForAllocation() !=
nullptr) {
1334 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1339inline ::jaiabot::protobuf::GeographicCoordinate* HubStatus::unsafe_arena_release_location() {
1341 _impl_._has_bits_[0] &= ~0x00000001u;
1343 _impl_.location_ =
nullptr;
1346inline ::jaiabot::protobuf::GeographicCoordinate* HubStatus::_internal_mutable_location() {
1347 _impl_._has_bits_[0] |= 0x00000001u;
1348 if (_impl_.location_ ==
nullptr) {
1350 _impl_.location_ = p;
1352 return _impl_.location_;
1354inline ::jaiabot::protobuf::GeographicCoordinate* HubStatus::mutable_location() {
1360 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1361 if (message_arena ==
nullptr) {
1362 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.location_);
1365 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1366 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1367 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(location));
1368 if (message_arena != submessage_arena) {
1369 location = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1370 message_arena, location, submessage_arena);
1372 _impl_._has_bits_[0] |= 0x00000001u;
1374 _impl_._has_bits_[0] &= ~0x00000001u;
1376 _impl_.location_ = location;
1381inline int HubStatus::_internal_bot_ids_in_radio_file_size()
const {
1382 return _impl_.bot_ids_in_radio_file_.size();
1384inline int HubStatus::bot_ids_in_radio_file_size()
const {
1385 return _internal_bot_ids_in_radio_file_size();
1387inline void HubStatus::clear_bot_ids_in_radio_file() {
1388 _impl_.bot_ids_in_radio_file_.Clear();
1390inline uint32_t HubStatus::_internal_bot_ids_in_radio_file(
int index)
const {
1391 return _impl_.bot_ids_in_radio_file_.Get(index);
1393inline uint32_t HubStatus::bot_ids_in_radio_file(
int index)
const {
1395 return _internal_bot_ids_in_radio_file(index);
1397inline void HubStatus::set_bot_ids_in_radio_file(
int index, uint32_t value) {
1398 _impl_.bot_ids_in_radio_file_.Set(index, value);
1401inline void HubStatus::_internal_add_bot_ids_in_radio_file(uint32_t value) {
1402 _impl_.bot_ids_in_radio_file_.Add(value);
1404inline void HubStatus::add_bot_ids_in_radio_file(uint32_t value) {
1405 _internal_add_bot_ids_in_radio_file(value);
1408inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
1409HubStatus::_internal_bot_ids_in_radio_file()
const {
1410 return _impl_.bot_ids_in_radio_file_;
1412inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
1413HubStatus::bot_ids_in_radio_file()
const {
1415 return _internal_bot_ids_in_radio_file();
1417inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
1418HubStatus::_internal_mutable_bot_ids_in_radio_file() {
1419 return &_impl_.bot_ids_in_radio_file_;
1421inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
1422HubStatus::mutable_bot_ids_in_radio_file() {
1424 return _internal_mutable_bot_ids_in_radio_file();
1428inline bool HubStatus::_internal_has_linux_hardware_status()
const {
1429 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1430 PROTOBUF_ASSUME(!value || _impl_.linux_hardware_status_ !=
nullptr);
1433inline bool HubStatus::has_linux_hardware_status()
const {
1434 return _internal_has_linux_hardware_status();
1436inline const ::jaiabot::protobuf::LinuxHardwareStatus& HubStatus::_internal_linux_hardware_status()
const {
1437 const ::jaiabot::protobuf::LinuxHardwareStatus* p = _impl_.linux_hardware_status_;
1441inline const ::jaiabot::protobuf::LinuxHardwareStatus& HubStatus::linux_hardware_status()
const {
1443 return _internal_linux_hardware_status();
1445inline void HubStatus::unsafe_arena_set_allocated_linux_hardware_status(
1447 if (GetArenaForAllocation() ==
nullptr) {
1448 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.linux_hardware_status_);
1450 _impl_.linux_hardware_status_ = linux_hardware_status;
1451 if (linux_hardware_status) {
1452 _impl_._has_bits_[0] |= 0x00000002u;
1454 _impl_._has_bits_[0] &= ~0x00000002u;
1458inline ::jaiabot::protobuf::LinuxHardwareStatus* HubStatus::release_linux_hardware_status() {
1459 _impl_._has_bits_[0] &= ~0x00000002u;
1461 _impl_.linux_hardware_status_ =
nullptr;
1462#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1463 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
1464 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1465 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
1467 if (GetArenaForAllocation() !=
nullptr) {
1468 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1473inline ::jaiabot::protobuf::LinuxHardwareStatus* HubStatus::unsafe_arena_release_linux_hardware_status() {
1475 _impl_._has_bits_[0] &= ~0x00000002u;
1477 _impl_.linux_hardware_status_ =
nullptr;
1480inline ::jaiabot::protobuf::LinuxHardwareStatus* HubStatus::_internal_mutable_linux_hardware_status() {
1481 _impl_._has_bits_[0] |= 0x00000002u;
1482 if (_impl_.linux_hardware_status_ ==
nullptr) {
1484 _impl_.linux_hardware_status_ = p;
1486 return _impl_.linux_hardware_status_;
1488inline ::jaiabot::protobuf::LinuxHardwareStatus* HubStatus::mutable_linux_hardware_status() {
1494 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1495 if (message_arena ==
nullptr) {
1496 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.linux_hardware_status_);
1498 if (linux_hardware_status) {
1499 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1500 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1501 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(linux_hardware_status));
1502 if (message_arena != submessage_arena) {
1503 linux_hardware_status = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1504 message_arena, linux_hardware_status, submessage_arena);
1506 _impl_._has_bits_[0] |= 0x00000002u;
1508 _impl_._has_bits_[0] &= ~0x00000002u;
1510 _impl_.linux_hardware_status_ = linux_hardware_status;
1515inline bool HubStatus::_internal_has_bot_offload()
const {
1516 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1517 PROTOBUF_ASSUME(!value || _impl_.bot_offload_ !=
nullptr);
1520inline bool HubStatus::has_bot_offload()
const {
1521 return _internal_has_bot_offload();
1523inline void HubStatus::clear_bot_offload() {
1524 if (_impl_.bot_offload_ !=
nullptr) _impl_.bot_offload_->Clear();
1525 _impl_._has_bits_[0] &= ~0x00000004u;
1527inline const ::jaiabot::protobuf::HubStatus_BotOffloadData& HubStatus::_internal_bot_offload()
const {
1528 const ::jaiabot::protobuf::HubStatus_BotOffloadData* p = _impl_.bot_offload_;
1532inline const ::jaiabot::protobuf::HubStatus_BotOffloadData& HubStatus::bot_offload()
const {
1534 return _internal_bot_offload();
1536inline void HubStatus::unsafe_arena_set_allocated_bot_offload(
1538 if (GetArenaForAllocation() ==
nullptr) {
1539 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.bot_offload_);
1541 _impl_.bot_offload_ = bot_offload;
1543 _impl_._has_bits_[0] |= 0x00000004u;
1545 _impl_._has_bits_[0] &= ~0x00000004u;
1549inline ::jaiabot::protobuf::HubStatus_BotOffloadData* HubStatus::release_bot_offload() {
1550 _impl_._has_bits_[0] &= ~0x00000004u;
1552 _impl_.bot_offload_ =
nullptr;
1553#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1554 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
1555 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1556 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
1558 if (GetArenaForAllocation() !=
nullptr) {
1559 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1564inline ::jaiabot::protobuf::HubStatus_BotOffloadData* HubStatus::unsafe_arena_release_bot_offload() {
1566 _impl_._has_bits_[0] &= ~0x00000004u;
1568 _impl_.bot_offload_ =
nullptr;
1571inline ::jaiabot::protobuf::HubStatus_BotOffloadData* HubStatus::_internal_mutable_bot_offload() {
1572 _impl_._has_bits_[0] |= 0x00000004u;
1573 if (_impl_.bot_offload_ ==
nullptr) {
1575 _impl_.bot_offload_ = p;
1577 return _impl_.bot_offload_;
1579inline ::jaiabot::protobuf::HubStatus_BotOffloadData* HubStatus::mutable_bot_offload() {
1585 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1586 if (message_arena ==
nullptr) {
1587 delete _impl_.bot_offload_;
1590 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1591 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(bot_offload);
1592 if (message_arena != submessage_arena) {
1593 bot_offload = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1594 message_arena, bot_offload, submessage_arena);
1596 _impl_._has_bits_[0] |= 0x00000004u;
1598 _impl_._has_bits_[0] &= ~0x00000004u;
1600 _impl_.bot_offload_ = bot_offload;
1605inline bool HubStatus::_internal_has_received_time()
const {
1606 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
1609inline bool HubStatus::has_received_time()
const {
1610 return _internal_has_received_time();
1612inline void HubStatus::clear_received_time() {
1613 _impl_.received_time_ = uint64_t{0u};
1614 _impl_._has_bits_[0] &= ~0x00000040u;
1616inline uint64_t HubStatus::_internal_received_time()
const {
1617 return _impl_.received_time_;
1619inline uint64_t HubStatus::received_time()
const {
1621 return _internal_received_time();
1623inline void HubStatus::_internal_set_received_time(uint64_t value) {
1624 _impl_._has_bits_[0] |= 0x00000040u;
1625 _impl_.received_time_ = value;
1627inline void HubStatus::set_received_time(uint64_t value) {
1628 _internal_set_received_time(value);
1633inline int HubStatus::_internal_known_bot_size()
const {
1634 return _impl_.known_bot_.size();
1636inline int HubStatus::known_bot_size()
const {
1637 return _internal_known_bot_size();
1639inline void HubStatus::clear_known_bot() {
1640 _impl_.known_bot_.Clear();
1642inline ::jaiabot::protobuf::HubStatus_KnownBot* HubStatus::mutable_known_bot(
int index) {
1644 return _impl_.known_bot_.Mutable(index);
1646inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::HubStatus_KnownBot >*
1647HubStatus::mutable_known_bot() {
1649 return &_impl_.known_bot_;
1651inline const ::jaiabot::protobuf::HubStatus_KnownBot& HubStatus::_internal_known_bot(
int index)
const {
1652 return _impl_.known_bot_.Get(index);
1654inline const ::jaiabot::protobuf::HubStatus_KnownBot& HubStatus::known_bot(
int index)
const {
1656 return _internal_known_bot(index);
1658inline ::jaiabot::protobuf::HubStatus_KnownBot* HubStatus::_internal_add_known_bot() {
1659 return _impl_.known_bot_.Add();
1661inline ::jaiabot::protobuf::HubStatus_KnownBot* HubStatus::add_known_bot() {
1666inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::HubStatus_KnownBot >&
1667HubStatus::known_bot()
const {
1669 return _impl_.known_bot_;
1673 #pragma GCC diagnostic pop
1687#include <google/protobuf/port_undef.inc>
HubStatus_BotOffloadData & operator=(const HubStatus_BotOffloadData &from)
bool offload_succeeded() const
void set_bots_pending(int index, uint32_t value)
void clear_offload_succeeded()
friend void swap(HubStatus_BotOffloadData &a, HubStatus_BotOffloadData &b)
void CopyFrom(const HubStatus_BotOffloadData &from)
HubStatus_BotOffloadData(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static constexpr int kIndexInFileMessages
HubStatus_BotOffloadData(HubStatus_BotOffloadData &&from) noexcept
void add_bots_pending(uint32_t value)
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
static const HubStatus_BotOffloadData & default_instance()
void clear_data_offload_percentage()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
PROTOBUF_CONSTEXPR HubStatus_BotOffloadData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void set_offload_succeeded(bool value)
static const HubStatus_BotOffloadData * internal_default_instance()
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
HubStatus_BotOffloadData(const HubStatus_BotOffloadData &from)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
bool has_data_offload_percentage() const
int GetCachedSize() const final
bool has_offload_succeeded() const
~HubStatus_BotOffloadData() override
void UnsafeArenaSwap(HubStatus_BotOffloadData *other)
HubStatus_BotOffloadData & operator=(HubStatus_BotOffloadData &&from) noexcept
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > & bots_pending() const
void Swap(HubStatus_BotOffloadData *other)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
bool IsInitialized() const final
static const ClassData _class_data_
void set_data_offload_percentage(uint32_t value)
::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > * mutable_bots_pending()
int bots_pending_size() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void clear_bots_pending()
void set_bot_id(uint32_t value)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
HubStatus_BotOffloadData * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
uint32_t data_offload_percentage() const
size_t ByteSizeLong() const final
void MergeFrom(const HubStatus_BotOffloadData &from)
HubStatus_BotOffloadData()
@ kDataOffloadPercentageFieldNumber
@ kBotsPendingFieldNumber
@ kOffloadSucceededFieldNumber
HubStatus_KnownBot(HubStatus_KnownBot &&from) noexcept
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
void CopyFrom(const HubStatus_KnownBot &from)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
friend void swap(HubStatus_KnownBot &a, HubStatus_KnownBot &b)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
static const HubStatus_KnownBot * internal_default_instance()
HubStatus_KnownBot * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
static const ClassData _class_data_
PROTOBUF_CONSTEXPR HubStatus_KnownBot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
HubStatus_KnownBot & operator=(HubStatus_KnownBot &&from) noexcept
~HubStatus_KnownBot() override
boost::units::time_dimension last_status_time_dimension
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
boost::units::quantity< last_status_time_unit, google::protobuf::uint64 > last_status_time_with_units() const
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Quantity last_status_time_with_units() const
void Swap(HubStatus_KnownBot *other)
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
void set_last_status_time_with_units(Quantity value_w_units)
void UnsafeArenaSwap(HubStatus_KnownBot *other)
HubStatus_KnownBot & operator=(const HubStatus_KnownBot &from)
static const HubStatus_KnownBot & default_instance()
HubStatus_KnownBot(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void MergeFrom(const HubStatus_KnownBot &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
HubStatus_KnownBot(const HubStatus_KnownBot &from)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
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 * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
boost::units::quantity< time_unit, google::protobuf::uint64 > time_with_units() const
Quantity time_with_units() const
HubStatus(const HubStatus &from)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
boost::units::time_dimension time_dimension
friend void swap(HubStatus &a, HubStatus &b)
static const HubStatus * internal_default_instance()
Quantity received_time_with_units() const
void Swap(HubStatus *other)
static const ClassData _class_data_
HubStatus(HubStatus &&from) noexcept
void CopyFrom(const HubStatus &from)
void set_time_with_units(Quantity value_w_units)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
boost::units::time_dimension received_time_dimension
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void set_received_time_with_units(Quantity value_w_units)
PROTOBUF_CONSTEXPR HubStatus(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void MergeFrom(const HubStatus &from)
HubStatus & operator=(HubStatus &&from) noexcept
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void UnsafeArenaSwap(HubStatus *other)
boost::units::quantity< received_time_unit, google::protobuf::uint64 > received_time_with_units() const
static const HubStatus & default_instance()
void clear_linux_hardware_status()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
HubStatus & operator=(const HubStatus &from)
HubStatus(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
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
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
PROTOBUF_NAMESPACE_OPEN ::jaiabot::protobuf::GeographicCoordinate * Arena::CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate >(Arena *)
::jaiabot::protobuf::LinuxHardwareStatus * Arena::CreateMaybeMessage<::jaiabot::protobuf::LinuxHardwareStatus >(Arena *)
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fhub_2eproto
::jaiabot::protobuf::HubStatus_BotOffloadData * Arena::CreateMaybeMessage<::jaiabot::protobuf::HubStatus_BotOffloadData >(Arena *)
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 uint32_t offsets[]