Goby3 3.2.3
2025.05.13
Loading...
Searching...
No Matches
rockblock_simulator_config.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: goby/acomms/protobuf/rockblock_simulator_config.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2frockblock_5fsimulator_5fconfig_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2frockblock_5fsimulator_5fconfig_2eproto
6
7#include <limits>
8#include <string>
9
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
14#error your headers.
15#endif
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.
20#endif
21
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> // IWYU pragma: export
31#include <google/protobuf/extension_set.h> // IWYU pragma: export
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>
39// @@protoc_insertion_point(includes)
40#include <google/protobuf/port_def.inc>
41#define PROTOBUF_INTERNAL_EXPORT_goby_2facomms_2fprotobuf_2frockblock_5fsimulator_5fconfig_2eproto
42PROTOBUF_NAMESPACE_OPEN
43namespace internal {
44class AnyMetadata;
45} // namespace internal
46PROTOBUF_NAMESPACE_CLOSE
47
48// Internal implementation detail -- do not use these members.
52extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2facomms_2fprotobuf_2frockblock_5fsimulator_5fconfig_2eproto;
53namespace goby {
54namespace apps {
55namespace acomms {
56namespace protobuf {
58struct RockBLOCKSimulatorConfigDefaultTypeInternal;
59extern RockBLOCKSimulatorConfigDefaultTypeInternal _RockBLOCKSimulatorConfig_default_instance_;
61struct RockBLOCKSimulatorConfig_IMEIToModemIDDefaultTypeInternal;
62extern RockBLOCKSimulatorConfig_IMEIToModemIDDefaultTypeInternal _RockBLOCKSimulatorConfig_IMEIToModemID_default_instance_;
63} // namespace protobuf
64} // namespace acomms
65} // namespace apps
66} // namespace goby
67PROTOBUF_NAMESPACE_OPEN
68template<> ::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig* Arena::CreateMaybeMessage<::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig>(Arena*);
69template<> ::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig_IMEIToModemID* Arena::CreateMaybeMessage<::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig_IMEIToModemID>(Arena*);
70PROTOBUF_NAMESPACE_CLOSE
71namespace goby {
72namespace apps {
73namespace acomms {
74namespace protobuf {
75
76// ===================================================================
77
79 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.IMEIToModemID) */ {
80 public:
83 explicit PROTOBUF_CONSTEXPR RockBLOCKSimulatorConfig_IMEIToModemID(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
84
90
96 if (this == &from) return *this;
97 if (GetOwningArena() == from.GetOwningArena()
98 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
99 && GetOwningArena() != nullptr
100 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
101 ) {
102 InternalSwap(&from);
103 } else {
104 CopyFrom(from);
105 }
106 return *this;
107 }
108
109 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
110 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
111 }
112 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
113 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
114 }
115
116 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
117 return GetDescriptor();
118 }
119 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
120 return default_instance().GetMetadata().descriptor;
121 }
122 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
123 return default_instance().GetMetadata().reflection;
124 }
132 static constexpr int kIndexInFileMessages =
133 0;
134
139 if (other == this) return;
140 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
141 if (GetOwningArena() != nullptr &&
142 GetOwningArena() == other->GetOwningArena()) {
143 #else // PROTOBUF_FORCE_COPY_IN_SWAP
144 if (GetOwningArena() == other->GetOwningArena()) {
145 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
146 InternalSwap(other);
147 } else {
148 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
149 }
150 }
152 if (other == this) return;
153 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
154 InternalSwap(other);
155 }
156
157 // implements Message ----------------------------------------------
158
159 RockBLOCKSimulatorConfig_IMEIToModemID* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
160 return CreateMaybeMessage<RockBLOCKSimulatorConfig_IMEIToModemID>(arena);
161 }
162 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
164 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
166 RockBLOCKSimulatorConfig_IMEIToModemID::MergeImpl(*this, from);
167 }
168 private:
169 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
170 public:
171 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
172 bool IsInitialized() const final;
173
174 size_t ByteSizeLong() const final;
175 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
177 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
178 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
179
180 private:
181 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
182 void SharedDtor();
183 void SetCachedSize(int size) const final;
184 void InternalSwap(RockBLOCKSimulatorConfig_IMEIToModemID* other);
185
186 private:
187 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
188 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
189 return "goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.IMEIToModemID";
190 }
191 protected:
192 explicit RockBLOCKSimulatorConfig_IMEIToModemID(::PROTOBUF_NAMESPACE_ID::Arena* arena,
193 bool is_message_owned = false);
194 public:
195
196 static const ClassData _class_data_;
197 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
198
199 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
200
201 // nested types ----------------------------------------------------
202
203 // accessors -------------------------------------------------------
204
205 enum : int {
209 };
210 // required string imei = 1;
211 bool has_imei() const;
212 private:
213 bool _internal_has_imei() const;
214 public:
215 void clear_imei();
216 const std::string& imei() const;
217 template <typename ArgT0 = const std::string&, typename... ArgT>
218 void set_imei(ArgT0&& arg0, ArgT... args);
219 std::string* mutable_imei();
220 PROTOBUF_NODISCARD std::string* release_imei();
221 void set_allocated_imei(std::string* imei);
222 private:
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();
226 public:
227
228 // required .goby.middleware.protobuf.PTYConfig pty = 3;
229 bool has_pty() const;
230 private:
231 bool _internal_has_pty() const;
232 public:
233 void clear_pty();
234 const ::goby::middleware::protobuf::PTYConfig& pty() const;
235 PROTOBUF_NODISCARD ::goby::middleware::protobuf::PTYConfig* release_pty();
238 private:
239 const ::goby::middleware::protobuf::PTYConfig& _internal_pty() const;
240 ::goby::middleware::protobuf::PTYConfig* _internal_mutable_pty();
241 public:
245
246 // required uint32 modem_id = 2;
247 bool has_modem_id() const;
248 private:
249 bool _internal_has_modem_id() const;
250 public:
251 void clear_modem_id();
252 uint32_t modem_id() const;
253 void set_modem_id(uint32_t value);
254 private:
255 uint32_t _internal_modem_id() const;
256 void _internal_set_modem_id(uint32_t value);
257 public:
258
259 // @@protoc_insertion_point(class_scope:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.IMEIToModemID)
260 private:
261 class _Internal;
262
263 // helper for ByteSizeLong()
264 size_t RequiredFieldsByteSizeFallback() const;
265
266 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
267 typedef void InternalArenaConstructable_;
268 typedef void DestructorSkippable_;
269 struct Impl_ {
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_;
274 uint32_t modem_id_;
275 };
276 union { Impl_ _impl_; };
277 friend struct ::TableStruct_goby_2facomms_2fprotobuf_2frockblock_5fsimulator_5fconfig_2eproto;
278};
279// -------------------------------------------------------------------
280
282 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig) */ {
283 public:
286 explicit PROTOBUF_CONSTEXPR RockBLOCKSimulatorConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
287
291 *this = ::std::move(from);
292 }
293
295 CopyFrom(from);
296 return *this;
297 }
299 if (this == &from) return *this;
300 if (GetOwningArena() == from.GetOwningArena()
301 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
302 && GetOwningArena() != nullptr
303 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
304 ) {
305 InternalSwap(&from);
306 } else {
307 CopyFrom(from);
308 }
309 return *this;
310 }
311
312 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
313 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
314 }
315 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
316 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
317 }
318
319 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
320 return GetDescriptor();
321 }
322 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
323 return default_instance().GetMetadata().descriptor;
324 }
325 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
326 return default_instance().GetMetadata().reflection;
327 }
329 return *internal_default_instance();
330 }
332 return reinterpret_cast<const RockBLOCKSimulatorConfig*>(
334 }
335 static constexpr int kIndexInFileMessages =
336 1;
337
339 a.Swap(&b);
340 }
341 inline void Swap(RockBLOCKSimulatorConfig* other) {
342 if (other == this) return;
343 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
344 if (GetOwningArena() != nullptr &&
345 GetOwningArena() == other->GetOwningArena()) {
346 #else // PROTOBUF_FORCE_COPY_IN_SWAP
347 if (GetOwningArena() == other->GetOwningArena()) {
348 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
349 InternalSwap(other);
350 } else {
351 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
352 }
353 }
355 if (other == this) return;
356 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
357 InternalSwap(other);
358 }
359
360 // implements Message ----------------------------------------------
361
362 RockBLOCKSimulatorConfig* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
363 return CreateMaybeMessage<RockBLOCKSimulatorConfig>(arena);
364 }
365 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
367 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
369 RockBLOCKSimulatorConfig::MergeImpl(*this, from);
370 }
371 private:
372 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
373 public:
374 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
375 bool IsInitialized() const final;
376
377 size_t ByteSizeLong() 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(); }
382
383 private:
384 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
385 void SharedDtor();
386 void SetCachedSize(int size) const final;
387 void InternalSwap(RockBLOCKSimulatorConfig* other);
388
389 private:
390 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
391 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
392 return "goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig";
393 }
394 protected:
395 explicit RockBLOCKSimulatorConfig(::PROTOBUF_NAMESPACE_ID::Arena* arena,
396 bool is_message_owned = false);
397 public:
398
399 static const ClassData _class_data_;
400 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
401
402 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
403
404 // nested types ----------------------------------------------------
405
407
408 // accessors -------------------------------------------------------
409
410 enum : int {
411 kImeiToIdFieldNumber = 10,
412 kMoHttpServerFieldNumber = 11,
413 kMoHttpEndpointFieldNumber = 12,
414 kAppFieldNumber = 1,
415 kMtHttpServerPortFieldNumber = 13,
416 };
417 // repeated .goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.IMEIToModemID imei_to_id = 10;
418 int imei_to_id_size() const;
419 private:
420 int _internal_imei_to_id_size() const;
421 public:
422 void clear_imei_to_id();
424 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig_IMEIToModemID >*
425 mutable_imei_to_id();
426 private:
427 const ::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig_IMEIToModemID& _internal_imei_to_id(int index) const;
429 public:
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 >&
433 imei_to_id() const;
434
435 // required string mo_http_server = 11;
436 bool has_mo_http_server() const;
437 private:
438 bool _internal_has_mo_http_server() const;
439 public:
440 void clear_mo_http_server();
441 const std::string& mo_http_server() const;
442 template <typename ArgT0 = const std::string&, typename... ArgT>
443 void set_mo_http_server(ArgT0&& arg0, ArgT... args);
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);
447 private:
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();
451 public:
452
453 // optional string mo_http_endpoint = 12 [default = "/"];
454 bool has_mo_http_endpoint() const;
455 private:
456 bool _internal_has_mo_http_endpoint() const;
457 public:
458 void clear_mo_http_endpoint();
459 const std::string& mo_http_endpoint() const;
460 template <typename ArgT0 = const std::string&, typename... ArgT>
461 void set_mo_http_endpoint(ArgT0&& arg0, ArgT... args);
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);
465 private:
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();
469 public:
470
471 // optional .goby.middleware.protobuf.AppConfig app = 1;
472 bool has_app() const;
473 private:
474 bool _internal_has_app() const;
475 public:
476 void clear_app();
477 const ::goby::middleware::protobuf::AppConfig& app() const;
478 PROTOBUF_NODISCARD ::goby::middleware::protobuf::AppConfig* release_app();
480 void set_allocated_app(::goby::middleware::protobuf::AppConfig* app);
481 private:
482 const ::goby::middleware::protobuf::AppConfig& _internal_app() const;
483 ::goby::middleware::protobuf::AppConfig* _internal_mutable_app();
484 public:
485 void unsafe_arena_set_allocated_app(
487 ::goby::middleware::protobuf::AppConfig* unsafe_arena_release_app();
488
489 // required uint32 mt_http_server_port = 13 [default = 8081];
490 bool has_mt_http_server_port() const;
491 private:
492 bool _internal_has_mt_http_server_port() const;
493 public:
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);
497 private:
498 uint32_t _internal_mt_http_server_port() const;
499 void _internal_set_mt_http_server_port(uint32_t value);
500 public:
501
502 // @@protoc_insertion_point(class_scope:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig)
503 private:
504 class _Internal;
505
506 // helper for ByteSizeLong()
507 size_t RequiredFieldsByteSizeFallback() const;
508
509 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
510 typedef void InternalArenaConstructable_;
511 typedef void DestructorSkippable_;
512 struct Impl_ {
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_;
521 };
522 union { Impl_ _impl_; };
523 friend struct ::TableStruct_goby_2facomms_2fprotobuf_2frockblock_5fsimulator_5fconfig_2eproto;
524};
525// ===================================================================
526
527
528// ===================================================================
529
530#ifdef __GNUC__
531 #pragma GCC diagnostic push
532 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
533#endif // __GNUC__
534// RockBLOCKSimulatorConfig_IMEIToModemID
535
536// required string imei = 1;
537inline bool RockBLOCKSimulatorConfig_IMEIToModemID::_internal_has_imei() const {
538 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
539 return value;
540}
541inline bool RockBLOCKSimulatorConfig_IMEIToModemID::has_imei() const {
542 return _internal_has_imei();
543}
544inline void RockBLOCKSimulatorConfig_IMEIToModemID::clear_imei() {
545 _impl_.imei_.ClearToEmpty();
546 _impl_._has_bits_[0] &= ~0x00000001u;
547}
548inline const std::string& RockBLOCKSimulatorConfig_IMEIToModemID::imei() const {
549 // @@protoc_insertion_point(field_get:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.IMEIToModemID.imei)
550 return _internal_imei();
551}
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());
557 // @@protoc_insertion_point(field_set:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.IMEIToModemID.imei)
558}
559inline std::string* RockBLOCKSimulatorConfig_IMEIToModemID::mutable_imei() {
560 std::string* _s = _internal_mutable_imei();
561 // @@protoc_insertion_point(field_mutable:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.IMEIToModemID.imei)
562 return _s;
563}
564inline const std::string& RockBLOCKSimulatorConfig_IMEIToModemID::_internal_imei() const {
565 return _impl_.imei_.Get();
566}
567inline void RockBLOCKSimulatorConfig_IMEIToModemID::_internal_set_imei(const std::string& value) {
568 _impl_._has_bits_[0] |= 0x00000001u;
569 _impl_.imei_.Set(value, GetArenaForAllocation());
570}
571inline std::string* RockBLOCKSimulatorConfig_IMEIToModemID::_internal_mutable_imei() {
572 _impl_._has_bits_[0] |= 0x00000001u;
573 return _impl_.imei_.Mutable(GetArenaForAllocation());
574}
575inline std::string* RockBLOCKSimulatorConfig_IMEIToModemID::release_imei() {
576 // @@protoc_insertion_point(field_release:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.IMEIToModemID.imei)
577 if (!_internal_has_imei()) {
578 return nullptr;
579 }
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());
585 }
586#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
587 return p;
588}
589inline void RockBLOCKSimulatorConfig_IMEIToModemID::set_allocated_imei(std::string* imei) {
590 if (imei != nullptr) {
591 _impl_._has_bits_[0] |= 0x00000001u;
592 } else {
593 _impl_._has_bits_[0] &= ~0x00000001u;
594 }
595 _impl_.imei_.SetAllocated(imei, GetArenaForAllocation());
596#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
597 if (_impl_.imei_.IsDefault()) {
598 _impl_.imei_.Set("", GetArenaForAllocation());
599 }
600#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
601 // @@protoc_insertion_point(field_set_allocated:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.IMEIToModemID.imei)
602}
603
604// required uint32 modem_id = 2;
605inline bool RockBLOCKSimulatorConfig_IMEIToModemID::_internal_has_modem_id() const {
606 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
607 return value;
608}
609inline bool RockBLOCKSimulatorConfig_IMEIToModemID::has_modem_id() const {
610 return _internal_has_modem_id();
611}
612inline void RockBLOCKSimulatorConfig_IMEIToModemID::clear_modem_id() {
613 _impl_.modem_id_ = 0u;
614 _impl_._has_bits_[0] &= ~0x00000004u;
615}
616inline uint32_t RockBLOCKSimulatorConfig_IMEIToModemID::_internal_modem_id() const {
617 return _impl_.modem_id_;
618}
619inline uint32_t RockBLOCKSimulatorConfig_IMEIToModemID::modem_id() const {
620 // @@protoc_insertion_point(field_get:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.IMEIToModemID.modem_id)
621 return _internal_modem_id();
622}
623inline void RockBLOCKSimulatorConfig_IMEIToModemID::_internal_set_modem_id(uint32_t value) {
624 _impl_._has_bits_[0] |= 0x00000004u;
625 _impl_.modem_id_ = value;
626}
627inline void RockBLOCKSimulatorConfig_IMEIToModemID::set_modem_id(uint32_t value) {
628 _internal_set_modem_id(value);
629 // @@protoc_insertion_point(field_set:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.IMEIToModemID.modem_id)
630}
631
632// required .goby.middleware.protobuf.PTYConfig pty = 3;
633inline bool RockBLOCKSimulatorConfig_IMEIToModemID::_internal_has_pty() const {
634 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
635 PROTOBUF_ASSUME(!value || _impl_.pty_ != nullptr);
636 return value;
637}
638inline bool RockBLOCKSimulatorConfig_IMEIToModemID::has_pty() const {
639 return _internal_has_pty();
640}
641inline const ::goby::middleware::protobuf::PTYConfig& RockBLOCKSimulatorConfig_IMEIToModemID::_internal_pty() const {
642 const ::goby::middleware::protobuf::PTYConfig* p = _impl_.pty_;
643 return p != nullptr ? *p : reinterpret_cast<const ::goby::middleware::protobuf::PTYConfig&>(
645}
646inline const ::goby::middleware::protobuf::PTYConfig& RockBLOCKSimulatorConfig_IMEIToModemID::pty() const {
647 // @@protoc_insertion_point(field_get:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.IMEIToModemID.pty)
648 return _internal_pty();
649}
650inline void RockBLOCKSimulatorConfig_IMEIToModemID::unsafe_arena_set_allocated_pty(
652 if (GetArenaForAllocation() == nullptr) {
653 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.pty_);
654 }
655 _impl_.pty_ = pty;
656 if (pty) {
657 _impl_._has_bits_[0] |= 0x00000002u;
658 } else {
659 _impl_._has_bits_[0] &= ~0x00000002u;
660 }
661 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.IMEIToModemID.pty)
662}
663inline ::goby::middleware::protobuf::PTYConfig* RockBLOCKSimulatorConfig_IMEIToModemID::release_pty() {
664 _impl_._has_bits_[0] &= ~0x00000002u;
665 ::goby::middleware::protobuf::PTYConfig* temp = _impl_.pty_;
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; }
671#else // PROTOBUF_FORCE_COPY_IN_RELEASE
672 if (GetArenaForAllocation() != nullptr) {
673 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
674 }
675#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
676 return temp;
677}
678inline ::goby::middleware::protobuf::PTYConfig* RockBLOCKSimulatorConfig_IMEIToModemID::unsafe_arena_release_pty() {
679 // @@protoc_insertion_point(field_release:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.IMEIToModemID.pty)
680 _impl_._has_bits_[0] &= ~0x00000002u;
681 ::goby::middleware::protobuf::PTYConfig* temp = _impl_.pty_;
682 _impl_.pty_ = nullptr;
683 return temp;
684}
685inline ::goby::middleware::protobuf::PTYConfig* RockBLOCKSimulatorConfig_IMEIToModemID::_internal_mutable_pty() {
686 _impl_._has_bits_[0] |= 0x00000002u;
687 if (_impl_.pty_ == nullptr) {
688 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::PTYConfig>(GetArenaForAllocation());
689 _impl_.pty_ = p;
690 }
691 return _impl_.pty_;
692}
693inline ::goby::middleware::protobuf::PTYConfig* RockBLOCKSimulatorConfig_IMEIToModemID::mutable_pty() {
694 ::goby::middleware::protobuf::PTYConfig* _msg = _internal_mutable_pty();
695 // @@protoc_insertion_point(field_mutable:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.IMEIToModemID.pty)
696 return _msg;
697}
698inline void RockBLOCKSimulatorConfig_IMEIToModemID::set_allocated_pty(::goby::middleware::protobuf::PTYConfig* pty) {
699 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
700 if (message_arena == nullptr) {
701 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.pty_);
702 }
703 if (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);
710 }
711 _impl_._has_bits_[0] |= 0x00000002u;
712 } else {
713 _impl_._has_bits_[0] &= ~0x00000002u;
714 }
715 _impl_.pty_ = pty;
716 // @@protoc_insertion_point(field_set_allocated:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.IMEIToModemID.pty)
717}
718
719// -------------------------------------------------------------------
720
721// RockBLOCKSimulatorConfig
722
723// optional .goby.middleware.protobuf.AppConfig app = 1;
724inline bool RockBLOCKSimulatorConfig::_internal_has_app() const {
725 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
726 PROTOBUF_ASSUME(!value || _impl_.app_ != nullptr);
727 return value;
728}
729inline bool RockBLOCKSimulatorConfig::has_app() const {
730 return _internal_has_app();
731}
732inline const ::goby::middleware::protobuf::AppConfig& RockBLOCKSimulatorConfig::_internal_app() const {
733 const ::goby::middleware::protobuf::AppConfig* p = _impl_.app_;
734 return p != nullptr ? *p : reinterpret_cast<const ::goby::middleware::protobuf::AppConfig&>(
736}
737inline const ::goby::middleware::protobuf::AppConfig& RockBLOCKSimulatorConfig::app() const {
738 // @@protoc_insertion_point(field_get:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.app)
739 return _internal_app();
740}
741inline void RockBLOCKSimulatorConfig::unsafe_arena_set_allocated_app(
743 if (GetArenaForAllocation() == nullptr) {
744 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.app_);
745 }
746 _impl_.app_ = app;
747 if (app) {
748 _impl_._has_bits_[0] |= 0x00000004u;
749 } else {
750 _impl_._has_bits_[0] &= ~0x00000004u;
751 }
752 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.app)
753}
754inline ::goby::middleware::protobuf::AppConfig* RockBLOCKSimulatorConfig::release_app() {
755 _impl_._has_bits_[0] &= ~0x00000004u;
756 ::goby::middleware::protobuf::AppConfig* temp = _impl_.app_;
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; }
762#else // PROTOBUF_FORCE_COPY_IN_RELEASE
763 if (GetArenaForAllocation() != nullptr) {
764 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
765 }
766#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
767 return temp;
768}
769inline ::goby::middleware::protobuf::AppConfig* RockBLOCKSimulatorConfig::unsafe_arena_release_app() {
770 // @@protoc_insertion_point(field_release:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.app)
771 _impl_._has_bits_[0] &= ~0x00000004u;
772 ::goby::middleware::protobuf::AppConfig* temp = _impl_.app_;
773 _impl_.app_ = nullptr;
774 return temp;
775}
776inline ::goby::middleware::protobuf::AppConfig* RockBLOCKSimulatorConfig::_internal_mutable_app() {
777 _impl_._has_bits_[0] |= 0x00000004u;
778 if (_impl_.app_ == nullptr) {
779 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaForAllocation());
780 _impl_.app_ = p;
781 }
782 return _impl_.app_;
783}
784inline ::goby::middleware::protobuf::AppConfig* RockBLOCKSimulatorConfig::mutable_app() {
785 ::goby::middleware::protobuf::AppConfig* _msg = _internal_mutable_app();
786 // @@protoc_insertion_point(field_mutable:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.app)
787 return _msg;
788}
789inline void RockBLOCKSimulatorConfig::set_allocated_app(::goby::middleware::protobuf::AppConfig* app) {
790 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
791 if (message_arena == nullptr) {
792 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.app_);
793 }
794 if (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);
801 }
802 _impl_._has_bits_[0] |= 0x00000004u;
803 } else {
804 _impl_._has_bits_[0] &= ~0x00000004u;
805 }
806 _impl_.app_ = app;
807 // @@protoc_insertion_point(field_set_allocated:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.app)
808}
809
810// repeated .goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.IMEIToModemID imei_to_id = 10;
811inline int RockBLOCKSimulatorConfig::_internal_imei_to_id_size() const {
812 return _impl_.imei_to_id_.size();
813}
814inline int RockBLOCKSimulatorConfig::imei_to_id_size() const {
815 return _internal_imei_to_id_size();
816}
817inline void RockBLOCKSimulatorConfig::clear_imei_to_id() {
818 _impl_.imei_to_id_.Clear();
819}
820inline ::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig_IMEIToModemID* RockBLOCKSimulatorConfig::mutable_imei_to_id(int index) {
821 // @@protoc_insertion_point(field_mutable:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.imei_to_id)
822 return _impl_.imei_to_id_.Mutable(index);
823}
824inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig_IMEIToModemID >*
825RockBLOCKSimulatorConfig::mutable_imei_to_id() {
826 // @@protoc_insertion_point(field_mutable_list:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.imei_to_id)
827 return &_impl_.imei_to_id_;
828}
829inline const ::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig_IMEIToModemID& RockBLOCKSimulatorConfig::_internal_imei_to_id(int index) const {
830 return _impl_.imei_to_id_.Get(index);
831}
832inline const ::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig_IMEIToModemID& RockBLOCKSimulatorConfig::imei_to_id(int index) const {
833 // @@protoc_insertion_point(field_get:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.imei_to_id)
834 return _internal_imei_to_id(index);
835}
836inline ::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig_IMEIToModemID* RockBLOCKSimulatorConfig::_internal_add_imei_to_id() {
837 return _impl_.imei_to_id_.Add();
838}
839inline ::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig_IMEIToModemID* RockBLOCKSimulatorConfig::add_imei_to_id() {
841 // @@protoc_insertion_point(field_add:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.imei_to_id)
842 return _add;
843}
844inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig_IMEIToModemID >&
845RockBLOCKSimulatorConfig::imei_to_id() const {
846 // @@protoc_insertion_point(field_list:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.imei_to_id)
847 return _impl_.imei_to_id_;
848}
849
850// required string mo_http_server = 11;
851inline bool RockBLOCKSimulatorConfig::_internal_has_mo_http_server() const {
852 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
853 return value;
854}
855inline bool RockBLOCKSimulatorConfig::has_mo_http_server() const {
856 return _internal_has_mo_http_server();
857}
858inline void RockBLOCKSimulatorConfig::clear_mo_http_server() {
859 _impl_.mo_http_server_.ClearToEmpty();
860 _impl_._has_bits_[0] &= ~0x00000001u;
861}
862inline const std::string& RockBLOCKSimulatorConfig::mo_http_server() const {
863 // @@protoc_insertion_point(field_get:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.mo_http_server)
864 return _internal_mo_http_server();
865}
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());
871 // @@protoc_insertion_point(field_set:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.mo_http_server)
872}
873inline std::string* RockBLOCKSimulatorConfig::mutable_mo_http_server() {
874 std::string* _s = _internal_mutable_mo_http_server();
875 // @@protoc_insertion_point(field_mutable:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.mo_http_server)
876 return _s;
877}
878inline const std::string& RockBLOCKSimulatorConfig::_internal_mo_http_server() const {
879 return _impl_.mo_http_server_.Get();
880}
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());
884}
885inline std::string* RockBLOCKSimulatorConfig::_internal_mutable_mo_http_server() {
886 _impl_._has_bits_[0] |= 0x00000001u;
887 return _impl_.mo_http_server_.Mutable(GetArenaForAllocation());
888}
889inline std::string* RockBLOCKSimulatorConfig::release_mo_http_server() {
890 // @@protoc_insertion_point(field_release:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.mo_http_server)
891 if (!_internal_has_mo_http_server()) {
892 return nullptr;
893 }
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());
899 }
900#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
901 return p;
902}
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;
906 } else {
907 _impl_._has_bits_[0] &= ~0x00000001u;
908 }
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());
913 }
914#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
915 // @@protoc_insertion_point(field_set_allocated:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.mo_http_server)
916}
917
918// optional string mo_http_endpoint = 12 [default = "/"];
919inline bool RockBLOCKSimulatorConfig::_internal_has_mo_http_endpoint() const {
920 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
921 return value;
922}
923inline bool RockBLOCKSimulatorConfig::has_mo_http_endpoint() const {
924 return _internal_has_mo_http_endpoint();
925}
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;
929}
930inline const std::string& RockBLOCKSimulatorConfig::mo_http_endpoint() const {
931 // @@protoc_insertion_point(field_get:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.mo_http_endpoint)
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();
934}
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());
940 // @@protoc_insertion_point(field_set:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.mo_http_endpoint)
941}
942inline std::string* RockBLOCKSimulatorConfig::mutable_mo_http_endpoint() {
943 std::string* _s = _internal_mutable_mo_http_endpoint();
944 // @@protoc_insertion_point(field_mutable:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.mo_http_endpoint)
945 return _s;
946}
947inline const std::string& RockBLOCKSimulatorConfig::_internal_mo_http_endpoint() const {
948 return _impl_.mo_http_endpoint_.Get();
949}
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());
953}
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());
957}
958inline std::string* RockBLOCKSimulatorConfig::release_mo_http_endpoint() {
959 // @@protoc_insertion_point(field_release:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.mo_http_endpoint)
960 if (!_internal_has_mo_http_endpoint()) {
961 return nullptr;
962 }
963 _impl_._has_bits_[0] &= ~0x00000002u;
964 auto* p = _impl_.mo_http_endpoint_.Release();
965 return p;
966}
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;
970 } else {
971 _impl_._has_bits_[0] &= ~0x00000002u;
972 }
973 _impl_.mo_http_endpoint_.SetAllocated(mo_http_endpoint, GetArenaForAllocation());
974 // @@protoc_insertion_point(field_set_allocated:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.mo_http_endpoint)
975}
976
977// required uint32 mt_http_server_port = 13 [default = 8081];
978inline bool RockBLOCKSimulatorConfig::_internal_has_mt_http_server_port() const {
979 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
980 return value;
981}
982inline bool RockBLOCKSimulatorConfig::has_mt_http_server_port() const {
983 return _internal_has_mt_http_server_port();
984}
985inline void RockBLOCKSimulatorConfig::clear_mt_http_server_port() {
986 _impl_.mt_http_server_port_ = 8081u;
987 _impl_._has_bits_[0] &= ~0x00000008u;
988}
989inline uint32_t RockBLOCKSimulatorConfig::_internal_mt_http_server_port() const {
990 return _impl_.mt_http_server_port_;
991}
992inline uint32_t RockBLOCKSimulatorConfig::mt_http_server_port() const {
993 // @@protoc_insertion_point(field_get:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.mt_http_server_port)
994 return _internal_mt_http_server_port();
995}
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;
999}
1000inline void RockBLOCKSimulatorConfig::set_mt_http_server_port(uint32_t value) {
1001 _internal_set_mt_http_server_port(value);
1002 // @@protoc_insertion_point(field_set:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.mt_http_server_port)
1003}
1004
1005#ifdef __GNUC__
1006 #pragma GCC diagnostic pop
1007#endif // __GNUC__
1008// -------------------------------------------------------------------
1009
1010
1011// @@protoc_insertion_point(namespace_scope)
1012
1013} // namespace protobuf
1014} // namespace acomms
1015} // namespace apps
1016} // namespace goby
1017
1018// @@protoc_insertion_point(global_scope)
1019
1020#include <google/protobuf/port_undef.inc>
1021#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2frockblock_5fsimulator_5fconfig_2eproto
PROTOBUF_NAMESPACE_OPEN ::goby::middleware::protobuf::AppConfig * Arena::CreateMaybeMessage<::goby::middleware::protobuf::AppConfig >(Arena *)
static const RockBLOCKSimulatorConfig_IMEIToModemID * internal_default_instance()
RockBLOCKSimulatorConfig_IMEIToModemID & operator=(RockBLOCKSimulatorConfig_IMEIToModemID &&from) noexcept
void unsafe_arena_set_allocated_pty(::goby::middleware::protobuf::PTYConfig *pty)
static const RockBLOCKSimulatorConfig_IMEIToModemID & default_instance()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
RockBLOCKSimulatorConfig_IMEIToModemID & operator=(const RockBLOCKSimulatorConfig_IMEIToModemID &from)
RockBLOCKSimulatorConfig_IMEIToModemID(RockBLOCKSimulatorConfig_IMEIToModemID &&from) noexcept
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
RockBLOCKSimulatorConfig_IMEIToModemID(const RockBLOCKSimulatorConfig_IMEIToModemID &from)
void MergeFrom(const RockBLOCKSimulatorConfig_IMEIToModemID &from)
PROTOBUF_CONSTEXPR RockBLOCKSimulatorConfig_IMEIToModemID(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
RockBLOCKSimulatorConfig_IMEIToModemID(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
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 * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
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
RockBLOCKSimulatorConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
RockBLOCKSimulatorConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
RockBLOCKSimulatorConfig(const RockBLOCKSimulatorConfig &from)
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
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()
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.
#define ByteSizeLong
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