Goby3  3.1.5
2024.05.14
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 < 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
14 #error your headers.
15 #endif
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.
20 #endif
21 
22 #include <google/protobuf/port_undef.inc>
23 #include <google/protobuf/io/coded_stream.h>
24 #include <google/protobuf/arena.h>
25 #include <google/protobuf/arenastring.h>
26 #include <google/protobuf/generated_message_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> // IWYU pragma: export
33 #include <google/protobuf/extension_set.h> // IWYU pragma: export
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>
41 // @@protoc_insertion_point(includes)
42 #include <google/protobuf/port_def.inc>
43 #define PROTOBUF_INTERNAL_EXPORT_goby_2facomms_2fprotobuf_2frockblock_5fsimulator_5fconfig_2eproto
44 PROTOBUF_NAMESPACE_OPEN
45 namespace internal {
46 class AnyMetadata;
47 } // namespace internal
48 PROTOBUF_NAMESPACE_CLOSE
49 
50 // Internal implementation detail -- do not use these members.
52  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
53  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
54  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
55  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
56  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2]
57  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
58  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
59  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
61 };
62 extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2facomms_2fprotobuf_2frockblock_5fsimulator_5fconfig_2eproto;
63 namespace goby {
64 namespace apps {
65 namespace acomms {
66 namespace protobuf {
67 class RockBLOCKSimulatorConfig;
68 class RockBLOCKSimulatorConfigDefaultTypeInternal;
69 extern RockBLOCKSimulatorConfigDefaultTypeInternal _RockBLOCKSimulatorConfig_default_instance_;
70 class RockBLOCKSimulatorConfig_IMEIToModemID;
71 class RockBLOCKSimulatorConfig_IMEIToModemIDDefaultTypeInternal;
72 extern RockBLOCKSimulatorConfig_IMEIToModemIDDefaultTypeInternal _RockBLOCKSimulatorConfig_IMEIToModemID_default_instance_;
73 } // namespace protobuf
74 } // namespace acomms
75 } // namespace apps
76 } // namespace goby
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
81 namespace goby {
82 namespace apps {
83 namespace acomms {
84 namespace protobuf {
85 
86 // ===================================================================
87 
88 class RockBLOCKSimulatorConfig_IMEIToModemID PROTOBUF_FINAL :
89  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.IMEIToModemID) */ {
90  public:
91  inline RockBLOCKSimulatorConfig_IMEIToModemID() : RockBLOCKSimulatorConfig_IMEIToModemID(nullptr) {};
93 
94  RockBLOCKSimulatorConfig_IMEIToModemID(const RockBLOCKSimulatorConfig_IMEIToModemID& from);
95  RockBLOCKSimulatorConfig_IMEIToModemID(RockBLOCKSimulatorConfig_IMEIToModemID&& from) noexcept
96  : RockBLOCKSimulatorConfig_IMEIToModemID() {
97  *this = ::std::move(from);
98  }
99 
100  inline RockBLOCKSimulatorConfig_IMEIToModemID& operator=(const RockBLOCKSimulatorConfig_IMEIToModemID& from) {
101  CopyFrom(from);
102  return *this;
103  }
104  inline RockBLOCKSimulatorConfig_IMEIToModemID& operator=(RockBLOCKSimulatorConfig_IMEIToModemID&& from) noexcept {
105  if (GetArena() == from.GetArena()) {
106  if (this != &from) InternalSwap(&from);
107  } else {
108  CopyFrom(from);
109  }
110  return *this;
111  }
112 
113  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
114  return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
115  }
116  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
117  return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
118  }
119 
120  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
121  return GetDescriptor();
122  }
123  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
124  return GetMetadataStatic().descriptor;
125  }
126  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
127  return GetMetadataStatic().reflection;
128  }
129  static const RockBLOCKSimulatorConfig_IMEIToModemID& default_instance();
130 
131  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
132  static inline const RockBLOCKSimulatorConfig_IMEIToModemID* internal_default_instance() {
133  return reinterpret_cast<const RockBLOCKSimulatorConfig_IMEIToModemID*>(
135  }
136  static constexpr int kIndexInFileMessages =
137  0;
138 
139  friend void swap(RockBLOCKSimulatorConfig_IMEIToModemID& a, RockBLOCKSimulatorConfig_IMEIToModemID& b) {
140  a.Swap(&b);
141  }
142  inline void Swap(RockBLOCKSimulatorConfig_IMEIToModemID* other) {
143  if (other == this) return;
144  if (GetArena() == other->GetArena()) {
145  InternalSwap(other);
146  } else {
147  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
148  }
149  }
150  void UnsafeArenaSwap(RockBLOCKSimulatorConfig_IMEIToModemID* other) {
151  if (other == this) return;
152  GOOGLE_DCHECK(GetArena() == other->GetArena());
153  InternalSwap(other);
154  }
155 
156  // implements Message ----------------------------------------------
157 
158  inline RockBLOCKSimulatorConfig_IMEIToModemID* New() const final {
159  return CreateMaybeMessage<RockBLOCKSimulatorConfig_IMEIToModemID>(nullptr);
160  }
161 
162  RockBLOCKSimulatorConfig_IMEIToModemID* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
163  return CreateMaybeMessage<RockBLOCKSimulatorConfig_IMEIToModemID>(arena);
164  }
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;
171 
172  size_t ByteSizeLong() 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(); }
177 
178  private:
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";
186  }
187  protected:
188  explicit RockBLOCKSimulatorConfig_IMEIToModemID(::PROTOBUF_NAMESPACE_ID::Arena* arena);
189  private:
190  static void ArenaDtor(void* object);
191  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
192  public:
193 
194  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
195  private:
196  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
197  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_goby_2facomms_2fprotobuf_2frockblock_5fsimulator_5fconfig_2eproto);
199  }
200 
201  public:
202 
203  // nested types ----------------------------------------------------
204 
205  // accessors -------------------------------------------------------
206 
207  enum : int {
208  kImeiFieldNumber = 1,
209  kPtyFieldNumber = 3,
210  kModemIdFieldNumber = 2,
211  };
212  // required string imei = 1;
213  bool has_imei() const;
214  private:
215  bool _internal_has_imei() const;
216  public:
217  void clear_imei();
218  const std::string& imei() const;
219  void set_imei(const std::string& value);
220  void set_imei(std::string&& value);
221  void set_imei(const char* value);
222  void set_imei(const char* value, size_t size);
223  std::string* mutable_imei();
224  std::string* release_imei();
225  void set_allocated_imei(std::string* imei);
226  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
227  " string fields are deprecated and will be removed in a"
228  " future release.")
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"
232  " future release.")
233  void unsafe_arena_set_allocated_imei(
234  std::string* imei);
235  private:
236  const std::string& _internal_imei() const;
237  void _internal_set_imei(const std::string& value);
238  std::string* _internal_mutable_imei();
239  public:
240 
241  // required .goby.middleware.protobuf.PTYConfig pty = 3;
242  bool has_pty() const;
243  private:
244  bool _internal_has_pty() const;
245  public:
246  void clear_pty();
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);
251  private:
252  const ::goby::middleware::protobuf::PTYConfig& _internal_pty() const;
253  ::goby::middleware::protobuf::PTYConfig* _internal_mutable_pty();
254  public:
255  void unsafe_arena_set_allocated_pty(
256  ::goby::middleware::protobuf::PTYConfig* pty);
257  ::goby::middleware::protobuf::PTYConfig* unsafe_arena_release_pty();
258 
259  // required uint32 modem_id = 2;
260  bool has_modem_id() const;
261  private:
262  bool _internal_has_modem_id() const;
263  public:
264  void clear_modem_id();
265  ::PROTOBUF_NAMESPACE_ID::uint32 modem_id() const;
266  void set_modem_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
267  private:
268  ::PROTOBUF_NAMESPACE_ID::uint32 _internal_modem_id() const;
269  void _internal_set_modem_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
270  public:
271 
272  // @@protoc_insertion_point(class_scope:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.IMEIToModemID)
273  private:
274  class _Internal;
275 
276  // helper for ByteSizeLong()
277  size_t RequiredFieldsByteSizeFallback() const;
278 
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_;
288 };
289 // -------------------------------------------------------------------
290 
291 class RockBLOCKSimulatorConfig PROTOBUF_FINAL :
292  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig) */ {
293  public:
294  inline RockBLOCKSimulatorConfig() : RockBLOCKSimulatorConfig(nullptr) {};
296 
297  RockBLOCKSimulatorConfig(const RockBLOCKSimulatorConfig& from);
298  RockBLOCKSimulatorConfig(RockBLOCKSimulatorConfig&& from) noexcept
299  : RockBLOCKSimulatorConfig() {
300  *this = ::std::move(from);
301  }
302 
303  inline RockBLOCKSimulatorConfig& operator=(const RockBLOCKSimulatorConfig& from) {
304  CopyFrom(from);
305  return *this;
306  }
307  inline RockBLOCKSimulatorConfig& operator=(RockBLOCKSimulatorConfig&& from) noexcept {
308  if (GetArena() == from.GetArena()) {
309  if (this != &from) InternalSwap(&from);
310  } else {
311  CopyFrom(from);
312  }
313  return *this;
314  }
315 
316  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
317  return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
318  }
319  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
320  return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
321  }
322 
323  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
324  return GetDescriptor();
325  }
326  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
327  return GetMetadataStatic().descriptor;
328  }
329  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
330  return GetMetadataStatic().reflection;
331  }
332  static const RockBLOCKSimulatorConfig& default_instance();
333 
334  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
335  static inline const RockBLOCKSimulatorConfig* internal_default_instance() {
336  return reinterpret_cast<const RockBLOCKSimulatorConfig*>(
338  }
339  static constexpr int kIndexInFileMessages =
340  1;
341 
342  friend void swap(RockBLOCKSimulatorConfig& a, RockBLOCKSimulatorConfig& b) {
343  a.Swap(&b);
344  }
345  inline void Swap(RockBLOCKSimulatorConfig* other) {
346  if (other == this) return;
347  if (GetArena() == other->GetArena()) {
348  InternalSwap(other);
349  } else {
350  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
351  }
352  }
353  void UnsafeArenaSwap(RockBLOCKSimulatorConfig* other) {
354  if (other == this) return;
355  GOOGLE_DCHECK(GetArena() == other->GetArena());
356  InternalSwap(other);
357  }
358 
359  // implements Message ----------------------------------------------
360 
361  inline RockBLOCKSimulatorConfig* New() const final {
362  return CreateMaybeMessage<RockBLOCKSimulatorConfig>(nullptr);
363  }
364 
365  RockBLOCKSimulatorConfig* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
366  return CreateMaybeMessage<RockBLOCKSimulatorConfig>(arena);
367  }
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);
371  void MergeFrom(const RockBLOCKSimulatorConfig& from);
372  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
373  bool IsInitialized() const final;
374 
375  size_t ByteSizeLong() 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(); }
380 
381  private:
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";
389  }
390  protected:
391  explicit RockBLOCKSimulatorConfig(::PROTOBUF_NAMESPACE_ID::Arena* arena);
392  private:
393  static void ArenaDtor(void* object);
394  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
395  public:
396 
397  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
398  private:
399  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
400  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_goby_2facomms_2fprotobuf_2frockblock_5fsimulator_5fconfig_2eproto);
402  }
403 
404  public:
405 
406  // nested types ----------------------------------------------------
407 
408  typedef RockBLOCKSimulatorConfig_IMEIToModemID IMEIToModemID;
409 
410  // accessors -------------------------------------------------------
411 
412  enum : int {
413  kImeiToIdFieldNumber = 10,
414  kMoHttpServerFieldNumber = 11,
415  kMoHttpEndpointFieldNumber = 12,
416  kAppFieldNumber = 1,
417  kMtHttpServerPortFieldNumber = 13,
418  };
419  // repeated .goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.IMEIToModemID imei_to_id = 10;
420  int imei_to_id_size() const;
421  private:
422  int _internal_imei_to_id_size() const;
423  public:
425  ::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig_IMEIToModemID* mutable_imei_to_id(int index);
426  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig_IMEIToModemID >*
428  private:
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();
431  public:
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 >&
435  imei_to_id() const;
436 
437  // required string mo_http_server = 11;
438  bool has_mo_http_server() const;
439  private:
440  bool _internal_has_mo_http_server() const;
441  public:
443  const std::string& mo_http_server() const;
444  void set_mo_http_server(const std::string& value);
445  void set_mo_http_server(std::string&& value);
446  void set_mo_http_server(const char* value);
447  void set_mo_http_server(const char* value, size_t size);
448  std::string* mutable_mo_http_server();
449  std::string* release_mo_http_server();
450  void set_allocated_mo_http_server(std::string* mo_http_server);
451  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
452  " string fields are deprecated and will be removed in a"
453  " future release.")
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"
457  " future release.")
458  void unsafe_arena_set_allocated_mo_http_server(
459  std::string* mo_http_server);
460  private:
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();
464  public:
465 
466  // optional string mo_http_endpoint = 12 [default = "/"];
467  bool has_mo_http_endpoint() const;
468  private:
469  bool _internal_has_mo_http_endpoint() const;
470  public:
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"
482  " future release.")
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"
486  " future release.")
487  void unsafe_arena_set_allocated_mo_http_endpoint(
488  std::string* mo_http_endpoint);
489  private:
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();
493  public:
494 
495  // optional .goby.middleware.protobuf.AppConfig app = 1;
496  bool has_app() const;
497  private:
498  bool _internal_has_app() const;
499  public:
500  void clear_app();
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);
505  private:
506  const ::goby::middleware::protobuf::AppConfig& _internal_app() const;
507  ::goby::middleware::protobuf::AppConfig* _internal_mutable_app();
508  public:
509  void unsafe_arena_set_allocated_app(
510  ::goby::middleware::protobuf::AppConfig* app);
511  ::goby::middleware::protobuf::AppConfig* unsafe_arena_release_app();
512 
513  // required uint32 mt_http_server_port = 13 [default = 8081];
514  bool has_mt_http_server_port() const;
515  private:
516  bool _internal_has_mt_http_server_port() const;
517  public:
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);
521  private:
522  ::PROTOBUF_NAMESPACE_ID::uint32 _internal_mt_http_server_port() const;
523  void _internal_set_mt_http_server_port(::PROTOBUF_NAMESPACE_ID::uint32 value);
524  public:
525 
526  // @@protoc_insertion_point(class_scope:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig)
527  private:
528  class _Internal;
529 
530  // helper for ByteSizeLong()
531  size_t RequiredFieldsByteSizeFallback() const;
532 
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_;
540  public:
541  static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<std::string> _i_give_permission_to_break_this_code_default_mo_http_endpoint_;
542  private:
543  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mo_http_endpoint_;
544  ::goby::middleware::protobuf::AppConfig* app_;
545  ::PROTOBUF_NAMESPACE_ID::uint32 mt_http_server_port_;
547 };
548 // ===================================================================
549 
550 
551 // ===================================================================
552 
553 #ifdef __GNUC__
554  #pragma GCC diagnostic push
555  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
556 #endif // __GNUC__
557 // RockBLOCKSimulatorConfig_IMEIToModemID
558 
559 // required string imei = 1;
560 inline bool RockBLOCKSimulatorConfig_IMEIToModemID::_internal_has_imei() const {
561  bool value = (_has_bits_[0] & 0x00000001u) != 0;
562  return value;
563 }
564 inline bool RockBLOCKSimulatorConfig_IMEIToModemID::has_imei() const {
565  return _internal_has_imei();
566 }
567 inline void RockBLOCKSimulatorConfig_IMEIToModemID::clear_imei() {
568  imei_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
569  _has_bits_[0] &= ~0x00000001u;
570 }
571 inline const std::string& RockBLOCKSimulatorConfig_IMEIToModemID::imei() const {
572  // @@protoc_insertion_point(field_get:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.IMEIToModemID.imei)
573  return _internal_imei();
574 }
575 inline void RockBLOCKSimulatorConfig_IMEIToModemID::set_imei(const std::string& value) {
576  _internal_set_imei(value);
577  // @@protoc_insertion_point(field_set:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.IMEIToModemID.imei)
578 }
579 inline std::string* RockBLOCKSimulatorConfig_IMEIToModemID::mutable_imei() {
580  // @@protoc_insertion_point(field_mutable:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.IMEIToModemID.imei)
581  return _internal_mutable_imei();
582 }
583 inline const std::string& RockBLOCKSimulatorConfig_IMEIToModemID::_internal_imei() const {
584  return imei_.Get();
585 }
586 inline void RockBLOCKSimulatorConfig_IMEIToModemID::_internal_set_imei(const std::string& value) {
587  _has_bits_[0] |= 0x00000001u;
588  imei_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
589 }
590 inline void RockBLOCKSimulatorConfig_IMEIToModemID::set_imei(std::string&& value) {
591  _has_bits_[0] |= 0x00000001u;
592  imei_.Set(
593  &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
594  // @@protoc_insertion_point(field_set_rvalue:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.IMEIToModemID.imei)
595 }
596 inline void RockBLOCKSimulatorConfig_IMEIToModemID::set_imei(const char* value) {
597  GOOGLE_DCHECK(value != nullptr);
598  _has_bits_[0] |= 0x00000001u;
599  imei_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
600  GetArena());
601  // @@protoc_insertion_point(field_set_char:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.IMEIToModemID.imei)
602 }
603 inline void RockBLOCKSimulatorConfig_IMEIToModemID::set_imei(const char* value,
604  size_t size) {
605  _has_bits_[0] |= 0x00000001u;
607  reinterpret_cast<const char*>(value), size), GetArena());
608  // @@protoc_insertion_point(field_set_pointer:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.IMEIToModemID.imei)
609 }
610 inline std::string* RockBLOCKSimulatorConfig_IMEIToModemID::_internal_mutable_imei() {
611  _has_bits_[0] |= 0x00000001u;
612  return imei_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
613 }
614 inline std::string* RockBLOCKSimulatorConfig_IMEIToModemID::release_imei() {
615  // @@protoc_insertion_point(field_release:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.IMEIToModemID.imei)
616  if (!_internal_has_imei()) {
617  return nullptr;
618  }
619  _has_bits_[0] &= ~0x00000001u;
620  return imei_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
621 }
622 inline void RockBLOCKSimulatorConfig_IMEIToModemID::set_allocated_imei(std::string* imei) {
623  if (imei != nullptr) {
624  _has_bits_[0] |= 0x00000001u;
625  } else {
626  _has_bits_[0] &= ~0x00000001u;
627  }
629  GetArena());
630  // @@protoc_insertion_point(field_set_allocated:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.IMEIToModemID.imei)
631 }
632 inline std::string* RockBLOCKSimulatorConfig_IMEIToModemID::unsafe_arena_release_imei() {
633  // @@protoc_insertion_point(field_unsafe_arena_release:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.IMEIToModemID.imei)
634  GOOGLE_DCHECK(GetArena() != nullptr);
635  _has_bits_[0] &= ~0x00000001u;
636  return imei_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
637  GetArena());
638 }
639 inline void RockBLOCKSimulatorConfig_IMEIToModemID::unsafe_arena_set_allocated_imei(
640  std::string* imei) {
641  GOOGLE_DCHECK(GetArena() != nullptr);
642  if (imei != nullptr) {
643  _has_bits_[0] |= 0x00000001u;
644  } else {
645  _has_bits_[0] &= ~0x00000001u;
646  }
647  imei_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
648  imei, GetArena());
649  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.IMEIToModemID.imei)
650 }
651 
652 // required uint32 modem_id = 2;
653 inline bool RockBLOCKSimulatorConfig_IMEIToModemID::_internal_has_modem_id() const {
654  bool value = (_has_bits_[0] & 0x00000004u) != 0;
655  return value;
656 }
657 inline bool RockBLOCKSimulatorConfig_IMEIToModemID::has_modem_id() const {
658  return _internal_has_modem_id();
659 }
660 inline void RockBLOCKSimulatorConfig_IMEIToModemID::clear_modem_id() {
661  modem_id_ = 0u;
662  _has_bits_[0] &= ~0x00000004u;
663 }
664 inline ::PROTOBUF_NAMESPACE_ID::uint32 RockBLOCKSimulatorConfig_IMEIToModemID::_internal_modem_id() const {
665  return modem_id_;
666 }
667 inline ::PROTOBUF_NAMESPACE_ID::uint32 RockBLOCKSimulatorConfig_IMEIToModemID::modem_id() const {
668  // @@protoc_insertion_point(field_get:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.IMEIToModemID.modem_id)
669  return _internal_modem_id();
670 }
671 inline void RockBLOCKSimulatorConfig_IMEIToModemID::_internal_set_modem_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
672  _has_bits_[0] |= 0x00000004u;
673  modem_id_ = value;
674 }
675 inline void RockBLOCKSimulatorConfig_IMEIToModemID::set_modem_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
676  _internal_set_modem_id(value);
677  // @@protoc_insertion_point(field_set:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.IMEIToModemID.modem_id)
678 }
679 
680 // required .goby.middleware.protobuf.PTYConfig pty = 3;
681 inline bool RockBLOCKSimulatorConfig_IMEIToModemID::_internal_has_pty() const {
682  bool value = (_has_bits_[0] & 0x00000002u) != 0;
683  PROTOBUF_ASSUME(!value || pty_ != nullptr);
684  return value;
685 }
686 inline bool RockBLOCKSimulatorConfig_IMEIToModemID::has_pty() const {
687  return _internal_has_pty();
688 }
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*>(
693 }
694 inline const ::goby::middleware::protobuf::PTYConfig& RockBLOCKSimulatorConfig_IMEIToModemID::pty() const {
695  // @@protoc_insertion_point(field_get:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.IMEIToModemID.pty)
696  return _internal_pty();
697 }
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_);
702  }
703  pty_ = pty;
704  if (pty) {
705  _has_bits_[0] |= 0x00000002u;
706  } else {
707  _has_bits_[0] &= ~0x00000002u;
708  }
709  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.IMEIToModemID.pty)
710 }
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);
715  }
716  return temp;
717 }
718 inline ::goby::middleware::protobuf::PTYConfig* RockBLOCKSimulatorConfig_IMEIToModemID::unsafe_arena_release_pty() {
719  // @@protoc_insertion_point(field_release:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.IMEIToModemID.pty)
720  _has_bits_[0] &= ~0x00000002u;
721  ::goby::middleware::protobuf::PTYConfig* temp = pty_;
722  pty_ = nullptr;
723  return temp;
724 }
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());
729  pty_ = p;
730  }
731  return pty_;
732 }
733 inline ::goby::middleware::protobuf::PTYConfig* RockBLOCKSimulatorConfig_IMEIToModemID::mutable_pty() {
734  // @@protoc_insertion_point(field_mutable:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.IMEIToModemID.pty)
735  return _internal_mutable_pty();
736 }
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_);
741  }
742  if (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);
748  }
749  _has_bits_[0] |= 0x00000002u;
750  } else {
751  _has_bits_[0] &= ~0x00000002u;
752  }
753  pty_ = pty;
754  // @@protoc_insertion_point(field_set_allocated:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.IMEIToModemID.pty)
755 }
756 
757 // -------------------------------------------------------------------
758 
759 // RockBLOCKSimulatorConfig
760 
761 // optional .goby.middleware.protobuf.AppConfig app = 1;
762 inline bool RockBLOCKSimulatorConfig::_internal_has_app() const {
763  bool value = (_has_bits_[0] & 0x00000004u) != 0;
764  PROTOBUF_ASSUME(!value || app_ != nullptr);
765  return value;
766 }
767 inline bool RockBLOCKSimulatorConfig::has_app() const {
768  return _internal_has_app();
769 }
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*>(
774 }
775 inline const ::goby::middleware::protobuf::AppConfig& RockBLOCKSimulatorConfig::app() const {
776  // @@protoc_insertion_point(field_get:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.app)
777  return _internal_app();
778 }
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_);
783  }
784  app_ = app;
785  if (app) {
786  _has_bits_[0] |= 0x00000004u;
787  } else {
788  _has_bits_[0] &= ~0x00000004u;
789  }
790  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.app)
791 }
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);
796  }
797  return temp;
798 }
799 inline ::goby::middleware::protobuf::AppConfig* RockBLOCKSimulatorConfig::unsafe_arena_release_app() {
800  // @@protoc_insertion_point(field_release:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.app)
801  _has_bits_[0] &= ~0x00000004u;
802  ::goby::middleware::protobuf::AppConfig* temp = app_;
803  app_ = nullptr;
804  return temp;
805 }
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());
810  app_ = p;
811  }
812  return app_;
813 }
814 inline ::goby::middleware::protobuf::AppConfig* RockBLOCKSimulatorConfig::mutable_app() {
815  // @@protoc_insertion_point(field_mutable:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.app)
816  return _internal_mutable_app();
817 }
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_);
822  }
823  if (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);
829  }
830  _has_bits_[0] |= 0x00000004u;
831  } else {
832  _has_bits_[0] &= ~0x00000004u;
833  }
834  app_ = app;
835  // @@protoc_insertion_point(field_set_allocated:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.app)
836 }
837 
838 // repeated .goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.IMEIToModemID imei_to_id = 10;
839 inline int RockBLOCKSimulatorConfig::_internal_imei_to_id_size() const {
840  return imei_to_id_.size();
841 }
842 inline int RockBLOCKSimulatorConfig::imei_to_id_size() const {
843  return _internal_imei_to_id_size();
844 }
845 inline void RockBLOCKSimulatorConfig::clear_imei_to_id() {
846  imei_to_id_.Clear();
847 }
848 inline ::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig_IMEIToModemID* RockBLOCKSimulatorConfig::mutable_imei_to_id(int index) {
849  // @@protoc_insertion_point(field_mutable:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.imei_to_id)
850  return imei_to_id_.Mutable(index);
851 }
852 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig_IMEIToModemID >*
853 RockBLOCKSimulatorConfig::mutable_imei_to_id() {
854  // @@protoc_insertion_point(field_mutable_list:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.imei_to_id)
855  return &imei_to_id_;
856 }
857 inline const ::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig_IMEIToModemID& RockBLOCKSimulatorConfig::_internal_imei_to_id(int index) const {
858  return imei_to_id_.Get(index);
859 }
860 inline const ::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig_IMEIToModemID& RockBLOCKSimulatorConfig::imei_to_id(int index) const {
861  // @@protoc_insertion_point(field_get:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.imei_to_id)
862  return _internal_imei_to_id(index);
863 }
864 inline ::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig_IMEIToModemID* RockBLOCKSimulatorConfig::_internal_add_imei_to_id() {
865  return imei_to_id_.Add();
866 }
867 inline ::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig_IMEIToModemID* RockBLOCKSimulatorConfig::add_imei_to_id() {
868  // @@protoc_insertion_point(field_add:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.imei_to_id)
869  return _internal_add_imei_to_id();
870 }
871 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig_IMEIToModemID >&
872 RockBLOCKSimulatorConfig::imei_to_id() const {
873  // @@protoc_insertion_point(field_list:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.imei_to_id)
874  return imei_to_id_;
875 }
876 
877 // required string mo_http_server = 11;
878 inline bool RockBLOCKSimulatorConfig::_internal_has_mo_http_server() const {
879  bool value = (_has_bits_[0] & 0x00000001u) != 0;
880  return value;
881 }
882 inline bool RockBLOCKSimulatorConfig::has_mo_http_server() const {
883  return _internal_has_mo_http_server();
884 }
885 inline void RockBLOCKSimulatorConfig::clear_mo_http_server() {
886  mo_http_server_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
887  _has_bits_[0] &= ~0x00000001u;
888 }
889 inline const std::string& RockBLOCKSimulatorConfig::mo_http_server() const {
890  // @@protoc_insertion_point(field_get:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.mo_http_server)
891  return _internal_mo_http_server();
892 }
893 inline void RockBLOCKSimulatorConfig::set_mo_http_server(const std::string& value) {
894  _internal_set_mo_http_server(value);
895  // @@protoc_insertion_point(field_set:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.mo_http_server)
896 }
897 inline std::string* RockBLOCKSimulatorConfig::mutable_mo_http_server() {
898  // @@protoc_insertion_point(field_mutable:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.mo_http_server)
899  return _internal_mutable_mo_http_server();
900 }
901 inline const std::string& RockBLOCKSimulatorConfig::_internal_mo_http_server() const {
902  return mo_http_server_.Get();
903 }
904 inline void RockBLOCKSimulatorConfig::_internal_set_mo_http_server(const std::string& value) {
905  _has_bits_[0] |= 0x00000001u;
906  mo_http_server_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
907 }
908 inline void RockBLOCKSimulatorConfig::set_mo_http_server(std::string&& value) {
909  _has_bits_[0] |= 0x00000001u;
910  mo_http_server_.Set(
911  &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
912  // @@protoc_insertion_point(field_set_rvalue:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.mo_http_server)
913 }
914 inline void RockBLOCKSimulatorConfig::set_mo_http_server(const char* value) {
915  GOOGLE_DCHECK(value != nullptr);
916  _has_bits_[0] |= 0x00000001u;
917  mo_http_server_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
918  GetArena());
919  // @@protoc_insertion_point(field_set_char:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.mo_http_server)
920 }
921 inline void RockBLOCKSimulatorConfig::set_mo_http_server(const char* value,
922  size_t size) {
923  _has_bits_[0] |= 0x00000001u;
924  mo_http_server_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
925  reinterpret_cast<const char*>(value), size), GetArena());
926  // @@protoc_insertion_point(field_set_pointer:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.mo_http_server)
927 }
928 inline std::string* RockBLOCKSimulatorConfig::_internal_mutable_mo_http_server() {
929  _has_bits_[0] |= 0x00000001u;
930  return mo_http_server_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
931 }
932 inline std::string* RockBLOCKSimulatorConfig::release_mo_http_server() {
933  // @@protoc_insertion_point(field_release:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.mo_http_server)
934  if (!_internal_has_mo_http_server()) {
935  return nullptr;
936  }
937  _has_bits_[0] &= ~0x00000001u;
938  return mo_http_server_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
939 }
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;
943  } else {
944  _has_bits_[0] &= ~0x00000001u;
945  }
946  mo_http_server_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), mo_http_server,
947  GetArena());
948  // @@protoc_insertion_point(field_set_allocated:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.mo_http_server)
949 }
950 inline std::string* RockBLOCKSimulatorConfig::unsafe_arena_release_mo_http_server() {
951  // @@protoc_insertion_point(field_unsafe_arena_release:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.mo_http_server)
952  GOOGLE_DCHECK(GetArena() != nullptr);
953  _has_bits_[0] &= ~0x00000001u;
954  return mo_http_server_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
955  GetArena());
956 }
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;
962  } else {
963  _has_bits_[0] &= ~0x00000001u;
964  }
965  mo_http_server_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
966  mo_http_server, GetArena());
967  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.mo_http_server)
968 }
969 
970 // optional string mo_http_endpoint = 12 [default = "/"];
971 inline bool RockBLOCKSimulatorConfig::_internal_has_mo_http_endpoint() const {
972  bool value = (_has_bits_[0] & 0x00000002u) != 0;
973  return value;
974 }
975 inline bool RockBLOCKSimulatorConfig::has_mo_http_endpoint() const {
976  return _internal_has_mo_http_endpoint();
977 }
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;
981 }
982 inline const std::string& RockBLOCKSimulatorConfig::mo_http_endpoint() const {
983  // @@protoc_insertion_point(field_get:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.mo_http_endpoint)
984  return _internal_mo_http_endpoint();
985 }
986 inline void RockBLOCKSimulatorConfig::set_mo_http_endpoint(const std::string& value) {
987  _internal_set_mo_http_endpoint(value);
988  // @@protoc_insertion_point(field_set:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.mo_http_endpoint)
989 }
990 inline std::string* RockBLOCKSimulatorConfig::mutable_mo_http_endpoint() {
991  // @@protoc_insertion_point(field_mutable:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.mo_http_endpoint)
992  return _internal_mutable_mo_http_endpoint();
993 }
994 inline const std::string& RockBLOCKSimulatorConfig::_internal_mo_http_endpoint() const {
995  return mo_http_endpoint_.Get();
996 }
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());
1000 }
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());
1005  // @@protoc_insertion_point(field_set_rvalue:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.mo_http_endpoint)
1006 }
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),
1011  GetArena());
1012  // @@protoc_insertion_point(field_set_char:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.mo_http_endpoint)
1013 }
1014 inline void RockBLOCKSimulatorConfig::set_mo_http_endpoint(const char* value,
1015  size_t size) {
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());
1019  // @@protoc_insertion_point(field_set_pointer:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.mo_http_endpoint)
1020 }
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());
1024 }
1025 inline std::string* RockBLOCKSimulatorConfig::release_mo_http_endpoint() {
1026  // @@protoc_insertion_point(field_release:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.mo_http_endpoint)
1027  if (!_internal_has_mo_http_endpoint()) {
1028  return nullptr;
1029  }
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());
1032 }
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;
1036  } else {
1037  _has_bits_[0] &= ~0x00000002u;
1038  }
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,
1040  GetArena());
1041  // @@protoc_insertion_point(field_set_allocated:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.mo_http_endpoint)
1042 }
1043 inline std::string* RockBLOCKSimulatorConfig::unsafe_arena_release_mo_http_endpoint() {
1044  // @@protoc_insertion_point(field_unsafe_arena_release:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.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(),
1048  GetArena());
1049 }
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;
1055  } else {
1056  _has_bits_[0] &= ~0x00000002u;
1057  }
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());
1060  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.mo_http_endpoint)
1061 }
1062 
1063 // required uint32 mt_http_server_port = 13 [default = 8081];
1064 inline bool RockBLOCKSimulatorConfig::_internal_has_mt_http_server_port() const {
1065  bool value = (_has_bits_[0] & 0x00000008u) != 0;
1066  return value;
1067 }
1068 inline bool RockBLOCKSimulatorConfig::has_mt_http_server_port() const {
1069  return _internal_has_mt_http_server_port();
1070 }
1071 inline void RockBLOCKSimulatorConfig::clear_mt_http_server_port() {
1072  mt_http_server_port_ = 8081u;
1073  _has_bits_[0] &= ~0x00000008u;
1074 }
1075 inline ::PROTOBUF_NAMESPACE_ID::uint32 RockBLOCKSimulatorConfig::_internal_mt_http_server_port() const {
1076  return mt_http_server_port_;
1077 }
1078 inline ::PROTOBUF_NAMESPACE_ID::uint32 RockBLOCKSimulatorConfig::mt_http_server_port() const {
1079  // @@protoc_insertion_point(field_get:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.mt_http_server_port)
1080  return _internal_mt_http_server_port();
1081 }
1082 inline void RockBLOCKSimulatorConfig::_internal_set_mt_http_server_port(::PROTOBUF_NAMESPACE_ID::uint32 value) {
1083  _has_bits_[0] |= 0x00000008u;
1084  mt_http_server_port_ = value;
1085 }
1086 inline void RockBLOCKSimulatorConfig::set_mt_http_server_port(::PROTOBUF_NAMESPACE_ID::uint32 value) {
1087  _internal_set_mt_http_server_port(value);
1088  // @@protoc_insertion_point(field_set:goby.apps.acomms.protobuf.RockBLOCKSimulatorConfig.mt_http_server_port)
1089 }
1090 
1091 #ifdef __GNUC__
1092  #pragma GCC diagnostic pop
1093 #endif // __GNUC__
1094 // -------------------------------------------------------------------
1095 
1096 
1097 // @@protoc_insertion_point(namespace_scope)
1098 
1099 } // namespace protobuf
1100 } // namespace acomms
1101 } // namespace apps
1102 } // namespace goby
1103 
1104 // @@protoc_insertion_point(global_scope)
1105 
1106 #include <google/protobuf/port_undef.inc>
1107 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2frockblock_5fsimulator_5fconfig_2eproto
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
void set_mo_http_server(std::string &&value)
static const RockBLOCKSimulatorConfig & default_instance()
void MergeFrom(const RockBLOCKSimulatorConfig &from)
void UnsafeArenaSwap(RockBLOCKSimulatorConfig_IMEIToModemID *other)
RockBLOCKSimulatorConfig_IMEIToModemID & operator=(RockBLOCKSimulatorConfig_IMEIToModemID &&from) noexcept
RockBLOCKSimulatorConfig_IMEIToModemID(::PROTOBUF_NAMESPACE_ID::Arena *arena)
static const RockBLOCKSimulatorConfig_IMEIToModemID * internal_default_instance()
void UnsafeArenaSwap(RockBLOCKSimulatorConfig *other)
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)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
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
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)
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()
friend void swap(RockBLOCKSimulatorConfig &a, RockBLOCKSimulatorConfig &b)
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::apps::acomms::protobuf::RockBLOCKSimulatorConfig_IMEIToModemID > * mutable_imei_to_id()
RockBLOCKSimulatorConfig_IMEIToModemID & operator=(const RockBLOCKSimulatorConfig_IMEIToModemID &from)
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()
void set_mo_http_server(const char *value, size_t size)
@ value
the parser finished reading a JSON value
auto get(const nlohmann::detail::iteration_proxy_value< IteratorType > &i) -> decltype(i.key())
Definition: json.hpp:5271
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.
std::uint32_t uint32
PROTOBUF_EXPORT const std::string & GetEmptyStringAlreadyInited()
Definition: message_lite.h:154
#define ByteSizeLong
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::internal::ParseTable schema[2] PROTOBUF_SECTION_VARIABLE(protodesc_cold)