4 #ifndef PROTOBUF_INCLUDED_bin_2fhub_5fmanager_2fconfig_2eproto
5 #define PROTOBUF_INCLUDED_bin_2fhub_5fmanager_2fconfig_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/unknown_field_set.h>
33 #include "goby/middleware/protobuf/app_config.pb.h"
34 #include "goby/zeromq/protobuf/interprocess_config.pb.h"
35 #include "goby/middleware/protobuf/transporter_config.pb.h"
37 #include "goby/middleware/protobuf/udp_config.pb.h"
38 #include "goby/middleware/protobuf/pty_config.pb.h"
39 #include "goby/middleware/protobuf/serial_config.pb.h"
40 #include "goby/middleware/protobuf/tcp_config.pb.h"
42 #include <boost/units/quantity.hpp>
43 #include <boost/units/absolute.hpp>
44 #include <boost/units/dimensionless_type.hpp>
45 #include <boost/units/make_scaled_unit.hpp>
47 #define PROTOBUF_INTERNAL_EXPORT_protobuf_bin_2fhub_5fmanager_2fconfig_2eproto
52 static const ::google::protobuf::internal::ParseTableField
entries[];
53 static const ::google::protobuf::internal::AuxillaryParseTableField
aux[];
54 static const ::google::protobuf::internal::ParseTable
schema[5];
57 static const ::google::protobuf::uint32
offsets[];
64 class HubManagerDefaultTypeInternal;
66 class HubManager_BotToGPS;
67 class HubManager_BotToGPSDefaultTypeInternal;
69 class HubManager_ContactGPS;
70 class HubManager_ContactGPSDefaultTypeInternal;
72 class HubManager_ExpectedBots;
73 class HubManager_ExpectedBotsDefaultTypeInternal;
75 class HubManager_VirtualFleetData;
76 class HubManager_VirtualFleetDataDefaultTypeInternal;
108 *
this = ::std::move(from);
112 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
113 if (
this != &from) InternalSwap(&from);
121 return _internal_metadata_.unknown_fields();
124 return _internal_metadata_.mutable_unknown_fields();
127 static const ::google::protobuf::Descriptor*
descriptor();
146 return CreateMaybeMessage<HubManager_ExpectedBots>(NULL);
150 return CreateMaybeMessage<HubManager_ExpectedBots>(arena);
152 void CopyFrom(const ::google::protobuf::Message& from)
final;
153 void MergeFrom(const ::google::protobuf::Message& from)
final;
161 ::
google::protobuf::io::CodedInputStream* input) final;
163 ::
google::protobuf::io::CodedOutputStream* output) const final;
165 bool deterministic, ::
google::protobuf::uint8* target) const final;
171 void SetCachedSize(
int size)
const final;
174 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
177 inline void* MaybeArenaPtr()
const {
182 ::google::protobuf::Metadata
GetMetadata() const final;
192 ::
google::protobuf::int32
id(
int index) const;
193 void set_id(
int index, ::
google::protobuf::int32 value);
195 const ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 >&
197 ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 >*
203 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
204 ::
google::protobuf::internal::HasBits<1> _has_bits_;
205 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
206 ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 > id_;
225 *
this = ::std::move(from);
228 inline HubManager_VirtualFleetData&
operator=(HubManager_VirtualFleetData&& from) noexcept {
229 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
230 if (
this != &from) InternalSwap(&from);
238 return _internal_metadata_.unknown_fields();
241 return _internal_metadata_.mutable_unknown_fields();
244 static const ::google::protobuf::Descriptor*
descriptor();
263 return CreateMaybeMessage<HubManager_VirtualFleetData>(NULL);
267 return CreateMaybeMessage<HubManager_VirtualFleetData>(arena);
269 void CopyFrom(const ::google::protobuf::Message& from)
final;
270 void MergeFrom(const ::google::protobuf::Message& from)
final;
278 ::
google::protobuf::io::CodedInputStream* input) final;
280 ::
google::protobuf::io::CodedOutputStream* output) const final;
282 bool deterministic, ::
google::protobuf::uint8* target) const final;
288 void SetCachedSize(
int size)
const final;
291 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
294 inline void* MaybeArenaPtr()
const {
299 ::google::protobuf::Metadata
GetMetadata() const final;
306 bool has_shutdown_after_last_command_seconds() const;
307 void clear_shutdown_after_last_command_seconds();
308 static const
int kShutdownAfterLastCommandSecondsFieldNumber = 1;
309 ::
google::protobuf::int32 shutdown_after_last_command_seconds() const;
310 void set_shutdown_after_last_command_seconds(::
google::protobuf::int32 value);
313 bool has_hub_shutdown_delay_seconds() const;
314 void clear_hub_shutdown_delay_seconds();
315 static const
int kHubShutdownDelaySecondsFieldNumber = 2;
316 ::
google::protobuf::int32 hub_shutdown_delay_seconds() const;
317 void set_hub_shutdown_delay_seconds(::
google::protobuf::int32 value);
321 void set_has_shutdown_after_last_command_seconds();
322 void clear_has_shutdown_after_last_command_seconds();
323 void set_has_hub_shutdown_delay_seconds();
324 void clear_has_hub_shutdown_delay_seconds();
327 size_t RequiredFieldsByteSizeFallback() const;
329 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
330 ::
google::protobuf::internal::HasBits<1> _has_bits_;
331 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
332 ::
google::protobuf::int32 shutdown_after_last_command_seconds_;
333 ::
google::protobuf::int32 hub_shutdown_delay_seconds_;
352 *
this = ::std::move(from);
355 inline HubManager_ContactGPS&
operator=(HubManager_ContactGPS&& from) noexcept {
356 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
357 if (
this != &from) InternalSwap(&from);
365 return _internal_metadata_.unknown_fields();
368 return _internal_metadata_.mutable_unknown_fields();
371 static const ::google::protobuf::Descriptor*
descriptor();
390 return CreateMaybeMessage<HubManager_ContactGPS>(NULL);
394 return CreateMaybeMessage<HubManager_ContactGPS>(arena);
396 void CopyFrom(const ::google::protobuf::Message& from)
final;
397 void MergeFrom(const ::google::protobuf::Message& from)
final;
405 ::
google::protobuf::io::CodedInputStream* input) final;
407 ::
google::protobuf::io::CodedOutputStream* output) const final;
409 bool deterministic, ::
google::protobuf::uint8* target) const final;
415 void SetCachedSize(
int size)
const final;
418 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
421 inline void* MaybeArenaPtr()
const {
426 ::google::protobuf::Metadata
GetMetadata() const final;
433 bool has_gpsd_device() const;
434 void clear_gpsd_device();
435 static const
int kGpsdDeviceFieldNumber = 1;
436 const ::std::
string& gpsd_device() const;
437 void set_gpsd_device(const ::std::
string& value);
439 void set_gpsd_device(::std::string&& value);
441 void set_gpsd_device(
const char* value);
442 void set_gpsd_device(
const char* value,
size_t size);
443 ::std::string* mutable_gpsd_device();
444 ::std::string* release_gpsd_device();
445 void set_allocated_gpsd_device(::std::string* gpsd_device);
448 bool has_contact()
const;
449 void clear_contact();
450 static const int kContactFieldNumber = 2;
451 ::google::protobuf::int32 contact()
const;
452 void set_contact(::google::protobuf::int32 value);
455 bool has_use_cog()
const;
456 void clear_use_cog();
457 static const int kUseCogFieldNumber = 3;
458 bool use_cog()
const;
459 void set_use_cog(
bool value);
463 void set_has_gpsd_device();
464 void clear_has_gpsd_device();
465 void set_has_contact();
466 void clear_has_contact();
467 void set_has_use_cog();
468 void clear_has_use_cog();
471 size_t RequiredFieldsByteSizeFallback()
const;
473 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
474 ::google::protobuf::internal::HasBits<1> _has_bits_;
475 mutable ::google::protobuf::internal::CachedSize _cached_size_;
476 ::google::protobuf::internal::ArenaStringPtr gpsd_device_;
477 ::google::protobuf::int32 contact_;
479 friend struct ::protobuf_bin_2fhub_5fmanager_2fconfig_2eproto::TableStruct;
497 *
this = ::std::move(from);
500 inline HubManager_BotToGPS&
operator=(HubManager_BotToGPS&& from) noexcept {
501 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
502 if (
this != &from) InternalSwap(&from);
510 return _internal_metadata_.unknown_fields();
513 return _internal_metadata_.mutable_unknown_fields();
516 static const ::google::protobuf::Descriptor*
descriptor();
525 TRANSPORT_NOT_SET = 0,
544 return CreateMaybeMessage<HubManager_BotToGPS>(NULL);
548 return CreateMaybeMessage<HubManager_BotToGPS>(arena);
550 void CopyFrom(const ::google::protobuf::Message& from)
final;
551 void MergeFrom(const ::google::protobuf::Message& from)
final;
559 ::
google::protobuf::io::CodedInputStream* input) final;
561 ::
google::protobuf::io::CodedOutputStream* output) const final;
563 bool deterministic, ::
google::protobuf::uint8* target) const final;
569 void SetCachedSize(
int size)
const final;
572 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
575 inline void* MaybeArenaPtr()
const {
580 ::google::protobuf::Metadata
GetMetadata() const final;
587 bool has_bot_id() const;
589 static const
int kBotIdFieldNumber = 1;
590 ::
google::protobuf::int32 bot_id() const;
591 void set_bot_id(::
google::protobuf::int32 value);
594 bool has_udp() const;
596 static const
int kUdpFieldNumber = 2;
598 const ::
goby::middleware::protobuf::UDPPointToPointConfig& _internal_udp() const;
600 const ::
goby::middleware::protobuf::UDPPointToPointConfig& udp() const;
601 ::
goby::middleware::protobuf::UDPPointToPointConfig* release_udp();
602 ::
goby::middleware::protobuf::UDPPointToPointConfig* mutable_udp();
603 void set_allocated_udp(::
goby::middleware::protobuf::UDPPointToPointConfig* udp);
606 bool has_pty() const;
608 static const
int kPtyFieldNumber = 3;
610 const ::
goby::middleware::protobuf::PTYConfig& _internal_pty() const;
612 const ::
goby::middleware::protobuf::PTYConfig& pty() const;
613 ::
goby::middleware::protobuf::PTYConfig* release_pty();
614 ::
goby::middleware::protobuf::PTYConfig* mutable_pty();
615 void set_allocated_pty(::
goby::middleware::protobuf::PTYConfig* pty);
618 bool has_serial() const;
620 static const
int kSerialFieldNumber = 4;
622 const ::
goby::middleware::protobuf::SerialConfig& _internal_serial() const;
624 const ::
goby::middleware::protobuf::SerialConfig& serial() const;
625 ::
goby::middleware::protobuf::SerialConfig* release_serial();
626 ::
goby::middleware::protobuf::SerialConfig* mutable_serial();
627 void set_allocated_serial(::
goby::middleware::protobuf::SerialConfig* serial);
630 bool has_tcp_client() const;
631 void clear_tcp_client();
632 static const
int kTcpClientFieldNumber = 5;
634 const ::
goby::middleware::protobuf::TCPClientConfig& _internal_tcp_client() const;
636 const ::
goby::middleware::protobuf::TCPClientConfig& tcp_client() const;
637 ::
goby::middleware::protobuf::TCPClientConfig* release_tcp_client();
638 ::
goby::middleware::protobuf::TCPClientConfig* mutable_tcp_client();
639 void set_allocated_tcp_client(::
goby::middleware::protobuf::TCPClientConfig* tcp_client);
642 bool has_tcp_server() const;
643 void clear_tcp_server();
644 static const
int kTcpServerFieldNumber = 6;
646 const ::
goby::middleware::protobuf::TCPServerConfig& _internal_tcp_server() const;
648 const ::
goby::middleware::protobuf::TCPServerConfig& tcp_server() const;
649 ::
goby::middleware::protobuf::TCPServerConfig* release_tcp_server();
650 ::
goby::middleware::protobuf::TCPServerConfig* mutable_tcp_server();
651 void set_allocated_tcp_server(::
goby::middleware::protobuf::TCPServerConfig* tcp_server);
653 void clear_transport();
657 void set_has_bot_id();
658 void clear_has_bot_id();
661 void set_has_serial();
662 void set_has_tcp_client();
663 void set_has_tcp_server();
665 inline
bool has_transport() const;
666 inline
void clear_has_transport();
668 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
669 ::
google::protobuf::internal::HasBits<1> _has_bits_;
670 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
671 ::
google::protobuf::int32 bot_id_;
672 union TransportUnion {
674 ::goby::middleware::protobuf::UDPPointToPointConfig* udp_;
675 ::goby::middleware::protobuf::PTYConfig* pty_;
676 ::goby::middleware::protobuf::SerialConfig* serial_;
677 ::goby::middleware::protobuf::TCPClientConfig* tcp_client_;
678 ::goby::middleware::protobuf::TCPServerConfig* tcp_server_;
680 ::google::protobuf::uint32 _oneof_case_[1];
682 friend struct ::protobuf_bin_2fhub_5fmanager_2fconfig_2eproto::TableStruct;
700 *
this = ::std::move(from);
703 inline HubManager&
operator=(HubManager&& from) noexcept {
704 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
705 if (
this != &from) InternalSwap(&from);
713 return _internal_metadata_.unknown_fields();
716 return _internal_metadata_.mutable_unknown_fields();
719 static const ::google::protobuf::Descriptor*
descriptor();
738 return CreateMaybeMessage<HubManager>(NULL);
742 return CreateMaybeMessage<HubManager>(arena);
744 void CopyFrom(const ::google::protobuf::Message& from)
final;
745 void MergeFrom(const ::google::protobuf::Message& from)
final;
753 ::
google::protobuf::io::CodedInputStream* input) final;
755 ::
google::protobuf::io::CodedOutputStream* output) const final;
757 bool deterministic, ::
google::protobuf::uint8* target) const final;
763 void SetCachedSize(
int size)
const final;
766 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
769 inline void* MaybeArenaPtr()
const {
774 ::google::protobuf::Metadata
GetMetadata() const final;
786 int contact_gps_size() const;
787 void clear_contact_gps();
788 static const
int kContactGpsFieldNumber = 41;
791 mutable_contact_gps();
798 int bot_to_gps_size() const;
799 void clear_bot_to_gps();
800 static const
int kBotToGpsFieldNumber = 42;
803 mutable_bot_to_gps();
810 int link_to_subscribe_on_size() const;
811 void clear_link_to_subscribe_on();
812 static const
int kLinkToSubscribeOnFieldNumber = 51;
813 ::
jaiabot::protobuf::
Link link_to_subscribe_on(
int index) const;
814 void set_link_to_subscribe_on(
int index, ::
jaiabot::protobuf::
Link value);
815 void add_link_to_subscribe_on(::
jaiabot::protobuf::
Link value);
816 const ::
google::protobuf::RepeatedField<
int>& link_to_subscribe_on() const;
817 ::
google::protobuf::RepeatedField<
int>* mutable_link_to_subscribe_on();
820 bool has_data_offload_script() const;
821 void clear_data_offload_script();
822 static const
int kDataOffloadScriptFieldNumber = 30;
823 const ::std::
string& data_offload_script() const;
824 void set_data_offload_script(const ::std::
string& value);
826 void set_data_offload_script(::std::string&& value);
828 void set_data_offload_script(
const char* value);
829 void set_data_offload_script(
const char* value,
size_t size);
830 ::std::string* mutable_data_offload_script();
831 ::std::string* release_data_offload_script();
832 void set_allocated_data_offload_script(::std::string* data_offload_script);
835 bool has_log_staging_dir()
const;
836 void clear_log_staging_dir();
837 static const int kLogStagingDirFieldNumber = 31;
838 const ::std::string& log_staging_dir()
const;
839 void set_log_staging_dir(const ::std::string& value);
841 void set_log_staging_dir(::std::string&& value);
843 void set_log_staging_dir(
const char* value);
844 void set_log_staging_dir(
const char* value,
size_t size);
845 ::std::string* mutable_log_staging_dir();
846 ::std::string* release_log_staging_dir();
847 void set_allocated_log_staging_dir(::std::string* log_staging_dir);
850 bool has_log_offload_dir()
const;
851 void clear_log_offload_dir();
852 static const int kLogOffloadDirFieldNumber = 32;
853 const ::std::string& log_offload_dir()
const;
854 void set_log_offload_dir(const ::std::string& value);
856 void set_log_offload_dir(::std::string&& value);
858 void set_log_offload_dir(
const char* value);
859 void set_log_offload_dir(
const char* value,
size_t size);
860 ::std::string* mutable_log_offload_dir();
861 ::std::string* release_log_offload_dir();
862 void set_allocated_log_offload_dir(::std::string* log_offload_dir);
865 bool has_class_b_network()
const;
866 void clear_class_b_network();
867 static const int kClassBNetworkFieldNumber = 34;
868 const ::std::string& class_b_network()
const;
869 void set_class_b_network(const ::std::string& value);
871 void set_class_b_network(::std::string&& value);
873 void set_class_b_network(
const char* value);
874 void set_class_b_network(
const char* value,
size_t size);
875 ::std::string* mutable_class_b_network();
876 ::std::string* release_class_b_network();
877 void set_allocated_class_b_network(::std::string* class_b_network);
880 bool has_hub_gpsd_device()
const;
881 void clear_hub_gpsd_device();
882 static const int kHubGpsdDeviceFieldNumber = 40;
883 const ::std::string& hub_gpsd_device()
const;
884 void set_hub_gpsd_device(const ::std::string& value);
886 void set_hub_gpsd_device(::std::string&& value);
888 void set_hub_gpsd_device(
const char* value);
889 void set_hub_gpsd_device(
const char* value,
size_t size);
890 ::std::string* mutable_hub_gpsd_device();
891 ::std::string* release_hub_gpsd_device();
892 void set_allocated_hub_gpsd_device(::std::string* hub_gpsd_device);
895 bool has_app()
const;
897 static const int kAppFieldNumber = 1;
899 const ::goby::middleware::protobuf::AppConfig& _internal_app()
const;
901 const ::goby::middleware::protobuf::AppConfig& app()
const;
902 ::goby::middleware::protobuf::AppConfig* release_app();
903 ::goby::middleware::protobuf::AppConfig* mutable_app();
904 void set_allocated_app(::goby::middleware::protobuf::AppConfig* app);
907 bool has_interprocess()
const;
908 void clear_interprocess();
909 static const int kInterprocessFieldNumber = 2;
911 const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess()
const;
913 const ::goby::zeromq::protobuf::InterProcessPortalConfig& interprocess()
const;
914 ::goby::zeromq::protobuf::InterProcessPortalConfig* release_interprocess();
915 ::goby::zeromq::protobuf::InterProcessPortalConfig* mutable_interprocess();
916 void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
919 bool has_status_sub_cfg()
const;
920 void clear_status_sub_cfg();
921 static const int kStatusSubCfgFieldNumber = 11;
923 const ::goby::middleware::protobuf::TransporterConfig& _internal_status_sub_cfg()
const;
925 const ::goby::middleware::protobuf::TransporterConfig& status_sub_cfg()
const;
926 ::goby::middleware::protobuf::TransporterConfig* release_status_sub_cfg();
927 ::goby::middleware::protobuf::TransporterConfig* mutable_status_sub_cfg();
928 void set_allocated_status_sub_cfg(::goby::middleware::protobuf::TransporterConfig* status_sub_cfg);
931 bool has_task_packet_sub_cfg()
const;
932 void clear_task_packet_sub_cfg();
933 static const int kTaskPacketSubCfgFieldNumber = 12;
935 const ::goby::middleware::protobuf::TransporterConfig& _internal_task_packet_sub_cfg()
const;
937 const ::goby::middleware::protobuf::TransporterConfig& task_packet_sub_cfg()
const;
938 ::goby::middleware::protobuf::TransporterConfig* release_task_packet_sub_cfg();
939 ::goby::middleware::protobuf::TransporterConfig* mutable_task_packet_sub_cfg();
940 void set_allocated_task_packet_sub_cfg(::goby::middleware::protobuf::TransporterConfig* task_packet_sub_cfg);
943 bool has_engineering_status_sub_cfg()
const;
944 void clear_engineering_status_sub_cfg();
945 static const int kEngineeringStatusSubCfgFieldNumber = 13;
947 const ::goby::middleware::protobuf::TransporterConfig& _internal_engineering_status_sub_cfg()
const;
949 const ::goby::middleware::protobuf::TransporterConfig& engineering_status_sub_cfg()
const;
950 ::goby::middleware::protobuf::TransporterConfig* release_engineering_status_sub_cfg();
951 ::goby::middleware::protobuf::TransporterConfig* mutable_engineering_status_sub_cfg();
952 void set_allocated_engineering_status_sub_cfg(::goby::middleware::protobuf::TransporterConfig* engineering_status_sub_cfg);
955 bool has_expected_bots()
const;
956 void clear_expected_bots();
957 static const int kExpectedBotsFieldNumber = 17;
959 const ::jaiabot::config::HubManager_ExpectedBots& _internal_expected_bots()
const;
961 const ::jaiabot::config::HubManager_ExpectedBots& expected_bots()
const;
967 bool has_vfleet()
const;
969 static const int kVfleetFieldNumber = 20;
971 const ::jaiabot::config::HubManager_VirtualFleetData& _internal_vfleet()
const;
973 const ::jaiabot::config::HubManager_VirtualFleetData& vfleet()
const;
979 bool has_hub_id()
const;
981 static const int kHubIdFieldNumber = 14;
982 ::google::protobuf::int32 hub_id()
const;
983 void set_hub_id(::google::protobuf::int32 value);
986 bool has_fleet_id()
const;
987 void clear_fleet_id();
988 static const int kFleetIdFieldNumber = 15;
989 ::google::protobuf::int32 fleet_id()
const;
990 void set_fleet_id(::google::protobuf::int32 value);
993 bool has_use_localhost_for_data_offload()
const;
994 void clear_use_localhost_for_data_offload();
995 static const int kUseLocalhostForDataOffloadFieldNumber = 35;
996 bool use_localhost_for_data_offload()
const;
997 void set_use_localhost_for_data_offload(
bool value);
1000 bool has_subnet_mask()
const;
1001 void clear_subnet_mask();
1002 static const int kSubnetMaskFieldNumber = 50;
1003 ::google::protobuf::uint32 subnet_mask()
const;
1004 void set_subnet_mask(::google::protobuf::uint32 value);
1007 bool has_contact_blackout_seconds()
const;
1008 void clear_contact_blackout_seconds();
1009 static const int kContactBlackoutSecondsFieldNumber = 43;
1010 ::google::protobuf::int32 contact_blackout_seconds()
const;
1011 void set_contact_blackout_seconds(::google::protobuf::int32 value);
1014 bool has_health_report_timeout_seconds()
const;
1015 void clear_health_report_timeout_seconds();
1016 static const int kHealthReportTimeoutSecondsFieldNumber = 16;
1017 ::google::protobuf::int32 health_report_timeout_seconds()
const;
1018 void set_health_report_timeout_seconds(::google::protobuf::int32 value);
1021 bool has_bot_start_ip()
const;
1022 void clear_bot_start_ip();
1023 static const int kBotStartIpFieldNumber = 33;
1024 ::google::protobuf::int32 bot_start_ip()
const;
1025 void set_bot_start_ip(::google::protobuf::int32 value);
1030 void clear_has_app();
1031 void set_has_interprocess();
1032 void clear_has_interprocess();
1033 void set_has_expected_bots();
1034 void clear_has_expected_bots();
1035 void set_has_status_sub_cfg();
1036 void clear_has_status_sub_cfg();
1037 void set_has_task_packet_sub_cfg();
1038 void clear_has_task_packet_sub_cfg();
1039 void set_has_engineering_status_sub_cfg();
1040 void clear_has_engineering_status_sub_cfg();
1041 void set_has_hub_id();
1042 void clear_has_hub_id();
1043 void set_has_fleet_id();
1044 void clear_has_fleet_id();
1045 void set_has_health_report_timeout_seconds();
1046 void clear_has_health_report_timeout_seconds();
1047 void set_has_vfleet();
1048 void clear_has_vfleet();
1049 void set_has_data_offload_script();
1050 void clear_has_data_offload_script();
1051 void set_has_log_staging_dir();
1052 void clear_has_log_staging_dir();
1053 void set_has_log_offload_dir();
1054 void clear_has_log_offload_dir();
1055 void set_has_bot_start_ip();
1056 void clear_has_bot_start_ip();
1057 void set_has_class_b_network();
1058 void clear_has_class_b_network();
1059 void set_has_use_localhost_for_data_offload();
1060 void clear_has_use_localhost_for_data_offload();
1061 void set_has_hub_gpsd_device();
1062 void clear_has_hub_gpsd_device();
1063 void set_has_contact_blackout_seconds();
1064 void clear_has_contact_blackout_seconds();
1065 void set_has_subnet_mask();
1066 void clear_has_subnet_mask();
1069 size_t RequiredFieldsByteSizeFallback()
const;
1071 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1072 ::google::protobuf::internal::HasBits<1> _has_bits_;
1073 mutable ::google::protobuf::internal::CachedSize _cached_size_;
1074 ::google::protobuf::RepeatedPtrField< ::jaiabot::config::HubManager_ContactGPS > contact_gps_;
1075 ::google::protobuf::RepeatedPtrField< ::jaiabot::config::HubManager_BotToGPS > bot_to_gps_;
1076 ::google::protobuf::RepeatedField<int> link_to_subscribe_on_;
1077 ::google::protobuf::internal::ArenaStringPtr data_offload_script_;
1081 ::google::protobuf::internal::ArenaStringPtr log_staging_dir_;
1085 ::google::protobuf::internal::ArenaStringPtr log_offload_dir_;
1089 ::google::protobuf::internal::ArenaStringPtr class_b_network_;
1090 ::google::protobuf::internal::ArenaStringPtr hub_gpsd_device_;
1091 ::goby::middleware::protobuf::AppConfig* app_;
1092 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess_;
1093 ::goby::middleware::protobuf::TransporterConfig* status_sub_cfg_;
1094 ::goby::middleware::protobuf::TransporterConfig* task_packet_sub_cfg_;
1095 ::goby::middleware::protobuf::TransporterConfig* engineering_status_sub_cfg_;
1098 ::google::protobuf::int32 hub_id_;
1099 ::google::protobuf::int32 fleet_id_;
1100 bool use_localhost_for_data_offload_;
1101 ::google::protobuf::uint32 subnet_mask_;
1102 ::google::protobuf::int32 contact_blackout_seconds_;
1103 ::google::protobuf::int32 health_report_timeout_seconds_;
1104 ::google::protobuf::int32 bot_start_ip_;
1105 friend struct ::protobuf_bin_2fhub_5fmanager_2fconfig_2eproto::TableStruct;
1113 #pragma GCC diagnostic push
1114 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1127 return id_.Get(index);
1130 id_.Set(index, value);
1137 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
1142 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
1154 return (_has_bits_[0] & 0x00000001u) != 0;
1156 inline void HubManager_VirtualFleetData::set_has_shutdown_after_last_command_seconds() {
1157 _has_bits_[0] |= 0x00000001u;
1159 inline void HubManager_VirtualFleetData::clear_has_shutdown_after_last_command_seconds() {
1160 _has_bits_[0] &= ~0x00000001u;
1163 shutdown_after_last_command_seconds_ = 3600;
1164 clear_has_shutdown_after_last_command_seconds();
1168 return shutdown_after_last_command_seconds_;
1171 set_has_shutdown_after_last_command_seconds();
1172 shutdown_after_last_command_seconds_ = value;
1178 return (_has_bits_[0] & 0x00000002u) != 0;
1180 inline void HubManager_VirtualFleetData::set_has_hub_shutdown_delay_seconds() {
1181 _has_bits_[0] |= 0x00000002u;
1183 inline void HubManager_VirtualFleetData::clear_has_hub_shutdown_delay_seconds() {
1184 _has_bits_[0] &= ~0x00000002u;
1187 hub_shutdown_delay_seconds_ = 300;
1188 clear_has_hub_shutdown_delay_seconds();
1192 return hub_shutdown_delay_seconds_;
1195 set_has_hub_shutdown_delay_seconds();
1196 hub_shutdown_delay_seconds_ = value;
1206 return (_has_bits_[0] & 0x00000001u) != 0;
1208 inline void HubManager_ContactGPS::set_has_gpsd_device() {
1209 _has_bits_[0] |= 0x00000001u;
1211 inline void HubManager_ContactGPS::clear_has_gpsd_device() {
1212 _has_bits_[0] &= ~0x00000001u;
1215 gpsd_device_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1216 clear_has_gpsd_device();
1220 return gpsd_device_.GetNoArena();
1223 set_has_gpsd_device();
1224 gpsd_device_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1229 set_has_gpsd_device();
1230 gpsd_device_.SetNoArena(
1231 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1236 GOOGLE_DCHECK(value != NULL);
1237 set_has_gpsd_device();
1238 gpsd_device_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1242 set_has_gpsd_device();
1243 gpsd_device_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1244 ::std::string(
reinterpret_cast<const char*
>(value), size));
1248 set_has_gpsd_device();
1250 return gpsd_device_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1254 if (!has_gpsd_device()) {
1257 clear_has_gpsd_device();
1258 return gpsd_device_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1261 if (gpsd_device != NULL) {
1262 set_has_gpsd_device();
1264 clear_has_gpsd_device();
1266 gpsd_device_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), gpsd_device);
1272 return (_has_bits_[0] & 0x00000002u) != 0;
1274 inline void HubManager_ContactGPS::set_has_contact() {
1275 _has_bits_[0] |= 0x00000002u;
1277 inline void HubManager_ContactGPS::clear_has_contact() {
1278 _has_bits_[0] &= ~0x00000002u;
1282 clear_has_contact();
1296 return (_has_bits_[0] & 0x00000004u) != 0;
1298 inline void HubManager_ContactGPS::set_has_use_cog() {
1299 _has_bits_[0] |= 0x00000004u;
1301 inline void HubManager_ContactGPS::clear_has_use_cog() {
1302 _has_bits_[0] &= ~0x00000004u;
1306 clear_has_use_cog();
1324 return (_has_bits_[0] & 0x00000001u) != 0;
1326 inline void HubManager_BotToGPS::set_has_bot_id() {
1327 _has_bits_[0] |= 0x00000001u;
1329 inline void HubManager_BotToGPS::clear_has_bot_id() {
1330 _has_bits_[0] &= ~0x00000001u;
1348 return transport_case() == kUdp;
1350 inline void HubManager_BotToGPS::set_has_udp() {
1351 _oneof_case_[0] = kUdp;
1353 inline const ::goby::middleware::protobuf::UDPPointToPointConfig& HubManager_BotToGPS::_internal_udp()
const {
1354 return *transport_.udp_;
1359 clear_has_transport();
1360 ::goby::middleware::protobuf::UDPPointToPointConfig* temp = transport_.udp_;
1361 transport_.udp_ = NULL;
1371 : *
reinterpret_cast< ::goby::middleware::protobuf::UDPPointToPointConfig*
>(&::goby::middleware::protobuf::_UDPPointToPointConfig_default_instance_);
1377 transport_.udp_ = CreateMaybeMessage< ::goby::middleware::protobuf::UDPPointToPointConfig >(
1378 GetArenaNoVirtual());
1381 return transport_.udp_;
1386 return transport_case() == kPty;
1388 inline void HubManager_BotToGPS::set_has_pty() {
1389 _oneof_case_[0] = kPty;
1391 inline const ::goby::middleware::protobuf::PTYConfig& HubManager_BotToGPS::_internal_pty()
const {
1392 return *transport_.pty_;
1397 clear_has_transport();
1398 ::goby::middleware::protobuf::PTYConfig* temp = transport_.pty_;
1399 transport_.pty_ = NULL;
1409 : *
reinterpret_cast< ::goby::middleware::protobuf::PTYConfig*
>(&::goby::middleware::protobuf::_PTYConfig_default_instance_);
1415 transport_.pty_ = CreateMaybeMessage< ::goby::middleware::protobuf::PTYConfig >(
1416 GetArenaNoVirtual());
1419 return transport_.pty_;
1424 return transport_case() == kSerial;
1426 inline void HubManager_BotToGPS::set_has_serial() {
1427 _oneof_case_[0] = kSerial;
1429 inline const ::goby::middleware::protobuf::SerialConfig& HubManager_BotToGPS::_internal_serial()
const {
1430 return *transport_.serial_;
1435 clear_has_transport();
1436 ::goby::middleware::protobuf::SerialConfig* temp = transport_.serial_;
1437 transport_.serial_ = NULL;
1446 ? *transport_.serial_
1447 : *
reinterpret_cast< ::goby::middleware::protobuf::SerialConfig*
>(&::goby::middleware::protobuf::_SerialConfig_default_instance_);
1450 if (!has_serial()) {
1453 transport_.serial_ = CreateMaybeMessage< ::goby::middleware::protobuf::SerialConfig >(
1454 GetArenaNoVirtual());
1457 return transport_.serial_;
1462 return transport_case() == kTcpClient;
1464 inline void HubManager_BotToGPS::set_has_tcp_client() {
1465 _oneof_case_[0] = kTcpClient;
1467 inline const ::goby::middleware::protobuf::TCPClientConfig& HubManager_BotToGPS::_internal_tcp_client()
const {
1468 return *transport_.tcp_client_;
1472 if (has_tcp_client()) {
1473 clear_has_transport();
1474 ::goby::middleware::protobuf::TCPClientConfig* temp = transport_.tcp_client_;
1475 transport_.tcp_client_ = NULL;
1483 return has_tcp_client()
1484 ? *transport_.tcp_client_
1485 : *
reinterpret_cast< ::goby::middleware::protobuf::TCPClientConfig*
>(&::goby::middleware::protobuf::_TCPClientConfig_default_instance_);
1488 if (!has_tcp_client()) {
1490 set_has_tcp_client();
1491 transport_.tcp_client_ = CreateMaybeMessage< ::goby::middleware::protobuf::TCPClientConfig >(
1492 GetArenaNoVirtual());
1495 return transport_.tcp_client_;
1500 return transport_case() == kTcpServer;
1502 inline void HubManager_BotToGPS::set_has_tcp_server() {
1503 _oneof_case_[0] = kTcpServer;
1505 inline const ::goby::middleware::protobuf::TCPServerConfig& HubManager_BotToGPS::_internal_tcp_server()
const {
1506 return *transport_.tcp_server_;
1510 if (has_tcp_server()) {
1511 clear_has_transport();
1512 ::goby::middleware::protobuf::TCPServerConfig* temp = transport_.tcp_server_;
1513 transport_.tcp_server_ = NULL;
1521 return has_tcp_server()
1522 ? *transport_.tcp_server_
1523 : *
reinterpret_cast< ::goby::middleware::protobuf::TCPServerConfig*
>(&::goby::middleware::protobuf::_TCPServerConfig_default_instance_);
1526 if (!has_tcp_server()) {
1528 set_has_tcp_server();
1529 transport_.tcp_server_ = CreateMaybeMessage< ::goby::middleware::protobuf::TCPServerConfig >(
1530 GetArenaNoVirtual());
1533 return transport_.tcp_server_;
1536 inline bool HubManager_BotToGPS::has_transport()
const {
1537 return transport_case() != TRANSPORT_NOT_SET;
1539 inline void HubManager_BotToGPS::clear_has_transport() {
1540 _oneof_case_[0] = TRANSPORT_NOT_SET;
1551 return (_has_bits_[0] & 0x00000020u) != 0;
1553 inline void HubManager::set_has_app() {
1554 _has_bits_[0] |= 0x00000020u;
1556 inline void HubManager::clear_has_app() {
1557 _has_bits_[0] &= ~0x00000020u;
1559 inline const ::goby::middleware::protobuf::AppConfig& HubManager::_internal_app()
const {
1563 const ::goby::middleware::protobuf::AppConfig* p = app_;
1565 return p != NULL ? *p : *
reinterpret_cast<const ::goby::middleware::protobuf::AppConfig*
>(
1566 &::goby::middleware::protobuf::_AppConfig_default_instance_);
1571 ::goby::middleware::protobuf::AppConfig* temp = app_;
1578 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaNoVirtual());
1585 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1586 if (message_arena == NULL) {
1587 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(app_);
1590 ::google::protobuf::Arena* submessage_arena = NULL;
1591 if (message_arena != submessage_arena) {
1592 app = ::google::protobuf::internal::GetOwnedMessage(
1593 message_arena, app, submessage_arena);
1605 return (_has_bits_[0] & 0x00000040u) != 0;
1607 inline void HubManager::set_has_interprocess() {
1608 _has_bits_[0] |= 0x00000040u;
1610 inline void HubManager::clear_has_interprocess() {
1611 _has_bits_[0] &= ~0x00000040u;
1613 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& HubManager::_internal_interprocess()
const {
1614 return *interprocess_;
1617 const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = interprocess_;
1619 return p != NULL ? *p : *
reinterpret_cast<const ::goby::zeromq::protobuf::InterProcessPortalConfig*
>(
1620 &::goby::zeromq::protobuf::_InterProcessPortalConfig_default_instance_);
1624 clear_has_interprocess();
1625 ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = interprocess_;
1626 interprocess_ = NULL;
1630 set_has_interprocess();
1631 if (interprocess_ == NULL) {
1632 auto* p = CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig>(GetArenaNoVirtual());
1636 return interprocess_;
1639 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1640 if (message_arena == NULL) {
1641 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(interprocess_);
1644 ::google::protobuf::Arena* submessage_arena = NULL;
1645 if (message_arena != submessage_arena) {
1646 interprocess = ::google::protobuf::internal::GetOwnedMessage(
1647 message_arena, interprocess, submessage_arena);
1649 set_has_interprocess();
1651 clear_has_interprocess();
1653 interprocess_ = interprocess;
1659 return (_has_bits_[0] & 0x00000400u) != 0;
1661 inline void HubManager::set_has_expected_bots() {
1662 _has_bits_[0] |= 0x00000400u;
1664 inline void HubManager::clear_has_expected_bots() {
1665 _has_bits_[0] &= ~0x00000400u;
1668 if (expected_bots_ != NULL) expected_bots_->Clear();
1669 clear_has_expected_bots();
1671 inline const ::jaiabot::config::HubManager_ExpectedBots& HubManager::_internal_expected_bots()
const {
1672 return *expected_bots_;
1675 const ::jaiabot::config::HubManager_ExpectedBots* p = expected_bots_;
1682 clear_has_expected_bots();
1684 expected_bots_ = NULL;
1688 set_has_expected_bots();
1689 if (expected_bots_ == NULL) {
1690 auto* p = CreateMaybeMessage<::jaiabot::config::HubManager_ExpectedBots>(GetArenaNoVirtual());
1694 return expected_bots_;
1697 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1698 if (message_arena == NULL) {
1699 delete expected_bots_;
1701 if (expected_bots) {
1702 ::google::protobuf::Arena* submessage_arena = NULL;
1703 if (message_arena != submessage_arena) {
1704 expected_bots = ::google::protobuf::internal::GetOwnedMessage(
1705 message_arena, expected_bots, submessage_arena);
1707 set_has_expected_bots();
1709 clear_has_expected_bots();
1711 expected_bots_ = expected_bots;
1717 return (_has_bits_[0] & 0x00000080u) != 0;
1719 inline void HubManager::set_has_status_sub_cfg() {
1720 _has_bits_[0] |= 0x00000080u;
1722 inline void HubManager::clear_has_status_sub_cfg() {
1723 _has_bits_[0] &= ~0x00000080u;
1725 inline const ::goby::middleware::protobuf::TransporterConfig& HubManager::_internal_status_sub_cfg()
const {
1726 return *status_sub_cfg_;
1729 const ::goby::middleware::protobuf::TransporterConfig* p = status_sub_cfg_;
1731 return p != NULL ? *p : *
reinterpret_cast<const ::goby::middleware::protobuf::TransporterConfig*
>(
1732 &::goby::middleware::protobuf::_TransporterConfig_default_instance_);
1736 clear_has_status_sub_cfg();
1737 ::goby::middleware::protobuf::TransporterConfig* temp = status_sub_cfg_;
1738 status_sub_cfg_ = NULL;
1742 set_has_status_sub_cfg();
1743 if (status_sub_cfg_ == NULL) {
1744 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::TransporterConfig>(GetArenaNoVirtual());
1745 status_sub_cfg_ = p;
1748 return status_sub_cfg_;
1751 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1752 if (message_arena == NULL) {
1753 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(status_sub_cfg_);
1755 if (status_sub_cfg) {
1756 ::google::protobuf::Arena* submessage_arena = NULL;
1757 if (message_arena != submessage_arena) {
1758 status_sub_cfg = ::google::protobuf::internal::GetOwnedMessage(
1759 message_arena, status_sub_cfg, submessage_arena);
1761 set_has_status_sub_cfg();
1763 clear_has_status_sub_cfg();
1765 status_sub_cfg_ = status_sub_cfg;
1771 return (_has_bits_[0] & 0x00000100u) != 0;
1773 inline void HubManager::set_has_task_packet_sub_cfg() {
1774 _has_bits_[0] |= 0x00000100u;
1776 inline void HubManager::clear_has_task_packet_sub_cfg() {
1777 _has_bits_[0] &= ~0x00000100u;
1779 inline const ::goby::middleware::protobuf::TransporterConfig& HubManager::_internal_task_packet_sub_cfg()
const {
1780 return *task_packet_sub_cfg_;
1783 const ::goby::middleware::protobuf::TransporterConfig* p = task_packet_sub_cfg_;
1785 return p != NULL ? *p : *
reinterpret_cast<const ::goby::middleware::protobuf::TransporterConfig*
>(
1786 &::goby::middleware::protobuf::_TransporterConfig_default_instance_);
1790 clear_has_task_packet_sub_cfg();
1791 ::goby::middleware::protobuf::TransporterConfig* temp = task_packet_sub_cfg_;
1792 task_packet_sub_cfg_ = NULL;
1796 set_has_task_packet_sub_cfg();
1797 if (task_packet_sub_cfg_ == NULL) {
1798 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::TransporterConfig>(GetArenaNoVirtual());
1799 task_packet_sub_cfg_ = p;
1802 return task_packet_sub_cfg_;
1805 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1806 if (message_arena == NULL) {
1807 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(task_packet_sub_cfg_);
1809 if (task_packet_sub_cfg) {
1810 ::google::protobuf::Arena* submessage_arena = NULL;
1811 if (message_arena != submessage_arena) {
1812 task_packet_sub_cfg = ::google::protobuf::internal::GetOwnedMessage(
1813 message_arena, task_packet_sub_cfg, submessage_arena);
1815 set_has_task_packet_sub_cfg();
1817 clear_has_task_packet_sub_cfg();
1819 task_packet_sub_cfg_ = task_packet_sub_cfg;
1825 return (_has_bits_[0] & 0x00000200u) != 0;
1827 inline void HubManager::set_has_engineering_status_sub_cfg() {
1828 _has_bits_[0] |= 0x00000200u;
1830 inline void HubManager::clear_has_engineering_status_sub_cfg() {
1831 _has_bits_[0] &= ~0x00000200u;
1833 inline const ::goby::middleware::protobuf::TransporterConfig& HubManager::_internal_engineering_status_sub_cfg()
const {
1834 return *engineering_status_sub_cfg_;
1837 const ::goby::middleware::protobuf::TransporterConfig* p = engineering_status_sub_cfg_;
1839 return p != NULL ? *p : *
reinterpret_cast<const ::goby::middleware::protobuf::TransporterConfig*
>(
1840 &::goby::middleware::protobuf::_TransporterConfig_default_instance_);
1844 clear_has_engineering_status_sub_cfg();
1845 ::goby::middleware::protobuf::TransporterConfig* temp = engineering_status_sub_cfg_;
1846 engineering_status_sub_cfg_ = NULL;
1850 set_has_engineering_status_sub_cfg();
1851 if (engineering_status_sub_cfg_ == NULL) {
1852 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::TransporterConfig>(GetArenaNoVirtual());
1853 engineering_status_sub_cfg_ = p;
1856 return engineering_status_sub_cfg_;
1859 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1860 if (message_arena == NULL) {
1861 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(engineering_status_sub_cfg_);
1863 if (engineering_status_sub_cfg) {
1864 ::google::protobuf::Arena* submessage_arena = NULL;
1865 if (message_arena != submessage_arena) {
1866 engineering_status_sub_cfg = ::google::protobuf::internal::GetOwnedMessage(
1867 message_arena, engineering_status_sub_cfg, submessage_arena);
1869 set_has_engineering_status_sub_cfg();
1871 clear_has_engineering_status_sub_cfg();
1873 engineering_status_sub_cfg_ = engineering_status_sub_cfg;
1879 return (_has_bits_[0] & 0x00001000u) != 0;
1881 inline void HubManager::set_has_hub_id() {
1882 _has_bits_[0] |= 0x00001000u;
1884 inline void HubManager::clear_has_hub_id() {
1885 _has_bits_[0] &= ~0x00001000u;
1903 return (_has_bits_[0] & 0x00002000u) != 0;
1905 inline void HubManager::set_has_fleet_id() {
1906 _has_bits_[0] |= 0x00002000u;
1908 inline void HubManager::clear_has_fleet_id() {
1909 _has_bits_[0] &= ~0x00002000u;
1913 clear_has_fleet_id();
1927 return (_has_bits_[0] & 0x00020000u) != 0;
1929 inline void HubManager::set_has_health_report_timeout_seconds() {
1930 _has_bits_[0] |= 0x00020000u;
1932 inline void HubManager::clear_has_health_report_timeout_seconds() {
1933 _has_bits_[0] &= ~0x00020000u;
1936 health_report_timeout_seconds_ = 20;
1937 clear_has_health_report_timeout_seconds();
1941 return health_report_timeout_seconds_;
1944 set_has_health_report_timeout_seconds();
1945 health_report_timeout_seconds_ = value;
1951 return (_has_bits_[0] & 0x00000800u) != 0;
1953 inline void HubManager::set_has_vfleet() {
1954 _has_bits_[0] |= 0x00000800u;
1956 inline void HubManager::clear_has_vfleet() {
1957 _has_bits_[0] &= ~0x00000800u;
1960 if (vfleet_ != NULL) vfleet_->Clear();
1963 inline const ::jaiabot::config::HubManager_VirtualFleetData& HubManager::_internal_vfleet()
const {
1967 const ::jaiabot::config::HubManager_VirtualFleetData* p = vfleet_;
1981 if (vfleet_ == NULL) {
1982 auto* p = CreateMaybeMessage<::jaiabot::config::HubManager_VirtualFleetData>(GetArenaNoVirtual());
1989 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1990 if (message_arena == NULL) {
1994 ::google::protobuf::Arena* submessage_arena = NULL;
1995 if (message_arena != submessage_arena) {
1996 vfleet = ::google::protobuf::internal::GetOwnedMessage(
1997 message_arena, vfleet, submessage_arena);
2009 return (_has_bits_[0] & 0x00000001u) != 0;
2011 inline void HubManager::set_has_data_offload_script() {
2012 _has_bits_[0] |= 0x00000001u;
2014 inline void HubManager::clear_has_data_offload_script() {
2015 _has_bits_[0] &= ~0x00000001u;
2018 data_offload_script_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2019 clear_has_data_offload_script();
2023 return data_offload_script_.GetNoArena();
2026 set_has_data_offload_script();
2027 data_offload_script_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2032 set_has_data_offload_script();
2033 data_offload_script_.SetNoArena(
2034 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2039 GOOGLE_DCHECK(value != NULL);
2040 set_has_data_offload_script();
2041 data_offload_script_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2045 set_has_data_offload_script();
2046 data_offload_script_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2047 ::std::string(
reinterpret_cast<const char*
>(value), size));
2051 set_has_data_offload_script();
2053 return data_offload_script_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2057 if (!has_data_offload_script()) {
2060 clear_has_data_offload_script();
2061 return data_offload_script_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2064 if (data_offload_script != NULL) {
2065 set_has_data_offload_script();
2067 clear_has_data_offload_script();
2069 data_offload_script_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), data_offload_script);
2075 return (_has_bits_[0] & 0x00000002u) != 0;
2077 inline void HubManager::set_has_log_staging_dir() {
2078 _has_bits_[0] |= 0x00000002u;
2080 inline void HubManager::clear_has_log_staging_dir() {
2081 _has_bits_[0] &= ~0x00000002u;
2085 clear_has_log_staging_dir();
2089 return log_staging_dir_.GetNoArena();
2092 set_has_log_staging_dir();
2098 set_has_log_staging_dir();
2099 log_staging_dir_.SetNoArena(
2105 GOOGLE_DCHECK(value != NULL);
2106 set_has_log_staging_dir();
2111 set_has_log_staging_dir();
2113 ::std::string(
reinterpret_cast<const char*
>(value), size));
2117 set_has_log_staging_dir();
2123 if (!has_log_staging_dir()) {
2126 clear_has_log_staging_dir();
2130 if (log_staging_dir != NULL) {
2131 set_has_log_staging_dir();
2133 clear_has_log_staging_dir();
2141 return (_has_bits_[0] & 0x00000004u) != 0;
2143 inline void HubManager::set_has_log_offload_dir() {
2144 _has_bits_[0] |= 0x00000004u;
2146 inline void HubManager::clear_has_log_offload_dir() {
2147 _has_bits_[0] &= ~0x00000004u;
2151 clear_has_log_offload_dir();
2155 return log_offload_dir_.GetNoArena();
2158 set_has_log_offload_dir();
2164 set_has_log_offload_dir();
2165 log_offload_dir_.SetNoArena(
2171 GOOGLE_DCHECK(value != NULL);
2172 set_has_log_offload_dir();
2177 set_has_log_offload_dir();
2179 ::std::string(
reinterpret_cast<const char*
>(value), size));
2183 set_has_log_offload_dir();
2189 if (!has_log_offload_dir()) {
2192 clear_has_log_offload_dir();
2196 if (log_offload_dir != NULL) {
2197 set_has_log_offload_dir();
2199 clear_has_log_offload_dir();
2207 return (_has_bits_[0] & 0x00040000u) != 0;
2209 inline void HubManager::set_has_bot_start_ip() {
2210 _has_bits_[0] |= 0x00040000u;
2212 inline void HubManager::clear_has_bot_start_ip() {
2213 _has_bits_[0] &= ~0x00040000u;
2216 bot_start_ip_ = 100;
2217 clear_has_bot_start_ip();
2221 return bot_start_ip_;
2224 set_has_bot_start_ip();
2225 bot_start_ip_ = value;
2231 return (_has_bits_[0] & 0x00000008u) != 0;
2233 inline void HubManager::set_has_class_b_network() {
2234 _has_bits_[0] |= 0x00000008u;
2236 inline void HubManager::clear_has_class_b_network() {
2237 _has_bits_[0] &= ~0x00000008u;
2241 clear_has_class_b_network();
2245 return class_b_network_.GetNoArena();
2248 set_has_class_b_network();
2254 set_has_class_b_network();
2255 class_b_network_.SetNoArena(
2261 GOOGLE_DCHECK(value != NULL);
2262 set_has_class_b_network();
2267 set_has_class_b_network();
2269 ::std::string(
reinterpret_cast<const char*
>(value), size));
2273 set_has_class_b_network();
2279 if (!has_class_b_network()) {
2282 clear_has_class_b_network();
2286 if (class_b_network != NULL) {
2287 set_has_class_b_network();
2289 clear_has_class_b_network();
2297 return (_has_bits_[0] & 0x00004000u) != 0;
2299 inline void HubManager::set_has_use_localhost_for_data_offload() {
2300 _has_bits_[0] |= 0x00004000u;
2302 inline void HubManager::clear_has_use_localhost_for_data_offload() {
2303 _has_bits_[0] &= ~0x00004000u;
2306 use_localhost_for_data_offload_ =
false;
2307 clear_has_use_localhost_for_data_offload();
2311 return use_localhost_for_data_offload_;
2314 set_has_use_localhost_for_data_offload();
2315 use_localhost_for_data_offload_ = value;
2321 return (_has_bits_[0] & 0x00000010u) != 0;
2323 inline void HubManager::set_has_hub_gpsd_device() {
2324 _has_bits_[0] |= 0x00000010u;
2326 inline void HubManager::clear_has_hub_gpsd_device() {
2327 _has_bits_[0] &= ~0x00000010u;
2330 hub_gpsd_device_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2331 clear_has_hub_gpsd_device();
2335 return hub_gpsd_device_.GetNoArena();
2338 set_has_hub_gpsd_device();
2339 hub_gpsd_device_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2344 set_has_hub_gpsd_device();
2345 hub_gpsd_device_.SetNoArena(
2346 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2351 GOOGLE_DCHECK(value != NULL);
2352 set_has_hub_gpsd_device();
2353 hub_gpsd_device_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2357 set_has_hub_gpsd_device();
2358 hub_gpsd_device_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2359 ::std::string(
reinterpret_cast<const char*
>(value), size));
2363 set_has_hub_gpsd_device();
2365 return hub_gpsd_device_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2369 if (!has_hub_gpsd_device()) {
2372 clear_has_hub_gpsd_device();
2373 return hub_gpsd_device_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2376 if (hub_gpsd_device != NULL) {
2377 set_has_hub_gpsd_device();
2379 clear_has_hub_gpsd_device();
2381 hub_gpsd_device_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), hub_gpsd_device);
2387 return contact_gps_.size();
2390 contact_gps_.Clear();
2394 return contact_gps_.Mutable(index);
2396 inline ::google::protobuf::RepeatedPtrField< ::jaiabot::config::HubManager_ContactGPS >*
2399 return &contact_gps_;
2403 return contact_gps_.Get(index);
2407 return contact_gps_.Add();
2409 inline const ::google::protobuf::RepeatedPtrField< ::jaiabot::config::HubManager_ContactGPS >&
2412 return contact_gps_;
2417 return bot_to_gps_.size();
2420 bot_to_gps_.Clear();
2424 return bot_to_gps_.Mutable(index);
2426 inline ::google::protobuf::RepeatedPtrField< ::jaiabot::config::HubManager_BotToGPS >*
2429 return &bot_to_gps_;
2433 return bot_to_gps_.Get(index);
2437 return bot_to_gps_.Add();
2439 inline const ::google::protobuf::RepeatedPtrField< ::jaiabot::config::HubManager_BotToGPS >&
2447 return (_has_bits_[0] & 0x00010000u) != 0;
2449 inline void HubManager::set_has_contact_blackout_seconds() {
2450 _has_bits_[0] |= 0x00010000u;
2452 inline void HubManager::clear_has_contact_blackout_seconds() {
2453 _has_bits_[0] &= ~0x00010000u;
2456 contact_blackout_seconds_ = 2;
2457 clear_has_contact_blackout_seconds();
2461 return contact_blackout_seconds_;
2464 set_has_contact_blackout_seconds();
2465 contact_blackout_seconds_ = value;
2471 return (_has_bits_[0] & 0x00008000u) != 0;
2473 inline void HubManager::set_has_subnet_mask() {
2474 _has_bits_[0] |= 0x00008000u;
2476 inline void HubManager::clear_has_subnet_mask() {
2477 _has_bits_[0] &= ~0x00008000u;
2481 clear_has_subnet_mask();
2485 return subnet_mask_;
2488 set_has_subnet_mask();
2489 subnet_mask_ = value;
2495 return link_to_subscribe_on_.size();
2498 link_to_subscribe_on_.Clear();
2506 link_to_subscribe_on_.Set(index, value);
2511 link_to_subscribe_on_.Add(value);
2514 inline const ::google::protobuf::RepeatedField<int>&
2517 return link_to_subscribe_on_;
2519 inline ::google::protobuf::RepeatedField<int>*
2522 return &link_to_subscribe_on_;
2526 #pragma GCC diagnostic pop
2544 #endif // PROTOBUF_INCLUDED_bin_2fhub_5fmanager_2fconfig_2eproto