Goby3  3.1.5
2024.05.14
geov_config.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: goby/zeromq/protobuf/geov_config.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2fgeov_5fconfig_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2fgeov_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 "dccl/option_extensions.pb.h"
39 #include <boost/units/quantity.hpp>
40 #include <boost/units/absolute.hpp>
41 #include <boost/units/dimensionless_type.hpp>
42 #include <boost/units/make_scaled_unit.hpp>
43 
44 #include <boost/units/systems/si.hpp>
45 // @@protoc_insertion_point(includes)
46 #include <google/protobuf/port_def.inc>
47 #define PROTOBUF_INTERNAL_EXPORT_goby_2fzeromq_2fprotobuf_2fgeov_5fconfig_2eproto
48 PROTOBUF_NAMESPACE_OPEN
49 namespace internal {
50 class AnyMetadata;
51 } // namespace internal
52 PROTOBUF_NAMESPACE_CLOSE
53 
54 // Internal implementation detail -- do not use these members.
56  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
57  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
58  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
59  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
60  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
61  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
62  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
63  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
65 };
66 extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fzeromq_2fprotobuf_2fgeov_5fconfig_2eproto;
67 namespace goby {
68 namespace apps {
69 namespace zeromq {
70 namespace protobuf {
71 class GEOVInterfaceConfig;
72 class GEOVInterfaceConfigDefaultTypeInternal;
73 extern GEOVInterfaceConfigDefaultTypeInternal _GEOVInterfaceConfig_default_instance_;
74 } // namespace protobuf
75 } // namespace zeromq
76 } // namespace apps
77 } // namespace goby
78 PROTOBUF_NAMESPACE_OPEN
79 template<> ::goby::apps::zeromq::protobuf::GEOVInterfaceConfig* Arena::CreateMaybeMessage<::goby::apps::zeromq::protobuf::GEOVInterfaceConfig>(Arena*);
80 PROTOBUF_NAMESPACE_CLOSE
81 namespace goby {
82 namespace apps {
83 namespace zeromq {
84 namespace protobuf {
85 
86 // ===================================================================
87 
88 class GEOVInterfaceConfig PROTOBUF_FINAL :
89  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.apps.zeromq.protobuf.GEOVInterfaceConfig) */ {
90  public:
91  inline GEOVInterfaceConfig() : GEOVInterfaceConfig(nullptr) {};
93 
94  GEOVInterfaceConfig(const GEOVInterfaceConfig& from);
95  GEOVInterfaceConfig(GEOVInterfaceConfig&& from) noexcept
96  : GEOVInterfaceConfig() {
97  *this = ::std::move(from);
98  }
99 
100  inline GEOVInterfaceConfig& operator=(const GEOVInterfaceConfig& from) {
101  CopyFrom(from);
102  return *this;
103  }
104  inline GEOVInterfaceConfig& operator=(GEOVInterfaceConfig&& 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 GEOVInterfaceConfig& default_instance();
130 
131  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
132  static inline const GEOVInterfaceConfig* internal_default_instance() {
133  return reinterpret_cast<const GEOVInterfaceConfig*>(
135  }
136  static constexpr int kIndexInFileMessages =
137  0;
138 
139  friend void swap(GEOVInterfaceConfig& a, GEOVInterfaceConfig& b) {
140  a.Swap(&b);
141  }
142  inline void Swap(GEOVInterfaceConfig* 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(GEOVInterfaceConfig* other) {
151  if (other == this) return;
152  GOOGLE_DCHECK(GetArena() == other->GetArena());
153  InternalSwap(other);
154  }
155 
156  // implements Message ----------------------------------------------
157 
158  inline GEOVInterfaceConfig* New() const final {
159  return CreateMaybeMessage<GEOVInterfaceConfig>(nullptr);
160  }
161 
162  GEOVInterfaceConfig* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
163  return CreateMaybeMessage<GEOVInterfaceConfig>(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 GEOVInterfaceConfig& from);
168  void MergeFrom(const GEOVInterfaceConfig& 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(GEOVInterfaceConfig* other);
183  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
184  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
185  return "goby.apps.zeromq.protobuf.GEOVInterfaceConfig";
186  }
187  protected:
188  explicit GEOVInterfaceConfig(::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_2fzeromq_2fprotobuf_2fgeov_5fconfig_2eproto);
198  return ::descriptor_table_goby_2fzeromq_2fprotobuf_2fgeov_5fconfig_2eproto.file_level_metadata[kIndexInFileMessages];
199  }
200 
201  public:
202 
203  // nested types ----------------------------------------------------
204 
205  // accessors -------------------------------------------------------
206 
207  enum : int {
208  kMysqlHostFieldNumber = 4,
209  kMysqlUserFieldNumber = 5,
210  kMysqlPasswordFieldNumber = 6,
211  kMysqlCoreDbNameFieldNumber = 8,
212  kAppFieldNumber = 1,
213  kInterprocessFieldNumber = 2,
214  kSimulationFieldNumber = 3,
215  kMysqlPortFieldNumber = 7,
216  kPositionReportIntervalFieldNumber = 12,
217  };
218  // required string mysql_host = 4 [(.goby.field) = {
219  bool has_mysql_host() const;
220  private:
221  bool _internal_has_mysql_host() const;
222  public:
224  const std::string& mysql_host() const;
225  void set_mysql_host(const std::string& value);
226  void set_mysql_host(std::string&& value);
227  void set_mysql_host(const char* value);
228  void set_mysql_host(const char* value, size_t size);
229  std::string* mutable_mysql_host();
230  std::string* release_mysql_host();
231  void set_allocated_mysql_host(std::string* mysql_host);
232  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
233  " string fields are deprecated and will be removed in a"
234  " future release.")
235  std::string* unsafe_arena_release_mysql_host();
236  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
237  " string fields are deprecated and will be removed in a"
238  " future release.")
239  void unsafe_arena_set_allocated_mysql_host(
240  std::string* mysql_host);
241  private:
242  const std::string& _internal_mysql_host() const;
243  void _internal_set_mysql_host(const std::string& value);
244  std::string* _internal_mutable_mysql_host();
245  public:
246 
247  // required string mysql_user = 5 [(.goby.field) = {
248  bool has_mysql_user() const;
249  private:
250  bool _internal_has_mysql_user() const;
251  public:
252  void clear_mysql_user();
253  const std::string& mysql_user() const;
254  void set_mysql_user(const std::string& value);
255  void set_mysql_user(std::string&& value);
256  void set_mysql_user(const char* value);
257  void set_mysql_user(const char* value, size_t size);
258  std::string* mutable_mysql_user();
259  std::string* release_mysql_user();
260  void set_allocated_mysql_user(std::string* mysql_user);
261  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
262  " string fields are deprecated and will be removed in a"
263  " future release.")
264  std::string* unsafe_arena_release_mysql_user();
265  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
266  " string fields are deprecated and will be removed in a"
267  " future release.")
268  void unsafe_arena_set_allocated_mysql_user(
269  std::string* mysql_user);
270  private:
271  const std::string& _internal_mysql_user() const;
272  void _internal_set_mysql_user(const std::string& value);
273  std::string* _internal_mutable_mysql_user();
274  public:
275 
276  // required string mysql_password = 6 [(.goby.field) = {
277  bool has_mysql_password() const;
278  private:
279  bool _internal_has_mysql_password() const;
280  public:
281  void clear_mysql_password();
282  const std::string& mysql_password() const;
283  void set_mysql_password(const std::string& value);
284  void set_mysql_password(std::string&& value);
285  void set_mysql_password(const char* value);
286  void set_mysql_password(const char* value, size_t size);
287  std::string* mutable_mysql_password();
288  std::string* release_mysql_password();
289  void set_allocated_mysql_password(std::string* mysql_password);
290  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
291  " string fields are deprecated and will be removed in a"
292  " future release.")
293  std::string* unsafe_arena_release_mysql_password();
294  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
295  " string fields are deprecated and will be removed in a"
296  " future release.")
297  void unsafe_arena_set_allocated_mysql_password(
298  std::string* mysql_password);
299  private:
300  const std::string& _internal_mysql_password() const;
301  void _internal_set_mysql_password(const std::string& value);
302  std::string* _internal_mutable_mysql_password();
303  public:
304 
305  // optional string mysql_core_db_name = 8 [default = "geov_core", (.goby.field) = {
306  bool has_mysql_core_db_name() const;
307  private:
308  bool _internal_has_mysql_core_db_name() const;
309  public:
310  void clear_mysql_core_db_name();
311  const std::string& mysql_core_db_name() const;
312  void set_mysql_core_db_name(const std::string& value);
313  void set_mysql_core_db_name(std::string&& value);
314  void set_mysql_core_db_name(const char* value);
315  void set_mysql_core_db_name(const char* value, size_t size);
316  std::string* mutable_mysql_core_db_name();
317  std::string* release_mysql_core_db_name();
318  void set_allocated_mysql_core_db_name(std::string* mysql_core_db_name);
319  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
320  " string fields are deprecated and will be removed in a"
321  " future release.")
322  std::string* unsafe_arena_release_mysql_core_db_name();
323  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
324  " string fields are deprecated and will be removed in a"
325  " future release.")
326  void unsafe_arena_set_allocated_mysql_core_db_name(
327  std::string* mysql_core_db_name);
328  private:
329  const std::string& _internal_mysql_core_db_name() const;
330  void _internal_set_mysql_core_db_name(const std::string& value);
331  std::string* _internal_mutable_mysql_core_db_name();
332  public:
333 
334  // optional .goby.middleware.protobuf.AppConfig app = 1;
335  bool has_app() const;
336  private:
337  bool _internal_has_app() const;
338  public:
339  void clear_app();
340  const ::goby::middleware::protobuf::AppConfig& app() const;
341  ::goby::middleware::protobuf::AppConfig* release_app();
342  ::goby::middleware::protobuf::AppConfig* mutable_app();
343  void set_allocated_app(::goby::middleware::protobuf::AppConfig* app);
344  private:
345  const ::goby::middleware::protobuf::AppConfig& _internal_app() const;
346  ::goby::middleware::protobuf::AppConfig* _internal_mutable_app();
347  public:
348  void unsafe_arena_set_allocated_app(
349  ::goby::middleware::protobuf::AppConfig* app);
350  ::goby::middleware::protobuf::AppConfig* unsafe_arena_release_app();
351 
352  // optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2 [(.goby.field) = {
353  bool has_interprocess() const;
354  private:
355  bool _internal_has_interprocess() const;
356  public:
357  void clear_interprocess();
358  const ::goby::zeromq::protobuf::InterProcessPortalConfig& interprocess() const;
359  ::goby::zeromq::protobuf::InterProcessPortalConfig* release_interprocess();
360  ::goby::zeromq::protobuf::InterProcessPortalConfig* mutable_interprocess();
361  void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
362  private:
363  const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess() const;
364  ::goby::zeromq::protobuf::InterProcessPortalConfig* _internal_mutable_interprocess();
365  public:
366  void unsafe_arena_set_allocated_interprocess(
367  ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
368  ::goby::zeromq::protobuf::InterProcessPortalConfig* unsafe_arena_release_interprocess();
369 
370  // optional bool simulation = 3 [default = false, (.goby.field) = {
371  bool has_simulation() const;
372  private:
373  bool _internal_has_simulation() const;
374  public:
375  void clear_simulation();
376  bool simulation() const;
377  void set_simulation(bool value);
378  private:
379  bool _internal_simulation() const;
380  void _internal_set_simulation(bool value);
381  public:
382 
383  // optional int32 mysql_port = 7 [default = 3306, (.goby.field) = {
384  bool has_mysql_port() const;
385  private:
386  bool _internal_has_mysql_port() const;
387  public:
388  void clear_mysql_port();
389  ::PROTOBUF_NAMESPACE_ID::int32 mysql_port() const;
390  void set_mysql_port(::PROTOBUF_NAMESPACE_ID::int32 value);
391  private:
392  ::PROTOBUF_NAMESPACE_ID::int32 _internal_mysql_port() const;
393  void _internal_set_mysql_port(::PROTOBUF_NAMESPACE_ID::int32 value);
394  public:
395 
396  // optional double position_report_interval = 12 [default = 1, (.dccl.field) = {
397  bool has_position_report_interval() const;
398  private:
399  bool _internal_has_position_report_interval() const;
400  public:
401  void clear_position_report_interval();
402  double position_report_interval() const;
403  void set_position_report_interval(double value);
404  private:
405  double _internal_position_report_interval() const;
406  void _internal_set_position_report_interval(double value);
407  public:
408 
409  typedef boost::units::derived_dimension< boost::units::time_base_dimension,1 >::type position_report_interval_dimension;
410 
412 
413  template<typename Quantity >
414  void set_position_report_interval_with_units(Quantity value_w_units)
415  { set_position_report_interval(boost::units::quantity<position_report_interval_unit,double >(value_w_units).value() ); };
416 
417  template<typename Quantity >
419  { return Quantity(position_report_interval() * position_report_interval_unit()); };
420 
421  boost::units::quantity< position_report_interval_unit,double > position_report_interval_with_units() const
422  { return position_report_interval_with_units<boost::units::quantity< position_report_interval_unit,double > >(); };
423 
424  // @@protoc_insertion_point(class_scope:goby.apps.zeromq.protobuf.GEOVInterfaceConfig)
425  private:
426  class _Internal;
427 
428  // helper for ByteSizeLong()
429  size_t RequiredFieldsByteSizeFallback() const;
430 
431  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
432  typedef void InternalArenaConstructable_;
433  typedef void DestructorSkippable_;
434  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
435  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
436  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mysql_host_;
437  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mysql_user_;
438  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mysql_password_;
439  public:
440  static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<std::string> _i_give_permission_to_break_this_code_default_mysql_core_db_name_;
441  private:
442  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mysql_core_db_name_;
443  ::goby::middleware::protobuf::AppConfig* app_;
444  ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess_;
445  bool simulation_;
446  ::PROTOBUF_NAMESPACE_ID::int32 mysql_port_;
447  double position_report_interval_;
448  friend struct ::TableStruct_goby_2fzeromq_2fprotobuf_2fgeov_5fconfig_2eproto;
449 };
450 // ===================================================================
451 
452 
453 // ===================================================================
454 
455 #ifdef __GNUC__
456  #pragma GCC diagnostic push
457  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
458 #endif // __GNUC__
459 // GEOVInterfaceConfig
460 
461 // optional .goby.middleware.protobuf.AppConfig app = 1;
462 inline bool GEOVInterfaceConfig::_internal_has_app() const {
463  bool value = (_has_bits_[0] & 0x00000010u) != 0;
464  PROTOBUF_ASSUME(!value || app_ != nullptr);
465  return value;
466 }
467 inline bool GEOVInterfaceConfig::has_app() const {
468  return _internal_has_app();
469 }
470 inline const ::goby::middleware::protobuf::AppConfig& GEOVInterfaceConfig::_internal_app() const {
471  const ::goby::middleware::protobuf::AppConfig* p = app_;
472  return p != nullptr ? *p : *reinterpret_cast<const ::goby::middleware::protobuf::AppConfig*>(
474 }
475 inline const ::goby::middleware::protobuf::AppConfig& GEOVInterfaceConfig::app() const {
476  // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.app)
477  return _internal_app();
478 }
479 inline void GEOVInterfaceConfig::unsafe_arena_set_allocated_app(
480  ::goby::middleware::protobuf::AppConfig* app) {
481  if (GetArena() == nullptr) {
482  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(app_);
483  }
484  app_ = app;
485  if (app) {
486  _has_bits_[0] |= 0x00000010u;
487  } else {
488  _has_bits_[0] &= ~0x00000010u;
489  }
490  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.app)
491 }
492 inline ::goby::middleware::protobuf::AppConfig* GEOVInterfaceConfig::release_app() {
493  auto temp = unsafe_arena_release_app();
494  if (GetArena() != nullptr) {
495  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
496  }
497  return temp;
498 }
499 inline ::goby::middleware::protobuf::AppConfig* GEOVInterfaceConfig::unsafe_arena_release_app() {
500  // @@protoc_insertion_point(field_release:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.app)
501  _has_bits_[0] &= ~0x00000010u;
502  ::goby::middleware::protobuf::AppConfig* temp = app_;
503  app_ = nullptr;
504  return temp;
505 }
506 inline ::goby::middleware::protobuf::AppConfig* GEOVInterfaceConfig::_internal_mutable_app() {
507  _has_bits_[0] |= 0x00000010u;
508  if (app_ == nullptr) {
509  auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArena());
510  app_ = p;
511  }
512  return app_;
513 }
514 inline ::goby::middleware::protobuf::AppConfig* GEOVInterfaceConfig::mutable_app() {
515  // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.app)
516  return _internal_mutable_app();
517 }
518 inline void GEOVInterfaceConfig::set_allocated_app(::goby::middleware::protobuf::AppConfig* app) {
519  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
520  if (message_arena == nullptr) {
521  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(app_);
522  }
523  if (app) {
524  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
525  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(app)->GetArena();
526  if (message_arena != submessage_arena) {
527  app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
528  message_arena, app, submessage_arena);
529  }
530  _has_bits_[0] |= 0x00000010u;
531  } else {
532  _has_bits_[0] &= ~0x00000010u;
533  }
534  app_ = app;
535  // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.app)
536 }
537 
538 // optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2 [(.goby.field) = {
539 inline bool GEOVInterfaceConfig::_internal_has_interprocess() const {
540  bool value = (_has_bits_[0] & 0x00000020u) != 0;
541  PROTOBUF_ASSUME(!value || interprocess_ != nullptr);
542  return value;
543 }
544 inline bool GEOVInterfaceConfig::has_interprocess() const {
545  return _internal_has_interprocess();
546 }
547 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& GEOVInterfaceConfig::_internal_interprocess() const {
548  const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = interprocess_;
549  return p != nullptr ? *p : *reinterpret_cast<const ::goby::zeromq::protobuf::InterProcessPortalConfig*>(
551 }
552 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& GEOVInterfaceConfig::interprocess() const {
553  // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.interprocess)
554  return _internal_interprocess();
555 }
556 inline void GEOVInterfaceConfig::unsafe_arena_set_allocated_interprocess(
557  ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
558  if (GetArena() == nullptr) {
559  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(interprocess_);
560  }
561  interprocess_ = interprocess;
562  if (interprocess) {
563  _has_bits_[0] |= 0x00000020u;
564  } else {
565  _has_bits_[0] &= ~0x00000020u;
566  }
567  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.interprocess)
568 }
569 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* GEOVInterfaceConfig::release_interprocess() {
570  auto temp = unsafe_arena_release_interprocess();
571  if (GetArena() != nullptr) {
572  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
573  }
574  return temp;
575 }
576 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* GEOVInterfaceConfig::unsafe_arena_release_interprocess() {
577  // @@protoc_insertion_point(field_release:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.interprocess)
578  _has_bits_[0] &= ~0x00000020u;
579  ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = interprocess_;
580  interprocess_ = nullptr;
581  return temp;
582 }
583 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* GEOVInterfaceConfig::_internal_mutable_interprocess() {
584  _has_bits_[0] |= 0x00000020u;
585  if (interprocess_ == nullptr) {
586  auto* p = CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig>(GetArena());
587  interprocess_ = p;
588  }
589  return interprocess_;
590 }
591 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* GEOVInterfaceConfig::mutable_interprocess() {
592  // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.interprocess)
593  return _internal_mutable_interprocess();
594 }
595 inline void GEOVInterfaceConfig::set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
596  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
597  if (message_arena == nullptr) {
598  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(interprocess_);
599  }
600  if (interprocess) {
601  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
602  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(interprocess)->GetArena();
603  if (message_arena != submessage_arena) {
604  interprocess = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
605  message_arena, interprocess, submessage_arena);
606  }
607  _has_bits_[0] |= 0x00000020u;
608  } else {
609  _has_bits_[0] &= ~0x00000020u;
610  }
611  interprocess_ = interprocess;
612  // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.interprocess)
613 }
614 
615 // optional bool simulation = 3 [default = false, (.goby.field) = {
616 inline bool GEOVInterfaceConfig::_internal_has_simulation() const {
617  bool value = (_has_bits_[0] & 0x00000040u) != 0;
618  return value;
619 }
620 inline bool GEOVInterfaceConfig::has_simulation() const {
621  return _internal_has_simulation();
622 }
623 inline void GEOVInterfaceConfig::clear_simulation() {
624  simulation_ = false;
625  _has_bits_[0] &= ~0x00000040u;
626 }
627 inline bool GEOVInterfaceConfig::_internal_simulation() const {
628  return simulation_;
629 }
630 inline bool GEOVInterfaceConfig::simulation() const {
631  // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.simulation)
632  return _internal_simulation();
633 }
634 inline void GEOVInterfaceConfig::_internal_set_simulation(bool value) {
635  _has_bits_[0] |= 0x00000040u;
636  simulation_ = value;
637 }
638 inline void GEOVInterfaceConfig::set_simulation(bool value) {
639  _internal_set_simulation(value);
640  // @@protoc_insertion_point(field_set:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.simulation)
641 }
642 
643 // required string mysql_host = 4 [(.goby.field) = {
644 inline bool GEOVInterfaceConfig::_internal_has_mysql_host() const {
645  bool value = (_has_bits_[0] & 0x00000001u) != 0;
646  return value;
647 }
648 inline bool GEOVInterfaceConfig::has_mysql_host() const {
649  return _internal_has_mysql_host();
650 }
651 inline void GEOVInterfaceConfig::clear_mysql_host() {
652  mysql_host_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
653  _has_bits_[0] &= ~0x00000001u;
654 }
655 inline const std::string& GEOVInterfaceConfig::mysql_host() const {
656  // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_host)
657  return _internal_mysql_host();
658 }
659 inline void GEOVInterfaceConfig::set_mysql_host(const std::string& value) {
660  _internal_set_mysql_host(value);
661  // @@protoc_insertion_point(field_set:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_host)
662 }
663 inline std::string* GEOVInterfaceConfig::mutable_mysql_host() {
664  // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_host)
665  return _internal_mutable_mysql_host();
666 }
667 inline const std::string& GEOVInterfaceConfig::_internal_mysql_host() const {
668  return mysql_host_.Get();
669 }
670 inline void GEOVInterfaceConfig::_internal_set_mysql_host(const std::string& value) {
671  _has_bits_[0] |= 0x00000001u;
672  mysql_host_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
673 }
674 inline void GEOVInterfaceConfig::set_mysql_host(std::string&& value) {
675  _has_bits_[0] |= 0x00000001u;
676  mysql_host_.Set(
677  &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
678  // @@protoc_insertion_point(field_set_rvalue:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_host)
679 }
680 inline void GEOVInterfaceConfig::set_mysql_host(const char* value) {
681  GOOGLE_DCHECK(value != nullptr);
682  _has_bits_[0] |= 0x00000001u;
683  mysql_host_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
684  GetArena());
685  // @@protoc_insertion_point(field_set_char:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_host)
686 }
687 inline void GEOVInterfaceConfig::set_mysql_host(const char* value,
688  size_t size) {
689  _has_bits_[0] |= 0x00000001u;
690  mysql_host_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
691  reinterpret_cast<const char*>(value), size), GetArena());
692  // @@protoc_insertion_point(field_set_pointer:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_host)
693 }
694 inline std::string* GEOVInterfaceConfig::_internal_mutable_mysql_host() {
695  _has_bits_[0] |= 0x00000001u;
696  return mysql_host_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
697 }
698 inline std::string* GEOVInterfaceConfig::release_mysql_host() {
699  // @@protoc_insertion_point(field_release:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_host)
700  if (!_internal_has_mysql_host()) {
701  return nullptr;
702  }
703  _has_bits_[0] &= ~0x00000001u;
704  return mysql_host_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
705 }
706 inline void GEOVInterfaceConfig::set_allocated_mysql_host(std::string* mysql_host) {
707  if (mysql_host != nullptr) {
708  _has_bits_[0] |= 0x00000001u;
709  } else {
710  _has_bits_[0] &= ~0x00000001u;
711  }
712  mysql_host_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), mysql_host,
713  GetArena());
714  // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_host)
715 }
716 inline std::string* GEOVInterfaceConfig::unsafe_arena_release_mysql_host() {
717  // @@protoc_insertion_point(field_unsafe_arena_release:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_host)
718  GOOGLE_DCHECK(GetArena() != nullptr);
719  _has_bits_[0] &= ~0x00000001u;
720  return mysql_host_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
721  GetArena());
722 }
723 inline void GEOVInterfaceConfig::unsafe_arena_set_allocated_mysql_host(
724  std::string* mysql_host) {
725  GOOGLE_DCHECK(GetArena() != nullptr);
726  if (mysql_host != nullptr) {
727  _has_bits_[0] |= 0x00000001u;
728  } else {
729  _has_bits_[0] &= ~0x00000001u;
730  }
731  mysql_host_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
732  mysql_host, GetArena());
733  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_host)
734 }
735 
736 // required string mysql_user = 5 [(.goby.field) = {
737 inline bool GEOVInterfaceConfig::_internal_has_mysql_user() const {
738  bool value = (_has_bits_[0] & 0x00000002u) != 0;
739  return value;
740 }
741 inline bool GEOVInterfaceConfig::has_mysql_user() const {
742  return _internal_has_mysql_user();
743 }
744 inline void GEOVInterfaceConfig::clear_mysql_user() {
745  mysql_user_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
746  _has_bits_[0] &= ~0x00000002u;
747 }
748 inline const std::string& GEOVInterfaceConfig::mysql_user() const {
749  // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_user)
750  return _internal_mysql_user();
751 }
752 inline void GEOVInterfaceConfig::set_mysql_user(const std::string& value) {
753  _internal_set_mysql_user(value);
754  // @@protoc_insertion_point(field_set:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_user)
755 }
756 inline std::string* GEOVInterfaceConfig::mutable_mysql_user() {
757  // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_user)
758  return _internal_mutable_mysql_user();
759 }
760 inline const std::string& GEOVInterfaceConfig::_internal_mysql_user() const {
761  return mysql_user_.Get();
762 }
763 inline void GEOVInterfaceConfig::_internal_set_mysql_user(const std::string& value) {
764  _has_bits_[0] |= 0x00000002u;
765  mysql_user_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
766 }
767 inline void GEOVInterfaceConfig::set_mysql_user(std::string&& value) {
768  _has_bits_[0] |= 0x00000002u;
769  mysql_user_.Set(
770  &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
771  // @@protoc_insertion_point(field_set_rvalue:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_user)
772 }
773 inline void GEOVInterfaceConfig::set_mysql_user(const char* value) {
774  GOOGLE_DCHECK(value != nullptr);
775  _has_bits_[0] |= 0x00000002u;
776  mysql_user_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
777  GetArena());
778  // @@protoc_insertion_point(field_set_char:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_user)
779 }
780 inline void GEOVInterfaceConfig::set_mysql_user(const char* value,
781  size_t size) {
782  _has_bits_[0] |= 0x00000002u;
783  mysql_user_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
784  reinterpret_cast<const char*>(value), size), GetArena());
785  // @@protoc_insertion_point(field_set_pointer:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_user)
786 }
787 inline std::string* GEOVInterfaceConfig::_internal_mutable_mysql_user() {
788  _has_bits_[0] |= 0x00000002u;
789  return mysql_user_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
790 }
791 inline std::string* GEOVInterfaceConfig::release_mysql_user() {
792  // @@protoc_insertion_point(field_release:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_user)
793  if (!_internal_has_mysql_user()) {
794  return nullptr;
795  }
796  _has_bits_[0] &= ~0x00000002u;
797  return mysql_user_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
798 }
799 inline void GEOVInterfaceConfig::set_allocated_mysql_user(std::string* mysql_user) {
800  if (mysql_user != nullptr) {
801  _has_bits_[0] |= 0x00000002u;
802  } else {
803  _has_bits_[0] &= ~0x00000002u;
804  }
805  mysql_user_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), mysql_user,
806  GetArena());
807  // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_user)
808 }
809 inline std::string* GEOVInterfaceConfig::unsafe_arena_release_mysql_user() {
810  // @@protoc_insertion_point(field_unsafe_arena_release:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_user)
811  GOOGLE_DCHECK(GetArena() != nullptr);
812  _has_bits_[0] &= ~0x00000002u;
813  return mysql_user_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
814  GetArena());
815 }
816 inline void GEOVInterfaceConfig::unsafe_arena_set_allocated_mysql_user(
817  std::string* mysql_user) {
818  GOOGLE_DCHECK(GetArena() != nullptr);
819  if (mysql_user != nullptr) {
820  _has_bits_[0] |= 0x00000002u;
821  } else {
822  _has_bits_[0] &= ~0x00000002u;
823  }
824  mysql_user_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
825  mysql_user, GetArena());
826  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_user)
827 }
828 
829 // required string mysql_password = 6 [(.goby.field) = {
830 inline bool GEOVInterfaceConfig::_internal_has_mysql_password() const {
831  bool value = (_has_bits_[0] & 0x00000004u) != 0;
832  return value;
833 }
834 inline bool GEOVInterfaceConfig::has_mysql_password() const {
835  return _internal_has_mysql_password();
836 }
837 inline void GEOVInterfaceConfig::clear_mysql_password() {
838  mysql_password_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
839  _has_bits_[0] &= ~0x00000004u;
840 }
841 inline const std::string& GEOVInterfaceConfig::mysql_password() const {
842  // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_password)
843  return _internal_mysql_password();
844 }
845 inline void GEOVInterfaceConfig::set_mysql_password(const std::string& value) {
846  _internal_set_mysql_password(value);
847  // @@protoc_insertion_point(field_set:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_password)
848 }
849 inline std::string* GEOVInterfaceConfig::mutable_mysql_password() {
850  // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_password)
851  return _internal_mutable_mysql_password();
852 }
853 inline const std::string& GEOVInterfaceConfig::_internal_mysql_password() const {
854  return mysql_password_.Get();
855 }
856 inline void GEOVInterfaceConfig::_internal_set_mysql_password(const std::string& value) {
857  _has_bits_[0] |= 0x00000004u;
858  mysql_password_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
859 }
860 inline void GEOVInterfaceConfig::set_mysql_password(std::string&& value) {
861  _has_bits_[0] |= 0x00000004u;
862  mysql_password_.Set(
863  &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
864  // @@protoc_insertion_point(field_set_rvalue:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_password)
865 }
866 inline void GEOVInterfaceConfig::set_mysql_password(const char* value) {
867  GOOGLE_DCHECK(value != nullptr);
868  _has_bits_[0] |= 0x00000004u;
869  mysql_password_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
870  GetArena());
871  // @@protoc_insertion_point(field_set_char:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_password)
872 }
873 inline void GEOVInterfaceConfig::set_mysql_password(const char* value,
874  size_t size) {
875  _has_bits_[0] |= 0x00000004u;
876  mysql_password_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
877  reinterpret_cast<const char*>(value), size), GetArena());
878  // @@protoc_insertion_point(field_set_pointer:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_password)
879 }
880 inline std::string* GEOVInterfaceConfig::_internal_mutable_mysql_password() {
881  _has_bits_[0] |= 0x00000004u;
882  return mysql_password_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
883 }
884 inline std::string* GEOVInterfaceConfig::release_mysql_password() {
885  // @@protoc_insertion_point(field_release:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_password)
886  if (!_internal_has_mysql_password()) {
887  return nullptr;
888  }
889  _has_bits_[0] &= ~0x00000004u;
890  return mysql_password_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
891 }
892 inline void GEOVInterfaceConfig::set_allocated_mysql_password(std::string* mysql_password) {
893  if (mysql_password != nullptr) {
894  _has_bits_[0] |= 0x00000004u;
895  } else {
896  _has_bits_[0] &= ~0x00000004u;
897  }
898  mysql_password_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), mysql_password,
899  GetArena());
900  // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_password)
901 }
902 inline std::string* GEOVInterfaceConfig::unsafe_arena_release_mysql_password() {
903  // @@protoc_insertion_point(field_unsafe_arena_release:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_password)
904  GOOGLE_DCHECK(GetArena() != nullptr);
905  _has_bits_[0] &= ~0x00000004u;
906  return mysql_password_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
907  GetArena());
908 }
909 inline void GEOVInterfaceConfig::unsafe_arena_set_allocated_mysql_password(
910  std::string* mysql_password) {
911  GOOGLE_DCHECK(GetArena() != nullptr);
912  if (mysql_password != nullptr) {
913  _has_bits_[0] |= 0x00000004u;
914  } else {
915  _has_bits_[0] &= ~0x00000004u;
916  }
917  mysql_password_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
918  mysql_password, GetArena());
919  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_password)
920 }
921 
922 // optional int32 mysql_port = 7 [default = 3306, (.goby.field) = {
923 inline bool GEOVInterfaceConfig::_internal_has_mysql_port() const {
924  bool value = (_has_bits_[0] & 0x00000080u) != 0;
925  return value;
926 }
927 inline bool GEOVInterfaceConfig::has_mysql_port() const {
928  return _internal_has_mysql_port();
929 }
930 inline void GEOVInterfaceConfig::clear_mysql_port() {
931  mysql_port_ = 3306;
932  _has_bits_[0] &= ~0x00000080u;
933 }
934 inline ::PROTOBUF_NAMESPACE_ID::int32 GEOVInterfaceConfig::_internal_mysql_port() const {
935  return mysql_port_;
936 }
937 inline ::PROTOBUF_NAMESPACE_ID::int32 GEOVInterfaceConfig::mysql_port() const {
938  // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_port)
939  return _internal_mysql_port();
940 }
941 inline void GEOVInterfaceConfig::_internal_set_mysql_port(::PROTOBUF_NAMESPACE_ID::int32 value) {
942  _has_bits_[0] |= 0x00000080u;
943  mysql_port_ = value;
944 }
945 inline void GEOVInterfaceConfig::set_mysql_port(::PROTOBUF_NAMESPACE_ID::int32 value) {
946  _internal_set_mysql_port(value);
947  // @@protoc_insertion_point(field_set:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_port)
948 }
949 
950 // optional string mysql_core_db_name = 8 [default = "geov_core", (.goby.field) = {
951 inline bool GEOVInterfaceConfig::_internal_has_mysql_core_db_name() const {
952  bool value = (_has_bits_[0] & 0x00000008u) != 0;
953  return value;
954 }
955 inline bool GEOVInterfaceConfig::has_mysql_core_db_name() const {
956  return _internal_has_mysql_core_db_name();
957 }
958 inline void GEOVInterfaceConfig::clear_mysql_core_db_name() {
959  mysql_core_db_name_.ClearToDefault(&::goby::apps::zeromq::protobuf::GEOVInterfaceConfig::_i_give_permission_to_break_this_code_default_mysql_core_db_name_.get(), GetArena());
960  _has_bits_[0] &= ~0x00000008u;
961 }
962 inline const std::string& GEOVInterfaceConfig::mysql_core_db_name() const {
963  // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_core_db_name)
964  return _internal_mysql_core_db_name();
965 }
966 inline void GEOVInterfaceConfig::set_mysql_core_db_name(const std::string& value) {
967  _internal_set_mysql_core_db_name(value);
968  // @@protoc_insertion_point(field_set:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_core_db_name)
969 }
970 inline std::string* GEOVInterfaceConfig::mutable_mysql_core_db_name() {
971  // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_core_db_name)
972  return _internal_mutable_mysql_core_db_name();
973 }
974 inline const std::string& GEOVInterfaceConfig::_internal_mysql_core_db_name() const {
975  return mysql_core_db_name_.Get();
976 }
977 inline void GEOVInterfaceConfig::_internal_set_mysql_core_db_name(const std::string& value) {
978  _has_bits_[0] |= 0x00000008u;
979  mysql_core_db_name_.Set(&::goby::apps::zeromq::protobuf::GEOVInterfaceConfig::_i_give_permission_to_break_this_code_default_mysql_core_db_name_.get(), value, GetArena());
980 }
981 inline void GEOVInterfaceConfig::set_mysql_core_db_name(std::string&& value) {
982  _has_bits_[0] |= 0x00000008u;
983  mysql_core_db_name_.Set(
984  &::goby::apps::zeromq::protobuf::GEOVInterfaceConfig::_i_give_permission_to_break_this_code_default_mysql_core_db_name_.get(), ::std::move(value), GetArena());
985  // @@protoc_insertion_point(field_set_rvalue:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_core_db_name)
986 }
987 inline void GEOVInterfaceConfig::set_mysql_core_db_name(const char* value) {
988  GOOGLE_DCHECK(value != nullptr);
989  _has_bits_[0] |= 0x00000008u;
990  mysql_core_db_name_.Set(&::goby::apps::zeromq::protobuf::GEOVInterfaceConfig::_i_give_permission_to_break_this_code_default_mysql_core_db_name_.get(), ::std::string(value),
991  GetArena());
992  // @@protoc_insertion_point(field_set_char:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_core_db_name)
993 }
994 inline void GEOVInterfaceConfig::set_mysql_core_db_name(const char* value,
995  size_t size) {
996  _has_bits_[0] |= 0x00000008u;
997  mysql_core_db_name_.Set(&::goby::apps::zeromq::protobuf::GEOVInterfaceConfig::_i_give_permission_to_break_this_code_default_mysql_core_db_name_.get(), ::std::string(
998  reinterpret_cast<const char*>(value), size), GetArena());
999  // @@protoc_insertion_point(field_set_pointer:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_core_db_name)
1000 }
1001 inline std::string* GEOVInterfaceConfig::_internal_mutable_mysql_core_db_name() {
1002  _has_bits_[0] |= 0x00000008u;
1003  return mysql_core_db_name_.Mutable(&::goby::apps::zeromq::protobuf::GEOVInterfaceConfig::_i_give_permission_to_break_this_code_default_mysql_core_db_name_.get(), GetArena());
1004 }
1005 inline std::string* GEOVInterfaceConfig::release_mysql_core_db_name() {
1006  // @@protoc_insertion_point(field_release:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_core_db_name)
1007  if (!_internal_has_mysql_core_db_name()) {
1008  return nullptr;
1009  }
1010  _has_bits_[0] &= ~0x00000008u;
1011  return mysql_core_db_name_.ReleaseNonDefault(&::goby::apps::zeromq::protobuf::GEOVInterfaceConfig::_i_give_permission_to_break_this_code_default_mysql_core_db_name_.get(), GetArena());
1012 }
1013 inline void GEOVInterfaceConfig::set_allocated_mysql_core_db_name(std::string* mysql_core_db_name) {
1014  if (mysql_core_db_name != nullptr) {
1015  _has_bits_[0] |= 0x00000008u;
1016  } else {
1017  _has_bits_[0] &= ~0x00000008u;
1018  }
1019  mysql_core_db_name_.SetAllocated(&::goby::apps::zeromq::protobuf::GEOVInterfaceConfig::_i_give_permission_to_break_this_code_default_mysql_core_db_name_.get(), mysql_core_db_name,
1020  GetArena());
1021  // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_core_db_name)
1022 }
1023 inline std::string* GEOVInterfaceConfig::unsafe_arena_release_mysql_core_db_name() {
1024  // @@protoc_insertion_point(field_unsafe_arena_release:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_core_db_name)
1025  GOOGLE_DCHECK(GetArena() != nullptr);
1026  _has_bits_[0] &= ~0x00000008u;
1027  return mysql_core_db_name_.UnsafeArenaRelease(&::goby::apps::zeromq::protobuf::GEOVInterfaceConfig::_i_give_permission_to_break_this_code_default_mysql_core_db_name_.get(),
1028  GetArena());
1029 }
1030 inline void GEOVInterfaceConfig::unsafe_arena_set_allocated_mysql_core_db_name(
1031  std::string* mysql_core_db_name) {
1032  GOOGLE_DCHECK(GetArena() != nullptr);
1033  if (mysql_core_db_name != nullptr) {
1034  _has_bits_[0] |= 0x00000008u;
1035  } else {
1036  _has_bits_[0] &= ~0x00000008u;
1037  }
1038  mysql_core_db_name_.UnsafeArenaSetAllocated(&::goby::apps::zeromq::protobuf::GEOVInterfaceConfig::_i_give_permission_to_break_this_code_default_mysql_core_db_name_.get(),
1039  mysql_core_db_name, GetArena());
1040  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_core_db_name)
1041 }
1042 
1043 // optional double position_report_interval = 12 [default = 1, (.dccl.field) = {
1044 inline bool GEOVInterfaceConfig::_internal_has_position_report_interval() const {
1045  bool value = (_has_bits_[0] & 0x00000100u) != 0;
1046  return value;
1047 }
1048 inline bool GEOVInterfaceConfig::has_position_report_interval() const {
1049  return _internal_has_position_report_interval();
1050 }
1051 inline void GEOVInterfaceConfig::clear_position_report_interval() {
1052  position_report_interval_ = 1;
1053  _has_bits_[0] &= ~0x00000100u;
1054 }
1055 inline double GEOVInterfaceConfig::_internal_position_report_interval() const {
1056  return position_report_interval_;
1057 }
1058 inline double GEOVInterfaceConfig::position_report_interval() const {
1059  // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.position_report_interval)
1060  return _internal_position_report_interval();
1061 }
1062 inline void GEOVInterfaceConfig::_internal_set_position_report_interval(double value) {
1063  _has_bits_[0] |= 0x00000100u;
1064  position_report_interval_ = value;
1065 }
1066 inline void GEOVInterfaceConfig::set_position_report_interval(double value) {
1067  _internal_set_position_report_interval(value);
1068  // @@protoc_insertion_point(field_set:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.position_report_interval)
1069 }
1070 
1071 #ifdef __GNUC__
1072  #pragma GCC diagnostic pop
1073 #endif // __GNUC__
1074 
1075 // @@protoc_insertion_point(namespace_scope)
1076 
1077 } // namespace protobuf
1078 } // namespace zeromq
1079 } // namespace apps
1080 } // namespace goby
1081 
1082 // @@protoc_insertion_point(global_scope)
1083 
1084 #include <google/protobuf/port_undef.inc>
1085 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2fgeov_5fconfig_2eproto
GEOVInterfaceConfig * New() const final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
GEOVInterfaceConfig(GEOVInterfaceConfig &&from) noexcept
void UnsafeArenaSwap(GEOVInterfaceConfig *other)
GEOVInterfaceConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena)
static const GEOVInterfaceConfig & default_instance()
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
GEOVInterfaceConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed< std::string > _i_give_permission_to_break_this_code_default_mysql_core_db_name_
boost::units::derived_dimension< boost::units::time_base_dimension, 1 >::type position_report_interval_dimension
static const GEOVInterfaceConfig * internal_default_instance()
GEOVInterfaceConfig(const GEOVInterfaceConfig &from)
GEOVInterfaceConfig & operator=(const GEOVInterfaceConfig &from)
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
const std::string & mysql_host() const
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
GEOVInterfaceConfig & operator=(GEOVInterfaceConfig &&from) noexcept
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
boost::units::unit< position_report_interval_dimension, boost::units::si::system > position_report_interval_unit
void Swap(GEOVInterfaceConfig *other)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void set_mysql_host(std::string &&value)
void set_mysql_host(const std::string &value)
void CopyFrom(const GEOVInterfaceConfig &from)
void MergeFrom(const GEOVInterfaceConfig &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
friend void swap(GEOVInterfaceConfig &a, GEOVInterfaceConfig &b)
void set_mysql_host(const char *value, size_t size)
boost::units::quantity< position_report_interval_unit, double > position_report_interval_with_units() const
void set_allocated_mysql_host(std::string *mysql_host)
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fzeromq_2fprotobuf_2fgeov_5fconfig_2eproto
@ 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
GEOVInterfaceConfigDefaultTypeInternal _GEOVInterfaceConfig_default_instance_
AppConfigDefaultTypeInternal _AppConfig_default_instance_
boost::units::make_system< boost::units::angle::revolution_base_unit, boost::units::metric::minute_base_unit >::type system
Definition: system.hpp:45
InterProcessPortalConfigDefaultTypeInternal _InterProcessPortalConfig_default_instance_
The global namespace for the Goby project.
std::int32_t int32
std::uint32_t uint32
PROTOBUF_EXPORT const std::string & GetEmptyStringAlreadyInited()
Definition: message_lite.h:154
type
Generic JSON types used in JWTs.
Definition: jwt.h:2072
#define ByteSizeLong
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]