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>(
375 return ::google::protobuf::internal::NameOfEnum(
379 const ::std::string& name,
Error* value) {
380 return ::google::protobuf::internal::ParseNamedEnum<Error>(
426 return ::google::protobuf::internal::NameOfEnum(
430 const ::std::string& name,
Warning* value) {
431 return ::google::protobuf::internal::ParseNamedEnum<Warning>(
450 *
this = ::std::move(from);
454 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
455 if (
this != &from) InternalSwap(&from);
463 return _internal_metadata_.unknown_fields();
466 return _internal_metadata_.mutable_unknown_fields();
469 static const ::google::protobuf::Descriptor*
descriptor();
488 return CreateMaybeMessage<LinuxHardwareStatus_Processor_LoadAverages>(NULL);
492 return CreateMaybeMessage<LinuxHardwareStatus_Processor_LoadAverages>(arena);
494 void CopyFrom(const ::google::protobuf::Message& from)
final;
495 void MergeFrom(const ::google::protobuf::Message& from)
final;
503 ::
google::protobuf::io::CodedInputStream* input) final;
505 ::
google::protobuf::io::CodedOutputStream* output) const final;
507 bool deterministic, ::
google::protobuf::uint8* target) const final;
513 void SetCachedSize(
int size)
const final;
516 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
519 inline void* MaybeArenaPtr()
const {
524 ::google::protobuf::Metadata
GetMetadata() const final;
553 void set_has_one_min();
554 void clear_has_one_min();
555 void set_has_five_min();
556 void clear_has_five_min();
557 void set_has_fifteen_min();
558 void clear_has_fifteen_min();
561 size_t RequiredFieldsByteSizeFallback() const;
563 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
564 ::
google::protobuf::internal::HasBits<1> _has_bits_;
565 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
587 *
this = ::std::move(from);
590 inline LinuxHardwareStatus_Processor&
operator=(LinuxHardwareStatus_Processor&& from) noexcept {
591 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
592 if (
this != &from) InternalSwap(&from);
600 return _internal_metadata_.unknown_fields();
603 return _internal_metadata_.mutable_unknown_fields();
606 static const ::google::protobuf::Descriptor*
descriptor();
625 return CreateMaybeMessage<LinuxHardwareStatus_Processor>(NULL);
629 return CreateMaybeMessage<LinuxHardwareStatus_Processor>(arena);
631 void CopyFrom(const ::google::protobuf::Message& from)
final;
632 void MergeFrom(const ::google::protobuf::Message& from)
final;
640 ::
google::protobuf::io::CodedInputStream* input) final;
642 ::
google::protobuf::io::CodedOutputStream* output) const final;
644 bool deterministic, ::
google::protobuf::uint8* target) const final;
650 void SetCachedSize(
int size)
const final;
653 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
656 inline void* MaybeArenaPtr()
const {
661 ::google::protobuf::Metadata
GetMetadata() const final;
670 bool has_loads() const;
672 static const
int kLoadsFieldNumber = 10;
682 bool has_num_processes() const;
683 void clear_num_processes();
684 static const
int kNumProcessesFieldNumber = 15;
685 ::
google::protobuf::int32 num_processes() const;
686 void set_num_processes(::
google::protobuf::int32 value);
689 bool has_num_processors() const;
690 void clear_num_processors();
691 static const
int kNumProcessorsFieldNumber = 20;
692 ::
google::protobuf::int32 num_processors() const;
693 void set_num_processors(::
google::protobuf::int32 value);
697 void set_has_loads();
698 void clear_has_loads();
699 void set_has_num_processes();
700 void clear_has_num_processes();
701 void set_has_num_processors();
702 void clear_has_num_processors();
704 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
705 ::
google::protobuf::internal::HasBits<1> _has_bits_;
706 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
708 ::
google::protobuf::int32 num_processes_;
709 ::
google::protobuf::int32 num_processors_;
728 *
this = ::std::move(from);
731 inline LinuxHardwareStatus_Information&
operator=(LinuxHardwareStatus_Information&& from) noexcept {
732 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
733 if (
this != &from) InternalSwap(&from);
741 return _internal_metadata_.unknown_fields();
744 return _internal_metadata_.mutable_unknown_fields();
747 static const ::google::protobuf::Descriptor*
descriptor();
766 return CreateMaybeMessage<LinuxHardwareStatus_Information>(NULL);
770 return CreateMaybeMessage<LinuxHardwareStatus_Information>(arena);
772 void CopyFrom(const ::google::protobuf::Message& from)
final;
773 void MergeFrom(const ::google::protobuf::Message& from)
final;
781 ::
google::protobuf::io::CodedInputStream* input) final;
783 ::
google::protobuf::io::CodedOutputStream* output) const final;
785 bool deterministic, ::
google::protobuf::uint8* target) const final;
791 void SetCachedSize(
int size)
const final;
794 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
797 inline void* MaybeArenaPtr()
const {
802 ::google::protobuf::Metadata
GetMetadata() const final;
809 bool has_total() const;
811 static const
int kTotalFieldNumber = 1;
812 ::
google::protobuf::uint64 total() const;
813 void set_total(::
google::protobuf::uint64 value);
816 bool has_available() const;
817 void clear_available();
818 static const
int kAvailableFieldNumber = 2;
819 ::
google::protobuf::uint64 available() const;
820 void set_available(::
google::protobuf::uint64 value);
823 bool has_use_percent() const;
824 void clear_use_percent();
825 static const
int kUsePercentFieldNumber = 3;
826 float use_percent() const;
827 void set_use_percent(
float value);
829 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;
831 template<typename Quantity >
832 void set_total_with_units(Quantity value_w_units)
833 { set_total(boost::units::quantity<total_unit,google::protobuf::uint64 >(value_w_units).value() ); };
835 template<
typename Quantity >
840 {
return total_with_units<boost::units::quantity< total_unit,google::protobuf::uint64 > >(); };
842 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;
844 template<
typename Quantity >
846 { set_available(boost::units::quantity<available_unit,google::protobuf::uint64 >(value_w_units).value() ); };
848 template<
typename Quantity >
853 {
return available_with_units<boost::units::quantity< available_unit,google::protobuf::uint64 > >(); };
857 void set_has_total();
858 void clear_has_total();
859 void set_has_available();
860 void clear_has_available();
861 void set_has_use_percent();
862 void clear_has_use_percent();
865 size_t RequiredFieldsByteSizeFallback()
const;
867 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
868 ::google::protobuf::internal::HasBits<1> _has_bits_;
869 mutable ::google::protobuf::internal::CachedSize _cached_size_;
870 ::google::protobuf::uint64 total_;
871 ::google::protobuf::uint64 available_;
873 friend struct ::protobuf_jaiabot_2fmessages_2fhealth_2eproto::TableStruct;
891 *
this = ::std::move(from);
894 inline LinuxHardwareStatus_Memory&
operator=(LinuxHardwareStatus_Memory&& from) noexcept {
895 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
896 if (
this != &from) InternalSwap(&from);
904 return _internal_metadata_.unknown_fields();
907 return _internal_metadata_.mutable_unknown_fields();
910 static const ::google::protobuf::Descriptor*
descriptor();
929 return CreateMaybeMessage<LinuxHardwareStatus_Memory>(NULL);
933 return CreateMaybeMessage<LinuxHardwareStatus_Memory>(arena);
935 void CopyFrom(const ::google::protobuf::Message& from)
final;
936 void MergeFrom(const ::google::protobuf::Message& from)
final;
944 ::
google::protobuf::io::CodedInputStream* input) final;
946 ::
google::protobuf::io::CodedOutputStream* output) const final;
948 bool deterministic, ::
google::protobuf::uint8* target) const final;
954 void SetCachedSize(
int size)
const final;
957 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
960 inline void* MaybeArenaPtr()
const {
965 ::google::protobuf::Metadata
GetMetadata() const final;
972 bool has_ram() const;
974 static const
int kRamFieldNumber = 1;
984 bool has_swap() const;
986 static const
int kSwapFieldNumber = 2;
998 void clear_has_ram();
1000 void clear_has_swap();
1003 size_t RequiredFieldsByteSizeFallback() const;
1005 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1006 ::
google::protobuf::internal::HasBits<1> _has_bits_;
1007 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
1028 *
this = ::std::move(from);
1031 inline LinuxHardwareStatus_Disk&
operator=(LinuxHardwareStatus_Disk&& from) noexcept {
1032 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1033 if (
this != &from) InternalSwap(&from);
1041 return _internal_metadata_.unknown_fields();
1044 return _internal_metadata_.mutable_unknown_fields();
1047 static const ::google::protobuf::Descriptor*
descriptor();
1066 return CreateMaybeMessage<LinuxHardwareStatus_Disk>(NULL);
1070 return CreateMaybeMessage<LinuxHardwareStatus_Disk>(arena);
1072 void CopyFrom(const ::google::protobuf::Message& from)
final;
1073 void MergeFrom(const ::google::protobuf::Message& from)
final;
1081 ::
google::protobuf::io::CodedInputStream* input) final;
1083 ::
google::protobuf::io::CodedOutputStream* output) const final;
1085 bool deterministic, ::
google::protobuf::uint8* target) const final;
1091 void SetCachedSize(
int size)
const final;
1094 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1097 inline void* MaybeArenaPtr()
const {
1102 ::google::protobuf::Metadata
GetMetadata() const final;
1109 bool has_rootfs() const;
1110 void clear_rootfs();
1111 static const
int kRootfsFieldNumber = 1;
1121 bool has_data() const;
1123 static const
int kDataFieldNumber = 2;
1134 void set_has_rootfs();
1135 void clear_has_rootfs();
1136 void set_has_data();
1137 void clear_has_data();
1139 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1140 ::
google::protobuf::internal::HasBits<1> _has_bits_;
1141 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
1162 *
this = ::std::move(from);
1165 inline LinuxHardwareStatus_WiFi&
operator=(LinuxHardwareStatus_WiFi&& from) noexcept {
1166 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1167 if (
this != &from) InternalSwap(&from);
1175 return _internal_metadata_.unknown_fields();
1178 return _internal_metadata_.mutable_unknown_fields();
1181 static const ::google::protobuf::Descriptor*
descriptor();
1200 return CreateMaybeMessage<LinuxHardwareStatus_WiFi>(NULL);
1204 return CreateMaybeMessage<LinuxHardwareStatus_WiFi>(arena);
1206 void CopyFrom(const ::google::protobuf::Message& from)
final;
1207 void MergeFrom(const ::google::protobuf::Message& from)
final;
1215 ::
google::protobuf::io::CodedInputStream* input) final;
1217 ::
google::protobuf::io::CodedOutputStream* output) const final;
1219 bool deterministic, ::
google::protobuf::uint8* target) const final;
1225 void SetCachedSize(
int size)
const final;
1228 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1231 inline void* MaybeArenaPtr()
const {
1236 ::google::protobuf::Metadata
GetMetadata() const final;
1243 bool has_is_connected() const;
1244 void clear_is_connected();
1245 static const
int kIsConnectedFieldNumber = 1;
1246 bool is_connected() const;
1247 void set_is_connected(
bool value);
1250 bool has_link_quality() const;
1251 void clear_link_quality();
1252 static const
int kLinkQualityFieldNumber = 2;
1253 ::
google::protobuf::uint32 link_quality() const;
1254 void set_link_quality(::
google::protobuf::uint32 value);
1257 bool has_link_quality_percentage() const;
1258 void clear_link_quality_percentage();
1259 static const
int kLinkQualityPercentageFieldNumber = 3;
1260 ::
google::protobuf::uint32 link_quality_percentage() const;
1261 void set_link_quality_percentage(::
google::protobuf::uint32 value);
1264 bool has_signal_level() const;
1265 void clear_signal_level();
1266 static const
int kSignalLevelFieldNumber = 4;
1267 ::
google::protobuf::int32 signal_level() const;
1268 void set_signal_level(::
google::protobuf::int32 value);
1271 bool has_noise_level() const;
1272 void clear_noise_level();
1273 static const
int kNoiseLevelFieldNumber = 5;
1274 ::
google::protobuf::int32 noise_level() const;
1275 void set_noise_level(::
google::protobuf::int32 value);
1279 void set_has_is_connected();
1280 void clear_has_is_connected();
1281 void set_has_link_quality();
1282 void clear_has_link_quality();
1283 void set_has_link_quality_percentage();
1284 void clear_has_link_quality_percentage();
1285 void set_has_signal_level();
1286 void clear_has_signal_level();
1287 void set_has_noise_level();
1288 void clear_has_noise_level();
1290 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1291 ::
google::protobuf::internal::HasBits<1> _has_bits_;
1292 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
1294 ::
google::protobuf::uint32 link_quality_;
1295 ::
google::protobuf::uint32 link_quality_percentage_;
1296 ::
google::protobuf::int32 signal_level_;
1297 ::
google::protobuf::int32 noise_level_;
1316 *
this = ::std::move(from);
1319 inline LinuxHardwareStatus&
operator=(LinuxHardwareStatus&& from) noexcept {
1320 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1321 if (
this != &from) InternalSwap(&from);
1329 return _internal_metadata_.unknown_fields();
1332 return _internal_metadata_.mutable_unknown_fields();
1335 static const ::google::protobuf::Descriptor*
descriptor();
1354 return CreateMaybeMessage<LinuxHardwareStatus>(NULL);
1358 return CreateMaybeMessage<LinuxHardwareStatus>(arena);
1360 void CopyFrom(const ::google::protobuf::Message& from)
final;
1361 void MergeFrom(const ::google::protobuf::Message& from)
final;
1369 ::
google::protobuf::io::CodedInputStream* input) final;
1371 ::
google::protobuf::io::CodedOutputStream* output) const final;
1373 bool deterministic, ::
google::protobuf::uint8* target) const final;
1379 void SetCachedSize(
int size)
const final;
1382 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1385 inline void* MaybeArenaPtr()
const {
1390 ::google::protobuf::Metadata
GetMetadata() const final;
1403 bool has_processor() const;
1404 void clear_processor();
1405 static const
int kProcessorFieldNumber = 20;
1415 bool has_memory() const;
1416 void clear_memory();
1417 static const
int kMemoryFieldNumber = 30;
1427 bool has_disk() const;
1429 static const
int kDiskFieldNumber = 40;
1439 bool has_wifi() const;
1441 static const
int kWifiFieldNumber = 50;
1451 bool has_uptime() const;
1452 void clear_uptime();
1453 static const
int kUptimeFieldNumber = 10;
1454 ::
google::protobuf::int32 uptime() const;
1455 void set_uptime(::
google::protobuf::int32 value);
1461 template<typename Quantity >
1462 void set_uptime_with_units(Quantity value_w_units)
1463 { set_uptime(boost::units::quantity<uptime_unit,google::protobuf::int32 >(value_w_units).value() ); };
1465 template<
typename Quantity >
1470 {
return uptime_with_units<boost::units::quantity< uptime_unit,google::protobuf::int32 > >(); };
1474 void set_has_uptime();
1475 void clear_has_uptime();
1476 void set_has_processor();
1477 void clear_has_processor();
1478 void set_has_memory();
1479 void clear_has_memory();
1480 void set_has_disk();
1481 void clear_has_disk();
1482 void set_has_wifi();
1483 void clear_has_wifi();
1485 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1486 ::google::protobuf::internal::HasBits<1> _has_bits_;
1487 mutable ::google::protobuf::internal::CachedSize _cached_size_;
1492 ::google::protobuf::int32 uptime_;
1493 friend struct ::protobuf_jaiabot_2fmessages_2fhealth_2eproto::TableStruct;
1511 *
this = ::std::move(from);
1514 inline NTPStatus_NTPPeer&
operator=(NTPStatus_NTPPeer&& from) noexcept {
1515 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1516 if (
this != &from) InternalSwap(&from);
1524 return _internal_metadata_.unknown_fields();
1527 return _internal_metadata_.mutable_unknown_fields();
1530 static const ::google::protobuf::Descriptor*
descriptor();
1549 return CreateMaybeMessage<NTPStatus_NTPPeer>(NULL);
1553 return CreateMaybeMessage<NTPStatus_NTPPeer>(arena);
1555 void CopyFrom(const ::google::protobuf::Message& from)
final;
1556 void MergeFrom(const ::google::protobuf::Message& from)
final;
1564 ::
google::protobuf::io::CodedInputStream* input) final;
1566 ::
google::protobuf::io::CodedOutputStream* output) const final;
1568 bool deterministic, ::
google::protobuf::uint8* target) const final;
1574 void SetCachedSize(
int size)
const final;
1577 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1580 inline void* MaybeArenaPtr()
const {
1585 ::google::protobuf::Metadata
GetMetadata() const final;
1598 static const
TallyCode PEER_DISCARDED_BY_CLUSTER_ALGORITHM =
1608 static inline
bool TallyCode_IsValid(
int value) {
1615 static const int TallyCode_ARRAYSIZE =
1617 static inline const ::google::protobuf::EnumDescriptor*
1632 bool has_remote()
const;
1633 void clear_remote();
1634 static const int kRemoteFieldNumber = 2;
1635 const ::std::string& remote()
const;
1636 void set_remote(const ::std::string& value);
1638 void set_remote(::std::string&& value);
1640 void set_remote(
const char* value);
1641 void set_remote(
const char* value,
size_t size);
1642 ::std::string* mutable_remote();
1643 ::std::string* release_remote();
1644 void set_allocated_remote(::std::string* remote);
1647 bool has_refid()
const;
1649 static const int kRefidFieldNumber = 3;
1650 const ::std::string& refid()
const;
1651 void set_refid(const ::std::string& value);
1653 void set_refid(::std::string&& value);
1655 void set_refid(
const char* value);
1656 void set_refid(
const char* value,
size_t size);
1657 ::std::string* mutable_refid();
1658 ::std::string* release_refid();
1659 void set_allocated_refid(::std::string* refid);
1662 bool has_reach()
const;
1664 static const int kReachFieldNumber = 7;
1665 ::google::protobuf::int32 reach()
const;
1666 void set_reach(::google::protobuf::int32 value);
1669 bool has_jitter()
const;
1670 void clear_jitter();
1671 static const int kJitterFieldNumber = 10;
1672 float jitter()
const;
1673 void set_jitter(
float value);
1676 bool has_tally_code()
const;
1677 void clear_tally_code();
1678 static const int kTallyCodeFieldNumber = 1;
1683 bool has_stratum()
const;
1684 void clear_stratum();
1685 static const int kStratumFieldNumber = 4;
1686 ::google::protobuf::int32 stratum()
const;
1687 void set_stratum(::google::protobuf::int32 value);
1690 bool has_when()
const;
1692 static const int kWhenFieldNumber = 5;
1693 ::google::protobuf::int32 when()
const;
1694 void set_when(::google::protobuf::int32 value);
1697 bool has_poll()
const;
1699 static const int kPollFieldNumber = 6;
1700 ::google::protobuf::int32 poll()
const;
1701 void set_poll(::google::protobuf::int32 value);
1704 bool has_delay()
const;
1706 static const int kDelayFieldNumber = 8;
1707 float delay()
const;
1708 void set_delay(
float value);
1711 bool has_offset()
const;
1712 void clear_offset();
1713 static const int kOffsetFieldNumber = 9;
1714 float offset()
const;
1715 void set_offset(
float value);
1717 typedef boost::units::derived_dimension< boost::units::time_base_dimension,1 >::type
when_dimension;
1719 typedef boost::units::unit<when_dimension,boost::units::si::system>
when_unit;
1721 template<
typename Quantity >
1723 { set_when(boost::units::quantity<when_unit,google::protobuf::int32 >(value_w_units).value() ); };
1725 template<
typename Quantity >
1727 {
return Quantity(when() *
when_unit()); };
1730 {
return when_with_units<boost::units::quantity< when_unit,google::protobuf::int32 > >(); };
1732 typedef boost::units::derived_dimension< boost::units::time_base_dimension,1 >::type poll_dimension;
1734 typedef boost::units::unit<poll_dimension,boost::units::si::system>
poll_unit;
1736 template<
typename Quantity >
1738 { set_poll(boost::units::quantity<poll_unit,google::protobuf::int32 >(value_w_units).value() ); };
1740 template<
typename Quantity >
1742 {
return Quantity(poll() *
poll_unit()); };
1745 {
return poll_with_units<boost::units::quantity< poll_unit,google::protobuf::int32 > >(); };
1747 typedef boost::units::derived_dimension< boost::units::time_base_dimension,1 >::type delay_dimension;
1749 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;
1751 template<
typename Quantity >
1753 { set_delay(boost::units::quantity<delay_unit,float >(value_w_units).value() ); };
1755 template<
typename Quantity >
1757 {
return Quantity(delay() *
delay_unit()); };
1760 {
return delay_with_units<boost::units::quantity< delay_unit,float > >(); };
1762 typedef boost::units::derived_dimension< boost::units::time_base_dimension,1 >::type offset_dimension;
1764 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;
1766 template<
typename Quantity >
1768 { set_offset(boost::units::quantity<offset_unit,float >(value_w_units).value() ); };
1770 template<
typename Quantity >
1775 {
return offset_with_units<boost::units::quantity< offset_unit,float > >(); };
1777 typedef boost::units::derived_dimension< boost::units::time_base_dimension,1 >::type jitter_dimension;
1779 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;
1781 template<
typename Quantity >
1783 { set_jitter(boost::units::quantity<jitter_unit,float >(value_w_units).value() ); };
1785 template<
typename Quantity >
1790 {
return jitter_with_units<boost::units::quantity< jitter_unit,float > >(); };
1794 void set_has_tally_code();
1795 void clear_has_tally_code();
1796 void set_has_remote();
1797 void clear_has_remote();
1798 void set_has_refid();
1799 void clear_has_refid();
1800 void set_has_stratum();
1801 void clear_has_stratum();
1802 void set_has_when();
1803 void clear_has_when();
1804 void set_has_poll();
1805 void clear_has_poll();
1806 void set_has_reach();
1807 void clear_has_reach();
1808 void set_has_delay();
1809 void clear_has_delay();
1810 void set_has_offset();
1811 void clear_has_offset();
1812 void set_has_jitter();
1813 void clear_has_jitter();
1816 size_t RequiredFieldsByteSizeFallback()
const;
1818 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1819 ::google::protobuf::internal::HasBits<1> _has_bits_;
1820 mutable ::google::protobuf::internal::CachedSize _cached_size_;
1821 ::google::protobuf::internal::ArenaStringPtr remote_;
1822 ::google::protobuf::internal::ArenaStringPtr refid_;
1823 ::google::protobuf::int32 reach_;
1826 ::google::protobuf::int32 stratum_;
1827 ::google::protobuf::int32 when_;
1828 ::google::protobuf::int32 poll_;
1831 friend struct ::protobuf_jaiabot_2fmessages_2fhealth_2eproto::TableStruct;
1849 *
this = ::std::move(from);
1852 inline NTPStatus&
operator=(NTPStatus&& from) noexcept {
1853 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1854 if (
this != &from) InternalSwap(&from);
1862 return _internal_metadata_.unknown_fields();
1865 return _internal_metadata_.mutable_unknown_fields();
1868 static const ::google::protobuf::Descriptor*
descriptor();
1873 return reinterpret_cast<const NTPStatus*
>(
1887 return CreateMaybeMessage<NTPStatus>(NULL);
1891 return CreateMaybeMessage<NTPStatus>(arena);
1893 void CopyFrom(const ::google::protobuf::Message& from)
final;
1894 void MergeFrom(const ::google::protobuf::Message& from)
final;
1902 ::
google::protobuf::io::CodedInputStream* input) final;
1904 ::
google::protobuf::io::CodedOutputStream* output) const final;
1906 bool deterministic, ::
google::protobuf::uint8* target) const final;
1912 void SetCachedSize(
int size)
const final;
1915 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1918 inline void* MaybeArenaPtr()
const {
1923 ::google::protobuf::Metadata
GetMetadata() const final;
1952 static inline
bool SyncSource_IsValid(
int value) {
1959 static const int SyncSource_ARRAYSIZE =
1961 static inline const ::google::protobuf::EnumDescriptor*
1991 static const int LeapIndicator_ARRAYSIZE =
1993 static inline const ::google::protobuf::EnumDescriptor*
2047 static const int NTPSystemEvent_ARRAYSIZE =
2049 static inline const ::google::protobuf::EnumDescriptor*
2064 int peer_size()
const;
2066 static const int kPeerFieldNumber = 21;
2068 ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::NTPStatus_NTPPeer >*
2070 const ::jaiabot::protobuf::NTPStatus_NTPPeer& peer(
int index)
const;
2072 const ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::NTPStatus_NTPPeer >&
2076 bool has_system_sync_peer()
const;
2077 void clear_system_sync_peer();
2078 static const int kSystemSyncPeerFieldNumber = 20;
2080 const ::jaiabot::protobuf::NTPStatus_NTPPeer& _internal_system_sync_peer()
const;
2082 const ::jaiabot::protobuf::NTPStatus_NTPPeer& system_sync_peer()
const;
2088 bool has_system_event_counter()
const;
2089 void clear_system_event_counter();
2090 static const int kSystemEventCounterFieldNumber = 12;
2091 ::google::protobuf::int32 system_event_counter()
const;
2092 void set_system_event_counter(::google::protobuf::int32 value);
2095 bool has_last_system_event()
const;
2096 void clear_last_system_event();
2097 static const int kLastSystemEventFieldNumber = 13;
2102 bool has_sync_source()
const;
2103 void clear_sync_source();
2104 static const int kSyncSourceFieldNumber = 10;
2109 bool has_leap_indicator()
const;
2110 void clear_leap_indicator();
2111 static const int kLeapIndicatorFieldNumber = 11;
2117 void set_has_sync_source();
2118 void clear_has_sync_source();
2119 void set_has_leap_indicator();
2120 void clear_has_leap_indicator();
2121 void set_has_system_event_counter();
2122 void clear_has_system_event_counter();
2123 void set_has_last_system_event();
2124 void clear_has_last_system_event();
2125 void set_has_system_sync_peer();
2126 void clear_has_system_sync_peer();
2128 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2129 ::google::protobuf::internal::HasBits<1> _has_bits_;
2130 mutable ::google::protobuf::internal::CachedSize _cached_size_;
2131 ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::NTPStatus_NTPPeer > peer_;
2133 ::google::protobuf::int32 system_event_counter_;
2134 int last_system_event_;
2136 int leap_indicator_;
2137 friend struct ::protobuf_jaiabot_2fmessages_2fhealth_2eproto::TableStruct;
2155 *
this = ::std::move(from);
2158 inline HelmIVPStatus&
operator=(HelmIVPStatus&& from) noexcept {
2159 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2160 if (
this != &from) InternalSwap(&from);
2168 return _internal_metadata_.unknown_fields();
2171 return _internal_metadata_.mutable_unknown_fields();
2174 static const ::google::protobuf::Descriptor*
descriptor();
2193 return CreateMaybeMessage<HelmIVPStatus>(NULL);
2197 return CreateMaybeMessage<HelmIVPStatus>(arena);
2199 void CopyFrom(const ::google::protobuf::Message& from)
final;
2200 void MergeFrom(const ::google::protobuf::Message& from)
final;
2208 ::
google::protobuf::io::CodedInputStream* input) final;
2210 ::
google::protobuf::io::CodedOutputStream* output) const final;
2212 bool deterministic, ::
google::protobuf::uint8* target) const final;
2218 void SetCachedSize(
int size)
const final;
2221 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
2224 inline void* MaybeArenaPtr()
const {
2229 ::google::protobuf::Metadata
GetMetadata() const final;
2236 bool has_helm_ivp_state() const;
2237 void clear_helm_ivp_state();
2238 static const
int kHelmIvpStateFieldNumber = 1;
2239 const ::std::
string& helm_ivp_state() const;
2240 void set_helm_ivp_state(const ::std::
string& value);
2242 void set_helm_ivp_state(::std::string&& value);
2244 void set_helm_ivp_state(
const char* value);
2245 void set_helm_ivp_state(
const char* value,
size_t size);
2246 ::std::string* mutable_helm_ivp_state();
2247 ::std::string* release_helm_ivp_state();
2248 void set_allocated_helm_ivp_state(::std::string* helm_ivp_state);
2251 bool has_helm_ivp_desired_speed()
const;
2252 void clear_helm_ivp_desired_speed();
2253 static const int kHelmIvpDesiredSpeedFieldNumber = 2;
2254 bool helm_ivp_desired_speed()
const;
2255 void set_helm_ivp_desired_speed(
bool value);
2258 bool has_helm_ivp_desired_heading()
const;
2259 void clear_helm_ivp_desired_heading();
2260 static const int kHelmIvpDesiredHeadingFieldNumber = 3;
2261 bool helm_ivp_desired_heading()
const;
2262 void set_helm_ivp_desired_heading(
bool value);
2265 bool has_helm_ivp_desired_depth()
const;
2266 void clear_helm_ivp_desired_depth();
2267 static const int kHelmIvpDesiredDepthFieldNumber = 4;
2268 bool helm_ivp_desired_depth()
const;
2269 void set_helm_ivp_desired_depth(
bool value);
2272 bool has_helm_ivp_data()
const;
2273 void clear_helm_ivp_data();
2274 static const int kHelmIvpDataFieldNumber = 5;
2275 bool helm_ivp_data()
const;
2276 void set_helm_ivp_data(
bool value);
2280 void set_has_helm_ivp_state();
2281 void clear_has_helm_ivp_state();
2282 void set_has_helm_ivp_desired_speed();
2283 void clear_has_helm_ivp_desired_speed();
2284 void set_has_helm_ivp_desired_heading();
2285 void clear_has_helm_ivp_desired_heading();
2286 void set_has_helm_ivp_desired_depth();
2287 void clear_has_helm_ivp_desired_depth();
2288 void set_has_helm_ivp_data();
2289 void clear_has_helm_ivp_data();
2291 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2292 ::google::protobuf::internal::HasBits<1> _has_bits_;
2293 mutable ::google::protobuf::internal::CachedSize _cached_size_;
2297 ::google::protobuf::internal::ArenaStringPtr helm_ivp_state_;
2298 bool helm_ivp_desired_speed_;
2299 bool helm_ivp_desired_heading_;
2300 bool helm_ivp_desired_depth_;
2301 bool helm_ivp_data_;
2302 friend struct ::protobuf_jaiabot_2fmessages_2fhealth_2eproto::TableStruct;
2320 *
this = ::std::move(from);
2323 inline ThreadHealth&
operator=(ThreadHealth&& from) noexcept {
2324 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2325 if (
this != &from) InternalSwap(&from);
2333 return _internal_metadata_.unknown_fields();
2336 return _internal_metadata_.mutable_unknown_fields();
2339 static const ::google::protobuf::Descriptor*
descriptor();
2358 return CreateMaybeMessage<ThreadHealth>(NULL);
2362 return CreateMaybeMessage<ThreadHealth>(arena);
2364 void CopyFrom(const ::google::protobuf::Message& from)
final;
2365 void MergeFrom(const ::google::protobuf::Message& from)
final;
2373 ::
google::protobuf::io::CodedInputStream* input) final;
2375 ::
google::protobuf::io::CodedOutputStream* output) const final;
2377 bool deterministic, ::
google::protobuf::uint8* target) const final;
2383 void SetCachedSize(
int size)
const final;
2386 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
2389 inline void* MaybeArenaPtr()
const {
2394 ::google::protobuf::Metadata
GetMetadata() const final;
2401 int error_size() const;
2403 static const
int kErrorFieldNumber = 1;
2405 void set_error(
int index, ::
jaiabot::protobuf::
Error value);
2407 const ::
google::protobuf::RepeatedField<
int>& error() const;
2408 ::
google::protobuf::RepeatedField<
int>* mutable_error();
2411 int warning_size() const;
2412 void clear_warning();
2413 static const
int kWarningFieldNumber = 2;
2417 const ::
google::protobuf::RepeatedField<
int>& warning() const;
2418 ::
google::protobuf::RepeatedField<
int>* mutable_warning();
2423 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2424 ::
google::protobuf::internal::HasBits<1> _has_bits_;
2425 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
2426 ::
google::protobuf::RepeatedField<
int> error_;
2427 ::
google::protobuf::RepeatedField<
int> warning_;
2446 *
this = ::std::move(from);
2449 inline VehicleHealth&
operator=(VehicleHealth&& from) noexcept {
2450 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2451 if (
this != &from) InternalSwap(&from);
2459 return _internal_metadata_.unknown_fields();
2462 return _internal_metadata_.mutable_unknown_fields();
2465 static const ::google::protobuf::Descriptor*
descriptor();
2484 return CreateMaybeMessage<VehicleHealth>(NULL);
2488 return CreateMaybeMessage<VehicleHealth>(arena);
2490 void CopyFrom(const ::google::protobuf::Message& from)
final;
2491 void MergeFrom(const ::google::protobuf::Message& from)
final;
2499 ::
google::protobuf::io::CodedInputStream* input) final;
2501 ::
google::protobuf::io::CodedOutputStream* output) const final;
2503 bool deterministic, ::
google::protobuf::uint8* target) const final;
2509 void SetCachedSize(
int size)
const final;
2512 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
2515 inline void* MaybeArenaPtr()
const {
2520 ::google::protobuf::Metadata
GetMetadata() const final;
2529 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2530 ::
google::protobuf::internal::HasBits<1> _has_bits_;
2531 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
2550 *
this = ::std::move(from);
2553 inline SystemdStartReport&
operator=(SystemdStartReport&& from) noexcept {
2554 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2555 if (
this != &from) InternalSwap(&from);
2563 return _internal_metadata_.unknown_fields();
2566 return _internal_metadata_.mutable_unknown_fields();
2569 static const ::google::protobuf::Descriptor*
descriptor();
2588 return CreateMaybeMessage<SystemdStartReport>(NULL);
2592 return CreateMaybeMessage<SystemdStartReport>(arena);
2594 void CopyFrom(const ::google::protobuf::Message& from)
final;
2595 void MergeFrom(const ::google::protobuf::Message& from)
final;
2603 ::
google::protobuf::io::CodedInputStream* input) final;
2605 ::
google::protobuf::io::CodedOutputStream* output) const final;
2607 bool deterministic, ::
google::protobuf::uint8* target) const final;
2613 void SetCachedSize(
int size)
const final;
2616 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
2619 inline void* MaybeArenaPtr()
const {
2624 ::google::protobuf::Metadata
GetMetadata() const final;
2631 bool has_clear_error() const;
2632 void clear_clear_error();
2633 static const
int kClearErrorFieldNumber = 1;
2635 void set_clear_error(::
jaiabot::protobuf::
Error value);
2639 void set_has_clear_error();
2640 void clear_has_clear_error();
2642 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2643 ::
google::protobuf::internal::HasBits<1> _has_bits_;
2644 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
2664 *
this = ::std::move(from);
2667 inline SystemdStopReport&
operator=(SystemdStopReport&& from) noexcept {
2668 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2669 if (
this != &from) InternalSwap(&from);
2677 return _internal_metadata_.unknown_fields();
2680 return _internal_metadata_.mutable_unknown_fields();
2683 static const ::google::protobuf::Descriptor*
descriptor();
2702 return CreateMaybeMessage<SystemdStopReport>(NULL);
2706 return CreateMaybeMessage<SystemdStopReport>(arena);
2708 void CopyFrom(const ::google::protobuf::Message& from)
final;
2709 void MergeFrom(const ::google::protobuf::Message& from)
final;
2717 ::
google::protobuf::io::CodedInputStream* input) final;
2719 ::
google::protobuf::io::CodedOutputStream* output) const final;
2721 bool deterministic, ::
google::protobuf::uint8* target) const final;
2727 void SetCachedSize(
int size)
const final;
2730 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
2733 inline void* MaybeArenaPtr()
const {
2738 ::google::protobuf::Metadata
GetMetadata() const final;
2763 static inline
bool ServiceResult_IsValid(
int value) {
2770 static const int ServiceResult_ARRAYSIZE =
2772 static inline const ::google::protobuf::EnumDescriptor*
2787 bool has_journal_dump_file()
const;
2788 void clear_journal_dump_file();
2789 static const int kJournalDumpFileFieldNumber = 3;
2790 const ::std::string& journal_dump_file()
const;
2791 void set_journal_dump_file(const ::std::string& value);
2793 void set_journal_dump_file(::std::string&& value);
2795 void set_journal_dump_file(
const char* value);
2796 void set_journal_dump_file(
const char* value,
size_t size);
2797 ::std::string* mutable_journal_dump_file();
2798 ::std::string* release_journal_dump_file();
2799 void set_allocated_journal_dump_file(::std::string* journal_dump_file);
2802 bool has_result()
const;
2803 void clear_result();
2804 static const int kResultFieldNumber = 1;
2809 bool has_error()
const;
2811 static const int kErrorFieldNumber = 2;
2817 void set_has_result();
2818 void clear_has_result();
2819 void set_has_error();
2820 void clear_has_error();
2821 void set_has_journal_dump_file();
2822 void clear_has_journal_dump_file();
2825 size_t RequiredFieldsByteSizeFallback()
const;
2827 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2828 ::google::protobuf::internal::HasBits<1> _has_bits_;
2829 mutable ::google::protobuf::internal::CachedSize _cached_size_;
2830 ::google::protobuf::internal::ArenaStringPtr journal_dump_file_;
2833 friend struct ::protobuf_jaiabot_2fmessages_2fhealth_2eproto::TableStruct;
2851 *
this = ::std::move(from);
2854 inline SystemdReportAck&
operator=(SystemdReportAck&& from) noexcept {
2855 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2856 if (
this != &from) InternalSwap(&from);
2864 return _internal_metadata_.unknown_fields();
2867 return _internal_metadata_.mutable_unknown_fields();
2870 static const ::google::protobuf::Descriptor*
descriptor();
2889 return CreateMaybeMessage<SystemdReportAck>(NULL);
2893 return CreateMaybeMessage<SystemdReportAck>(arena);
2895 void CopyFrom(const ::google::protobuf::Message& from)
final;
2896 void MergeFrom(const ::google::protobuf::Message& from)
final;
2904 ::
google::protobuf::io::CodedInputStream* input) final;
2906 ::
google::protobuf::io::CodedOutputStream* output) const final;
2908 bool deterministic, ::
google::protobuf::uint8* target) const final;
2914 void SetCachedSize(
int size)
const final;
2917 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
2920 inline void* MaybeArenaPtr()
const {
2925 ::google::protobuf::Metadata
GetMetadata() const final;
2932 bool has_error_ack() const;
2933 void clear_error_ack();
2934 static const
int kErrorAckFieldNumber = 1;
2940 void set_has_error_ack();
2941 void clear_has_error_ack();
2943 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2944 ::
google::protobuf::internal::HasBits<1> _has_bits_;
2945 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
2963 #pragma GCC diagnostic push
2964 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
2970 return (_has_bits_[0] & 0x00000001u) != 0;
2972 inline void LinuxHardwareStatus_Processor_LoadAverages::set_has_one_min() {
2973 _has_bits_[0] |= 0x00000001u;
2975 inline void LinuxHardwareStatus_Processor_LoadAverages::clear_has_one_min() {
2976 _has_bits_[0] &= ~0x00000001u;
2980 clear_has_one_min();
2994 return (_has_bits_[0] & 0x00000002u) != 0;
2996 inline void LinuxHardwareStatus_Processor_LoadAverages::set_has_five_min() {
2997 _has_bits_[0] |= 0x00000002u;
2999 inline void LinuxHardwareStatus_Processor_LoadAverages::clear_has_five_min() {
3000 _has_bits_[0] &= ~0x00000002u;
3004 clear_has_five_min();
3018 return (_has_bits_[0] & 0x00000004u) != 0;
3020 inline void LinuxHardwareStatus_Processor_LoadAverages::set_has_fifteen_min() {
3021 _has_bits_[0] |= 0x00000004u;
3023 inline void LinuxHardwareStatus_Processor_LoadAverages::clear_has_fifteen_min() {
3024 _has_bits_[0] &= ~0x00000004u;
3028 clear_has_fifteen_min();
3032 return fifteen_min_;
3035 set_has_fifteen_min();
3036 fifteen_min_ = value;
3046 return (_has_bits_[0] & 0x00000001u) != 0;
3048 inline void LinuxHardwareStatus_Processor::set_has_loads() {
3049 _has_bits_[0] |= 0x00000001u;
3051 inline void LinuxHardwareStatus_Processor::clear_has_loads() {
3052 _has_bits_[0] &= ~0x00000001u;
3055 if (loads_ != NULL) loads_->Clear();
3058 inline const ::jaiabot::protobuf::LinuxHardwareStatus_Processor_LoadAverages& LinuxHardwareStatus_Processor::_internal_loads()
const {
3062 const ::jaiabot::protobuf::LinuxHardwareStatus_Processor_LoadAverages* p = loads_;
3076 if (loads_ == NULL) {
3077 auto* p = CreateMaybeMessage<::jaiabot::protobuf::LinuxHardwareStatus_Processor_LoadAverages>(GetArenaNoVirtual());
3084 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
3085 if (message_arena == NULL) {
3089 ::google::protobuf::Arena* submessage_arena = NULL;
3090 if (message_arena != submessage_arena) {
3091 loads = ::google::protobuf::internal::GetOwnedMessage(
3092 message_arena, loads, submessage_arena);
3104 return (_has_bits_[0] & 0x00000002u) != 0;
3106 inline void LinuxHardwareStatus_Processor::set_has_num_processes() {
3107 _has_bits_[0] |= 0x00000002u;
3109 inline void LinuxHardwareStatus_Processor::clear_has_num_processes() {
3110 _has_bits_[0] &= ~0x00000002u;
3114 clear_has_num_processes();
3118 return num_processes_;
3121 set_has_num_processes();
3122 num_processes_ = value;
3128 return (_has_bits_[0] & 0x00000004u) != 0;
3130 inline void LinuxHardwareStatus_Processor::set_has_num_processors() {
3131 _has_bits_[0] |= 0x00000004u;
3133 inline void LinuxHardwareStatus_Processor::clear_has_num_processors() {
3134 _has_bits_[0] &= ~0x00000004u;
3137 num_processors_ = 0;
3138 clear_has_num_processors();
3142 return num_processors_;
3145 set_has_num_processors();
3146 num_processors_ = value;
3156 return (_has_bits_[0] & 0x00000001u) != 0;
3158 inline void LinuxHardwareStatus_Information::set_has_total() {
3159 _has_bits_[0] |= 0x00000001u;
3161 inline void LinuxHardwareStatus_Information::clear_has_total() {
3162 _has_bits_[0] &= ~0x00000001u;
3165 total_ = GOOGLE_ULONGLONG(0);
3180 return (_has_bits_[0] & 0x00000002u) != 0;
3182 inline void LinuxHardwareStatus_Information::set_has_available() {
3183 _has_bits_[0] |= 0x00000002u;
3185 inline void LinuxHardwareStatus_Information::clear_has_available() {
3186 _has_bits_[0] &= ~0x00000002u;
3189 available_ = GOOGLE_ULONGLONG(0);
3190 clear_has_available();
3197 set_has_available();
3204 return (_has_bits_[0] & 0x00000004u) != 0;
3206 inline void LinuxHardwareStatus_Information::set_has_use_percent() {
3207 _has_bits_[0] |= 0x00000004u;
3209 inline void LinuxHardwareStatus_Information::clear_has_use_percent() {
3210 _has_bits_[0] &= ~0x00000004u;
3214 clear_has_use_percent();
3218 return use_percent_;
3221 set_has_use_percent();
3222 use_percent_ = value;
3232 return (_has_bits_[0] & 0x00000001u) != 0;
3234 inline void LinuxHardwareStatus_Memory::set_has_ram() {
3235 _has_bits_[0] |= 0x00000001u;
3237 inline void LinuxHardwareStatus_Memory::clear_has_ram() {
3238 _has_bits_[0] &= ~0x00000001u;
3241 if (ram_ != NULL) ram_->Clear();
3244 inline const ::jaiabot::protobuf::LinuxHardwareStatus_Information& LinuxHardwareStatus_Memory::_internal_ram()
const {
3248 const ::jaiabot::protobuf::LinuxHardwareStatus_Information* p = ram_;
3263 auto* p = CreateMaybeMessage<::jaiabot::protobuf::LinuxHardwareStatus_Information>(GetArenaNoVirtual());
3270 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
3271 if (message_arena == NULL) {
3275 ::google::protobuf::Arena* submessage_arena = NULL;
3276 if (message_arena != submessage_arena) {
3277 ram = ::google::protobuf::internal::GetOwnedMessage(
3278 message_arena, ram, submessage_arena);
3290 return (_has_bits_[0] & 0x00000002u) != 0;
3292 inline void LinuxHardwareStatus_Memory::set_has_swap() {
3293 _has_bits_[0] |= 0x00000002u;
3295 inline void LinuxHardwareStatus_Memory::clear_has_swap() {
3296 _has_bits_[0] &= ~0x00000002u;
3299 if (swap_ != NULL) swap_->Clear();
3302 inline const ::jaiabot::protobuf::LinuxHardwareStatus_Information& LinuxHardwareStatus_Memory::_internal_swap()
const {
3306 const ::jaiabot::protobuf::LinuxHardwareStatus_Information* p = swap_;
3320 if (swap_ == NULL) {
3321 auto* p = CreateMaybeMessage<::jaiabot::protobuf::LinuxHardwareStatus_Information>(GetArenaNoVirtual());
3328 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
3329 if (message_arena == NULL) {
3333 ::google::protobuf::Arena* submessage_arena = NULL;
3334 if (message_arena != submessage_arena) {
3335 swap = ::google::protobuf::internal::GetOwnedMessage(
3336 message_arena,
swap, submessage_arena);
3352 return (_has_bits_[0] & 0x00000001u) != 0;
3354 inline void LinuxHardwareStatus_Disk::set_has_rootfs() {
3355 _has_bits_[0] |= 0x00000001u;
3357 inline void LinuxHardwareStatus_Disk::clear_has_rootfs() {
3358 _has_bits_[0] &= ~0x00000001u;
3361 if (rootfs_ != NULL) rootfs_->Clear();
3364 inline const ::jaiabot::protobuf::LinuxHardwareStatus_Information& LinuxHardwareStatus_Disk::_internal_rootfs()
const {
3368 const ::jaiabot::protobuf::LinuxHardwareStatus_Information* p = rootfs_;
3382 if (rootfs_ == NULL) {
3383 auto* p = CreateMaybeMessage<::jaiabot::protobuf::LinuxHardwareStatus_Information>(GetArenaNoVirtual());
3390 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
3391 if (message_arena == NULL) {
3395 ::google::protobuf::Arena* submessage_arena = NULL;
3396 if (message_arena != submessage_arena) {
3397 rootfs = ::google::protobuf::internal::GetOwnedMessage(
3398 message_arena, rootfs, submessage_arena);
3410 return (_has_bits_[0] & 0x00000002u) != 0;
3412 inline void LinuxHardwareStatus_Disk::set_has_data() {
3413 _has_bits_[0] |= 0x00000002u;
3415 inline void LinuxHardwareStatus_Disk::clear_has_data() {
3416 _has_bits_[0] &= ~0x00000002u;
3419 if (data_ != NULL) data_->Clear();
3422 inline const ::jaiabot::protobuf::LinuxHardwareStatus_Information& LinuxHardwareStatus_Disk::_internal_data()
const {
3426 const ::jaiabot::protobuf::LinuxHardwareStatus_Information* p = data_;
3440 if (data_ == NULL) {
3441 auto* p = CreateMaybeMessage<::jaiabot::protobuf::LinuxHardwareStatus_Information>(GetArenaNoVirtual());
3448 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
3449 if (message_arena == NULL) {
3453 ::google::protobuf::Arena* submessage_arena = NULL;
3454 if (message_arena != submessage_arena) {
3455 data = ::google::protobuf::internal::GetOwnedMessage(
3456 message_arena, data, submessage_arena);
3472 return (_has_bits_[0] & 0x00000001u) != 0;
3474 inline void LinuxHardwareStatus_WiFi::set_has_is_connected() {
3475 _has_bits_[0] |= 0x00000001u;
3477 inline void LinuxHardwareStatus_WiFi::clear_has_is_connected() {
3478 _has_bits_[0] &= ~0x00000001u;
3481 is_connected_ =
false;
3482 clear_has_is_connected();
3486 return is_connected_;
3489 set_has_is_connected();
3490 is_connected_ = value;
3496 return (_has_bits_[0] & 0x00000002u) != 0;
3498 inline void LinuxHardwareStatus_WiFi::set_has_link_quality() {
3499 _has_bits_[0] |= 0x00000002u;
3501 inline void LinuxHardwareStatus_WiFi::clear_has_link_quality() {
3502 _has_bits_[0] &= ~0x00000002u;
3506 clear_has_link_quality();
3510 return link_quality_;
3513 set_has_link_quality();
3514 link_quality_ = value;
3520 return (_has_bits_[0] & 0x00000004u) != 0;
3522 inline void LinuxHardwareStatus_WiFi::set_has_link_quality_percentage() {
3523 _has_bits_[0] |= 0x00000004u;
3525 inline void LinuxHardwareStatus_WiFi::clear_has_link_quality_percentage() {
3526 _has_bits_[0] &= ~0x00000004u;
3529 link_quality_percentage_ = 0u;
3530 clear_has_link_quality_percentage();
3534 return link_quality_percentage_;
3537 set_has_link_quality_percentage();
3538 link_quality_percentage_ = value;
3544 return (_has_bits_[0] & 0x00000008u) != 0;
3546 inline void LinuxHardwareStatus_WiFi::set_has_signal_level() {
3547 _has_bits_[0] |= 0x00000008u;
3549 inline void LinuxHardwareStatus_WiFi::clear_has_signal_level() {
3550 _has_bits_[0] &= ~0x00000008u;
3554 clear_has_signal_level();
3558 return signal_level_;
3561 set_has_signal_level();
3562 signal_level_ = value;
3568 return (_has_bits_[0] & 0x00000010u) != 0;
3570 inline void LinuxHardwareStatus_WiFi::set_has_noise_level() {
3571 _has_bits_[0] |= 0x00000010u;
3573 inline void LinuxHardwareStatus_WiFi::clear_has_noise_level() {
3574 _has_bits_[0] &= ~0x00000010u;
3578 clear_has_noise_level();
3582 return noise_level_;
3585 set_has_noise_level();
3586 noise_level_ = value;
3596 return (_has_bits_[0] & 0x00000010u) != 0;
3598 inline void LinuxHardwareStatus::set_has_uptime() {
3599 _has_bits_[0] |= 0x00000010u;
3601 inline void LinuxHardwareStatus::clear_has_uptime() {
3602 _has_bits_[0] &= ~0x00000010u;
3620 return (_has_bits_[0] & 0x00000001u) != 0;
3622 inline void LinuxHardwareStatus::set_has_processor() {
3623 _has_bits_[0] |= 0x00000001u;
3625 inline void LinuxHardwareStatus::clear_has_processor() {
3626 _has_bits_[0] &= ~0x00000001u;
3629 if (processor_ != NULL) processor_->Clear();
3630 clear_has_processor();
3632 inline const ::jaiabot::protobuf::LinuxHardwareStatus_Processor& LinuxHardwareStatus::_internal_processor()
const {
3636 const ::jaiabot::protobuf::LinuxHardwareStatus_Processor* p = processor_;
3643 clear_has_processor();
3649 set_has_processor();
3650 if (processor_ == NULL) {
3651 auto* p = CreateMaybeMessage<::jaiabot::protobuf::LinuxHardwareStatus_Processor>(GetArenaNoVirtual());
3658 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
3659 if (message_arena == NULL) {
3663 ::google::protobuf::Arena* submessage_arena = NULL;
3664 if (message_arena != submessage_arena) {
3665 processor = ::google::protobuf::internal::GetOwnedMessage(
3666 message_arena, processor, submessage_arena);
3668 set_has_processor();
3670 clear_has_processor();
3672 processor_ = processor;
3678 return (_has_bits_[0] & 0x00000002u) != 0;
3680 inline void LinuxHardwareStatus::set_has_memory() {
3681 _has_bits_[0] |= 0x00000002u;
3683 inline void LinuxHardwareStatus::clear_has_memory() {
3684 _has_bits_[0] &= ~0x00000002u;
3687 if (memory_ != NULL) memory_->Clear();
3690 inline const ::jaiabot::protobuf::LinuxHardwareStatus_Memory& LinuxHardwareStatus::_internal_memory()
const {
3694 const ::jaiabot::protobuf::LinuxHardwareStatus_Memory* p = memory_;
3708 if (memory_ == NULL) {
3709 auto* p = CreateMaybeMessage<::jaiabot::protobuf::LinuxHardwareStatus_Memory>(GetArenaNoVirtual());
3716 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
3717 if (message_arena == NULL) {
3721 ::google::protobuf::Arena* submessage_arena = NULL;
3722 if (message_arena != submessage_arena) {
3723 memory = ::google::protobuf::internal::GetOwnedMessage(
3724 message_arena, memory, submessage_arena);
3736 return (_has_bits_[0] & 0x00000004u) != 0;
3738 inline void LinuxHardwareStatus::set_has_disk() {
3739 _has_bits_[0] |= 0x00000004u;
3741 inline void LinuxHardwareStatus::clear_has_disk() {
3742 _has_bits_[0] &= ~0x00000004u;
3745 if (disk_ != NULL) disk_->Clear();
3748 inline const ::jaiabot::protobuf::LinuxHardwareStatus_Disk& LinuxHardwareStatus::_internal_disk()
const {
3752 const ::jaiabot::protobuf::LinuxHardwareStatus_Disk* p = disk_;
3766 if (disk_ == NULL) {
3767 auto* p = CreateMaybeMessage<::jaiabot::protobuf::LinuxHardwareStatus_Disk>(GetArenaNoVirtual());
3774 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
3775 if (message_arena == NULL) {
3779 ::google::protobuf::Arena* submessage_arena = NULL;
3780 if (message_arena != submessage_arena) {
3781 disk = ::google::protobuf::internal::GetOwnedMessage(
3782 message_arena, disk, submessage_arena);
3794 return (_has_bits_[0] & 0x00000008u) != 0;
3796 inline void LinuxHardwareStatus::set_has_wifi() {
3797 _has_bits_[0] |= 0x00000008u;
3799 inline void LinuxHardwareStatus::clear_has_wifi() {
3800 _has_bits_[0] &= ~0x00000008u;
3803 if (wifi_ != NULL) wifi_->Clear();
3806 inline const ::jaiabot::protobuf::LinuxHardwareStatus_WiFi& LinuxHardwareStatus::_internal_wifi()
const {
3810 const ::jaiabot::protobuf::LinuxHardwareStatus_WiFi* p = wifi_;
3824 if (wifi_ == NULL) {
3825 auto* p = CreateMaybeMessage<::jaiabot::protobuf::LinuxHardwareStatus_WiFi>(GetArenaNoVirtual());
3832 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
3833 if (message_arena == NULL) {
3837 ::google::protobuf::Arena* submessage_arena = NULL;
3838 if (message_arena != submessage_arena) {
3839 wifi = ::google::protobuf::internal::GetOwnedMessage(
3840 message_arena, wifi, submessage_arena);
3856 return (_has_bits_[0] & 0x00000010u) != 0;
3858 inline void NTPStatus_NTPPeer::set_has_tally_code() {
3859 _has_bits_[0] |= 0x00000010u;
3861 inline void NTPStatus_NTPPeer::clear_has_tally_code() {
3862 _has_bits_[0] &= ~0x00000010u;
3866 clear_has_tally_code();
3874 set_has_tally_code();
3875 tally_code_ = value;
3881 return (_has_bits_[0] & 0x00000001u) != 0;
3883 inline void NTPStatus_NTPPeer::set_has_remote() {
3884 _has_bits_[0] |= 0x00000001u;
3886 inline void NTPStatus_NTPPeer::clear_has_remote() {
3887 _has_bits_[0] &= ~0x00000001u;
3890 remote_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3895 return remote_.GetNoArena();
3899 remote_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
3906 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
3911 GOOGLE_DCHECK(value != NULL);
3913 remote_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
3918 remote_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
3919 ::std::string(
reinterpret_cast<const char*
>(value), size));
3925 return remote_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3929 if (!has_remote()) {
3933 return remote_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3936 if (remote != NULL) {
3941 remote_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), remote);
3947 return (_has_bits_[0] & 0x00000002u) != 0;
3949 inline void NTPStatus_NTPPeer::set_has_refid() {
3950 _has_bits_[0] |= 0x00000002u;
3952 inline void NTPStatus_NTPPeer::clear_has_refid() {
3953 _has_bits_[0] &= ~0x00000002u;
3956 refid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3961 return refid_.GetNoArena();
3965 refid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
3972 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
3977 GOOGLE_DCHECK(value != NULL);
3979 refid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
3984 refid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
3985 ::std::string(
reinterpret_cast<const char*
>(value), size));
3991 return refid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3999 return refid_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4002 if (refid != NULL) {
4007 refid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), refid);
4013 return (_has_bits_[0] & 0x00000020u) != 0;
4015 inline void NTPStatus_NTPPeer::set_has_stratum() {
4016 _has_bits_[0] |= 0x00000020u;
4018 inline void NTPStatus_NTPPeer::clear_has_stratum() {
4019 _has_bits_[0] &= ~0x00000020u;
4023 clear_has_stratum();
4037 return (_has_bits_[0] & 0x00000040u) != 0;
4039 inline void NTPStatus_NTPPeer::set_has_when() {
4040 _has_bits_[0] |= 0x00000040u;
4042 inline void NTPStatus_NTPPeer::clear_has_when() {
4043 _has_bits_[0] &= ~0x00000040u;
4061 return (_has_bits_[0] & 0x00000080u) != 0;
4063 inline void NTPStatus_NTPPeer::set_has_poll() {
4064 _has_bits_[0] |= 0x00000080u;
4066 inline void NTPStatus_NTPPeer::clear_has_poll() {
4067 _has_bits_[0] &= ~0x00000080u;
4085 return (_has_bits_[0] & 0x00000004u) != 0;
4087 inline void NTPStatus_NTPPeer::set_has_reach() {
4088 _has_bits_[0] |= 0x00000004u;
4090 inline void NTPStatus_NTPPeer::clear_has_reach() {
4091 _has_bits_[0] &= ~0x00000004u;
4109 return (_has_bits_[0] & 0x00000100u) != 0;
4111 inline void NTPStatus_NTPPeer::set_has_delay() {
4112 _has_bits_[0] |= 0x00000100u;
4114 inline void NTPStatus_NTPPeer::clear_has_delay() {
4115 _has_bits_[0] &= ~0x00000100u;
4118 delay_ =
static_cast<float>(::google::protobuf::internal::NaN());
4133 return (_has_bits_[0] & 0x00000200u) != 0;
4135 inline void NTPStatus_NTPPeer::set_has_offset() {
4136 _has_bits_[0] |= 0x00000200u;
4138 inline void NTPStatus_NTPPeer::clear_has_offset() {
4139 _has_bits_[0] &= ~0x00000200u;
4142 offset_ =
static_cast<float>(::google::protobuf::internal::NaN());
4157 return (_has_bits_[0] & 0x00000008u) != 0;
4159 inline void NTPStatus_NTPPeer::set_has_jitter() {
4160 _has_bits_[0] |= 0x00000008u;
4162 inline void NTPStatus_NTPPeer::clear_has_jitter() {
4163 _has_bits_[0] &= ~0x00000008u;
4166 jitter_ =
static_cast<float>(::google::protobuf::internal::NaN());
4185 return (_has_bits_[0] & 0x00000008u) != 0;
4187 inline void NTPStatus::set_has_sync_source() {
4188 _has_bits_[0] |= 0x00000008u;
4190 inline void NTPStatus::clear_has_sync_source() {
4191 _has_bits_[0] &= ~0x00000008u;
4195 clear_has_sync_source();
4203 set_has_sync_source();
4204 sync_source_ = value;
4210 return (_has_bits_[0] & 0x00000010u) != 0;
4212 inline void NTPStatus::set_has_leap_indicator() {
4213 _has_bits_[0] |= 0x00000010u;
4215 inline void NTPStatus::clear_has_leap_indicator() {
4216 _has_bits_[0] &= ~0x00000010u;
4219 leap_indicator_ = -1;
4220 clear_has_leap_indicator();
4228 set_has_leap_indicator();
4229 leap_indicator_ = value;
4235 return (_has_bits_[0] & 0x00000002u) != 0;
4237 inline void NTPStatus::set_has_system_event_counter() {
4238 _has_bits_[0] |= 0x00000002u;
4240 inline void NTPStatus::clear_has_system_event_counter() {
4241 _has_bits_[0] &= ~0x00000002u;
4244 system_event_counter_ = 0;
4245 clear_has_system_event_counter();
4249 return system_event_counter_;
4252 set_has_system_event_counter();
4253 system_event_counter_ = value;
4259 return (_has_bits_[0] & 0x00000004u) != 0;
4261 inline void NTPStatus::set_has_last_system_event() {
4262 _has_bits_[0] |= 0x00000004u;
4264 inline void NTPStatus::clear_has_last_system_event() {
4265 _has_bits_[0] &= ~0x00000004u;
4268 last_system_event_ = -1;
4269 clear_has_last_system_event();
4277 set_has_last_system_event();
4278 last_system_event_ = value;
4284 return (_has_bits_[0] & 0x00000001u) != 0;
4286 inline void NTPStatus::set_has_system_sync_peer() {
4287 _has_bits_[0] |= 0x00000001u;
4289 inline void NTPStatus::clear_has_system_sync_peer() {
4290 _has_bits_[0] &= ~0x00000001u;
4293 if (system_sync_peer_ != NULL) system_sync_peer_->Clear();
4294 clear_has_system_sync_peer();
4296 inline const ::jaiabot::protobuf::NTPStatus_NTPPeer& NTPStatus::_internal_system_sync_peer()
const {
4297 return *system_sync_peer_;
4300 const ::jaiabot::protobuf::NTPStatus_NTPPeer* p = system_sync_peer_;
4307 clear_has_system_sync_peer();
4309 system_sync_peer_ = NULL;
4313 set_has_system_sync_peer();
4314 if (system_sync_peer_ == NULL) {
4315 auto* p = CreateMaybeMessage<::jaiabot::protobuf::NTPStatus_NTPPeer>(GetArenaNoVirtual());
4316 system_sync_peer_ = p;
4319 return system_sync_peer_;
4322 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
4323 if (message_arena == NULL) {
4324 delete system_sync_peer_;
4326 if (system_sync_peer) {
4327 ::google::protobuf::Arena* submessage_arena = NULL;
4328 if (message_arena != submessage_arena) {
4329 system_sync_peer = ::google::protobuf::internal::GetOwnedMessage(
4330 message_arena, system_sync_peer, submessage_arena);
4332 set_has_system_sync_peer();
4334 clear_has_system_sync_peer();
4336 system_sync_peer_ = system_sync_peer;
4342 return peer_.size();
4349 return peer_.Mutable(index);
4351 inline ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::NTPStatus_NTPPeer >*
4358 return peer_.Get(index);
4364 inline const ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::NTPStatus_NTPPeer >&
4376 return (_has_bits_[0] & 0x00000001u) != 0;
4378 inline void HelmIVPStatus::set_has_helm_ivp_state() {
4379 _has_bits_[0] |= 0x00000001u;
4381 inline void HelmIVPStatus::clear_has_helm_ivp_state() {
4382 _has_bits_[0] &= ~0x00000001u;
4386 clear_has_helm_ivp_state();
4390 return helm_ivp_state_.GetNoArena();
4393 set_has_helm_ivp_state();
4399 set_has_helm_ivp_state();
4400 helm_ivp_state_.SetNoArena(
4406 GOOGLE_DCHECK(value != NULL);
4407 set_has_helm_ivp_state();
4412 set_has_helm_ivp_state();
4414 ::std::string(
reinterpret_cast<const char*
>(value), size));
4418 set_has_helm_ivp_state();
4424 if (!has_helm_ivp_state()) {
4427 clear_has_helm_ivp_state();
4431 if (helm_ivp_state != NULL) {
4432 set_has_helm_ivp_state();
4434 clear_has_helm_ivp_state();
4442 return (_has_bits_[0] & 0x00000002u) != 0;
4444 inline void HelmIVPStatus::set_has_helm_ivp_desired_speed() {
4445 _has_bits_[0] |= 0x00000002u;
4447 inline void HelmIVPStatus::clear_has_helm_ivp_desired_speed() {
4448 _has_bits_[0] &= ~0x00000002u;
4451 helm_ivp_desired_speed_ =
false;
4452 clear_has_helm_ivp_desired_speed();
4456 return helm_ivp_desired_speed_;
4459 set_has_helm_ivp_desired_speed();
4460 helm_ivp_desired_speed_ = value;
4466 return (_has_bits_[0] & 0x00000004u) != 0;
4468 inline void HelmIVPStatus::set_has_helm_ivp_desired_heading() {
4469 _has_bits_[0] |= 0x00000004u;
4471 inline void HelmIVPStatus::clear_has_helm_ivp_desired_heading() {
4472 _has_bits_[0] &= ~0x00000004u;
4475 helm_ivp_desired_heading_ =
false;
4476 clear_has_helm_ivp_desired_heading();
4480 return helm_ivp_desired_heading_;
4483 set_has_helm_ivp_desired_heading();
4484 helm_ivp_desired_heading_ = value;
4490 return (_has_bits_[0] & 0x00000008u) != 0;
4492 inline void HelmIVPStatus::set_has_helm_ivp_desired_depth() {
4493 _has_bits_[0] |= 0x00000008u;
4495 inline void HelmIVPStatus::clear_has_helm_ivp_desired_depth() {
4496 _has_bits_[0] &= ~0x00000008u;
4499 helm_ivp_desired_depth_ =
false;
4500 clear_has_helm_ivp_desired_depth();
4504 return helm_ivp_desired_depth_;
4507 set_has_helm_ivp_desired_depth();
4508 helm_ivp_desired_depth_ = value;
4514 return (_has_bits_[0] & 0x00000010u) != 0;
4516 inline void HelmIVPStatus::set_has_helm_ivp_data() {
4517 _has_bits_[0] |= 0x00000010u;
4519 inline void HelmIVPStatus::clear_has_helm_ivp_data() {
4520 _has_bits_[0] &= ~0x00000010u;
4523 helm_ivp_data_ =
false;
4524 clear_has_helm_ivp_data();
4528 return helm_ivp_data_;
4531 set_has_helm_ivp_data();
4532 helm_ivp_data_ = value;
4542 return error_.size();
4553 error_.Set(index, value);
4561 inline const ::google::protobuf::RepeatedField<int>&
4566 inline ::google::protobuf::RepeatedField<int>*
4574 return warning_.size();
4585 warning_.Set(index, value);
4590 warning_.Add(value);
4593 inline const ::google::protobuf::RepeatedField<int>&
4598 inline ::google::protobuf::RepeatedField<int>*
4614 return (_has_bits_[0] & 0x00000001u) != 0;
4616 inline void SystemdStartReport::set_has_clear_error() {
4617 _has_bits_[0] |= 0x00000001u;
4619 inline void SystemdStartReport::clear_has_clear_error() {
4620 _has_bits_[0] &= ~0x00000001u;
4624 clear_has_clear_error();
4632 set_has_clear_error();
4633 clear_error_ = value;
4643 return (_has_bits_[0] & 0x00000002u) != 0;
4645 inline void SystemdStopReport::set_has_result() {
4646 _has_bits_[0] |= 0x00000002u;
4648 inline void SystemdStopReport::clear_has_result() {
4649 _has_bits_[0] &= ~0x00000002u;
4668 return (_has_bits_[0] & 0x00000004u) != 0;
4670 inline void SystemdStopReport::set_has_error() {
4671 _has_bits_[0] |= 0x00000004u;
4673 inline void SystemdStopReport::clear_has_error() {
4674 _has_bits_[0] &= ~0x00000004u;
4693 return (_has_bits_[0] & 0x00000001u) != 0;
4695 inline void SystemdStopReport::set_has_journal_dump_file() {
4696 _has_bits_[0] |= 0x00000001u;
4698 inline void SystemdStopReport::clear_has_journal_dump_file() {
4699 _has_bits_[0] &= ~0x00000001u;
4702 journal_dump_file_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4703 clear_has_journal_dump_file();
4707 return journal_dump_file_.GetNoArena();
4710 set_has_journal_dump_file();
4711 journal_dump_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
4716 set_has_journal_dump_file();
4717 journal_dump_file_.SetNoArena(
4718 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
4723 GOOGLE_DCHECK(value != NULL);
4724 set_has_journal_dump_file();
4725 journal_dump_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
4729 set_has_journal_dump_file();
4730 journal_dump_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
4731 ::std::string(
reinterpret_cast<const char*
>(value), size));
4735 set_has_journal_dump_file();
4737 return journal_dump_file_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4741 if (!has_journal_dump_file()) {
4744 clear_has_journal_dump_file();
4745 return journal_dump_file_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4748 if (journal_dump_file != NULL) {
4749 set_has_journal_dump_file();
4751 clear_has_journal_dump_file();
4753 journal_dump_file_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), journal_dump_file);
4763 return (_has_bits_[0] & 0x00000001u) != 0;
4765 inline void SystemdReportAck::set_has_error_ack() {
4766 _has_bits_[0] |= 0x00000001u;
4768 inline void SystemdReportAck::clear_has_error_ack() {
4769 _has_bits_[0] &= ~0x00000001u;
4773 clear_has_error_ack();
4781 set_has_error_ack();
4787 #pragma GCC diagnostic pop
4824 namespace protobuf {
4828 inline const EnumDescriptor* GetEnumDescriptor< ::jaiabot::protobuf::NTPStatus_NTPPeer_TallyCode>() {
4833 inline const EnumDescriptor* GetEnumDescriptor< ::jaiabot::protobuf::NTPStatus_SyncSource>() {
4838 inline const EnumDescriptor* GetEnumDescriptor< ::jaiabot::protobuf::NTPStatus_LeapIndicator>() {
4843 inline const EnumDescriptor* GetEnumDescriptor< ::jaiabot::protobuf::NTPStatus_NTPSystemEvent>() {
4848 inline const EnumDescriptor* GetEnumDescriptor< ::jaiabot::protobuf::SystemdStopReport_ServiceResult>() {
4853 inline const EnumDescriptor* GetEnumDescriptor< ::jaiabot::protobuf::Error>() {
4858 inline const EnumDescriptor* GetEnumDescriptor< ::jaiabot::protobuf::Warning>() {
4867 #endif // PROTOBUF_INCLUDED_jaiabot_2fmessages_2fhealth_2eproto