Goby3  3.1.5
2024.05.14
moos_gateway_config.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: goby/moos/protobuf/moos_gateway_config.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2fmoos_2fprotobuf_2fmoos_5fgateway_5fconfig_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_goby_2fmoos_2fprotobuf_2fmoos_5fgateway_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>
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 // @@protoc_insertion_point(includes)
44 #include <google/protobuf/port_def.inc>
45 #define PROTOBUF_INTERNAL_EXPORT_goby_2fmoos_2fprotobuf_2fmoos_5fgateway_5fconfig_2eproto
46 PROTOBUF_NAMESPACE_OPEN
47 namespace internal {
48 class AnyMetadata;
49 } // namespace internal
50 PROTOBUF_NAMESPACE_CLOSE
51 
52 // Internal implementation detail -- do not use these members.
54  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
55  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
56  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
57  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
58  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2]
59  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
60  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
61  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
63 };
64 extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fmoos_2fprotobuf_2fmoos_5fgateway_5fconfig_2eproto;
65 namespace goby {
66 namespace apps {
67 namespace moos {
68 namespace protobuf {
69 class GobyMOOSGatewayConfig;
70 class GobyMOOSGatewayConfigDefaultTypeInternal;
71 extern GobyMOOSGatewayConfigDefaultTypeInternal _GobyMOOSGatewayConfig_default_instance_;
72 class GobyMOOSGatewayConfig_MOOSConfig;
73 class GobyMOOSGatewayConfig_MOOSConfigDefaultTypeInternal;
74 extern GobyMOOSGatewayConfig_MOOSConfigDefaultTypeInternal _GobyMOOSGatewayConfig_MOOSConfig_default_instance_;
75 } // namespace protobuf
76 } // namespace moos
77 } // namespace apps
78 } // namespace goby
79 PROTOBUF_NAMESPACE_OPEN
80 template<> ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig* Arena::CreateMaybeMessage<::goby::apps::moos::protobuf::GobyMOOSGatewayConfig>(Arena*);
81 template<> ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* Arena::CreateMaybeMessage<::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig>(Arena*);
82 PROTOBUF_NAMESPACE_CLOSE
83 namespace goby {
84 namespace apps {
85 namespace moos {
86 namespace protobuf {
87 
88 // ===================================================================
89 
90 class GobyMOOSGatewayConfig_MOOSConfig PROTOBUF_FINAL :
91  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.MOOSConfig) */ {
92  public:
93  inline GobyMOOSGatewayConfig_MOOSConfig() : GobyMOOSGatewayConfig_MOOSConfig(nullptr) {};
95 
96  GobyMOOSGatewayConfig_MOOSConfig(const GobyMOOSGatewayConfig_MOOSConfig& from);
97  GobyMOOSGatewayConfig_MOOSConfig(GobyMOOSGatewayConfig_MOOSConfig&& from) noexcept
98  : GobyMOOSGatewayConfig_MOOSConfig() {
99  *this = ::std::move(from);
100  }
101 
102  inline GobyMOOSGatewayConfig_MOOSConfig& operator=(const GobyMOOSGatewayConfig_MOOSConfig& from) {
103  CopyFrom(from);
104  return *this;
105  }
106  inline GobyMOOSGatewayConfig_MOOSConfig& operator=(GobyMOOSGatewayConfig_MOOSConfig&& from) noexcept {
107  if (GetArena() == from.GetArena()) {
108  if (this != &from) InternalSwap(&from);
109  } else {
110  CopyFrom(from);
111  }
112  return *this;
113  }
114 
115  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
116  return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
117  }
118  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
119  return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
120  }
121 
122  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
123  return GetDescriptor();
124  }
125  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
126  return GetMetadataStatic().descriptor;
127  }
128  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
129  return GetMetadataStatic().reflection;
130  }
131  static const GobyMOOSGatewayConfig_MOOSConfig& default_instance();
132 
133  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
134  static inline const GobyMOOSGatewayConfig_MOOSConfig* internal_default_instance() {
135  return reinterpret_cast<const GobyMOOSGatewayConfig_MOOSConfig*>(
137  }
138  static constexpr int kIndexInFileMessages =
139  0;
140 
141  friend void swap(GobyMOOSGatewayConfig_MOOSConfig& a, GobyMOOSGatewayConfig_MOOSConfig& b) {
142  a.Swap(&b);
143  }
144  inline void Swap(GobyMOOSGatewayConfig_MOOSConfig* other) {
145  if (other == this) return;
146  if (GetArena() == other->GetArena()) {
147  InternalSwap(other);
148  } else {
149  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
150  }
151  }
152  void UnsafeArenaSwap(GobyMOOSGatewayConfig_MOOSConfig* other) {
153  if (other == this) return;
154  GOOGLE_DCHECK(GetArena() == other->GetArena());
155  InternalSwap(other);
156  }
157 
158  // implements Message ----------------------------------------------
159 
160  inline GobyMOOSGatewayConfig_MOOSConfig* New() const final {
161  return CreateMaybeMessage<GobyMOOSGatewayConfig_MOOSConfig>(nullptr);
162  }
163 
164  GobyMOOSGatewayConfig_MOOSConfig* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
165  return CreateMaybeMessage<GobyMOOSGatewayConfig_MOOSConfig>(arena);
166  }
167  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
168  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
169  void CopyFrom(const GobyMOOSGatewayConfig_MOOSConfig& from);
170  void MergeFrom(const GobyMOOSGatewayConfig_MOOSConfig& from);
171  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
172  bool IsInitialized() const final;
173 
174  size_t ByteSizeLong() const final;
175  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
176  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
177  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
178  int GetCachedSize() const final { return _cached_size_.Get(); }
179 
180  private:
181  inline void SharedCtor();
182  inline void SharedDtor();
183  void SetCachedSize(int size) const final;
184  void InternalSwap(GobyMOOSGatewayConfig_MOOSConfig* other);
185  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
186  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
187  return "goby.apps.moos.protobuf.GobyMOOSGatewayConfig.MOOSConfig";
188  }
189  protected:
190  explicit GobyMOOSGatewayConfig_MOOSConfig(::PROTOBUF_NAMESPACE_ID::Arena* arena);
191  private:
192  static void ArenaDtor(void* object);
193  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
194  public:
195 
196  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
197  private:
198  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
199  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_goby_2fmoos_2fprotobuf_2fmoos_5fgateway_5fconfig_2eproto);
201  }
202 
203  public:
204 
205  // nested types ----------------------------------------------------
206 
207  // accessors -------------------------------------------------------
208 
209  enum : int {
210  kServerFieldNumber = 3,
211  kUseBinaryProtobufFieldNumber = 109,
212  kPortFieldNumber = 4,
213  kMoosParserTechniqueFieldNumber = 110,
214  };
215  // optional string server = 3 [default = "localhost"];
216  bool has_server() const;
217  private:
218  bool _internal_has_server() const;
219  public:
220  void clear_server();
221  const std::string& server() const;
222  void set_server(const std::string& value);
223  void set_server(std::string&& value);
224  void set_server(const char* value);
225  void set_server(const char* value, size_t size);
226  std::string* mutable_server();
227  std::string* release_server();
228  void set_allocated_server(std::string* server);
229  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
230  " string fields are deprecated and will be removed in a"
231  " future release.")
232  std::string* unsafe_arena_release_server();
233  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
234  " string fields are deprecated and will be removed in a"
235  " future release.")
236  void unsafe_arena_set_allocated_server(
237  std::string* server);
238  private:
239  const std::string& _internal_server() const;
240  void _internal_set_server(const std::string& value);
241  std::string* _internal_mutable_server();
242  public:
243 
244  // optional bool use_binary_protobuf = 109 [default = false, (.goby.field) = {
245  bool has_use_binary_protobuf() const;
246  private:
247  bool _internal_has_use_binary_protobuf() const;
248  public:
249  void clear_use_binary_protobuf();
250  bool use_binary_protobuf() const;
251  void set_use_binary_protobuf(bool value);
252  private:
253  bool _internal_use_binary_protobuf() const;
254  void _internal_set_use_binary_protobuf(bool value);
255  public:
256 
257  // optional int32 port = 4 [default = 9000];
258  bool has_port() const;
259  private:
260  bool _internal_has_port() const;
261  public:
262  void clear_port();
263  ::PROTOBUF_NAMESPACE_ID::int32 port() const;
264  void set_port(::PROTOBUF_NAMESPACE_ID::int32 value);
265  private:
266  ::PROTOBUF_NAMESPACE_ID::int32 _internal_port() const;
267  void _internal_set_port(::PROTOBUF_NAMESPACE_ID::int32 value);
268  public:
269 
270  // optional .goby.moos.protobuf.TranslatorEntry.ParserSerializerTechnique moos_parser_technique = 110 [default = TECHNIQUE_PREFIXED_PROTOBUF_TEXT_FORMAT];
271  bool has_moos_parser_technique() const;
272  private:
273  bool _internal_has_moos_parser_technique() const;
274  public:
275  void clear_moos_parser_technique();
276  ::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique moos_parser_technique() const;
277  void set_moos_parser_technique(::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique value);
278  private:
279  ::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique _internal_moos_parser_technique() const;
280  void _internal_set_moos_parser_technique(::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique value);
281  public:
282 
283  // @@protoc_insertion_point(class_scope:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.MOOSConfig)
284  private:
285  class _Internal;
286 
287  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
288  typedef void InternalArenaConstructable_;
289  typedef void DestructorSkippable_;
290  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
291  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
292  public:
293  static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<std::string> _i_give_permission_to_break_this_code_default_server_;
294  private:
295  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr server_;
296  bool use_binary_protobuf_;
297  ::PROTOBUF_NAMESPACE_ID::int32 port_;
298  int moos_parser_technique_;
300 };
301 // -------------------------------------------------------------------
302 
303 class GobyMOOSGatewayConfig PROTOBUF_FINAL :
304  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.apps.moos.protobuf.GobyMOOSGatewayConfig) */ {
305  public:
306  inline GobyMOOSGatewayConfig() : GobyMOOSGatewayConfig(nullptr) {};
308 
309  GobyMOOSGatewayConfig(const GobyMOOSGatewayConfig& from);
310  GobyMOOSGatewayConfig(GobyMOOSGatewayConfig&& from) noexcept
311  : GobyMOOSGatewayConfig() {
312  *this = ::std::move(from);
313  }
314 
315  inline GobyMOOSGatewayConfig& operator=(const GobyMOOSGatewayConfig& from) {
316  CopyFrom(from);
317  return *this;
318  }
319  inline GobyMOOSGatewayConfig& operator=(GobyMOOSGatewayConfig&& from) noexcept {
320  if (GetArena() == from.GetArena()) {
321  if (this != &from) InternalSwap(&from);
322  } else {
323  CopyFrom(from);
324  }
325  return *this;
326  }
327 
328  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
329  return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
330  }
331  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
332  return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
333  }
334 
335  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
336  return GetDescriptor();
337  }
338  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
339  return GetMetadataStatic().descriptor;
340  }
341  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
342  return GetMetadataStatic().reflection;
343  }
344  static const GobyMOOSGatewayConfig& default_instance();
345 
346  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
347  static inline const GobyMOOSGatewayConfig* internal_default_instance() {
348  return reinterpret_cast<const GobyMOOSGatewayConfig*>(
350  }
351  static constexpr int kIndexInFileMessages =
352  1;
353 
354  friend void swap(GobyMOOSGatewayConfig& a, GobyMOOSGatewayConfig& b) {
355  a.Swap(&b);
356  }
357  inline void Swap(GobyMOOSGatewayConfig* other) {
358  if (other == this) return;
359  if (GetArena() == other->GetArena()) {
360  InternalSwap(other);
361  } else {
362  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
363  }
364  }
365  void UnsafeArenaSwap(GobyMOOSGatewayConfig* other) {
366  if (other == this) return;
367  GOOGLE_DCHECK(GetArena() == other->GetArena());
368  InternalSwap(other);
369  }
370 
371  // implements Message ----------------------------------------------
372 
373  inline GobyMOOSGatewayConfig* New() const final {
374  return CreateMaybeMessage<GobyMOOSGatewayConfig>(nullptr);
375  }
376 
377  GobyMOOSGatewayConfig* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
378  return CreateMaybeMessage<GobyMOOSGatewayConfig>(arena);
379  }
380  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
381  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
382  void CopyFrom(const GobyMOOSGatewayConfig& from);
383  void MergeFrom(const GobyMOOSGatewayConfig& from);
384  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
385  bool IsInitialized() const final;
386 
387  size_t ByteSizeLong() const final;
388  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
389  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
390  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
391  int GetCachedSize() const final { return _cached_size_.Get(); }
392 
393  private:
394  inline void SharedCtor();
395  inline void SharedDtor();
396  void SetCachedSize(int size) const final;
397  void InternalSwap(GobyMOOSGatewayConfig* other);
398  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
399  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
400  return "goby.apps.moos.protobuf.GobyMOOSGatewayConfig";
401  }
402  protected:
403  explicit GobyMOOSGatewayConfig(::PROTOBUF_NAMESPACE_ID::Arena* arena);
404  private:
405  static void ArenaDtor(void* object);
406  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
407  public:
408 
409  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
410  private:
411  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
412  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_goby_2fmoos_2fprotobuf_2fmoos_5fgateway_5fconfig_2eproto);
414  }
415 
416  public:
417 
418  // nested types ----------------------------------------------------
419 
420  typedef GobyMOOSGatewayConfig_MOOSConfig MOOSConfig;
421 
422  // accessors -------------------------------------------------------
423 
424  enum : int {
425  kAppFieldNumber = 1,
426  kInterprocessFieldNumber = 2,
427  kMoosFieldNumber = 3,
428  kPollFrequencyFieldNumber = 20,
429  };
430  // optional .goby.middleware.protobuf.AppConfig app = 1;
431  bool has_app() const;
432  private:
433  bool _internal_has_app() const;
434  public:
435  void clear_app();
436  const ::goby::middleware::protobuf::AppConfig& app() const;
437  ::goby::middleware::protobuf::AppConfig* release_app();
438  ::goby::middleware::protobuf::AppConfig* mutable_app();
439  void set_allocated_app(::goby::middleware::protobuf::AppConfig* app);
440  private:
441  const ::goby::middleware::protobuf::AppConfig& _internal_app() const;
442  ::goby::middleware::protobuf::AppConfig* _internal_mutable_app();
443  public:
445  ::goby::middleware::protobuf::AppConfig* app);
446  ::goby::middleware::protobuf::AppConfig* unsafe_arena_release_app();
447 
448  // optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2 [(.goby.field) = {
449  bool has_interprocess() const;
450  private:
451  bool _internal_has_interprocess() const;
452  public:
454  const ::goby::zeromq::protobuf::InterProcessPortalConfig& interprocess() const;
455  ::goby::zeromq::protobuf::InterProcessPortalConfig* release_interprocess();
456  ::goby::zeromq::protobuf::InterProcessPortalConfig* mutable_interprocess();
457  void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
458  private:
459  const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess() const;
460  ::goby::zeromq::protobuf::InterProcessPortalConfig* _internal_mutable_interprocess();
461  public:
463  ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
464  ::goby::zeromq::protobuf::InterProcessPortalConfig* unsafe_arena_release_interprocess();
465 
466  // optional .goby.apps.moos.protobuf.GobyMOOSGatewayConfig.MOOSConfig moos = 3;
467  bool has_moos() const;
468  private:
469  bool _internal_has_moos() const;
470  public:
471  void clear_moos();
472  const ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig& moos() const;
473  ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* release_moos();
474  ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* mutable_moos();
475  void set_allocated_moos(::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* moos);
476  private:
477  const ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig& _internal_moos() const;
478  ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* _internal_mutable_moos();
479  public:
481  ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* moos);
482  ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* unsafe_arena_release_moos();
483 
484  // optional float poll_frequency = 20 [default = 10];
485  bool has_poll_frequency() const;
486  private:
487  bool _internal_has_poll_frequency() const;
488  public:
490  float poll_frequency() const;
491  void set_poll_frequency(float value);
492  private:
493  float _internal_poll_frequency() const;
494  void _internal_set_poll_frequency(float value);
495  public:
496 
497  GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(GobyMOOSGatewayConfig)
498  // @@protoc_insertion_point(class_scope:goby.apps.moos.protobuf.GobyMOOSGatewayConfig)
499  private:
500  class _Internal;
501 
502  ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_;
503 
504  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
505  typedef void InternalArenaConstructable_;
506  typedef void DestructorSkippable_;
507  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
508  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
509  ::goby::middleware::protobuf::AppConfig* app_;
510  ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess_;
511  ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* moos_;
512  float poll_frequency_;
513  friend struct ::TableStruct_goby_2fmoos_2fprotobuf_2fmoos_5fgateway_5fconfig_2eproto;
514 };
515 // ===================================================================
516 
517 
518 // ===================================================================
519 
520 #ifdef __GNUC__
521  #pragma GCC diagnostic push
522  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
523 #endif // __GNUC__
524 // GobyMOOSGatewayConfig_MOOSConfig
525 
526 // optional string server = 3 [default = "localhost"];
527 inline bool GobyMOOSGatewayConfig_MOOSConfig::_internal_has_server() const {
528  bool value = (_has_bits_[0] & 0x00000001u) != 0;
529  return value;
530 }
531 inline bool GobyMOOSGatewayConfig_MOOSConfig::has_server() const {
532  return _internal_has_server();
533 }
534 inline void GobyMOOSGatewayConfig_MOOSConfig::clear_server() {
535  server_.ClearToDefault(&::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig::_i_give_permission_to_break_this_code_default_server_.get(), GetArena());
536  _has_bits_[0] &= ~0x00000001u;
537 }
538 inline const std::string& GobyMOOSGatewayConfig_MOOSConfig::server() const {
539  // @@protoc_insertion_point(field_get:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.MOOSConfig.server)
540  return _internal_server();
541 }
542 inline void GobyMOOSGatewayConfig_MOOSConfig::set_server(const std::string& value) {
543  _internal_set_server(value);
544  // @@protoc_insertion_point(field_set:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.MOOSConfig.server)
545 }
546 inline std::string* GobyMOOSGatewayConfig_MOOSConfig::mutable_server() {
547  // @@protoc_insertion_point(field_mutable:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.MOOSConfig.server)
548  return _internal_mutable_server();
549 }
550 inline const std::string& GobyMOOSGatewayConfig_MOOSConfig::_internal_server() const {
551  return server_.Get();
552 }
553 inline void GobyMOOSGatewayConfig_MOOSConfig::_internal_set_server(const std::string& value) {
554  _has_bits_[0] |= 0x00000001u;
555  server_.Set(&::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig::_i_give_permission_to_break_this_code_default_server_.get(), value, GetArena());
556 }
557 inline void GobyMOOSGatewayConfig_MOOSConfig::set_server(std::string&& value) {
558  _has_bits_[0] |= 0x00000001u;
559  server_.Set(
560  &::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig::_i_give_permission_to_break_this_code_default_server_.get(), ::std::move(value), GetArena());
561  // @@protoc_insertion_point(field_set_rvalue:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.MOOSConfig.server)
562 }
563 inline void GobyMOOSGatewayConfig_MOOSConfig::set_server(const char* value) {
564  GOOGLE_DCHECK(value != nullptr);
565  _has_bits_[0] |= 0x00000001u;
566  server_.Set(&::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig::_i_give_permission_to_break_this_code_default_server_.get(), ::std::string(value),
567  GetArena());
568  // @@protoc_insertion_point(field_set_char:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.MOOSConfig.server)
569 }
570 inline void GobyMOOSGatewayConfig_MOOSConfig::set_server(const char* value,
571  size_t size) {
572  _has_bits_[0] |= 0x00000001u;
573  server_.Set(&::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig::_i_give_permission_to_break_this_code_default_server_.get(), ::std::string(
574  reinterpret_cast<const char*>(value), size), GetArena());
575  // @@protoc_insertion_point(field_set_pointer:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.MOOSConfig.server)
576 }
577 inline std::string* GobyMOOSGatewayConfig_MOOSConfig::_internal_mutable_server() {
578  _has_bits_[0] |= 0x00000001u;
579  return server_.Mutable(&::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig::_i_give_permission_to_break_this_code_default_server_.get(), GetArena());
580 }
581 inline std::string* GobyMOOSGatewayConfig_MOOSConfig::release_server() {
582  // @@protoc_insertion_point(field_release:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.MOOSConfig.server)
583  if (!_internal_has_server()) {
584  return nullptr;
585  }
586  _has_bits_[0] &= ~0x00000001u;
587  return server_.ReleaseNonDefault(&::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig::_i_give_permission_to_break_this_code_default_server_.get(), GetArena());
588 }
589 inline void GobyMOOSGatewayConfig_MOOSConfig::set_allocated_server(std::string* server) {
590  if (server != nullptr) {
591  _has_bits_[0] |= 0x00000001u;
592  } else {
593  _has_bits_[0] &= ~0x00000001u;
594  }
595  server_.SetAllocated(&::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig::_i_give_permission_to_break_this_code_default_server_.get(), server,
596  GetArena());
597  // @@protoc_insertion_point(field_set_allocated:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.MOOSConfig.server)
598 }
599 inline std::string* GobyMOOSGatewayConfig_MOOSConfig::unsafe_arena_release_server() {
600  // @@protoc_insertion_point(field_unsafe_arena_release:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.MOOSConfig.server)
601  GOOGLE_DCHECK(GetArena() != nullptr);
602  _has_bits_[0] &= ~0x00000001u;
603  return server_.UnsafeArenaRelease(&::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig::_i_give_permission_to_break_this_code_default_server_.get(),
604  GetArena());
605 }
606 inline void GobyMOOSGatewayConfig_MOOSConfig::unsafe_arena_set_allocated_server(
607  std::string* server) {
608  GOOGLE_DCHECK(GetArena() != nullptr);
609  if (server != nullptr) {
610  _has_bits_[0] |= 0x00000001u;
611  } else {
612  _has_bits_[0] &= ~0x00000001u;
613  }
614  server_.UnsafeArenaSetAllocated(&::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig::_i_give_permission_to_break_this_code_default_server_.get(),
615  server, GetArena());
616  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.MOOSConfig.server)
617 }
618 
619 // optional int32 port = 4 [default = 9000];
620 inline bool GobyMOOSGatewayConfig_MOOSConfig::_internal_has_port() const {
621  bool value = (_has_bits_[0] & 0x00000004u) != 0;
622  return value;
623 }
624 inline bool GobyMOOSGatewayConfig_MOOSConfig::has_port() const {
625  return _internal_has_port();
626 }
627 inline void GobyMOOSGatewayConfig_MOOSConfig::clear_port() {
628  port_ = 9000;
629  _has_bits_[0] &= ~0x00000004u;
630 }
631 inline ::PROTOBUF_NAMESPACE_ID::int32 GobyMOOSGatewayConfig_MOOSConfig::_internal_port() const {
632  return port_;
633 }
634 inline ::PROTOBUF_NAMESPACE_ID::int32 GobyMOOSGatewayConfig_MOOSConfig::port() const {
635  // @@protoc_insertion_point(field_get:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.MOOSConfig.port)
636  return _internal_port();
637 }
638 inline void GobyMOOSGatewayConfig_MOOSConfig::_internal_set_port(::PROTOBUF_NAMESPACE_ID::int32 value) {
639  _has_bits_[0] |= 0x00000004u;
640  port_ = value;
641 }
642 inline void GobyMOOSGatewayConfig_MOOSConfig::set_port(::PROTOBUF_NAMESPACE_ID::int32 value) {
643  _internal_set_port(value);
644  // @@protoc_insertion_point(field_set:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.MOOSConfig.port)
645 }
646 
647 // optional bool use_binary_protobuf = 109 [default = false, (.goby.field) = {
648 inline bool GobyMOOSGatewayConfig_MOOSConfig::_internal_has_use_binary_protobuf() const {
649  bool value = (_has_bits_[0] & 0x00000002u) != 0;
650  return value;
651 }
652 inline bool GobyMOOSGatewayConfig_MOOSConfig::has_use_binary_protobuf() const {
653  return _internal_has_use_binary_protobuf();
654 }
655 inline void GobyMOOSGatewayConfig_MOOSConfig::clear_use_binary_protobuf() {
656  use_binary_protobuf_ = false;
657  _has_bits_[0] &= ~0x00000002u;
658 }
659 inline bool GobyMOOSGatewayConfig_MOOSConfig::_internal_use_binary_protobuf() const {
660  return use_binary_protobuf_;
661 }
662 inline bool GobyMOOSGatewayConfig_MOOSConfig::use_binary_protobuf() const {
663  // @@protoc_insertion_point(field_get:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.MOOSConfig.use_binary_protobuf)
664  return _internal_use_binary_protobuf();
665 }
666 inline void GobyMOOSGatewayConfig_MOOSConfig::_internal_set_use_binary_protobuf(bool value) {
667  _has_bits_[0] |= 0x00000002u;
668  use_binary_protobuf_ = value;
669 }
670 inline void GobyMOOSGatewayConfig_MOOSConfig::set_use_binary_protobuf(bool value) {
671  _internal_set_use_binary_protobuf(value);
672  // @@protoc_insertion_point(field_set:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.MOOSConfig.use_binary_protobuf)
673 }
674 
675 // optional .goby.moos.protobuf.TranslatorEntry.ParserSerializerTechnique moos_parser_technique = 110 [default = TECHNIQUE_PREFIXED_PROTOBUF_TEXT_FORMAT];
676 inline bool GobyMOOSGatewayConfig_MOOSConfig::_internal_has_moos_parser_technique() const {
677  bool value = (_has_bits_[0] & 0x00000008u) != 0;
678  return value;
679 }
680 inline bool GobyMOOSGatewayConfig_MOOSConfig::has_moos_parser_technique() const {
681  return _internal_has_moos_parser_technique();
682 }
683 inline void GobyMOOSGatewayConfig_MOOSConfig::clear_moos_parser_technique() {
684  moos_parser_technique_ = 5;
685  _has_bits_[0] &= ~0x00000008u;
686 }
687 inline ::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique GobyMOOSGatewayConfig_MOOSConfig::_internal_moos_parser_technique() const {
688  return static_cast< ::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique >(moos_parser_technique_);
689 }
690 inline ::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique GobyMOOSGatewayConfig_MOOSConfig::moos_parser_technique() const {
691  // @@protoc_insertion_point(field_get:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.MOOSConfig.moos_parser_technique)
692  return _internal_moos_parser_technique();
693 }
694 inline void GobyMOOSGatewayConfig_MOOSConfig::_internal_set_moos_parser_technique(::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique value) {
696  _has_bits_[0] |= 0x00000008u;
697  moos_parser_technique_ = value;
698 }
699 inline void GobyMOOSGatewayConfig_MOOSConfig::set_moos_parser_technique(::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique value) {
700  _internal_set_moos_parser_technique(value);
701  // @@protoc_insertion_point(field_set:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.MOOSConfig.moos_parser_technique)
702 }
703 
704 // -------------------------------------------------------------------
705 
706 // GobyMOOSGatewayConfig
707 
708 // optional .goby.middleware.protobuf.AppConfig app = 1;
709 inline bool GobyMOOSGatewayConfig::_internal_has_app() const {
710  bool value = (_has_bits_[0] & 0x00000001u) != 0;
711  PROTOBUF_ASSUME(!value || app_ != nullptr);
712  return value;
713 }
714 inline bool GobyMOOSGatewayConfig::has_app() const {
715  return _internal_has_app();
716 }
717 inline const ::goby::middleware::protobuf::AppConfig& GobyMOOSGatewayConfig::_internal_app() const {
718  const ::goby::middleware::protobuf::AppConfig* p = app_;
719  return p != nullptr ? *p : *reinterpret_cast<const ::goby::middleware::protobuf::AppConfig*>(
721 }
722 inline const ::goby::middleware::protobuf::AppConfig& GobyMOOSGatewayConfig::app() const {
723  // @@protoc_insertion_point(field_get:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.app)
724  return _internal_app();
725 }
726 inline void GobyMOOSGatewayConfig::unsafe_arena_set_allocated_app(
727  ::goby::middleware::protobuf::AppConfig* app) {
728  if (GetArena() == nullptr) {
729  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(app_);
730  }
731  app_ = app;
732  if (app) {
733  _has_bits_[0] |= 0x00000001u;
734  } else {
735  _has_bits_[0] &= ~0x00000001u;
736  }
737  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.app)
738 }
739 inline ::goby::middleware::protobuf::AppConfig* GobyMOOSGatewayConfig::release_app() {
740  auto temp = unsafe_arena_release_app();
741  if (GetArena() != nullptr) {
742  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
743  }
744  return temp;
745 }
746 inline ::goby::middleware::protobuf::AppConfig* GobyMOOSGatewayConfig::unsafe_arena_release_app() {
747  // @@protoc_insertion_point(field_release:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.app)
748  _has_bits_[0] &= ~0x00000001u;
749  ::goby::middleware::protobuf::AppConfig* temp = app_;
750  app_ = nullptr;
751  return temp;
752 }
753 inline ::goby::middleware::protobuf::AppConfig* GobyMOOSGatewayConfig::_internal_mutable_app() {
754  _has_bits_[0] |= 0x00000001u;
755  if (app_ == nullptr) {
756  auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArena());
757  app_ = p;
758  }
759  return app_;
760 }
761 inline ::goby::middleware::protobuf::AppConfig* GobyMOOSGatewayConfig::mutable_app() {
762  // @@protoc_insertion_point(field_mutable:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.app)
763  return _internal_mutable_app();
764 }
765 inline void GobyMOOSGatewayConfig::set_allocated_app(::goby::middleware::protobuf::AppConfig* app) {
766  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
767  if (message_arena == nullptr) {
768  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(app_);
769  }
770  if (app) {
771  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
772  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(app)->GetArena();
773  if (message_arena != submessage_arena) {
774  app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
775  message_arena, app, submessage_arena);
776  }
777  _has_bits_[0] |= 0x00000001u;
778  } else {
779  _has_bits_[0] &= ~0x00000001u;
780  }
781  app_ = app;
782  // @@protoc_insertion_point(field_set_allocated:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.app)
783 }
784 
785 // optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2 [(.goby.field) = {
786 inline bool GobyMOOSGatewayConfig::_internal_has_interprocess() const {
787  bool value = (_has_bits_[0] & 0x00000002u) != 0;
788  PROTOBUF_ASSUME(!value || interprocess_ != nullptr);
789  return value;
790 }
791 inline bool GobyMOOSGatewayConfig::has_interprocess() const {
792  return _internal_has_interprocess();
793 }
794 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& GobyMOOSGatewayConfig::_internal_interprocess() const {
795  const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = interprocess_;
796  return p != nullptr ? *p : *reinterpret_cast<const ::goby::zeromq::protobuf::InterProcessPortalConfig*>(
798 }
799 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& GobyMOOSGatewayConfig::interprocess() const {
800  // @@protoc_insertion_point(field_get:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.interprocess)
801  return _internal_interprocess();
802 }
803 inline void GobyMOOSGatewayConfig::unsafe_arena_set_allocated_interprocess(
804  ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
805  if (GetArena() == nullptr) {
806  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(interprocess_);
807  }
808  interprocess_ = interprocess;
809  if (interprocess) {
810  _has_bits_[0] |= 0x00000002u;
811  } else {
812  _has_bits_[0] &= ~0x00000002u;
813  }
814  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.interprocess)
815 }
816 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* GobyMOOSGatewayConfig::release_interprocess() {
817  auto temp = unsafe_arena_release_interprocess();
818  if (GetArena() != nullptr) {
819  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
820  }
821  return temp;
822 }
823 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* GobyMOOSGatewayConfig::unsafe_arena_release_interprocess() {
824  // @@protoc_insertion_point(field_release:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.interprocess)
825  _has_bits_[0] &= ~0x00000002u;
826  ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = interprocess_;
827  interprocess_ = nullptr;
828  return temp;
829 }
830 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* GobyMOOSGatewayConfig::_internal_mutable_interprocess() {
831  _has_bits_[0] |= 0x00000002u;
832  if (interprocess_ == nullptr) {
833  auto* p = CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig>(GetArena());
834  interprocess_ = p;
835  }
836  return interprocess_;
837 }
838 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* GobyMOOSGatewayConfig::mutable_interprocess() {
839  // @@protoc_insertion_point(field_mutable:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.interprocess)
840  return _internal_mutable_interprocess();
841 }
842 inline void GobyMOOSGatewayConfig::set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
843  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
844  if (message_arena == nullptr) {
845  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(interprocess_);
846  }
847  if (interprocess) {
848  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
849  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(interprocess)->GetArena();
850  if (message_arena != submessage_arena) {
851  interprocess = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
852  message_arena, interprocess, submessage_arena);
853  }
854  _has_bits_[0] |= 0x00000002u;
855  } else {
856  _has_bits_[0] &= ~0x00000002u;
857  }
858  interprocess_ = interprocess;
859  // @@protoc_insertion_point(field_set_allocated:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.interprocess)
860 }
861 
862 // optional .goby.apps.moos.protobuf.GobyMOOSGatewayConfig.MOOSConfig moos = 3;
863 inline bool GobyMOOSGatewayConfig::_internal_has_moos() const {
864  bool value = (_has_bits_[0] & 0x00000004u) != 0;
865  PROTOBUF_ASSUME(!value || moos_ != nullptr);
866  return value;
867 }
868 inline bool GobyMOOSGatewayConfig::has_moos() const {
869  return _internal_has_moos();
870 }
871 inline void GobyMOOSGatewayConfig::clear_moos() {
872  if (moos_ != nullptr) moos_->Clear();
873  _has_bits_[0] &= ~0x00000004u;
874 }
875 inline const ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig& GobyMOOSGatewayConfig::_internal_moos() const {
876  const ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* p = moos_;
877  return p != nullptr ? *p : *reinterpret_cast<const ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig*>(
879 }
880 inline const ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig& GobyMOOSGatewayConfig::moos() const {
881  // @@protoc_insertion_point(field_get:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.moos)
882  return _internal_moos();
883 }
884 inline void GobyMOOSGatewayConfig::unsafe_arena_set_allocated_moos(
885  ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* moos) {
886  if (GetArena() == nullptr) {
887  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(moos_);
888  }
889  moos_ = moos;
890  if (moos) {
891  _has_bits_[0] |= 0x00000004u;
892  } else {
893  _has_bits_[0] &= ~0x00000004u;
894  }
895  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.moos)
896 }
897 inline ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* GobyMOOSGatewayConfig::release_moos() {
898  auto temp = unsafe_arena_release_moos();
899  if (GetArena() != nullptr) {
900  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
901  }
902  return temp;
903 }
904 inline ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* GobyMOOSGatewayConfig::unsafe_arena_release_moos() {
905  // @@protoc_insertion_point(field_release:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.moos)
906  _has_bits_[0] &= ~0x00000004u;
907  ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* temp = moos_;
908  moos_ = nullptr;
909  return temp;
910 }
911 inline ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* GobyMOOSGatewayConfig::_internal_mutable_moos() {
912  _has_bits_[0] |= 0x00000004u;
913  if (moos_ == nullptr) {
914  auto* p = CreateMaybeMessage<::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig>(GetArena());
915  moos_ = p;
916  }
917  return moos_;
918 }
919 inline ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* GobyMOOSGatewayConfig::mutable_moos() {
920  // @@protoc_insertion_point(field_mutable:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.moos)
921  return _internal_mutable_moos();
922 }
923 inline void GobyMOOSGatewayConfig::set_allocated_moos(::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* moos) {
924  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
925  if (message_arena == nullptr) {
926  delete moos_;
927  }
928  if (moos) {
929  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
930  ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(moos);
931  if (message_arena != submessage_arena) {
932  moos = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
933  message_arena, moos, submessage_arena);
934  }
935  _has_bits_[0] |= 0x00000004u;
936  } else {
937  _has_bits_[0] &= ~0x00000004u;
938  }
939  moos_ = moos;
940  // @@protoc_insertion_point(field_set_allocated:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.moos)
941 }
942 
943 // optional float poll_frequency = 20 [default = 10];
944 inline bool GobyMOOSGatewayConfig::_internal_has_poll_frequency() const {
945  bool value = (_has_bits_[0] & 0x00000008u) != 0;
946  return value;
947 }
948 inline bool GobyMOOSGatewayConfig::has_poll_frequency() const {
949  return _internal_has_poll_frequency();
950 }
951 inline void GobyMOOSGatewayConfig::clear_poll_frequency() {
952  poll_frequency_ = 10;
953  _has_bits_[0] &= ~0x00000008u;
954 }
955 inline float GobyMOOSGatewayConfig::_internal_poll_frequency() const {
956  return poll_frequency_;
957 }
958 inline float GobyMOOSGatewayConfig::poll_frequency() const {
959  // @@protoc_insertion_point(field_get:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.poll_frequency)
960  return _internal_poll_frequency();
961 }
962 inline void GobyMOOSGatewayConfig::_internal_set_poll_frequency(float value) {
963  _has_bits_[0] |= 0x00000008u;
964  poll_frequency_ = value;
965 }
966 inline void GobyMOOSGatewayConfig::set_poll_frequency(float value) {
967  _internal_set_poll_frequency(value);
968  // @@protoc_insertion_point(field_set:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.poll_frequency)
969 }
970 
971 #ifdef __GNUC__
972  #pragma GCC diagnostic pop
973 #endif // __GNUC__
974 // -------------------------------------------------------------------
975 
976 
977 // @@protoc_insertion_point(namespace_scope)
978 
979 } // namespace protobuf
980 } // namespace moos
981 } // namespace apps
982 } // namespace goby
983 
984 // @@protoc_insertion_point(global_scope)
985 
986 #include <google/protobuf/port_undef.inc>
987 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_goby_2fmoos_2fprotobuf_2fmoos_5fgateway_5fconfig_2eproto
void MergeFrom(const GobyMOOSGatewayConfig_MOOSConfig &from)
GobyMOOSGatewayConfig_MOOSConfig & operator=(const GobyMOOSGatewayConfig_MOOSConfig &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void set_allocated_server(std::string *server)
void CopyFrom(const GobyMOOSGatewayConfig &from)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
GobyMOOSGatewayConfig_MOOSConfig MOOSConfig
GobyMOOSGatewayConfig & operator=(const GobyMOOSGatewayConfig &from)
::goby::middleware::protobuf::AppConfig * release_app()
const std::string & server() const
void unsafe_arena_set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
GobyMOOSGatewayConfig_MOOSConfig * New() const final
static const GobyMOOSGatewayConfig & default_instance()
void CopyFrom(const GobyMOOSGatewayConfig_MOOSConfig &from)
void Swap(GobyMOOSGatewayConfig *other)
GobyMOOSGatewayConfig_MOOSConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void MergeFrom(const GobyMOOSGatewayConfig &from)
void unsafe_arena_set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
const ::goby::middleware::protobuf::AppConfig & app() const
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void set_allocated_moos(::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig *moos)
friend void swap(GobyMOOSGatewayConfig &a, GobyMOOSGatewayConfig &b)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void unsafe_arena_set_allocated_moos(::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig *moos)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig * mutable_moos()
GobyMOOSGatewayConfig & operator=(GobyMOOSGatewayConfig &&from) noexcept
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void set_server(const std::string &value)
const ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig & moos() const
GobyMOOSGatewayConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
::goby::middleware::protobuf::AppConfig * unsafe_arena_release_app()
::goby::middleware::protobuf::AppConfig * mutable_app()
static const GobyMOOSGatewayConfig_MOOSConfig & default_instance()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
const ::goby::zeromq::protobuf::InterProcessPortalConfig & interprocess() const
GobyMOOSGatewayConfig(const GobyMOOSGatewayConfig &from)
::goby::zeromq::protobuf::InterProcessPortalConfig * release_interprocess()
::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig * release_moos()
friend void swap(GobyMOOSGatewayConfig_MOOSConfig &a, GobyMOOSGatewayConfig_MOOSConfig &b)
::goby::zeromq::protobuf::InterProcessPortalConfig * unsafe_arena_release_interprocess()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
GobyMOOSGatewayConfig_MOOSConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
::goby::zeromq::protobuf::InterProcessPortalConfig * mutable_interprocess()
static const GobyMOOSGatewayConfig_MOOSConfig * internal_default_instance()
void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
void UnsafeArenaSwap(GobyMOOSGatewayConfig_MOOSConfig *other)
void set_server(const char *value, size_t size)
::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig * unsafe_arena_release_moos()
void set_server(std::string &&value)
void UnsafeArenaSwap(GobyMOOSGatewayConfig *other)
GobyMOOSGatewayConfig * New() const final
void Swap(GobyMOOSGatewayConfig_MOOSConfig *other)
GobyMOOSGatewayConfig_MOOSConfig & operator=(GobyMOOSGatewayConfig_MOOSConfig &&from) noexcept
GobyMOOSGatewayConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
GobyMOOSGatewayConfig(GobyMOOSGatewayConfig &&from) noexcept
void set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
static const GobyMOOSGatewayConfig * internal_default_instance()
GobyMOOSGatewayConfig_MOOSConfig(GobyMOOSGatewayConfig_MOOSConfig &&from) noexcept
GobyMOOSGatewayConfig_MOOSConfig(const GobyMOOSGatewayConfig_MOOSConfig &from)
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fmoos_2fprotobuf_2fmoos_5fgateway_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
GobyMOOSGatewayConfig_MOOSConfigDefaultTypeInternal _GobyMOOSGatewayConfig_MOOSConfig_default_instance_
GobyMOOSGatewayConfigDefaultTypeInternal _GobyMOOSGatewayConfig_default_instance_
AppConfigDefaultTypeInternal _AppConfig_default_instance_
bool TranslatorEntry_ParserSerializerTechnique_IsValid(int value)
InterProcessPortalConfigDefaultTypeInternal _InterProcessPortalConfig_default_instance_
The global namespace for the Goby project.
std::int32_t int32
std::uint32_t uint32
#define ByteSizeLong
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
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[]