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"
41 #include <boost/units/quantity.hpp>
42 #include <boost/units/absolute.hpp>
43 #include <boost/units/dimensionless_type.hpp>
44 #include <boost/units/make_scaled_unit.hpp>
46 #define PROTOBUF_INTERNAL_EXPORT_protobuf_bin_2fhub_5fmanager_2fconfig_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[4];
56 static const ::google::protobuf::uint32
offsets[];
63 class HubManagerDefaultTypeInternal;
65 class HubManager_BotToGPS;
66 class HubManager_BotToGPSDefaultTypeInternal;
68 class HubManager_ContactGPS;
69 class HubManager_ContactGPSDefaultTypeInternal;
71 class HubManager_VirtualFleetData;
72 class HubManager_VirtualFleetDataDefaultTypeInternal;
103 *
this = ::std::move(from);
107 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
108 if (
this != &from) InternalSwap(&from);
116 return _internal_metadata_.unknown_fields();
119 return _internal_metadata_.mutable_unknown_fields();
122 static const ::google::protobuf::Descriptor*
descriptor();
141 return CreateMaybeMessage<HubManager_VirtualFleetData>(NULL);
145 return CreateMaybeMessage<HubManager_VirtualFleetData>(arena);
147 void CopyFrom(const ::google::protobuf::Message& from)
final;
148 void MergeFrom(const ::google::protobuf::Message& from)
final;
156 ::
google::protobuf::io::CodedInputStream* input) final;
158 ::
google::protobuf::io::CodedOutputStream* output) const final;
160 bool deterministic, ::
google::protobuf::uint8* target) const final;
166 void SetCachedSize(
int size)
const final;
169 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
172 inline void* MaybeArenaPtr()
const {
177 ::google::protobuf::Metadata
GetMetadata() const final;
199 void set_has_shutdown_after_last_command_seconds();
200 void clear_has_shutdown_after_last_command_seconds();
201 void set_has_hub_shutdown_delay_seconds();
202 void clear_has_hub_shutdown_delay_seconds();
205 size_t RequiredFieldsByteSizeFallback() const;
207 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
208 ::
google::protobuf::internal::HasBits<1> _has_bits_;
209 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
210 ::
google::protobuf::int32 shutdown_after_last_command_seconds_;
211 ::
google::protobuf::int32 hub_shutdown_delay_seconds_;
230 *
this = ::std::move(from);
233 inline HubManager_ContactGPS&
operator=(HubManager_ContactGPS&& from) noexcept {
234 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
235 if (
this != &from) InternalSwap(&from);
243 return _internal_metadata_.unknown_fields();
246 return _internal_metadata_.mutable_unknown_fields();
249 static const ::google::protobuf::Descriptor*
descriptor();
268 return CreateMaybeMessage<HubManager_ContactGPS>(NULL);
272 return CreateMaybeMessage<HubManager_ContactGPS>(arena);
274 void CopyFrom(const ::google::protobuf::Message& from)
final;
275 void MergeFrom(const ::google::protobuf::Message& from)
final;
283 ::
google::protobuf::io::CodedInputStream* input) final;
285 ::
google::protobuf::io::CodedOutputStream* output) const final;
287 bool deterministic, ::
google::protobuf::uint8* target) const final;
293 void SetCachedSize(
int size)
const final;
296 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
299 inline void* MaybeArenaPtr()
const {
304 ::google::protobuf::Metadata
GetMetadata() const final;
311 bool has_gpsd_device() const;
312 void clear_gpsd_device();
313 static const
int kGpsdDeviceFieldNumber = 1;
314 const ::std::
string& gpsd_device() const;
315 void set_gpsd_device(const ::std::
string& value);
317 void set_gpsd_device(::std::string&& value);
319 void set_gpsd_device(
const char* value);
320 void set_gpsd_device(
const char* value,
size_t size);
321 ::std::string* mutable_gpsd_device();
322 ::std::string* release_gpsd_device();
323 void set_allocated_gpsd_device(::std::string* gpsd_device);
326 bool has_contact()
const;
327 void clear_contact();
328 static const int kContactFieldNumber = 2;
329 ::google::protobuf::int32 contact()
const;
330 void set_contact(::google::protobuf::int32 value);
333 bool has_use_cog()
const;
334 void clear_use_cog();
335 static const int kUseCogFieldNumber = 3;
336 bool use_cog()
const;
337 void set_use_cog(
bool value);
341 void set_has_gpsd_device();
342 void clear_has_gpsd_device();
343 void set_has_contact();
344 void clear_has_contact();
345 void set_has_use_cog();
346 void clear_has_use_cog();
349 size_t RequiredFieldsByteSizeFallback()
const;
351 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
352 ::google::protobuf::internal::HasBits<1> _has_bits_;
353 mutable ::google::protobuf::internal::CachedSize _cached_size_;
354 ::google::protobuf::internal::ArenaStringPtr gpsd_device_;
355 ::google::protobuf::int32 contact_;
357 friend struct ::protobuf_bin_2fhub_5fmanager_2fconfig_2eproto::TableStruct;
375 *
this = ::std::move(from);
378 inline HubManager_BotToGPS&
operator=(HubManager_BotToGPS&& from) noexcept {
379 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
380 if (
this != &from) InternalSwap(&from);
388 return _internal_metadata_.unknown_fields();
391 return _internal_metadata_.mutable_unknown_fields();
394 static const ::google::protobuf::Descriptor*
descriptor();
403 TRANSPORT_NOT_SET = 0,
422 return CreateMaybeMessage<HubManager_BotToGPS>(NULL);
426 return CreateMaybeMessage<HubManager_BotToGPS>(arena);
428 void CopyFrom(const ::google::protobuf::Message& from)
final;
429 void MergeFrom(const ::google::protobuf::Message& from)
final;
437 ::
google::protobuf::io::CodedInputStream* input) final;
439 ::
google::protobuf::io::CodedOutputStream* output) const final;
441 bool deterministic, ::
google::protobuf::uint8* target) const final;
447 void SetCachedSize(
int size)
const final;
450 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
453 inline void* MaybeArenaPtr()
const {
458 ::google::protobuf::Metadata
GetMetadata() const final;
465 bool has_bot_id() const;
467 static const
int kBotIdFieldNumber = 1;
468 ::
google::protobuf::int32 bot_id() const;
469 void set_bot_id(::
google::protobuf::int32 value);
472 bool has_udp() const;
474 static const
int kUdpFieldNumber = 2;
476 const ::
goby::middleware::protobuf::UDPPointToPointConfig& _internal_udp() const;
478 const ::
goby::middleware::protobuf::UDPPointToPointConfig& udp() const;
479 ::
goby::middleware::protobuf::UDPPointToPointConfig* release_udp();
480 ::
goby::middleware::protobuf::UDPPointToPointConfig* mutable_udp();
481 void set_allocated_udp(::
goby::middleware::protobuf::UDPPointToPointConfig* udp);
484 bool has_pty() const;
486 static const
int kPtyFieldNumber = 3;
488 const ::
goby::middleware::protobuf::PTYConfig& _internal_pty() const;
490 const ::
goby::middleware::protobuf::PTYConfig& pty() const;
491 ::
goby::middleware::protobuf::PTYConfig* release_pty();
492 ::
goby::middleware::protobuf::PTYConfig* mutable_pty();
493 void set_allocated_pty(::
goby::middleware::protobuf::PTYConfig* pty);
496 bool has_serial() const;
498 static const
int kSerialFieldNumber = 4;
500 const ::
goby::middleware::protobuf::SerialConfig& _internal_serial() const;
502 const ::
goby::middleware::protobuf::SerialConfig& serial() const;
503 ::
goby::middleware::protobuf::SerialConfig* release_serial();
504 ::
goby::middleware::protobuf::SerialConfig* mutable_serial();
505 void set_allocated_serial(::
goby::middleware::protobuf::SerialConfig* serial);
508 bool has_tcp_client() const;
509 void clear_tcp_client();
510 static const
int kTcpClientFieldNumber = 5;
512 const ::
goby::middleware::protobuf::TCPClientConfig& _internal_tcp_client() const;
514 const ::
goby::middleware::protobuf::TCPClientConfig& tcp_client() const;
515 ::
goby::middleware::protobuf::TCPClientConfig* release_tcp_client();
516 ::
goby::middleware::protobuf::TCPClientConfig* mutable_tcp_client();
517 void set_allocated_tcp_client(::
goby::middleware::protobuf::TCPClientConfig* tcp_client);
520 bool has_tcp_server() const;
521 void clear_tcp_server();
522 static const
int kTcpServerFieldNumber = 6;
524 const ::
goby::middleware::protobuf::TCPServerConfig& _internal_tcp_server() const;
526 const ::
goby::middleware::protobuf::TCPServerConfig& tcp_server() const;
527 ::
goby::middleware::protobuf::TCPServerConfig* release_tcp_server();
528 ::
goby::middleware::protobuf::TCPServerConfig* mutable_tcp_server();
529 void set_allocated_tcp_server(::
goby::middleware::protobuf::TCPServerConfig* tcp_server);
531 void clear_transport();
535 void set_has_bot_id();
536 void clear_has_bot_id();
539 void set_has_serial();
540 void set_has_tcp_client();
541 void set_has_tcp_server();
543 inline
bool has_transport() const;
544 inline
void clear_has_transport();
546 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
547 ::
google::protobuf::internal::HasBits<1> _has_bits_;
548 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
549 ::
google::protobuf::int32 bot_id_;
550 union TransportUnion {
552 ::goby::middleware::protobuf::UDPPointToPointConfig* udp_;
553 ::goby::middleware::protobuf::PTYConfig* pty_;
554 ::goby::middleware::protobuf::SerialConfig* serial_;
555 ::goby::middleware::protobuf::TCPClientConfig* tcp_client_;
556 ::goby::middleware::protobuf::TCPServerConfig* tcp_server_;
558 ::google::protobuf::uint32 _oneof_case_[1];
560 friend struct ::protobuf_bin_2fhub_5fmanager_2fconfig_2eproto::TableStruct;
578 *
this = ::std::move(from);
581 inline HubManager&
operator=(HubManager&& from) noexcept {
582 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
583 if (
this != &from) InternalSwap(&from);
591 return _internal_metadata_.unknown_fields();
594 return _internal_metadata_.mutable_unknown_fields();
597 static const ::google::protobuf::Descriptor*
descriptor();
616 return CreateMaybeMessage<HubManager>(NULL);
620 return CreateMaybeMessage<HubManager>(arena);
622 void CopyFrom(const ::google::protobuf::Message& from)
final;
623 void MergeFrom(const ::google::protobuf::Message& from)
final;
631 ::
google::protobuf::io::CodedInputStream* input) final;
633 ::
google::protobuf::io::CodedOutputStream* output) const final;
635 bool deterministic, ::
google::protobuf::uint8* target) const final;
641 void SetCachedSize(
int size)
const final;
644 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
647 inline void* MaybeArenaPtr()
const {
652 ::google::protobuf::Metadata
GetMetadata() const final;
663 int contact_gps_size() const;
664 void clear_contact_gps();
665 static const
int kContactGpsFieldNumber = 41;
668 mutable_contact_gps();
675 int bot_to_gps_size() const;
676 void clear_bot_to_gps();
677 static const
int kBotToGpsFieldNumber = 42;
680 mutable_bot_to_gps();
687 bool has_data_offload_script() const;
688 void clear_data_offload_script();
689 static const
int kDataOffloadScriptFieldNumber = 30;
690 const ::std::
string& data_offload_script() const;
691 void set_data_offload_script(const ::std::
string& value);
693 void set_data_offload_script(::std::string&& value);
695 void set_data_offload_script(
const char* value);
696 void set_data_offload_script(
const char* value,
size_t size);
697 ::std::string* mutable_data_offload_script();
698 ::std::string* release_data_offload_script();
699 void set_allocated_data_offload_script(::std::string* data_offload_script);
702 bool has_log_staging_dir()
const;
703 void clear_log_staging_dir();
704 static const int kLogStagingDirFieldNumber = 31;
705 const ::std::string& log_staging_dir()
const;
706 void set_log_staging_dir(const ::std::string& value);
708 void set_log_staging_dir(::std::string&& value);
710 void set_log_staging_dir(
const char* value);
711 void set_log_staging_dir(
const char* value,
size_t size);
712 ::std::string* mutable_log_staging_dir();
713 ::std::string* release_log_staging_dir();
714 void set_allocated_log_staging_dir(::std::string* log_staging_dir);
717 bool has_log_offload_dir()
const;
718 void clear_log_offload_dir();
719 static const int kLogOffloadDirFieldNumber = 32;
720 const ::std::string& log_offload_dir()
const;
721 void set_log_offload_dir(const ::std::string& value);
723 void set_log_offload_dir(::std::string&& value);
725 void set_log_offload_dir(
const char* value);
726 void set_log_offload_dir(
const char* value,
size_t size);
727 ::std::string* mutable_log_offload_dir();
728 ::std::string* release_log_offload_dir();
729 void set_allocated_log_offload_dir(::std::string* log_offload_dir);
732 bool has_class_b_network()
const;
733 void clear_class_b_network();
734 static const int kClassBNetworkFieldNumber = 34;
735 const ::std::string& class_b_network()
const;
736 void set_class_b_network(const ::std::string& value);
738 void set_class_b_network(::std::string&& value);
740 void set_class_b_network(
const char* value);
741 void set_class_b_network(
const char* value,
size_t size);
742 ::std::string* mutable_class_b_network();
743 ::std::string* release_class_b_network();
744 void set_allocated_class_b_network(::std::string* class_b_network);
747 bool has_hub_gpsd_device()
const;
748 void clear_hub_gpsd_device();
749 static const int kHubGpsdDeviceFieldNumber = 40;
750 const ::std::string& hub_gpsd_device()
const;
751 void set_hub_gpsd_device(const ::std::string& value);
753 void set_hub_gpsd_device(::std::string&& value);
755 void set_hub_gpsd_device(
const char* value);
756 void set_hub_gpsd_device(
const char* value,
size_t size);
757 ::std::string* mutable_hub_gpsd_device();
758 ::std::string* release_hub_gpsd_device();
759 void set_allocated_hub_gpsd_device(::std::string* hub_gpsd_device);
762 bool has_app()
const;
764 static const int kAppFieldNumber = 1;
766 const ::goby::middleware::protobuf::AppConfig& _internal_app()
const;
768 const ::goby::middleware::protobuf::AppConfig& app()
const;
769 ::goby::middleware::protobuf::AppConfig* release_app();
770 ::goby::middleware::protobuf::AppConfig* mutable_app();
771 void set_allocated_app(::goby::middleware::protobuf::AppConfig* app);
774 bool has_interprocess()
const;
775 void clear_interprocess();
776 static const int kInterprocessFieldNumber = 2;
778 const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess()
const;
780 const ::goby::zeromq::protobuf::InterProcessPortalConfig& interprocess()
const;
781 ::goby::zeromq::protobuf::InterProcessPortalConfig* release_interprocess();
782 ::goby::zeromq::protobuf::InterProcessPortalConfig* mutable_interprocess();
783 void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
786 bool has_xbee()
const;
788 static const int kXbeeFieldNumber = 10;
790 const ::xbee::protobuf::Config& _internal_xbee()
const;
792 const ::xbee::protobuf::Config&
xbee()
const;
798 bool has_status_sub_cfg()
const;
799 void clear_status_sub_cfg();
800 static const int kStatusSubCfgFieldNumber = 11;
802 const ::goby::middleware::protobuf::TransporterConfig& _internal_status_sub_cfg()
const;
804 const ::goby::middleware::protobuf::TransporterConfig& status_sub_cfg()
const;
805 ::goby::middleware::protobuf::TransporterConfig* release_status_sub_cfg();
806 ::goby::middleware::protobuf::TransporterConfig* mutable_status_sub_cfg();
807 void set_allocated_status_sub_cfg(::goby::middleware::protobuf::TransporterConfig* status_sub_cfg);
810 bool has_task_packet_sub_cfg()
const;
811 void clear_task_packet_sub_cfg();
812 static const int kTaskPacketSubCfgFieldNumber = 12;
814 const ::goby::middleware::protobuf::TransporterConfig& _internal_task_packet_sub_cfg()
const;
816 const ::goby::middleware::protobuf::TransporterConfig& task_packet_sub_cfg()
const;
817 ::goby::middleware::protobuf::TransporterConfig* release_task_packet_sub_cfg();
818 ::goby::middleware::protobuf::TransporterConfig* mutable_task_packet_sub_cfg();
819 void set_allocated_task_packet_sub_cfg(::goby::middleware::protobuf::TransporterConfig* task_packet_sub_cfg);
822 bool has_engineering_status_sub_cfg()
const;
823 void clear_engineering_status_sub_cfg();
824 static const int kEngineeringStatusSubCfgFieldNumber = 13;
826 const ::goby::middleware::protobuf::TransporterConfig& _internal_engineering_status_sub_cfg()
const;
828 const ::goby::middleware::protobuf::TransporterConfig& engineering_status_sub_cfg()
const;
829 ::goby::middleware::protobuf::TransporterConfig* release_engineering_status_sub_cfg();
830 ::goby::middleware::protobuf::TransporterConfig* mutable_engineering_status_sub_cfg();
831 void set_allocated_engineering_status_sub_cfg(::goby::middleware::protobuf::TransporterConfig* engineering_status_sub_cfg);
834 bool has_vfleet()
const;
836 static const int kVfleetFieldNumber = 20;
838 const ::jaiabot::config::HubManager_VirtualFleetData& _internal_vfleet()
const;
840 const ::jaiabot::config::HubManager_VirtualFleetData& vfleet()
const;
846 bool has_hub_id()
const;
848 static const int kHubIdFieldNumber = 14;
849 ::google::protobuf::int32 hub_id()
const;
850 void set_hub_id(::google::protobuf::int32 value);
853 bool has_fleet_id()
const;
854 void clear_fleet_id();
855 static const int kFleetIdFieldNumber = 15;
856 ::google::protobuf::int32 fleet_id()
const;
857 void set_fleet_id(::google::protobuf::int32 value);
860 bool has_use_localhost_for_data_offload()
const;
861 void clear_use_localhost_for_data_offload();
862 static const int kUseLocalhostForDataOffloadFieldNumber = 35;
863 bool use_localhost_for_data_offload()
const;
864 void set_use_localhost_for_data_offload(
bool value);
867 bool has_contact_blackout_seconds()
const;
868 void clear_contact_blackout_seconds();
869 static const int kContactBlackoutSecondsFieldNumber = 43;
870 ::google::protobuf::int32 contact_blackout_seconds()
const;
871 void set_contact_blackout_seconds(::google::protobuf::int32 value);
874 bool has_health_report_timeout_seconds()
const;
875 void clear_health_report_timeout_seconds();
876 static const int kHealthReportTimeoutSecondsFieldNumber = 16;
877 ::google::protobuf::int32 health_report_timeout_seconds()
const;
878 void set_health_report_timeout_seconds(::google::protobuf::int32 value);
881 bool has_bot_start_ip()
const;
882 void clear_bot_start_ip();
883 static const int kBotStartIpFieldNumber = 33;
884 ::google::protobuf::int32 bot_start_ip()
const;
885 void set_bot_start_ip(::google::protobuf::int32 value);
890 void clear_has_app();
891 void set_has_interprocess();
892 void clear_has_interprocess();
894 void clear_has_xbee();
895 void set_has_status_sub_cfg();
896 void clear_has_status_sub_cfg();
897 void set_has_task_packet_sub_cfg();
898 void clear_has_task_packet_sub_cfg();
899 void set_has_engineering_status_sub_cfg();
900 void clear_has_engineering_status_sub_cfg();
901 void set_has_hub_id();
902 void clear_has_hub_id();
903 void set_has_fleet_id();
904 void clear_has_fleet_id();
905 void set_has_health_report_timeout_seconds();
906 void clear_has_health_report_timeout_seconds();
907 void set_has_vfleet();
908 void clear_has_vfleet();
909 void set_has_data_offload_script();
910 void clear_has_data_offload_script();
911 void set_has_log_staging_dir();
912 void clear_has_log_staging_dir();
913 void set_has_log_offload_dir();
914 void clear_has_log_offload_dir();
915 void set_has_bot_start_ip();
916 void clear_has_bot_start_ip();
917 void set_has_class_b_network();
918 void clear_has_class_b_network();
919 void set_has_use_localhost_for_data_offload();
920 void clear_has_use_localhost_for_data_offload();
921 void set_has_hub_gpsd_device();
922 void clear_has_hub_gpsd_device();
923 void set_has_contact_blackout_seconds();
924 void clear_has_contact_blackout_seconds();
927 size_t RequiredFieldsByteSizeFallback()
const;
929 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
930 ::google::protobuf::internal::HasBits<1> _has_bits_;
931 mutable ::google::protobuf::internal::CachedSize _cached_size_;
932 ::google::protobuf::RepeatedPtrField< ::jaiabot::config::HubManager_ContactGPS > contact_gps_;
933 ::google::protobuf::RepeatedPtrField< ::jaiabot::config::HubManager_BotToGPS > bot_to_gps_;
934 ::google::protobuf::internal::ArenaStringPtr data_offload_script_;
938 ::google::protobuf::internal::ArenaStringPtr log_staging_dir_;
942 ::google::protobuf::internal::ArenaStringPtr log_offload_dir_;
946 ::google::protobuf::internal::ArenaStringPtr class_b_network_;
947 ::google::protobuf::internal::ArenaStringPtr hub_gpsd_device_;
948 ::goby::middleware::protobuf::AppConfig* app_;
949 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess_;
951 ::goby::middleware::protobuf::TransporterConfig* status_sub_cfg_;
952 ::goby::middleware::protobuf::TransporterConfig* task_packet_sub_cfg_;
953 ::goby::middleware::protobuf::TransporterConfig* engineering_status_sub_cfg_;
955 ::google::protobuf::int32 hub_id_;
956 ::google::protobuf::int32 fleet_id_;
957 bool use_localhost_for_data_offload_;
958 ::google::protobuf::int32 contact_blackout_seconds_;
959 ::google::protobuf::int32 health_report_timeout_seconds_;
960 ::google::protobuf::int32 bot_start_ip_;
961 friend struct ::protobuf_bin_2fhub_5fmanager_2fconfig_2eproto::TableStruct;
969 #pragma GCC diagnostic push
970 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
976 return (_has_bits_[0] & 0x00000001u) != 0;
978 inline void HubManager_VirtualFleetData::set_has_shutdown_after_last_command_seconds() {
979 _has_bits_[0] |= 0x00000001u;
981 inline void HubManager_VirtualFleetData::clear_has_shutdown_after_last_command_seconds() {
982 _has_bits_[0] &= ~0x00000001u;
985 shutdown_after_last_command_seconds_ = 3600;
986 clear_has_shutdown_after_last_command_seconds();
990 return shutdown_after_last_command_seconds_;
993 set_has_shutdown_after_last_command_seconds();
994 shutdown_after_last_command_seconds_ = value;
1000 return (_has_bits_[0] & 0x00000002u) != 0;
1002 inline void HubManager_VirtualFleetData::set_has_hub_shutdown_delay_seconds() {
1003 _has_bits_[0] |= 0x00000002u;
1005 inline void HubManager_VirtualFleetData::clear_has_hub_shutdown_delay_seconds() {
1006 _has_bits_[0] &= ~0x00000002u;
1009 hub_shutdown_delay_seconds_ = 300;
1010 clear_has_hub_shutdown_delay_seconds();
1014 return hub_shutdown_delay_seconds_;
1017 set_has_hub_shutdown_delay_seconds();
1018 hub_shutdown_delay_seconds_ = value;
1028 return (_has_bits_[0] & 0x00000001u) != 0;
1030 inline void HubManager_ContactGPS::set_has_gpsd_device() {
1031 _has_bits_[0] |= 0x00000001u;
1033 inline void HubManager_ContactGPS::clear_has_gpsd_device() {
1034 _has_bits_[0] &= ~0x00000001u;
1037 gpsd_device_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1038 clear_has_gpsd_device();
1042 return gpsd_device_.GetNoArena();
1045 set_has_gpsd_device();
1046 gpsd_device_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1051 set_has_gpsd_device();
1052 gpsd_device_.SetNoArena(
1053 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1058 GOOGLE_DCHECK(value != NULL);
1059 set_has_gpsd_device();
1060 gpsd_device_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1064 set_has_gpsd_device();
1065 gpsd_device_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1066 ::std::string(
reinterpret_cast<const char*
>(value), size));
1070 set_has_gpsd_device();
1072 return gpsd_device_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1076 if (!has_gpsd_device()) {
1079 clear_has_gpsd_device();
1080 return gpsd_device_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1083 if (gpsd_device != NULL) {
1084 set_has_gpsd_device();
1086 clear_has_gpsd_device();
1088 gpsd_device_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), gpsd_device);
1094 return (_has_bits_[0] & 0x00000002u) != 0;
1096 inline void HubManager_ContactGPS::set_has_contact() {
1097 _has_bits_[0] |= 0x00000002u;
1099 inline void HubManager_ContactGPS::clear_has_contact() {
1100 _has_bits_[0] &= ~0x00000002u;
1104 clear_has_contact();
1118 return (_has_bits_[0] & 0x00000004u) != 0;
1120 inline void HubManager_ContactGPS::set_has_use_cog() {
1121 _has_bits_[0] |= 0x00000004u;
1123 inline void HubManager_ContactGPS::clear_has_use_cog() {
1124 _has_bits_[0] &= ~0x00000004u;
1128 clear_has_use_cog();
1146 return (_has_bits_[0] & 0x00000001u) != 0;
1148 inline void HubManager_BotToGPS::set_has_bot_id() {
1149 _has_bits_[0] |= 0x00000001u;
1151 inline void HubManager_BotToGPS::clear_has_bot_id() {
1152 _has_bits_[0] &= ~0x00000001u;
1170 return transport_case() == kUdp;
1172 inline void HubManager_BotToGPS::set_has_udp() {
1173 _oneof_case_[0] = kUdp;
1175 inline const ::goby::middleware::protobuf::UDPPointToPointConfig& HubManager_BotToGPS::_internal_udp()
const {
1176 return *transport_.udp_;
1181 clear_has_transport();
1182 ::goby::middleware::protobuf::UDPPointToPointConfig* temp = transport_.udp_;
1183 transport_.udp_ = NULL;
1193 : *
reinterpret_cast< ::goby::middleware::protobuf::UDPPointToPointConfig*
>(&::goby::middleware::protobuf::_UDPPointToPointConfig_default_instance_);
1199 transport_.udp_ = CreateMaybeMessage< ::goby::middleware::protobuf::UDPPointToPointConfig >(
1200 GetArenaNoVirtual());
1203 return transport_.udp_;
1208 return transport_case() == kPty;
1210 inline void HubManager_BotToGPS::set_has_pty() {
1211 _oneof_case_[0] = kPty;
1213 inline const ::goby::middleware::protobuf::PTYConfig& HubManager_BotToGPS::_internal_pty()
const {
1214 return *transport_.pty_;
1219 clear_has_transport();
1220 ::goby::middleware::protobuf::PTYConfig* temp = transport_.pty_;
1221 transport_.pty_ = NULL;
1231 : *
reinterpret_cast< ::goby::middleware::protobuf::PTYConfig*
>(&::goby::middleware::protobuf::_PTYConfig_default_instance_);
1237 transport_.pty_ = CreateMaybeMessage< ::goby::middleware::protobuf::PTYConfig >(
1238 GetArenaNoVirtual());
1241 return transport_.pty_;
1246 return transport_case() == kSerial;
1248 inline void HubManager_BotToGPS::set_has_serial() {
1249 _oneof_case_[0] = kSerial;
1251 inline const ::goby::middleware::protobuf::SerialConfig& HubManager_BotToGPS::_internal_serial()
const {
1252 return *transport_.serial_;
1257 clear_has_transport();
1258 ::goby::middleware::protobuf::SerialConfig* temp = transport_.serial_;
1259 transport_.serial_ = NULL;
1268 ? *transport_.serial_
1269 : *
reinterpret_cast< ::goby::middleware::protobuf::SerialConfig*
>(&::goby::middleware::protobuf::_SerialConfig_default_instance_);
1272 if (!has_serial()) {
1275 transport_.serial_ = CreateMaybeMessage< ::goby::middleware::protobuf::SerialConfig >(
1276 GetArenaNoVirtual());
1279 return transport_.serial_;
1284 return transport_case() == kTcpClient;
1286 inline void HubManager_BotToGPS::set_has_tcp_client() {
1287 _oneof_case_[0] = kTcpClient;
1289 inline const ::goby::middleware::protobuf::TCPClientConfig& HubManager_BotToGPS::_internal_tcp_client()
const {
1290 return *transport_.tcp_client_;
1294 if (has_tcp_client()) {
1295 clear_has_transport();
1296 ::goby::middleware::protobuf::TCPClientConfig* temp = transport_.tcp_client_;
1297 transport_.tcp_client_ = NULL;
1305 return has_tcp_client()
1306 ? *transport_.tcp_client_
1307 : *
reinterpret_cast< ::goby::middleware::protobuf::TCPClientConfig*
>(&::goby::middleware::protobuf::_TCPClientConfig_default_instance_);
1310 if (!has_tcp_client()) {
1312 set_has_tcp_client();
1313 transport_.tcp_client_ = CreateMaybeMessage< ::goby::middleware::protobuf::TCPClientConfig >(
1314 GetArenaNoVirtual());
1317 return transport_.tcp_client_;
1322 return transport_case() == kTcpServer;
1324 inline void HubManager_BotToGPS::set_has_tcp_server() {
1325 _oneof_case_[0] = kTcpServer;
1327 inline const ::goby::middleware::protobuf::TCPServerConfig& HubManager_BotToGPS::_internal_tcp_server()
const {
1328 return *transport_.tcp_server_;
1332 if (has_tcp_server()) {
1333 clear_has_transport();
1334 ::goby::middleware::protobuf::TCPServerConfig* temp = transport_.tcp_server_;
1335 transport_.tcp_server_ = NULL;
1343 return has_tcp_server()
1344 ? *transport_.tcp_server_
1345 : *
reinterpret_cast< ::goby::middleware::protobuf::TCPServerConfig*
>(&::goby::middleware::protobuf::_TCPServerConfig_default_instance_);
1348 if (!has_tcp_server()) {
1350 set_has_tcp_server();
1351 transport_.tcp_server_ = CreateMaybeMessage< ::goby::middleware::protobuf::TCPServerConfig >(
1352 GetArenaNoVirtual());
1355 return transport_.tcp_server_;
1358 inline bool HubManager_BotToGPS::has_transport()
const {
1359 return transport_case() != TRANSPORT_NOT_SET;
1361 inline void HubManager_BotToGPS::clear_has_transport() {
1362 _oneof_case_[0] = TRANSPORT_NOT_SET;
1373 return (_has_bits_[0] & 0x00000020u) != 0;
1375 inline void HubManager::set_has_app() {
1376 _has_bits_[0] |= 0x00000020u;
1378 inline void HubManager::clear_has_app() {
1379 _has_bits_[0] &= ~0x00000020u;
1381 inline const ::goby::middleware::protobuf::AppConfig& HubManager::_internal_app()
const {
1385 const ::goby::middleware::protobuf::AppConfig* p = app_;
1387 return p != NULL ? *p : *
reinterpret_cast<const ::goby::middleware::protobuf::AppConfig*
>(
1388 &::goby::middleware::protobuf::_AppConfig_default_instance_);
1393 ::goby::middleware::protobuf::AppConfig* temp = app_;
1400 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaNoVirtual());
1407 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1408 if (message_arena == NULL) {
1409 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(app_);
1412 ::google::protobuf::Arena* submessage_arena = NULL;
1413 if (message_arena != submessage_arena) {
1414 app = ::google::protobuf::internal::GetOwnedMessage(
1415 message_arena, app, submessage_arena);
1427 return (_has_bits_[0] & 0x00000040u) != 0;
1429 inline void HubManager::set_has_interprocess() {
1430 _has_bits_[0] |= 0x00000040u;
1432 inline void HubManager::clear_has_interprocess() {
1433 _has_bits_[0] &= ~0x00000040u;
1435 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& HubManager::_internal_interprocess()
const {
1436 return *interprocess_;
1439 const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = interprocess_;
1441 return p != NULL ? *p : *
reinterpret_cast<const ::goby::zeromq::protobuf::InterProcessPortalConfig*
>(
1442 &::goby::zeromq::protobuf::_InterProcessPortalConfig_default_instance_);
1446 clear_has_interprocess();
1447 ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = interprocess_;
1448 interprocess_ = NULL;
1452 set_has_interprocess();
1453 if (interprocess_ == NULL) {
1454 auto* p = CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig>(GetArenaNoVirtual());
1458 return interprocess_;
1461 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1462 if (message_arena == NULL) {
1463 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(interprocess_);
1466 ::google::protobuf::Arena* submessage_arena = NULL;
1467 if (message_arena != submessage_arena) {
1468 interprocess = ::google::protobuf::internal::GetOwnedMessage(
1469 message_arena, interprocess, submessage_arena);
1471 set_has_interprocess();
1473 clear_has_interprocess();
1475 interprocess_ = interprocess;
1481 return (_has_bits_[0] & 0x00000080u) != 0;
1483 inline void HubManager::set_has_xbee() {
1484 _has_bits_[0] |= 0x00000080u;
1486 inline void HubManager::clear_has_xbee() {
1487 _has_bits_[0] &= ~0x00000080u;
1489 inline const ::xbee::protobuf::Config& HubManager::_internal_xbee()
const {
1493 const ::xbee::protobuf::Config* p = xbee_;
1507 if (xbee_ == NULL) {
1508 auto* p = CreateMaybeMessage<::xbee::protobuf::Config>(GetArenaNoVirtual());
1515 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1516 if (message_arena == NULL) {
1517 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(xbee_);
1520 ::google::protobuf::Arena* submessage_arena = NULL;
1521 if (message_arena != submessage_arena) {
1522 xbee = ::google::protobuf::internal::GetOwnedMessage(
1523 message_arena,
xbee, submessage_arena);
1535 return (_has_bits_[0] & 0x00000100u) != 0;
1537 inline void HubManager::set_has_status_sub_cfg() {
1538 _has_bits_[0] |= 0x00000100u;
1540 inline void HubManager::clear_has_status_sub_cfg() {
1541 _has_bits_[0] &= ~0x00000100u;
1543 inline const ::goby::middleware::protobuf::TransporterConfig& HubManager::_internal_status_sub_cfg()
const {
1544 return *status_sub_cfg_;
1547 const ::goby::middleware::protobuf::TransporterConfig* p = status_sub_cfg_;
1549 return p != NULL ? *p : *
reinterpret_cast<const ::goby::middleware::protobuf::TransporterConfig*
>(
1550 &::goby::middleware::protobuf::_TransporterConfig_default_instance_);
1554 clear_has_status_sub_cfg();
1555 ::goby::middleware::protobuf::TransporterConfig* temp = status_sub_cfg_;
1556 status_sub_cfg_ = NULL;
1560 set_has_status_sub_cfg();
1561 if (status_sub_cfg_ == NULL) {
1562 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::TransporterConfig>(GetArenaNoVirtual());
1563 status_sub_cfg_ = p;
1566 return status_sub_cfg_;
1569 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1570 if (message_arena == NULL) {
1571 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(status_sub_cfg_);
1573 if (status_sub_cfg) {
1574 ::google::protobuf::Arena* submessage_arena = NULL;
1575 if (message_arena != submessage_arena) {
1576 status_sub_cfg = ::google::protobuf::internal::GetOwnedMessage(
1577 message_arena, status_sub_cfg, submessage_arena);
1579 set_has_status_sub_cfg();
1581 clear_has_status_sub_cfg();
1583 status_sub_cfg_ = status_sub_cfg;
1589 return (_has_bits_[0] & 0x00000200u) != 0;
1591 inline void HubManager::set_has_task_packet_sub_cfg() {
1592 _has_bits_[0] |= 0x00000200u;
1594 inline void HubManager::clear_has_task_packet_sub_cfg() {
1595 _has_bits_[0] &= ~0x00000200u;
1597 inline const ::goby::middleware::protobuf::TransporterConfig& HubManager::_internal_task_packet_sub_cfg()
const {
1598 return *task_packet_sub_cfg_;
1601 const ::goby::middleware::protobuf::TransporterConfig* p = task_packet_sub_cfg_;
1603 return p != NULL ? *p : *
reinterpret_cast<const ::goby::middleware::protobuf::TransporterConfig*
>(
1604 &::goby::middleware::protobuf::_TransporterConfig_default_instance_);
1608 clear_has_task_packet_sub_cfg();
1609 ::goby::middleware::protobuf::TransporterConfig* temp = task_packet_sub_cfg_;
1610 task_packet_sub_cfg_ = NULL;
1614 set_has_task_packet_sub_cfg();
1615 if (task_packet_sub_cfg_ == NULL) {
1616 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::TransporterConfig>(GetArenaNoVirtual());
1617 task_packet_sub_cfg_ = p;
1620 return task_packet_sub_cfg_;
1623 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1624 if (message_arena == NULL) {
1625 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(task_packet_sub_cfg_);
1627 if (task_packet_sub_cfg) {
1628 ::google::protobuf::Arena* submessage_arena = NULL;
1629 if (message_arena != submessage_arena) {
1630 task_packet_sub_cfg = ::google::protobuf::internal::GetOwnedMessage(
1631 message_arena, task_packet_sub_cfg, submessage_arena);
1633 set_has_task_packet_sub_cfg();
1635 clear_has_task_packet_sub_cfg();
1637 task_packet_sub_cfg_ = task_packet_sub_cfg;
1643 return (_has_bits_[0] & 0x00000400u) != 0;
1645 inline void HubManager::set_has_engineering_status_sub_cfg() {
1646 _has_bits_[0] |= 0x00000400u;
1648 inline void HubManager::clear_has_engineering_status_sub_cfg() {
1649 _has_bits_[0] &= ~0x00000400u;
1651 inline const ::goby::middleware::protobuf::TransporterConfig& HubManager::_internal_engineering_status_sub_cfg()
const {
1652 return *engineering_status_sub_cfg_;
1655 const ::goby::middleware::protobuf::TransporterConfig* p = engineering_status_sub_cfg_;
1657 return p != NULL ? *p : *
reinterpret_cast<const ::goby::middleware::protobuf::TransporterConfig*
>(
1658 &::goby::middleware::protobuf::_TransporterConfig_default_instance_);
1662 clear_has_engineering_status_sub_cfg();
1663 ::goby::middleware::protobuf::TransporterConfig* temp = engineering_status_sub_cfg_;
1664 engineering_status_sub_cfg_ = NULL;
1668 set_has_engineering_status_sub_cfg();
1669 if (engineering_status_sub_cfg_ == NULL) {
1670 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::TransporterConfig>(GetArenaNoVirtual());
1671 engineering_status_sub_cfg_ = p;
1674 return engineering_status_sub_cfg_;
1677 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1678 if (message_arena == NULL) {
1679 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(engineering_status_sub_cfg_);
1681 if (engineering_status_sub_cfg) {
1682 ::google::protobuf::Arena* submessage_arena = NULL;
1683 if (message_arena != submessage_arena) {
1684 engineering_status_sub_cfg = ::google::protobuf::internal::GetOwnedMessage(
1685 message_arena, engineering_status_sub_cfg, submessage_arena);
1687 set_has_engineering_status_sub_cfg();
1689 clear_has_engineering_status_sub_cfg();
1691 engineering_status_sub_cfg_ = engineering_status_sub_cfg;
1697 return (_has_bits_[0] & 0x00001000u) != 0;
1699 inline void HubManager::set_has_hub_id() {
1700 _has_bits_[0] |= 0x00001000u;
1702 inline void HubManager::clear_has_hub_id() {
1703 _has_bits_[0] &= ~0x00001000u;
1721 return (_has_bits_[0] & 0x00002000u) != 0;
1723 inline void HubManager::set_has_fleet_id() {
1724 _has_bits_[0] |= 0x00002000u;
1726 inline void HubManager::clear_has_fleet_id() {
1727 _has_bits_[0] &= ~0x00002000u;
1731 clear_has_fleet_id();
1745 return (_has_bits_[0] & 0x00010000u) != 0;
1747 inline void HubManager::set_has_health_report_timeout_seconds() {
1748 _has_bits_[0] |= 0x00010000u;
1750 inline void HubManager::clear_has_health_report_timeout_seconds() {
1751 _has_bits_[0] &= ~0x00010000u;
1754 health_report_timeout_seconds_ = 20;
1755 clear_has_health_report_timeout_seconds();
1759 return health_report_timeout_seconds_;
1762 set_has_health_report_timeout_seconds();
1763 health_report_timeout_seconds_ = value;
1769 return (_has_bits_[0] & 0x00000800u) != 0;
1771 inline void HubManager::set_has_vfleet() {
1772 _has_bits_[0] |= 0x00000800u;
1774 inline void HubManager::clear_has_vfleet() {
1775 _has_bits_[0] &= ~0x00000800u;
1778 if (vfleet_ != NULL) vfleet_->Clear();
1781 inline const ::jaiabot::config::HubManager_VirtualFleetData& HubManager::_internal_vfleet()
const {
1785 const ::jaiabot::config::HubManager_VirtualFleetData* p = vfleet_;
1799 if (vfleet_ == NULL) {
1800 auto* p = CreateMaybeMessage<::jaiabot::config::HubManager_VirtualFleetData>(GetArenaNoVirtual());
1807 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1808 if (message_arena == NULL) {
1812 ::google::protobuf::Arena* submessage_arena = NULL;
1813 if (message_arena != submessage_arena) {
1814 vfleet = ::google::protobuf::internal::GetOwnedMessage(
1815 message_arena, vfleet, submessage_arena);
1827 return (_has_bits_[0] & 0x00000001u) != 0;
1829 inline void HubManager::set_has_data_offload_script() {
1830 _has_bits_[0] |= 0x00000001u;
1832 inline void HubManager::clear_has_data_offload_script() {
1833 _has_bits_[0] &= ~0x00000001u;
1836 data_offload_script_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1837 clear_has_data_offload_script();
1841 return data_offload_script_.GetNoArena();
1844 set_has_data_offload_script();
1845 data_offload_script_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1850 set_has_data_offload_script();
1851 data_offload_script_.SetNoArena(
1852 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1857 GOOGLE_DCHECK(value != NULL);
1858 set_has_data_offload_script();
1859 data_offload_script_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1863 set_has_data_offload_script();
1864 data_offload_script_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1865 ::std::string(
reinterpret_cast<const char*
>(value), size));
1869 set_has_data_offload_script();
1871 return data_offload_script_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1875 if (!has_data_offload_script()) {
1878 clear_has_data_offload_script();
1879 return data_offload_script_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1882 if (data_offload_script != NULL) {
1883 set_has_data_offload_script();
1885 clear_has_data_offload_script();
1887 data_offload_script_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), data_offload_script);
1893 return (_has_bits_[0] & 0x00000002u) != 0;
1895 inline void HubManager::set_has_log_staging_dir() {
1896 _has_bits_[0] |= 0x00000002u;
1898 inline void HubManager::clear_has_log_staging_dir() {
1899 _has_bits_[0] &= ~0x00000002u;
1903 clear_has_log_staging_dir();
1907 return log_staging_dir_.GetNoArena();
1910 set_has_log_staging_dir();
1916 set_has_log_staging_dir();
1917 log_staging_dir_.SetNoArena(
1923 GOOGLE_DCHECK(value != NULL);
1924 set_has_log_staging_dir();
1929 set_has_log_staging_dir();
1931 ::std::string(
reinterpret_cast<const char*
>(value), size));
1935 set_has_log_staging_dir();
1941 if (!has_log_staging_dir()) {
1944 clear_has_log_staging_dir();
1948 if (log_staging_dir != NULL) {
1949 set_has_log_staging_dir();
1951 clear_has_log_staging_dir();
1959 return (_has_bits_[0] & 0x00000004u) != 0;
1961 inline void HubManager::set_has_log_offload_dir() {
1962 _has_bits_[0] |= 0x00000004u;
1964 inline void HubManager::clear_has_log_offload_dir() {
1965 _has_bits_[0] &= ~0x00000004u;
1969 clear_has_log_offload_dir();
1973 return log_offload_dir_.GetNoArena();
1976 set_has_log_offload_dir();
1982 set_has_log_offload_dir();
1983 log_offload_dir_.SetNoArena(
1989 GOOGLE_DCHECK(value != NULL);
1990 set_has_log_offload_dir();
1995 set_has_log_offload_dir();
1997 ::std::string(
reinterpret_cast<const char*
>(value), size));
2001 set_has_log_offload_dir();
2007 if (!has_log_offload_dir()) {
2010 clear_has_log_offload_dir();
2014 if (log_offload_dir != NULL) {
2015 set_has_log_offload_dir();
2017 clear_has_log_offload_dir();
2025 return (_has_bits_[0] & 0x00020000u) != 0;
2027 inline void HubManager::set_has_bot_start_ip() {
2028 _has_bits_[0] |= 0x00020000u;
2030 inline void HubManager::clear_has_bot_start_ip() {
2031 _has_bits_[0] &= ~0x00020000u;
2034 bot_start_ip_ = 100;
2035 clear_has_bot_start_ip();
2039 return bot_start_ip_;
2042 set_has_bot_start_ip();
2043 bot_start_ip_ = value;
2049 return (_has_bits_[0] & 0x00000008u) != 0;
2051 inline void HubManager::set_has_class_b_network() {
2052 _has_bits_[0] |= 0x00000008u;
2054 inline void HubManager::clear_has_class_b_network() {
2055 _has_bits_[0] &= ~0x00000008u;
2059 clear_has_class_b_network();
2063 return class_b_network_.GetNoArena();
2066 set_has_class_b_network();
2072 set_has_class_b_network();
2073 class_b_network_.SetNoArena(
2079 GOOGLE_DCHECK(value != NULL);
2080 set_has_class_b_network();
2085 set_has_class_b_network();
2087 ::std::string(
reinterpret_cast<const char*
>(value), size));
2091 set_has_class_b_network();
2097 if (!has_class_b_network()) {
2100 clear_has_class_b_network();
2104 if (class_b_network != NULL) {
2105 set_has_class_b_network();
2107 clear_has_class_b_network();
2115 return (_has_bits_[0] & 0x00004000u) != 0;
2117 inline void HubManager::set_has_use_localhost_for_data_offload() {
2118 _has_bits_[0] |= 0x00004000u;
2120 inline void HubManager::clear_has_use_localhost_for_data_offload() {
2121 _has_bits_[0] &= ~0x00004000u;
2124 use_localhost_for_data_offload_ =
false;
2125 clear_has_use_localhost_for_data_offload();
2129 return use_localhost_for_data_offload_;
2132 set_has_use_localhost_for_data_offload();
2133 use_localhost_for_data_offload_ = value;
2139 return (_has_bits_[0] & 0x00000010u) != 0;
2141 inline void HubManager::set_has_hub_gpsd_device() {
2142 _has_bits_[0] |= 0x00000010u;
2144 inline void HubManager::clear_has_hub_gpsd_device() {
2145 _has_bits_[0] &= ~0x00000010u;
2148 hub_gpsd_device_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2149 clear_has_hub_gpsd_device();
2153 return hub_gpsd_device_.GetNoArena();
2156 set_has_hub_gpsd_device();
2157 hub_gpsd_device_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2162 set_has_hub_gpsd_device();
2163 hub_gpsd_device_.SetNoArena(
2164 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2169 GOOGLE_DCHECK(value != NULL);
2170 set_has_hub_gpsd_device();
2171 hub_gpsd_device_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2175 set_has_hub_gpsd_device();
2176 hub_gpsd_device_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2177 ::std::string(
reinterpret_cast<const char*
>(value), size));
2181 set_has_hub_gpsd_device();
2183 return hub_gpsd_device_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2187 if (!has_hub_gpsd_device()) {
2190 clear_has_hub_gpsd_device();
2191 return hub_gpsd_device_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2194 if (hub_gpsd_device != NULL) {
2195 set_has_hub_gpsd_device();
2197 clear_has_hub_gpsd_device();
2199 hub_gpsd_device_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), hub_gpsd_device);
2205 return contact_gps_.size();
2208 contact_gps_.Clear();
2212 return contact_gps_.Mutable(index);
2214 inline ::google::protobuf::RepeatedPtrField< ::jaiabot::config::HubManager_ContactGPS >*
2217 return &contact_gps_;
2221 return contact_gps_.Get(index);
2225 return contact_gps_.Add();
2227 inline const ::google::protobuf::RepeatedPtrField< ::jaiabot::config::HubManager_ContactGPS >&
2230 return contact_gps_;
2235 return bot_to_gps_.size();
2238 bot_to_gps_.Clear();
2242 return bot_to_gps_.Mutable(index);
2244 inline ::google::protobuf::RepeatedPtrField< ::jaiabot::config::HubManager_BotToGPS >*
2247 return &bot_to_gps_;
2251 return bot_to_gps_.Get(index);
2255 return bot_to_gps_.Add();
2257 inline const ::google::protobuf::RepeatedPtrField< ::jaiabot::config::HubManager_BotToGPS >&
2265 return (_has_bits_[0] & 0x00008000u) != 0;
2267 inline void HubManager::set_has_contact_blackout_seconds() {
2268 _has_bits_[0] |= 0x00008000u;
2270 inline void HubManager::clear_has_contact_blackout_seconds() {
2271 _has_bits_[0] &= ~0x00008000u;
2274 contact_blackout_seconds_ = 2;
2275 clear_has_contact_blackout_seconds();
2279 return contact_blackout_seconds_;
2282 set_has_contact_blackout_seconds();
2283 contact_blackout_seconds_ = value;
2288 #pragma GCC diagnostic pop
2304 #endif // PROTOBUF_INCLUDED_bin_2fhub_5fmanager_2fconfig_2eproto