4 #ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2fmoos_2fprotobuf_2fmoos_5fgateway_5fconfig_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_goby_2fmoos_2fprotobuf_2fmoos_5fgateway_5fconfig_2eproto
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
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.
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_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>
33 #include <google/protobuf/extension_set.h>
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>
44 #include <google/protobuf/port_def.inc>
45 #define PROTOBUF_INTERNAL_EXPORT_goby_2fmoos_2fprotobuf_2fmoos_5fgateway_5fconfig_2eproto
46 PROTOBUF_NAMESPACE_OPEN
50 PROTOBUF_NAMESPACE_CLOSE
54 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
56 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
58 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2]
60 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata
field_metadata[];
69 class GobyMOOSGatewayConfig;
70 class GobyMOOSGatewayConfigDefaultTypeInternal;
72 class GobyMOOSGatewayConfig_MOOSConfig;
73 class GobyMOOSGatewayConfig_MOOSConfigDefaultTypeInternal;
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
90 class GobyMOOSGatewayConfig_MOOSConfig PROTOBUF_FINAL :
91 public ::PROTOBUF_NAMESPACE_ID::Message {
98 : GobyMOOSGatewayConfig_MOOSConfig() {
99 *
this = ::std::move(from);
102 inline GobyMOOSGatewayConfig_MOOSConfig&
operator=(
const GobyMOOSGatewayConfig_MOOSConfig& from) {
106 inline GobyMOOSGatewayConfig_MOOSConfig&
operator=(GobyMOOSGatewayConfig_MOOSConfig&& from) noexcept {
107 if (GetArena() == from.GetArena()) {
108 if (
this != &from) InternalSwap(&from);
116 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
119 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
122 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
123 return GetDescriptor();
126 return GetMetadataStatic().descriptor;
129 return GetMetadataStatic().reflection;
135 return reinterpret_cast<const GobyMOOSGatewayConfig_MOOSConfig*
>(
138 static constexpr
int kIndexInFileMessages =
141 friend void swap(GobyMOOSGatewayConfig_MOOSConfig& a, GobyMOOSGatewayConfig_MOOSConfig& b) {
144 inline void Swap(GobyMOOSGatewayConfig_MOOSConfig* other) {
145 if (other ==
this)
return;
146 if (GetArena() == other->GetArena()) {
149 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
153 if (other ==
this)
return;
154 GOOGLE_DCHECK(GetArena() == other->GetArena());
160 inline GobyMOOSGatewayConfig_MOOSConfig*
New() const final {
161 return CreateMaybeMessage<GobyMOOSGatewayConfig_MOOSConfig>(
nullptr);
164 GobyMOOSGatewayConfig_MOOSConfig*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
165 return CreateMaybeMessage<GobyMOOSGatewayConfig_MOOSConfig>(arena);
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;
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(); }
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";
192 static void ArenaDtor(
void*
object);
193 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
198 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
210 kServerFieldNumber = 3,
211 kUseBinaryProtobufFieldNumber = 109,
212 kPortFieldNumber = 4,
213 kMoosParserTechniqueFieldNumber = 110,
218 bool _internal_has_server()
const;
229 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED(
"The unsafe_arena_ accessors for"
230 " string fields are deprecated and will be removed in a"
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"
236 void unsafe_arena_set_allocated_server(
237 std::
string* server);
239 const std::
string& _internal_server() const;
240 void _internal_set_server(const std::
string& value);
241 std::
string* _internal_mutable_server();
245 bool has_use_binary_protobuf() const;
247 bool _internal_has_use_binary_protobuf() const;
249 void clear_use_binary_protobuf();
250 bool use_binary_protobuf() const;
251 void set_use_binary_protobuf(
bool value);
253 bool _internal_use_binary_protobuf() const;
254 void _internal_set_use_binary_protobuf(
bool value);
258 bool has_port() const;
260 bool _internal_has_port() const;
263 ::PROTOBUF_NAMESPACE_ID::
int32 port() const;
264 void set_port(::PROTOBUF_NAMESPACE_ID::
int32 value);
266 ::PROTOBUF_NAMESPACE_ID::
int32 _internal_port() const;
267 void _internal_set_port(::PROTOBUF_NAMESPACE_ID::
int32 value);
271 bool has_moos_parser_technique() const;
273 bool _internal_has_moos_parser_technique() const;
275 void clear_moos_parser_technique();
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_;
293 static ::PROTOBUF_NAMESPACE_ID::
internal::ExplicitlyConstructed<std::
string> _i_give_permission_to_break_this_code_default_server_;
295 ::PROTOBUF_NAMESPACE_ID::
internal::ArenaStringPtr server_;
296 bool use_binary_protobuf_;
297 ::PROTOBUF_NAMESPACE_ID::
int32 port_;
298 int moos_parser_technique_;
304 public ::PROTOBUF_NAMESPACE_ID::Message {
311 : GobyMOOSGatewayConfig() {
312 *
this = ::std::move(from);
315 inline GobyMOOSGatewayConfig&
operator=(
const GobyMOOSGatewayConfig& from) {
319 inline GobyMOOSGatewayConfig&
operator=(GobyMOOSGatewayConfig&& from) noexcept {
320 if (GetArena() == from.GetArena()) {
321 if (
this != &from) InternalSwap(&from);
329 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
332 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
335 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
336 return GetDescriptor();
339 return GetMetadataStatic().descriptor;
342 return GetMetadataStatic().reflection;
348 return reinterpret_cast<const GobyMOOSGatewayConfig*
>(
351 static constexpr
int kIndexInFileMessages =
354 friend void swap(GobyMOOSGatewayConfig& a, GobyMOOSGatewayConfig& b) {
357 inline void Swap(GobyMOOSGatewayConfig* other) {
358 if (other ==
this)
return;
359 if (GetArena() == other->GetArena()) {
362 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
366 if (other ==
this)
return;
367 GOOGLE_DCHECK(GetArena() == other->GetArena());
373 inline GobyMOOSGatewayConfig*
New() const final {
374 return CreateMaybeMessage<GobyMOOSGatewayConfig>(
nullptr);
377 GobyMOOSGatewayConfig*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
378 return CreateMaybeMessage<GobyMOOSGatewayConfig>(arena);
380 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
381 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
384 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
385 bool IsInitialized() 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(); }
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";
405 static void ArenaDtor(
void*
object);
406 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
411 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
426 kInterprocessFieldNumber = 2,
427 kMoosFieldNumber = 3,
428 kPollFrequencyFieldNumber = 20,
433 bool _internal_has_app()
const;
436 const ::goby::middleware::protobuf::AppConfig&
app()
const;
441 const ::goby::middleware::protobuf::AppConfig& _internal_app()
const;
442 ::goby::middleware::protobuf::AppConfig* _internal_mutable_app();
445 ::goby::middleware::protobuf::AppConfig* app);
451 bool _internal_has_interprocess()
const;
454 const ::goby::zeromq::protobuf::InterProcessPortalConfig&
interprocess()
const;
459 const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess()
const;
460 ::goby::zeromq::protobuf::InterProcessPortalConfig* _internal_mutable_interprocess();
463 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
469 bool _internal_has_moos()
const;
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();
477 const ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig& _internal_moos()
const;
478 ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* _internal_mutable_moos();
481 ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* moos);
487 bool _internal_has_poll_frequency()
const;
493 float _internal_poll_frequency()
const;
494 void _internal_set_poll_frequency(
float value);
497 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(GobyMOOSGatewayConfig)
502 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_;
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;
521 #pragma GCC diagnostic push
522 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
527 inline bool GobyMOOSGatewayConfig_MOOSConfig::_internal_has_server()
const {
528 bool value = (_has_bits_[0] & 0x00000001u) != 0;
531 inline bool GobyMOOSGatewayConfig_MOOSConfig::has_server()
const {
532 return _internal_has_server();
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;
538 inline const std::string& GobyMOOSGatewayConfig_MOOSConfig::server()
const {
540 return _internal_server();
542 inline void GobyMOOSGatewayConfig_MOOSConfig::set_server(
const std::string& value) {
543 _internal_set_server(value);
546 inline std::string* GobyMOOSGatewayConfig_MOOSConfig::mutable_server() {
548 return _internal_mutable_server();
550 inline const std::string& GobyMOOSGatewayConfig_MOOSConfig::_internal_server()
const {
551 return server_.Get();
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());
557 inline void GobyMOOSGatewayConfig_MOOSConfig::set_server(std::string&& value) {
558 _has_bits_[0] |= 0x00000001u;
560 &::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig::_i_give_permission_to_break_this_code_default_server_.
get(), ::std::move(value), GetArena());
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),
570 inline void GobyMOOSGatewayConfig_MOOSConfig::set_server(
const char* value,
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());
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());
581 inline std::string* GobyMOOSGatewayConfig_MOOSConfig::release_server() {
583 if (!_internal_has_server()) {
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());
589 inline void GobyMOOSGatewayConfig_MOOSConfig::set_allocated_server(std::string* server) {
590 if (server !=
nullptr) {
591 _has_bits_[0] |= 0x00000001u;
593 _has_bits_[0] &= ~0x00000001u;
595 server_.SetAllocated(&::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig::_i_give_permission_to_break_this_code_default_server_.
get(), server,
599 inline std::string* GobyMOOSGatewayConfig_MOOSConfig::unsafe_arena_release_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(),
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;
612 _has_bits_[0] &= ~0x00000001u;
614 server_.UnsafeArenaSetAllocated(&::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig::_i_give_permission_to_break_this_code_default_server_.
get(),
620 inline bool GobyMOOSGatewayConfig_MOOSConfig::_internal_has_port()
const {
621 bool value = (_has_bits_[0] & 0x00000004u) != 0;
624 inline bool GobyMOOSGatewayConfig_MOOSConfig::has_port()
const {
625 return _internal_has_port();
627 inline void GobyMOOSGatewayConfig_MOOSConfig::clear_port() {
629 _has_bits_[0] &= ~0x00000004u;
636 return _internal_port();
639 _has_bits_[0] |= 0x00000004u;
643 _internal_set_port(value);
648 inline bool GobyMOOSGatewayConfig_MOOSConfig::_internal_has_use_binary_protobuf()
const {
649 bool value = (_has_bits_[0] & 0x00000002u) != 0;
652 inline bool GobyMOOSGatewayConfig_MOOSConfig::has_use_binary_protobuf()
const {
653 return _internal_has_use_binary_protobuf();
655 inline void GobyMOOSGatewayConfig_MOOSConfig::clear_use_binary_protobuf() {
656 use_binary_protobuf_ =
false;
657 _has_bits_[0] &= ~0x00000002u;
659 inline bool GobyMOOSGatewayConfig_MOOSConfig::_internal_use_binary_protobuf()
const {
660 return use_binary_protobuf_;
662 inline bool GobyMOOSGatewayConfig_MOOSConfig::use_binary_protobuf()
const {
664 return _internal_use_binary_protobuf();
666 inline void GobyMOOSGatewayConfig_MOOSConfig::_internal_set_use_binary_protobuf(
bool value) {
667 _has_bits_[0] |= 0x00000002u;
668 use_binary_protobuf_ =
value;
670 inline void GobyMOOSGatewayConfig_MOOSConfig::set_use_binary_protobuf(
bool value) {
671 _internal_set_use_binary_protobuf(value);
676 inline bool GobyMOOSGatewayConfig_MOOSConfig::_internal_has_moos_parser_technique()
const {
677 bool value = (_has_bits_[0] & 0x00000008u) != 0;
680 inline bool GobyMOOSGatewayConfig_MOOSConfig::has_moos_parser_technique()
const {
681 return _internal_has_moos_parser_technique();
683 inline void GobyMOOSGatewayConfig_MOOSConfig::clear_moos_parser_technique() {
684 moos_parser_technique_ = 5;
685 _has_bits_[0] &= ~0x00000008u;
692 return _internal_moos_parser_technique();
696 _has_bits_[0] |= 0x00000008u;
697 moos_parser_technique_ =
value;
700 _internal_set_moos_parser_technique(value);
709 inline bool GobyMOOSGatewayConfig::_internal_has_app()
const {
710 bool value = (_has_bits_[0] & 0x00000001u) != 0;
711 PROTOBUF_ASSUME(!value || app_ !=
nullptr);
714 inline bool GobyMOOSGatewayConfig::has_app()
const {
715 return _internal_has_app();
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*
>(
722 inline const ::goby::middleware::protobuf::AppConfig& GobyMOOSGatewayConfig::app()
const {
724 return _internal_app();
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_);
733 _has_bits_[0] |= 0x00000001u;
735 _has_bits_[0] &= ~0x00000001u;
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);
746 inline ::goby::middleware::protobuf::AppConfig* GobyMOOSGatewayConfig::unsafe_arena_release_app() {
748 _has_bits_[0] &= ~0x00000001u;
749 ::goby::middleware::protobuf::AppConfig* temp = app_;
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());
761 inline ::goby::middleware::protobuf::AppConfig* GobyMOOSGatewayConfig::mutable_app() {
763 return _internal_mutable_app();
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_);
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);
777 _has_bits_[0] |= 0x00000001u;
779 _has_bits_[0] &= ~0x00000001u;
786 inline bool GobyMOOSGatewayConfig::_internal_has_interprocess()
const {
787 bool value = (_has_bits_[0] & 0x00000002u) != 0;
788 PROTOBUF_ASSUME(!value || interprocess_ !=
nullptr);
791 inline bool GobyMOOSGatewayConfig::has_interprocess()
const {
792 return _internal_has_interprocess();
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*
>(
799 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& GobyMOOSGatewayConfig::interprocess()
const {
801 return _internal_interprocess();
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_);
808 interprocess_ = interprocess;
810 _has_bits_[0] |= 0x00000002u;
812 _has_bits_[0] &= ~0x00000002u;
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);
823 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* GobyMOOSGatewayConfig::unsafe_arena_release_interprocess() {
825 _has_bits_[0] &= ~0x00000002u;
826 ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = interprocess_;
827 interprocess_ =
nullptr;
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());
836 return interprocess_;
838 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* GobyMOOSGatewayConfig::mutable_interprocess() {
840 return _internal_mutable_interprocess();
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_);
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);
854 _has_bits_[0] |= 0x00000002u;
856 _has_bits_[0] &= ~0x00000002u;
858 interprocess_ = interprocess;
863 inline bool GobyMOOSGatewayConfig::_internal_has_moos()
const {
864 bool value = (_has_bits_[0] & 0x00000004u) != 0;
865 PROTOBUF_ASSUME(!value || moos_ !=
nullptr);
868 inline bool GobyMOOSGatewayConfig::has_moos()
const {
869 return _internal_has_moos();
871 inline void GobyMOOSGatewayConfig::clear_moos() {
872 if (moos_ !=
nullptr) moos_->Clear();
873 _has_bits_[0] &= ~0x00000004u;
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*
>(
880 inline const ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig& GobyMOOSGatewayConfig::moos()
const {
882 return _internal_moos();
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_);
891 _has_bits_[0] |= 0x00000004u;
893 _has_bits_[0] &= ~0x00000004u;
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);
904 inline ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* GobyMOOSGatewayConfig::unsafe_arena_release_moos() {
906 _has_bits_[0] &= ~0x00000004u;
907 ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* temp = moos_;
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());
919 inline ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* GobyMOOSGatewayConfig::mutable_moos() {
921 return _internal_mutable_moos();
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) {
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);
935 _has_bits_[0] |= 0x00000004u;
937 _has_bits_[0] &= ~0x00000004u;
944 inline bool GobyMOOSGatewayConfig::_internal_has_poll_frequency()
const {
945 bool value = (_has_bits_[0] & 0x00000008u) != 0;
948 inline bool GobyMOOSGatewayConfig::has_poll_frequency()
const {
949 return _internal_has_poll_frequency();
951 inline void GobyMOOSGatewayConfig::clear_poll_frequency() {
952 poll_frequency_ = 10;
953 _has_bits_[0] &= ~0x00000008u;
955 inline float GobyMOOSGatewayConfig::_internal_poll_frequency()
const {
956 return poll_frequency_;
958 inline float GobyMOOSGatewayConfig::poll_frequency()
const {
960 return _internal_poll_frequency();
962 inline void GobyMOOSGatewayConfig::_internal_set_poll_frequency(
float value) {
963 _has_bits_[0] |= 0x00000008u;
964 poll_frequency_ =
value;
966 inline void GobyMOOSGatewayConfig::set_poll_frequency(
float value) {
967 _internal_set_poll_frequency(value);
972 #pragma GCC diagnostic pop
986 #include <google/protobuf/port_undef.inc>
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()
std::string * release_server()
static void InitAsDefaultInstance()
const std::string & server() const
void unsafe_arena_set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
GobyMOOSGatewayConfig_MOOSConfig * New() const final
GobyMOOSGatewayConfig_MOOSConfig()
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)
virtual ~GobyMOOSGatewayConfig()
void unsafe_arena_set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
void clear_poll_frequency()
const ::goby::middleware::protobuf::AppConfig & app() const
void clear_interprocess()
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
std::string * mutable_server()
GobyMOOSGatewayConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
::goby::middleware::protobuf::AppConfig * unsafe_arena_release_app()
bool has_poll_frequency() const
::goby::middleware::protobuf::AppConfig * mutable_app()
static const GobyMOOSGatewayConfig_MOOSConfig & default_instance()
void set_server(const char *value)
::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)
virtual ~GobyMOOSGatewayConfig_MOOSConfig()
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 set_poll_frequency(float value)
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
float poll_frequency() const
bool has_interprocess() const
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())
GobyMOOSGatewayConfig_MOOSConfigDefaultTypeInternal _GobyMOOSGatewayConfig_MOOSConfig_default_instance_
GobyMOOSGatewayConfigDefaultTypeInternal _GobyMOOSGatewayConfig_default_instance_
AppConfigDefaultTypeInternal _AppConfig_default_instance_
bool TranslatorEntry_ParserSerializerTechnique_IsValid(int value)
TranslatorEntry_ParserSerializerTechnique
InterProcessPortalConfigDefaultTypeInternal _InterProcessPortalConfig_default_instance_
The global namespace for the Goby project.
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]
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[]