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 < 3012000
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 3012004 < 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_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/inlined_string_field.h>
29 #include <google/protobuf/metadata_lite.h>
30 #include <google/protobuf/generated_message_reflection.h>
32 #include <google/protobuf/repeated_field.h>
33 #include <google/protobuf/extension_set.h>
34 #include <google/protobuf/unknown_field_set.h>
37 #include <boost/units/quantity.hpp>
38 #include <boost/units/absolute.hpp>
39 #include <boost/units/dimensionless_type.hpp>
40 #include <boost/units/make_scaled_unit.hpp>
42 #include <google/protobuf/port_def.inc>
43 #define PROTOBUF_INTERNAL_EXPORT_goby_2facomms_2fprotobuf_2frockblock_5fsimulator_5fconfig_2eproto
44 PROTOBUF_NAMESPACE_OPEN
48 PROTOBUF_NAMESPACE_CLOSE
52 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
54 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
56 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2]
58 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata
field_metadata[];
67 class RockBLOCKSimulatorConfig;
68 class RockBLOCKSimulatorConfigDefaultTypeInternal;
70 class RockBLOCKSimulatorConfig_IMEIToModemID;
71 class RockBLOCKSimulatorConfig_IMEIToModemIDDefaultTypeInternal;
77 PROTOBUF_NAMESPACE_OPEN
78 template<> ::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig* Arena::CreateMaybeMessage<::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig>(Arena*);
79 template<> ::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig_IMEIToModemID* Arena::CreateMaybeMessage<::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig_IMEIToModemID>(Arena*);
80 PROTOBUF_NAMESPACE_CLOSE
89 public ::PROTOBUF_NAMESPACE_ID::Message {
96 : RockBLOCKSimulatorConfig_IMEIToModemID() {
97 *
this = ::std::move(from);
100 inline RockBLOCKSimulatorConfig_IMEIToModemID&
operator=(
const RockBLOCKSimulatorConfig_IMEIToModemID& from) {
104 inline RockBLOCKSimulatorConfig_IMEIToModemID&
operator=(RockBLOCKSimulatorConfig_IMEIToModemID&& from) noexcept {
105 if (GetArena() == from.GetArena()) {
106 if (
this != &from) InternalSwap(&from);
114 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
117 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
120 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
121 return GetDescriptor();
124 return GetMetadataStatic().descriptor;
127 return GetMetadataStatic().reflection;
133 return reinterpret_cast<const RockBLOCKSimulatorConfig_IMEIToModemID*
>(
136 static constexpr
int kIndexInFileMessages =
139 friend void swap(RockBLOCKSimulatorConfig_IMEIToModemID& a, RockBLOCKSimulatorConfig_IMEIToModemID& b) {
142 inline void Swap(RockBLOCKSimulatorConfig_IMEIToModemID* other) {
143 if (other ==
this)
return;
144 if (GetArena() == other->GetArena()) {
147 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
151 if (other ==
this)
return;
152 GOOGLE_DCHECK(GetArena() == other->GetArena());
158 inline RockBLOCKSimulatorConfig_IMEIToModemID*
New() const final {
159 return CreateMaybeMessage<RockBLOCKSimulatorConfig_IMEIToModemID>(
nullptr);
162 RockBLOCKSimulatorConfig_IMEIToModemID*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
163 return CreateMaybeMessage<RockBLOCKSimulatorConfig_IMEIToModemID>(arena);
165 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
166 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
167 void CopyFrom(
const RockBLOCKSimulatorConfig_IMEIToModemID& from);
168 void MergeFrom(
const RockBLOCKSimulatorConfig_IMEIToModemID& from);
169 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
170 bool IsInitialized() const final;
173 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
174 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
175 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
176 int GetCachedSize() const final {
return _cached_size_.Get(); }
179 inline void SharedCtor();
180 inline void SharedDtor();
181 void SetCachedSize(
int size)
const final;
182 void InternalSwap(RockBLOCKSimulatorConfig_IMEIToModemID* other);
183 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
184 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
185 return "goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.IMEIToModemID";
190 static void ArenaDtor(
void*
object);
191 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
196 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
208 kImeiFieldNumber = 1,
210 kModemIdFieldNumber = 2,
215 bool _internal_has_imei()
const;
218 const std::string&
imei()
const;
226 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED(
"The unsafe_arena_ accessors for"
227 " string fields are deprecated and will be removed in a"
229 std::
string* unsafe_arena_release_imei();
230 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
231 "
string fields are deprecated and will be removed in a"
233 void unsafe_arena_set_allocated_imei(
236 const std::
string& _internal_imei() const;
237 void _internal_set_imei(const std::
string& value);
238 std::
string* _internal_mutable_imei();
242 bool has_pty() const;
244 bool _internal_has_pty() const;
247 const ::
goby::middleware::protobuf::PTYConfig& pty() const;
248 ::
goby::middleware::protobuf::PTYConfig* release_pty();
249 ::
goby::middleware::protobuf::PTYConfig* mutable_pty();
250 void set_allocated_pty(::
goby::middleware::protobuf::PTYConfig* pty);
252 const ::
goby::middleware::protobuf::PTYConfig& _internal_pty() const;
253 ::
goby::middleware::protobuf::PTYConfig* _internal_mutable_pty();
255 void unsafe_arena_set_allocated_pty(
256 ::
goby::middleware::protobuf::PTYConfig* pty);
257 ::
goby::middleware::protobuf::PTYConfig* unsafe_arena_release_pty();
260 bool has_modem_id() const;
262 bool _internal_has_modem_id() const;
264 void clear_modem_id();
265 ::PROTOBUF_NAMESPACE_ID::
uint32 modem_id() const;
266 void set_modem_id(::PROTOBUF_NAMESPACE_ID::
uint32 value);
268 ::PROTOBUF_NAMESPACE_ID::
uint32 _internal_modem_id() const;
269 void _internal_set_modem_id(::PROTOBUF_NAMESPACE_ID::
uint32 value);
277 size_t RequiredFieldsByteSizeFallback() const;
279 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
280 typedef
void InternalArenaConstructable_;
281 typedef
void DestructorSkippable_;
282 ::PROTOBUF_NAMESPACE_ID::
internal::HasBits<1> _has_bits_;
283 mutable ::PROTOBUF_NAMESPACE_ID::
internal::CachedSize _cached_size_;
284 ::PROTOBUF_NAMESPACE_ID::
internal::ArenaStringPtr imei_;
285 ::
goby::middleware::protobuf::PTYConfig* pty_;
286 ::PROTOBUF_NAMESPACE_ID::
uint32 modem_id_;
292 public ::PROTOBUF_NAMESPACE_ID::Message {
299 : RockBLOCKSimulatorConfig() {
300 *
this = ::std::move(from);
303 inline RockBLOCKSimulatorConfig&
operator=(
const RockBLOCKSimulatorConfig& from) {
307 inline RockBLOCKSimulatorConfig&
operator=(RockBLOCKSimulatorConfig&& from) noexcept {
308 if (GetArena() == from.GetArena()) {
309 if (
this != &from) InternalSwap(&from);
317 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
320 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
323 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
324 return GetDescriptor();
327 return GetMetadataStatic().descriptor;
330 return GetMetadataStatic().reflection;
336 return reinterpret_cast<const RockBLOCKSimulatorConfig*
>(
339 static constexpr
int kIndexInFileMessages =
342 friend void swap(RockBLOCKSimulatorConfig& a, RockBLOCKSimulatorConfig& b) {
345 inline void Swap(RockBLOCKSimulatorConfig* other) {
346 if (other ==
this)
return;
347 if (GetArena() == other->GetArena()) {
350 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
354 if (other ==
this)
return;
355 GOOGLE_DCHECK(GetArena() == other->GetArena());
361 inline RockBLOCKSimulatorConfig*
New() const final {
362 return CreateMaybeMessage<RockBLOCKSimulatorConfig>(
nullptr);
365 RockBLOCKSimulatorConfig*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
366 return CreateMaybeMessage<RockBLOCKSimulatorConfig>(arena);
368 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
369 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
370 void CopyFrom(
const RockBLOCKSimulatorConfig& from);
372 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
373 bool IsInitialized() const final;
376 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
377 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
378 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
379 int GetCachedSize() const final {
return _cached_size_.Get(); }
382 inline void SharedCtor();
383 inline void SharedDtor();
384 void SetCachedSize(
int size)
const final;
385 void InternalSwap(RockBLOCKSimulatorConfig* other);
386 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
387 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
388 return "goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig";
393 static void ArenaDtor(
void*
object);
394 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
399 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
413 kImeiToIdFieldNumber = 10,
414 kMoHttpServerFieldNumber = 11,
415 kMoHttpEndpointFieldNumber = 12,
417 kMtHttpServerPortFieldNumber = 13,
422 int _internal_imei_to_id_size()
const;
425 ::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig_IMEIToModemID*
mutable_imei_to_id(
int index);
426 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig_IMEIToModemID >*
429 const ::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig_IMEIToModemID& _internal_imei_to_id(
int index)
const;
430 ::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig_IMEIToModemID* _internal_add_imei_to_id();
432 const ::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig_IMEIToModemID&
imei_to_id(
int index)
const;
433 ::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig_IMEIToModemID*
add_imei_to_id();
434 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig_IMEIToModemID >&
440 bool _internal_has_mo_http_server()
const;
451 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED(
"The unsafe_arena_ accessors for"
452 " string fields are deprecated and will be removed in a"
454 std::
string* unsafe_arena_release_mo_http_server();
455 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
456 "
string fields are deprecated and will be removed in a"
458 void unsafe_arena_set_allocated_mo_http_server(
459 std::
string* mo_http_server);
461 const std::
string& _internal_mo_http_server() const;
462 void _internal_set_mo_http_server(const std::
string& value);
463 std::
string* _internal_mutable_mo_http_server();
467 bool has_mo_http_endpoint() const;
469 bool _internal_has_mo_http_endpoint() const;
471 void clear_mo_http_endpoint();
472 const std::
string& mo_http_endpoint() const;
473 void set_mo_http_endpoint(const std::
string& value);
474 void set_mo_http_endpoint(std::
string&& value);
475 void set_mo_http_endpoint(const
char* value);
476 void set_mo_http_endpoint(const
char* value,
size_t size);
477 std::
string* mutable_mo_http_endpoint();
478 std::
string* release_mo_http_endpoint();
479 void set_allocated_mo_http_endpoint(std::
string* mo_http_endpoint);
480 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
481 "
string fields are deprecated and will be removed in a"
483 std::
string* unsafe_arena_release_mo_http_endpoint();
484 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
485 "
string fields are deprecated and will be removed in a"
487 void unsafe_arena_set_allocated_mo_http_endpoint(
488 std::
string* mo_http_endpoint);
490 const std::
string& _internal_mo_http_endpoint() const;
491 void _internal_set_mo_http_endpoint(const std::
string& value);
492 std::
string* _internal_mutable_mo_http_endpoint();
496 bool has_app() const;
498 bool _internal_has_app() const;
501 const ::
goby::middleware::protobuf::AppConfig& app() const;
502 ::
goby::middleware::protobuf::AppConfig* release_app();
503 ::
goby::middleware::protobuf::AppConfig* mutable_app();
504 void set_allocated_app(::
goby::middleware::protobuf::AppConfig* app);
506 const ::
goby::middleware::protobuf::AppConfig& _internal_app() const;
507 ::
goby::middleware::protobuf::AppConfig* _internal_mutable_app();
509 void unsafe_arena_set_allocated_app(
510 ::
goby::middleware::protobuf::AppConfig* app);
511 ::
goby::middleware::protobuf::AppConfig* unsafe_arena_release_app();
514 bool has_mt_http_server_port() const;
516 bool _internal_has_mt_http_server_port() const;
518 void clear_mt_http_server_port();
519 ::PROTOBUF_NAMESPACE_ID::
uint32 mt_http_server_port() const;
520 void set_mt_http_server_port(::PROTOBUF_NAMESPACE_ID::
uint32 value);
522 ::PROTOBUF_NAMESPACE_ID::
uint32 _internal_mt_http_server_port() const;
523 void _internal_set_mt_http_server_port(::PROTOBUF_NAMESPACE_ID::
uint32 value);
531 size_t RequiredFieldsByteSizeFallback() const;
533 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
534 typedef
void InternalArenaConstructable_;
535 typedef
void DestructorSkippable_;
536 ::PROTOBUF_NAMESPACE_ID::
internal::HasBits<1> _has_bits_;
537 mutable ::PROTOBUF_NAMESPACE_ID::
internal::CachedSize _cached_size_;
538 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::
goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig_IMEIToModemID > imei_to_id_;
539 ::PROTOBUF_NAMESPACE_ID::
internal::ArenaStringPtr mo_http_server_;
541 static ::PROTOBUF_NAMESPACE_ID::
internal::ExplicitlyConstructed<std::
string> _i_give_permission_to_break_this_code_default_mo_http_endpoint_;
543 ::PROTOBUF_NAMESPACE_ID::
internal::ArenaStringPtr mo_http_endpoint_;
544 ::
goby::middleware::protobuf::AppConfig* app_;
545 ::PROTOBUF_NAMESPACE_ID::
uint32 mt_http_server_port_;
554 #pragma GCC diagnostic push
555 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
560 inline bool RockBLOCKSimulatorConfig_IMEIToModemID::_internal_has_imei()
const {
561 bool value = (_has_bits_[0] & 0x00000001u) != 0;
564 inline bool RockBLOCKSimulatorConfig_IMEIToModemID::has_imei()
const {
565 return _internal_has_imei();
567 inline void RockBLOCKSimulatorConfig_IMEIToModemID::clear_imei() {
569 _has_bits_[0] &= ~0x00000001u;
571 inline const std::string& RockBLOCKSimulatorConfig_IMEIToModemID::imei()
const {
573 return _internal_imei();
575 inline void RockBLOCKSimulatorConfig_IMEIToModemID::set_imei(
const std::string& value) {
576 _internal_set_imei(value);
579 inline std::string* RockBLOCKSimulatorConfig_IMEIToModemID::mutable_imei() {
581 return _internal_mutable_imei();
583 inline const std::string& RockBLOCKSimulatorConfig_IMEIToModemID::_internal_imei()
const {
586 inline void RockBLOCKSimulatorConfig_IMEIToModemID::_internal_set_imei(
const std::string& value) {
587 _has_bits_[0] |= 0x00000001u;
590 inline void RockBLOCKSimulatorConfig_IMEIToModemID::set_imei(std::string&& value) {
591 _has_bits_[0] |= 0x00000001u;
596 inline void RockBLOCKSimulatorConfig_IMEIToModemID::set_imei(
const char* value) {
597 GOOGLE_DCHECK(value !=
nullptr);
598 _has_bits_[0] |= 0x00000001u;
603 inline void RockBLOCKSimulatorConfig_IMEIToModemID::set_imei(
const char* value,
605 _has_bits_[0] |= 0x00000001u;
607 reinterpret_cast<const char*
>(value), size), GetArena());
610 inline std::string* RockBLOCKSimulatorConfig_IMEIToModemID::_internal_mutable_imei() {
611 _has_bits_[0] |= 0x00000001u;
614 inline std::string* RockBLOCKSimulatorConfig_IMEIToModemID::release_imei() {
616 if (!_internal_has_imei()) {
619 _has_bits_[0] &= ~0x00000001u;
622 inline void RockBLOCKSimulatorConfig_IMEIToModemID::set_allocated_imei(std::string* imei) {
623 if (imei !=
nullptr) {
624 _has_bits_[0] |= 0x00000001u;
626 _has_bits_[0] &= ~0x00000001u;
632 inline std::string* RockBLOCKSimulatorConfig_IMEIToModemID::unsafe_arena_release_imei() {
634 GOOGLE_DCHECK(GetArena() !=
nullptr);
635 _has_bits_[0] &= ~0x00000001u;
639 inline void RockBLOCKSimulatorConfig_IMEIToModemID::unsafe_arena_set_allocated_imei(
641 GOOGLE_DCHECK(GetArena() !=
nullptr);
642 if (imei !=
nullptr) {
643 _has_bits_[0] |= 0x00000001u;
645 _has_bits_[0] &= ~0x00000001u;
653 inline bool RockBLOCKSimulatorConfig_IMEIToModemID::_internal_has_modem_id()
const {
654 bool value = (_has_bits_[0] & 0x00000004u) != 0;
657 inline bool RockBLOCKSimulatorConfig_IMEIToModemID::has_modem_id()
const {
658 return _internal_has_modem_id();
660 inline void RockBLOCKSimulatorConfig_IMEIToModemID::clear_modem_id() {
662 _has_bits_[0] &= ~0x00000004u;
669 return _internal_modem_id();
672 _has_bits_[0] |= 0x00000004u;
676 _internal_set_modem_id(value);
681 inline bool RockBLOCKSimulatorConfig_IMEIToModemID::_internal_has_pty()
const {
682 bool value = (_has_bits_[0] & 0x00000002u) != 0;
683 PROTOBUF_ASSUME(!value || pty_ !=
nullptr);
686 inline bool RockBLOCKSimulatorConfig_IMEIToModemID::has_pty()
const {
687 return _internal_has_pty();
689 inline const ::goby::middleware::protobuf::PTYConfig& RockBLOCKSimulatorConfig_IMEIToModemID::_internal_pty()
const {
690 const ::goby::middleware::protobuf::PTYConfig* p = pty_;
691 return p !=
nullptr ? *p : *
reinterpret_cast<const ::goby::middleware::protobuf::PTYConfig*
>(
694 inline const ::goby::middleware::protobuf::PTYConfig& RockBLOCKSimulatorConfig_IMEIToModemID::pty()
const {
696 return _internal_pty();
698 inline void RockBLOCKSimulatorConfig_IMEIToModemID::unsafe_arena_set_allocated_pty(
699 ::goby::middleware::protobuf::PTYConfig* pty) {
700 if (GetArena() ==
nullptr) {
701 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(pty_);
705 _has_bits_[0] |= 0x00000002u;
707 _has_bits_[0] &= ~0x00000002u;
711 inline ::goby::middleware::protobuf::PTYConfig* RockBLOCKSimulatorConfig_IMEIToModemID::release_pty() {
712 auto temp = unsafe_arena_release_pty();
713 if (GetArena() !=
nullptr) {
714 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
718 inline ::goby::middleware::protobuf::PTYConfig* RockBLOCKSimulatorConfig_IMEIToModemID::unsafe_arena_release_pty() {
720 _has_bits_[0] &= ~0x00000002u;
721 ::goby::middleware::protobuf::PTYConfig* temp = pty_;
725 inline ::goby::middleware::protobuf::PTYConfig* RockBLOCKSimulatorConfig_IMEIToModemID::_internal_mutable_pty() {
726 _has_bits_[0] |= 0x00000002u;
727 if (pty_ ==
nullptr) {
728 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::PTYConfig>(GetArena());
733 inline ::goby::middleware::protobuf::PTYConfig* RockBLOCKSimulatorConfig_IMEIToModemID::mutable_pty() {
735 return _internal_mutable_pty();
737 inline void RockBLOCKSimulatorConfig_IMEIToModemID::set_allocated_pty(::goby::middleware::protobuf::PTYConfig* pty) {
738 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
739 if (message_arena ==
nullptr) {
740 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(pty_);
743 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
744 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(pty)->GetArena();
745 if (message_arena != submessage_arena) {
746 pty = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
747 message_arena, pty, submessage_arena);
749 _has_bits_[0] |= 0x00000002u;
751 _has_bits_[0] &= ~0x00000002u;
762 inline bool RockBLOCKSimulatorConfig::_internal_has_app()
const {
763 bool value = (_has_bits_[0] & 0x00000004u) != 0;
764 PROTOBUF_ASSUME(!value || app_ !=
nullptr);
767 inline bool RockBLOCKSimulatorConfig::has_app()
const {
768 return _internal_has_app();
770 inline const ::goby::middleware::protobuf::AppConfig& RockBLOCKSimulatorConfig::_internal_app()
const {
771 const ::goby::middleware::protobuf::AppConfig* p = app_;
772 return p !=
nullptr ? *p : *
reinterpret_cast<const ::goby::middleware::protobuf::AppConfig*
>(
775 inline const ::goby::middleware::protobuf::AppConfig& RockBLOCKSimulatorConfig::app()
const {
777 return _internal_app();
779 inline void RockBLOCKSimulatorConfig::unsafe_arena_set_allocated_app(
780 ::goby::middleware::protobuf::AppConfig* app) {
781 if (GetArena() ==
nullptr) {
782 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(app_);
786 _has_bits_[0] |= 0x00000004u;
788 _has_bits_[0] &= ~0x00000004u;
792 inline ::goby::middleware::protobuf::AppConfig* RockBLOCKSimulatorConfig::release_app() {
793 auto temp = unsafe_arena_release_app();
794 if (GetArena() !=
nullptr) {
795 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
799 inline ::goby::middleware::protobuf::AppConfig* RockBLOCKSimulatorConfig::unsafe_arena_release_app() {
801 _has_bits_[0] &= ~0x00000004u;
802 ::goby::middleware::protobuf::AppConfig* temp = app_;
806 inline ::goby::middleware::protobuf::AppConfig* RockBLOCKSimulatorConfig::_internal_mutable_app() {
807 _has_bits_[0] |= 0x00000004u;
808 if (app_ ==
nullptr) {
809 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArena());
814 inline ::goby::middleware::protobuf::AppConfig* RockBLOCKSimulatorConfig::mutable_app() {
816 return _internal_mutable_app();
818 inline void RockBLOCKSimulatorConfig::set_allocated_app(::goby::middleware::protobuf::AppConfig* app) {
819 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
820 if (message_arena ==
nullptr) {
821 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(app_);
824 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
825 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(app)->GetArena();
826 if (message_arena != submessage_arena) {
827 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
828 message_arena, app, submessage_arena);
830 _has_bits_[0] |= 0x00000004u;
832 _has_bits_[0] &= ~0x00000004u;
839 inline int RockBLOCKSimulatorConfig::_internal_imei_to_id_size()
const {
840 return imei_to_id_.size();
842 inline int RockBLOCKSimulatorConfig::imei_to_id_size()
const {
843 return _internal_imei_to_id_size();
845 inline void RockBLOCKSimulatorConfig::clear_imei_to_id() {
848 inline ::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig_IMEIToModemID* RockBLOCKSimulatorConfig::mutable_imei_to_id(
int index) {
850 return imei_to_id_.Mutable(index);
852 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig_IMEIToModemID >*
853 RockBLOCKSimulatorConfig::mutable_imei_to_id() {
857 inline const ::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig_IMEIToModemID& RockBLOCKSimulatorConfig::_internal_imei_to_id(
int index)
const {
858 return imei_to_id_.Get(index);
860 inline const ::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig_IMEIToModemID& RockBLOCKSimulatorConfig::imei_to_id(
int index)
const {
862 return _internal_imei_to_id(index);
864 inline ::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig_IMEIToModemID* RockBLOCKSimulatorConfig::_internal_add_imei_to_id() {
865 return imei_to_id_.Add();
867 inline ::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig_IMEIToModemID* RockBLOCKSimulatorConfig::add_imei_to_id() {
869 return _internal_add_imei_to_id();
871 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig_IMEIToModemID >&
872 RockBLOCKSimulatorConfig::imei_to_id()
const {
878 inline bool RockBLOCKSimulatorConfig::_internal_has_mo_http_server()
const {
879 bool value = (_has_bits_[0] & 0x00000001u) != 0;
882 inline bool RockBLOCKSimulatorConfig::has_mo_http_server()
const {
883 return _internal_has_mo_http_server();
885 inline void RockBLOCKSimulatorConfig::clear_mo_http_server() {
887 _has_bits_[0] &= ~0x00000001u;
889 inline const std::string& RockBLOCKSimulatorConfig::mo_http_server()
const {
891 return _internal_mo_http_server();
893 inline void RockBLOCKSimulatorConfig::set_mo_http_server(
const std::string& value) {
894 _internal_set_mo_http_server(value);
897 inline std::string* RockBLOCKSimulatorConfig::mutable_mo_http_server() {
899 return _internal_mutable_mo_http_server();
901 inline const std::string& RockBLOCKSimulatorConfig::_internal_mo_http_server()
const {
902 return mo_http_server_.Get();
904 inline void RockBLOCKSimulatorConfig::_internal_set_mo_http_server(
const std::string& value) {
905 _has_bits_[0] |= 0x00000001u;
908 inline void RockBLOCKSimulatorConfig::set_mo_http_server(std::string&& value) {
909 _has_bits_[0] |= 0x00000001u;
914 inline void RockBLOCKSimulatorConfig::set_mo_http_server(
const char* value) {
915 GOOGLE_DCHECK(value !=
nullptr);
916 _has_bits_[0] |= 0x00000001u;
921 inline void RockBLOCKSimulatorConfig::set_mo_http_server(
const char* value,
923 _has_bits_[0] |= 0x00000001u;
925 reinterpret_cast<const char*
>(value), size), GetArena());
928 inline std::string* RockBLOCKSimulatorConfig::_internal_mutable_mo_http_server() {
929 _has_bits_[0] |= 0x00000001u;
932 inline std::string* RockBLOCKSimulatorConfig::release_mo_http_server() {
934 if (!_internal_has_mo_http_server()) {
937 _has_bits_[0] &= ~0x00000001u;
940 inline void RockBLOCKSimulatorConfig::set_allocated_mo_http_server(std::string* mo_http_server) {
941 if (mo_http_server !=
nullptr) {
942 _has_bits_[0] |= 0x00000001u;
944 _has_bits_[0] &= ~0x00000001u;
950 inline std::string* RockBLOCKSimulatorConfig::unsafe_arena_release_mo_http_server() {
952 GOOGLE_DCHECK(GetArena() !=
nullptr);
953 _has_bits_[0] &= ~0x00000001u;
957 inline void RockBLOCKSimulatorConfig::unsafe_arena_set_allocated_mo_http_server(
958 std::string* mo_http_server) {
959 GOOGLE_DCHECK(GetArena() !=
nullptr);
960 if (mo_http_server !=
nullptr) {
961 _has_bits_[0] |= 0x00000001u;
963 _has_bits_[0] &= ~0x00000001u;
966 mo_http_server, GetArena());
971 inline bool RockBLOCKSimulatorConfig::_internal_has_mo_http_endpoint()
const {
972 bool value = (_has_bits_[0] & 0x00000002u) != 0;
975 inline bool RockBLOCKSimulatorConfig::has_mo_http_endpoint()
const {
976 return _internal_has_mo_http_endpoint();
978 inline void RockBLOCKSimulatorConfig::clear_mo_http_endpoint() {
979 mo_http_endpoint_.ClearToDefault(&::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig::_i_give_permission_to_break_this_code_default_mo_http_endpoint_.
get(), GetArena());
980 _has_bits_[0] &= ~0x00000002u;
982 inline const std::string& RockBLOCKSimulatorConfig::mo_http_endpoint()
const {
984 return _internal_mo_http_endpoint();
986 inline void RockBLOCKSimulatorConfig::set_mo_http_endpoint(
const std::string& value) {
987 _internal_set_mo_http_endpoint(value);
990 inline std::string* RockBLOCKSimulatorConfig::mutable_mo_http_endpoint() {
992 return _internal_mutable_mo_http_endpoint();
994 inline const std::string& RockBLOCKSimulatorConfig::_internal_mo_http_endpoint()
const {
995 return mo_http_endpoint_.Get();
997 inline void RockBLOCKSimulatorConfig::_internal_set_mo_http_endpoint(
const std::string& value) {
998 _has_bits_[0] |= 0x00000002u;
999 mo_http_endpoint_.Set(&::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig::_i_give_permission_to_break_this_code_default_mo_http_endpoint_.
get(), value, GetArena());
1001 inline void RockBLOCKSimulatorConfig::set_mo_http_endpoint(std::string&& value) {
1002 _has_bits_[0] |= 0x00000002u;
1003 mo_http_endpoint_.Set(
1004 &::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig::_i_give_permission_to_break_this_code_default_mo_http_endpoint_.
get(), ::std::move(value), GetArena());
1007 inline void RockBLOCKSimulatorConfig::set_mo_http_endpoint(
const char* value) {
1008 GOOGLE_DCHECK(value !=
nullptr);
1009 _has_bits_[0] |= 0x00000002u;
1010 mo_http_endpoint_.Set(&::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig::_i_give_permission_to_break_this_code_default_mo_http_endpoint_.
get(), ::std::string(value),
1014 inline void RockBLOCKSimulatorConfig::set_mo_http_endpoint(
const char* value,
1016 _has_bits_[0] |= 0x00000002u;
1017 mo_http_endpoint_.Set(&::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig::_i_give_permission_to_break_this_code_default_mo_http_endpoint_.
get(), ::std::string(
1018 reinterpret_cast<const char*
>(value), size), GetArena());
1021 inline std::string* RockBLOCKSimulatorConfig::_internal_mutable_mo_http_endpoint() {
1022 _has_bits_[0] |= 0x00000002u;
1023 return mo_http_endpoint_.Mutable(&::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig::_i_give_permission_to_break_this_code_default_mo_http_endpoint_.
get(), GetArena());
1025 inline std::string* RockBLOCKSimulatorConfig::release_mo_http_endpoint() {
1027 if (!_internal_has_mo_http_endpoint()) {
1030 _has_bits_[0] &= ~0x00000002u;
1031 return mo_http_endpoint_.ReleaseNonDefault(&::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig::_i_give_permission_to_break_this_code_default_mo_http_endpoint_.
get(), GetArena());
1033 inline void RockBLOCKSimulatorConfig::set_allocated_mo_http_endpoint(std::string* mo_http_endpoint) {
1034 if (mo_http_endpoint !=
nullptr) {
1035 _has_bits_[0] |= 0x00000002u;
1037 _has_bits_[0] &= ~0x00000002u;
1039 mo_http_endpoint_.SetAllocated(&::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig::_i_give_permission_to_break_this_code_default_mo_http_endpoint_.
get(), mo_http_endpoint,
1043 inline std::string* RockBLOCKSimulatorConfig::unsafe_arena_release_mo_http_endpoint() {
1045 GOOGLE_DCHECK(GetArena() !=
nullptr);
1046 _has_bits_[0] &= ~0x00000002u;
1047 return mo_http_endpoint_.UnsafeArenaRelease(&::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig::_i_give_permission_to_break_this_code_default_mo_http_endpoint_.
get(),
1050 inline void RockBLOCKSimulatorConfig::unsafe_arena_set_allocated_mo_http_endpoint(
1051 std::string* mo_http_endpoint) {
1052 GOOGLE_DCHECK(GetArena() !=
nullptr);
1053 if (mo_http_endpoint !=
nullptr) {
1054 _has_bits_[0] |= 0x00000002u;
1056 _has_bits_[0] &= ~0x00000002u;
1058 mo_http_endpoint_.UnsafeArenaSetAllocated(&::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig::_i_give_permission_to_break_this_code_default_mo_http_endpoint_.
get(),
1059 mo_http_endpoint, GetArena());
1064 inline bool RockBLOCKSimulatorConfig::_internal_has_mt_http_server_port()
const {
1065 bool value = (_has_bits_[0] & 0x00000008u) != 0;
1068 inline bool RockBLOCKSimulatorConfig::has_mt_http_server_port()
const {
1069 return _internal_has_mt_http_server_port();
1071 inline void RockBLOCKSimulatorConfig::clear_mt_http_server_port() {
1072 mt_http_server_port_ = 8081u;
1073 _has_bits_[0] &= ~0x00000008u;
1076 return mt_http_server_port_;
1080 return _internal_mt_http_server_port();
1083 _has_bits_[0] |= 0x00000008u;
1084 mt_http_server_port_ =
value;
1087 _internal_set_mt_http_server_port(value);
1092 #pragma GCC diagnostic pop
1106 #include <google/protobuf/port_undef.inc>
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
RockBLOCKSimulatorConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena)
::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig_IMEIToModemID * mutable_imei_to_id(int index)
RockBLOCKSimulatorConfig & operator=(const RockBLOCKSimulatorConfig &from)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const RockBLOCKSimulatorConfig * internal_default_instance()
RockBLOCKSimulatorConfig_IMEIToModemID(const RockBLOCKSimulatorConfig_IMEIToModemID &from)
RockBLOCKSimulatorConfig(RockBLOCKSimulatorConfig &&from) noexcept
RockBLOCKSimulatorConfig_IMEIToModemID(RockBLOCKSimulatorConfig_IMEIToModemID &&from) noexcept
std::string * mutable_mo_http_server()
virtual ~RockBLOCKSimulatorConfig()
void set_mo_http_server(std::string &&value)
static const RockBLOCKSimulatorConfig & default_instance()
void MergeFrom(const RockBLOCKSimulatorConfig &from)
RockBLOCKSimulatorConfig_IMEIToModemID()
void set_allocated_imei(std::string *imei)
void UnsafeArenaSwap(RockBLOCKSimulatorConfig_IMEIToModemID *other)
RockBLOCKSimulatorConfig_IMEIToModemID & operator=(RockBLOCKSimulatorConfig_IMEIToModemID &&from) noexcept
RockBLOCKSimulatorConfig_IMEIToModemID(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void set_imei(const char *value)
static const RockBLOCKSimulatorConfig_IMEIToModemID * internal_default_instance()
void Swap(RockBLOCKSimulatorConfig *other)
RockBLOCKSimulatorConfig()
void UnsafeArenaSwap(RockBLOCKSimulatorConfig *other)
static void InitAsDefaultInstance()
void CopyFrom(const RockBLOCKSimulatorConfig_IMEIToModemID &from)
RockBLOCKSimulatorConfig * New() const final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void set_imei(const std::string &value)
void set_allocated_mo_http_server(std::string *mo_http_server)
const std::string & imei() const
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
std::string * release_imei()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
RockBLOCKSimulatorConfig_IMEIToModemID * New() const final
void set_mo_http_server(const std::string &value)
static const RockBLOCKSimulatorConfig_IMEIToModemID & default_instance()
RockBLOCKSimulatorConfig & operator=(RockBLOCKSimulatorConfig &&from) noexcept
int imei_to_id_size() const
RockBLOCKSimulatorConfig_IMEIToModemID * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
void CopyFrom(const RockBLOCKSimulatorConfig &from)
RockBLOCKSimulatorConfig(const RockBLOCKSimulatorConfig &from)
const std::string & mo_http_server() const
void MergeFrom(const RockBLOCKSimulatorConfig_IMEIToModemID &from)
void Swap(RockBLOCKSimulatorConfig_IMEIToModemID *other)
RockBLOCKSimulatorConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
const ::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig_IMEIToModemID & imei_to_id(int index) const
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void set_imei(const char *value, size_t size)
std::string * release_mo_http_server()
friend void swap(RockBLOCKSimulatorConfig_IMEIToModemID &a, RockBLOCKSimulatorConfig_IMEIToModemID &b)
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
void set_imei(std::string &&value)
void set_mo_http_server(const char *value)
friend void swap(RockBLOCKSimulatorConfig &a, RockBLOCKSimulatorConfig &b)
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig_IMEIToModemID > * mutable_imei_to_id()
std::string * mutable_imei()
RockBLOCKSimulatorConfig_IMEIToModemID & operator=(const RockBLOCKSimulatorConfig_IMEIToModemID &from)
virtual ~RockBLOCKSimulatorConfig_IMEIToModemID()
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig_IMEIToModemID > & imei_to_id() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
RockBLOCKSimulatorConfig_IMEIToModemID IMEIToModemID
::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig_IMEIToModemID * add_imei_to_id()
bool has_mo_http_server() const
void set_mo_http_server(const char *value, size_t size)
void clear_mo_http_server()
@ value
the parser finished reading a JSON value
auto get(const nlohmann::detail::iteration_proxy_value< IteratorType > &i) -> decltype(i.key())
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_EXPORT const std::string & GetEmptyStringAlreadyInited()
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2facomms_2fprotobuf_2frockblock_5fsimulator_5fconfig_2eproto
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2] PROTOBUF_SECTION_VARIABLE(protodesc_cold)