Goby3 3.2.3
2025.05.13
Loading...
Searching...
No Matches
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 < 3021000
12#error This file was generated by a newer version of protoc which is
13#error incompatible with your Protocol Buffer headers. Please update
14#error your headers.
15#endif
16#if 3021012 < PROTOBUF_MIN_PROTOC_VERSION
17#error This file was generated by an older version of protoc which is
18#error incompatible with your Protocol Buffer headers. Please
19#error regenerate this file with a newer version of protoc.
20#endif
21
22#include <google/protobuf/port_undef.inc>
23#include <google/protobuf/io/coded_stream.h>
25#include <google/protobuf/arenastring.h>
26#include <google/protobuf/generated_message_util.h>
27#include <google/protobuf/metadata_lite.h>
28#include <google/protobuf/generated_message_reflection.h>
30#include <google/protobuf/repeated_field.h> // IWYU pragma: export
31#include <google/protobuf/extension_set.h> // IWYU pragma: export
32#include <google/protobuf/unknown_field_set.h>
37#include <boost/units/quantity.hpp>
38#include <boost/units/absolute.hpp>
39#include <boost/units/dimensionless_type.hpp>
40#include <boost/units/make_scaled_unit.hpp>
41// @@protoc_insertion_point(includes)
42#include <google/protobuf/port_def.inc>
43#define PROTOBUF_INTERNAL_EXPORT_goby_2fmoos_2fprotobuf_2fmoos_5fgateway_5fconfig_2eproto
44PROTOBUF_NAMESPACE_OPEN
45namespace internal {
46class AnyMetadata;
47} // namespace internal
48PROTOBUF_NAMESPACE_CLOSE
49
50// Internal implementation detail -- do not use these members.
54extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fmoos_2fprotobuf_2fmoos_5fgateway_5fconfig_2eproto;
55namespace goby {
56namespace apps {
57namespace moos {
58namespace protobuf {
59class GobyMOOSGatewayConfig;
60struct GobyMOOSGatewayConfigDefaultTypeInternal;
61extern GobyMOOSGatewayConfigDefaultTypeInternal _GobyMOOSGatewayConfig_default_instance_;
62class GobyMOOSGatewayConfig_MOOSConfig;
63struct GobyMOOSGatewayConfig_MOOSConfigDefaultTypeInternal;
64extern GobyMOOSGatewayConfig_MOOSConfigDefaultTypeInternal _GobyMOOSGatewayConfig_MOOSConfig_default_instance_;
65} // namespace protobuf
66} // namespace moos
67} // namespace apps
68} // namespace goby
69PROTOBUF_NAMESPACE_OPEN
70template<> ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig* Arena::CreateMaybeMessage<::goby::apps::moos::protobuf::GobyMOOSGatewayConfig>(Arena*);
71template<> ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* Arena::CreateMaybeMessage<::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig>(Arena*);
72PROTOBUF_NAMESPACE_CLOSE
73namespace goby {
74namespace apps {
75namespace moos {
76namespace protobuf {
77
78// ===================================================================
79
81 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.MOOSConfig) */ {
82 public:
85 explicit PROTOBUF_CONSTEXPR GobyMOOSGatewayConfig_MOOSConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
86
92
94 CopyFrom(from);
95 return *this;
96 }
98 if (this == &from) return *this;
99 if (GetOwningArena() == from.GetOwningArena()
100 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
101 && GetOwningArena() != nullptr
102 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
103 ) {
104 InternalSwap(&from);
105 } else {
106 CopyFrom(from);
107 }
108 return *this;
109 }
110
111 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
112 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
113 }
114 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
115 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
116 }
117
118 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
119 return GetDescriptor();
120 }
121 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
122 return default_instance().GetMetadata().descriptor;
123 }
124 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
125 return default_instance().GetMetadata().reflection;
126 }
134 static constexpr int kIndexInFileMessages =
135 0;
136
141 if (other == this) return;
142 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
143 if (GetOwningArena() != nullptr &&
144 GetOwningArena() == other->GetOwningArena()) {
145 #else // PROTOBUF_FORCE_COPY_IN_SWAP
146 if (GetOwningArena() == other->GetOwningArena()) {
147 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
148 InternalSwap(other);
149 } else {
150 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
151 }
152 }
154 if (other == this) return;
155 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
156 InternalSwap(other);
157 }
158
159 // implements Message ----------------------------------------------
160
161 GobyMOOSGatewayConfig_MOOSConfig* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
162 return CreateMaybeMessage<GobyMOOSGatewayConfig_MOOSConfig>(arena);
163 }
164 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
166 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
168 GobyMOOSGatewayConfig_MOOSConfig::MergeImpl(*this, from);
169 }
170 private:
171 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
172 public:
173 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
174 bool IsInitialized() const final;
175
176 size_t ByteSizeLong() const final;
177 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
179 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
180 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
181
182 private:
183 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
184 void SharedDtor();
185 void SetCachedSize(int size) const final;
186 void InternalSwap(GobyMOOSGatewayConfig_MOOSConfig* other);
187
188 private:
189 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
190 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
191 return "goby.apps.moos.protobuf.GobyMOOSGatewayConfig.MOOSConfig";
192 }
193 protected:
194 explicit GobyMOOSGatewayConfig_MOOSConfig(::PROTOBUF_NAMESPACE_ID::Arena* arena,
195 bool is_message_owned = false);
196 public:
197
198 static const ClassData _class_data_;
199 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
200
201 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
202
203 // nested types ----------------------------------------------------
204
205 // accessors -------------------------------------------------------
206
207 enum : int {
212 };
213 // optional string server = 3 [default = "localhost"];
214 bool has_server() const;
215 private:
216 bool _internal_has_server() const;
217 public:
218 void clear_server();
219 const std::string& server() const;
220 template <typename ArgT0 = const std::string&, typename... ArgT>
221 void set_server(ArgT0&& arg0, ArgT... args);
222 std::string* mutable_server();
223 PROTOBUF_NODISCARD std::string* release_server();
224 void set_allocated_server(std::string* server);
225 private:
226 const std::string& _internal_server() const;
227 inline PROTOBUF_ALWAYS_INLINE void _internal_set_server(const std::string& value);
228 std::string* _internal_mutable_server();
229 public:
230
231 // optional bool use_binary_protobuf = 109 [default = false, (.goby.field) = {
232 bool has_use_binary_protobuf() const;
233 private:
234 bool _internal_has_use_binary_protobuf() const;
235 public:
237 bool use_binary_protobuf() const;
238 void set_use_binary_protobuf(bool value);
239 private:
240 bool _internal_use_binary_protobuf() const;
241 void _internal_set_use_binary_protobuf(bool value);
242 public:
243
244 // optional int32 port = 4 [default = 9000];
245 bool has_port() const;
246 private:
247 bool _internal_has_port() const;
248 public:
249 void clear_port();
250 int32_t port() const;
251 void set_port(int32_t value);
252 private:
253 int32_t _internal_port() const;
254 void _internal_set_port(int32_t value);
255 public:
256
257 // optional .goby.moos.protobuf.TranslatorEntry.ParserSerializerTechnique moos_parser_technique = 110 [default = TECHNIQUE_PREFIXED_PROTOBUF_TEXT_FORMAT];
258 bool has_moos_parser_technique() const;
259 private:
260 bool _internal_has_moos_parser_technique() const;
261 public:
265 private:
266 ::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique _internal_moos_parser_technique() const;
267 void _internal_set_moos_parser_technique(::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique value);
268 public:
269
270 // @@protoc_insertion_point(class_scope:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.MOOSConfig)
271 private:
272 class _Internal;
273
274 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
275 typedef void InternalArenaConstructable_;
276 typedef void DestructorSkippable_;
277 struct Impl_ {
278 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
279 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
280 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_server_;
281 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr server_;
282 bool use_binary_protobuf_;
283 int32_t port_;
284 int moos_parser_technique_;
285 };
286 union { Impl_ _impl_; };
287 friend struct ::TableStruct_goby_2fmoos_2fprotobuf_2fmoos_5fgateway_5fconfig_2eproto;
288};
289// -------------------------------------------------------------------
290
292 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.apps.moos.protobuf.GobyMOOSGatewayConfig) */ {
293 public:
296 explicit PROTOBUF_CONSTEXPR GobyMOOSGatewayConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
297
301 *this = ::std::move(from);
302 }
303
305 CopyFrom(from);
306 return *this;
307 }
309 if (this == &from) return *this;
310 if (GetOwningArena() == from.GetOwningArena()
311 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
312 && GetOwningArena() != nullptr
313 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
314 ) {
315 InternalSwap(&from);
316 } else {
317 CopyFrom(from);
318 }
319 return *this;
320 }
321
322 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
323 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
324 }
325 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
326 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
327 }
328
329 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
330 return GetDescriptor();
331 }
332 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
333 return default_instance().GetMetadata().descriptor;
334 }
335 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
336 return default_instance().GetMetadata().reflection;
337 }
339 return *internal_default_instance();
340 }
342 return reinterpret_cast<const GobyMOOSGatewayConfig*>(
344 }
345 static constexpr int kIndexInFileMessages =
346 1;
347
349 a.Swap(&b);
350 }
351 inline void Swap(GobyMOOSGatewayConfig* other) {
352 if (other == this) return;
353 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
354 if (GetOwningArena() != nullptr &&
355 GetOwningArena() == other->GetOwningArena()) {
356 #else // PROTOBUF_FORCE_COPY_IN_SWAP
357 if (GetOwningArena() == other->GetOwningArena()) {
358 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
359 InternalSwap(other);
360 } else {
361 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
362 }
363 }
365 if (other == this) return;
366 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
367 InternalSwap(other);
368 }
369
370 // implements Message ----------------------------------------------
371
372 GobyMOOSGatewayConfig* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
373 return CreateMaybeMessage<GobyMOOSGatewayConfig>(arena);
374 }
375 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
377 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
378 void MergeFrom( const GobyMOOSGatewayConfig& from) {
379 GobyMOOSGatewayConfig::MergeImpl(*this, from);
380 }
381 private:
382 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
383 public:
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 uint8_t* _InternalSerialize(
390 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
391 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
392
393 private:
394 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
395 void SharedDtor();
396 void SetCachedSize(int size) const final;
397 void InternalSwap(GobyMOOSGatewayConfig* other);
398
399 private:
400 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
401 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
402 return "goby.apps.moos.protobuf.GobyMOOSGatewayConfig";
403 }
404 protected:
405 explicit GobyMOOSGatewayConfig(::PROTOBUF_NAMESPACE_ID::Arena* arena,
406 bool is_message_owned = false);
407 public:
408
409 static const ClassData _class_data_;
410 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
411
412 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
413
414 // nested types ----------------------------------------------------
415
417
418 // accessors -------------------------------------------------------
419
420 enum : int {
421 kAppFieldNumber = 1,
422 kInterprocessFieldNumber = 2,
423 kMoosFieldNumber = 3,
424 kPollFrequencyFieldNumber = 20,
425 };
426 // optional .goby.middleware.protobuf.AppConfig app = 1;
427 bool has_app() const;
428 private:
429 bool _internal_has_app() const;
430 public:
431 void clear_app();
432 const ::goby::middleware::protobuf::AppConfig& app() const;
433 PROTOBUF_NODISCARD ::goby::middleware::protobuf::AppConfig* release_app();
435 void set_allocated_app(::goby::middleware::protobuf::AppConfig* app);
436 private:
437 const ::goby::middleware::protobuf::AppConfig& _internal_app() const;
438 ::goby::middleware::protobuf::AppConfig* _internal_mutable_app();
439 public:
440 void unsafe_arena_set_allocated_app(
442 ::goby::middleware::protobuf::AppConfig* unsafe_arena_release_app();
443
444 // optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2 [(.goby.field) = {
445 bool has_interprocess() const;
446 private:
447 bool _internal_has_interprocess() const;
448 public:
450 const ::goby::zeromq::protobuf::InterProcessPortalConfig& interprocess() const;
451 PROTOBUF_NODISCARD ::goby::zeromq::protobuf::InterProcessPortalConfig* release_interprocess();
453 void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
454 private:
455 const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess() const;
456 ::goby::zeromq::protobuf::InterProcessPortalConfig* _internal_mutable_interprocess();
457 public:
458 void unsafe_arena_set_allocated_interprocess(
460 ::goby::zeromq::protobuf::InterProcessPortalConfig* unsafe_arena_release_interprocess();
461
462 // optional .goby.apps.moos.protobuf.GobyMOOSGatewayConfig.MOOSConfig moos = 3;
463 bool has_moos() const;
464 private:
465 bool _internal_has_moos() const;
466 public:
467 void clear_moos();
468 const ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig& moos() const;
469 PROTOBUF_NODISCARD ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* release_moos();
472 private:
473 const ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig& _internal_moos() const;
475 public:
476 void unsafe_arena_set_allocated_moos(
479
480 // optional float poll_frequency = 20 [default = 10];
481 bool has_poll_frequency() const;
482 private:
483 bool _internal_has_poll_frequency() const;
484 public:
485 void clear_poll_frequency();
486 float poll_frequency() const;
487 void set_poll_frequency(float value);
488 private:
489 float _internal_poll_frequency() const;
490 void _internal_set_poll_frequency(float value);
491 public:
492
493
494 template <typename _proto_TypeTraits,
495 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
496 bool _is_packed>
497 inline bool HasExtension(
498 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
499 GobyMOOSGatewayConfig, _proto_TypeTraits, _field_type, _is_packed>& id) const {
500
501 return _impl_._extensions_.Has(id.number());
502 }
503
504 template <typename _proto_TypeTraits,
505 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
506 bool _is_packed>
507 inline void ClearExtension(
508 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
509 GobyMOOSGatewayConfig, _proto_TypeTraits, _field_type, _is_packed>& id) {
510 _impl_._extensions_.ClearExtension(id.number());
511
512 }
513
514 template <typename _proto_TypeTraits,
515 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
516 bool _is_packed>
517 inline int ExtensionSize(
518 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
519 GobyMOOSGatewayConfig, _proto_TypeTraits, _field_type, _is_packed>& id) const {
520
521 return _impl_._extensions_.ExtensionSize(id.number());
522 }
523
524 template <typename _proto_TypeTraits,
525 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
526 bool _is_packed>
527 inline typename _proto_TypeTraits::Singular::ConstType GetExtension(
528 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
529 GobyMOOSGatewayConfig, _proto_TypeTraits, _field_type, _is_packed>& id) const {
530
531 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_,
532 id.default_value());
533 }
534
535 template <typename _proto_TypeTraits,
536 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
537 bool _is_packed>
538 inline typename _proto_TypeTraits::Singular::MutableType MutableExtension(
539 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
540 GobyMOOSGatewayConfig, _proto_TypeTraits, _field_type, _is_packed>& id) {
541
542 return _proto_TypeTraits::Mutable(id.number(), _field_type,
543 &_impl_._extensions_);
544 }
545
546 template <typename _proto_TypeTraits,
547 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
548 bool _is_packed>
549 inline void SetExtension(
550 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
551 GobyMOOSGatewayConfig, _proto_TypeTraits, _field_type, _is_packed>& id,
552 typename _proto_TypeTraits::Singular::ConstType value) {
553 _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_);
554
555 }
556
557 template <typename _proto_TypeTraits,
558 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
559 bool _is_packed>
561 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
562 GobyMOOSGatewayConfig, _proto_TypeTraits, _field_type, _is_packed>& id,
563 typename _proto_TypeTraits::Singular::MutableType value) {
564 _proto_TypeTraits::SetAllocated(id.number(), _field_type, value,
565 &_impl_._extensions_);
566
567 }
568 template <typename _proto_TypeTraits,
569 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
570 bool _is_packed>
572 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
573 GobyMOOSGatewayConfig, _proto_TypeTraits, _field_type, _is_packed>& id,
574 typename _proto_TypeTraits::Singular::MutableType value) {
575 _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type,
576 value, &_impl_._extensions_);
577
578 }
579 template <typename _proto_TypeTraits,
580 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
581 bool _is_packed>
582 PROTOBUF_NODISCARD inline
583 typename _proto_TypeTraits::Singular::MutableType
585 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
586 GobyMOOSGatewayConfig, _proto_TypeTraits, _field_type, _is_packed>& id) {
587
588 return _proto_TypeTraits::Release(id.number(), _field_type,
589 &_impl_._extensions_);
590 }
591 template <typename _proto_TypeTraits,
592 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
593 bool _is_packed>
594 inline typename _proto_TypeTraits::Singular::MutableType
596 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
597 GobyMOOSGatewayConfig, _proto_TypeTraits, _field_type, _is_packed>& id) {
598
599 return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type,
600 &_impl_._extensions_);
601 }
602
603 template <typename _proto_TypeTraits,
604 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
605 bool _is_packed>
606 inline typename _proto_TypeTraits::Repeated::ConstType GetExtension(
607 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
608 GobyMOOSGatewayConfig, _proto_TypeTraits, _field_type, _is_packed>& id,
609 int index) const {
610
611 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index);
612 }
613
614 template <typename _proto_TypeTraits,
615 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
616 bool _is_packed>
617 inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension(
618 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
619 GobyMOOSGatewayConfig, _proto_TypeTraits, _field_type, _is_packed>& id,
620 int index) {
621
622 return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_);
623 }
624
625 template <typename _proto_TypeTraits,
626 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
627 bool _is_packed>
628 inline void SetExtension(
629 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
630 GobyMOOSGatewayConfig, _proto_TypeTraits, _field_type, _is_packed>& id,
631 int index, typename _proto_TypeTraits::Repeated::ConstType value) {
632 _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_);
633
634 }
635
636 template <typename _proto_TypeTraits,
637 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
638 bool _is_packed>
639 inline typename _proto_TypeTraits::Repeated::MutableType AddExtension(
640 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
641 GobyMOOSGatewayConfig, _proto_TypeTraits, _field_type, _is_packed>& id) {
642 typename _proto_TypeTraits::Repeated::MutableType to_add =
643 _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_);
644
645 return to_add;
646 }
647
648 template <typename _proto_TypeTraits,
649 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
650 bool _is_packed>
651 inline void AddExtension(
652 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
653 GobyMOOSGatewayConfig, _proto_TypeTraits, _field_type, _is_packed>& id,
654 typename _proto_TypeTraits::Repeated::ConstType value) {
655 _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value,
656 &_impl_._extensions_);
657
658 }
659
660 template <typename _proto_TypeTraits,
661 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
662 bool _is_packed>
663 inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType&
665 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
666 GobyMOOSGatewayConfig, _proto_TypeTraits, _field_type, _is_packed>& id) const {
667
668 return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_);
669 }
670
671 template <typename _proto_TypeTraits,
672 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
673 bool _is_packed>
674 inline typename _proto_TypeTraits::Repeated::RepeatedFieldType*
676 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
677 GobyMOOSGatewayConfig, _proto_TypeTraits, _field_type, _is_packed>& id) {
678
679 return _proto_TypeTraits::MutableRepeated(id.number(), _field_type,
680 _is_packed, &_impl_._extensions_);
681 }
682
683 // @@protoc_insertion_point(class_scope:goby.apps.moos.protobuf.GobyMOOSGatewayConfig)
684 private:
685 class _Internal;
686
687 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
688 typedef void InternalArenaConstructable_;
689 typedef void DestructorSkippable_;
690 struct Impl_ {
691 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_;
692
693 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
694 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
698 float poll_frequency_;
699 };
700 union { Impl_ _impl_; };
701 friend struct ::TableStruct_goby_2fmoos_2fprotobuf_2fmoos_5fgateway_5fconfig_2eproto;
702};
703// ===================================================================
704
705
706// ===================================================================
707
708#ifdef __GNUC__
709 #pragma GCC diagnostic push
710 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
711#endif // __GNUC__
712// GobyMOOSGatewayConfig_MOOSConfig
713
714// optional string server = 3 [default = "localhost"];
715inline bool GobyMOOSGatewayConfig_MOOSConfig::_internal_has_server() const {
716 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
717 return value;
718}
719inline bool GobyMOOSGatewayConfig_MOOSConfig::has_server() const {
720 return _internal_has_server();
721}
722inline void GobyMOOSGatewayConfig_MOOSConfig::clear_server() {
723 _impl_.server_.ClearToDefault(::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig::Impl_::_i_give_permission_to_break_this_code_default_server_, GetArenaForAllocation());
724 _impl_._has_bits_[0] &= ~0x00000001u;
725}
726inline const std::string& GobyMOOSGatewayConfig_MOOSConfig::server() const {
727 // @@protoc_insertion_point(field_get:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.MOOSConfig.server)
728 if (_impl_.server_.IsDefault()) return Impl_::_i_give_permission_to_break_this_code_default_server_.get();
729 return _internal_server();
730}
731template <typename ArgT0, typename... ArgT>
732inline PROTOBUF_ALWAYS_INLINE
733void GobyMOOSGatewayConfig_MOOSConfig::set_server(ArgT0&& arg0, ArgT... args) {
734 _impl_._has_bits_[0] |= 0x00000001u;
735 _impl_.server_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
736 // @@protoc_insertion_point(field_set:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.MOOSConfig.server)
737}
738inline std::string* GobyMOOSGatewayConfig_MOOSConfig::mutable_server() {
739 std::string* _s = _internal_mutable_server();
740 // @@protoc_insertion_point(field_mutable:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.MOOSConfig.server)
741 return _s;
742}
743inline const std::string& GobyMOOSGatewayConfig_MOOSConfig::_internal_server() const {
744 return _impl_.server_.Get();
745}
746inline void GobyMOOSGatewayConfig_MOOSConfig::_internal_set_server(const std::string& value) {
747 _impl_._has_bits_[0] |= 0x00000001u;
748 _impl_.server_.Set(value, GetArenaForAllocation());
749}
750inline std::string* GobyMOOSGatewayConfig_MOOSConfig::_internal_mutable_server() {
751 _impl_._has_bits_[0] |= 0x00000001u;
752 return _impl_.server_.Mutable(::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig::Impl_::_i_give_permission_to_break_this_code_default_server_, GetArenaForAllocation());
753}
754inline std::string* GobyMOOSGatewayConfig_MOOSConfig::release_server() {
755 // @@protoc_insertion_point(field_release:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.MOOSConfig.server)
756 if (!_internal_has_server()) {
757 return nullptr;
758 }
759 _impl_._has_bits_[0] &= ~0x00000001u;
760 auto* p = _impl_.server_.Release();
761 return p;
762}
763inline void GobyMOOSGatewayConfig_MOOSConfig::set_allocated_server(std::string* server) {
764 if (server != nullptr) {
765 _impl_._has_bits_[0] |= 0x00000001u;
766 } else {
767 _impl_._has_bits_[0] &= ~0x00000001u;
768 }
769 _impl_.server_.SetAllocated(server, GetArenaForAllocation());
770 // @@protoc_insertion_point(field_set_allocated:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.MOOSConfig.server)
771}
772
773// optional int32 port = 4 [default = 9000];
774inline bool GobyMOOSGatewayConfig_MOOSConfig::_internal_has_port() const {
775 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
776 return value;
777}
778inline bool GobyMOOSGatewayConfig_MOOSConfig::has_port() const {
779 return _internal_has_port();
780}
781inline void GobyMOOSGatewayConfig_MOOSConfig::clear_port() {
782 _impl_.port_ = 9000;
783 _impl_._has_bits_[0] &= ~0x00000004u;
784}
785inline int32_t GobyMOOSGatewayConfig_MOOSConfig::_internal_port() const {
786 return _impl_.port_;
787}
788inline int32_t GobyMOOSGatewayConfig_MOOSConfig::port() const {
789 // @@protoc_insertion_point(field_get:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.MOOSConfig.port)
790 return _internal_port();
791}
792inline void GobyMOOSGatewayConfig_MOOSConfig::_internal_set_port(int32_t value) {
793 _impl_._has_bits_[0] |= 0x00000004u;
794 _impl_.port_ = value;
795}
796inline void GobyMOOSGatewayConfig_MOOSConfig::set_port(int32_t value) {
797 _internal_set_port(value);
798 // @@protoc_insertion_point(field_set:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.MOOSConfig.port)
799}
800
801// optional bool use_binary_protobuf = 109 [default = false, (.goby.field) = {
802inline bool GobyMOOSGatewayConfig_MOOSConfig::_internal_has_use_binary_protobuf() const {
803 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
804 return value;
805}
806inline bool GobyMOOSGatewayConfig_MOOSConfig::has_use_binary_protobuf() const {
807 return _internal_has_use_binary_protobuf();
808}
809inline void GobyMOOSGatewayConfig_MOOSConfig::clear_use_binary_protobuf() {
810 _impl_.use_binary_protobuf_ = false;
811 _impl_._has_bits_[0] &= ~0x00000002u;
812}
813inline bool GobyMOOSGatewayConfig_MOOSConfig::_internal_use_binary_protobuf() const {
814 return _impl_.use_binary_protobuf_;
815}
816inline bool GobyMOOSGatewayConfig_MOOSConfig::use_binary_protobuf() const {
817 // @@protoc_insertion_point(field_get:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.MOOSConfig.use_binary_protobuf)
818 return _internal_use_binary_protobuf();
819}
820inline void GobyMOOSGatewayConfig_MOOSConfig::_internal_set_use_binary_protobuf(bool value) {
821 _impl_._has_bits_[0] |= 0x00000002u;
822 _impl_.use_binary_protobuf_ = value;
823}
824inline void GobyMOOSGatewayConfig_MOOSConfig::set_use_binary_protobuf(bool value) {
825 _internal_set_use_binary_protobuf(value);
826 // @@protoc_insertion_point(field_set:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.MOOSConfig.use_binary_protobuf)
827}
828
829// optional .goby.moos.protobuf.TranslatorEntry.ParserSerializerTechnique moos_parser_technique = 110 [default = TECHNIQUE_PREFIXED_PROTOBUF_TEXT_FORMAT];
830inline bool GobyMOOSGatewayConfig_MOOSConfig::_internal_has_moos_parser_technique() const {
831 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
832 return value;
833}
834inline bool GobyMOOSGatewayConfig_MOOSConfig::has_moos_parser_technique() const {
835 return _internal_has_moos_parser_technique();
836}
837inline void GobyMOOSGatewayConfig_MOOSConfig::clear_moos_parser_technique() {
838 _impl_.moos_parser_technique_ = 5;
839 _impl_._has_bits_[0] &= ~0x00000008u;
840}
841inline ::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique GobyMOOSGatewayConfig_MOOSConfig::_internal_moos_parser_technique() const {
842 return static_cast< ::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique >(_impl_.moos_parser_technique_);
843}
844inline ::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique GobyMOOSGatewayConfig_MOOSConfig::moos_parser_technique() const {
845 // @@protoc_insertion_point(field_get:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.MOOSConfig.moos_parser_technique)
846 return _internal_moos_parser_technique();
847}
848inline void GobyMOOSGatewayConfig_MOOSConfig::_internal_set_moos_parser_technique(::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique value) {
850 _impl_._has_bits_[0] |= 0x00000008u;
851 _impl_.moos_parser_technique_ = value;
852}
853inline void GobyMOOSGatewayConfig_MOOSConfig::set_moos_parser_technique(::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique value) {
854 _internal_set_moos_parser_technique(value);
855 // @@protoc_insertion_point(field_set:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.MOOSConfig.moos_parser_technique)
856}
857
858// -------------------------------------------------------------------
859
860// GobyMOOSGatewayConfig
861
862// optional .goby.middleware.protobuf.AppConfig app = 1;
863inline bool GobyMOOSGatewayConfig::_internal_has_app() const {
864 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
865 PROTOBUF_ASSUME(!value || _impl_.app_ != nullptr);
866 return value;
867}
868inline bool GobyMOOSGatewayConfig::has_app() const {
869 return _internal_has_app();
870}
871inline const ::goby::middleware::protobuf::AppConfig& GobyMOOSGatewayConfig::_internal_app() const {
872 const ::goby::middleware::protobuf::AppConfig* p = _impl_.app_;
873 return p != nullptr ? *p : reinterpret_cast<const ::goby::middleware::protobuf::AppConfig&>(
875}
876inline const ::goby::middleware::protobuf::AppConfig& GobyMOOSGatewayConfig::app() const {
877 // @@protoc_insertion_point(field_get:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.app)
878 return _internal_app();
879}
880inline void GobyMOOSGatewayConfig::unsafe_arena_set_allocated_app(
882 if (GetArenaForAllocation() == nullptr) {
883 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.app_);
884 }
885 _impl_.app_ = app;
886 if (app) {
887 _impl_._has_bits_[0] |= 0x00000001u;
888 } else {
889 _impl_._has_bits_[0] &= ~0x00000001u;
890 }
891 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.app)
892}
893inline ::goby::middleware::protobuf::AppConfig* GobyMOOSGatewayConfig::release_app() {
894 _impl_._has_bits_[0] &= ~0x00000001u;
895 ::goby::middleware::protobuf::AppConfig* temp = _impl_.app_;
896 _impl_.app_ = nullptr;
897#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
898 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
899 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
900 if (GetArenaForAllocation() == nullptr) { delete old; }
901#else // PROTOBUF_FORCE_COPY_IN_RELEASE
902 if (GetArenaForAllocation() != nullptr) {
903 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
904 }
905#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
906 return temp;
907}
908inline ::goby::middleware::protobuf::AppConfig* GobyMOOSGatewayConfig::unsafe_arena_release_app() {
909 // @@protoc_insertion_point(field_release:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.app)
910 _impl_._has_bits_[0] &= ~0x00000001u;
911 ::goby::middleware::protobuf::AppConfig* temp = _impl_.app_;
912 _impl_.app_ = nullptr;
913 return temp;
914}
915inline ::goby::middleware::protobuf::AppConfig* GobyMOOSGatewayConfig::_internal_mutable_app() {
916 _impl_._has_bits_[0] |= 0x00000001u;
917 if (_impl_.app_ == nullptr) {
918 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaForAllocation());
919 _impl_.app_ = p;
920 }
921 return _impl_.app_;
922}
923inline ::goby::middleware::protobuf::AppConfig* GobyMOOSGatewayConfig::mutable_app() {
924 ::goby::middleware::protobuf::AppConfig* _msg = _internal_mutable_app();
925 // @@protoc_insertion_point(field_mutable:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.app)
926 return _msg;
927}
928inline void GobyMOOSGatewayConfig::set_allocated_app(::goby::middleware::protobuf::AppConfig* app) {
929 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
930 if (message_arena == nullptr) {
931 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.app_);
932 }
933 if (app) {
934 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
935 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
936 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(app));
937 if (message_arena != submessage_arena) {
938 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
939 message_arena, app, submessage_arena);
940 }
941 _impl_._has_bits_[0] |= 0x00000001u;
942 } else {
943 _impl_._has_bits_[0] &= ~0x00000001u;
944 }
945 _impl_.app_ = app;
946 // @@protoc_insertion_point(field_set_allocated:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.app)
947}
948
949// optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2 [(.goby.field) = {
950inline bool GobyMOOSGatewayConfig::_internal_has_interprocess() const {
951 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
952 PROTOBUF_ASSUME(!value || _impl_.interprocess_ != nullptr);
953 return value;
954}
955inline bool GobyMOOSGatewayConfig::has_interprocess() const {
956 return _internal_has_interprocess();
957}
958inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& GobyMOOSGatewayConfig::_internal_interprocess() const {
959 const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = _impl_.interprocess_;
960 return p != nullptr ? *p : reinterpret_cast<const ::goby::zeromq::protobuf::InterProcessPortalConfig&>(
962}
963inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& GobyMOOSGatewayConfig::interprocess() const {
964 // @@protoc_insertion_point(field_get:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.interprocess)
965 return _internal_interprocess();
966}
967inline void GobyMOOSGatewayConfig::unsafe_arena_set_allocated_interprocess(
969 if (GetArenaForAllocation() == nullptr) {
970 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.interprocess_);
971 }
972 _impl_.interprocess_ = interprocess;
973 if (interprocess) {
974 _impl_._has_bits_[0] |= 0x00000002u;
975 } else {
976 _impl_._has_bits_[0] &= ~0x00000002u;
977 }
978 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.interprocess)
979}
980inline ::goby::zeromq::protobuf::InterProcessPortalConfig* GobyMOOSGatewayConfig::release_interprocess() {
981 _impl_._has_bits_[0] &= ~0x00000002u;
982 ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = _impl_.interprocess_;
983 _impl_.interprocess_ = nullptr;
984#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
985 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
986 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
987 if (GetArenaForAllocation() == nullptr) { delete old; }
988#else // PROTOBUF_FORCE_COPY_IN_RELEASE
989 if (GetArenaForAllocation() != nullptr) {
990 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
991 }
992#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
993 return temp;
994}
995inline ::goby::zeromq::protobuf::InterProcessPortalConfig* GobyMOOSGatewayConfig::unsafe_arena_release_interprocess() {
996 // @@protoc_insertion_point(field_release:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.interprocess)
997 _impl_._has_bits_[0] &= ~0x00000002u;
998 ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = _impl_.interprocess_;
999 _impl_.interprocess_ = nullptr;
1000 return temp;
1001}
1002inline ::goby::zeromq::protobuf::InterProcessPortalConfig* GobyMOOSGatewayConfig::_internal_mutable_interprocess() {
1003 _impl_._has_bits_[0] |= 0x00000002u;
1004 if (_impl_.interprocess_ == nullptr) {
1006 _impl_.interprocess_ = p;
1007 }
1008 return _impl_.interprocess_;
1009}
1010inline ::goby::zeromq::protobuf::InterProcessPortalConfig* GobyMOOSGatewayConfig::mutable_interprocess() {
1011 ::goby::zeromq::protobuf::InterProcessPortalConfig* _msg = _internal_mutable_interprocess();
1012 // @@protoc_insertion_point(field_mutable:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.interprocess)
1013 return _msg;
1014}
1015inline void GobyMOOSGatewayConfig::set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
1016 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1017 if (message_arena == nullptr) {
1018 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.interprocess_);
1019 }
1020 if (interprocess) {
1021 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1022 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1023 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(interprocess));
1024 if (message_arena != submessage_arena) {
1025 interprocess = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1026 message_arena, interprocess, submessage_arena);
1027 }
1028 _impl_._has_bits_[0] |= 0x00000002u;
1029 } else {
1030 _impl_._has_bits_[0] &= ~0x00000002u;
1031 }
1032 _impl_.interprocess_ = interprocess;
1033 // @@protoc_insertion_point(field_set_allocated:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.interprocess)
1034}
1035
1036// optional .goby.apps.moos.protobuf.GobyMOOSGatewayConfig.MOOSConfig moos = 3;
1037inline bool GobyMOOSGatewayConfig::_internal_has_moos() const {
1038 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1039 PROTOBUF_ASSUME(!value || _impl_.moos_ != nullptr);
1040 return value;
1041}
1042inline bool GobyMOOSGatewayConfig::has_moos() const {
1043 return _internal_has_moos();
1044}
1045inline void GobyMOOSGatewayConfig::clear_moos() {
1046 if (_impl_.moos_ != nullptr) _impl_.moos_->Clear();
1047 _impl_._has_bits_[0] &= ~0x00000004u;
1048}
1049inline const ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig& GobyMOOSGatewayConfig::_internal_moos() const {
1050 const ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* p = _impl_.moos_;
1051 return p != nullptr ? *p : reinterpret_cast<const ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig&>(
1053}
1054inline const ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig& GobyMOOSGatewayConfig::moos() const {
1055 // @@protoc_insertion_point(field_get:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.moos)
1056 return _internal_moos();
1057}
1058inline void GobyMOOSGatewayConfig::unsafe_arena_set_allocated_moos(
1060 if (GetArenaForAllocation() == nullptr) {
1061 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.moos_);
1062 }
1063 _impl_.moos_ = moos;
1064 if (moos) {
1065 _impl_._has_bits_[0] |= 0x00000004u;
1066 } else {
1067 _impl_._has_bits_[0] &= ~0x00000004u;
1068 }
1069 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.moos)
1070}
1071inline ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* GobyMOOSGatewayConfig::release_moos() {
1072 _impl_._has_bits_[0] &= ~0x00000004u;
1074 _impl_.moos_ = nullptr;
1075#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1076 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1077 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1078 if (GetArenaForAllocation() == nullptr) { delete old; }
1079#else // PROTOBUF_FORCE_COPY_IN_RELEASE
1080 if (GetArenaForAllocation() != nullptr) {
1081 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1082 }
1083#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1084 return temp;
1085}
1086inline ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* GobyMOOSGatewayConfig::unsafe_arena_release_moos() {
1087 // @@protoc_insertion_point(field_release:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.moos)
1088 _impl_._has_bits_[0] &= ~0x00000004u;
1090 _impl_.moos_ = nullptr;
1091 return temp;
1092}
1093inline ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* GobyMOOSGatewayConfig::_internal_mutable_moos() {
1094 _impl_._has_bits_[0] |= 0x00000004u;
1095 if (_impl_.moos_ == nullptr) {
1097 _impl_.moos_ = p;
1098 }
1099 return _impl_.moos_;
1100}
1101inline ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* GobyMOOSGatewayConfig::mutable_moos() {
1103 // @@protoc_insertion_point(field_mutable:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.moos)
1104 return _msg;
1105}
1106inline void GobyMOOSGatewayConfig::set_allocated_moos(::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* moos) {
1107 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1108 if (message_arena == nullptr) {
1109 delete _impl_.moos_;
1110 }
1111 if (moos) {
1112 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1113 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(moos);
1114 if (message_arena != submessage_arena) {
1115 moos = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1116 message_arena, moos, submessage_arena);
1117 }
1118 _impl_._has_bits_[0] |= 0x00000004u;
1119 } else {
1120 _impl_._has_bits_[0] &= ~0x00000004u;
1121 }
1122 _impl_.moos_ = moos;
1123 // @@protoc_insertion_point(field_set_allocated:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.moos)
1124}
1125
1126// optional float poll_frequency = 20 [default = 10];
1127inline bool GobyMOOSGatewayConfig::_internal_has_poll_frequency() const {
1128 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
1129 return value;
1130}
1131inline bool GobyMOOSGatewayConfig::has_poll_frequency() const {
1132 return _internal_has_poll_frequency();
1133}
1134inline void GobyMOOSGatewayConfig::clear_poll_frequency() {
1135 _impl_.poll_frequency_ = 10;
1136 _impl_._has_bits_[0] &= ~0x00000008u;
1137}
1138inline float GobyMOOSGatewayConfig::_internal_poll_frequency() const {
1139 return _impl_.poll_frequency_;
1140}
1141inline float GobyMOOSGatewayConfig::poll_frequency() const {
1142 // @@protoc_insertion_point(field_get:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.poll_frequency)
1143 return _internal_poll_frequency();
1144}
1145inline void GobyMOOSGatewayConfig::_internal_set_poll_frequency(float value) {
1146 _impl_._has_bits_[0] |= 0x00000008u;
1147 _impl_.poll_frequency_ = value;
1148}
1149inline void GobyMOOSGatewayConfig::set_poll_frequency(float value) {
1150 _internal_set_poll_frequency(value);
1151 // @@protoc_insertion_point(field_set:goby.apps.moos.protobuf.GobyMOOSGatewayConfig.poll_frequency)
1152}
1153
1154#ifdef __GNUC__
1155 #pragma GCC diagnostic pop
1156#endif // __GNUC__
1157// -------------------------------------------------------------------
1158
1159
1160// @@protoc_insertion_point(namespace_scope)
1161
1162} // namespace protobuf
1163} // namespace moos
1164} // namespace apps
1165} // namespace goby
1166
1167// @@protoc_insertion_point(global_scope)
1168
1169#include <google/protobuf/port_undef.inc>
1170#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_goby_2fmoos_2fprotobuf_2fmoos_5fgateway_5fconfig_2eproto
PROTOBUF_NAMESPACE_OPEN ::goby::middleware::protobuf::AppConfig * Arena::CreateMaybeMessage<::goby::middleware::protobuf::AppConfig >(Arena *)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
static const GobyMOOSGatewayConfig_MOOSConfig * internal_default_instance()
GobyMOOSGatewayConfig_MOOSConfig & operator=(const GobyMOOSGatewayConfig_MOOSConfig &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void MergeFrom(const GobyMOOSGatewayConfig_MOOSConfig &from)
GobyMOOSGatewayConfig_MOOSConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
GobyMOOSGatewayConfig_MOOSConfig & operator=(GobyMOOSGatewayConfig_MOOSConfig &&from) noexcept
GobyMOOSGatewayConfig_MOOSConfig(const GobyMOOSGatewayConfig_MOOSConfig &from)
void UnsafeArenaSwap(GobyMOOSGatewayConfig_MOOSConfig *other)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
GobyMOOSGatewayConfig_MOOSConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
PROTOBUF_CONSTEXPR GobyMOOSGatewayConfig_MOOSConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void set_moos_parser_technique(::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique value)
::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique moos_parser_technique() const
static const GobyMOOSGatewayConfig_MOOSConfig & default_instance()
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
friend void swap(GobyMOOSGatewayConfig_MOOSConfig &a, GobyMOOSGatewayConfig_MOOSConfig &b)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void CopyFrom(const GobyMOOSGatewayConfig_MOOSConfig &from)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
GobyMOOSGatewayConfig_MOOSConfig(GobyMOOSGatewayConfig_MOOSConfig &&from) noexcept
_proto_TypeTraits::Singular::MutableType UnsafeArenaReleaseExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< GobyMOOSGatewayConfig, _proto_TypeTraits, _field_type, _is_packed > &id)
void SetExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< GobyMOOSGatewayConfig, _proto_TypeTraits, _field_type, _is_packed > &id, typename _proto_TypeTraits::Singular::ConstType value)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void ClearExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< GobyMOOSGatewayConfig, _proto_TypeTraits, _field_type, _is_packed > &id)
bool HasExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< GobyMOOSGatewayConfig, _proto_TypeTraits, _field_type, _is_packed > &id) const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
_proto_TypeTraits::Repeated::MutableType MutableExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< GobyMOOSGatewayConfig, _proto_TypeTraits, _field_type, _is_packed > &id, int index)
GobyMOOSGatewayConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void CopyFrom(const GobyMOOSGatewayConfig &from)
void MergeFrom(const GobyMOOSGatewayConfig &from)
static const GobyMOOSGatewayConfig & default_instance()
PROTOBUF_NODISCARD _proto_TypeTraits::Singular::MutableType ReleaseExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< GobyMOOSGatewayConfig, _proto_TypeTraits, _field_type, _is_packed > &id)
GobyMOOSGatewayConfig(GobyMOOSGatewayConfig &&from) noexcept
_proto_TypeTraits::Singular::MutableType MutableExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< GobyMOOSGatewayConfig, _proto_TypeTraits, _field_type, _is_packed > &id)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
friend void swap(GobyMOOSGatewayConfig &a, GobyMOOSGatewayConfig &b)
_proto_TypeTraits::Singular::ConstType GetExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< GobyMOOSGatewayConfig, _proto_TypeTraits, _field_type, _is_packed > &id) const
void SetAllocatedExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< GobyMOOSGatewayConfig, _proto_TypeTraits, _field_type, _is_packed > &id, typename _proto_TypeTraits::Singular::MutableType value)
void UnsafeArenaSetAllocatedExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< GobyMOOSGatewayConfig, _proto_TypeTraits, _field_type, _is_packed > &id, typename _proto_TypeTraits::Singular::MutableType value)
GobyMOOSGatewayConfig & operator=(const GobyMOOSGatewayConfig &from)
GobyMOOSGatewayConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
static const GobyMOOSGatewayConfig * internal_default_instance()
void AddExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< GobyMOOSGatewayConfig, _proto_TypeTraits, _field_type, _is_packed > &id, typename _proto_TypeTraits::Repeated::ConstType value)
GobyMOOSGatewayConfig & operator=(GobyMOOSGatewayConfig &&from) noexcept
GobyMOOSGatewayConfig(const GobyMOOSGatewayConfig &from)
int ExtensionSize(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< GobyMOOSGatewayConfig, _proto_TypeTraits, _field_type, _is_packed > &id) const
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
_proto_TypeTraits::Repeated::MutableType AddExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< GobyMOOSGatewayConfig, _proto_TypeTraits, _field_type, _is_packed > &id)
const _proto_TypeTraits::Repeated::RepeatedFieldType & GetRepeatedExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< GobyMOOSGatewayConfig, _proto_TypeTraits, _field_type, _is_packed > &id) const
_proto_TypeTraits::Repeated::RepeatedFieldType * MutableRepeatedExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< GobyMOOSGatewayConfig, _proto_TypeTraits, _field_type, _is_packed > &id)
_proto_TypeTraits::Repeated::ConstType GetExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< GobyMOOSGatewayConfig, _proto_TypeTraits, _field_type, _is_packed > &id, int index) const
PROTOBUF_CONSTEXPR GobyMOOSGatewayConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void SetExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< GobyMOOSGatewayConfig, _proto_TypeTraits, _field_type, _is_packed > &id, int index, typename _proto_TypeTraits::Repeated::ConstType value)
::goby::zeromq::protobuf::InterProcessPortalConfig * Arena::CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig >(Arena *)
::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig * Arena::CreateMaybeMessage<::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig >(Arena *)
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fmoos_2fprotobuf_2fmoos_5fgateway_5fconfig_2eproto
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.
#define ByteSizeLong