4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2frockblock_5fsimulator_5fconfig_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2frockblock_5fsimulator_5fconfig_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>
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>
30#include <google/protobuf/repeated_field.h>
31#include <google/protobuf/extension_set.h>
32#include <google/protobuf/unknown_field_set.h>
35#include <boost/units/quantity.hpp>
36#include <boost/units/absolute.hpp>
37#include <boost/units/dimensionless_type.hpp>
38#include <boost/units/make_scaled_unit.hpp>
40#include <google/protobuf/port_def.inc>
41#define PROTOBUF_INTERNAL_EXPORT_goby_2facomms_2fprotobuf_2frockblock_5fsimulator_5fconfig_2eproto
42PROTOBUF_NAMESPACE_OPEN
46PROTOBUF_NAMESPACE_CLOSE
58struct RockBLOCKSimulatorConfigDefaultTypeInternal;
61struct RockBLOCKSimulatorConfig_IMEIToModemIDDefaultTypeInternal;
67PROTOBUF_NAMESPACE_OPEN
70PROTOBUF_NAMESPACE_CLOSE
79 public ::PROTOBUF_NAMESPACE_ID::Message {
88 *
this = ::std::move(from);
96 if (
this == &from)
return *
this;
97 if (GetOwningArena() == from.GetOwningArena()
98 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
99 && GetOwningArena() !=
nullptr
110 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
113 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
116 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
139 if (other ==
this)
return;
140 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
141 if (GetOwningArena() !=
nullptr &&
142 GetOwningArena() == other->GetOwningArena()) {
144 if (GetOwningArena() == other->GetOwningArena()) {
148 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
152 if (other ==
this)
return;
153 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
160 return CreateMaybeMessage<RockBLOCKSimulatorConfig_IMEIToModemID>(arena);
162 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
164 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
166 RockBLOCKSimulatorConfig_IMEIToModemID::MergeImpl(*
this, from);
169 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
171 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
177 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
181 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
183 void SetCachedSize(
int size)
const final;
187 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
188 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
189 return "goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.IMEIToModemID";
193 bool is_message_owned =
false);
197 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
213 bool _internal_has_imei()
const;
216 const std::string&
imei()
const;
217 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
223 const std::string& _internal_imei()
const;
224 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_imei(
const std::string& value);
225 std::string* _internal_mutable_imei();
231 bool _internal_has_pty()
const;
234 const ::goby::middleware::protobuf::PTYConfig&
pty()
const;
235 PROTOBUF_NODISCARD ::goby::middleware::protobuf::PTYConfig*
release_pty();
239 const ::goby::middleware::protobuf::PTYConfig& _internal_pty()
const;
249 bool _internal_has_modem_id()
const;
255 uint32_t _internal_modem_id()
const;
256 void _internal_set_modem_id(uint32_t value);
264 size_t RequiredFieldsByteSizeFallback()
const;
266 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
267 typedef void InternalArenaConstructable_;
268 typedef void DestructorSkippable_;
270 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
271 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
272 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr imei_;
277 friend struct ::TableStruct_goby_2facomms_2fprotobuf_2frockblock_5fsimulator_5fconfig_2eproto;
282 public ::PROTOBUF_NAMESPACE_ID::Message {
291 *
this = ::std::move(from);
299 if (
this == &from)
return *
this;
300 if (GetOwningArena() == from.GetOwningArena()
301 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
302 && GetOwningArena() !=
nullptr
313 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
316 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
319 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
320 return GetDescriptor();
323 return default_instance().GetMetadata().descriptor;
326 return default_instance().GetMetadata().reflection;
329 return *internal_default_instance();
335 static constexpr int kIndexInFileMessages =
342 if (other ==
this)
return;
343 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
344 if (GetOwningArena() !=
nullptr &&
345 GetOwningArena() == other->GetOwningArena()) {
347 if (GetOwningArena() == other->GetOwningArena()) {
351 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
355 if (other ==
this)
return;
356 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
363 return CreateMaybeMessage<RockBLOCKSimulatorConfig>(arena);
365 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
367 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
369 RockBLOCKSimulatorConfig::MergeImpl(*
this, from);
372 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
374 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
375 bool IsInitialized() const final;
378 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
379 uint8_t* _InternalSerialize(
380 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
381 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
384 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
386 void SetCachedSize(
int size)
const final;
390 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
391 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
392 return "goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig";
396 bool is_message_owned =
false);
400 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
402 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
411 kImeiToIdFieldNumber = 10,
412 kMoHttpServerFieldNumber = 11,
413 kMoHttpEndpointFieldNumber = 12,
415 kMtHttpServerPortFieldNumber = 13,
418 int imei_to_id_size()
const;
420 int _internal_imei_to_id_size()
const;
422 void clear_imei_to_id();
424 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig_IMEIToModemID >*
425 mutable_imei_to_id();
427 const ::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig_IMEIToModemID& _internal_imei_to_id(
int index)
const;
430 const ::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig_IMEIToModemID& imei_to_id(
int index)
const;
432 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig_IMEIToModemID >&
436 bool has_mo_http_server()
const;
438 bool _internal_has_mo_http_server()
const;
440 void clear_mo_http_server();
441 const std::string& mo_http_server()
const;
442 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
444 std::string* mutable_mo_http_server();
445 PROTOBUF_NODISCARD std::string* release_mo_http_server();
446 void set_allocated_mo_http_server(std::string* mo_http_server);
448 const std::string& _internal_mo_http_server()
const;
449 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_mo_http_server(
const std::string& value);
450 std::string* _internal_mutable_mo_http_server();
454 bool has_mo_http_endpoint()
const;
456 bool _internal_has_mo_http_endpoint()
const;
458 void clear_mo_http_endpoint();
459 const std::string& mo_http_endpoint()
const;
460 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
462 std::string* mutable_mo_http_endpoint();
463 PROTOBUF_NODISCARD std::string* release_mo_http_endpoint();
464 void set_allocated_mo_http_endpoint(std::string* mo_http_endpoint);
466 const std::string& _internal_mo_http_endpoint()
const;
467 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_mo_http_endpoint(
const std::string& value);
468 std::string* _internal_mutable_mo_http_endpoint();
472 bool has_app()
const;
474 bool _internal_has_app()
const;
477 const ::goby::middleware::protobuf::AppConfig& app()
const;
478 PROTOBUF_NODISCARD ::goby::middleware::protobuf::AppConfig* release_app();
482 const ::goby::middleware::protobuf::AppConfig& _internal_app()
const;
485 void unsafe_arena_set_allocated_app(
490 bool has_mt_http_server_port()
const;
492 bool _internal_has_mt_http_server_port()
const;
494 void clear_mt_http_server_port();
495 uint32_t mt_http_server_port()
const;
496 void set_mt_http_server_port(uint32_t value);
498 uint32_t _internal_mt_http_server_port()
const;
499 void _internal_set_mt_http_server_port(uint32_t value);
507 size_t RequiredFieldsByteSizeFallback()
const;
509 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
510 typedef void InternalArenaConstructable_;
511 typedef void DestructorSkippable_;
513 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
514 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
515 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig_IMEIToModemID > imei_to_id_;
516 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mo_http_server_;
517 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_mo_http_endpoint_;
518 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mo_http_endpoint_;
520 uint32_t mt_http_server_port_;
523 friend struct ::TableStruct_goby_2facomms_2fprotobuf_2frockblock_5fsimulator_5fconfig_2eproto;
531 #pragma GCC diagnostic push
532 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
537inline bool RockBLOCKSimulatorConfig_IMEIToModemID::_internal_has_imei()
const {
538 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
541inline bool RockBLOCKSimulatorConfig_IMEIToModemID::has_imei()
const {
542 return _internal_has_imei();
544inline void RockBLOCKSimulatorConfig_IMEIToModemID::clear_imei() {
545 _impl_.imei_.ClearToEmpty();
546 _impl_._has_bits_[0] &= ~0x00000001u;
548inline const std::string& RockBLOCKSimulatorConfig_IMEIToModemID::imei()
const {
550 return _internal_imei();
552template <
typename ArgT0,
typename... ArgT>
553inline PROTOBUF_ALWAYS_INLINE
554void RockBLOCKSimulatorConfig_IMEIToModemID::set_imei(ArgT0&& arg0, ArgT... args) {
555 _impl_._has_bits_[0] |= 0x00000001u;
556 _impl_.imei_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
559inline std::string* RockBLOCKSimulatorConfig_IMEIToModemID::mutable_imei() {
560 std::string* _s = _internal_mutable_imei();
564inline const std::string& RockBLOCKSimulatorConfig_IMEIToModemID::_internal_imei()
const {
565 return _impl_.imei_.Get();
567inline void RockBLOCKSimulatorConfig_IMEIToModemID::_internal_set_imei(
const std::string& value) {
568 _impl_._has_bits_[0] |= 0x00000001u;
569 _impl_.imei_.Set(value, GetArenaForAllocation());
571inline std::string* RockBLOCKSimulatorConfig_IMEIToModemID::_internal_mutable_imei() {
572 _impl_._has_bits_[0] |= 0x00000001u;
573 return _impl_.imei_.Mutable(GetArenaForAllocation());
575inline std::string* RockBLOCKSimulatorConfig_IMEIToModemID::release_imei() {
577 if (!_internal_has_imei()) {
580 _impl_._has_bits_[0] &= ~0x00000001u;
581 auto* p = _impl_.imei_.Release();
582#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
583 if (_impl_.imei_.IsDefault()) {
584 _impl_.imei_.Set(
"", GetArenaForAllocation());
589inline void RockBLOCKSimulatorConfig_IMEIToModemID::set_allocated_imei(std::string* imei) {
590 if (imei !=
nullptr) {
591 _impl_._has_bits_[0] |= 0x00000001u;
593 _impl_._has_bits_[0] &= ~0x00000001u;
595 _impl_.imei_.SetAllocated(imei, GetArenaForAllocation());
596#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
597 if (_impl_.imei_.IsDefault()) {
598 _impl_.imei_.Set(
"", GetArenaForAllocation());
605inline bool RockBLOCKSimulatorConfig_IMEIToModemID::_internal_has_modem_id()
const {
606 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
609inline bool RockBLOCKSimulatorConfig_IMEIToModemID::has_modem_id()
const {
610 return _internal_has_modem_id();
612inline void RockBLOCKSimulatorConfig_IMEIToModemID::clear_modem_id() {
613 _impl_.modem_id_ = 0u;
614 _impl_._has_bits_[0] &= ~0x00000004u;
616inline uint32_t RockBLOCKSimulatorConfig_IMEIToModemID::_internal_modem_id()
const {
617 return _impl_.modem_id_;
619inline uint32_t RockBLOCKSimulatorConfig_IMEIToModemID::modem_id()
const {
621 return _internal_modem_id();
623inline void RockBLOCKSimulatorConfig_IMEIToModemID::_internal_set_modem_id(uint32_t value) {
624 _impl_._has_bits_[0] |= 0x00000004u;
625 _impl_.modem_id_ = value;
627inline void RockBLOCKSimulatorConfig_IMEIToModemID::set_modem_id(uint32_t value) {
628 _internal_set_modem_id(value);
633inline bool RockBLOCKSimulatorConfig_IMEIToModemID::_internal_has_pty()
const {
634 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
635 PROTOBUF_ASSUME(!value || _impl_.pty_ !=
nullptr);
638inline bool RockBLOCKSimulatorConfig_IMEIToModemID::has_pty()
const {
639 return _internal_has_pty();
641inline const ::goby::middleware::protobuf::PTYConfig& RockBLOCKSimulatorConfig_IMEIToModemID::_internal_pty()
const {
642 const ::goby::middleware::protobuf::PTYConfig* p = _impl_.pty_;
646inline const ::goby::middleware::protobuf::PTYConfig& RockBLOCKSimulatorConfig_IMEIToModemID::pty()
const {
648 return _internal_pty();
650inline void RockBLOCKSimulatorConfig_IMEIToModemID::unsafe_arena_set_allocated_pty(
652 if (GetArenaForAllocation() ==
nullptr) {
653 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.pty_);
657 _impl_._has_bits_[0] |= 0x00000002u;
659 _impl_._has_bits_[0] &= ~0x00000002u;
663inline ::goby::middleware::protobuf::PTYConfig* RockBLOCKSimulatorConfig_IMEIToModemID::release_pty() {
664 _impl_._has_bits_[0] &= ~0x00000002u;
666 _impl_.pty_ =
nullptr;
667#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
668 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
669 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
670 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
672 if (GetArenaForAllocation() !=
nullptr) {
673 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
678inline ::goby::middleware::protobuf::PTYConfig* RockBLOCKSimulatorConfig_IMEIToModemID::unsafe_arena_release_pty() {
680 _impl_._has_bits_[0] &= ~0x00000002u;
682 _impl_.pty_ =
nullptr;
685inline ::goby::middleware::protobuf::PTYConfig* RockBLOCKSimulatorConfig_IMEIToModemID::_internal_mutable_pty() {
686 _impl_._has_bits_[0] |= 0x00000002u;
687 if (_impl_.pty_ ==
nullptr) {
693inline ::goby::middleware::protobuf::PTYConfig* RockBLOCKSimulatorConfig_IMEIToModemID::mutable_pty() {
699 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
700 if (message_arena ==
nullptr) {
701 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.pty_);
704 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
705 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
706 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(pty));
707 if (message_arena != submessage_arena) {
708 pty = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
709 message_arena, pty, submessage_arena);
711 _impl_._has_bits_[0] |= 0x00000002u;
713 _impl_._has_bits_[0] &= ~0x00000002u;
724inline bool RockBLOCKSimulatorConfig::_internal_has_app()
const {
725 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
726 PROTOBUF_ASSUME(!value || _impl_.app_ !=
nullptr);
729inline bool RockBLOCKSimulatorConfig::has_app()
const {
730 return _internal_has_app();
732inline const ::goby::middleware::protobuf::AppConfig& RockBLOCKSimulatorConfig::_internal_app()
const {
733 const ::goby::middleware::protobuf::AppConfig* p = _impl_.app_;
737inline const ::goby::middleware::protobuf::AppConfig& RockBLOCKSimulatorConfig::app()
const {
739 return _internal_app();
741inline void RockBLOCKSimulatorConfig::unsafe_arena_set_allocated_app(
743 if (GetArenaForAllocation() ==
nullptr) {
744 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.app_);
748 _impl_._has_bits_[0] |= 0x00000004u;
750 _impl_._has_bits_[0] &= ~0x00000004u;
754inline ::goby::middleware::protobuf::AppConfig* RockBLOCKSimulatorConfig::release_app() {
755 _impl_._has_bits_[0] &= ~0x00000004u;
757 _impl_.app_ =
nullptr;
758#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
759 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
760 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
761 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
763 if (GetArenaForAllocation() !=
nullptr) {
764 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
769inline ::goby::middleware::protobuf::AppConfig* RockBLOCKSimulatorConfig::unsafe_arena_release_app() {
771 _impl_._has_bits_[0] &= ~0x00000004u;
773 _impl_.app_ =
nullptr;
776inline ::goby::middleware::protobuf::AppConfig* RockBLOCKSimulatorConfig::_internal_mutable_app() {
777 _impl_._has_bits_[0] |= 0x00000004u;
778 if (_impl_.app_ ==
nullptr) {
784inline ::goby::middleware::protobuf::AppConfig* RockBLOCKSimulatorConfig::mutable_app() {
790 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
791 if (message_arena ==
nullptr) {
792 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.app_);
795 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
796 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
797 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(app));
798 if (message_arena != submessage_arena) {
799 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
800 message_arena, app, submessage_arena);
802 _impl_._has_bits_[0] |= 0x00000004u;
804 _impl_._has_bits_[0] &= ~0x00000004u;
811inline int RockBLOCKSimulatorConfig::_internal_imei_to_id_size()
const {
812 return _impl_.imei_to_id_.size();
814inline int RockBLOCKSimulatorConfig::imei_to_id_size()
const {
815 return _internal_imei_to_id_size();
817inline void RockBLOCKSimulatorConfig::clear_imei_to_id() {
818 _impl_.imei_to_id_.Clear();
820inline ::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig_IMEIToModemID* RockBLOCKSimulatorConfig::mutable_imei_to_id(
int index) {
822 return _impl_.imei_to_id_.Mutable(index);
824inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig_IMEIToModemID >*
825RockBLOCKSimulatorConfig::mutable_imei_to_id() {
827 return &_impl_.imei_to_id_;
829inline const ::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig_IMEIToModemID& RockBLOCKSimulatorConfig::_internal_imei_to_id(
int index)
const {
830 return _impl_.imei_to_id_.Get(index);
832inline const ::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig_IMEIToModemID& RockBLOCKSimulatorConfig::imei_to_id(
int index)
const {
834 return _internal_imei_to_id(index);
836inline ::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig_IMEIToModemID* RockBLOCKSimulatorConfig::_internal_add_imei_to_id() {
837 return _impl_.imei_to_id_.Add();
839inline ::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig_IMEIToModemID* RockBLOCKSimulatorConfig::add_imei_to_id() {
844inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig_IMEIToModemID >&
845RockBLOCKSimulatorConfig::imei_to_id()
const {
847 return _impl_.imei_to_id_;
851inline bool RockBLOCKSimulatorConfig::_internal_has_mo_http_server()
const {
852 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
855inline bool RockBLOCKSimulatorConfig::has_mo_http_server()
const {
856 return _internal_has_mo_http_server();
858inline void RockBLOCKSimulatorConfig::clear_mo_http_server() {
859 _impl_.mo_http_server_.ClearToEmpty();
860 _impl_._has_bits_[0] &= ~0x00000001u;
862inline const std::string& RockBLOCKSimulatorConfig::mo_http_server()
const {
864 return _internal_mo_http_server();
866template <
typename ArgT0,
typename... ArgT>
867inline PROTOBUF_ALWAYS_INLINE
868void RockBLOCKSimulatorConfig::set_mo_http_server(ArgT0&& arg0, ArgT... args) {
869 _impl_._has_bits_[0] |= 0x00000001u;
870 _impl_.mo_http_server_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
873inline std::string* RockBLOCKSimulatorConfig::mutable_mo_http_server() {
874 std::string* _s = _internal_mutable_mo_http_server();
878inline const std::string& RockBLOCKSimulatorConfig::_internal_mo_http_server()
const {
879 return _impl_.mo_http_server_.Get();
881inline void RockBLOCKSimulatorConfig::_internal_set_mo_http_server(
const std::string& value) {
882 _impl_._has_bits_[0] |= 0x00000001u;
883 _impl_.mo_http_server_.Set(value, GetArenaForAllocation());
885inline std::string* RockBLOCKSimulatorConfig::_internal_mutable_mo_http_server() {
886 _impl_._has_bits_[0] |= 0x00000001u;
887 return _impl_.mo_http_server_.Mutable(GetArenaForAllocation());
889inline std::string* RockBLOCKSimulatorConfig::release_mo_http_server() {
891 if (!_internal_has_mo_http_server()) {
894 _impl_._has_bits_[0] &= ~0x00000001u;
895 auto* p = _impl_.mo_http_server_.Release();
896#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
897 if (_impl_.mo_http_server_.IsDefault()) {
898 _impl_.mo_http_server_.Set(
"", GetArenaForAllocation());
903inline void RockBLOCKSimulatorConfig::set_allocated_mo_http_server(std::string* mo_http_server) {
904 if (mo_http_server !=
nullptr) {
905 _impl_._has_bits_[0] |= 0x00000001u;
907 _impl_._has_bits_[0] &= ~0x00000001u;
909 _impl_.mo_http_server_.SetAllocated(mo_http_server, GetArenaForAllocation());
910#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
911 if (_impl_.mo_http_server_.IsDefault()) {
912 _impl_.mo_http_server_.Set(
"", GetArenaForAllocation());
919inline bool RockBLOCKSimulatorConfig::_internal_has_mo_http_endpoint()
const {
920 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
923inline bool RockBLOCKSimulatorConfig::has_mo_http_endpoint()
const {
924 return _internal_has_mo_http_endpoint();
926inline void RockBLOCKSimulatorConfig::clear_mo_http_endpoint() {
927 _impl_.mo_http_endpoint_.ClearToDefault(::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig::Impl_::_i_give_permission_to_break_this_code_default_mo_http_endpoint_, GetArenaForAllocation());
928 _impl_._has_bits_[0] &= ~0x00000002u;
930inline const std::string& RockBLOCKSimulatorConfig::mo_http_endpoint()
const {
932 if (_impl_.mo_http_endpoint_.IsDefault())
return Impl_::_i_give_permission_to_break_this_code_default_mo_http_endpoint_.get();
933 return _internal_mo_http_endpoint();
935template <
typename ArgT0,
typename... ArgT>
936inline PROTOBUF_ALWAYS_INLINE
937void RockBLOCKSimulatorConfig::set_mo_http_endpoint(ArgT0&& arg0, ArgT... args) {
938 _impl_._has_bits_[0] |= 0x00000002u;
939 _impl_.mo_http_endpoint_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
942inline std::string* RockBLOCKSimulatorConfig::mutable_mo_http_endpoint() {
943 std::string* _s = _internal_mutable_mo_http_endpoint();
947inline const std::string& RockBLOCKSimulatorConfig::_internal_mo_http_endpoint()
const {
948 return _impl_.mo_http_endpoint_.Get();
950inline void RockBLOCKSimulatorConfig::_internal_set_mo_http_endpoint(
const std::string& value) {
951 _impl_._has_bits_[0] |= 0x00000002u;
952 _impl_.mo_http_endpoint_.Set(value, GetArenaForAllocation());
954inline std::string* RockBLOCKSimulatorConfig::_internal_mutable_mo_http_endpoint() {
955 _impl_._has_bits_[0] |= 0x00000002u;
956 return _impl_.mo_http_endpoint_.Mutable(::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig::Impl_::_i_give_permission_to_break_this_code_default_mo_http_endpoint_, GetArenaForAllocation());
958inline std::string* RockBLOCKSimulatorConfig::release_mo_http_endpoint() {
960 if (!_internal_has_mo_http_endpoint()) {
963 _impl_._has_bits_[0] &= ~0x00000002u;
964 auto* p = _impl_.mo_http_endpoint_.Release();
967inline void RockBLOCKSimulatorConfig::set_allocated_mo_http_endpoint(std::string* mo_http_endpoint) {
968 if (mo_http_endpoint !=
nullptr) {
969 _impl_._has_bits_[0] |= 0x00000002u;
971 _impl_._has_bits_[0] &= ~0x00000002u;
973 _impl_.mo_http_endpoint_.SetAllocated(mo_http_endpoint, GetArenaForAllocation());
978inline bool RockBLOCKSimulatorConfig::_internal_has_mt_http_server_port()
const {
979 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
982inline bool RockBLOCKSimulatorConfig::has_mt_http_server_port()
const {
983 return _internal_has_mt_http_server_port();
985inline void RockBLOCKSimulatorConfig::clear_mt_http_server_port() {
986 _impl_.mt_http_server_port_ = 8081u;
987 _impl_._has_bits_[0] &= ~0x00000008u;
989inline uint32_t RockBLOCKSimulatorConfig::_internal_mt_http_server_port()
const {
990 return _impl_.mt_http_server_port_;
992inline uint32_t RockBLOCKSimulatorConfig::mt_http_server_port()
const {
994 return _internal_mt_http_server_port();
996inline void RockBLOCKSimulatorConfig::_internal_set_mt_http_server_port(uint32_t value) {
997 _impl_._has_bits_[0] |= 0x00000008u;
998 _impl_.mt_http_server_port_ = value;
1000inline void RockBLOCKSimulatorConfig::set_mt_http_server_port(uint32_t value) {
1001 _internal_set_mt_http_server_port(value);
1006 #pragma GCC diagnostic pop
1020#include <google/protobuf/port_undef.inc>
PROTOBUF_NAMESPACE_OPEN ::goby::middleware::protobuf::AppConfig * Arena::CreateMaybeMessage<::goby::middleware::protobuf::AppConfig >(Arena *)
static const RockBLOCKSimulatorConfig_IMEIToModemID * internal_default_instance()
size_t ByteSizeLong() const final
RockBLOCKSimulatorConfig_IMEIToModemID & operator=(RockBLOCKSimulatorConfig_IMEIToModemID &&from) noexcept
void unsafe_arena_set_allocated_pty(::goby::middleware::protobuf::PTYConfig *pty)
std::string * mutable_imei()
static const RockBLOCKSimulatorConfig_IMEIToModemID & default_instance()
::goby::middleware::protobuf::PTYConfig * unsafe_arena_release_pty()
void set_imei(ArgT0 &&arg0, ArgT... args)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
RockBLOCKSimulatorConfig_IMEIToModemID()
bool has_modem_id() const
void Swap(RockBLOCKSimulatorConfig_IMEIToModemID *other)
::goby::middleware::protobuf::PTYConfig * mutable_pty()
RockBLOCKSimulatorConfig_IMEIToModemID & operator=(const RockBLOCKSimulatorConfig_IMEIToModemID &from)
static constexpr int kIndexInFileMessages
RockBLOCKSimulatorConfig_IMEIToModemID(RockBLOCKSimulatorConfig_IMEIToModemID &&from) noexcept
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void set_allocated_pty(::goby::middleware::protobuf::PTYConfig *pty)
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
int GetCachedSize() const final
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
void set_allocated_imei(std::string *imei)
const std::string & imei() const
RockBLOCKSimulatorConfig_IMEIToModemID(const RockBLOCKSimulatorConfig_IMEIToModemID &from)
void MergeFrom(const RockBLOCKSimulatorConfig_IMEIToModemID &from)
void UnsafeArenaSwap(RockBLOCKSimulatorConfig_IMEIToModemID *other)
PROTOBUF_CONSTEXPR RockBLOCKSimulatorConfig_IMEIToModemID(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
PROTOBUF_NODISCARD std::string * release_imei()
RockBLOCKSimulatorConfig_IMEIToModemID(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void set_modem_id(uint32_t value)
friend void swap(RockBLOCKSimulatorConfig_IMEIToModemID &a, RockBLOCKSimulatorConfig_IMEIToModemID &b)
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
~RockBLOCKSimulatorConfig_IMEIToModemID() override
RockBLOCKSimulatorConfig_IMEIToModemID * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
static const ClassData _class_data_
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void CopyFrom(const RockBLOCKSimulatorConfig_IMEIToModemID &from)
PROTOBUF_NODISCARD::goby::middleware::protobuf::PTYConfig * release_pty()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
bool IsInitialized() const final
const ::goby::middleware::protobuf::PTYConfig & pty() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
uint32_t modem_id() const
RockBLOCKSimulatorConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
static const RockBLOCKSimulatorConfig & default_instance()
static const ClassData _class_data_
RockBLOCKSimulatorConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void Swap(RockBLOCKSimulatorConfig *other)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
RockBLOCKSimulatorConfig(const RockBLOCKSimulatorConfig &from)
~RockBLOCKSimulatorConfig() override
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
void set_mo_http_server(ArgT0 &&arg0, ArgT... args)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void CopyFrom(const RockBLOCKSimulatorConfig &from)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void MergeFrom(const RockBLOCKSimulatorConfig &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
PROTOBUF_CONSTEXPR RockBLOCKSimulatorConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
RockBLOCKSimulatorConfig & operator=(const RockBLOCKSimulatorConfig &from)
friend void swap(RockBLOCKSimulatorConfig &a, RockBLOCKSimulatorConfig &b)
static const RockBLOCKSimulatorConfig * internal_default_instance()
void UnsafeArenaSwap(RockBLOCKSimulatorConfig *other)
RockBLOCKSimulatorConfig()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void set_mo_http_endpoint(ArgT0 &&arg0, ArgT... args)
RockBLOCKSimulatorConfig(RockBLOCKSimulatorConfig &&from) noexcept
RockBLOCKSimulatorConfig & operator=(RockBLOCKSimulatorConfig &&from) noexcept
RockBLOCKSimulatorConfigDefaultTypeInternal _RockBLOCKSimulatorConfig_default_instance_
RockBLOCKSimulatorConfig_IMEIToModemIDDefaultTypeInternal _RockBLOCKSimulatorConfig_IMEIToModemID_default_instance_
AppConfigDefaultTypeInternal _AppConfig_default_instance_
PTYConfigDefaultTypeInternal _PTYConfig_default_instance_
The global namespace for the Goby project.
PROTOBUF_NAMESPACE_OPEN ::goby::middleware::protobuf::PTYConfig * Arena::CreateMaybeMessage<::goby::middleware::protobuf::PTYConfig >(Arena *)
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2facomms_2fprotobuf_2frockblock_5fsimulator_5fconfig_2eproto
static const uint32_t offsets[]