4#ifndef GOOGLE_PROTOBUF_INCLUDED_bin_2fhub_5fmanager_2fconfig_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_bin_2fhub_5fmanager_2fconfig_2eproto
10#include <google/protobuf/port_def.inc>
11#if PROTOBUF_VERSION < 3021000
12#error This file was generated by a newer version of protoc which is
13#error incompatible with your Protocol Buffer headers. Please update
16#if 3021012 < PROTOBUF_MIN_PROTOC_VERSION
17#error This file was generated by an older version of protoc which is
18#error incompatible with your Protocol Buffer headers. Please
19#error regenerate this file with a newer version of protoc.
22#include <google/protobuf/port_undef.inc>
23#include <google/protobuf/io/coded_stream.h>
24#include <google/protobuf/arena.h>
25#include <google/protobuf/arenastring.h>
26#include <google/protobuf/generated_message_util.h>
27#include <google/protobuf/metadata_lite.h>
28#include <google/protobuf/generated_message_reflection.h>
29#include <google/protobuf/message.h>
30#include <google/protobuf/repeated_field.h>
31#include <google/protobuf/extension_set.h>
32#include <google/protobuf/unknown_field_set.h>
33#include "goby/middleware/protobuf/app_config.pb.h"
34#include "goby/zeromq/protobuf/interprocess_config.pb.h"
35#include "goby/middleware/protobuf/udp_config.pb.h"
36#include "goby/middleware/protobuf/pty_config.pb.h"
37#include "goby/middleware/protobuf/serial_config.pb.h"
38#include "goby/middleware/protobuf/tcp_config.pb.h"
41#include "goby/acomms/protobuf/buffer.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#include <google/protobuf/port_def.inc>
48#define PROTOBUF_INTERNAL_EXPORT_bin_2fhub_5fmanager_2fconfig_2eproto
49PROTOBUF_NAMESPACE_OPEN
53PROTOBUF_NAMESPACE_CLOSE
63struct HubManagerDefaultTypeInternal;
65class HubManager_BotToGPS;
66struct HubManager_BotToGPSDefaultTypeInternal;
68class HubManager_ContactGPS;
69struct HubManager_ContactGPSDefaultTypeInternal;
71class HubManager_ExpectedHubs;
72struct HubManager_ExpectedHubsDefaultTypeInternal;
74class HubManager_VirtualFleetData;
75struct HubManager_VirtualFleetDataDefaultTypeInternal;
79PROTOBUF_NAMESPACE_OPEN
85PROTOBUF_NAMESPACE_CLOSE
92 public ::PROTOBUF_NAMESPACE_ID::Message {
101 *
this = ::std::move(from);
109 if (
this == &from)
return *
this;
110 if (GetOwningArena() == from.GetOwningArena()
111 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
112 && GetOwningArena() !=
nullptr
123 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
126 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
129 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
152 if (other ==
this)
return;
153 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
154 if (GetOwningArena() !=
nullptr &&
155 GetOwningArena() == other->GetOwningArena()) {
157 if (GetOwningArena() == other->GetOwningArena()) {
161 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
165 if (other ==
this)
return;
166 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
173 return CreateMaybeMessage<HubManager_ExpectedHubs>(arena);
175 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
177 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
179 HubManager_ExpectedHubs::MergeImpl(*
this, from);
182 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
184 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
190 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
194 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
196 void SetCachedSize(
int size)
const final;
200 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
201 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
202 return "jaiabot.config.HubManager.ExpectedHubs";
206 bool is_message_owned =
false);
210 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
224 int _internal_id_size()
const;
228 int32_t _internal_id(
int index)
const;
229 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
230 _internal_id()
const;
231 void _internal_add_id(int32_t value);
232 ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
233 _internal_mutable_id();
235 int32_t
id(
int index)
const;
236 void set_id(
int index, int32_t value);
237 void add_id(int32_t value);
238 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
240 ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
247 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
248 typedef void InternalArenaConstructable_;
249 typedef void DestructorSkippable_;
251 ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > id_;
252 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
255 friend struct ::TableStruct_bin_2fhub_5fmanager_2fconfig_2eproto;
260 public ::PROTOBUF_NAMESPACE_ID::Message {
269 *
this = ::std::move(from);
277 if (
this == &from)
return *
this;
278 if (GetOwningArena() == from.GetOwningArena()
279 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
280 && GetOwningArena() !=
nullptr
291 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
294 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
297 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
298 return GetDescriptor();
301 return default_instance().GetMetadata().descriptor;
304 return default_instance().GetMetadata().reflection;
307 return *internal_default_instance();
313 static constexpr int kIndexInFileMessages =
320 if (other ==
this)
return;
321 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
322 if (GetOwningArena() !=
nullptr &&
323 GetOwningArena() == other->GetOwningArena()) {
325 if (GetOwningArena() == other->GetOwningArena()) {
329 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
333 if (other ==
this)
return;
334 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
341 return CreateMaybeMessage<HubManager_VirtualFleetData>(arena);
343 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
345 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
347 HubManager_VirtualFleetData::MergeImpl(*
this, from);
350 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
352 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
353 bool IsInitialized() const final;
355 size_t ByteSizeLong() const final;
356 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
357 uint8_t* _InternalSerialize(
358 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
359 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
362 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
364 void SetCachedSize(
int size)
const final;
368 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
369 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
370 return "jaiabot.config.HubManager.VirtualFleetData";
374 bool is_message_owned =
false);
378 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
380 ::PROTOBUF_NAMESPACE_ID::
Metadata GetMetadata() const final;
387 kShutdownAfterLastCommandSecondsFieldNumber = 1,
388 kHubShutdownDelaySecondsFieldNumber = 2,
391 bool has_shutdown_after_last_command_seconds()
const;
393 bool _internal_has_shutdown_after_last_command_seconds()
const;
395 void clear_shutdown_after_last_command_seconds();
396 int32_t shutdown_after_last_command_seconds()
const;
397 void set_shutdown_after_last_command_seconds(int32_t value);
399 int32_t _internal_shutdown_after_last_command_seconds()
const;
400 void _internal_set_shutdown_after_last_command_seconds(int32_t value);
404 bool has_hub_shutdown_delay_seconds()
const;
406 bool _internal_has_hub_shutdown_delay_seconds()
const;
408 void clear_hub_shutdown_delay_seconds();
409 int32_t hub_shutdown_delay_seconds()
const;
410 void set_hub_shutdown_delay_seconds(int32_t value);
412 int32_t _internal_hub_shutdown_delay_seconds()
const;
413 void _internal_set_hub_shutdown_delay_seconds(int32_t value);
421 size_t RequiredFieldsByteSizeFallback()
const;
423 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
424 typedef void InternalArenaConstructable_;
425 typedef void DestructorSkippable_;
427 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
428 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
429 int32_t shutdown_after_last_command_seconds_;
430 int32_t hub_shutdown_delay_seconds_;
433 friend struct ::TableStruct_bin_2fhub_5fmanager_2fconfig_2eproto;
438 public ::PROTOBUF_NAMESPACE_ID::Message {
447 *
this = ::std::move(from);
455 if (
this == &from)
return *
this;
456 if (GetOwningArena() == from.GetOwningArena()
457 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
458 && GetOwningArena() !=
nullptr
469 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
472 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
475 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
476 return GetDescriptor();
479 return default_instance().GetMetadata().descriptor;
482 return default_instance().GetMetadata().reflection;
485 return *internal_default_instance();
491 static constexpr int kIndexInFileMessages =
498 if (other ==
this)
return;
499 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
500 if (GetOwningArena() !=
nullptr &&
501 GetOwningArena() == other->GetOwningArena()) {
503 if (GetOwningArena() == other->GetOwningArena()) {
507 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
511 if (other ==
this)
return;
512 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
519 return CreateMaybeMessage<HubManager_ContactGPS>(arena);
521 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
523 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
525 HubManager_ContactGPS::MergeImpl(*
this, from);
528 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
530 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
531 bool IsInitialized() const final;
533 size_t ByteSizeLong() const final;
534 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
535 uint8_t* _InternalSerialize(
536 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
537 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
540 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
542 void SetCachedSize(
int size)
const final;
546 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
547 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
548 return "jaiabot.config.HubManager.ContactGPS";
552 bool is_message_owned =
false);
556 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
558 ::PROTOBUF_NAMESPACE_ID::
Metadata GetMetadata() const final;
565 kGpsdDeviceFieldNumber = 1,
566 kContactFieldNumber = 2,
567 kUseCogFieldNumber = 3,
570 bool has_gpsd_device()
const;
572 bool _internal_has_gpsd_device()
const;
574 void clear_gpsd_device();
575 const std::string& gpsd_device()
const;
576 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
578 std::string* mutable_gpsd_device();
579 PROTOBUF_NODISCARD std::string* release_gpsd_device();
580 void set_allocated_gpsd_device(std::string* gpsd_device);
582 const std::string& _internal_gpsd_device()
const;
583 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_gpsd_device(
const std::string& value);
584 std::string* _internal_mutable_gpsd_device();
588 bool has_contact()
const;
590 bool _internal_has_contact()
const;
592 void clear_contact();
593 int32_t contact()
const;
594 void set_contact(int32_t value);
596 int32_t _internal_contact()
const;
597 void _internal_set_contact(int32_t value);
601 bool has_use_cog()
const;
603 bool _internal_has_use_cog()
const;
605 void clear_use_cog();
606 bool use_cog()
const;
607 void set_use_cog(
bool value);
609 bool _internal_use_cog()
const;
610 void _internal_set_use_cog(
bool value);
618 size_t RequiredFieldsByteSizeFallback()
const;
620 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
621 typedef void InternalArenaConstructable_;
622 typedef void DestructorSkippable_;
624 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
625 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
626 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr gpsd_device_;
631 friend struct ::TableStruct_bin_2fhub_5fmanager_2fconfig_2eproto;
636 public ::PROTOBUF_NAMESPACE_ID::Message {
645 *
this = ::std::move(from);
653 if (
this == &from)
return *
this;
654 if (GetOwningArena() == from.GetOwningArena()
655 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
656 && GetOwningArena() !=
nullptr
667 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
670 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
673 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
674 return GetDescriptor();
677 return default_instance().GetMetadata().descriptor;
680 return default_instance().GetMetadata().reflection;
683 return *internal_default_instance();
691 TRANSPORT_NOT_SET = 0,
698 static constexpr int kIndexInFileMessages =
705 if (other ==
this)
return;
706 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
707 if (GetOwningArena() !=
nullptr &&
708 GetOwningArena() == other->GetOwningArena()) {
710 if (GetOwningArena() == other->GetOwningArena()) {
714 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
718 if (other ==
this)
return;
719 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
726 return CreateMaybeMessage<HubManager_BotToGPS>(arena);
728 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
730 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
732 HubManager_BotToGPS::MergeImpl(*
this, from);
735 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
737 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
738 bool IsInitialized() const final;
740 size_t ByteSizeLong() const final;
741 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
742 uint8_t* _InternalSerialize(
743 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
744 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
747 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
749 void SetCachedSize(
int size)
const final;
753 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
754 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
755 return "jaiabot.config.HubManager.BotToGPS";
759 bool is_message_owned =
false);
763 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
765 ::PROTOBUF_NAMESPACE_ID::
Metadata GetMetadata() const final;
772 kBotIdFieldNumber = 1,
775 kSerialFieldNumber = 4,
776 kTcpClientFieldNumber = 5,
777 kTcpServerFieldNumber = 6,
780 bool has_bot_id()
const;
782 bool _internal_has_bot_id()
const;
785 int32_t bot_id()
const;
786 void set_bot_id(int32_t value);
788 int32_t _internal_bot_id()
const;
789 void _internal_set_bot_id(int32_t value);
793 bool has_udp()
const;
795 bool _internal_has_udp()
const;
798 const ::goby::middleware::protobuf::UDPPointToPointConfig& udp()
const;
799 PROTOBUF_NODISCARD ::goby::middleware::protobuf::UDPPointToPointConfig* release_udp();
800 ::goby::middleware::protobuf::UDPPointToPointConfig* mutable_udp();
803 const ::goby::middleware::protobuf::UDPPointToPointConfig& _internal_udp()
const;
804 ::goby::middleware::protobuf::UDPPointToPointConfig* _internal_mutable_udp();
806 void unsafe_arena_set_allocated_udp(
807 ::goby::middleware::protobuf::UDPPointToPointConfig* udp);
808 ::goby::middleware::protobuf::UDPPointToPointConfig* unsafe_arena_release_udp();
811 bool has_pty()
const;
813 bool _internal_has_pty()
const;
816 const ::goby::middleware::protobuf::PTYConfig& pty()
const;
817 PROTOBUF_NODISCARD ::goby::middleware::protobuf::PTYConfig* release_pty();
818 ::goby::middleware::protobuf::PTYConfig* mutable_pty();
821 const ::goby::middleware::protobuf::PTYConfig& _internal_pty()
const;
822 ::goby::middleware::protobuf::PTYConfig* _internal_mutable_pty();
824 void unsafe_arena_set_allocated_pty(
825 ::goby::middleware::protobuf::PTYConfig* pty);
826 ::goby::middleware::protobuf::PTYConfig* unsafe_arena_release_pty();
829 bool has_serial()
const;
831 bool _internal_has_serial()
const;
834 const ::goby::middleware::protobuf::SerialConfig& serial()
const;
835 PROTOBUF_NODISCARD ::goby::middleware::protobuf::SerialConfig* release_serial();
836 ::goby::middleware::protobuf::SerialConfig* mutable_serial();
839 const ::goby::middleware::protobuf::SerialConfig& _internal_serial()
const;
840 ::goby::middleware::protobuf::SerialConfig* _internal_mutable_serial();
842 void unsafe_arena_set_allocated_serial(
843 ::goby::middleware::protobuf::SerialConfig* serial);
844 ::goby::middleware::protobuf::SerialConfig* unsafe_arena_release_serial();
847 bool has_tcp_client()
const;
849 bool _internal_has_tcp_client()
const;
852 const ::goby::middleware::protobuf::TCPClientConfig& tcp_client()
const;
853 PROTOBUF_NODISCARD ::goby::middleware::protobuf::TCPClientConfig* release_tcp_client();
854 ::goby::middleware::protobuf::TCPClientConfig* mutable_tcp_client();
857 const ::goby::middleware::protobuf::TCPClientConfig& _internal_tcp_client()
const;
858 ::goby::middleware::protobuf::TCPClientConfig* _internal_mutable_tcp_client();
860 void unsafe_arena_set_allocated_tcp_client(
861 ::goby::middleware::protobuf::TCPClientConfig* tcp_client);
862 ::goby::middleware::protobuf::TCPClientConfig* unsafe_arena_release_tcp_client();
865 bool has_tcp_server()
const;
867 bool _internal_has_tcp_server()
const;
870 const ::goby::middleware::protobuf::TCPServerConfig& tcp_server()
const;
871 PROTOBUF_NODISCARD ::goby::middleware::protobuf::TCPServerConfig* release_tcp_server();
872 ::goby::middleware::protobuf::TCPServerConfig* mutable_tcp_server();
875 const ::goby::middleware::protobuf::TCPServerConfig& _internal_tcp_server()
const;
876 ::goby::middleware::protobuf::TCPServerConfig* _internal_mutable_tcp_server();
878 void unsafe_arena_set_allocated_tcp_server(
879 ::goby::middleware::protobuf::TCPServerConfig* tcp_server);
880 ::goby::middleware::protobuf::TCPServerConfig* unsafe_arena_release_tcp_server();
889 void set_has_serial();
890 void set_has_tcp_client();
891 void set_has_tcp_server();
893 inline bool has_transport()
const;
894 inline void clear_has_transport();
896 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
897 typedef void InternalArenaConstructable_;
898 typedef void DestructorSkippable_;
900 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
901 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
905 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized
_constinit_;
906 ::goby::middleware::protobuf::UDPPointToPointConfig*
udp_;
907 ::goby::middleware::protobuf::PTYConfig*
pty_;
908 ::goby::middleware::protobuf::SerialConfig*
serial_;
912 uint32_t _oneof_case_[1];
916 friend struct ::TableStruct_bin_2fhub_5fmanager_2fconfig_2eproto;
921 public ::PROTOBUF_NAMESPACE_ID::Message {
925 explicit PROTOBUF_CONSTEXPR
HubManager(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
930 *
this = ::std::move(from);
938 if (
this == &from)
return *
this;
939 if (GetOwningArena() == from.GetOwningArena()
940 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
941 && GetOwningArena() !=
nullptr
952 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
955 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
958 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
959 return GetDescriptor();
962 return default_instance().GetMetadata().descriptor;
965 return default_instance().GetMetadata().reflection;
968 return *internal_default_instance();
974 static constexpr int kIndexInFileMessages =
981 if (other ==
this)
return;
982 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
983 if (GetOwningArena() !=
nullptr &&
984 GetOwningArena() == other->GetOwningArena()) {
986 if (GetOwningArena() == other->GetOwningArena()) {
990 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
994 if (other ==
this)
return;
995 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1002 return CreateMaybeMessage<HubManager>(arena);
1004 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
1006 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
1008 HubManager::MergeImpl(*
this, from);
1011 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
1013 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
1014 bool IsInitialized() const final;
1016 size_t ByteSizeLong() const final;
1017 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
1018 uint8_t* _InternalSerialize(
1019 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1020 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
1023 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
1025 void SetCachedSize(
int size)
const final;
1029 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1030 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1031 return "jaiabot.config.HubManager";
1035 bool is_message_owned =
false);
1039 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
1041 ::PROTOBUF_NAMESPACE_ID::
Metadata GetMetadata() const final;
1053 kContactGpsFieldNumber = 41,
1054 kBotToGpsFieldNumber = 42,
1055 kLinkToSubscribeOnFieldNumber = 51,
1056 kDataOffloadScriptFieldNumber = 30,
1057 kLogStagingDirFieldNumber = 31,
1058 kLogOffloadDirFieldNumber = 32,
1059 kClassBNetworkFieldNumber = 34,
1060 kCtdOffloadScriptFieldNumber = 36,
1061 kHubGpsdDeviceFieldNumber = 40,
1062 kAppFieldNumber = 1,
1063 kInterprocessFieldNumber = 2,
1064 kStatusBufferFieldNumber = 11,
1065 kTaskPacketBufferFieldNumber = 12,
1066 kEngineeringStatusBufferFieldNumber = 13,
1067 kExpectedHubsFieldNumber = 18,
1068 kHub2HubBufferFieldNumber = 19,
1069 kVfleetFieldNumber = 20,
1070 kHubIdFieldNumber = 14,
1071 kFleetIdFieldNumber = 15,
1072 kUseLocalhostForDataOffloadFieldNumber = 35,
1073 kSubnetMaskFieldNumber = 50,
1074 kContactBlackoutSecondsFieldNumber = 43,
1075 kHealthReportTimeoutSecondsFieldNumber = 16,
1076 kBotStartIpFieldNumber = 33,
1079 int contact_gps_size()
const;
1081 int _internal_contact_gps_size()
const;
1083 void clear_contact_gps();
1085 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::config::HubManager_ContactGPS >*
1086 mutable_contact_gps();
1088 const ::jaiabot::config::HubManager_ContactGPS& _internal_contact_gps(
int index)
const;
1091 const ::jaiabot::config::HubManager_ContactGPS& contact_gps(
int index)
const;
1093 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::config::HubManager_ContactGPS >&
1094 contact_gps()
const;
1097 int bot_to_gps_size()
const;
1099 int _internal_bot_to_gps_size()
const;
1101 void clear_bot_to_gps();
1103 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::config::HubManager_BotToGPS >*
1104 mutable_bot_to_gps();
1106 const ::jaiabot::config::HubManager_BotToGPS& _internal_bot_to_gps(
int index)
const;
1109 const ::jaiabot::config::HubManager_BotToGPS& bot_to_gps(
int index)
const;
1111 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::config::HubManager_BotToGPS >&
1115 int link_to_subscribe_on_size()
const;
1117 int _internal_link_to_subscribe_on_size()
const;
1119 void clear_link_to_subscribe_on();
1123 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* _internal_mutable_link_to_subscribe_on();
1128 const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>& link_to_subscribe_on()
const;
1129 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* mutable_link_to_subscribe_on();
1132 bool has_data_offload_script()
const;
1134 bool _internal_has_data_offload_script()
const;
1136 void clear_data_offload_script();
1137 const std::string& data_offload_script()
const;
1138 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
1140 std::string* mutable_data_offload_script();
1141 PROTOBUF_NODISCARD std::string* release_data_offload_script();
1142 void set_allocated_data_offload_script(std::string* data_offload_script);
1144 const std::string& _internal_data_offload_script()
const;
1145 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_data_offload_script(
const std::string& value);
1146 std::string* _internal_mutable_data_offload_script();
1150 bool has_log_staging_dir()
const;
1152 bool _internal_has_log_staging_dir()
const;
1154 void clear_log_staging_dir();
1155 const std::string& log_staging_dir()
const;
1156 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
1158 std::string* mutable_log_staging_dir();
1159 PROTOBUF_NODISCARD std::string* release_log_staging_dir();
1160 void set_allocated_log_staging_dir(std::string* log_staging_dir);
1162 const std::string& _internal_log_staging_dir()
const;
1163 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_log_staging_dir(
const std::string& value);
1164 std::string* _internal_mutable_log_staging_dir();
1168 bool has_log_offload_dir()
const;
1170 bool _internal_has_log_offload_dir()
const;
1172 void clear_log_offload_dir();
1173 const std::string& log_offload_dir()
const;
1174 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
1176 std::string* mutable_log_offload_dir();
1177 PROTOBUF_NODISCARD std::string* release_log_offload_dir();
1178 void set_allocated_log_offload_dir(std::string* log_offload_dir);
1180 const std::string& _internal_log_offload_dir()
const;
1181 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_log_offload_dir(
const std::string& value);
1182 std::string* _internal_mutable_log_offload_dir();
1186 bool has_class_b_network()
const;
1188 bool _internal_has_class_b_network()
const;
1190 void clear_class_b_network();
1191 const std::string& class_b_network()
const;
1192 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
1194 std::string* mutable_class_b_network();
1195 PROTOBUF_NODISCARD std::string* release_class_b_network();
1196 void set_allocated_class_b_network(std::string* class_b_network);
1198 const std::string& _internal_class_b_network()
const;
1199 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_class_b_network(
const std::string& value);
1200 std::string* _internal_mutable_class_b_network();
1204 bool has_ctd_offload_script()
const;
1206 bool _internal_has_ctd_offload_script()
const;
1208 void clear_ctd_offload_script();
1209 const std::string& ctd_offload_script()
const;
1210 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
1212 std::string* mutable_ctd_offload_script();
1213 PROTOBUF_NODISCARD std::string* release_ctd_offload_script();
1214 void set_allocated_ctd_offload_script(std::string* ctd_offload_script);
1216 const std::string& _internal_ctd_offload_script()
const;
1217 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_ctd_offload_script(
const std::string& value);
1218 std::string* _internal_mutable_ctd_offload_script();
1222 bool has_hub_gpsd_device()
const;
1224 bool _internal_has_hub_gpsd_device()
const;
1226 void clear_hub_gpsd_device();
1227 const std::string& hub_gpsd_device()
const;
1228 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
1230 std::string* mutable_hub_gpsd_device();
1231 PROTOBUF_NODISCARD std::string* release_hub_gpsd_device();
1232 void set_allocated_hub_gpsd_device(std::string* hub_gpsd_device);
1234 const std::string& _internal_hub_gpsd_device()
const;
1235 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_hub_gpsd_device(
const std::string& value);
1236 std::string* _internal_mutable_hub_gpsd_device();
1240 bool has_app()
const;
1242 bool _internal_has_app()
const;
1245 const ::goby::middleware::protobuf::AppConfig& app()
const;
1246 PROTOBUF_NODISCARD ::goby::middleware::protobuf::AppConfig* release_app();
1247 ::goby::middleware::protobuf::AppConfig* mutable_app();
1248 void set_allocated_app(::goby::middleware::protobuf::AppConfig* app);
1250 const ::goby::middleware::protobuf::AppConfig& _internal_app()
const;
1251 ::goby::middleware::protobuf::AppConfig* _internal_mutable_app();
1253 void unsafe_arena_set_allocated_app(
1254 ::goby::middleware::protobuf::AppConfig* app);
1255 ::goby::middleware::protobuf::AppConfig* unsafe_arena_release_app();
1258 bool has_interprocess()
const;
1260 bool _internal_has_interprocess()
const;
1263 const ::goby::zeromq::protobuf::InterProcessPortalConfig& interprocess()
const;
1264 PROTOBUF_NODISCARD ::goby::zeromq::protobuf::InterProcessPortalConfig* release_interprocess();
1265 ::goby::zeromq::protobuf::InterProcessPortalConfig* mutable_interprocess();
1266 void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
1268 const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess()
const;
1269 ::goby::zeromq::protobuf::InterProcessPortalConfig* _internal_mutable_interprocess();
1271 void unsafe_arena_set_allocated_interprocess(
1272 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
1273 ::goby::zeromq::protobuf::InterProcessPortalConfig* unsafe_arena_release_interprocess();
1276 bool has_status_buffer()
const;
1278 bool _internal_has_status_buffer()
const;
1281 const ::jaiabot::protobuf::LinkAwareBufferConfig& status_buffer()
const;
1282 PROTOBUF_NODISCARD ::jaiabot::protobuf::LinkAwareBufferConfig* release_status_buffer();
1286 const ::jaiabot::protobuf::LinkAwareBufferConfig& _internal_status_buffer()
const;
1289 void unsafe_arena_set_allocated_status_buffer(
1294 bool has_task_packet_buffer()
const;
1296 bool _internal_has_task_packet_buffer()
const;
1299 const ::jaiabot::protobuf::LinkAwareBufferConfig& task_packet_buffer()
const;
1300 PROTOBUF_NODISCARD ::jaiabot::protobuf::LinkAwareBufferConfig* release_task_packet_buffer();
1304 const ::jaiabot::protobuf::LinkAwareBufferConfig& _internal_task_packet_buffer()
const;
1307 void unsafe_arena_set_allocated_task_packet_buffer(
1312 bool has_engineering_status_buffer()
const;
1314 bool _internal_has_engineering_status_buffer()
const;
1317 const ::jaiabot::protobuf::LinkAwareBufferConfig& engineering_status_buffer()
const;
1318 PROTOBUF_NODISCARD ::jaiabot::protobuf::LinkAwareBufferConfig* release_engineering_status_buffer();
1322 const ::jaiabot::protobuf::LinkAwareBufferConfig& _internal_engineering_status_buffer()
const;
1325 void unsafe_arena_set_allocated_engineering_status_buffer(
1330 bool has_expected_hubs()
const;
1332 bool _internal_has_expected_hubs()
const;
1334 void clear_expected_hubs();
1335 const ::jaiabot::config::HubManager_ExpectedHubs& expected_hubs()
const;
1336 PROTOBUF_NODISCARD ::jaiabot::config::HubManager_ExpectedHubs* release_expected_hubs();
1340 const ::jaiabot::config::HubManager_ExpectedHubs& _internal_expected_hubs()
const;
1343 void unsafe_arena_set_allocated_expected_hubs(
1348 bool has_hub2hub_buffer()
const;
1350 bool _internal_has_hub2hub_buffer()
const;
1353 const ::goby::acomms::protobuf::DynamicBufferConfig& hub2hub_buffer()
const;
1354 PROTOBUF_NODISCARD ::goby::acomms::protobuf::DynamicBufferConfig* release_hub2hub_buffer();
1355 ::goby::acomms::protobuf::DynamicBufferConfig* mutable_hub2hub_buffer();
1356 void set_allocated_hub2hub_buffer(::goby::acomms::protobuf::DynamicBufferConfig* hub2hub_buffer);
1358 const ::goby::acomms::protobuf::DynamicBufferConfig& _internal_hub2hub_buffer()
const;
1359 ::goby::acomms::protobuf::DynamicBufferConfig* _internal_mutable_hub2hub_buffer();
1361 void unsafe_arena_set_allocated_hub2hub_buffer(
1362 ::goby::acomms::protobuf::DynamicBufferConfig* hub2hub_buffer);
1363 ::goby::acomms::protobuf::DynamicBufferConfig* unsafe_arena_release_hub2hub_buffer();
1366 bool has_vfleet()
const;
1368 bool _internal_has_vfleet()
const;
1370 void clear_vfleet();
1371 const ::jaiabot::config::HubManager_VirtualFleetData& vfleet()
const;
1372 PROTOBUF_NODISCARD ::jaiabot::config::HubManager_VirtualFleetData* release_vfleet();
1376 const ::jaiabot::config::HubManager_VirtualFleetData& _internal_vfleet()
const;
1379 void unsafe_arena_set_allocated_vfleet(
1384 bool has_hub_id()
const;
1386 bool _internal_has_hub_id()
const;
1388 void clear_hub_id();
1389 int32_t hub_id()
const;
1390 void set_hub_id(int32_t value);
1392 int32_t _internal_hub_id()
const;
1393 void _internal_set_hub_id(int32_t value);
1397 bool has_fleet_id()
const;
1399 bool _internal_has_fleet_id()
const;
1401 void clear_fleet_id();
1402 int32_t fleet_id()
const;
1403 void set_fleet_id(int32_t value);
1405 int32_t _internal_fleet_id()
const;
1406 void _internal_set_fleet_id(int32_t value);
1410 bool has_use_localhost_for_data_offload()
const;
1412 bool _internal_has_use_localhost_for_data_offload()
const;
1414 void clear_use_localhost_for_data_offload();
1415 bool use_localhost_for_data_offload()
const;
1416 void set_use_localhost_for_data_offload(
bool value);
1418 bool _internal_use_localhost_for_data_offload()
const;
1419 void _internal_set_use_localhost_for_data_offload(
bool value);
1423 bool has_subnet_mask()
const;
1425 bool _internal_has_subnet_mask()
const;
1427 void clear_subnet_mask();
1428 uint32_t subnet_mask()
const;
1429 void set_subnet_mask(uint32_t value);
1431 uint32_t _internal_subnet_mask()
const;
1432 void _internal_set_subnet_mask(uint32_t value);
1436 bool has_contact_blackout_seconds()
const;
1438 bool _internal_has_contact_blackout_seconds()
const;
1440 void clear_contact_blackout_seconds();
1441 int32_t contact_blackout_seconds()
const;
1442 void set_contact_blackout_seconds(int32_t value);
1444 int32_t _internal_contact_blackout_seconds()
const;
1445 void _internal_set_contact_blackout_seconds(int32_t value);
1449 bool has_health_report_timeout_seconds()
const;
1451 bool _internal_has_health_report_timeout_seconds()
const;
1453 void clear_health_report_timeout_seconds();
1454 int32_t health_report_timeout_seconds()
const;
1455 void set_health_report_timeout_seconds(int32_t value);
1457 int32_t _internal_health_report_timeout_seconds()
const;
1458 void _internal_set_health_report_timeout_seconds(int32_t value);
1462 bool has_bot_start_ip()
const;
1464 bool _internal_has_bot_start_ip()
const;
1466 void clear_bot_start_ip();
1467 int32_t bot_start_ip()
const;
1468 void set_bot_start_ip(int32_t value);
1470 int32_t _internal_bot_start_ip()
const;
1471 void _internal_set_bot_start_ip(int32_t value);
1479 size_t RequiredFieldsByteSizeFallback()
const;
1481 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1482 typedef void InternalArenaConstructable_;
1483 typedef void DestructorSkippable_;
1485 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1486 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1487 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::config::HubManager_ContactGPS > contact_gps_;
1488 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::config::HubManager_BotToGPS > bot_to_gps_;
1489 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int> link_to_subscribe_on_;
1490 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_offload_script_;
1491 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_log_staging_dir_;
1492 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr log_staging_dir_;
1493 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_log_offload_dir_;
1494 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr log_offload_dir_;
1495 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_class_b_network_;
1496 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr class_b_network_;
1497 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ctd_offload_script_;
1498 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr hub_gpsd_device_;
1499 ::goby::middleware::protobuf::AppConfig* app_;
1500 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess_;
1505 ::goby::acomms::protobuf::DynamicBufferConfig* hub2hub_buffer_;
1509 bool use_localhost_for_data_offload_;
1510 uint32_t subnet_mask_;
1511 int32_t contact_blackout_seconds_;
1512 int32_t health_report_timeout_seconds_;
1513 int32_t bot_start_ip_;
1516 friend struct ::TableStruct_bin_2fhub_5fmanager_2fconfig_2eproto;
1524 #pragma GCC diagnostic push
1525 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1530inline int HubManager_ExpectedHubs::_internal_id_size()
const {
1531 return _impl_.id_.size();
1533inline int HubManager_ExpectedHubs::id_size()
const {
1534 return _internal_id_size();
1536inline void HubManager_ExpectedHubs::clear_id() {
1539inline int32_t HubManager_ExpectedHubs::_internal_id(
int index)
const {
1540 return _impl_.id_.Get(index);
1542inline int32_t HubManager_ExpectedHubs::id(
int index)
const {
1544 return _internal_id(index);
1546inline void HubManager_ExpectedHubs::set_id(
int index, int32_t value) {
1547 _impl_.id_.Set(index, value);
1550inline void HubManager_ExpectedHubs::_internal_add_id(int32_t value) {
1551 _impl_.id_.Add(value);
1553inline void HubManager_ExpectedHubs::add_id(int32_t value) {
1554 _internal_add_id(value);
1557inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
1558HubManager_ExpectedHubs::_internal_id()
const {
1561inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
1562HubManager_ExpectedHubs::id()
const {
1564 return _internal_id();
1566inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
1567HubManager_ExpectedHubs::_internal_mutable_id() {
1570inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
1571HubManager_ExpectedHubs::mutable_id() {
1573 return _internal_mutable_id();
1581inline bool HubManager_VirtualFleetData::_internal_has_shutdown_after_last_command_seconds()
const {
1582 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1585inline bool HubManager_VirtualFleetData::has_shutdown_after_last_command_seconds()
const {
1586 return _internal_has_shutdown_after_last_command_seconds();
1588inline void HubManager_VirtualFleetData::clear_shutdown_after_last_command_seconds() {
1589 _impl_.shutdown_after_last_command_seconds_ = 3600;
1590 _impl_._has_bits_[0] &= ~0x00000001u;
1592inline int32_t HubManager_VirtualFleetData::_internal_shutdown_after_last_command_seconds()
const {
1593 return _impl_.shutdown_after_last_command_seconds_;
1595inline int32_t HubManager_VirtualFleetData::shutdown_after_last_command_seconds()
const {
1597 return _internal_shutdown_after_last_command_seconds();
1599inline void HubManager_VirtualFleetData::_internal_set_shutdown_after_last_command_seconds(int32_t value) {
1600 _impl_._has_bits_[0] |= 0x00000001u;
1601 _impl_.shutdown_after_last_command_seconds_ = value;
1603inline void HubManager_VirtualFleetData::set_shutdown_after_last_command_seconds(int32_t value) {
1604 _internal_set_shutdown_after_last_command_seconds(value);
1609inline bool HubManager_VirtualFleetData::_internal_has_hub_shutdown_delay_seconds()
const {
1610 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1613inline bool HubManager_VirtualFleetData::has_hub_shutdown_delay_seconds()
const {
1614 return _internal_has_hub_shutdown_delay_seconds();
1616inline void HubManager_VirtualFleetData::clear_hub_shutdown_delay_seconds() {
1617 _impl_.hub_shutdown_delay_seconds_ = 300;
1618 _impl_._has_bits_[0] &= ~0x00000002u;
1620inline int32_t HubManager_VirtualFleetData::_internal_hub_shutdown_delay_seconds()
const {
1621 return _impl_.hub_shutdown_delay_seconds_;
1623inline int32_t HubManager_VirtualFleetData::hub_shutdown_delay_seconds()
const {
1625 return _internal_hub_shutdown_delay_seconds();
1627inline void HubManager_VirtualFleetData::_internal_set_hub_shutdown_delay_seconds(int32_t value) {
1628 _impl_._has_bits_[0] |= 0x00000002u;
1629 _impl_.hub_shutdown_delay_seconds_ = value;
1631inline void HubManager_VirtualFleetData::set_hub_shutdown_delay_seconds(int32_t value) {
1632 _internal_set_hub_shutdown_delay_seconds(value);
1641inline bool HubManager_ContactGPS::_internal_has_gpsd_device()
const {
1642 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1645inline bool HubManager_ContactGPS::has_gpsd_device()
const {
1646 return _internal_has_gpsd_device();
1648inline void HubManager_ContactGPS::clear_gpsd_device() {
1649 _impl_.gpsd_device_.ClearToEmpty();
1650 _impl_._has_bits_[0] &= ~0x00000001u;
1652inline const std::string& HubManager_ContactGPS::gpsd_device()
const {
1654 return _internal_gpsd_device();
1656template <
typename ArgT0,
typename... ArgT>
1657inline PROTOBUF_ALWAYS_INLINE
1658void HubManager_ContactGPS::set_gpsd_device(ArgT0&& arg0, ArgT... args) {
1659 _impl_._has_bits_[0] |= 0x00000001u;
1660 _impl_.gpsd_device_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
1663inline std::string* HubManager_ContactGPS::mutable_gpsd_device() {
1664 std::string* _s = _internal_mutable_gpsd_device();
1668inline const std::string& HubManager_ContactGPS::_internal_gpsd_device()
const {
1669 return _impl_.gpsd_device_.Get();
1671inline void HubManager_ContactGPS::_internal_set_gpsd_device(
const std::string& value) {
1672 _impl_._has_bits_[0] |= 0x00000001u;
1673 _impl_.gpsd_device_.Set(value, GetArenaForAllocation());
1675inline std::string* HubManager_ContactGPS::_internal_mutable_gpsd_device() {
1676 _impl_._has_bits_[0] |= 0x00000001u;
1677 return _impl_.gpsd_device_.Mutable(GetArenaForAllocation());
1679inline std::string* HubManager_ContactGPS::release_gpsd_device() {
1681 if (!_internal_has_gpsd_device()) {
1684 _impl_._has_bits_[0] &= ~0x00000001u;
1685 auto* p = _impl_.gpsd_device_.Release();
1686#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1687 if (_impl_.gpsd_device_.IsDefault()) {
1688 _impl_.gpsd_device_.Set(
"", GetArenaForAllocation());
1693inline void HubManager_ContactGPS::set_allocated_gpsd_device(std::string* gpsd_device) {
1694 if (gpsd_device !=
nullptr) {
1695 _impl_._has_bits_[0] |= 0x00000001u;
1697 _impl_._has_bits_[0] &= ~0x00000001u;
1699 _impl_.gpsd_device_.SetAllocated(gpsd_device, GetArenaForAllocation());
1700#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1701 if (_impl_.gpsd_device_.IsDefault()) {
1702 _impl_.gpsd_device_.Set(
"", GetArenaForAllocation());
1709inline bool HubManager_ContactGPS::_internal_has_contact()
const {
1710 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1713inline bool HubManager_ContactGPS::has_contact()
const {
1714 return _internal_has_contact();
1716inline void HubManager_ContactGPS::clear_contact() {
1717 _impl_.contact_ = 0;
1718 _impl_._has_bits_[0] &= ~0x00000002u;
1720inline int32_t HubManager_ContactGPS::_internal_contact()
const {
1721 return _impl_.contact_;
1723inline int32_t HubManager_ContactGPS::contact()
const {
1725 return _internal_contact();
1727inline void HubManager_ContactGPS::_internal_set_contact(int32_t value) {
1728 _impl_._has_bits_[0] |= 0x00000002u;
1729 _impl_.contact_ = value;
1731inline void HubManager_ContactGPS::set_contact(int32_t value) {
1732 _internal_set_contact(value);
1737inline bool HubManager_ContactGPS::_internal_has_use_cog()
const {
1738 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1741inline bool HubManager_ContactGPS::has_use_cog()
const {
1742 return _internal_has_use_cog();
1744inline void HubManager_ContactGPS::clear_use_cog() {
1745 _impl_.use_cog_ =
false;
1746 _impl_._has_bits_[0] &= ~0x00000004u;
1748inline bool HubManager_ContactGPS::_internal_use_cog()
const {
1749 return _impl_.use_cog_;
1751inline bool HubManager_ContactGPS::use_cog()
const {
1753 return _internal_use_cog();
1755inline void HubManager_ContactGPS::_internal_set_use_cog(
bool value) {
1756 _impl_._has_bits_[0] |= 0x00000004u;
1757 _impl_.use_cog_ = value;
1759inline void HubManager_ContactGPS::set_use_cog(
bool value) {
1760 _internal_set_use_cog(value);
1769inline bool HubManager_BotToGPS::_internal_has_bot_id()
const {
1770 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1773inline bool HubManager_BotToGPS::has_bot_id()
const {
1774 return _internal_has_bot_id();
1776inline void HubManager_BotToGPS::clear_bot_id() {
1778 _impl_._has_bits_[0] &= ~0x00000001u;
1780inline int32_t HubManager_BotToGPS::_internal_bot_id()
const {
1781 return _impl_.bot_id_;
1783inline int32_t HubManager_BotToGPS::bot_id()
const {
1785 return _internal_bot_id();
1787inline void HubManager_BotToGPS::_internal_set_bot_id(int32_t value) {
1788 _impl_._has_bits_[0] |= 0x00000001u;
1789 _impl_.bot_id_ = value;
1791inline void HubManager_BotToGPS::set_bot_id(int32_t value) {
1792 _internal_set_bot_id(value);
1797inline bool HubManager_BotToGPS::_internal_has_udp()
const {
1798 return transport_case() == kUdp;
1800inline bool HubManager_BotToGPS::has_udp()
const {
1801 return _internal_has_udp();
1803inline void HubManager_BotToGPS::set_has_udp() {
1804 _impl_._oneof_case_[0] = kUdp;
1806inline ::goby::middleware::protobuf::UDPPointToPointConfig* HubManager_BotToGPS::release_udp() {
1808 if (_internal_has_udp()) {
1809 clear_has_transport();
1810 ::goby::middleware::protobuf::UDPPointToPointConfig* temp = _impl_.transport_.udp_;
1811 if (GetArenaForAllocation() !=
nullptr) {
1812 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1814 _impl_.transport_.udp_ =
nullptr;
1820inline const ::goby::middleware::protobuf::UDPPointToPointConfig& HubManager_BotToGPS::_internal_udp()
const {
1821 return _internal_has_udp()
1822 ? *_impl_.transport_.udp_
1823 :
reinterpret_cast< ::goby::middleware::protobuf::UDPPointToPointConfig&
>(::goby::middleware::protobuf::_UDPPointToPointConfig_default_instance_);
1825inline const ::goby::middleware::protobuf::UDPPointToPointConfig& HubManager_BotToGPS::udp()
const {
1827 return _internal_udp();
1829inline ::goby::middleware::protobuf::UDPPointToPointConfig* HubManager_BotToGPS::unsafe_arena_release_udp() {
1831 if (_internal_has_udp()) {
1832 clear_has_transport();
1833 ::goby::middleware::protobuf::UDPPointToPointConfig* temp = _impl_.transport_.udp_;
1834 _impl_.transport_.udp_ =
nullptr;
1840inline void HubManager_BotToGPS::unsafe_arena_set_allocated_udp(::goby::middleware::protobuf::UDPPointToPointConfig* udp) {
1844 _impl_.transport_.udp_ = udp;
1848inline ::goby::middleware::protobuf::UDPPointToPointConfig* HubManager_BotToGPS::_internal_mutable_udp() {
1849 if (!_internal_has_udp()) {
1852 _impl_.transport_.udp_ = CreateMaybeMessage< ::goby::middleware::protobuf::UDPPointToPointConfig >(GetArenaForAllocation());
1854 return _impl_.transport_.udp_;
1856inline ::goby::middleware::protobuf::UDPPointToPointConfig* HubManager_BotToGPS::mutable_udp() {
1857 ::goby::middleware::protobuf::UDPPointToPointConfig* _msg = _internal_mutable_udp();
1863inline bool HubManager_BotToGPS::_internal_has_pty()
const {
1864 return transport_case() == kPty;
1866inline bool HubManager_BotToGPS::has_pty()
const {
1867 return _internal_has_pty();
1869inline void HubManager_BotToGPS::set_has_pty() {
1870 _impl_._oneof_case_[0] = kPty;
1872inline ::goby::middleware::protobuf::PTYConfig* HubManager_BotToGPS::release_pty() {
1874 if (_internal_has_pty()) {
1875 clear_has_transport();
1876 ::goby::middleware::protobuf::PTYConfig* temp = _impl_.transport_.pty_;
1877 if (GetArenaForAllocation() !=
nullptr) {
1878 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1880 _impl_.transport_.pty_ =
nullptr;
1886inline const ::goby::middleware::protobuf::PTYConfig& HubManager_BotToGPS::_internal_pty()
const {
1887 return _internal_has_pty()
1888 ? *_impl_.transport_.pty_
1889 :
reinterpret_cast< ::goby::middleware::protobuf::PTYConfig&
>(::goby::middleware::protobuf::_PTYConfig_default_instance_);
1891inline const ::goby::middleware::protobuf::PTYConfig& HubManager_BotToGPS::pty()
const {
1893 return _internal_pty();
1895inline ::goby::middleware::protobuf::PTYConfig* HubManager_BotToGPS::unsafe_arena_release_pty() {
1897 if (_internal_has_pty()) {
1898 clear_has_transport();
1899 ::goby::middleware::protobuf::PTYConfig* temp = _impl_.transport_.pty_;
1900 _impl_.transport_.pty_ =
nullptr;
1906inline void HubManager_BotToGPS::unsafe_arena_set_allocated_pty(::goby::middleware::protobuf::PTYConfig* pty) {
1910 _impl_.transport_.pty_ = pty;
1914inline ::goby::middleware::protobuf::PTYConfig* HubManager_BotToGPS::_internal_mutable_pty() {
1915 if (!_internal_has_pty()) {
1918 _impl_.transport_.pty_ = CreateMaybeMessage< ::goby::middleware::protobuf::PTYConfig >(GetArenaForAllocation());
1920 return _impl_.transport_.pty_;
1922inline ::goby::middleware::protobuf::PTYConfig* HubManager_BotToGPS::mutable_pty() {
1923 ::goby::middleware::protobuf::PTYConfig* _msg = _internal_mutable_pty();
1929inline bool HubManager_BotToGPS::_internal_has_serial()
const {
1930 return transport_case() == kSerial;
1932inline bool HubManager_BotToGPS::has_serial()
const {
1933 return _internal_has_serial();
1935inline void HubManager_BotToGPS::set_has_serial() {
1936 _impl_._oneof_case_[0] = kSerial;
1938inline ::goby::middleware::protobuf::SerialConfig* HubManager_BotToGPS::release_serial() {
1940 if (_internal_has_serial()) {
1941 clear_has_transport();
1942 ::goby::middleware::protobuf::SerialConfig* temp = _impl_.transport_.serial_;
1943 if (GetArenaForAllocation() !=
nullptr) {
1944 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1946 _impl_.transport_.serial_ =
nullptr;
1952inline const ::goby::middleware::protobuf::SerialConfig& HubManager_BotToGPS::_internal_serial()
const {
1953 return _internal_has_serial()
1954 ? *_impl_.transport_.serial_
1955 :
reinterpret_cast< ::goby::middleware::protobuf::SerialConfig&
>(::goby::middleware::protobuf::_SerialConfig_default_instance_);
1957inline const ::goby::middleware::protobuf::SerialConfig& HubManager_BotToGPS::serial()
const {
1959 return _internal_serial();
1961inline ::goby::middleware::protobuf::SerialConfig* HubManager_BotToGPS::unsafe_arena_release_serial() {
1963 if (_internal_has_serial()) {
1964 clear_has_transport();
1965 ::goby::middleware::protobuf::SerialConfig* temp = _impl_.transport_.serial_;
1966 _impl_.transport_.serial_ =
nullptr;
1972inline void HubManager_BotToGPS::unsafe_arena_set_allocated_serial(::goby::middleware::protobuf::SerialConfig* serial) {
1976 _impl_.transport_.serial_ = serial;
1980inline ::goby::middleware::protobuf::SerialConfig* HubManager_BotToGPS::_internal_mutable_serial() {
1981 if (!_internal_has_serial()) {
1984 _impl_.transport_.serial_ = CreateMaybeMessage< ::goby::middleware::protobuf::SerialConfig >(GetArenaForAllocation());
1986 return _impl_.transport_.serial_;
1988inline ::goby::middleware::protobuf::SerialConfig* HubManager_BotToGPS::mutable_serial() {
1989 ::goby::middleware::protobuf::SerialConfig* _msg = _internal_mutable_serial();
1995inline bool HubManager_BotToGPS::_internal_has_tcp_client()
const {
1996 return transport_case() == kTcpClient;
1998inline bool HubManager_BotToGPS::has_tcp_client()
const {
1999 return _internal_has_tcp_client();
2001inline void HubManager_BotToGPS::set_has_tcp_client() {
2002 _impl_._oneof_case_[0] = kTcpClient;
2004inline ::goby::middleware::protobuf::TCPClientConfig* HubManager_BotToGPS::release_tcp_client() {
2006 if (_internal_has_tcp_client()) {
2007 clear_has_transport();
2008 ::goby::middleware::protobuf::TCPClientConfig* temp = _impl_.transport_.tcp_client_;
2009 if (GetArenaForAllocation() !=
nullptr) {
2010 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2012 _impl_.transport_.tcp_client_ =
nullptr;
2018inline const ::goby::middleware::protobuf::TCPClientConfig& HubManager_BotToGPS::_internal_tcp_client()
const {
2019 return _internal_has_tcp_client()
2020 ? *_impl_.transport_.tcp_client_
2021 :
reinterpret_cast< ::goby::middleware::protobuf::TCPClientConfig&
>(::goby::middleware::protobuf::_TCPClientConfig_default_instance_);
2023inline const ::goby::middleware::protobuf::TCPClientConfig& HubManager_BotToGPS::tcp_client()
const {
2025 return _internal_tcp_client();
2027inline ::goby::middleware::protobuf::TCPClientConfig* HubManager_BotToGPS::unsafe_arena_release_tcp_client() {
2029 if (_internal_has_tcp_client()) {
2030 clear_has_transport();
2031 ::goby::middleware::protobuf::TCPClientConfig* temp = _impl_.transport_.tcp_client_;
2032 _impl_.transport_.tcp_client_ =
nullptr;
2038inline void HubManager_BotToGPS::unsafe_arena_set_allocated_tcp_client(::goby::middleware::protobuf::TCPClientConfig* tcp_client) {
2041 set_has_tcp_client();
2042 _impl_.transport_.tcp_client_ = tcp_client;
2046inline ::goby::middleware::protobuf::TCPClientConfig* HubManager_BotToGPS::_internal_mutable_tcp_client() {
2047 if (!_internal_has_tcp_client()) {
2049 set_has_tcp_client();
2050 _impl_.transport_.tcp_client_ = CreateMaybeMessage< ::goby::middleware::protobuf::TCPClientConfig >(GetArenaForAllocation());
2052 return _impl_.transport_.tcp_client_;
2054inline ::goby::middleware::protobuf::TCPClientConfig* HubManager_BotToGPS::mutable_tcp_client() {
2055 ::goby::middleware::protobuf::TCPClientConfig* _msg = _internal_mutable_tcp_client();
2061inline bool HubManager_BotToGPS::_internal_has_tcp_server()
const {
2062 return transport_case() == kTcpServer;
2064inline bool HubManager_BotToGPS::has_tcp_server()
const {
2065 return _internal_has_tcp_server();
2067inline void HubManager_BotToGPS::set_has_tcp_server() {
2068 _impl_._oneof_case_[0] = kTcpServer;
2070inline ::goby::middleware::protobuf::TCPServerConfig* HubManager_BotToGPS::release_tcp_server() {
2072 if (_internal_has_tcp_server()) {
2073 clear_has_transport();
2074 ::goby::middleware::protobuf::TCPServerConfig* temp = _impl_.transport_.tcp_server_;
2075 if (GetArenaForAllocation() !=
nullptr) {
2076 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2078 _impl_.transport_.tcp_server_ =
nullptr;
2084inline const ::goby::middleware::protobuf::TCPServerConfig& HubManager_BotToGPS::_internal_tcp_server()
const {
2085 return _internal_has_tcp_server()
2086 ? *_impl_.transport_.tcp_server_
2087 :
reinterpret_cast< ::goby::middleware::protobuf::TCPServerConfig&
>(::goby::middleware::protobuf::_TCPServerConfig_default_instance_);
2089inline const ::goby::middleware::protobuf::TCPServerConfig& HubManager_BotToGPS::tcp_server()
const {
2091 return _internal_tcp_server();
2093inline ::goby::middleware::protobuf::TCPServerConfig* HubManager_BotToGPS::unsafe_arena_release_tcp_server() {
2095 if (_internal_has_tcp_server()) {
2096 clear_has_transport();
2097 ::goby::middleware::protobuf::TCPServerConfig* temp = _impl_.transport_.tcp_server_;
2098 _impl_.transport_.tcp_server_ =
nullptr;
2104inline void HubManager_BotToGPS::unsafe_arena_set_allocated_tcp_server(::goby::middleware::protobuf::TCPServerConfig* tcp_server) {
2107 set_has_tcp_server();
2108 _impl_.transport_.tcp_server_ = tcp_server;
2112inline ::goby::middleware::protobuf::TCPServerConfig* HubManager_BotToGPS::_internal_mutable_tcp_server() {
2113 if (!_internal_has_tcp_server()) {
2115 set_has_tcp_server();
2116 _impl_.transport_.tcp_server_ = CreateMaybeMessage< ::goby::middleware::protobuf::TCPServerConfig >(GetArenaForAllocation());
2118 return _impl_.transport_.tcp_server_;
2120inline ::goby::middleware::protobuf::TCPServerConfig* HubManager_BotToGPS::mutable_tcp_server() {
2121 ::goby::middleware::protobuf::TCPServerConfig* _msg = _internal_mutable_tcp_server();
2126inline bool HubManager_BotToGPS::has_transport()
const {
2127 return transport_case() != TRANSPORT_NOT_SET;
2129inline void HubManager_BotToGPS::clear_has_transport() {
2130 _impl_._oneof_case_[0] = TRANSPORT_NOT_SET;
2140inline bool HubManager::_internal_has_app()
const {
2141 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
2142 PROTOBUF_ASSUME(!value || _impl_.app_ !=
nullptr);
2145inline bool HubManager::has_app()
const {
2146 return _internal_has_app();
2148inline const ::goby::middleware::protobuf::AppConfig& HubManager::_internal_app()
const {
2149 const ::goby::middleware::protobuf::AppConfig* p = _impl_.app_;
2150 return p !=
nullptr ? *p :
reinterpret_cast<const ::goby::middleware::protobuf::AppConfig&
>(
2151 ::goby::middleware::protobuf::_AppConfig_default_instance_);
2153inline const ::goby::middleware::protobuf::AppConfig& HubManager::app()
const {
2155 return _internal_app();
2157inline void HubManager::unsafe_arena_set_allocated_app(
2158 ::goby::middleware::protobuf::AppConfig* app) {
2159 if (GetArenaForAllocation() ==
nullptr) {
2160 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.app_);
2164 _impl_._has_bits_[0] |= 0x00000040u;
2166 _impl_._has_bits_[0] &= ~0x00000040u;
2170inline ::goby::middleware::protobuf::AppConfig* HubManager::release_app() {
2171 _impl_._has_bits_[0] &= ~0x00000040u;
2172 ::goby::middleware::protobuf::AppConfig* temp = _impl_.app_;
2173 _impl_.app_ =
nullptr;
2174#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
2175 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
2176 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2177 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
2179 if (GetArenaForAllocation() !=
nullptr) {
2180 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2185inline ::goby::middleware::protobuf::AppConfig* HubManager::unsafe_arena_release_app() {
2187 _impl_._has_bits_[0] &= ~0x00000040u;
2188 ::goby::middleware::protobuf::AppConfig* temp = _impl_.app_;
2189 _impl_.app_ =
nullptr;
2192inline ::goby::middleware::protobuf::AppConfig* HubManager::_internal_mutable_app() {
2193 _impl_._has_bits_[0] |= 0x00000040u;
2194 if (_impl_.app_ ==
nullptr) {
2195 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaForAllocation());
2200inline ::goby::middleware::protobuf::AppConfig* HubManager::mutable_app() {
2201 ::goby::middleware::protobuf::AppConfig* _msg = _internal_mutable_app();
2205inline void HubManager::set_allocated_app(::goby::middleware::protobuf::AppConfig* app) {
2206 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2207 if (message_arena ==
nullptr) {
2208 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.app_);
2211 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
2212 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
2213 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(app));
2214 if (message_arena != submessage_arena) {
2215 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2216 message_arena, app, submessage_arena);
2218 _impl_._has_bits_[0] |= 0x00000040u;
2220 _impl_._has_bits_[0] &= ~0x00000040u;
2227inline bool HubManager::_internal_has_interprocess()
const {
2228 bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
2229 PROTOBUF_ASSUME(!value || _impl_.interprocess_ !=
nullptr);
2232inline bool HubManager::has_interprocess()
const {
2233 return _internal_has_interprocess();
2235inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& HubManager::_internal_interprocess()
const {
2236 const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = _impl_.interprocess_;
2237 return p !=
nullptr ? *p :
reinterpret_cast<const ::goby::zeromq::protobuf::InterProcessPortalConfig&
>(
2238 ::goby::zeromq::protobuf::_InterProcessPortalConfig_default_instance_);
2240inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& HubManager::interprocess()
const {
2242 return _internal_interprocess();
2244inline void HubManager::unsafe_arena_set_allocated_interprocess(
2245 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
2246 if (GetArenaForAllocation() ==
nullptr) {
2247 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.interprocess_);
2249 _impl_.interprocess_ = interprocess;
2251 _impl_._has_bits_[0] |= 0x00000080u;
2253 _impl_._has_bits_[0] &= ~0x00000080u;
2257inline ::goby::zeromq::protobuf::InterProcessPortalConfig* HubManager::release_interprocess() {
2258 _impl_._has_bits_[0] &= ~0x00000080u;
2259 ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = _impl_.interprocess_;
2260 _impl_.interprocess_ =
nullptr;
2261#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
2262 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
2263 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2264 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
2266 if (GetArenaForAllocation() !=
nullptr) {
2267 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2272inline ::goby::zeromq::protobuf::InterProcessPortalConfig* HubManager::unsafe_arena_release_interprocess() {
2274 _impl_._has_bits_[0] &= ~0x00000080u;
2275 ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = _impl_.interprocess_;
2276 _impl_.interprocess_ =
nullptr;
2279inline ::goby::zeromq::protobuf::InterProcessPortalConfig* HubManager::_internal_mutable_interprocess() {
2280 _impl_._has_bits_[0] |= 0x00000080u;
2281 if (_impl_.interprocess_ ==
nullptr) {
2282 auto* p = CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig>(GetArenaForAllocation());
2283 _impl_.interprocess_ = p;
2285 return _impl_.interprocess_;
2287inline ::goby::zeromq::protobuf::InterProcessPortalConfig* HubManager::mutable_interprocess() {
2288 ::goby::zeromq::protobuf::InterProcessPortalConfig* _msg = _internal_mutable_interprocess();
2292inline void HubManager::set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
2293 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2294 if (message_arena ==
nullptr) {
2295 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.interprocess_);
2298 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
2299 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
2300 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(interprocess));
2301 if (message_arena != submessage_arena) {
2302 interprocess = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2303 message_arena, interprocess, submessage_arena);
2305 _impl_._has_bits_[0] |= 0x00000080u;
2307 _impl_._has_bits_[0] &= ~0x00000080u;
2309 _impl_.interprocess_ = interprocess;
2314inline bool HubManager::_internal_has_expected_hubs()
const {
2315 bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0;
2316 PROTOBUF_ASSUME(!value || _impl_.expected_hubs_ !=
nullptr);
2319inline bool HubManager::has_expected_hubs()
const {
2320 return _internal_has_expected_hubs();
2322inline void HubManager::clear_expected_hubs() {
2323 if (_impl_.expected_hubs_ !=
nullptr) _impl_.expected_hubs_->Clear();
2324 _impl_._has_bits_[0] &= ~0x00000800u;
2326inline const ::jaiabot::config::HubManager_ExpectedHubs& HubManager::_internal_expected_hubs()
const {
2327 const ::jaiabot::config::HubManager_ExpectedHubs* p = _impl_.expected_hubs_;
2331inline const ::jaiabot::config::HubManager_ExpectedHubs& HubManager::expected_hubs()
const {
2333 return _internal_expected_hubs();
2335inline void HubManager::unsafe_arena_set_allocated_expected_hubs(
2337 if (GetArenaForAllocation() ==
nullptr) {
2338 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.expected_hubs_);
2340 _impl_.expected_hubs_ = expected_hubs;
2341 if (expected_hubs) {
2342 _impl_._has_bits_[0] |= 0x00000800u;
2344 _impl_._has_bits_[0] &= ~0x00000800u;
2348inline ::jaiabot::config::HubManager_ExpectedHubs* HubManager::release_expected_hubs() {
2349 _impl_._has_bits_[0] &= ~0x00000800u;
2351 _impl_.expected_hubs_ =
nullptr;
2352#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
2353 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
2354 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2355 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
2357 if (GetArenaForAllocation() !=
nullptr) {
2358 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2363inline ::jaiabot::config::HubManager_ExpectedHubs* HubManager::unsafe_arena_release_expected_hubs() {
2365 _impl_._has_bits_[0] &= ~0x00000800u;
2367 _impl_.expected_hubs_ =
nullptr;
2370inline ::jaiabot::config::HubManager_ExpectedHubs* HubManager::_internal_mutable_expected_hubs() {
2371 _impl_._has_bits_[0] |= 0x00000800u;
2372 if (_impl_.expected_hubs_ ==
nullptr) {
2374 _impl_.expected_hubs_ = p;
2376 return _impl_.expected_hubs_;
2378inline ::jaiabot::config::HubManager_ExpectedHubs* HubManager::mutable_expected_hubs() {
2384 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2385 if (message_arena ==
nullptr) {
2386 delete _impl_.expected_hubs_;
2388 if (expected_hubs) {
2389 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
2390 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(expected_hubs);
2391 if (message_arena != submessage_arena) {
2392 expected_hubs = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2393 message_arena, expected_hubs, submessage_arena);
2395 _impl_._has_bits_[0] |= 0x00000800u;
2397 _impl_._has_bits_[0] &= ~0x00000800u;
2399 _impl_.expected_hubs_ = expected_hubs;
2404inline bool HubManager::_internal_has_status_buffer()
const {
2405 bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
2406 PROTOBUF_ASSUME(!value || _impl_.status_buffer_ !=
nullptr);
2409inline bool HubManager::has_status_buffer()
const {
2410 return _internal_has_status_buffer();
2412inline const ::jaiabot::protobuf::LinkAwareBufferConfig& HubManager::_internal_status_buffer()
const {
2413 const ::jaiabot::protobuf::LinkAwareBufferConfig* p = _impl_.status_buffer_;
2417inline const ::jaiabot::protobuf::LinkAwareBufferConfig& HubManager::status_buffer()
const {
2419 return _internal_status_buffer();
2421inline void HubManager::unsafe_arena_set_allocated_status_buffer(
2423 if (GetArenaForAllocation() ==
nullptr) {
2424 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.status_buffer_);
2426 _impl_.status_buffer_ = status_buffer;
2427 if (status_buffer) {
2428 _impl_._has_bits_[0] |= 0x00000100u;
2430 _impl_._has_bits_[0] &= ~0x00000100u;
2434inline ::jaiabot::protobuf::LinkAwareBufferConfig* HubManager::release_status_buffer() {
2435 _impl_._has_bits_[0] &= ~0x00000100u;
2437 _impl_.status_buffer_ =
nullptr;
2438#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
2439 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
2440 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2441 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
2443 if (GetArenaForAllocation() !=
nullptr) {
2444 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2449inline ::jaiabot::protobuf::LinkAwareBufferConfig* HubManager::unsafe_arena_release_status_buffer() {
2451 _impl_._has_bits_[0] &= ~0x00000100u;
2453 _impl_.status_buffer_ =
nullptr;
2456inline ::jaiabot::protobuf::LinkAwareBufferConfig* HubManager::_internal_mutable_status_buffer() {
2457 _impl_._has_bits_[0] |= 0x00000100u;
2458 if (_impl_.status_buffer_ ==
nullptr) {
2460 _impl_.status_buffer_ = p;
2462 return _impl_.status_buffer_;
2464inline ::jaiabot::protobuf::LinkAwareBufferConfig* HubManager::mutable_status_buffer() {
2470 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2471 if (message_arena ==
nullptr) {
2472 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.status_buffer_);
2474 if (status_buffer) {
2475 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
2476 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
2477 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(status_buffer));
2478 if (message_arena != submessage_arena) {
2479 status_buffer = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2480 message_arena, status_buffer, submessage_arena);
2482 _impl_._has_bits_[0] |= 0x00000100u;
2484 _impl_._has_bits_[0] &= ~0x00000100u;
2486 _impl_.status_buffer_ = status_buffer;
2491inline bool HubManager::_internal_has_task_packet_buffer()
const {
2492 bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0;
2493 PROTOBUF_ASSUME(!value || _impl_.task_packet_buffer_ !=
nullptr);
2496inline bool HubManager::has_task_packet_buffer()
const {
2497 return _internal_has_task_packet_buffer();
2499inline const ::jaiabot::protobuf::LinkAwareBufferConfig& HubManager::_internal_task_packet_buffer()
const {
2500 const ::jaiabot::protobuf::LinkAwareBufferConfig* p = _impl_.task_packet_buffer_;
2504inline const ::jaiabot::protobuf::LinkAwareBufferConfig& HubManager::task_packet_buffer()
const {
2506 return _internal_task_packet_buffer();
2508inline void HubManager::unsafe_arena_set_allocated_task_packet_buffer(
2510 if (GetArenaForAllocation() ==
nullptr) {
2511 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.task_packet_buffer_);
2513 _impl_.task_packet_buffer_ = task_packet_buffer;
2514 if (task_packet_buffer) {
2515 _impl_._has_bits_[0] |= 0x00000200u;
2517 _impl_._has_bits_[0] &= ~0x00000200u;
2521inline ::jaiabot::protobuf::LinkAwareBufferConfig* HubManager::release_task_packet_buffer() {
2522 _impl_._has_bits_[0] &= ~0x00000200u;
2524 _impl_.task_packet_buffer_ =
nullptr;
2525#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
2526 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
2527 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2528 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
2530 if (GetArenaForAllocation() !=
nullptr) {
2531 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2536inline ::jaiabot::protobuf::LinkAwareBufferConfig* HubManager::unsafe_arena_release_task_packet_buffer() {
2538 _impl_._has_bits_[0] &= ~0x00000200u;
2540 _impl_.task_packet_buffer_ =
nullptr;
2543inline ::jaiabot::protobuf::LinkAwareBufferConfig* HubManager::_internal_mutable_task_packet_buffer() {
2544 _impl_._has_bits_[0] |= 0x00000200u;
2545 if (_impl_.task_packet_buffer_ ==
nullptr) {
2547 _impl_.task_packet_buffer_ = p;
2549 return _impl_.task_packet_buffer_;
2551inline ::jaiabot::protobuf::LinkAwareBufferConfig* HubManager::mutable_task_packet_buffer() {
2557 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2558 if (message_arena ==
nullptr) {
2559 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.task_packet_buffer_);
2561 if (task_packet_buffer) {
2562 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
2563 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
2564 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(task_packet_buffer));
2565 if (message_arena != submessage_arena) {
2566 task_packet_buffer = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2567 message_arena, task_packet_buffer, submessage_arena);
2569 _impl_._has_bits_[0] |= 0x00000200u;
2571 _impl_._has_bits_[0] &= ~0x00000200u;
2573 _impl_.task_packet_buffer_ = task_packet_buffer;
2578inline bool HubManager::_internal_has_engineering_status_buffer()
const {
2579 bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0;
2580 PROTOBUF_ASSUME(!value || _impl_.engineering_status_buffer_ !=
nullptr);
2583inline bool HubManager::has_engineering_status_buffer()
const {
2584 return _internal_has_engineering_status_buffer();
2586inline const ::jaiabot::protobuf::LinkAwareBufferConfig& HubManager::_internal_engineering_status_buffer()
const {
2587 const ::jaiabot::protobuf::LinkAwareBufferConfig* p = _impl_.engineering_status_buffer_;
2591inline const ::jaiabot::protobuf::LinkAwareBufferConfig& HubManager::engineering_status_buffer()
const {
2593 return _internal_engineering_status_buffer();
2595inline void HubManager::unsafe_arena_set_allocated_engineering_status_buffer(
2597 if (GetArenaForAllocation() ==
nullptr) {
2598 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.engineering_status_buffer_);
2600 _impl_.engineering_status_buffer_ = engineering_status_buffer;
2601 if (engineering_status_buffer) {
2602 _impl_._has_bits_[0] |= 0x00000400u;
2604 _impl_._has_bits_[0] &= ~0x00000400u;
2608inline ::jaiabot::protobuf::LinkAwareBufferConfig* HubManager::release_engineering_status_buffer() {
2609 _impl_._has_bits_[0] &= ~0x00000400u;
2611 _impl_.engineering_status_buffer_ =
nullptr;
2612#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
2613 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
2614 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2615 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
2617 if (GetArenaForAllocation() !=
nullptr) {
2618 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2623inline ::jaiabot::protobuf::LinkAwareBufferConfig* HubManager::unsafe_arena_release_engineering_status_buffer() {
2625 _impl_._has_bits_[0] &= ~0x00000400u;
2627 _impl_.engineering_status_buffer_ =
nullptr;
2630inline ::jaiabot::protobuf::LinkAwareBufferConfig* HubManager::_internal_mutable_engineering_status_buffer() {
2631 _impl_._has_bits_[0] |= 0x00000400u;
2632 if (_impl_.engineering_status_buffer_ ==
nullptr) {
2634 _impl_.engineering_status_buffer_ = p;
2636 return _impl_.engineering_status_buffer_;
2638inline ::jaiabot::protobuf::LinkAwareBufferConfig* HubManager::mutable_engineering_status_buffer() {
2644 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2645 if (message_arena ==
nullptr) {
2646 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.engineering_status_buffer_);
2648 if (engineering_status_buffer) {
2649 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
2650 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
2651 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(engineering_status_buffer));
2652 if (message_arena != submessage_arena) {
2653 engineering_status_buffer = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2654 message_arena, engineering_status_buffer, submessage_arena);
2656 _impl_._has_bits_[0] |= 0x00000400u;
2658 _impl_._has_bits_[0] &= ~0x00000400u;
2660 _impl_.engineering_status_buffer_ = engineering_status_buffer;
2665inline bool HubManager::_internal_has_hub2hub_buffer()
const {
2666 bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0;
2667 PROTOBUF_ASSUME(!value || _impl_.hub2hub_buffer_ !=
nullptr);
2670inline bool HubManager::has_hub2hub_buffer()
const {
2671 return _internal_has_hub2hub_buffer();
2673inline const ::goby::acomms::protobuf::DynamicBufferConfig& HubManager::_internal_hub2hub_buffer()
const {
2674 const ::goby::acomms::protobuf::DynamicBufferConfig* p = _impl_.hub2hub_buffer_;
2675 return p !=
nullptr ? *p :
reinterpret_cast<const ::goby::acomms::protobuf::DynamicBufferConfig&
>(
2676 ::goby::acomms::protobuf::_DynamicBufferConfig_default_instance_);
2678inline const ::goby::acomms::protobuf::DynamicBufferConfig& HubManager::hub2hub_buffer()
const {
2680 return _internal_hub2hub_buffer();
2682inline void HubManager::unsafe_arena_set_allocated_hub2hub_buffer(
2683 ::goby::acomms::protobuf::DynamicBufferConfig* hub2hub_buffer) {
2684 if (GetArenaForAllocation() ==
nullptr) {
2685 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.hub2hub_buffer_);
2687 _impl_.hub2hub_buffer_ = hub2hub_buffer;
2688 if (hub2hub_buffer) {
2689 _impl_._has_bits_[0] |= 0x00001000u;
2691 _impl_._has_bits_[0] &= ~0x00001000u;
2695inline ::goby::acomms::protobuf::DynamicBufferConfig* HubManager::release_hub2hub_buffer() {
2696 _impl_._has_bits_[0] &= ~0x00001000u;
2697 ::goby::acomms::protobuf::DynamicBufferConfig* temp = _impl_.hub2hub_buffer_;
2698 _impl_.hub2hub_buffer_ =
nullptr;
2699#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
2700 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
2701 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2702 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
2704 if (GetArenaForAllocation() !=
nullptr) {
2705 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2710inline ::goby::acomms::protobuf::DynamicBufferConfig* HubManager::unsafe_arena_release_hub2hub_buffer() {
2712 _impl_._has_bits_[0] &= ~0x00001000u;
2713 ::goby::acomms::protobuf::DynamicBufferConfig* temp = _impl_.hub2hub_buffer_;
2714 _impl_.hub2hub_buffer_ =
nullptr;
2717inline ::goby::acomms::protobuf::DynamicBufferConfig* HubManager::_internal_mutable_hub2hub_buffer() {
2718 _impl_._has_bits_[0] |= 0x00001000u;
2719 if (_impl_.hub2hub_buffer_ ==
nullptr) {
2720 auto* p = CreateMaybeMessage<::goby::acomms::protobuf::DynamicBufferConfig>(GetArenaForAllocation());
2721 _impl_.hub2hub_buffer_ = p;
2723 return _impl_.hub2hub_buffer_;
2725inline ::goby::acomms::protobuf::DynamicBufferConfig* HubManager::mutable_hub2hub_buffer() {
2726 ::goby::acomms::protobuf::DynamicBufferConfig* _msg = _internal_mutable_hub2hub_buffer();
2730inline void HubManager::set_allocated_hub2hub_buffer(::goby::acomms::protobuf::DynamicBufferConfig* hub2hub_buffer) {
2731 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2732 if (message_arena ==
nullptr) {
2733 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.hub2hub_buffer_);
2735 if (hub2hub_buffer) {
2736 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
2737 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
2738 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(hub2hub_buffer));
2739 if (message_arena != submessage_arena) {
2740 hub2hub_buffer = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2741 message_arena, hub2hub_buffer, submessage_arena);
2743 _impl_._has_bits_[0] |= 0x00001000u;
2745 _impl_._has_bits_[0] &= ~0x00001000u;
2747 _impl_.hub2hub_buffer_ = hub2hub_buffer;
2752inline bool HubManager::_internal_has_hub_id()
const {
2753 bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0;
2756inline bool HubManager::has_hub_id()
const {
2757 return _internal_has_hub_id();
2759inline void HubManager::clear_hub_id() {
2761 _impl_._has_bits_[0] &= ~0x00004000u;
2763inline int32_t HubManager::_internal_hub_id()
const {
2764 return _impl_.hub_id_;
2766inline int32_t HubManager::hub_id()
const {
2768 return _internal_hub_id();
2770inline void HubManager::_internal_set_hub_id(int32_t value) {
2771 _impl_._has_bits_[0] |= 0x00004000u;
2772 _impl_.hub_id_ = value;
2774inline void HubManager::set_hub_id(int32_t value) {
2775 _internal_set_hub_id(value);
2780inline bool HubManager::_internal_has_fleet_id()
const {
2781 bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0;
2784inline bool HubManager::has_fleet_id()
const {
2785 return _internal_has_fleet_id();
2787inline void HubManager::clear_fleet_id() {
2788 _impl_.fleet_id_ = 0;
2789 _impl_._has_bits_[0] &= ~0x00008000u;
2791inline int32_t HubManager::_internal_fleet_id()
const {
2792 return _impl_.fleet_id_;
2794inline int32_t HubManager::fleet_id()
const {
2796 return _internal_fleet_id();
2798inline void HubManager::_internal_set_fleet_id(int32_t value) {
2799 _impl_._has_bits_[0] |= 0x00008000u;
2800 _impl_.fleet_id_ = value;
2802inline void HubManager::set_fleet_id(int32_t value) {
2803 _internal_set_fleet_id(value);
2808inline bool HubManager::_internal_has_health_report_timeout_seconds()
const {
2809 bool value = (_impl_._has_bits_[0] & 0x00080000u) != 0;
2812inline bool HubManager::has_health_report_timeout_seconds()
const {
2813 return _internal_has_health_report_timeout_seconds();
2815inline void HubManager::clear_health_report_timeout_seconds() {
2816 _impl_.health_report_timeout_seconds_ = 20;
2817 _impl_._has_bits_[0] &= ~0x00080000u;
2819inline int32_t HubManager::_internal_health_report_timeout_seconds()
const {
2820 return _impl_.health_report_timeout_seconds_;
2822inline int32_t HubManager::health_report_timeout_seconds()
const {
2824 return _internal_health_report_timeout_seconds();
2826inline void HubManager::_internal_set_health_report_timeout_seconds(int32_t value) {
2827 _impl_._has_bits_[0] |= 0x00080000u;
2828 _impl_.health_report_timeout_seconds_ = value;
2830inline void HubManager::set_health_report_timeout_seconds(int32_t value) {
2831 _internal_set_health_report_timeout_seconds(value);
2836inline bool HubManager::_internal_has_vfleet()
const {
2837 bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0;
2838 PROTOBUF_ASSUME(!value || _impl_.vfleet_ !=
nullptr);
2841inline bool HubManager::has_vfleet()
const {
2842 return _internal_has_vfleet();
2844inline void HubManager::clear_vfleet() {
2845 if (_impl_.vfleet_ !=
nullptr) _impl_.vfleet_->Clear();
2846 _impl_._has_bits_[0] &= ~0x00002000u;
2848inline const ::jaiabot::config::HubManager_VirtualFleetData& HubManager::_internal_vfleet()
const {
2849 const ::jaiabot::config::HubManager_VirtualFleetData* p = _impl_.vfleet_;
2853inline const ::jaiabot::config::HubManager_VirtualFleetData& HubManager::vfleet()
const {
2855 return _internal_vfleet();
2857inline void HubManager::unsafe_arena_set_allocated_vfleet(
2859 if (GetArenaForAllocation() ==
nullptr) {
2860 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.vfleet_);
2862 _impl_.vfleet_ = vfleet;
2864 _impl_._has_bits_[0] |= 0x00002000u;
2866 _impl_._has_bits_[0] &= ~0x00002000u;
2870inline ::jaiabot::config::HubManager_VirtualFleetData* HubManager::release_vfleet() {
2871 _impl_._has_bits_[0] &= ~0x00002000u;
2873 _impl_.vfleet_ =
nullptr;
2874#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
2875 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
2876 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2877 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
2879 if (GetArenaForAllocation() !=
nullptr) {
2880 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2885inline ::jaiabot::config::HubManager_VirtualFleetData* HubManager::unsafe_arena_release_vfleet() {
2887 _impl_._has_bits_[0] &= ~0x00002000u;
2889 _impl_.vfleet_ =
nullptr;
2892inline ::jaiabot::config::HubManager_VirtualFleetData* HubManager::_internal_mutable_vfleet() {
2893 _impl_._has_bits_[0] |= 0x00002000u;
2894 if (_impl_.vfleet_ ==
nullptr) {
2898 return _impl_.vfleet_;
2900inline ::jaiabot::config::HubManager_VirtualFleetData* HubManager::mutable_vfleet() {
2906 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2907 if (message_arena ==
nullptr) {
2908 delete _impl_.vfleet_;
2911 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
2912 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(vfleet);
2913 if (message_arena != submessage_arena) {
2914 vfleet = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2915 message_arena, vfleet, submessage_arena);
2917 _impl_._has_bits_[0] |= 0x00002000u;
2919 _impl_._has_bits_[0] &= ~0x00002000u;
2921 _impl_.vfleet_ = vfleet;
2926inline bool HubManager::_internal_has_data_offload_script()
const {
2927 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
2930inline bool HubManager::has_data_offload_script()
const {
2931 return _internal_has_data_offload_script();
2933inline void HubManager::clear_data_offload_script() {
2934 _impl_.data_offload_script_.ClearToEmpty();
2935 _impl_._has_bits_[0] &= ~0x00000001u;
2937inline const std::string& HubManager::data_offload_script()
const {
2939 return _internal_data_offload_script();
2941template <
typename ArgT0,
typename... ArgT>
2942inline PROTOBUF_ALWAYS_INLINE
2943void HubManager::set_data_offload_script(ArgT0&& arg0, ArgT... args) {
2944 _impl_._has_bits_[0] |= 0x00000001u;
2945 _impl_.data_offload_script_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
2948inline std::string* HubManager::mutable_data_offload_script() {
2949 std::string* _s = _internal_mutable_data_offload_script();
2953inline const std::string& HubManager::_internal_data_offload_script()
const {
2954 return _impl_.data_offload_script_.Get();
2956inline void HubManager::_internal_set_data_offload_script(
const std::string& value) {
2957 _impl_._has_bits_[0] |= 0x00000001u;
2958 _impl_.data_offload_script_.Set(value, GetArenaForAllocation());
2960inline std::string* HubManager::_internal_mutable_data_offload_script() {
2961 _impl_._has_bits_[0] |= 0x00000001u;
2962 return _impl_.data_offload_script_.Mutable(GetArenaForAllocation());
2964inline std::string* HubManager::release_data_offload_script() {
2966 if (!_internal_has_data_offload_script()) {
2969 _impl_._has_bits_[0] &= ~0x00000001u;
2970 auto* p = _impl_.data_offload_script_.Release();
2971#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2972 if (_impl_.data_offload_script_.IsDefault()) {
2973 _impl_.data_offload_script_.Set(
"", GetArenaForAllocation());
2978inline void HubManager::set_allocated_data_offload_script(std::string* data_offload_script) {
2979 if (data_offload_script !=
nullptr) {
2980 _impl_._has_bits_[0] |= 0x00000001u;
2982 _impl_._has_bits_[0] &= ~0x00000001u;
2984 _impl_.data_offload_script_.SetAllocated(data_offload_script, GetArenaForAllocation());
2985#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2986 if (_impl_.data_offload_script_.IsDefault()) {
2987 _impl_.data_offload_script_.Set(
"", GetArenaForAllocation());
2994inline bool HubManager::_internal_has_log_staging_dir()
const {
2995 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
2998inline bool HubManager::has_log_staging_dir()
const {
2999 return _internal_has_log_staging_dir();
3001inline void HubManager::clear_log_staging_dir() {
3002 _impl_.log_staging_dir_.ClearToDefault(::jaiabot::config::HubManager::Impl_::_i_give_permission_to_break_this_code_default_log_staging_dir_, GetArenaForAllocation());
3003 _impl_._has_bits_[0] &= ~0x00000002u;
3005inline const std::string& HubManager::log_staging_dir()
const {
3007 if (_impl_.log_staging_dir_.IsDefault())
return Impl_::_i_give_permission_to_break_this_code_default_log_staging_dir_.get();
3008 return _internal_log_staging_dir();
3010template <
typename ArgT0,
typename... ArgT>
3011inline PROTOBUF_ALWAYS_INLINE
3012void HubManager::set_log_staging_dir(ArgT0&& arg0, ArgT... args) {
3013 _impl_._has_bits_[0] |= 0x00000002u;
3014 _impl_.log_staging_dir_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
3017inline std::string* HubManager::mutable_log_staging_dir() {
3018 std::string* _s = _internal_mutable_log_staging_dir();
3022inline const std::string& HubManager::_internal_log_staging_dir()
const {
3023 return _impl_.log_staging_dir_.Get();
3025inline void HubManager::_internal_set_log_staging_dir(
const std::string& value) {
3026 _impl_._has_bits_[0] |= 0x00000002u;
3027 _impl_.log_staging_dir_.Set(value, GetArenaForAllocation());
3029inline std::string* HubManager::_internal_mutable_log_staging_dir() {
3030 _impl_._has_bits_[0] |= 0x00000002u;
3031 return _impl_.log_staging_dir_.Mutable(::jaiabot::config::HubManager::Impl_::_i_give_permission_to_break_this_code_default_log_staging_dir_, GetArenaForAllocation());
3033inline std::string* HubManager::release_log_staging_dir() {
3035 if (!_internal_has_log_staging_dir()) {
3038 _impl_._has_bits_[0] &= ~0x00000002u;
3039 auto* p = _impl_.log_staging_dir_.Release();
3042inline void HubManager::set_allocated_log_staging_dir(std::string* log_staging_dir) {
3043 if (log_staging_dir !=
nullptr) {
3044 _impl_._has_bits_[0] |= 0x00000002u;
3046 _impl_._has_bits_[0] &= ~0x00000002u;
3048 _impl_.log_staging_dir_.SetAllocated(log_staging_dir, GetArenaForAllocation());
3053inline bool HubManager::_internal_has_log_offload_dir()
const {
3054 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
3057inline bool HubManager::has_log_offload_dir()
const {
3058 return _internal_has_log_offload_dir();
3060inline void HubManager::clear_log_offload_dir() {
3061 _impl_.log_offload_dir_.ClearToDefault(::jaiabot::config::HubManager::Impl_::_i_give_permission_to_break_this_code_default_log_offload_dir_, GetArenaForAllocation());
3062 _impl_._has_bits_[0] &= ~0x00000004u;
3064inline const std::string& HubManager::log_offload_dir()
const {
3066 if (_impl_.log_offload_dir_.IsDefault())
return Impl_::_i_give_permission_to_break_this_code_default_log_offload_dir_.get();
3067 return _internal_log_offload_dir();
3069template <
typename ArgT0,
typename... ArgT>
3070inline PROTOBUF_ALWAYS_INLINE
3071void HubManager::set_log_offload_dir(ArgT0&& arg0, ArgT... args) {
3072 _impl_._has_bits_[0] |= 0x00000004u;
3073 _impl_.log_offload_dir_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
3076inline std::string* HubManager::mutable_log_offload_dir() {
3077 std::string* _s = _internal_mutable_log_offload_dir();
3081inline const std::string& HubManager::_internal_log_offload_dir()
const {
3082 return _impl_.log_offload_dir_.Get();
3084inline void HubManager::_internal_set_log_offload_dir(
const std::string& value) {
3085 _impl_._has_bits_[0] |= 0x00000004u;
3086 _impl_.log_offload_dir_.Set(value, GetArenaForAllocation());
3088inline std::string* HubManager::_internal_mutable_log_offload_dir() {
3089 _impl_._has_bits_[0] |= 0x00000004u;
3090 return _impl_.log_offload_dir_.Mutable(::jaiabot::config::HubManager::Impl_::_i_give_permission_to_break_this_code_default_log_offload_dir_, GetArenaForAllocation());
3092inline std::string* HubManager::release_log_offload_dir() {
3094 if (!_internal_has_log_offload_dir()) {
3097 _impl_._has_bits_[0] &= ~0x00000004u;
3098 auto* p = _impl_.log_offload_dir_.Release();
3101inline void HubManager::set_allocated_log_offload_dir(std::string* log_offload_dir) {
3102 if (log_offload_dir !=
nullptr) {
3103 _impl_._has_bits_[0] |= 0x00000004u;
3105 _impl_._has_bits_[0] &= ~0x00000004u;
3107 _impl_.log_offload_dir_.SetAllocated(log_offload_dir, GetArenaForAllocation());
3112inline bool HubManager::_internal_has_bot_start_ip()
const {
3113 bool value = (_impl_._has_bits_[0] & 0x00100000u) != 0;
3116inline bool HubManager::has_bot_start_ip()
const {
3117 return _internal_has_bot_start_ip();
3119inline void HubManager::clear_bot_start_ip() {
3120 _impl_.bot_start_ip_ = 100;
3121 _impl_._has_bits_[0] &= ~0x00100000u;
3123inline int32_t HubManager::_internal_bot_start_ip()
const {
3124 return _impl_.bot_start_ip_;
3126inline int32_t HubManager::bot_start_ip()
const {
3128 return _internal_bot_start_ip();
3130inline void HubManager::_internal_set_bot_start_ip(int32_t value) {
3131 _impl_._has_bits_[0] |= 0x00100000u;
3132 _impl_.bot_start_ip_ = value;
3134inline void HubManager::set_bot_start_ip(int32_t value) {
3135 _internal_set_bot_start_ip(value);
3140inline bool HubManager::_internal_has_class_b_network()
const {
3141 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
3144inline bool HubManager::has_class_b_network()
const {
3145 return _internal_has_class_b_network();
3147inline void HubManager::clear_class_b_network() {
3148 _impl_.class_b_network_.ClearToDefault(::jaiabot::config::HubManager::Impl_::_i_give_permission_to_break_this_code_default_class_b_network_, GetArenaForAllocation());
3149 _impl_._has_bits_[0] &= ~0x00000008u;
3151inline const std::string& HubManager::class_b_network()
const {
3153 if (_impl_.class_b_network_.IsDefault())
return Impl_::_i_give_permission_to_break_this_code_default_class_b_network_.get();
3154 return _internal_class_b_network();
3156template <
typename ArgT0,
typename... ArgT>
3157inline PROTOBUF_ALWAYS_INLINE
3158void HubManager::set_class_b_network(ArgT0&& arg0, ArgT... args) {
3159 _impl_._has_bits_[0] |= 0x00000008u;
3160 _impl_.class_b_network_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
3163inline std::string* HubManager::mutable_class_b_network() {
3164 std::string* _s = _internal_mutable_class_b_network();
3168inline const std::string& HubManager::_internal_class_b_network()
const {
3169 return _impl_.class_b_network_.Get();
3171inline void HubManager::_internal_set_class_b_network(
const std::string& value) {
3172 _impl_._has_bits_[0] |= 0x00000008u;
3173 _impl_.class_b_network_.Set(value, GetArenaForAllocation());
3175inline std::string* HubManager::_internal_mutable_class_b_network() {
3176 _impl_._has_bits_[0] |= 0x00000008u;
3177 return _impl_.class_b_network_.Mutable(::jaiabot::config::HubManager::Impl_::_i_give_permission_to_break_this_code_default_class_b_network_, GetArenaForAllocation());
3179inline std::string* HubManager::release_class_b_network() {
3181 if (!_internal_has_class_b_network()) {
3184 _impl_._has_bits_[0] &= ~0x00000008u;
3185 auto* p = _impl_.class_b_network_.Release();
3188inline void HubManager::set_allocated_class_b_network(std::string* class_b_network) {
3189 if (class_b_network !=
nullptr) {
3190 _impl_._has_bits_[0] |= 0x00000008u;
3192 _impl_._has_bits_[0] &= ~0x00000008u;
3194 _impl_.class_b_network_.SetAllocated(class_b_network, GetArenaForAllocation());
3199inline bool HubManager::_internal_has_use_localhost_for_data_offload()
const {
3200 bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0;
3203inline bool HubManager::has_use_localhost_for_data_offload()
const {
3204 return _internal_has_use_localhost_for_data_offload();
3206inline void HubManager::clear_use_localhost_for_data_offload() {
3207 _impl_.use_localhost_for_data_offload_ =
false;
3208 _impl_._has_bits_[0] &= ~0x00010000u;
3210inline bool HubManager::_internal_use_localhost_for_data_offload()
const {
3211 return _impl_.use_localhost_for_data_offload_;
3213inline bool HubManager::use_localhost_for_data_offload()
const {
3215 return _internal_use_localhost_for_data_offload();
3217inline void HubManager::_internal_set_use_localhost_for_data_offload(
bool value) {
3218 _impl_._has_bits_[0] |= 0x00010000u;
3219 _impl_.use_localhost_for_data_offload_ = value;
3221inline void HubManager::set_use_localhost_for_data_offload(
bool value) {
3222 _internal_set_use_localhost_for_data_offload(value);
3227inline bool HubManager::_internal_has_ctd_offload_script()
const {
3228 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
3231inline bool HubManager::has_ctd_offload_script()
const {
3232 return _internal_has_ctd_offload_script();
3234inline void HubManager::clear_ctd_offload_script() {
3235 _impl_.ctd_offload_script_.ClearToEmpty();
3236 _impl_._has_bits_[0] &= ~0x00000010u;
3238inline const std::string& HubManager::ctd_offload_script()
const {
3240 return _internal_ctd_offload_script();
3242template <
typename ArgT0,
typename... ArgT>
3243inline PROTOBUF_ALWAYS_INLINE
3244void HubManager::set_ctd_offload_script(ArgT0&& arg0, ArgT... args) {
3245 _impl_._has_bits_[0] |= 0x00000010u;
3246 _impl_.ctd_offload_script_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
3249inline std::string* HubManager::mutable_ctd_offload_script() {
3250 std::string* _s = _internal_mutable_ctd_offload_script();
3254inline const std::string& HubManager::_internal_ctd_offload_script()
const {
3255 return _impl_.ctd_offload_script_.Get();
3257inline void HubManager::_internal_set_ctd_offload_script(
const std::string& value) {
3258 _impl_._has_bits_[0] |= 0x00000010u;
3259 _impl_.ctd_offload_script_.Set(value, GetArenaForAllocation());
3261inline std::string* HubManager::_internal_mutable_ctd_offload_script() {
3262 _impl_._has_bits_[0] |= 0x00000010u;
3263 return _impl_.ctd_offload_script_.Mutable(GetArenaForAllocation());
3265inline std::string* HubManager::release_ctd_offload_script() {
3267 if (!_internal_has_ctd_offload_script()) {
3270 _impl_._has_bits_[0] &= ~0x00000010u;
3271 auto* p = _impl_.ctd_offload_script_.Release();
3272#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
3273 if (_impl_.ctd_offload_script_.IsDefault()) {
3274 _impl_.ctd_offload_script_.Set(
"", GetArenaForAllocation());
3279inline void HubManager::set_allocated_ctd_offload_script(std::string* ctd_offload_script) {
3280 if (ctd_offload_script !=
nullptr) {
3281 _impl_._has_bits_[0] |= 0x00000010u;
3283 _impl_._has_bits_[0] &= ~0x00000010u;
3285 _impl_.ctd_offload_script_.SetAllocated(ctd_offload_script, GetArenaForAllocation());
3286#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
3287 if (_impl_.ctd_offload_script_.IsDefault()) {
3288 _impl_.ctd_offload_script_.Set(
"", GetArenaForAllocation());
3295inline bool HubManager::_internal_has_hub_gpsd_device()
const {
3296 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
3299inline bool HubManager::has_hub_gpsd_device()
const {
3300 return _internal_has_hub_gpsd_device();
3302inline void HubManager::clear_hub_gpsd_device() {
3303 _impl_.hub_gpsd_device_.ClearToEmpty();
3304 _impl_._has_bits_[0] &= ~0x00000020u;
3306inline const std::string& HubManager::hub_gpsd_device()
const {
3308 return _internal_hub_gpsd_device();
3310template <
typename ArgT0,
typename... ArgT>
3311inline PROTOBUF_ALWAYS_INLINE
3312void HubManager::set_hub_gpsd_device(ArgT0&& arg0, ArgT... args) {
3313 _impl_._has_bits_[0] |= 0x00000020u;
3314 _impl_.hub_gpsd_device_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
3317inline std::string* HubManager::mutable_hub_gpsd_device() {
3318 std::string* _s = _internal_mutable_hub_gpsd_device();
3322inline const std::string& HubManager::_internal_hub_gpsd_device()
const {
3323 return _impl_.hub_gpsd_device_.Get();
3325inline void HubManager::_internal_set_hub_gpsd_device(
const std::string& value) {
3326 _impl_._has_bits_[0] |= 0x00000020u;
3327 _impl_.hub_gpsd_device_.Set(value, GetArenaForAllocation());
3329inline std::string* HubManager::_internal_mutable_hub_gpsd_device() {
3330 _impl_._has_bits_[0] |= 0x00000020u;
3331 return _impl_.hub_gpsd_device_.Mutable(GetArenaForAllocation());
3333inline std::string* HubManager::release_hub_gpsd_device() {
3335 if (!_internal_has_hub_gpsd_device()) {
3338 _impl_._has_bits_[0] &= ~0x00000020u;
3339 auto* p = _impl_.hub_gpsd_device_.Release();
3340#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
3341 if (_impl_.hub_gpsd_device_.IsDefault()) {
3342 _impl_.hub_gpsd_device_.Set(
"", GetArenaForAllocation());
3347inline void HubManager::set_allocated_hub_gpsd_device(std::string* hub_gpsd_device) {
3348 if (hub_gpsd_device !=
nullptr) {
3349 _impl_._has_bits_[0] |= 0x00000020u;
3351 _impl_._has_bits_[0] &= ~0x00000020u;
3353 _impl_.hub_gpsd_device_.SetAllocated(hub_gpsd_device, GetArenaForAllocation());
3354#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
3355 if (_impl_.hub_gpsd_device_.IsDefault()) {
3356 _impl_.hub_gpsd_device_.Set(
"", GetArenaForAllocation());
3363inline int HubManager::_internal_contact_gps_size()
const {
3364 return _impl_.contact_gps_.size();
3366inline int HubManager::contact_gps_size()
const {
3367 return _internal_contact_gps_size();
3369inline void HubManager::clear_contact_gps() {
3370 _impl_.contact_gps_.Clear();
3372inline ::jaiabot::config::HubManager_ContactGPS* HubManager::mutable_contact_gps(
int index) {
3374 return _impl_.contact_gps_.Mutable(index);
3376inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::config::HubManager_ContactGPS >*
3377HubManager::mutable_contact_gps() {
3379 return &_impl_.contact_gps_;
3381inline const ::jaiabot::config::HubManager_ContactGPS& HubManager::_internal_contact_gps(
int index)
const {
3382 return _impl_.contact_gps_.Get(index);
3384inline const ::jaiabot::config::HubManager_ContactGPS& HubManager::contact_gps(
int index)
const {
3386 return _internal_contact_gps(index);
3388inline ::jaiabot::config::HubManager_ContactGPS* HubManager::_internal_add_contact_gps() {
3389 return _impl_.contact_gps_.Add();
3391inline ::jaiabot::config::HubManager_ContactGPS* HubManager::add_contact_gps() {
3396inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::config::HubManager_ContactGPS >&
3397HubManager::contact_gps()
const {
3399 return _impl_.contact_gps_;
3403inline int HubManager::_internal_bot_to_gps_size()
const {
3404 return _impl_.bot_to_gps_.size();
3406inline int HubManager::bot_to_gps_size()
const {
3407 return _internal_bot_to_gps_size();
3409inline void HubManager::clear_bot_to_gps() {
3410 _impl_.bot_to_gps_.Clear();
3412inline ::jaiabot::config::HubManager_BotToGPS* HubManager::mutable_bot_to_gps(
int index) {
3414 return _impl_.bot_to_gps_.Mutable(index);
3416inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::config::HubManager_BotToGPS >*
3417HubManager::mutable_bot_to_gps() {
3419 return &_impl_.bot_to_gps_;
3421inline const ::jaiabot::config::HubManager_BotToGPS& HubManager::_internal_bot_to_gps(
int index)
const {
3422 return _impl_.bot_to_gps_.Get(index);
3424inline const ::jaiabot::config::HubManager_BotToGPS& HubManager::bot_to_gps(
int index)
const {
3426 return _internal_bot_to_gps(index);
3428inline ::jaiabot::config::HubManager_BotToGPS* HubManager::_internal_add_bot_to_gps() {
3429 return _impl_.bot_to_gps_.Add();
3431inline ::jaiabot::config::HubManager_BotToGPS* HubManager::add_bot_to_gps() {
3436inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::config::HubManager_BotToGPS >&
3437HubManager::bot_to_gps()
const {
3439 return _impl_.bot_to_gps_;
3443inline bool HubManager::_internal_has_contact_blackout_seconds()
const {
3444 bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0;
3447inline bool HubManager::has_contact_blackout_seconds()
const {
3448 return _internal_has_contact_blackout_seconds();
3450inline void HubManager::clear_contact_blackout_seconds() {
3451 _impl_.contact_blackout_seconds_ = 2;
3452 _impl_._has_bits_[0] &= ~0x00040000u;
3454inline int32_t HubManager::_internal_contact_blackout_seconds()
const {
3455 return _impl_.contact_blackout_seconds_;
3457inline int32_t HubManager::contact_blackout_seconds()
const {
3459 return _internal_contact_blackout_seconds();
3461inline void HubManager::_internal_set_contact_blackout_seconds(int32_t value) {
3462 _impl_._has_bits_[0] |= 0x00040000u;
3463 _impl_.contact_blackout_seconds_ = value;
3465inline void HubManager::set_contact_blackout_seconds(int32_t value) {
3466 _internal_set_contact_blackout_seconds(value);
3471inline bool HubManager::_internal_has_subnet_mask()
const {
3472 bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0;
3475inline bool HubManager::has_subnet_mask()
const {
3476 return _internal_has_subnet_mask();
3478inline void HubManager::clear_subnet_mask() {
3479 _impl_.subnet_mask_ = 0u;
3480 _impl_._has_bits_[0] &= ~0x00020000u;
3482inline uint32_t HubManager::_internal_subnet_mask()
const {
3483 return _impl_.subnet_mask_;
3485inline uint32_t HubManager::subnet_mask()
const {
3487 return _internal_subnet_mask();
3489inline void HubManager::_internal_set_subnet_mask(uint32_t value) {
3490 _impl_._has_bits_[0] |= 0x00020000u;
3491 _impl_.subnet_mask_ = value;
3493inline void HubManager::set_subnet_mask(uint32_t value) {
3494 _internal_set_subnet_mask(value);
3499inline int HubManager::_internal_link_to_subscribe_on_size()
const {
3500 return _impl_.link_to_subscribe_on_.size();
3502inline int HubManager::link_to_subscribe_on_size()
const {
3503 return _internal_link_to_subscribe_on_size();
3505inline void HubManager::clear_link_to_subscribe_on() {
3506 _impl_.link_to_subscribe_on_.Clear();
3508inline ::jaiabot::protobuf::Link HubManager::_internal_link_to_subscribe_on(
int index)
const {
3511inline ::jaiabot::protobuf::Link HubManager::link_to_subscribe_on(
int index)
const {
3513 return _internal_link_to_subscribe_on(index);
3517 _impl_.link_to_subscribe_on_.Set(index, value);
3522 _impl_.link_to_subscribe_on_.Add(value);
3525 _internal_add_link_to_subscribe_on(value);
3528inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>&
3529HubManager::link_to_subscribe_on()
const {
3531 return _impl_.link_to_subscribe_on_;
3533inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
3534HubManager::_internal_mutable_link_to_subscribe_on() {
3535 return &_impl_.link_to_subscribe_on_;
3537inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
3538HubManager::mutable_link_to_subscribe_on() {
3540 return _internal_mutable_link_to_subscribe_on();
3544 #pragma GCC diagnostic pop
3562#include <google/protobuf/port_undef.inc>
PROTOBUF_CONSTEXPR HubManager_BotToGPS(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void CopyFrom(const HubManager_BotToGPS &from)
~HubManager_BotToGPS() override
void set_allocated_serial(::goby::middleware::protobuf::SerialConfig *serial)
HubManager_BotToGPS(HubManager_BotToGPS &&from) noexcept
static const HubManager_BotToGPS * internal_default_instance()
static const HubManager_BotToGPS & default_instance()
HubManager_BotToGPS(const HubManager_BotToGPS &from)
void Swap(HubManager_BotToGPS *other)
void set_allocated_tcp_server(::goby::middleware::protobuf::TCPServerConfig *tcp_server)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ClassData _class_data_
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
void set_allocated_udp(::goby::middleware::protobuf::UDPPointToPointConfig *udp)
void set_allocated_pty(::goby::middleware::protobuf::PTYConfig *pty)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
HubManager_BotToGPS & operator=(HubManager_BotToGPS &&from) noexcept
void MergeFrom(const HubManager_BotToGPS &from)
void UnsafeArenaSwap(HubManager_BotToGPS *other)
HubManager_BotToGPS(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void set_allocated_tcp_client(::goby::middleware::protobuf::TCPClientConfig *tcp_client)
friend void swap(HubManager_BotToGPS &a, HubManager_BotToGPS &b)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
HubManager_BotToGPS * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
HubManager_BotToGPS & operator=(const HubManager_BotToGPS &from)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void set_id(int index, int32_t value)
HubManager_ExpectedHubs & operator=(HubManager_ExpectedHubs &&from) noexcept
void CopyFrom(const HubManager_ExpectedHubs &from)
bool IsInitialized() const final
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
HubManager_ExpectedHubs()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
HubManager_ExpectedHubs(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
size_t ByteSizeLong() const final
int GetCachedSize() const final
PROTOBUF_CONSTEXPR HubManager_ExpectedHubs(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
friend void swap(HubManager_ExpectedHubs &a, HubManager_ExpectedHubs &b)
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > * mutable_id()
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
HubManager_ExpectedHubs(const HubManager_ExpectedHubs &from)
HubManager_ExpectedHubs & operator=(const HubManager_ExpectedHubs &from)
static const ClassData _class_data_
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > & id() const
~HubManager_ExpectedHubs() override
HubManager_ExpectedHubs(HubManager_ExpectedHubs &&from) noexcept
static const HubManager_ExpectedHubs & default_instance()
void UnsafeArenaSwap(HubManager_ExpectedHubs *other)
void Swap(HubManager_ExpectedHubs *other)
void add_id(int32_t value)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
HubManager_ExpectedHubs * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static constexpr int kIndexInFileMessages
void MergeFrom(const HubManager_ExpectedHubs &from)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
static const HubManager_ExpectedHubs * internal_default_instance()
HubManager_VirtualFleetData(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
HubManager_VirtualFleetData & operator=(const HubManager_VirtualFleetData &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
PROTOBUF_CONSTEXPR HubManager_VirtualFleetData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void MergeFrom(const HubManager_VirtualFleetData &from)
HubManager_VirtualFleetData(const HubManager_VirtualFleetData &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const HubManager_VirtualFleetData & default_instance()
void CopyFrom(const HubManager_VirtualFleetData &from)
friend void swap(HubManager_VirtualFleetData &a, HubManager_VirtualFleetData &b)
void Swap(HubManager_VirtualFleetData *other)
static const ClassData _class_data_
HubManager_VirtualFleetData * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
HubManager_VirtualFleetData()
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
~HubManager_VirtualFleetData() override
void UnsafeArenaSwap(HubManager_VirtualFleetData *other)
HubManager_VirtualFleetData(HubManager_VirtualFleetData &&from) noexcept
static const HubManager_VirtualFleetData * internal_default_instance()
HubManager_VirtualFleetData & operator=(HubManager_VirtualFleetData &&from) noexcept
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ClassData _class_data_
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
static const HubManager & default_instance()
static const HubManager * internal_default_instance()
HubManager & operator=(HubManager &&from) noexcept
friend void swap(HubManager &a, HubManager &b)
HubManager & operator=(const HubManager &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
void UnsafeArenaSwap(HubManager *other)
void MergeFrom(const HubManager &from)
PROTOBUF_CONSTEXPR HubManager(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void clear_status_buffer()
void set_log_offload_dir(ArgT0 &&arg0, ArgT... args)
void set_log_staging_dir(ArgT0 &&arg0, ArgT... args)
void clear_engineering_status_buffer()
void set_hub_gpsd_device(ArgT0 &&arg0, ArgT... args)
void clear_interprocess()
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void clear_hub2hub_buffer()
void set_ctd_offload_script(ArgT0 &&arg0, ArgT... args)
HubManager * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
void set_class_b_network(ArgT0 &&arg0, ArgT... args)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void clear_task_packet_buffer()
void set_data_offload_script(ArgT0 &&arg0, ArgT... args)
HubManager(const HubManager &from)
void Swap(HubManager *other)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
HubManager(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
HubManager(HubManager &&from) noexcept
void CopyFrom(const HubManager &from)
::jaiabot::config::HubManager_ExpectedHubs * Arena::CreateMaybeMessage<::jaiabot::config::HubManager_ExpectedHubs >(Arena *)
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_bin_2fhub_5fmanager_2fconfig_2eproto
::jaiabot::config::HubManager_VirtualFleetData * Arena::CreateMaybeMessage<::jaiabot::config::HubManager_VirtualFleetData >(Arena *)
PROTOBUF_NAMESPACE_OPEN ::jaiabot::protobuf::LinkAwareBufferConfig * Arena::CreateMaybeMessage<::jaiabot::protobuf::LinkAwareBufferConfig >(Arena *)
HubManager_BotToGPSDefaultTypeInternal _HubManager_BotToGPS_default_instance_
HubManagerDefaultTypeInternal _HubManager_default_instance_
HubManager_VirtualFleetDataDefaultTypeInternal _HubManager_VirtualFleetData_default_instance_
HubManager_ExpectedHubsDefaultTypeInternal _HubManager_ExpectedHubs_default_instance_
HubManager_ContactGPSDefaultTypeInternal _HubManager_ContactGPS_default_instance_
bool Link_IsValid(int value)
LinkAwareBufferConfigDefaultTypeInternal _LinkAwareBufferConfig_default_instance_
static const uint32_t offsets[]
constexpr TransportUnion()
::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_
::goby::middleware::protobuf::SerialConfig * serial_
::goby::middleware::protobuf::UDPPointToPointConfig * udp_
::goby::middleware::protobuf::TCPServerConfig * tcp_server_
::goby::middleware::protobuf::PTYConfig * pty_
::goby::middleware::protobuf::TCPClientConfig * tcp_client_