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 kHubGpsdDeviceFieldNumber = 40,
1061 kAppFieldNumber = 1,
1062 kInterprocessFieldNumber = 2,
1063 kStatusBufferFieldNumber = 11,
1064 kTaskPacketBufferFieldNumber = 12,
1065 kEngineeringStatusBufferFieldNumber = 13,
1066 kExpectedHubsFieldNumber = 18,
1067 kHub2HubBufferFieldNumber = 19,
1068 kVfleetFieldNumber = 20,
1069 kHubIdFieldNumber = 14,
1070 kFleetIdFieldNumber = 15,
1071 kUseLocalhostForDataOffloadFieldNumber = 35,
1072 kSubnetMaskFieldNumber = 50,
1073 kContactBlackoutSecondsFieldNumber = 43,
1074 kHealthReportTimeoutSecondsFieldNumber = 16,
1075 kBotStartIpFieldNumber = 33,
1078 int contact_gps_size()
const;
1080 int _internal_contact_gps_size()
const;
1082 void clear_contact_gps();
1084 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::config::HubManager_ContactGPS >*
1085 mutable_contact_gps();
1087 const ::jaiabot::config::HubManager_ContactGPS& _internal_contact_gps(
int index)
const;
1090 const ::jaiabot::config::HubManager_ContactGPS& contact_gps(
int index)
const;
1092 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::config::HubManager_ContactGPS >&
1093 contact_gps()
const;
1096 int bot_to_gps_size()
const;
1098 int _internal_bot_to_gps_size()
const;
1100 void clear_bot_to_gps();
1102 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::config::HubManager_BotToGPS >*
1103 mutable_bot_to_gps();
1105 const ::jaiabot::config::HubManager_BotToGPS& _internal_bot_to_gps(
int index)
const;
1108 const ::jaiabot::config::HubManager_BotToGPS& bot_to_gps(
int index)
const;
1110 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::config::HubManager_BotToGPS >&
1114 int link_to_subscribe_on_size()
const;
1116 int _internal_link_to_subscribe_on_size()
const;
1118 void clear_link_to_subscribe_on();
1122 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* _internal_mutable_link_to_subscribe_on();
1127 const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>& link_to_subscribe_on()
const;
1128 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* mutable_link_to_subscribe_on();
1131 bool has_data_offload_script()
const;
1133 bool _internal_has_data_offload_script()
const;
1135 void clear_data_offload_script();
1136 const std::string& data_offload_script()
const;
1137 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
1139 std::string* mutable_data_offload_script();
1140 PROTOBUF_NODISCARD std::string* release_data_offload_script();
1141 void set_allocated_data_offload_script(std::string* data_offload_script);
1143 const std::string& _internal_data_offload_script()
const;
1144 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_data_offload_script(
const std::string& value);
1145 std::string* _internal_mutable_data_offload_script();
1149 bool has_log_staging_dir()
const;
1151 bool _internal_has_log_staging_dir()
const;
1153 void clear_log_staging_dir();
1154 const std::string& log_staging_dir()
const;
1155 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
1157 std::string* mutable_log_staging_dir();
1158 PROTOBUF_NODISCARD std::string* release_log_staging_dir();
1159 void set_allocated_log_staging_dir(std::string* log_staging_dir);
1161 const std::string& _internal_log_staging_dir()
const;
1162 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_log_staging_dir(
const std::string& value);
1163 std::string* _internal_mutable_log_staging_dir();
1167 bool has_log_offload_dir()
const;
1169 bool _internal_has_log_offload_dir()
const;
1171 void clear_log_offload_dir();
1172 const std::string& log_offload_dir()
const;
1173 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
1175 std::string* mutable_log_offload_dir();
1176 PROTOBUF_NODISCARD std::string* release_log_offload_dir();
1177 void set_allocated_log_offload_dir(std::string* log_offload_dir);
1179 const std::string& _internal_log_offload_dir()
const;
1180 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_log_offload_dir(
const std::string& value);
1181 std::string* _internal_mutable_log_offload_dir();
1185 bool has_class_b_network()
const;
1187 bool _internal_has_class_b_network()
const;
1189 void clear_class_b_network();
1190 const std::string& class_b_network()
const;
1191 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
1193 std::string* mutable_class_b_network();
1194 PROTOBUF_NODISCARD std::string* release_class_b_network();
1195 void set_allocated_class_b_network(std::string* class_b_network);
1197 const std::string& _internal_class_b_network()
const;
1198 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_class_b_network(
const std::string& value);
1199 std::string* _internal_mutable_class_b_network();
1203 bool has_hub_gpsd_device()
const;
1205 bool _internal_has_hub_gpsd_device()
const;
1207 void clear_hub_gpsd_device();
1208 const std::string& hub_gpsd_device()
const;
1209 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
1211 std::string* mutable_hub_gpsd_device();
1212 PROTOBUF_NODISCARD std::string* release_hub_gpsd_device();
1213 void set_allocated_hub_gpsd_device(std::string* hub_gpsd_device);
1215 const std::string& _internal_hub_gpsd_device()
const;
1216 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_hub_gpsd_device(
const std::string& value);
1217 std::string* _internal_mutable_hub_gpsd_device();
1221 bool has_app()
const;
1223 bool _internal_has_app()
const;
1226 const ::goby::middleware::protobuf::AppConfig& app()
const;
1227 PROTOBUF_NODISCARD ::goby::middleware::protobuf::AppConfig* release_app();
1228 ::goby::middleware::protobuf::AppConfig* mutable_app();
1229 void set_allocated_app(::goby::middleware::protobuf::AppConfig* app);
1231 const ::goby::middleware::protobuf::AppConfig& _internal_app()
const;
1232 ::goby::middleware::protobuf::AppConfig* _internal_mutable_app();
1234 void unsafe_arena_set_allocated_app(
1235 ::goby::middleware::protobuf::AppConfig* app);
1236 ::goby::middleware::protobuf::AppConfig* unsafe_arena_release_app();
1239 bool has_interprocess()
const;
1241 bool _internal_has_interprocess()
const;
1244 const ::goby::zeromq::protobuf::InterProcessPortalConfig& interprocess()
const;
1245 PROTOBUF_NODISCARD ::goby::zeromq::protobuf::InterProcessPortalConfig* release_interprocess();
1246 ::goby::zeromq::protobuf::InterProcessPortalConfig* mutable_interprocess();
1247 void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
1249 const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess()
const;
1250 ::goby::zeromq::protobuf::InterProcessPortalConfig* _internal_mutable_interprocess();
1252 void unsafe_arena_set_allocated_interprocess(
1253 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
1254 ::goby::zeromq::protobuf::InterProcessPortalConfig* unsafe_arena_release_interprocess();
1257 bool has_status_buffer()
const;
1259 bool _internal_has_status_buffer()
const;
1262 const ::jaiabot::protobuf::LinkAwareBufferConfig& status_buffer()
const;
1263 PROTOBUF_NODISCARD ::jaiabot::protobuf::LinkAwareBufferConfig* release_status_buffer();
1267 const ::jaiabot::protobuf::LinkAwareBufferConfig& _internal_status_buffer()
const;
1270 void unsafe_arena_set_allocated_status_buffer(
1275 bool has_task_packet_buffer()
const;
1277 bool _internal_has_task_packet_buffer()
const;
1280 const ::jaiabot::protobuf::LinkAwareBufferConfig& task_packet_buffer()
const;
1281 PROTOBUF_NODISCARD ::jaiabot::protobuf::LinkAwareBufferConfig* release_task_packet_buffer();
1285 const ::jaiabot::protobuf::LinkAwareBufferConfig& _internal_task_packet_buffer()
const;
1288 void unsafe_arena_set_allocated_task_packet_buffer(
1293 bool has_engineering_status_buffer()
const;
1295 bool _internal_has_engineering_status_buffer()
const;
1298 const ::jaiabot::protobuf::LinkAwareBufferConfig& engineering_status_buffer()
const;
1299 PROTOBUF_NODISCARD ::jaiabot::protobuf::LinkAwareBufferConfig* release_engineering_status_buffer();
1303 const ::jaiabot::protobuf::LinkAwareBufferConfig& _internal_engineering_status_buffer()
const;
1306 void unsafe_arena_set_allocated_engineering_status_buffer(
1311 bool has_expected_hubs()
const;
1313 bool _internal_has_expected_hubs()
const;
1315 void clear_expected_hubs();
1316 const ::jaiabot::config::HubManager_ExpectedHubs& expected_hubs()
const;
1317 PROTOBUF_NODISCARD ::jaiabot::config::HubManager_ExpectedHubs* release_expected_hubs();
1321 const ::jaiabot::config::HubManager_ExpectedHubs& _internal_expected_hubs()
const;
1324 void unsafe_arena_set_allocated_expected_hubs(
1329 bool has_hub2hub_buffer()
const;
1331 bool _internal_has_hub2hub_buffer()
const;
1334 const ::goby::acomms::protobuf::DynamicBufferConfig& hub2hub_buffer()
const;
1335 PROTOBUF_NODISCARD ::goby::acomms::protobuf::DynamicBufferConfig* release_hub2hub_buffer();
1336 ::goby::acomms::protobuf::DynamicBufferConfig* mutable_hub2hub_buffer();
1337 void set_allocated_hub2hub_buffer(::goby::acomms::protobuf::DynamicBufferConfig* hub2hub_buffer);
1339 const ::goby::acomms::protobuf::DynamicBufferConfig& _internal_hub2hub_buffer()
const;
1340 ::goby::acomms::protobuf::DynamicBufferConfig* _internal_mutable_hub2hub_buffer();
1342 void unsafe_arena_set_allocated_hub2hub_buffer(
1343 ::goby::acomms::protobuf::DynamicBufferConfig* hub2hub_buffer);
1344 ::goby::acomms::protobuf::DynamicBufferConfig* unsafe_arena_release_hub2hub_buffer();
1347 bool has_vfleet()
const;
1349 bool _internal_has_vfleet()
const;
1351 void clear_vfleet();
1352 const ::jaiabot::config::HubManager_VirtualFleetData& vfleet()
const;
1353 PROTOBUF_NODISCARD ::jaiabot::config::HubManager_VirtualFleetData* release_vfleet();
1357 const ::jaiabot::config::HubManager_VirtualFleetData& _internal_vfleet()
const;
1360 void unsafe_arena_set_allocated_vfleet(
1365 bool has_hub_id()
const;
1367 bool _internal_has_hub_id()
const;
1369 void clear_hub_id();
1370 int32_t hub_id()
const;
1371 void set_hub_id(int32_t value);
1373 int32_t _internal_hub_id()
const;
1374 void _internal_set_hub_id(int32_t value);
1378 bool has_fleet_id()
const;
1380 bool _internal_has_fleet_id()
const;
1382 void clear_fleet_id();
1383 int32_t fleet_id()
const;
1384 void set_fleet_id(int32_t value);
1386 int32_t _internal_fleet_id()
const;
1387 void _internal_set_fleet_id(int32_t value);
1391 bool has_use_localhost_for_data_offload()
const;
1393 bool _internal_has_use_localhost_for_data_offload()
const;
1395 void clear_use_localhost_for_data_offload();
1396 bool use_localhost_for_data_offload()
const;
1397 void set_use_localhost_for_data_offload(
bool value);
1399 bool _internal_use_localhost_for_data_offload()
const;
1400 void _internal_set_use_localhost_for_data_offload(
bool value);
1404 bool has_subnet_mask()
const;
1406 bool _internal_has_subnet_mask()
const;
1408 void clear_subnet_mask();
1409 uint32_t subnet_mask()
const;
1410 void set_subnet_mask(uint32_t value);
1412 uint32_t _internal_subnet_mask()
const;
1413 void _internal_set_subnet_mask(uint32_t value);
1417 bool has_contact_blackout_seconds()
const;
1419 bool _internal_has_contact_blackout_seconds()
const;
1421 void clear_contact_blackout_seconds();
1422 int32_t contact_blackout_seconds()
const;
1423 void set_contact_blackout_seconds(int32_t value);
1425 int32_t _internal_contact_blackout_seconds()
const;
1426 void _internal_set_contact_blackout_seconds(int32_t value);
1430 bool has_health_report_timeout_seconds()
const;
1432 bool _internal_has_health_report_timeout_seconds()
const;
1434 void clear_health_report_timeout_seconds();
1435 int32_t health_report_timeout_seconds()
const;
1436 void set_health_report_timeout_seconds(int32_t value);
1438 int32_t _internal_health_report_timeout_seconds()
const;
1439 void _internal_set_health_report_timeout_seconds(int32_t value);
1443 bool has_bot_start_ip()
const;
1445 bool _internal_has_bot_start_ip()
const;
1447 void clear_bot_start_ip();
1448 int32_t bot_start_ip()
const;
1449 void set_bot_start_ip(int32_t value);
1451 int32_t _internal_bot_start_ip()
const;
1452 void _internal_set_bot_start_ip(int32_t value);
1460 size_t RequiredFieldsByteSizeFallback()
const;
1462 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1463 typedef void InternalArenaConstructable_;
1464 typedef void DestructorSkippable_;
1466 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1467 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1468 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::config::HubManager_ContactGPS > contact_gps_;
1469 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::config::HubManager_BotToGPS > bot_to_gps_;
1470 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int> link_to_subscribe_on_;
1471 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_offload_script_;
1472 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_log_staging_dir_;
1473 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr log_staging_dir_;
1474 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_log_offload_dir_;
1475 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr log_offload_dir_;
1476 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_class_b_network_;
1477 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr class_b_network_;
1478 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr hub_gpsd_device_;
1479 ::goby::middleware::protobuf::AppConfig* app_;
1480 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess_;
1485 ::goby::acomms::protobuf::DynamicBufferConfig* hub2hub_buffer_;
1489 bool use_localhost_for_data_offload_;
1490 uint32_t subnet_mask_;
1491 int32_t contact_blackout_seconds_;
1492 int32_t health_report_timeout_seconds_;
1493 int32_t bot_start_ip_;
1496 friend struct ::TableStruct_bin_2fhub_5fmanager_2fconfig_2eproto;
1504 #pragma GCC diagnostic push
1505 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1510inline int HubManager_ExpectedHubs::_internal_id_size()
const {
1511 return _impl_.id_.size();
1513inline int HubManager_ExpectedHubs::id_size()
const {
1514 return _internal_id_size();
1516inline void HubManager_ExpectedHubs::clear_id() {
1519inline int32_t HubManager_ExpectedHubs::_internal_id(
int index)
const {
1520 return _impl_.id_.Get(index);
1522inline int32_t HubManager_ExpectedHubs::id(
int index)
const {
1524 return _internal_id(index);
1526inline void HubManager_ExpectedHubs::set_id(
int index, int32_t value) {
1527 _impl_.id_.Set(index, value);
1530inline void HubManager_ExpectedHubs::_internal_add_id(int32_t value) {
1531 _impl_.id_.Add(value);
1533inline void HubManager_ExpectedHubs::add_id(int32_t value) {
1534 _internal_add_id(value);
1537inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
1538HubManager_ExpectedHubs::_internal_id()
const {
1541inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
1542HubManager_ExpectedHubs::id()
const {
1544 return _internal_id();
1546inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
1547HubManager_ExpectedHubs::_internal_mutable_id() {
1550inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
1551HubManager_ExpectedHubs::mutable_id() {
1553 return _internal_mutable_id();
1561inline bool HubManager_VirtualFleetData::_internal_has_shutdown_after_last_command_seconds()
const {
1562 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1565inline bool HubManager_VirtualFleetData::has_shutdown_after_last_command_seconds()
const {
1566 return _internal_has_shutdown_after_last_command_seconds();
1568inline void HubManager_VirtualFleetData::clear_shutdown_after_last_command_seconds() {
1569 _impl_.shutdown_after_last_command_seconds_ = 3600;
1570 _impl_._has_bits_[0] &= ~0x00000001u;
1572inline int32_t HubManager_VirtualFleetData::_internal_shutdown_after_last_command_seconds()
const {
1573 return _impl_.shutdown_after_last_command_seconds_;
1575inline int32_t HubManager_VirtualFleetData::shutdown_after_last_command_seconds()
const {
1577 return _internal_shutdown_after_last_command_seconds();
1579inline void HubManager_VirtualFleetData::_internal_set_shutdown_after_last_command_seconds(int32_t value) {
1580 _impl_._has_bits_[0] |= 0x00000001u;
1581 _impl_.shutdown_after_last_command_seconds_ = value;
1583inline void HubManager_VirtualFleetData::set_shutdown_after_last_command_seconds(int32_t value) {
1584 _internal_set_shutdown_after_last_command_seconds(value);
1589inline bool HubManager_VirtualFleetData::_internal_has_hub_shutdown_delay_seconds()
const {
1590 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1593inline bool HubManager_VirtualFleetData::has_hub_shutdown_delay_seconds()
const {
1594 return _internal_has_hub_shutdown_delay_seconds();
1596inline void HubManager_VirtualFleetData::clear_hub_shutdown_delay_seconds() {
1597 _impl_.hub_shutdown_delay_seconds_ = 300;
1598 _impl_._has_bits_[0] &= ~0x00000002u;
1600inline int32_t HubManager_VirtualFleetData::_internal_hub_shutdown_delay_seconds()
const {
1601 return _impl_.hub_shutdown_delay_seconds_;
1603inline int32_t HubManager_VirtualFleetData::hub_shutdown_delay_seconds()
const {
1605 return _internal_hub_shutdown_delay_seconds();
1607inline void HubManager_VirtualFleetData::_internal_set_hub_shutdown_delay_seconds(int32_t value) {
1608 _impl_._has_bits_[0] |= 0x00000002u;
1609 _impl_.hub_shutdown_delay_seconds_ = value;
1611inline void HubManager_VirtualFleetData::set_hub_shutdown_delay_seconds(int32_t value) {
1612 _internal_set_hub_shutdown_delay_seconds(value);
1621inline bool HubManager_ContactGPS::_internal_has_gpsd_device()
const {
1622 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1625inline bool HubManager_ContactGPS::has_gpsd_device()
const {
1626 return _internal_has_gpsd_device();
1628inline void HubManager_ContactGPS::clear_gpsd_device() {
1629 _impl_.gpsd_device_.ClearToEmpty();
1630 _impl_._has_bits_[0] &= ~0x00000001u;
1632inline const std::string& HubManager_ContactGPS::gpsd_device()
const {
1634 return _internal_gpsd_device();
1636template <
typename ArgT0,
typename... ArgT>
1637inline PROTOBUF_ALWAYS_INLINE
1638void HubManager_ContactGPS::set_gpsd_device(ArgT0&& arg0, ArgT... args) {
1639 _impl_._has_bits_[0] |= 0x00000001u;
1640 _impl_.gpsd_device_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
1643inline std::string* HubManager_ContactGPS::mutable_gpsd_device() {
1644 std::string* _s = _internal_mutable_gpsd_device();
1648inline const std::string& HubManager_ContactGPS::_internal_gpsd_device()
const {
1649 return _impl_.gpsd_device_.Get();
1651inline void HubManager_ContactGPS::_internal_set_gpsd_device(
const std::string& value) {
1652 _impl_._has_bits_[0] |= 0x00000001u;
1653 _impl_.gpsd_device_.Set(value, GetArenaForAllocation());
1655inline std::string* HubManager_ContactGPS::_internal_mutable_gpsd_device() {
1656 _impl_._has_bits_[0] |= 0x00000001u;
1657 return _impl_.gpsd_device_.Mutable(GetArenaForAllocation());
1659inline std::string* HubManager_ContactGPS::release_gpsd_device() {
1661 if (!_internal_has_gpsd_device()) {
1664 _impl_._has_bits_[0] &= ~0x00000001u;
1665 auto* p = _impl_.gpsd_device_.Release();
1666#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1667 if (_impl_.gpsd_device_.IsDefault()) {
1668 _impl_.gpsd_device_.Set(
"", GetArenaForAllocation());
1673inline void HubManager_ContactGPS::set_allocated_gpsd_device(std::string* gpsd_device) {
1674 if (gpsd_device !=
nullptr) {
1675 _impl_._has_bits_[0] |= 0x00000001u;
1677 _impl_._has_bits_[0] &= ~0x00000001u;
1679 _impl_.gpsd_device_.SetAllocated(gpsd_device, GetArenaForAllocation());
1680#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1681 if (_impl_.gpsd_device_.IsDefault()) {
1682 _impl_.gpsd_device_.Set(
"", GetArenaForAllocation());
1689inline bool HubManager_ContactGPS::_internal_has_contact()
const {
1690 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1693inline bool HubManager_ContactGPS::has_contact()
const {
1694 return _internal_has_contact();
1696inline void HubManager_ContactGPS::clear_contact() {
1697 _impl_.contact_ = 0;
1698 _impl_._has_bits_[0] &= ~0x00000002u;
1700inline int32_t HubManager_ContactGPS::_internal_contact()
const {
1701 return _impl_.contact_;
1703inline int32_t HubManager_ContactGPS::contact()
const {
1705 return _internal_contact();
1707inline void HubManager_ContactGPS::_internal_set_contact(int32_t value) {
1708 _impl_._has_bits_[0] |= 0x00000002u;
1709 _impl_.contact_ = value;
1711inline void HubManager_ContactGPS::set_contact(int32_t value) {
1712 _internal_set_contact(value);
1717inline bool HubManager_ContactGPS::_internal_has_use_cog()
const {
1718 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1721inline bool HubManager_ContactGPS::has_use_cog()
const {
1722 return _internal_has_use_cog();
1724inline void HubManager_ContactGPS::clear_use_cog() {
1725 _impl_.use_cog_ =
false;
1726 _impl_._has_bits_[0] &= ~0x00000004u;
1728inline bool HubManager_ContactGPS::_internal_use_cog()
const {
1729 return _impl_.use_cog_;
1731inline bool HubManager_ContactGPS::use_cog()
const {
1733 return _internal_use_cog();
1735inline void HubManager_ContactGPS::_internal_set_use_cog(
bool value) {
1736 _impl_._has_bits_[0] |= 0x00000004u;
1737 _impl_.use_cog_ = value;
1739inline void HubManager_ContactGPS::set_use_cog(
bool value) {
1740 _internal_set_use_cog(value);
1749inline bool HubManager_BotToGPS::_internal_has_bot_id()
const {
1750 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1753inline bool HubManager_BotToGPS::has_bot_id()
const {
1754 return _internal_has_bot_id();
1756inline void HubManager_BotToGPS::clear_bot_id() {
1758 _impl_._has_bits_[0] &= ~0x00000001u;
1760inline int32_t HubManager_BotToGPS::_internal_bot_id()
const {
1761 return _impl_.bot_id_;
1763inline int32_t HubManager_BotToGPS::bot_id()
const {
1765 return _internal_bot_id();
1767inline void HubManager_BotToGPS::_internal_set_bot_id(int32_t value) {
1768 _impl_._has_bits_[0] |= 0x00000001u;
1769 _impl_.bot_id_ = value;
1771inline void HubManager_BotToGPS::set_bot_id(int32_t value) {
1772 _internal_set_bot_id(value);
1777inline bool HubManager_BotToGPS::_internal_has_udp()
const {
1778 return transport_case() == kUdp;
1780inline bool HubManager_BotToGPS::has_udp()
const {
1781 return _internal_has_udp();
1783inline void HubManager_BotToGPS::set_has_udp() {
1784 _impl_._oneof_case_[0] = kUdp;
1786inline ::goby::middleware::protobuf::UDPPointToPointConfig* HubManager_BotToGPS::release_udp() {
1788 if (_internal_has_udp()) {
1789 clear_has_transport();
1790 ::goby::middleware::protobuf::UDPPointToPointConfig* temp = _impl_.transport_.udp_;
1791 if (GetArenaForAllocation() !=
nullptr) {
1792 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1794 _impl_.transport_.udp_ =
nullptr;
1800inline const ::goby::middleware::protobuf::UDPPointToPointConfig& HubManager_BotToGPS::_internal_udp()
const {
1801 return _internal_has_udp()
1802 ? *_impl_.transport_.udp_
1803 :
reinterpret_cast< ::goby::middleware::protobuf::UDPPointToPointConfig&
>(::goby::middleware::protobuf::_UDPPointToPointConfig_default_instance_);
1805inline const ::goby::middleware::protobuf::UDPPointToPointConfig& HubManager_BotToGPS::udp()
const {
1807 return _internal_udp();
1809inline ::goby::middleware::protobuf::UDPPointToPointConfig* HubManager_BotToGPS::unsafe_arena_release_udp() {
1811 if (_internal_has_udp()) {
1812 clear_has_transport();
1813 ::goby::middleware::protobuf::UDPPointToPointConfig* temp = _impl_.transport_.udp_;
1814 _impl_.transport_.udp_ =
nullptr;
1820inline void HubManager_BotToGPS::unsafe_arena_set_allocated_udp(::goby::middleware::protobuf::UDPPointToPointConfig* udp) {
1824 _impl_.transport_.udp_ = udp;
1828inline ::goby::middleware::protobuf::UDPPointToPointConfig* HubManager_BotToGPS::_internal_mutable_udp() {
1829 if (!_internal_has_udp()) {
1832 _impl_.transport_.udp_ = CreateMaybeMessage< ::goby::middleware::protobuf::UDPPointToPointConfig >(GetArenaForAllocation());
1834 return _impl_.transport_.udp_;
1836inline ::goby::middleware::protobuf::UDPPointToPointConfig* HubManager_BotToGPS::mutable_udp() {
1837 ::goby::middleware::protobuf::UDPPointToPointConfig* _msg = _internal_mutable_udp();
1843inline bool HubManager_BotToGPS::_internal_has_pty()
const {
1844 return transport_case() == kPty;
1846inline bool HubManager_BotToGPS::has_pty()
const {
1847 return _internal_has_pty();
1849inline void HubManager_BotToGPS::set_has_pty() {
1850 _impl_._oneof_case_[0] = kPty;
1852inline ::goby::middleware::protobuf::PTYConfig* HubManager_BotToGPS::release_pty() {
1854 if (_internal_has_pty()) {
1855 clear_has_transport();
1856 ::goby::middleware::protobuf::PTYConfig* temp = _impl_.transport_.pty_;
1857 if (GetArenaForAllocation() !=
nullptr) {
1858 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1860 _impl_.transport_.pty_ =
nullptr;
1866inline const ::goby::middleware::protobuf::PTYConfig& HubManager_BotToGPS::_internal_pty()
const {
1867 return _internal_has_pty()
1868 ? *_impl_.transport_.pty_
1869 :
reinterpret_cast< ::goby::middleware::protobuf::PTYConfig&
>(::goby::middleware::protobuf::_PTYConfig_default_instance_);
1871inline const ::goby::middleware::protobuf::PTYConfig& HubManager_BotToGPS::pty()
const {
1873 return _internal_pty();
1875inline ::goby::middleware::protobuf::PTYConfig* HubManager_BotToGPS::unsafe_arena_release_pty() {
1877 if (_internal_has_pty()) {
1878 clear_has_transport();
1879 ::goby::middleware::protobuf::PTYConfig* temp = _impl_.transport_.pty_;
1880 _impl_.transport_.pty_ =
nullptr;
1886inline void HubManager_BotToGPS::unsafe_arena_set_allocated_pty(::goby::middleware::protobuf::PTYConfig* pty) {
1890 _impl_.transport_.pty_ = pty;
1894inline ::goby::middleware::protobuf::PTYConfig* HubManager_BotToGPS::_internal_mutable_pty() {
1895 if (!_internal_has_pty()) {
1898 _impl_.transport_.pty_ = CreateMaybeMessage< ::goby::middleware::protobuf::PTYConfig >(GetArenaForAllocation());
1900 return _impl_.transport_.pty_;
1902inline ::goby::middleware::protobuf::PTYConfig* HubManager_BotToGPS::mutable_pty() {
1903 ::goby::middleware::protobuf::PTYConfig* _msg = _internal_mutable_pty();
1909inline bool HubManager_BotToGPS::_internal_has_serial()
const {
1910 return transport_case() == kSerial;
1912inline bool HubManager_BotToGPS::has_serial()
const {
1913 return _internal_has_serial();
1915inline void HubManager_BotToGPS::set_has_serial() {
1916 _impl_._oneof_case_[0] = kSerial;
1918inline ::goby::middleware::protobuf::SerialConfig* HubManager_BotToGPS::release_serial() {
1920 if (_internal_has_serial()) {
1921 clear_has_transport();
1922 ::goby::middleware::protobuf::SerialConfig* temp = _impl_.transport_.serial_;
1923 if (GetArenaForAllocation() !=
nullptr) {
1924 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1926 _impl_.transport_.serial_ =
nullptr;
1932inline const ::goby::middleware::protobuf::SerialConfig& HubManager_BotToGPS::_internal_serial()
const {
1933 return _internal_has_serial()
1934 ? *_impl_.transport_.serial_
1935 :
reinterpret_cast< ::goby::middleware::protobuf::SerialConfig&
>(::goby::middleware::protobuf::_SerialConfig_default_instance_);
1937inline const ::goby::middleware::protobuf::SerialConfig& HubManager_BotToGPS::serial()
const {
1939 return _internal_serial();
1941inline ::goby::middleware::protobuf::SerialConfig* HubManager_BotToGPS::unsafe_arena_release_serial() {
1943 if (_internal_has_serial()) {
1944 clear_has_transport();
1945 ::goby::middleware::protobuf::SerialConfig* temp = _impl_.transport_.serial_;
1946 _impl_.transport_.serial_ =
nullptr;
1952inline void HubManager_BotToGPS::unsafe_arena_set_allocated_serial(::goby::middleware::protobuf::SerialConfig* serial) {
1956 _impl_.transport_.serial_ = serial;
1960inline ::goby::middleware::protobuf::SerialConfig* HubManager_BotToGPS::_internal_mutable_serial() {
1961 if (!_internal_has_serial()) {
1964 _impl_.transport_.serial_ = CreateMaybeMessage< ::goby::middleware::protobuf::SerialConfig >(GetArenaForAllocation());
1966 return _impl_.transport_.serial_;
1968inline ::goby::middleware::protobuf::SerialConfig* HubManager_BotToGPS::mutable_serial() {
1969 ::goby::middleware::protobuf::SerialConfig* _msg = _internal_mutable_serial();
1975inline bool HubManager_BotToGPS::_internal_has_tcp_client()
const {
1976 return transport_case() == kTcpClient;
1978inline bool HubManager_BotToGPS::has_tcp_client()
const {
1979 return _internal_has_tcp_client();
1981inline void HubManager_BotToGPS::set_has_tcp_client() {
1982 _impl_._oneof_case_[0] = kTcpClient;
1984inline ::goby::middleware::protobuf::TCPClientConfig* HubManager_BotToGPS::release_tcp_client() {
1986 if (_internal_has_tcp_client()) {
1987 clear_has_transport();
1988 ::goby::middleware::protobuf::TCPClientConfig* temp = _impl_.transport_.tcp_client_;
1989 if (GetArenaForAllocation() !=
nullptr) {
1990 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1992 _impl_.transport_.tcp_client_ =
nullptr;
1998inline const ::goby::middleware::protobuf::TCPClientConfig& HubManager_BotToGPS::_internal_tcp_client()
const {
1999 return _internal_has_tcp_client()
2000 ? *_impl_.transport_.tcp_client_
2001 :
reinterpret_cast< ::goby::middleware::protobuf::TCPClientConfig&
>(::goby::middleware::protobuf::_TCPClientConfig_default_instance_);
2003inline const ::goby::middleware::protobuf::TCPClientConfig& HubManager_BotToGPS::tcp_client()
const {
2005 return _internal_tcp_client();
2007inline ::goby::middleware::protobuf::TCPClientConfig* HubManager_BotToGPS::unsafe_arena_release_tcp_client() {
2009 if (_internal_has_tcp_client()) {
2010 clear_has_transport();
2011 ::goby::middleware::protobuf::TCPClientConfig* temp = _impl_.transport_.tcp_client_;
2012 _impl_.transport_.tcp_client_ =
nullptr;
2018inline void HubManager_BotToGPS::unsafe_arena_set_allocated_tcp_client(::goby::middleware::protobuf::TCPClientConfig* tcp_client) {
2021 set_has_tcp_client();
2022 _impl_.transport_.tcp_client_ = tcp_client;
2026inline ::goby::middleware::protobuf::TCPClientConfig* HubManager_BotToGPS::_internal_mutable_tcp_client() {
2027 if (!_internal_has_tcp_client()) {
2029 set_has_tcp_client();
2030 _impl_.transport_.tcp_client_ = CreateMaybeMessage< ::goby::middleware::protobuf::TCPClientConfig >(GetArenaForAllocation());
2032 return _impl_.transport_.tcp_client_;
2034inline ::goby::middleware::protobuf::TCPClientConfig* HubManager_BotToGPS::mutable_tcp_client() {
2035 ::goby::middleware::protobuf::TCPClientConfig* _msg = _internal_mutable_tcp_client();
2041inline bool HubManager_BotToGPS::_internal_has_tcp_server()
const {
2042 return transport_case() == kTcpServer;
2044inline bool HubManager_BotToGPS::has_tcp_server()
const {
2045 return _internal_has_tcp_server();
2047inline void HubManager_BotToGPS::set_has_tcp_server() {
2048 _impl_._oneof_case_[0] = kTcpServer;
2050inline ::goby::middleware::protobuf::TCPServerConfig* HubManager_BotToGPS::release_tcp_server() {
2052 if (_internal_has_tcp_server()) {
2053 clear_has_transport();
2054 ::goby::middleware::protobuf::TCPServerConfig* temp = _impl_.transport_.tcp_server_;
2055 if (GetArenaForAllocation() !=
nullptr) {
2056 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2058 _impl_.transport_.tcp_server_ =
nullptr;
2064inline const ::goby::middleware::protobuf::TCPServerConfig& HubManager_BotToGPS::_internal_tcp_server()
const {
2065 return _internal_has_tcp_server()
2066 ? *_impl_.transport_.tcp_server_
2067 :
reinterpret_cast< ::goby::middleware::protobuf::TCPServerConfig&
>(::goby::middleware::protobuf::_TCPServerConfig_default_instance_);
2069inline const ::goby::middleware::protobuf::TCPServerConfig& HubManager_BotToGPS::tcp_server()
const {
2071 return _internal_tcp_server();
2073inline ::goby::middleware::protobuf::TCPServerConfig* HubManager_BotToGPS::unsafe_arena_release_tcp_server() {
2075 if (_internal_has_tcp_server()) {
2076 clear_has_transport();
2077 ::goby::middleware::protobuf::TCPServerConfig* temp = _impl_.transport_.tcp_server_;
2078 _impl_.transport_.tcp_server_ =
nullptr;
2084inline void HubManager_BotToGPS::unsafe_arena_set_allocated_tcp_server(::goby::middleware::protobuf::TCPServerConfig* tcp_server) {
2087 set_has_tcp_server();
2088 _impl_.transport_.tcp_server_ = tcp_server;
2092inline ::goby::middleware::protobuf::TCPServerConfig* HubManager_BotToGPS::_internal_mutable_tcp_server() {
2093 if (!_internal_has_tcp_server()) {
2095 set_has_tcp_server();
2096 _impl_.transport_.tcp_server_ = CreateMaybeMessage< ::goby::middleware::protobuf::TCPServerConfig >(GetArenaForAllocation());
2098 return _impl_.transport_.tcp_server_;
2100inline ::goby::middleware::protobuf::TCPServerConfig* HubManager_BotToGPS::mutable_tcp_server() {
2101 ::goby::middleware::protobuf::TCPServerConfig* _msg = _internal_mutable_tcp_server();
2106inline bool HubManager_BotToGPS::has_transport()
const {
2107 return transport_case() != TRANSPORT_NOT_SET;
2109inline void HubManager_BotToGPS::clear_has_transport() {
2110 _impl_._oneof_case_[0] = TRANSPORT_NOT_SET;
2120inline bool HubManager::_internal_has_app()
const {
2121 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
2122 PROTOBUF_ASSUME(!value || _impl_.app_ !=
nullptr);
2125inline bool HubManager::has_app()
const {
2126 return _internal_has_app();
2128inline const ::goby::middleware::protobuf::AppConfig& HubManager::_internal_app()
const {
2129 const ::goby::middleware::protobuf::AppConfig* p = _impl_.app_;
2130 return p !=
nullptr ? *p :
reinterpret_cast<const ::goby::middleware::protobuf::AppConfig&
>(
2131 ::goby::middleware::protobuf::_AppConfig_default_instance_);
2133inline const ::goby::middleware::protobuf::AppConfig& HubManager::app()
const {
2135 return _internal_app();
2137inline void HubManager::unsafe_arena_set_allocated_app(
2138 ::goby::middleware::protobuf::AppConfig* app) {
2139 if (GetArenaForAllocation() ==
nullptr) {
2140 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.app_);
2144 _impl_._has_bits_[0] |= 0x00000020u;
2146 _impl_._has_bits_[0] &= ~0x00000020u;
2150inline ::goby::middleware::protobuf::AppConfig* HubManager::release_app() {
2151 _impl_._has_bits_[0] &= ~0x00000020u;
2152 ::goby::middleware::protobuf::AppConfig* temp = _impl_.app_;
2153 _impl_.app_ =
nullptr;
2154#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
2155 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
2156 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2157 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
2159 if (GetArenaForAllocation() !=
nullptr) {
2160 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2165inline ::goby::middleware::protobuf::AppConfig* HubManager::unsafe_arena_release_app() {
2167 _impl_._has_bits_[0] &= ~0x00000020u;
2168 ::goby::middleware::protobuf::AppConfig* temp = _impl_.app_;
2169 _impl_.app_ =
nullptr;
2172inline ::goby::middleware::protobuf::AppConfig* HubManager::_internal_mutable_app() {
2173 _impl_._has_bits_[0] |= 0x00000020u;
2174 if (_impl_.app_ ==
nullptr) {
2175 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaForAllocation());
2180inline ::goby::middleware::protobuf::AppConfig* HubManager::mutable_app() {
2181 ::goby::middleware::protobuf::AppConfig* _msg = _internal_mutable_app();
2185inline void HubManager::set_allocated_app(::goby::middleware::protobuf::AppConfig* app) {
2186 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2187 if (message_arena ==
nullptr) {
2188 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.app_);
2191 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
2192 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
2193 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(app));
2194 if (message_arena != submessage_arena) {
2195 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2196 message_arena, app, submessage_arena);
2198 _impl_._has_bits_[0] |= 0x00000020u;
2200 _impl_._has_bits_[0] &= ~0x00000020u;
2207inline bool HubManager::_internal_has_interprocess()
const {
2208 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
2209 PROTOBUF_ASSUME(!value || _impl_.interprocess_ !=
nullptr);
2212inline bool HubManager::has_interprocess()
const {
2213 return _internal_has_interprocess();
2215inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& HubManager::_internal_interprocess()
const {
2216 const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = _impl_.interprocess_;
2217 return p !=
nullptr ? *p :
reinterpret_cast<const ::goby::zeromq::protobuf::InterProcessPortalConfig&
>(
2218 ::goby::zeromq::protobuf::_InterProcessPortalConfig_default_instance_);
2220inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& HubManager::interprocess()
const {
2222 return _internal_interprocess();
2224inline void HubManager::unsafe_arena_set_allocated_interprocess(
2225 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
2226 if (GetArenaForAllocation() ==
nullptr) {
2227 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.interprocess_);
2229 _impl_.interprocess_ = interprocess;
2231 _impl_._has_bits_[0] |= 0x00000040u;
2233 _impl_._has_bits_[0] &= ~0x00000040u;
2237inline ::goby::zeromq::protobuf::InterProcessPortalConfig* HubManager::release_interprocess() {
2238 _impl_._has_bits_[0] &= ~0x00000040u;
2239 ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = _impl_.interprocess_;
2240 _impl_.interprocess_ =
nullptr;
2241#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
2242 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
2243 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2244 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
2246 if (GetArenaForAllocation() !=
nullptr) {
2247 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2252inline ::goby::zeromq::protobuf::InterProcessPortalConfig* HubManager::unsafe_arena_release_interprocess() {
2254 _impl_._has_bits_[0] &= ~0x00000040u;
2255 ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = _impl_.interprocess_;
2256 _impl_.interprocess_ =
nullptr;
2259inline ::goby::zeromq::protobuf::InterProcessPortalConfig* HubManager::_internal_mutable_interprocess() {
2260 _impl_._has_bits_[0] |= 0x00000040u;
2261 if (_impl_.interprocess_ ==
nullptr) {
2262 auto* p = CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig>(GetArenaForAllocation());
2263 _impl_.interprocess_ = p;
2265 return _impl_.interprocess_;
2267inline ::goby::zeromq::protobuf::InterProcessPortalConfig* HubManager::mutable_interprocess() {
2268 ::goby::zeromq::protobuf::InterProcessPortalConfig* _msg = _internal_mutable_interprocess();
2272inline void HubManager::set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
2273 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2274 if (message_arena ==
nullptr) {
2275 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.interprocess_);
2278 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
2279 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
2280 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(interprocess));
2281 if (message_arena != submessage_arena) {
2282 interprocess = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2283 message_arena, interprocess, submessage_arena);
2285 _impl_._has_bits_[0] |= 0x00000040u;
2287 _impl_._has_bits_[0] &= ~0x00000040u;
2289 _impl_.interprocess_ = interprocess;
2294inline bool HubManager::_internal_has_expected_hubs()
const {
2295 bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0;
2296 PROTOBUF_ASSUME(!value || _impl_.expected_hubs_ !=
nullptr);
2299inline bool HubManager::has_expected_hubs()
const {
2300 return _internal_has_expected_hubs();
2302inline void HubManager::clear_expected_hubs() {
2303 if (_impl_.expected_hubs_ !=
nullptr) _impl_.expected_hubs_->Clear();
2304 _impl_._has_bits_[0] &= ~0x00000400u;
2306inline const ::jaiabot::config::HubManager_ExpectedHubs& HubManager::_internal_expected_hubs()
const {
2307 const ::jaiabot::config::HubManager_ExpectedHubs* p = _impl_.expected_hubs_;
2311inline const ::jaiabot::config::HubManager_ExpectedHubs& HubManager::expected_hubs()
const {
2313 return _internal_expected_hubs();
2315inline void HubManager::unsafe_arena_set_allocated_expected_hubs(
2317 if (GetArenaForAllocation() ==
nullptr) {
2318 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.expected_hubs_);
2320 _impl_.expected_hubs_ = expected_hubs;
2321 if (expected_hubs) {
2322 _impl_._has_bits_[0] |= 0x00000400u;
2324 _impl_._has_bits_[0] &= ~0x00000400u;
2328inline ::jaiabot::config::HubManager_ExpectedHubs* HubManager::release_expected_hubs() {
2329 _impl_._has_bits_[0] &= ~0x00000400u;
2331 _impl_.expected_hubs_ =
nullptr;
2332#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
2333 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
2334 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2335 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
2337 if (GetArenaForAllocation() !=
nullptr) {
2338 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2343inline ::jaiabot::config::HubManager_ExpectedHubs* HubManager::unsafe_arena_release_expected_hubs() {
2345 _impl_._has_bits_[0] &= ~0x00000400u;
2347 _impl_.expected_hubs_ =
nullptr;
2350inline ::jaiabot::config::HubManager_ExpectedHubs* HubManager::_internal_mutable_expected_hubs() {
2351 _impl_._has_bits_[0] |= 0x00000400u;
2352 if (_impl_.expected_hubs_ ==
nullptr) {
2354 _impl_.expected_hubs_ = p;
2356 return _impl_.expected_hubs_;
2358inline ::jaiabot::config::HubManager_ExpectedHubs* HubManager::mutable_expected_hubs() {
2364 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2365 if (message_arena ==
nullptr) {
2366 delete _impl_.expected_hubs_;
2368 if (expected_hubs) {
2369 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
2370 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(expected_hubs);
2371 if (message_arena != submessage_arena) {
2372 expected_hubs = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2373 message_arena, expected_hubs, submessage_arena);
2375 _impl_._has_bits_[0] |= 0x00000400u;
2377 _impl_._has_bits_[0] &= ~0x00000400u;
2379 _impl_.expected_hubs_ = expected_hubs;
2384inline bool HubManager::_internal_has_status_buffer()
const {
2385 bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
2386 PROTOBUF_ASSUME(!value || _impl_.status_buffer_ !=
nullptr);
2389inline bool HubManager::has_status_buffer()
const {
2390 return _internal_has_status_buffer();
2392inline const ::jaiabot::protobuf::LinkAwareBufferConfig& HubManager::_internal_status_buffer()
const {
2393 const ::jaiabot::protobuf::LinkAwareBufferConfig* p = _impl_.status_buffer_;
2397inline const ::jaiabot::protobuf::LinkAwareBufferConfig& HubManager::status_buffer()
const {
2399 return _internal_status_buffer();
2401inline void HubManager::unsafe_arena_set_allocated_status_buffer(
2403 if (GetArenaForAllocation() ==
nullptr) {
2404 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.status_buffer_);
2406 _impl_.status_buffer_ = status_buffer;
2407 if (status_buffer) {
2408 _impl_._has_bits_[0] |= 0x00000080u;
2410 _impl_._has_bits_[0] &= ~0x00000080u;
2414inline ::jaiabot::protobuf::LinkAwareBufferConfig* HubManager::release_status_buffer() {
2415 _impl_._has_bits_[0] &= ~0x00000080u;
2417 _impl_.status_buffer_ =
nullptr;
2418#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
2419 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
2420 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2421 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
2423 if (GetArenaForAllocation() !=
nullptr) {
2424 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2429inline ::jaiabot::protobuf::LinkAwareBufferConfig* HubManager::unsafe_arena_release_status_buffer() {
2431 _impl_._has_bits_[0] &= ~0x00000080u;
2433 _impl_.status_buffer_ =
nullptr;
2436inline ::jaiabot::protobuf::LinkAwareBufferConfig* HubManager::_internal_mutable_status_buffer() {
2437 _impl_._has_bits_[0] |= 0x00000080u;
2438 if (_impl_.status_buffer_ ==
nullptr) {
2440 _impl_.status_buffer_ = p;
2442 return _impl_.status_buffer_;
2444inline ::jaiabot::protobuf::LinkAwareBufferConfig* HubManager::mutable_status_buffer() {
2450 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2451 if (message_arena ==
nullptr) {
2452 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.status_buffer_);
2454 if (status_buffer) {
2455 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
2456 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
2457 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(status_buffer));
2458 if (message_arena != submessage_arena) {
2459 status_buffer = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2460 message_arena, status_buffer, submessage_arena);
2462 _impl_._has_bits_[0] |= 0x00000080u;
2464 _impl_._has_bits_[0] &= ~0x00000080u;
2466 _impl_.status_buffer_ = status_buffer;
2471inline bool HubManager::_internal_has_task_packet_buffer()
const {
2472 bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
2473 PROTOBUF_ASSUME(!value || _impl_.task_packet_buffer_ !=
nullptr);
2476inline bool HubManager::has_task_packet_buffer()
const {
2477 return _internal_has_task_packet_buffer();
2479inline const ::jaiabot::protobuf::LinkAwareBufferConfig& HubManager::_internal_task_packet_buffer()
const {
2480 const ::jaiabot::protobuf::LinkAwareBufferConfig* p = _impl_.task_packet_buffer_;
2484inline const ::jaiabot::protobuf::LinkAwareBufferConfig& HubManager::task_packet_buffer()
const {
2486 return _internal_task_packet_buffer();
2488inline void HubManager::unsafe_arena_set_allocated_task_packet_buffer(
2490 if (GetArenaForAllocation() ==
nullptr) {
2491 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.task_packet_buffer_);
2493 _impl_.task_packet_buffer_ = task_packet_buffer;
2494 if (task_packet_buffer) {
2495 _impl_._has_bits_[0] |= 0x00000100u;
2497 _impl_._has_bits_[0] &= ~0x00000100u;
2501inline ::jaiabot::protobuf::LinkAwareBufferConfig* HubManager::release_task_packet_buffer() {
2502 _impl_._has_bits_[0] &= ~0x00000100u;
2504 _impl_.task_packet_buffer_ =
nullptr;
2505#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
2506 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
2507 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2508 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
2510 if (GetArenaForAllocation() !=
nullptr) {
2511 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2516inline ::jaiabot::protobuf::LinkAwareBufferConfig* HubManager::unsafe_arena_release_task_packet_buffer() {
2518 _impl_._has_bits_[0] &= ~0x00000100u;
2520 _impl_.task_packet_buffer_ =
nullptr;
2523inline ::jaiabot::protobuf::LinkAwareBufferConfig* HubManager::_internal_mutable_task_packet_buffer() {
2524 _impl_._has_bits_[0] |= 0x00000100u;
2525 if (_impl_.task_packet_buffer_ ==
nullptr) {
2527 _impl_.task_packet_buffer_ = p;
2529 return _impl_.task_packet_buffer_;
2531inline ::jaiabot::protobuf::LinkAwareBufferConfig* HubManager::mutable_task_packet_buffer() {
2537 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2538 if (message_arena ==
nullptr) {
2539 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.task_packet_buffer_);
2541 if (task_packet_buffer) {
2542 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
2543 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
2544 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(task_packet_buffer));
2545 if (message_arena != submessage_arena) {
2546 task_packet_buffer = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2547 message_arena, task_packet_buffer, submessage_arena);
2549 _impl_._has_bits_[0] |= 0x00000100u;
2551 _impl_._has_bits_[0] &= ~0x00000100u;
2553 _impl_.task_packet_buffer_ = task_packet_buffer;
2558inline bool HubManager::_internal_has_engineering_status_buffer()
const {
2559 bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0;
2560 PROTOBUF_ASSUME(!value || _impl_.engineering_status_buffer_ !=
nullptr);
2563inline bool HubManager::has_engineering_status_buffer()
const {
2564 return _internal_has_engineering_status_buffer();
2566inline const ::jaiabot::protobuf::LinkAwareBufferConfig& HubManager::_internal_engineering_status_buffer()
const {
2567 const ::jaiabot::protobuf::LinkAwareBufferConfig* p = _impl_.engineering_status_buffer_;
2571inline const ::jaiabot::protobuf::LinkAwareBufferConfig& HubManager::engineering_status_buffer()
const {
2573 return _internal_engineering_status_buffer();
2575inline void HubManager::unsafe_arena_set_allocated_engineering_status_buffer(
2577 if (GetArenaForAllocation() ==
nullptr) {
2578 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.engineering_status_buffer_);
2580 _impl_.engineering_status_buffer_ = engineering_status_buffer;
2581 if (engineering_status_buffer) {
2582 _impl_._has_bits_[0] |= 0x00000200u;
2584 _impl_._has_bits_[0] &= ~0x00000200u;
2588inline ::jaiabot::protobuf::LinkAwareBufferConfig* HubManager::release_engineering_status_buffer() {
2589 _impl_._has_bits_[0] &= ~0x00000200u;
2591 _impl_.engineering_status_buffer_ =
nullptr;
2592#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
2593 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
2594 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2595 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
2597 if (GetArenaForAllocation() !=
nullptr) {
2598 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2603inline ::jaiabot::protobuf::LinkAwareBufferConfig* HubManager::unsafe_arena_release_engineering_status_buffer() {
2605 _impl_._has_bits_[0] &= ~0x00000200u;
2607 _impl_.engineering_status_buffer_ =
nullptr;
2610inline ::jaiabot::protobuf::LinkAwareBufferConfig* HubManager::_internal_mutable_engineering_status_buffer() {
2611 _impl_._has_bits_[0] |= 0x00000200u;
2612 if (_impl_.engineering_status_buffer_ ==
nullptr) {
2614 _impl_.engineering_status_buffer_ = p;
2616 return _impl_.engineering_status_buffer_;
2618inline ::jaiabot::protobuf::LinkAwareBufferConfig* HubManager::mutable_engineering_status_buffer() {
2624 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2625 if (message_arena ==
nullptr) {
2626 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.engineering_status_buffer_);
2628 if (engineering_status_buffer) {
2629 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
2630 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
2631 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(engineering_status_buffer));
2632 if (message_arena != submessage_arena) {
2633 engineering_status_buffer = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2634 message_arena, engineering_status_buffer, submessage_arena);
2636 _impl_._has_bits_[0] |= 0x00000200u;
2638 _impl_._has_bits_[0] &= ~0x00000200u;
2640 _impl_.engineering_status_buffer_ = engineering_status_buffer;
2645inline bool HubManager::_internal_has_hub2hub_buffer()
const {
2646 bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0;
2647 PROTOBUF_ASSUME(!value || _impl_.hub2hub_buffer_ !=
nullptr);
2650inline bool HubManager::has_hub2hub_buffer()
const {
2651 return _internal_has_hub2hub_buffer();
2653inline const ::goby::acomms::protobuf::DynamicBufferConfig& HubManager::_internal_hub2hub_buffer()
const {
2654 const ::goby::acomms::protobuf::DynamicBufferConfig* p = _impl_.hub2hub_buffer_;
2655 return p !=
nullptr ? *p :
reinterpret_cast<const ::goby::acomms::protobuf::DynamicBufferConfig&
>(
2656 ::goby::acomms::protobuf::_DynamicBufferConfig_default_instance_);
2658inline const ::goby::acomms::protobuf::DynamicBufferConfig& HubManager::hub2hub_buffer()
const {
2660 return _internal_hub2hub_buffer();
2662inline void HubManager::unsafe_arena_set_allocated_hub2hub_buffer(
2663 ::goby::acomms::protobuf::DynamicBufferConfig* hub2hub_buffer) {
2664 if (GetArenaForAllocation() ==
nullptr) {
2665 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.hub2hub_buffer_);
2667 _impl_.hub2hub_buffer_ = hub2hub_buffer;
2668 if (hub2hub_buffer) {
2669 _impl_._has_bits_[0] |= 0x00000800u;
2671 _impl_._has_bits_[0] &= ~0x00000800u;
2675inline ::goby::acomms::protobuf::DynamicBufferConfig* HubManager::release_hub2hub_buffer() {
2676 _impl_._has_bits_[0] &= ~0x00000800u;
2677 ::goby::acomms::protobuf::DynamicBufferConfig* temp = _impl_.hub2hub_buffer_;
2678 _impl_.hub2hub_buffer_ =
nullptr;
2679#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
2680 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
2681 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2682 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
2684 if (GetArenaForAllocation() !=
nullptr) {
2685 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2690inline ::goby::acomms::protobuf::DynamicBufferConfig* HubManager::unsafe_arena_release_hub2hub_buffer() {
2692 _impl_._has_bits_[0] &= ~0x00000800u;
2693 ::goby::acomms::protobuf::DynamicBufferConfig* temp = _impl_.hub2hub_buffer_;
2694 _impl_.hub2hub_buffer_ =
nullptr;
2697inline ::goby::acomms::protobuf::DynamicBufferConfig* HubManager::_internal_mutable_hub2hub_buffer() {
2698 _impl_._has_bits_[0] |= 0x00000800u;
2699 if (_impl_.hub2hub_buffer_ ==
nullptr) {
2700 auto* p = CreateMaybeMessage<::goby::acomms::protobuf::DynamicBufferConfig>(GetArenaForAllocation());
2701 _impl_.hub2hub_buffer_ = p;
2703 return _impl_.hub2hub_buffer_;
2705inline ::goby::acomms::protobuf::DynamicBufferConfig* HubManager::mutable_hub2hub_buffer() {
2706 ::goby::acomms::protobuf::DynamicBufferConfig* _msg = _internal_mutable_hub2hub_buffer();
2710inline void HubManager::set_allocated_hub2hub_buffer(::goby::acomms::protobuf::DynamicBufferConfig* hub2hub_buffer) {
2711 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2712 if (message_arena ==
nullptr) {
2713 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.hub2hub_buffer_);
2715 if (hub2hub_buffer) {
2716 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
2717 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
2718 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(hub2hub_buffer));
2719 if (message_arena != submessage_arena) {
2720 hub2hub_buffer = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2721 message_arena, hub2hub_buffer, submessage_arena);
2723 _impl_._has_bits_[0] |= 0x00000800u;
2725 _impl_._has_bits_[0] &= ~0x00000800u;
2727 _impl_.hub2hub_buffer_ = hub2hub_buffer;
2732inline bool HubManager::_internal_has_hub_id()
const {
2733 bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0;
2736inline bool HubManager::has_hub_id()
const {
2737 return _internal_has_hub_id();
2739inline void HubManager::clear_hub_id() {
2741 _impl_._has_bits_[0] &= ~0x00002000u;
2743inline int32_t HubManager::_internal_hub_id()
const {
2744 return _impl_.hub_id_;
2746inline int32_t HubManager::hub_id()
const {
2748 return _internal_hub_id();
2750inline void HubManager::_internal_set_hub_id(int32_t value) {
2751 _impl_._has_bits_[0] |= 0x00002000u;
2752 _impl_.hub_id_ = value;
2754inline void HubManager::set_hub_id(int32_t value) {
2755 _internal_set_hub_id(value);
2760inline bool HubManager::_internal_has_fleet_id()
const {
2761 bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0;
2764inline bool HubManager::has_fleet_id()
const {
2765 return _internal_has_fleet_id();
2767inline void HubManager::clear_fleet_id() {
2768 _impl_.fleet_id_ = 0;
2769 _impl_._has_bits_[0] &= ~0x00004000u;
2771inline int32_t HubManager::_internal_fleet_id()
const {
2772 return _impl_.fleet_id_;
2774inline int32_t HubManager::fleet_id()
const {
2776 return _internal_fleet_id();
2778inline void HubManager::_internal_set_fleet_id(int32_t value) {
2779 _impl_._has_bits_[0] |= 0x00004000u;
2780 _impl_.fleet_id_ = value;
2782inline void HubManager::set_fleet_id(int32_t value) {
2783 _internal_set_fleet_id(value);
2788inline bool HubManager::_internal_has_health_report_timeout_seconds()
const {
2789 bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0;
2792inline bool HubManager::has_health_report_timeout_seconds()
const {
2793 return _internal_has_health_report_timeout_seconds();
2795inline void HubManager::clear_health_report_timeout_seconds() {
2796 _impl_.health_report_timeout_seconds_ = 20;
2797 _impl_._has_bits_[0] &= ~0x00040000u;
2799inline int32_t HubManager::_internal_health_report_timeout_seconds()
const {
2800 return _impl_.health_report_timeout_seconds_;
2802inline int32_t HubManager::health_report_timeout_seconds()
const {
2804 return _internal_health_report_timeout_seconds();
2806inline void HubManager::_internal_set_health_report_timeout_seconds(int32_t value) {
2807 _impl_._has_bits_[0] |= 0x00040000u;
2808 _impl_.health_report_timeout_seconds_ = value;
2810inline void HubManager::set_health_report_timeout_seconds(int32_t value) {
2811 _internal_set_health_report_timeout_seconds(value);
2816inline bool HubManager::_internal_has_vfleet()
const {
2817 bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0;
2818 PROTOBUF_ASSUME(!value || _impl_.vfleet_ !=
nullptr);
2821inline bool HubManager::has_vfleet()
const {
2822 return _internal_has_vfleet();
2824inline void HubManager::clear_vfleet() {
2825 if (_impl_.vfleet_ !=
nullptr) _impl_.vfleet_->Clear();
2826 _impl_._has_bits_[0] &= ~0x00001000u;
2828inline const ::jaiabot::config::HubManager_VirtualFleetData& HubManager::_internal_vfleet()
const {
2829 const ::jaiabot::config::HubManager_VirtualFleetData* p = _impl_.vfleet_;
2833inline const ::jaiabot::config::HubManager_VirtualFleetData& HubManager::vfleet()
const {
2835 return _internal_vfleet();
2837inline void HubManager::unsafe_arena_set_allocated_vfleet(
2839 if (GetArenaForAllocation() ==
nullptr) {
2840 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.vfleet_);
2842 _impl_.vfleet_ = vfleet;
2844 _impl_._has_bits_[0] |= 0x00001000u;
2846 _impl_._has_bits_[0] &= ~0x00001000u;
2850inline ::jaiabot::config::HubManager_VirtualFleetData* HubManager::release_vfleet() {
2851 _impl_._has_bits_[0] &= ~0x00001000u;
2853 _impl_.vfleet_ =
nullptr;
2854#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
2855 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
2856 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2857 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
2859 if (GetArenaForAllocation() !=
nullptr) {
2860 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2865inline ::jaiabot::config::HubManager_VirtualFleetData* HubManager::unsafe_arena_release_vfleet() {
2867 _impl_._has_bits_[0] &= ~0x00001000u;
2869 _impl_.vfleet_ =
nullptr;
2872inline ::jaiabot::config::HubManager_VirtualFleetData* HubManager::_internal_mutable_vfleet() {
2873 _impl_._has_bits_[0] |= 0x00001000u;
2874 if (_impl_.vfleet_ ==
nullptr) {
2878 return _impl_.vfleet_;
2880inline ::jaiabot::config::HubManager_VirtualFleetData* HubManager::mutable_vfleet() {
2886 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2887 if (message_arena ==
nullptr) {
2888 delete _impl_.vfleet_;
2891 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
2892 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(vfleet);
2893 if (message_arena != submessage_arena) {
2894 vfleet = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2895 message_arena, vfleet, submessage_arena);
2897 _impl_._has_bits_[0] |= 0x00001000u;
2899 _impl_._has_bits_[0] &= ~0x00001000u;
2901 _impl_.vfleet_ = vfleet;
2906inline bool HubManager::_internal_has_data_offload_script()
const {
2907 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
2910inline bool HubManager::has_data_offload_script()
const {
2911 return _internal_has_data_offload_script();
2913inline void HubManager::clear_data_offload_script() {
2914 _impl_.data_offload_script_.ClearToEmpty();
2915 _impl_._has_bits_[0] &= ~0x00000001u;
2917inline const std::string& HubManager::data_offload_script()
const {
2919 return _internal_data_offload_script();
2921template <
typename ArgT0,
typename... ArgT>
2922inline PROTOBUF_ALWAYS_INLINE
2923void HubManager::set_data_offload_script(ArgT0&& arg0, ArgT... args) {
2924 _impl_._has_bits_[0] |= 0x00000001u;
2925 _impl_.data_offload_script_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
2928inline std::string* HubManager::mutable_data_offload_script() {
2929 std::string* _s = _internal_mutable_data_offload_script();
2933inline const std::string& HubManager::_internal_data_offload_script()
const {
2934 return _impl_.data_offload_script_.Get();
2936inline void HubManager::_internal_set_data_offload_script(
const std::string& value) {
2937 _impl_._has_bits_[0] |= 0x00000001u;
2938 _impl_.data_offload_script_.Set(value, GetArenaForAllocation());
2940inline std::string* HubManager::_internal_mutable_data_offload_script() {
2941 _impl_._has_bits_[0] |= 0x00000001u;
2942 return _impl_.data_offload_script_.Mutable(GetArenaForAllocation());
2944inline std::string* HubManager::release_data_offload_script() {
2946 if (!_internal_has_data_offload_script()) {
2949 _impl_._has_bits_[0] &= ~0x00000001u;
2950 auto* p = _impl_.data_offload_script_.Release();
2951#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2952 if (_impl_.data_offload_script_.IsDefault()) {
2953 _impl_.data_offload_script_.Set(
"", GetArenaForAllocation());
2958inline void HubManager::set_allocated_data_offload_script(std::string* data_offload_script) {
2959 if (data_offload_script !=
nullptr) {
2960 _impl_._has_bits_[0] |= 0x00000001u;
2962 _impl_._has_bits_[0] &= ~0x00000001u;
2964 _impl_.data_offload_script_.SetAllocated(data_offload_script, GetArenaForAllocation());
2965#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2966 if (_impl_.data_offload_script_.IsDefault()) {
2967 _impl_.data_offload_script_.Set(
"", GetArenaForAllocation());
2974inline bool HubManager::_internal_has_log_staging_dir()
const {
2975 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
2978inline bool HubManager::has_log_staging_dir()
const {
2979 return _internal_has_log_staging_dir();
2981inline void HubManager::clear_log_staging_dir() {
2982 _impl_.log_staging_dir_.ClearToDefault(::jaiabot::config::HubManager::Impl_::_i_give_permission_to_break_this_code_default_log_staging_dir_, GetArenaForAllocation());
2983 _impl_._has_bits_[0] &= ~0x00000002u;
2985inline const std::string& HubManager::log_staging_dir()
const {
2987 if (_impl_.log_staging_dir_.IsDefault())
return Impl_::_i_give_permission_to_break_this_code_default_log_staging_dir_.get();
2988 return _internal_log_staging_dir();
2990template <
typename ArgT0,
typename... ArgT>
2991inline PROTOBUF_ALWAYS_INLINE
2992void HubManager::set_log_staging_dir(ArgT0&& arg0, ArgT... args) {
2993 _impl_._has_bits_[0] |= 0x00000002u;
2994 _impl_.log_staging_dir_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
2997inline std::string* HubManager::mutable_log_staging_dir() {
2998 std::string* _s = _internal_mutable_log_staging_dir();
3002inline const std::string& HubManager::_internal_log_staging_dir()
const {
3003 return _impl_.log_staging_dir_.Get();
3005inline void HubManager::_internal_set_log_staging_dir(
const std::string& value) {
3006 _impl_._has_bits_[0] |= 0x00000002u;
3007 _impl_.log_staging_dir_.Set(value, GetArenaForAllocation());
3009inline std::string* HubManager::_internal_mutable_log_staging_dir() {
3010 _impl_._has_bits_[0] |= 0x00000002u;
3011 return _impl_.log_staging_dir_.Mutable(::jaiabot::config::HubManager::Impl_::_i_give_permission_to_break_this_code_default_log_staging_dir_, GetArenaForAllocation());
3013inline std::string* HubManager::release_log_staging_dir() {
3015 if (!_internal_has_log_staging_dir()) {
3018 _impl_._has_bits_[0] &= ~0x00000002u;
3019 auto* p = _impl_.log_staging_dir_.Release();
3022inline void HubManager::set_allocated_log_staging_dir(std::string* log_staging_dir) {
3023 if (log_staging_dir !=
nullptr) {
3024 _impl_._has_bits_[0] |= 0x00000002u;
3026 _impl_._has_bits_[0] &= ~0x00000002u;
3028 _impl_.log_staging_dir_.SetAllocated(log_staging_dir, GetArenaForAllocation());
3033inline bool HubManager::_internal_has_log_offload_dir()
const {
3034 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
3037inline bool HubManager::has_log_offload_dir()
const {
3038 return _internal_has_log_offload_dir();
3040inline void HubManager::clear_log_offload_dir() {
3041 _impl_.log_offload_dir_.ClearToDefault(::jaiabot::config::HubManager::Impl_::_i_give_permission_to_break_this_code_default_log_offload_dir_, GetArenaForAllocation());
3042 _impl_._has_bits_[0] &= ~0x00000004u;
3044inline const std::string& HubManager::log_offload_dir()
const {
3046 if (_impl_.log_offload_dir_.IsDefault())
return Impl_::_i_give_permission_to_break_this_code_default_log_offload_dir_.get();
3047 return _internal_log_offload_dir();
3049template <
typename ArgT0,
typename... ArgT>
3050inline PROTOBUF_ALWAYS_INLINE
3051void HubManager::set_log_offload_dir(ArgT0&& arg0, ArgT... args) {
3052 _impl_._has_bits_[0] |= 0x00000004u;
3053 _impl_.log_offload_dir_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
3056inline std::string* HubManager::mutable_log_offload_dir() {
3057 std::string* _s = _internal_mutable_log_offload_dir();
3061inline const std::string& HubManager::_internal_log_offload_dir()
const {
3062 return _impl_.log_offload_dir_.Get();
3064inline void HubManager::_internal_set_log_offload_dir(
const std::string& value) {
3065 _impl_._has_bits_[0] |= 0x00000004u;
3066 _impl_.log_offload_dir_.Set(value, GetArenaForAllocation());
3068inline std::string* HubManager::_internal_mutable_log_offload_dir() {
3069 _impl_._has_bits_[0] |= 0x00000004u;
3070 return _impl_.log_offload_dir_.Mutable(::jaiabot::config::HubManager::Impl_::_i_give_permission_to_break_this_code_default_log_offload_dir_, GetArenaForAllocation());
3072inline std::string* HubManager::release_log_offload_dir() {
3074 if (!_internal_has_log_offload_dir()) {
3077 _impl_._has_bits_[0] &= ~0x00000004u;
3078 auto* p = _impl_.log_offload_dir_.Release();
3081inline void HubManager::set_allocated_log_offload_dir(std::string* log_offload_dir) {
3082 if (log_offload_dir !=
nullptr) {
3083 _impl_._has_bits_[0] |= 0x00000004u;
3085 _impl_._has_bits_[0] &= ~0x00000004u;
3087 _impl_.log_offload_dir_.SetAllocated(log_offload_dir, GetArenaForAllocation());
3092inline bool HubManager::_internal_has_bot_start_ip()
const {
3093 bool value = (_impl_._has_bits_[0] & 0x00080000u) != 0;
3096inline bool HubManager::has_bot_start_ip()
const {
3097 return _internal_has_bot_start_ip();
3099inline void HubManager::clear_bot_start_ip() {
3100 _impl_.bot_start_ip_ = 100;
3101 _impl_._has_bits_[0] &= ~0x00080000u;
3103inline int32_t HubManager::_internal_bot_start_ip()
const {
3104 return _impl_.bot_start_ip_;
3106inline int32_t HubManager::bot_start_ip()
const {
3108 return _internal_bot_start_ip();
3110inline void HubManager::_internal_set_bot_start_ip(int32_t value) {
3111 _impl_._has_bits_[0] |= 0x00080000u;
3112 _impl_.bot_start_ip_ = value;
3114inline void HubManager::set_bot_start_ip(int32_t value) {
3115 _internal_set_bot_start_ip(value);
3120inline bool HubManager::_internal_has_class_b_network()
const {
3121 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
3124inline bool HubManager::has_class_b_network()
const {
3125 return _internal_has_class_b_network();
3127inline void HubManager::clear_class_b_network() {
3128 _impl_.class_b_network_.ClearToDefault(::jaiabot::config::HubManager::Impl_::_i_give_permission_to_break_this_code_default_class_b_network_, GetArenaForAllocation());
3129 _impl_._has_bits_[0] &= ~0x00000008u;
3131inline const std::string& HubManager::class_b_network()
const {
3133 if (_impl_.class_b_network_.IsDefault())
return Impl_::_i_give_permission_to_break_this_code_default_class_b_network_.get();
3134 return _internal_class_b_network();
3136template <
typename ArgT0,
typename... ArgT>
3137inline PROTOBUF_ALWAYS_INLINE
3138void HubManager::set_class_b_network(ArgT0&& arg0, ArgT... args) {
3139 _impl_._has_bits_[0] |= 0x00000008u;
3140 _impl_.class_b_network_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
3143inline std::string* HubManager::mutable_class_b_network() {
3144 std::string* _s = _internal_mutable_class_b_network();
3148inline const std::string& HubManager::_internal_class_b_network()
const {
3149 return _impl_.class_b_network_.Get();
3151inline void HubManager::_internal_set_class_b_network(
const std::string& value) {
3152 _impl_._has_bits_[0] |= 0x00000008u;
3153 _impl_.class_b_network_.Set(value, GetArenaForAllocation());
3155inline std::string* HubManager::_internal_mutable_class_b_network() {
3156 _impl_._has_bits_[0] |= 0x00000008u;
3157 return _impl_.class_b_network_.Mutable(::jaiabot::config::HubManager::Impl_::_i_give_permission_to_break_this_code_default_class_b_network_, GetArenaForAllocation());
3159inline std::string* HubManager::release_class_b_network() {
3161 if (!_internal_has_class_b_network()) {
3164 _impl_._has_bits_[0] &= ~0x00000008u;
3165 auto* p = _impl_.class_b_network_.Release();
3168inline void HubManager::set_allocated_class_b_network(std::string* class_b_network) {
3169 if (class_b_network !=
nullptr) {
3170 _impl_._has_bits_[0] |= 0x00000008u;
3172 _impl_._has_bits_[0] &= ~0x00000008u;
3174 _impl_.class_b_network_.SetAllocated(class_b_network, GetArenaForAllocation());
3179inline bool HubManager::_internal_has_use_localhost_for_data_offload()
const {
3180 bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0;
3183inline bool HubManager::has_use_localhost_for_data_offload()
const {
3184 return _internal_has_use_localhost_for_data_offload();
3186inline void HubManager::clear_use_localhost_for_data_offload() {
3187 _impl_.use_localhost_for_data_offload_ =
false;
3188 _impl_._has_bits_[0] &= ~0x00008000u;
3190inline bool HubManager::_internal_use_localhost_for_data_offload()
const {
3191 return _impl_.use_localhost_for_data_offload_;
3193inline bool HubManager::use_localhost_for_data_offload()
const {
3195 return _internal_use_localhost_for_data_offload();
3197inline void HubManager::_internal_set_use_localhost_for_data_offload(
bool value) {
3198 _impl_._has_bits_[0] |= 0x00008000u;
3199 _impl_.use_localhost_for_data_offload_ = value;
3201inline void HubManager::set_use_localhost_for_data_offload(
bool value) {
3202 _internal_set_use_localhost_for_data_offload(value);
3207inline bool HubManager::_internal_has_hub_gpsd_device()
const {
3208 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
3211inline bool HubManager::has_hub_gpsd_device()
const {
3212 return _internal_has_hub_gpsd_device();
3214inline void HubManager::clear_hub_gpsd_device() {
3215 _impl_.hub_gpsd_device_.ClearToEmpty();
3216 _impl_._has_bits_[0] &= ~0x00000010u;
3218inline const std::string& HubManager::hub_gpsd_device()
const {
3220 return _internal_hub_gpsd_device();
3222template <
typename ArgT0,
typename... ArgT>
3223inline PROTOBUF_ALWAYS_INLINE
3224void HubManager::set_hub_gpsd_device(ArgT0&& arg0, ArgT... args) {
3225 _impl_._has_bits_[0] |= 0x00000010u;
3226 _impl_.hub_gpsd_device_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
3229inline std::string* HubManager::mutable_hub_gpsd_device() {
3230 std::string* _s = _internal_mutable_hub_gpsd_device();
3234inline const std::string& HubManager::_internal_hub_gpsd_device()
const {
3235 return _impl_.hub_gpsd_device_.Get();
3237inline void HubManager::_internal_set_hub_gpsd_device(
const std::string& value) {
3238 _impl_._has_bits_[0] |= 0x00000010u;
3239 _impl_.hub_gpsd_device_.Set(value, GetArenaForAllocation());
3241inline std::string* HubManager::_internal_mutable_hub_gpsd_device() {
3242 _impl_._has_bits_[0] |= 0x00000010u;
3243 return _impl_.hub_gpsd_device_.Mutable(GetArenaForAllocation());
3245inline std::string* HubManager::release_hub_gpsd_device() {
3247 if (!_internal_has_hub_gpsd_device()) {
3250 _impl_._has_bits_[0] &= ~0x00000010u;
3251 auto* p = _impl_.hub_gpsd_device_.Release();
3252#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
3253 if (_impl_.hub_gpsd_device_.IsDefault()) {
3254 _impl_.hub_gpsd_device_.Set(
"", GetArenaForAllocation());
3259inline void HubManager::set_allocated_hub_gpsd_device(std::string* hub_gpsd_device) {
3260 if (hub_gpsd_device !=
nullptr) {
3261 _impl_._has_bits_[0] |= 0x00000010u;
3263 _impl_._has_bits_[0] &= ~0x00000010u;
3265 _impl_.hub_gpsd_device_.SetAllocated(hub_gpsd_device, GetArenaForAllocation());
3266#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
3267 if (_impl_.hub_gpsd_device_.IsDefault()) {
3268 _impl_.hub_gpsd_device_.Set(
"", GetArenaForAllocation());
3275inline int HubManager::_internal_contact_gps_size()
const {
3276 return _impl_.contact_gps_.size();
3278inline int HubManager::contact_gps_size()
const {
3279 return _internal_contact_gps_size();
3281inline void HubManager::clear_contact_gps() {
3282 _impl_.contact_gps_.Clear();
3284inline ::jaiabot::config::HubManager_ContactGPS* HubManager::mutable_contact_gps(
int index) {
3286 return _impl_.contact_gps_.Mutable(index);
3288inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::config::HubManager_ContactGPS >*
3289HubManager::mutable_contact_gps() {
3291 return &_impl_.contact_gps_;
3293inline const ::jaiabot::config::HubManager_ContactGPS& HubManager::_internal_contact_gps(
int index)
const {
3294 return _impl_.contact_gps_.Get(index);
3296inline const ::jaiabot::config::HubManager_ContactGPS& HubManager::contact_gps(
int index)
const {
3298 return _internal_contact_gps(index);
3300inline ::jaiabot::config::HubManager_ContactGPS* HubManager::_internal_add_contact_gps() {
3301 return _impl_.contact_gps_.Add();
3303inline ::jaiabot::config::HubManager_ContactGPS* HubManager::add_contact_gps() {
3308inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::config::HubManager_ContactGPS >&
3309HubManager::contact_gps()
const {
3311 return _impl_.contact_gps_;
3315inline int HubManager::_internal_bot_to_gps_size()
const {
3316 return _impl_.bot_to_gps_.size();
3318inline int HubManager::bot_to_gps_size()
const {
3319 return _internal_bot_to_gps_size();
3321inline void HubManager::clear_bot_to_gps() {
3322 _impl_.bot_to_gps_.Clear();
3324inline ::jaiabot::config::HubManager_BotToGPS* HubManager::mutable_bot_to_gps(
int index) {
3326 return _impl_.bot_to_gps_.Mutable(index);
3328inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::config::HubManager_BotToGPS >*
3329HubManager::mutable_bot_to_gps() {
3331 return &_impl_.bot_to_gps_;
3333inline const ::jaiabot::config::HubManager_BotToGPS& HubManager::_internal_bot_to_gps(
int index)
const {
3334 return _impl_.bot_to_gps_.Get(index);
3336inline const ::jaiabot::config::HubManager_BotToGPS& HubManager::bot_to_gps(
int index)
const {
3338 return _internal_bot_to_gps(index);
3340inline ::jaiabot::config::HubManager_BotToGPS* HubManager::_internal_add_bot_to_gps() {
3341 return _impl_.bot_to_gps_.Add();
3343inline ::jaiabot::config::HubManager_BotToGPS* HubManager::add_bot_to_gps() {
3348inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::config::HubManager_BotToGPS >&
3349HubManager::bot_to_gps()
const {
3351 return _impl_.bot_to_gps_;
3355inline bool HubManager::_internal_has_contact_blackout_seconds()
const {
3356 bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0;
3359inline bool HubManager::has_contact_blackout_seconds()
const {
3360 return _internal_has_contact_blackout_seconds();
3362inline void HubManager::clear_contact_blackout_seconds() {
3363 _impl_.contact_blackout_seconds_ = 2;
3364 _impl_._has_bits_[0] &= ~0x00020000u;
3366inline int32_t HubManager::_internal_contact_blackout_seconds()
const {
3367 return _impl_.contact_blackout_seconds_;
3369inline int32_t HubManager::contact_blackout_seconds()
const {
3371 return _internal_contact_blackout_seconds();
3373inline void HubManager::_internal_set_contact_blackout_seconds(int32_t value) {
3374 _impl_._has_bits_[0] |= 0x00020000u;
3375 _impl_.contact_blackout_seconds_ = value;
3377inline void HubManager::set_contact_blackout_seconds(int32_t value) {
3378 _internal_set_contact_blackout_seconds(value);
3383inline bool HubManager::_internal_has_subnet_mask()
const {
3384 bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0;
3387inline bool HubManager::has_subnet_mask()
const {
3388 return _internal_has_subnet_mask();
3390inline void HubManager::clear_subnet_mask() {
3391 _impl_.subnet_mask_ = 0u;
3392 _impl_._has_bits_[0] &= ~0x00010000u;
3394inline uint32_t HubManager::_internal_subnet_mask()
const {
3395 return _impl_.subnet_mask_;
3397inline uint32_t HubManager::subnet_mask()
const {
3399 return _internal_subnet_mask();
3401inline void HubManager::_internal_set_subnet_mask(uint32_t value) {
3402 _impl_._has_bits_[0] |= 0x00010000u;
3403 _impl_.subnet_mask_ = value;
3405inline void HubManager::set_subnet_mask(uint32_t value) {
3406 _internal_set_subnet_mask(value);
3411inline int HubManager::_internal_link_to_subscribe_on_size()
const {
3412 return _impl_.link_to_subscribe_on_.size();
3414inline int HubManager::link_to_subscribe_on_size()
const {
3415 return _internal_link_to_subscribe_on_size();
3417inline void HubManager::clear_link_to_subscribe_on() {
3418 _impl_.link_to_subscribe_on_.Clear();
3420inline ::jaiabot::protobuf::Link HubManager::_internal_link_to_subscribe_on(
int index)
const {
3423inline ::jaiabot::protobuf::Link HubManager::link_to_subscribe_on(
int index)
const {
3425 return _internal_link_to_subscribe_on(index);
3429 _impl_.link_to_subscribe_on_.Set(index, value);
3434 _impl_.link_to_subscribe_on_.Add(value);
3437 _internal_add_link_to_subscribe_on(value);
3440inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>&
3441HubManager::link_to_subscribe_on()
const {
3443 return _impl_.link_to_subscribe_on_;
3445inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
3446HubManager::_internal_mutable_link_to_subscribe_on() {
3447 return &_impl_.link_to_subscribe_on_;
3449inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
3450HubManager::mutable_link_to_subscribe_on() {
3452 return _internal_mutable_link_to_subscribe_on();
3456 #pragma GCC diagnostic pop
3474#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()
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_