4 #ifndef PROTOBUF_INCLUDED_jaiabot_2fmessages_2fhealth_2eproto
5 #define PROTOBUF_INCLUDED_jaiabot_2fmessages_2fhealth_2eproto
9 #include <google/protobuf/stubs/common.h>
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
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 3006001 < GOOGLE_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/io/coded_stream.h>
23 #include <google/protobuf/arena.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.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/generated_enum_reflection.h>
33 #include <google/protobuf/unknown_field_set.h>
34 #include "dccl/option_extensions.pb.h"
35 #include "goby/middleware/protobuf/coroner.pb.h"
37 #include <boost/units/quantity.hpp>
38 #include <boost/units/absolute.hpp>
39 #include <boost/units/dimensionless_type.hpp>
40 #include <boost/units/make_scaled_unit.hpp>
42 #include <boost/units/systems/si.hpp>
44 #include <boost/units/base_units/information/byte.hpp>
46 #define PROTOBUF_INTERNAL_EXPORT_protobuf_jaiabot_2fmessages_2fhealth_2eproto
51 static const ::google::protobuf::internal::ParseTableField
entries[];
52 static const ::google::protobuf::internal::AuxillaryParseTableField
aux[];
53 static const ::google::protobuf::internal::ParseTable
schema[15];
56 static const ::google::protobuf::uint32
offsets[];
63 class HelmIVPStatusDefaultTypeInternal;
65 class LinuxHardwareStatus;
66 class LinuxHardwareStatusDefaultTypeInternal;
68 class LinuxHardwareStatus_Disk;
69 class LinuxHardwareStatus_DiskDefaultTypeInternal;
71 class LinuxHardwareStatus_Information;
72 class LinuxHardwareStatus_InformationDefaultTypeInternal;
74 class LinuxHardwareStatus_Memory;
75 class LinuxHardwareStatus_MemoryDefaultTypeInternal;
77 class LinuxHardwareStatus_Processor;
78 class LinuxHardwareStatus_ProcessorDefaultTypeInternal;
80 class LinuxHardwareStatus_Processor_LoadAverages;
81 class LinuxHardwareStatus_Processor_LoadAveragesDefaultTypeInternal;
83 class LinuxHardwareStatus_WiFi;
84 class LinuxHardwareStatus_WiFiDefaultTypeInternal;
87 class NTPStatusDefaultTypeInternal;
89 class NTPStatus_NTPPeer;
90 class NTPStatus_NTPPeerDefaultTypeInternal;
92 class SystemdReportAck;
93 class SystemdReportAckDefaultTypeInternal;
95 class SystemdStartReport;
96 class SystemdStartReportDefaultTypeInternal;
98 class SystemdStopReport;
99 class SystemdStopReportDefaultTypeInternal;
102 class ThreadHealthDefaultTypeInternal;
105 class VehicleHealthDefaultTypeInternal;
149 return ::google::protobuf::internal::NameOfEnum(
154 return ::google::protobuf::internal::ParseNamedEnum<NTPStatus_NTPPeer_TallyCode>(
177 return ::google::protobuf::internal::NameOfEnum(
182 return ::google::protobuf::internal::ParseNamedEnum<NTPStatus_SyncSource>(
199 return ::google::protobuf::internal::NameOfEnum(
204 return ::google::protobuf::internal::ParseNamedEnum<NTPStatus_LeapIndicator>(
233 return ::google::protobuf::internal::NameOfEnum(
238 return ::google::protobuf::internal::ParseNamedEnum<NTPStatus_NTPSystemEvent>(
260 return ::google::protobuf::internal::NameOfEnum(
265 return ::google::protobuf::internal::ParseNamedEnum<SystemdStopReport_ServiceResult>(
379 return ::google::protobuf::internal::NameOfEnum(
383 const ::std::string& name,
Error* value) {
384 return ::google::protobuf::internal::ParseNamedEnum<Error>(
433 return ::google::protobuf::internal::NameOfEnum(
437 const ::std::string& name,
Warning* value) {
438 return ::google::protobuf::internal::ParseNamedEnum<Warning>(
457 *
this = ::std::move(from);
461 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
462 if (
this != &from) InternalSwap(&from);
470 return _internal_metadata_.unknown_fields();
473 return _internal_metadata_.mutable_unknown_fields();
476 static const ::google::protobuf::Descriptor*
descriptor();
495 return CreateMaybeMessage<LinuxHardwareStatus_Processor_LoadAverages>(NULL);
499 return CreateMaybeMessage<LinuxHardwareStatus_Processor_LoadAverages>(arena);
501 void CopyFrom(const ::google::protobuf::Message& from)
final;
502 void MergeFrom(const ::google::protobuf::Message& from)
final;
510 ::
google::protobuf::io::CodedInputStream* input) final;
512 ::
google::protobuf::io::CodedOutputStream* output) const final;
514 bool deterministic, ::
google::protobuf::uint8* target) const final;
520 void SetCachedSize(
int size)
const final;
523 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
526 inline void* MaybeArenaPtr()
const {
531 ::google::protobuf::Metadata
GetMetadata() const final;
560 void set_has_one_min();
561 void clear_has_one_min();
562 void set_has_five_min();
563 void clear_has_five_min();
564 void set_has_fifteen_min();
565 void clear_has_fifteen_min();
568 size_t RequiredFieldsByteSizeFallback() const;
570 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
571 ::
google::protobuf::internal::HasBits<1> _has_bits_;
572 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
594 *
this = ::std::move(from);
597 inline LinuxHardwareStatus_Processor&
operator=(LinuxHardwareStatus_Processor&& from) noexcept {
598 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
599 if (
this != &from) InternalSwap(&from);
607 return _internal_metadata_.unknown_fields();
610 return _internal_metadata_.mutable_unknown_fields();
613 static const ::google::protobuf::Descriptor*
descriptor();
632 return CreateMaybeMessage<LinuxHardwareStatus_Processor>(NULL);
636 return CreateMaybeMessage<LinuxHardwareStatus_Processor>(arena);
638 void CopyFrom(const ::google::protobuf::Message& from)
final;
639 void MergeFrom(const ::google::protobuf::Message& from)
final;
647 ::
google::protobuf::io::CodedInputStream* input) final;
649 ::
google::protobuf::io::CodedOutputStream* output) const final;
651 bool deterministic, ::
google::protobuf::uint8* target) const final;
657 void SetCachedSize(
int size)
const final;
660 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
663 inline void* MaybeArenaPtr()
const {
668 ::google::protobuf::Metadata
GetMetadata() const final;
677 bool has_loads() const;
679 static const
int kLoadsFieldNumber = 10;
689 bool has_num_processes() const;
690 void clear_num_processes();
691 static const
int kNumProcessesFieldNumber = 15;
692 ::
google::protobuf::int32 num_processes() const;
693 void set_num_processes(::
google::protobuf::int32 value);
696 bool has_num_processors() const;
697 void clear_num_processors();
698 static const
int kNumProcessorsFieldNumber = 20;
699 ::
google::protobuf::int32 num_processors() const;
700 void set_num_processors(::
google::protobuf::int32 value);
704 void set_has_loads();
705 void clear_has_loads();
706 void set_has_num_processes();
707 void clear_has_num_processes();
708 void set_has_num_processors();
709 void clear_has_num_processors();
711 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
712 ::
google::protobuf::internal::HasBits<1> _has_bits_;
713 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
715 ::
google::protobuf::int32 num_processes_;
716 ::
google::protobuf::int32 num_processors_;
735 *
this = ::std::move(from);
738 inline LinuxHardwareStatus_Information&
operator=(LinuxHardwareStatus_Information&& from) noexcept {
739 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
740 if (
this != &from) InternalSwap(&from);
748 return _internal_metadata_.unknown_fields();
751 return _internal_metadata_.mutable_unknown_fields();
754 static const ::google::protobuf::Descriptor*
descriptor();
773 return CreateMaybeMessage<LinuxHardwareStatus_Information>(NULL);
777 return CreateMaybeMessage<LinuxHardwareStatus_Information>(arena);
779 void CopyFrom(const ::google::protobuf::Message& from)
final;
780 void MergeFrom(const ::google::protobuf::Message& from)
final;
788 ::
google::protobuf::io::CodedInputStream* input) final;
790 ::
google::protobuf::io::CodedOutputStream* output) const final;
792 bool deterministic, ::
google::protobuf::uint8* target) const final;
798 void SetCachedSize(
int size)
const final;
801 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
804 inline void* MaybeArenaPtr()
const {
809 ::google::protobuf::Metadata
GetMetadata() const final;
816 bool has_total() const;
818 static const
int kTotalFieldNumber = 1;
819 ::
google::protobuf::uint64 total() const;
820 void set_total(::
google::protobuf::uint64 value);
823 bool has_available() const;
824 void clear_available();
825 static const
int kAvailableFieldNumber = 2;
826 ::
google::protobuf::uint64 available() const;
827 void set_available(::
google::protobuf::uint64 value);
830 bool has_use_percent() const;
831 void clear_use_percent();
832 static const
int kUsePercentFieldNumber = 3;
833 float use_percent() const;
834 void set_use_percent(
float value);
836 typedef
boost::units::make_scaled_unit<
boost::units::information::byte_base_unit::unit_type ,
boost::units::scale<10,
boost::units::static_rational<3> > >::type
total_unit;
838 template<typename Quantity >
839 void set_total_with_units(Quantity value_w_units)
840 { set_total(boost::units::quantity<total_unit,google::protobuf::uint64 >(value_w_units).value() ); };
842 template<
typename Quantity >
847 {
return total_with_units<boost::units::quantity< total_unit,google::protobuf::uint64 > >(); };
849 typedef boost::units::make_scaled_unit<boost::units::information::byte_base_unit::unit_type , boost::units::scale<10, boost::units::static_rational<3> > >::type available_unit;
851 template<
typename Quantity >
853 { set_available(boost::units::quantity<available_unit,google::protobuf::uint64 >(value_w_units).value() ); };
855 template<
typename Quantity >
860 {
return available_with_units<boost::units::quantity< available_unit,google::protobuf::uint64 > >(); };
864 void set_has_total();
865 void clear_has_total();
866 void set_has_available();
867 void clear_has_available();
868 void set_has_use_percent();
869 void clear_has_use_percent();
872 size_t RequiredFieldsByteSizeFallback()
const;
874 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
875 ::google::protobuf::internal::HasBits<1> _has_bits_;
876 mutable ::google::protobuf::internal::CachedSize _cached_size_;
877 ::google::protobuf::uint64 total_;
878 ::google::protobuf::uint64 available_;
880 friend struct ::protobuf_jaiabot_2fmessages_2fhealth_2eproto::TableStruct;
898 *
this = ::std::move(from);
901 inline LinuxHardwareStatus_Memory&
operator=(LinuxHardwareStatus_Memory&& from) noexcept {
902 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
903 if (
this != &from) InternalSwap(&from);
911 return _internal_metadata_.unknown_fields();
914 return _internal_metadata_.mutable_unknown_fields();
917 static const ::google::protobuf::Descriptor*
descriptor();
936 return CreateMaybeMessage<LinuxHardwareStatus_Memory>(NULL);
940 return CreateMaybeMessage<LinuxHardwareStatus_Memory>(arena);
942 void CopyFrom(const ::google::protobuf::Message& from)
final;
943 void MergeFrom(const ::google::protobuf::Message& from)
final;
951 ::
google::protobuf::io::CodedInputStream* input) final;
953 ::
google::protobuf::io::CodedOutputStream* output) const final;
955 bool deterministic, ::
google::protobuf::uint8* target) const final;
961 void SetCachedSize(
int size)
const final;
964 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
967 inline void* MaybeArenaPtr()
const {
972 ::google::protobuf::Metadata
GetMetadata() const final;
979 bool has_ram() const;
981 static const
int kRamFieldNumber = 1;
991 bool has_swap() const;
993 static const
int kSwapFieldNumber = 2;
1005 void clear_has_ram();
1006 void set_has_swap();
1007 void clear_has_swap();
1010 size_t RequiredFieldsByteSizeFallback() const;
1012 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1013 ::
google::protobuf::internal::HasBits<1> _has_bits_;
1014 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
1035 *
this = ::std::move(from);
1038 inline LinuxHardwareStatus_Disk&
operator=(LinuxHardwareStatus_Disk&& from) noexcept {
1039 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1040 if (
this != &from) InternalSwap(&from);
1048 return _internal_metadata_.unknown_fields();
1051 return _internal_metadata_.mutable_unknown_fields();
1054 static const ::google::protobuf::Descriptor*
descriptor();
1073 return CreateMaybeMessage<LinuxHardwareStatus_Disk>(NULL);
1077 return CreateMaybeMessage<LinuxHardwareStatus_Disk>(arena);
1079 void CopyFrom(const ::google::protobuf::Message& from)
final;
1080 void MergeFrom(const ::google::protobuf::Message& from)
final;
1088 ::
google::protobuf::io::CodedInputStream* input) final;
1090 ::
google::protobuf::io::CodedOutputStream* output) const final;
1092 bool deterministic, ::
google::protobuf::uint8* target) const final;
1098 void SetCachedSize(
int size)
const final;
1101 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1104 inline void* MaybeArenaPtr()
const {
1109 ::google::protobuf::Metadata
GetMetadata() const final;
1116 bool has_rootfs() const;
1117 void clear_rootfs();
1118 static const
int kRootfsFieldNumber = 1;
1128 bool has_data() const;
1130 static const
int kDataFieldNumber = 2;
1141 void set_has_rootfs();
1142 void clear_has_rootfs();
1143 void set_has_data();
1144 void clear_has_data();
1146 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1147 ::
google::protobuf::internal::HasBits<1> _has_bits_;
1148 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
1169 *
this = ::std::move(from);
1172 inline LinuxHardwareStatus_WiFi&
operator=(LinuxHardwareStatus_WiFi&& from) noexcept {
1173 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1174 if (
this != &from) InternalSwap(&from);
1182 return _internal_metadata_.unknown_fields();
1185 return _internal_metadata_.mutable_unknown_fields();
1188 static const ::google::protobuf::Descriptor*
descriptor();
1207 return CreateMaybeMessage<LinuxHardwareStatus_WiFi>(NULL);
1211 return CreateMaybeMessage<LinuxHardwareStatus_WiFi>(arena);
1213 void CopyFrom(const ::google::protobuf::Message& from)
final;
1214 void MergeFrom(const ::google::protobuf::Message& from)
final;
1222 ::
google::protobuf::io::CodedInputStream* input) final;
1224 ::
google::protobuf::io::CodedOutputStream* output) const final;
1226 bool deterministic, ::
google::protobuf::uint8* target) const final;
1232 void SetCachedSize(
int size)
const final;
1235 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1238 inline void* MaybeArenaPtr()
const {
1243 ::google::protobuf::Metadata
GetMetadata() const final;
1250 bool has_is_connected() const;
1251 void clear_is_connected();
1252 static const
int kIsConnectedFieldNumber = 1;
1253 bool is_connected() const;
1254 void set_is_connected(
bool value);
1257 bool has_link_quality() const;
1258 void clear_link_quality();
1259 static const
int kLinkQualityFieldNumber = 2;
1260 ::
google::protobuf::uint32 link_quality() const;
1261 void set_link_quality(::
google::protobuf::uint32 value);
1264 bool has_link_quality_percentage() const;
1265 void clear_link_quality_percentage();
1266 static const
int kLinkQualityPercentageFieldNumber = 3;
1267 ::
google::protobuf::uint32 link_quality_percentage() const;
1268 void set_link_quality_percentage(::
google::protobuf::uint32 value);
1271 bool has_signal_level() const;
1272 void clear_signal_level();
1273 static const
int kSignalLevelFieldNumber = 4;
1274 ::
google::protobuf::int32 signal_level() const;
1275 void set_signal_level(::
google::protobuf::int32 value);
1278 bool has_noise_level() const;
1279 void clear_noise_level();
1280 static const
int kNoiseLevelFieldNumber = 5;
1281 ::
google::protobuf::int32 noise_level() const;
1282 void set_noise_level(::
google::protobuf::int32 value);
1286 void set_has_is_connected();
1287 void clear_has_is_connected();
1288 void set_has_link_quality();
1289 void clear_has_link_quality();
1290 void set_has_link_quality_percentage();
1291 void clear_has_link_quality_percentage();
1292 void set_has_signal_level();
1293 void clear_has_signal_level();
1294 void set_has_noise_level();
1295 void clear_has_noise_level();
1297 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1298 ::
google::protobuf::internal::HasBits<1> _has_bits_;
1299 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
1301 ::
google::protobuf::uint32 link_quality_;
1302 ::
google::protobuf::uint32 link_quality_percentage_;
1303 ::
google::protobuf::int32 signal_level_;
1304 ::
google::protobuf::int32 noise_level_;
1323 *
this = ::std::move(from);
1326 inline LinuxHardwareStatus&
operator=(LinuxHardwareStatus&& from) noexcept {
1327 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1328 if (
this != &from) InternalSwap(&from);
1336 return _internal_metadata_.unknown_fields();
1339 return _internal_metadata_.mutable_unknown_fields();
1342 static const ::google::protobuf::Descriptor*
descriptor();
1361 return CreateMaybeMessage<LinuxHardwareStatus>(NULL);
1365 return CreateMaybeMessage<LinuxHardwareStatus>(arena);
1367 void CopyFrom(const ::google::protobuf::Message& from)
final;
1368 void MergeFrom(const ::google::protobuf::Message& from)
final;
1376 ::
google::protobuf::io::CodedInputStream* input) final;
1378 ::
google::protobuf::io::CodedOutputStream* output) const final;
1380 bool deterministic, ::
google::protobuf::uint8* target) const final;
1386 void SetCachedSize(
int size)
const final;
1389 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1392 inline void* MaybeArenaPtr()
const {
1397 ::google::protobuf::Metadata
GetMetadata() const final;
1410 bool has_processor() const;
1411 void clear_processor();
1412 static const
int kProcessorFieldNumber = 20;
1422 bool has_memory() const;
1423 void clear_memory();
1424 static const
int kMemoryFieldNumber = 30;
1434 bool has_disk() const;
1436 static const
int kDiskFieldNumber = 40;
1446 bool has_wifi() const;
1448 static const
int kWifiFieldNumber = 50;
1458 bool has_uptime() const;
1459 void clear_uptime();
1460 static const
int kUptimeFieldNumber = 10;
1461 ::
google::protobuf::int32 uptime() const;
1462 void set_uptime(::
google::protobuf::int32 value);
1468 template<typename Quantity >
1469 void set_uptime_with_units(Quantity value_w_units)
1470 { set_uptime(boost::units::quantity<uptime_unit,google::protobuf::int32 >(value_w_units).value() ); };
1472 template<
typename Quantity >
1477 {
return uptime_with_units<boost::units::quantity< uptime_unit,google::protobuf::int32 > >(); };
1481 void set_has_uptime();
1482 void clear_has_uptime();
1483 void set_has_processor();
1484 void clear_has_processor();
1485 void set_has_memory();
1486 void clear_has_memory();
1487 void set_has_disk();
1488 void clear_has_disk();
1489 void set_has_wifi();
1490 void clear_has_wifi();
1492 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1493 ::google::protobuf::internal::HasBits<1> _has_bits_;
1494 mutable ::google::protobuf::internal::CachedSize _cached_size_;
1499 ::google::protobuf::int32 uptime_;
1500 friend struct ::protobuf_jaiabot_2fmessages_2fhealth_2eproto::TableStruct;
1518 *
this = ::std::move(from);
1521 inline NTPStatus_NTPPeer&
operator=(NTPStatus_NTPPeer&& from) noexcept {
1522 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1523 if (
this != &from) InternalSwap(&from);
1531 return _internal_metadata_.unknown_fields();
1534 return _internal_metadata_.mutable_unknown_fields();
1537 static const ::google::protobuf::Descriptor*
descriptor();
1556 return CreateMaybeMessage<NTPStatus_NTPPeer>(NULL);
1560 return CreateMaybeMessage<NTPStatus_NTPPeer>(arena);
1562 void CopyFrom(const ::google::protobuf::Message& from)
final;
1563 void MergeFrom(const ::google::protobuf::Message& from)
final;
1571 ::
google::protobuf::io::CodedInputStream* input) final;
1573 ::
google::protobuf::io::CodedOutputStream* output) const final;
1575 bool deterministic, ::
google::protobuf::uint8* target) const final;
1581 void SetCachedSize(
int size)
const final;
1584 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1587 inline void* MaybeArenaPtr()
const {
1592 ::google::protobuf::Metadata
GetMetadata() const final;
1605 static const
TallyCode PEER_DISCARDED_BY_CLUSTER_ALGORITHM =
1615 static inline
bool TallyCode_IsValid(
int value) {
1622 static const int TallyCode_ARRAYSIZE =
1624 static inline const ::google::protobuf::EnumDescriptor*
1639 bool has_remote()
const;
1640 void clear_remote();
1641 static const int kRemoteFieldNumber = 2;
1642 const ::std::string& remote()
const;
1643 void set_remote(const ::std::string& value);
1645 void set_remote(::std::string&& value);
1647 void set_remote(
const char* value);
1648 void set_remote(
const char* value,
size_t size);
1649 ::std::string* mutable_remote();
1650 ::std::string* release_remote();
1651 void set_allocated_remote(::std::string* remote);
1654 bool has_refid()
const;
1656 static const int kRefidFieldNumber = 3;
1657 const ::std::string& refid()
const;
1658 void set_refid(const ::std::string& value);
1660 void set_refid(::std::string&& value);
1662 void set_refid(
const char* value);
1663 void set_refid(
const char* value,
size_t size);
1664 ::std::string* mutable_refid();
1665 ::std::string* release_refid();
1666 void set_allocated_refid(::std::string* refid);
1669 bool has_reach()
const;
1671 static const int kReachFieldNumber = 7;
1672 ::google::protobuf::int32 reach()
const;
1673 void set_reach(::google::protobuf::int32 value);
1676 bool has_jitter()
const;
1677 void clear_jitter();
1678 static const int kJitterFieldNumber = 10;
1679 float jitter()
const;
1680 void set_jitter(
float value);
1683 bool has_tally_code()
const;
1684 void clear_tally_code();
1685 static const int kTallyCodeFieldNumber = 1;
1690 bool has_stratum()
const;
1691 void clear_stratum();
1692 static const int kStratumFieldNumber = 4;
1693 ::google::protobuf::int32 stratum()
const;
1694 void set_stratum(::google::protobuf::int32 value);
1697 bool has_when()
const;
1699 static const int kWhenFieldNumber = 5;
1700 ::google::protobuf::int32 when()
const;
1701 void set_when(::google::protobuf::int32 value);
1704 bool has_poll()
const;
1706 static const int kPollFieldNumber = 6;
1707 ::google::protobuf::int32 poll()
const;
1708 void set_poll(::google::protobuf::int32 value);
1711 bool has_delay()
const;
1713 static const int kDelayFieldNumber = 8;
1714 float delay()
const;
1715 void set_delay(
float value);
1718 bool has_offset()
const;
1719 void clear_offset();
1720 static const int kOffsetFieldNumber = 9;
1721 float offset()
const;
1722 void set_offset(
float value);
1724 typedef boost::units::derived_dimension< boost::units::time_base_dimension,1 >::type
when_dimension;
1726 typedef boost::units::unit<when_dimension,boost::units::si::system>
when_unit;
1728 template<
typename Quantity >
1730 { set_when(boost::units::quantity<when_unit,google::protobuf::int32 >(value_w_units).value() ); };
1732 template<
typename Quantity >
1734 {
return Quantity(when() *
when_unit()); };
1737 {
return when_with_units<boost::units::quantity< when_unit,google::protobuf::int32 > >(); };
1739 typedef boost::units::derived_dimension< boost::units::time_base_dimension,1 >::type poll_dimension;
1741 typedef boost::units::unit<poll_dimension,boost::units::si::system>
poll_unit;
1743 template<
typename Quantity >
1745 { set_poll(boost::units::quantity<poll_unit,google::protobuf::int32 >(value_w_units).value() ); };
1747 template<
typename Quantity >
1749 {
return Quantity(poll() *
poll_unit()); };
1752 {
return poll_with_units<boost::units::quantity< poll_unit,google::protobuf::int32 > >(); };
1754 typedef boost::units::derived_dimension< boost::units::time_base_dimension,1 >::type delay_dimension;
1756 typedef boost::units::make_scaled_unit<boost::units::unit<delay_dimension,boost::units::si::system> , boost::units::scale<10, boost::units::static_rational<-3> > >::type
delay_unit;
1758 template<
typename Quantity >
1760 { set_delay(boost::units::quantity<delay_unit,float >(value_w_units).value() ); };
1762 template<
typename Quantity >
1764 {
return Quantity(delay() *
delay_unit()); };
1767 {
return delay_with_units<boost::units::quantity< delay_unit,float > >(); };
1769 typedef boost::units::derived_dimension< boost::units::time_base_dimension,1 >::type offset_dimension;
1771 typedef boost::units::make_scaled_unit<boost::units::unit<offset_dimension,boost::units::si::system> , boost::units::scale<10, boost::units::static_rational<-3> > >::type
offset_unit;
1773 template<
typename Quantity >
1775 { set_offset(boost::units::quantity<offset_unit,float >(value_w_units).value() ); };
1777 template<
typename Quantity >
1782 {
return offset_with_units<boost::units::quantity< offset_unit,float > >(); };
1784 typedef boost::units::derived_dimension< boost::units::time_base_dimension,1 >::type jitter_dimension;
1786 typedef boost::units::make_scaled_unit<boost::units::unit<jitter_dimension,boost::units::si::system> , boost::units::scale<10, boost::units::static_rational<-3> > >::type
jitter_unit;
1788 template<
typename Quantity >
1790 { set_jitter(boost::units::quantity<jitter_unit,float >(value_w_units).value() ); };
1792 template<
typename Quantity >
1797 {
return jitter_with_units<boost::units::quantity< jitter_unit,float > >(); };
1801 void set_has_tally_code();
1802 void clear_has_tally_code();
1803 void set_has_remote();
1804 void clear_has_remote();
1805 void set_has_refid();
1806 void clear_has_refid();
1807 void set_has_stratum();
1808 void clear_has_stratum();
1809 void set_has_when();
1810 void clear_has_when();
1811 void set_has_poll();
1812 void clear_has_poll();
1813 void set_has_reach();
1814 void clear_has_reach();
1815 void set_has_delay();
1816 void clear_has_delay();
1817 void set_has_offset();
1818 void clear_has_offset();
1819 void set_has_jitter();
1820 void clear_has_jitter();
1823 size_t RequiredFieldsByteSizeFallback()
const;
1825 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1826 ::google::protobuf::internal::HasBits<1> _has_bits_;
1827 mutable ::google::protobuf::internal::CachedSize _cached_size_;
1828 ::google::protobuf::internal::ArenaStringPtr remote_;
1829 ::google::protobuf::internal::ArenaStringPtr refid_;
1830 ::google::protobuf::int32 reach_;
1833 ::google::protobuf::int32 stratum_;
1834 ::google::protobuf::int32 when_;
1835 ::google::protobuf::int32 poll_;
1838 friend struct ::protobuf_jaiabot_2fmessages_2fhealth_2eproto::TableStruct;
1856 *
this = ::std::move(from);
1859 inline NTPStatus&
operator=(NTPStatus&& from) noexcept {
1860 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1861 if (
this != &from) InternalSwap(&from);
1869 return _internal_metadata_.unknown_fields();
1872 return _internal_metadata_.mutable_unknown_fields();
1875 static const ::google::protobuf::Descriptor*
descriptor();
1880 return reinterpret_cast<const NTPStatus*
>(
1894 return CreateMaybeMessage<NTPStatus>(NULL);
1898 return CreateMaybeMessage<NTPStatus>(arena);
1900 void CopyFrom(const ::google::protobuf::Message& from)
final;
1901 void MergeFrom(const ::google::protobuf::Message& from)
final;
1909 ::
google::protobuf::io::CodedInputStream* input) final;
1911 ::
google::protobuf::io::CodedOutputStream* output) const final;
1913 bool deterministic, ::
google::protobuf::uint8* target) const final;
1919 void SetCachedSize(
int size)
const final;
1922 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1925 inline void* MaybeArenaPtr()
const {
1930 ::google::protobuf::Metadata
GetMetadata() const final;
1959 static inline
bool SyncSource_IsValid(
int value) {
1966 static const int SyncSource_ARRAYSIZE =
1968 static inline const ::google::protobuf::EnumDescriptor*
1998 static const int LeapIndicator_ARRAYSIZE =
2000 static inline const ::google::protobuf::EnumDescriptor*
2054 static const int NTPSystemEvent_ARRAYSIZE =
2056 static inline const ::google::protobuf::EnumDescriptor*
2071 int peer_size()
const;
2073 static const int kPeerFieldNumber = 21;
2075 ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::NTPStatus_NTPPeer >*
2077 const ::jaiabot::protobuf::NTPStatus_NTPPeer& peer(
int index)
const;
2079 const ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::NTPStatus_NTPPeer >&
2083 bool has_system_sync_peer()
const;
2084 void clear_system_sync_peer();
2085 static const int kSystemSyncPeerFieldNumber = 20;
2087 const ::jaiabot::protobuf::NTPStatus_NTPPeer& _internal_system_sync_peer()
const;
2089 const ::jaiabot::protobuf::NTPStatus_NTPPeer& system_sync_peer()
const;
2095 bool has_system_event_counter()
const;
2096 void clear_system_event_counter();
2097 static const int kSystemEventCounterFieldNumber = 12;
2098 ::google::protobuf::int32 system_event_counter()
const;
2099 void set_system_event_counter(::google::protobuf::int32 value);
2102 bool has_last_system_event()
const;
2103 void clear_last_system_event();
2104 static const int kLastSystemEventFieldNumber = 13;
2109 bool has_sync_source()
const;
2110 void clear_sync_source();
2111 static const int kSyncSourceFieldNumber = 10;
2116 bool has_leap_indicator()
const;
2117 void clear_leap_indicator();
2118 static const int kLeapIndicatorFieldNumber = 11;
2124 void set_has_sync_source();
2125 void clear_has_sync_source();
2126 void set_has_leap_indicator();
2127 void clear_has_leap_indicator();
2128 void set_has_system_event_counter();
2129 void clear_has_system_event_counter();
2130 void set_has_last_system_event();
2131 void clear_has_last_system_event();
2132 void set_has_system_sync_peer();
2133 void clear_has_system_sync_peer();
2135 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2136 ::google::protobuf::internal::HasBits<1> _has_bits_;
2137 mutable ::google::protobuf::internal::CachedSize _cached_size_;
2138 ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::NTPStatus_NTPPeer > peer_;
2140 ::google::protobuf::int32 system_event_counter_;
2141 int last_system_event_;
2143 int leap_indicator_;
2144 friend struct ::protobuf_jaiabot_2fmessages_2fhealth_2eproto::TableStruct;
2162 *
this = ::std::move(from);
2165 inline HelmIVPStatus&
operator=(HelmIVPStatus&& from) noexcept {
2166 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2167 if (
this != &from) InternalSwap(&from);
2175 return _internal_metadata_.unknown_fields();
2178 return _internal_metadata_.mutable_unknown_fields();
2181 static const ::google::protobuf::Descriptor*
descriptor();
2200 return CreateMaybeMessage<HelmIVPStatus>(NULL);
2204 return CreateMaybeMessage<HelmIVPStatus>(arena);
2206 void CopyFrom(const ::google::protobuf::Message& from)
final;
2207 void MergeFrom(const ::google::protobuf::Message& from)
final;
2215 ::
google::protobuf::io::CodedInputStream* input) final;
2217 ::
google::protobuf::io::CodedOutputStream* output) const final;
2219 bool deterministic, ::
google::protobuf::uint8* target) const final;
2225 void SetCachedSize(
int size)
const final;
2228 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
2231 inline void* MaybeArenaPtr()
const {
2236 ::google::protobuf::Metadata
GetMetadata() const final;
2243 bool has_helm_ivp_state() const;
2244 void clear_helm_ivp_state();
2245 static const
int kHelmIvpStateFieldNumber = 1;
2246 const ::std::
string& helm_ivp_state() const;
2247 void set_helm_ivp_state(const ::std::
string& value);
2249 void set_helm_ivp_state(::std::string&& value);
2251 void set_helm_ivp_state(
const char* value);
2252 void set_helm_ivp_state(
const char* value,
size_t size);
2253 ::std::string* mutable_helm_ivp_state();
2254 ::std::string* release_helm_ivp_state();
2255 void set_allocated_helm_ivp_state(::std::string* helm_ivp_state);
2258 bool has_helm_ivp_desired_speed()
const;
2259 void clear_helm_ivp_desired_speed();
2260 static const int kHelmIvpDesiredSpeedFieldNumber = 2;
2261 bool helm_ivp_desired_speed()
const;
2262 void set_helm_ivp_desired_speed(
bool value);
2265 bool has_helm_ivp_desired_heading()
const;
2266 void clear_helm_ivp_desired_heading();
2267 static const int kHelmIvpDesiredHeadingFieldNumber = 3;
2268 bool helm_ivp_desired_heading()
const;
2269 void set_helm_ivp_desired_heading(
bool value);
2272 bool has_helm_ivp_desired_depth()
const;
2273 void clear_helm_ivp_desired_depth();
2274 static const int kHelmIvpDesiredDepthFieldNumber = 4;
2275 bool helm_ivp_desired_depth()
const;
2276 void set_helm_ivp_desired_depth(
bool value);
2279 bool has_helm_ivp_data()
const;
2280 void clear_helm_ivp_data();
2281 static const int kHelmIvpDataFieldNumber = 5;
2282 bool helm_ivp_data()
const;
2283 void set_helm_ivp_data(
bool value);
2287 void set_has_helm_ivp_state();
2288 void clear_has_helm_ivp_state();
2289 void set_has_helm_ivp_desired_speed();
2290 void clear_has_helm_ivp_desired_speed();
2291 void set_has_helm_ivp_desired_heading();
2292 void clear_has_helm_ivp_desired_heading();
2293 void set_has_helm_ivp_desired_depth();
2294 void clear_has_helm_ivp_desired_depth();
2295 void set_has_helm_ivp_data();
2296 void clear_has_helm_ivp_data();
2298 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2299 ::google::protobuf::internal::HasBits<1> _has_bits_;
2300 mutable ::google::protobuf::internal::CachedSize _cached_size_;
2304 ::google::protobuf::internal::ArenaStringPtr helm_ivp_state_;
2305 bool helm_ivp_desired_speed_;
2306 bool helm_ivp_desired_heading_;
2307 bool helm_ivp_desired_depth_;
2308 bool helm_ivp_data_;
2309 friend struct ::protobuf_jaiabot_2fmessages_2fhealth_2eproto::TableStruct;
2327 *
this = ::std::move(from);
2330 inline ThreadHealth&
operator=(ThreadHealth&& from) noexcept {
2331 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2332 if (
this != &from) InternalSwap(&from);
2340 return _internal_metadata_.unknown_fields();
2343 return _internal_metadata_.mutable_unknown_fields();
2346 static const ::google::protobuf::Descriptor*
descriptor();
2365 return CreateMaybeMessage<ThreadHealth>(NULL);
2369 return CreateMaybeMessage<ThreadHealth>(arena);
2371 void CopyFrom(const ::google::protobuf::Message& from)
final;
2372 void MergeFrom(const ::google::protobuf::Message& from)
final;
2380 ::
google::protobuf::io::CodedInputStream* input) final;
2382 ::
google::protobuf::io::CodedOutputStream* output) const final;
2384 bool deterministic, ::
google::protobuf::uint8* target) const final;
2390 void SetCachedSize(
int size)
const final;
2393 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
2396 inline void* MaybeArenaPtr()
const {
2401 ::google::protobuf::Metadata
GetMetadata() const final;
2408 int error_size() const;
2410 static const
int kErrorFieldNumber = 1;
2412 void set_error(
int index, ::
jaiabot::protobuf::
Error value);
2414 const ::
google::protobuf::RepeatedField<
int>& error() const;
2415 ::
google::protobuf::RepeatedField<
int>* mutable_error();
2418 int warning_size() const;
2419 void clear_warning();
2420 static const
int kWarningFieldNumber = 2;
2424 const ::
google::protobuf::RepeatedField<
int>& warning() const;
2425 ::
google::protobuf::RepeatedField<
int>* mutable_warning();
2430 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2431 ::
google::protobuf::internal::HasBits<1> _has_bits_;
2432 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
2433 ::
google::protobuf::RepeatedField<
int> error_;
2434 ::
google::protobuf::RepeatedField<
int> warning_;
2453 *
this = ::std::move(from);
2456 inline VehicleHealth&
operator=(VehicleHealth&& from) noexcept {
2457 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2458 if (
this != &from) InternalSwap(&from);
2466 return _internal_metadata_.unknown_fields();
2469 return _internal_metadata_.mutable_unknown_fields();
2472 static const ::google::protobuf::Descriptor*
descriptor();
2491 return CreateMaybeMessage<VehicleHealth>(NULL);
2495 return CreateMaybeMessage<VehicleHealth>(arena);
2497 void CopyFrom(const ::google::protobuf::Message& from)
final;
2498 void MergeFrom(const ::google::protobuf::Message& from)
final;
2506 ::
google::protobuf::io::CodedInputStream* input) final;
2508 ::
google::protobuf::io::CodedOutputStream* output) const final;
2510 bool deterministic, ::
google::protobuf::uint8* target) const final;
2516 void SetCachedSize(
int size)
const final;
2519 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
2522 inline void* MaybeArenaPtr()
const {
2527 ::google::protobuf::Metadata
GetMetadata() const final;
2536 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2537 ::
google::protobuf::internal::HasBits<1> _has_bits_;
2538 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
2557 *
this = ::std::move(from);
2560 inline SystemdStartReport&
operator=(SystemdStartReport&& from) noexcept {
2561 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2562 if (
this != &from) InternalSwap(&from);
2570 return _internal_metadata_.unknown_fields();
2573 return _internal_metadata_.mutable_unknown_fields();
2576 static const ::google::protobuf::Descriptor*
descriptor();
2595 return CreateMaybeMessage<SystemdStartReport>(NULL);
2599 return CreateMaybeMessage<SystemdStartReport>(arena);
2601 void CopyFrom(const ::google::protobuf::Message& from)
final;
2602 void MergeFrom(const ::google::protobuf::Message& from)
final;
2610 ::
google::protobuf::io::CodedInputStream* input) final;
2612 ::
google::protobuf::io::CodedOutputStream* output) const final;
2614 bool deterministic, ::
google::protobuf::uint8* target) const final;
2620 void SetCachedSize(
int size)
const final;
2623 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
2626 inline void* MaybeArenaPtr()
const {
2631 ::google::protobuf::Metadata
GetMetadata() const final;
2638 bool has_clear_error() const;
2639 void clear_clear_error();
2640 static const
int kClearErrorFieldNumber = 1;
2642 void set_clear_error(::
jaiabot::protobuf::
Error value);
2646 void set_has_clear_error();
2647 void clear_has_clear_error();
2649 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2650 ::
google::protobuf::internal::HasBits<1> _has_bits_;
2651 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
2671 *
this = ::std::move(from);
2674 inline SystemdStopReport&
operator=(SystemdStopReport&& from) noexcept {
2675 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2676 if (
this != &from) InternalSwap(&from);
2684 return _internal_metadata_.unknown_fields();
2687 return _internal_metadata_.mutable_unknown_fields();
2690 static const ::google::protobuf::Descriptor*
descriptor();
2709 return CreateMaybeMessage<SystemdStopReport>(NULL);
2713 return CreateMaybeMessage<SystemdStopReport>(arena);
2715 void CopyFrom(const ::google::protobuf::Message& from)
final;
2716 void MergeFrom(const ::google::protobuf::Message& from)
final;
2724 ::
google::protobuf::io::CodedInputStream* input) final;
2726 ::
google::protobuf::io::CodedOutputStream* output) const final;
2728 bool deterministic, ::
google::protobuf::uint8* target) const final;
2734 void SetCachedSize(
int size)
const final;
2737 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
2740 inline void* MaybeArenaPtr()
const {
2745 ::google::protobuf::Metadata
GetMetadata() const final;
2770 static inline
bool ServiceResult_IsValid(
int value) {
2777 static const int ServiceResult_ARRAYSIZE =
2779 static inline const ::google::protobuf::EnumDescriptor*
2794 bool has_journal_dump_file()
const;
2795 void clear_journal_dump_file();
2796 static const int kJournalDumpFileFieldNumber = 3;
2797 const ::std::string& journal_dump_file()
const;
2798 void set_journal_dump_file(const ::std::string& value);
2800 void set_journal_dump_file(::std::string&& value);
2802 void set_journal_dump_file(
const char* value);
2803 void set_journal_dump_file(
const char* value,
size_t size);
2804 ::std::string* mutable_journal_dump_file();
2805 ::std::string* release_journal_dump_file();
2806 void set_allocated_journal_dump_file(::std::string* journal_dump_file);
2809 bool has_result()
const;
2810 void clear_result();
2811 static const int kResultFieldNumber = 1;
2816 bool has_error()
const;
2818 static const int kErrorFieldNumber = 2;
2824 void set_has_result();
2825 void clear_has_result();
2826 void set_has_error();
2827 void clear_has_error();
2828 void set_has_journal_dump_file();
2829 void clear_has_journal_dump_file();
2832 size_t RequiredFieldsByteSizeFallback()
const;
2834 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2835 ::google::protobuf::internal::HasBits<1> _has_bits_;
2836 mutable ::google::protobuf::internal::CachedSize _cached_size_;
2837 ::google::protobuf::internal::ArenaStringPtr journal_dump_file_;
2840 friend struct ::protobuf_jaiabot_2fmessages_2fhealth_2eproto::TableStruct;
2858 *
this = ::std::move(from);
2861 inline SystemdReportAck&
operator=(SystemdReportAck&& from) noexcept {
2862 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2863 if (
this != &from) InternalSwap(&from);
2871 return _internal_metadata_.unknown_fields();
2874 return _internal_metadata_.mutable_unknown_fields();
2877 static const ::google::protobuf::Descriptor*
descriptor();
2896 return CreateMaybeMessage<SystemdReportAck>(NULL);
2900 return CreateMaybeMessage<SystemdReportAck>(arena);
2902 void CopyFrom(const ::google::protobuf::Message& from)
final;
2903 void MergeFrom(const ::google::protobuf::Message& from)
final;
2911 ::
google::protobuf::io::CodedInputStream* input) final;
2913 ::
google::protobuf::io::CodedOutputStream* output) const final;
2915 bool deterministic, ::
google::protobuf::uint8* target) const final;
2921 void SetCachedSize(
int size)
const final;
2924 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
2927 inline void* MaybeArenaPtr()
const {
2932 ::google::protobuf::Metadata
GetMetadata() const final;
2939 bool has_error_ack() const;
2940 void clear_error_ack();
2941 static const
int kErrorAckFieldNumber = 1;
2947 void set_has_error_ack();
2948 void clear_has_error_ack();
2950 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2951 ::
google::protobuf::internal::HasBits<1> _has_bits_;
2952 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
2970 #pragma GCC diagnostic push
2971 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
2977 return (_has_bits_[0] & 0x00000001u) != 0;
2979 inline void LinuxHardwareStatus_Processor_LoadAverages::set_has_one_min() {
2980 _has_bits_[0] |= 0x00000001u;
2982 inline void LinuxHardwareStatus_Processor_LoadAverages::clear_has_one_min() {
2983 _has_bits_[0] &= ~0x00000001u;
2987 clear_has_one_min();
3001 return (_has_bits_[0] & 0x00000002u) != 0;
3003 inline void LinuxHardwareStatus_Processor_LoadAverages::set_has_five_min() {
3004 _has_bits_[0] |= 0x00000002u;
3006 inline void LinuxHardwareStatus_Processor_LoadAverages::clear_has_five_min() {
3007 _has_bits_[0] &= ~0x00000002u;
3011 clear_has_five_min();
3025 return (_has_bits_[0] & 0x00000004u) != 0;
3027 inline void LinuxHardwareStatus_Processor_LoadAverages::set_has_fifteen_min() {
3028 _has_bits_[0] |= 0x00000004u;
3030 inline void LinuxHardwareStatus_Processor_LoadAverages::clear_has_fifteen_min() {
3031 _has_bits_[0] &= ~0x00000004u;
3035 clear_has_fifteen_min();
3039 return fifteen_min_;
3042 set_has_fifteen_min();
3043 fifteen_min_ = value;
3053 return (_has_bits_[0] & 0x00000001u) != 0;
3055 inline void LinuxHardwareStatus_Processor::set_has_loads() {
3056 _has_bits_[0] |= 0x00000001u;
3058 inline void LinuxHardwareStatus_Processor::clear_has_loads() {
3059 _has_bits_[0] &= ~0x00000001u;
3062 if (loads_ != NULL) loads_->Clear();
3065 inline const ::jaiabot::protobuf::LinuxHardwareStatus_Processor_LoadAverages& LinuxHardwareStatus_Processor::_internal_loads()
const {
3069 const ::jaiabot::protobuf::LinuxHardwareStatus_Processor_LoadAverages* p = loads_;
3083 if (loads_ == NULL) {
3084 auto* p = CreateMaybeMessage<::jaiabot::protobuf::LinuxHardwareStatus_Processor_LoadAverages>(GetArenaNoVirtual());
3091 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
3092 if (message_arena == NULL) {
3096 ::google::protobuf::Arena* submessage_arena = NULL;
3097 if (message_arena != submessage_arena) {
3098 loads = ::google::protobuf::internal::GetOwnedMessage(
3099 message_arena, loads, submessage_arena);
3111 return (_has_bits_[0] & 0x00000002u) != 0;
3113 inline void LinuxHardwareStatus_Processor::set_has_num_processes() {
3114 _has_bits_[0] |= 0x00000002u;
3116 inline void LinuxHardwareStatus_Processor::clear_has_num_processes() {
3117 _has_bits_[0] &= ~0x00000002u;
3121 clear_has_num_processes();
3125 return num_processes_;
3128 set_has_num_processes();
3129 num_processes_ = value;
3135 return (_has_bits_[0] & 0x00000004u) != 0;
3137 inline void LinuxHardwareStatus_Processor::set_has_num_processors() {
3138 _has_bits_[0] |= 0x00000004u;
3140 inline void LinuxHardwareStatus_Processor::clear_has_num_processors() {
3141 _has_bits_[0] &= ~0x00000004u;
3144 num_processors_ = 0;
3145 clear_has_num_processors();
3149 return num_processors_;
3152 set_has_num_processors();
3153 num_processors_ = value;
3163 return (_has_bits_[0] & 0x00000001u) != 0;
3165 inline void LinuxHardwareStatus_Information::set_has_total() {
3166 _has_bits_[0] |= 0x00000001u;
3168 inline void LinuxHardwareStatus_Information::clear_has_total() {
3169 _has_bits_[0] &= ~0x00000001u;
3172 total_ = GOOGLE_ULONGLONG(0);
3187 return (_has_bits_[0] & 0x00000002u) != 0;
3189 inline void LinuxHardwareStatus_Information::set_has_available() {
3190 _has_bits_[0] |= 0x00000002u;
3192 inline void LinuxHardwareStatus_Information::clear_has_available() {
3193 _has_bits_[0] &= ~0x00000002u;
3196 available_ = GOOGLE_ULONGLONG(0);
3197 clear_has_available();
3204 set_has_available();
3211 return (_has_bits_[0] & 0x00000004u) != 0;
3213 inline void LinuxHardwareStatus_Information::set_has_use_percent() {
3214 _has_bits_[0] |= 0x00000004u;
3216 inline void LinuxHardwareStatus_Information::clear_has_use_percent() {
3217 _has_bits_[0] &= ~0x00000004u;
3221 clear_has_use_percent();
3225 return use_percent_;
3228 set_has_use_percent();
3229 use_percent_ = value;
3239 return (_has_bits_[0] & 0x00000001u) != 0;
3241 inline void LinuxHardwareStatus_Memory::set_has_ram() {
3242 _has_bits_[0] |= 0x00000001u;
3244 inline void LinuxHardwareStatus_Memory::clear_has_ram() {
3245 _has_bits_[0] &= ~0x00000001u;
3248 if (ram_ != NULL) ram_->Clear();
3251 inline const ::jaiabot::protobuf::LinuxHardwareStatus_Information& LinuxHardwareStatus_Memory::_internal_ram()
const {
3255 const ::jaiabot::protobuf::LinuxHardwareStatus_Information* p = ram_;
3270 auto* p = CreateMaybeMessage<::jaiabot::protobuf::LinuxHardwareStatus_Information>(GetArenaNoVirtual());
3277 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
3278 if (message_arena == NULL) {
3282 ::google::protobuf::Arena* submessage_arena = NULL;
3283 if (message_arena != submessage_arena) {
3284 ram = ::google::protobuf::internal::GetOwnedMessage(
3285 message_arena, ram, submessage_arena);
3297 return (_has_bits_[0] & 0x00000002u) != 0;
3299 inline void LinuxHardwareStatus_Memory::set_has_swap() {
3300 _has_bits_[0] |= 0x00000002u;
3302 inline void LinuxHardwareStatus_Memory::clear_has_swap() {
3303 _has_bits_[0] &= ~0x00000002u;
3306 if (swap_ != NULL) swap_->Clear();
3309 inline const ::jaiabot::protobuf::LinuxHardwareStatus_Information& LinuxHardwareStatus_Memory::_internal_swap()
const {
3313 const ::jaiabot::protobuf::LinuxHardwareStatus_Information* p = swap_;
3327 if (swap_ == NULL) {
3328 auto* p = CreateMaybeMessage<::jaiabot::protobuf::LinuxHardwareStatus_Information>(GetArenaNoVirtual());
3335 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
3336 if (message_arena == NULL) {
3340 ::google::protobuf::Arena* submessage_arena = NULL;
3341 if (message_arena != submessage_arena) {
3342 swap = ::google::protobuf::internal::GetOwnedMessage(
3343 message_arena,
swap, submessage_arena);
3359 return (_has_bits_[0] & 0x00000001u) != 0;
3361 inline void LinuxHardwareStatus_Disk::set_has_rootfs() {
3362 _has_bits_[0] |= 0x00000001u;
3364 inline void LinuxHardwareStatus_Disk::clear_has_rootfs() {
3365 _has_bits_[0] &= ~0x00000001u;
3368 if (rootfs_ != NULL) rootfs_->Clear();
3371 inline const ::jaiabot::protobuf::LinuxHardwareStatus_Information& LinuxHardwareStatus_Disk::_internal_rootfs()
const {
3375 const ::jaiabot::protobuf::LinuxHardwareStatus_Information* p = rootfs_;
3389 if (rootfs_ == NULL) {
3390 auto* p = CreateMaybeMessage<::jaiabot::protobuf::LinuxHardwareStatus_Information>(GetArenaNoVirtual());
3397 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
3398 if (message_arena == NULL) {
3402 ::google::protobuf::Arena* submessage_arena = NULL;
3403 if (message_arena != submessage_arena) {
3404 rootfs = ::google::protobuf::internal::GetOwnedMessage(
3405 message_arena, rootfs, submessage_arena);
3417 return (_has_bits_[0] & 0x00000002u) != 0;
3419 inline void LinuxHardwareStatus_Disk::set_has_data() {
3420 _has_bits_[0] |= 0x00000002u;
3422 inline void LinuxHardwareStatus_Disk::clear_has_data() {
3423 _has_bits_[0] &= ~0x00000002u;
3426 if (data_ != NULL) data_->Clear();
3429 inline const ::jaiabot::protobuf::LinuxHardwareStatus_Information& LinuxHardwareStatus_Disk::_internal_data()
const {
3433 const ::jaiabot::protobuf::LinuxHardwareStatus_Information* p = data_;
3447 if (data_ == NULL) {
3448 auto* p = CreateMaybeMessage<::jaiabot::protobuf::LinuxHardwareStatus_Information>(GetArenaNoVirtual());
3455 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
3456 if (message_arena == NULL) {
3460 ::google::protobuf::Arena* submessage_arena = NULL;
3461 if (message_arena != submessage_arena) {
3462 data = ::google::protobuf::internal::GetOwnedMessage(
3463 message_arena, data, submessage_arena);
3479 return (_has_bits_[0] & 0x00000001u) != 0;
3481 inline void LinuxHardwareStatus_WiFi::set_has_is_connected() {
3482 _has_bits_[0] |= 0x00000001u;
3484 inline void LinuxHardwareStatus_WiFi::clear_has_is_connected() {
3485 _has_bits_[0] &= ~0x00000001u;
3488 is_connected_ =
false;
3489 clear_has_is_connected();
3493 return is_connected_;
3496 set_has_is_connected();
3497 is_connected_ = value;
3503 return (_has_bits_[0] & 0x00000002u) != 0;
3505 inline void LinuxHardwareStatus_WiFi::set_has_link_quality() {
3506 _has_bits_[0] |= 0x00000002u;
3508 inline void LinuxHardwareStatus_WiFi::clear_has_link_quality() {
3509 _has_bits_[0] &= ~0x00000002u;
3513 clear_has_link_quality();
3517 return link_quality_;
3520 set_has_link_quality();
3521 link_quality_ = value;
3527 return (_has_bits_[0] & 0x00000004u) != 0;
3529 inline void LinuxHardwareStatus_WiFi::set_has_link_quality_percentage() {
3530 _has_bits_[0] |= 0x00000004u;
3532 inline void LinuxHardwareStatus_WiFi::clear_has_link_quality_percentage() {
3533 _has_bits_[0] &= ~0x00000004u;
3536 link_quality_percentage_ = 0u;
3537 clear_has_link_quality_percentage();
3541 return link_quality_percentage_;
3544 set_has_link_quality_percentage();
3545 link_quality_percentage_ = value;
3551 return (_has_bits_[0] & 0x00000008u) != 0;
3553 inline void LinuxHardwareStatus_WiFi::set_has_signal_level() {
3554 _has_bits_[0] |= 0x00000008u;
3556 inline void LinuxHardwareStatus_WiFi::clear_has_signal_level() {
3557 _has_bits_[0] &= ~0x00000008u;
3561 clear_has_signal_level();
3565 return signal_level_;
3568 set_has_signal_level();
3569 signal_level_ = value;
3575 return (_has_bits_[0] & 0x00000010u) != 0;
3577 inline void LinuxHardwareStatus_WiFi::set_has_noise_level() {
3578 _has_bits_[0] |= 0x00000010u;
3580 inline void LinuxHardwareStatus_WiFi::clear_has_noise_level() {
3581 _has_bits_[0] &= ~0x00000010u;
3585 clear_has_noise_level();
3589 return noise_level_;
3592 set_has_noise_level();
3593 noise_level_ = value;
3603 return (_has_bits_[0] & 0x00000010u) != 0;
3605 inline void LinuxHardwareStatus::set_has_uptime() {
3606 _has_bits_[0] |= 0x00000010u;
3608 inline void LinuxHardwareStatus::clear_has_uptime() {
3609 _has_bits_[0] &= ~0x00000010u;
3627 return (_has_bits_[0] & 0x00000001u) != 0;
3629 inline void LinuxHardwareStatus::set_has_processor() {
3630 _has_bits_[0] |= 0x00000001u;
3632 inline void LinuxHardwareStatus::clear_has_processor() {
3633 _has_bits_[0] &= ~0x00000001u;
3636 if (processor_ != NULL) processor_->Clear();
3637 clear_has_processor();
3639 inline const ::jaiabot::protobuf::LinuxHardwareStatus_Processor& LinuxHardwareStatus::_internal_processor()
const {
3643 const ::jaiabot::protobuf::LinuxHardwareStatus_Processor* p = processor_;
3650 clear_has_processor();
3656 set_has_processor();
3657 if (processor_ == NULL) {
3658 auto* p = CreateMaybeMessage<::jaiabot::protobuf::LinuxHardwareStatus_Processor>(GetArenaNoVirtual());
3665 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
3666 if (message_arena == NULL) {
3670 ::google::protobuf::Arena* submessage_arena = NULL;
3671 if (message_arena != submessage_arena) {
3672 processor = ::google::protobuf::internal::GetOwnedMessage(
3673 message_arena, processor, submessage_arena);
3675 set_has_processor();
3677 clear_has_processor();
3679 processor_ = processor;
3685 return (_has_bits_[0] & 0x00000002u) != 0;
3687 inline void LinuxHardwareStatus::set_has_memory() {
3688 _has_bits_[0] |= 0x00000002u;
3690 inline void LinuxHardwareStatus::clear_has_memory() {
3691 _has_bits_[0] &= ~0x00000002u;
3694 if (memory_ != NULL) memory_->Clear();
3697 inline const ::jaiabot::protobuf::LinuxHardwareStatus_Memory& LinuxHardwareStatus::_internal_memory()
const {
3701 const ::jaiabot::protobuf::LinuxHardwareStatus_Memory* p = memory_;
3715 if (memory_ == NULL) {
3716 auto* p = CreateMaybeMessage<::jaiabot::protobuf::LinuxHardwareStatus_Memory>(GetArenaNoVirtual());
3723 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
3724 if (message_arena == NULL) {
3728 ::google::protobuf::Arena* submessage_arena = NULL;
3729 if (message_arena != submessage_arena) {
3730 memory = ::google::protobuf::internal::GetOwnedMessage(
3731 message_arena, memory, submessage_arena);
3743 return (_has_bits_[0] & 0x00000004u) != 0;
3745 inline void LinuxHardwareStatus::set_has_disk() {
3746 _has_bits_[0] |= 0x00000004u;
3748 inline void LinuxHardwareStatus::clear_has_disk() {
3749 _has_bits_[0] &= ~0x00000004u;
3752 if (disk_ != NULL) disk_->Clear();
3755 inline const ::jaiabot::protobuf::LinuxHardwareStatus_Disk& LinuxHardwareStatus::_internal_disk()
const {
3759 const ::jaiabot::protobuf::LinuxHardwareStatus_Disk* p = disk_;
3773 if (disk_ == NULL) {
3774 auto* p = CreateMaybeMessage<::jaiabot::protobuf::LinuxHardwareStatus_Disk>(GetArenaNoVirtual());
3781 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
3782 if (message_arena == NULL) {
3786 ::google::protobuf::Arena* submessage_arena = NULL;
3787 if (message_arena != submessage_arena) {
3788 disk = ::google::protobuf::internal::GetOwnedMessage(
3789 message_arena, disk, submessage_arena);
3801 return (_has_bits_[0] & 0x00000008u) != 0;
3803 inline void LinuxHardwareStatus::set_has_wifi() {
3804 _has_bits_[0] |= 0x00000008u;
3806 inline void LinuxHardwareStatus::clear_has_wifi() {
3807 _has_bits_[0] &= ~0x00000008u;
3810 if (wifi_ != NULL) wifi_->Clear();
3813 inline const ::jaiabot::protobuf::LinuxHardwareStatus_WiFi& LinuxHardwareStatus::_internal_wifi()
const {
3817 const ::jaiabot::protobuf::LinuxHardwareStatus_WiFi* p = wifi_;
3831 if (wifi_ == NULL) {
3832 auto* p = CreateMaybeMessage<::jaiabot::protobuf::LinuxHardwareStatus_WiFi>(GetArenaNoVirtual());
3839 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
3840 if (message_arena == NULL) {
3844 ::google::protobuf::Arena* submessage_arena = NULL;
3845 if (message_arena != submessage_arena) {
3846 wifi = ::google::protobuf::internal::GetOwnedMessage(
3847 message_arena, wifi, submessage_arena);
3863 return (_has_bits_[0] & 0x00000010u) != 0;
3865 inline void NTPStatus_NTPPeer::set_has_tally_code() {
3866 _has_bits_[0] |= 0x00000010u;
3868 inline void NTPStatus_NTPPeer::clear_has_tally_code() {
3869 _has_bits_[0] &= ~0x00000010u;
3873 clear_has_tally_code();
3881 set_has_tally_code();
3882 tally_code_ = value;
3888 return (_has_bits_[0] & 0x00000001u) != 0;
3890 inline void NTPStatus_NTPPeer::set_has_remote() {
3891 _has_bits_[0] |= 0x00000001u;
3893 inline void NTPStatus_NTPPeer::clear_has_remote() {
3894 _has_bits_[0] &= ~0x00000001u;
3897 remote_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3902 return remote_.GetNoArena();
3906 remote_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
3913 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
3918 GOOGLE_DCHECK(value != NULL);
3920 remote_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
3925 remote_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
3926 ::std::string(
reinterpret_cast<const char*
>(value), size));
3932 return remote_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3936 if (!has_remote()) {
3940 return remote_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3943 if (remote != NULL) {
3948 remote_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), remote);
3954 return (_has_bits_[0] & 0x00000002u) != 0;
3956 inline void NTPStatus_NTPPeer::set_has_refid() {
3957 _has_bits_[0] |= 0x00000002u;
3959 inline void NTPStatus_NTPPeer::clear_has_refid() {
3960 _has_bits_[0] &= ~0x00000002u;
3963 refid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3968 return refid_.GetNoArena();
3972 refid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
3979 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
3984 GOOGLE_DCHECK(value != NULL);
3986 refid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
3991 refid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
3992 ::std::string(
reinterpret_cast<const char*
>(value), size));
3998 return refid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4006 return refid_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4009 if (refid != NULL) {
4014 refid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), refid);
4020 return (_has_bits_[0] & 0x00000020u) != 0;
4022 inline void NTPStatus_NTPPeer::set_has_stratum() {
4023 _has_bits_[0] |= 0x00000020u;
4025 inline void NTPStatus_NTPPeer::clear_has_stratum() {
4026 _has_bits_[0] &= ~0x00000020u;
4030 clear_has_stratum();
4044 return (_has_bits_[0] & 0x00000040u) != 0;
4046 inline void NTPStatus_NTPPeer::set_has_when() {
4047 _has_bits_[0] |= 0x00000040u;
4049 inline void NTPStatus_NTPPeer::clear_has_when() {
4050 _has_bits_[0] &= ~0x00000040u;
4068 return (_has_bits_[0] & 0x00000080u) != 0;
4070 inline void NTPStatus_NTPPeer::set_has_poll() {
4071 _has_bits_[0] |= 0x00000080u;
4073 inline void NTPStatus_NTPPeer::clear_has_poll() {
4074 _has_bits_[0] &= ~0x00000080u;
4092 return (_has_bits_[0] & 0x00000004u) != 0;
4094 inline void NTPStatus_NTPPeer::set_has_reach() {
4095 _has_bits_[0] |= 0x00000004u;
4097 inline void NTPStatus_NTPPeer::clear_has_reach() {
4098 _has_bits_[0] &= ~0x00000004u;
4116 return (_has_bits_[0] & 0x00000100u) != 0;
4118 inline void NTPStatus_NTPPeer::set_has_delay() {
4119 _has_bits_[0] |= 0x00000100u;
4121 inline void NTPStatus_NTPPeer::clear_has_delay() {
4122 _has_bits_[0] &= ~0x00000100u;
4125 delay_ =
static_cast<float>(::google::protobuf::internal::NaN());
4140 return (_has_bits_[0] & 0x00000200u) != 0;
4142 inline void NTPStatus_NTPPeer::set_has_offset() {
4143 _has_bits_[0] |= 0x00000200u;
4145 inline void NTPStatus_NTPPeer::clear_has_offset() {
4146 _has_bits_[0] &= ~0x00000200u;
4149 offset_ =
static_cast<float>(::google::protobuf::internal::NaN());
4164 return (_has_bits_[0] & 0x00000008u) != 0;
4166 inline void NTPStatus_NTPPeer::set_has_jitter() {
4167 _has_bits_[0] |= 0x00000008u;
4169 inline void NTPStatus_NTPPeer::clear_has_jitter() {
4170 _has_bits_[0] &= ~0x00000008u;
4173 jitter_ =
static_cast<float>(::google::protobuf::internal::NaN());
4192 return (_has_bits_[0] & 0x00000008u) != 0;
4194 inline void NTPStatus::set_has_sync_source() {
4195 _has_bits_[0] |= 0x00000008u;
4197 inline void NTPStatus::clear_has_sync_source() {
4198 _has_bits_[0] &= ~0x00000008u;
4202 clear_has_sync_source();
4210 set_has_sync_source();
4211 sync_source_ = value;
4217 return (_has_bits_[0] & 0x00000010u) != 0;
4219 inline void NTPStatus::set_has_leap_indicator() {
4220 _has_bits_[0] |= 0x00000010u;
4222 inline void NTPStatus::clear_has_leap_indicator() {
4223 _has_bits_[0] &= ~0x00000010u;
4226 leap_indicator_ = -1;
4227 clear_has_leap_indicator();
4235 set_has_leap_indicator();
4236 leap_indicator_ = value;
4242 return (_has_bits_[0] & 0x00000002u) != 0;
4244 inline void NTPStatus::set_has_system_event_counter() {
4245 _has_bits_[0] |= 0x00000002u;
4247 inline void NTPStatus::clear_has_system_event_counter() {
4248 _has_bits_[0] &= ~0x00000002u;
4251 system_event_counter_ = 0;
4252 clear_has_system_event_counter();
4256 return system_event_counter_;
4259 set_has_system_event_counter();
4260 system_event_counter_ = value;
4266 return (_has_bits_[0] & 0x00000004u) != 0;
4268 inline void NTPStatus::set_has_last_system_event() {
4269 _has_bits_[0] |= 0x00000004u;
4271 inline void NTPStatus::clear_has_last_system_event() {
4272 _has_bits_[0] &= ~0x00000004u;
4275 last_system_event_ = -1;
4276 clear_has_last_system_event();
4284 set_has_last_system_event();
4285 last_system_event_ = value;
4291 return (_has_bits_[0] & 0x00000001u) != 0;
4293 inline void NTPStatus::set_has_system_sync_peer() {
4294 _has_bits_[0] |= 0x00000001u;
4296 inline void NTPStatus::clear_has_system_sync_peer() {
4297 _has_bits_[0] &= ~0x00000001u;
4300 if (system_sync_peer_ != NULL) system_sync_peer_->Clear();
4301 clear_has_system_sync_peer();
4303 inline const ::jaiabot::protobuf::NTPStatus_NTPPeer& NTPStatus::_internal_system_sync_peer()
const {
4304 return *system_sync_peer_;
4307 const ::jaiabot::protobuf::NTPStatus_NTPPeer* p = system_sync_peer_;
4314 clear_has_system_sync_peer();
4316 system_sync_peer_ = NULL;
4320 set_has_system_sync_peer();
4321 if (system_sync_peer_ == NULL) {
4322 auto* p = CreateMaybeMessage<::jaiabot::protobuf::NTPStatus_NTPPeer>(GetArenaNoVirtual());
4323 system_sync_peer_ = p;
4326 return system_sync_peer_;
4329 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
4330 if (message_arena == NULL) {
4331 delete system_sync_peer_;
4333 if (system_sync_peer) {
4334 ::google::protobuf::Arena* submessage_arena = NULL;
4335 if (message_arena != submessage_arena) {
4336 system_sync_peer = ::google::protobuf::internal::GetOwnedMessage(
4337 message_arena, system_sync_peer, submessage_arena);
4339 set_has_system_sync_peer();
4341 clear_has_system_sync_peer();
4343 system_sync_peer_ = system_sync_peer;
4349 return peer_.size();
4356 return peer_.Mutable(index);
4358 inline ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::NTPStatus_NTPPeer >*
4365 return peer_.Get(index);
4371 inline const ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::NTPStatus_NTPPeer >&
4383 return (_has_bits_[0] & 0x00000001u) != 0;
4385 inline void HelmIVPStatus::set_has_helm_ivp_state() {
4386 _has_bits_[0] |= 0x00000001u;
4388 inline void HelmIVPStatus::clear_has_helm_ivp_state() {
4389 _has_bits_[0] &= ~0x00000001u;
4393 clear_has_helm_ivp_state();
4397 return helm_ivp_state_.GetNoArena();
4400 set_has_helm_ivp_state();
4406 set_has_helm_ivp_state();
4407 helm_ivp_state_.SetNoArena(
4413 GOOGLE_DCHECK(value != NULL);
4414 set_has_helm_ivp_state();
4419 set_has_helm_ivp_state();
4421 ::std::string(
reinterpret_cast<const char*
>(value), size));
4425 set_has_helm_ivp_state();
4431 if (!has_helm_ivp_state()) {
4434 clear_has_helm_ivp_state();
4438 if (helm_ivp_state != NULL) {
4439 set_has_helm_ivp_state();
4441 clear_has_helm_ivp_state();
4449 return (_has_bits_[0] & 0x00000002u) != 0;
4451 inline void HelmIVPStatus::set_has_helm_ivp_desired_speed() {
4452 _has_bits_[0] |= 0x00000002u;
4454 inline void HelmIVPStatus::clear_has_helm_ivp_desired_speed() {
4455 _has_bits_[0] &= ~0x00000002u;
4458 helm_ivp_desired_speed_ =
false;
4459 clear_has_helm_ivp_desired_speed();
4463 return helm_ivp_desired_speed_;
4466 set_has_helm_ivp_desired_speed();
4467 helm_ivp_desired_speed_ = value;
4473 return (_has_bits_[0] & 0x00000004u) != 0;
4475 inline void HelmIVPStatus::set_has_helm_ivp_desired_heading() {
4476 _has_bits_[0] |= 0x00000004u;
4478 inline void HelmIVPStatus::clear_has_helm_ivp_desired_heading() {
4479 _has_bits_[0] &= ~0x00000004u;
4482 helm_ivp_desired_heading_ =
false;
4483 clear_has_helm_ivp_desired_heading();
4487 return helm_ivp_desired_heading_;
4490 set_has_helm_ivp_desired_heading();
4491 helm_ivp_desired_heading_ = value;
4497 return (_has_bits_[0] & 0x00000008u) != 0;
4499 inline void HelmIVPStatus::set_has_helm_ivp_desired_depth() {
4500 _has_bits_[0] |= 0x00000008u;
4502 inline void HelmIVPStatus::clear_has_helm_ivp_desired_depth() {
4503 _has_bits_[0] &= ~0x00000008u;
4506 helm_ivp_desired_depth_ =
false;
4507 clear_has_helm_ivp_desired_depth();
4511 return helm_ivp_desired_depth_;
4514 set_has_helm_ivp_desired_depth();
4515 helm_ivp_desired_depth_ = value;
4521 return (_has_bits_[0] & 0x00000010u) != 0;
4523 inline void HelmIVPStatus::set_has_helm_ivp_data() {
4524 _has_bits_[0] |= 0x00000010u;
4526 inline void HelmIVPStatus::clear_has_helm_ivp_data() {
4527 _has_bits_[0] &= ~0x00000010u;
4530 helm_ivp_data_ =
false;
4531 clear_has_helm_ivp_data();
4535 return helm_ivp_data_;
4538 set_has_helm_ivp_data();
4539 helm_ivp_data_ = value;
4549 return error_.size();
4560 error_.Set(index, value);
4568 inline const ::google::protobuf::RepeatedField<int>&
4573 inline ::google::protobuf::RepeatedField<int>*
4581 return warning_.size();
4592 warning_.Set(index, value);
4597 warning_.Add(value);
4600 inline const ::google::protobuf::RepeatedField<int>&
4605 inline ::google::protobuf::RepeatedField<int>*
4621 return (_has_bits_[0] & 0x00000001u) != 0;
4623 inline void SystemdStartReport::set_has_clear_error() {
4624 _has_bits_[0] |= 0x00000001u;
4626 inline void SystemdStartReport::clear_has_clear_error() {
4627 _has_bits_[0] &= ~0x00000001u;
4631 clear_has_clear_error();
4639 set_has_clear_error();
4640 clear_error_ = value;
4650 return (_has_bits_[0] & 0x00000002u) != 0;
4652 inline void SystemdStopReport::set_has_result() {
4653 _has_bits_[0] |= 0x00000002u;
4655 inline void SystemdStopReport::clear_has_result() {
4656 _has_bits_[0] &= ~0x00000002u;
4675 return (_has_bits_[0] & 0x00000004u) != 0;
4677 inline void SystemdStopReport::set_has_error() {
4678 _has_bits_[0] |= 0x00000004u;
4680 inline void SystemdStopReport::clear_has_error() {
4681 _has_bits_[0] &= ~0x00000004u;
4700 return (_has_bits_[0] & 0x00000001u) != 0;
4702 inline void SystemdStopReport::set_has_journal_dump_file() {
4703 _has_bits_[0] |= 0x00000001u;
4705 inline void SystemdStopReport::clear_has_journal_dump_file() {
4706 _has_bits_[0] &= ~0x00000001u;
4709 journal_dump_file_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4710 clear_has_journal_dump_file();
4714 return journal_dump_file_.GetNoArena();
4717 set_has_journal_dump_file();
4718 journal_dump_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
4723 set_has_journal_dump_file();
4724 journal_dump_file_.SetNoArena(
4725 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
4730 GOOGLE_DCHECK(value != NULL);
4731 set_has_journal_dump_file();
4732 journal_dump_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
4736 set_has_journal_dump_file();
4737 journal_dump_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
4738 ::std::string(
reinterpret_cast<const char*
>(value), size));
4742 set_has_journal_dump_file();
4744 return journal_dump_file_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4748 if (!has_journal_dump_file()) {
4751 clear_has_journal_dump_file();
4752 return journal_dump_file_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4755 if (journal_dump_file != NULL) {
4756 set_has_journal_dump_file();
4758 clear_has_journal_dump_file();
4760 journal_dump_file_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), journal_dump_file);
4770 return (_has_bits_[0] & 0x00000001u) != 0;
4772 inline void SystemdReportAck::set_has_error_ack() {
4773 _has_bits_[0] |= 0x00000001u;
4775 inline void SystemdReportAck::clear_has_error_ack() {
4776 _has_bits_[0] &= ~0x00000001u;
4780 clear_has_error_ack();
4788 set_has_error_ack();
4794 #pragma GCC diagnostic pop
4831 namespace protobuf {
4835 inline const EnumDescriptor* GetEnumDescriptor< ::jaiabot::protobuf::NTPStatus_NTPPeer_TallyCode>() {
4840 inline const EnumDescriptor* GetEnumDescriptor< ::jaiabot::protobuf::NTPStatus_SyncSource>() {
4845 inline const EnumDescriptor* GetEnumDescriptor< ::jaiabot::protobuf::NTPStatus_LeapIndicator>() {
4850 inline const EnumDescriptor* GetEnumDescriptor< ::jaiabot::protobuf::NTPStatus_NTPSystemEvent>() {
4855 inline const EnumDescriptor* GetEnumDescriptor< ::jaiabot::protobuf::SystemdStopReport_ServiceResult>() {
4860 inline const EnumDescriptor* GetEnumDescriptor< ::jaiabot::protobuf::Error>() {
4865 inline const EnumDescriptor* GetEnumDescriptor< ::jaiabot::protobuf::Warning>() {
4874 #endif // PROTOBUF_INCLUDED_jaiabot_2fmessages_2fhealth_2eproto