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 < 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
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.
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>
31#include <google/protobuf/extension_set.h>
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>
42#include <google/protobuf/port_def.inc>
43#define PROTOBUF_INTERNAL_EXPORT_goby_2fmoos_2fprotobuf_2fmoos_5fgateway_5fconfig_2eproto
44PROTOBUF_NAMESPACE_OPEN
48PROTOBUF_NAMESPACE_CLOSE
59class GobyMOOSGatewayConfig;
60struct GobyMOOSGatewayConfigDefaultTypeInternal;
62class GobyMOOSGatewayConfig_MOOSConfig;
63struct GobyMOOSGatewayConfig_MOOSConfigDefaultTypeInternal;
69PROTOBUF_NAMESPACE_OPEN
72PROTOBUF_NAMESPACE_CLOSE
81 public ::PROTOBUF_NAMESPACE_ID::Message {
90 *
this = ::std::move(from);
98 if (
this == &from)
return *
this;
99 if (GetOwningArena() == from.GetOwningArena()
100 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
101 && GetOwningArena() !=
nullptr
112 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
115 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
118 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
141 if (other ==
this)
return;
142 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
143 if (GetOwningArena() !=
nullptr &&
144 GetOwningArena() == other->GetOwningArena()) {
146 if (GetOwningArena() == other->GetOwningArena()) {
150 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
154 if (other ==
this)
return;
155 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
162 return CreateMaybeMessage<GobyMOOSGatewayConfig_MOOSConfig>(arena);
164 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
166 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
168 GobyMOOSGatewayConfig_MOOSConfig::MergeImpl(*
this, from);
171 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
173 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
179 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
183 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
185 void SetCachedSize(
int size)
const final;
189 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
190 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
191 return "goby.apps.moos.protobuf.GobyMOOSGatewayConfig.MOOSConfig";
195 bool is_message_owned =
false);
199 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
216 bool _internal_has_server()
const;
219 const std::string&
server()
const;
220 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
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();
234 bool _internal_has_use_binary_protobuf()
const;
240 bool _internal_use_binary_protobuf()
const;
241 void _internal_set_use_binary_protobuf(
bool value);
247 bool _internal_has_port()
const;
250 int32_t
port()
const;
253 int32_t _internal_port()
const;
254 void _internal_set_port(int32_t value);
260 bool _internal_has_moos_parser_technique()
const;
274 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
275 typedef void InternalArenaConstructable_;
276 typedef void DestructorSkippable_;
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_;
284 int moos_parser_technique_;
287 friend struct ::TableStruct_goby_2fmoos_2fprotobuf_2fmoos_5fgateway_5fconfig_2eproto;
292 public ::PROTOBUF_NAMESPACE_ID::Message {
301 *
this = ::std::move(from);
309 if (
this == &from)
return *
this;
310 if (GetOwningArena() == from.GetOwningArena()
311 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
312 && GetOwningArena() !=
nullptr
323 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
326 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
329 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
330 return GetDescriptor();
333 return default_instance().GetMetadata().descriptor;
336 return default_instance().GetMetadata().reflection;
339 return *internal_default_instance();
345 static constexpr int kIndexInFileMessages =
352 if (other ==
this)
return;
353 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
354 if (GetOwningArena() !=
nullptr &&
355 GetOwningArena() == other->GetOwningArena()) {
357 if (GetOwningArena() == other->GetOwningArena()) {
361 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
365 if (other ==
this)
return;
366 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
373 return CreateMaybeMessage<GobyMOOSGatewayConfig>(arena);
375 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
377 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
379 GobyMOOSGatewayConfig::MergeImpl(*
this, from);
382 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
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 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(); }
394 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
396 void SetCachedSize(
int size)
const final;
400 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
401 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
402 return "goby.apps.moos.protobuf.GobyMOOSGatewayConfig";
406 bool is_message_owned =
false);
410 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
412 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
422 kInterprocessFieldNumber = 2,
423 kMoosFieldNumber = 3,
424 kPollFrequencyFieldNumber = 20,
427 bool has_app()
const;
429 bool _internal_has_app()
const;
432 const ::goby::middleware::protobuf::AppConfig& app()
const;
433 PROTOBUF_NODISCARD ::goby::middleware::protobuf::AppConfig* release_app();
437 const ::goby::middleware::protobuf::AppConfig& _internal_app()
const;
440 void unsafe_arena_set_allocated_app(
445 bool has_interprocess()
const;
447 bool _internal_has_interprocess()
const;
450 const ::goby::zeromq::protobuf::InterProcessPortalConfig& interprocess()
const;
451 PROTOBUF_NODISCARD ::goby::zeromq::protobuf::InterProcessPortalConfig* release_interprocess();
455 const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess()
const;
458 void unsafe_arena_set_allocated_interprocess(
463 bool has_moos()
const;
465 bool _internal_has_moos()
const;
468 const ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig& moos()
const;
469 PROTOBUF_NODISCARD ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* release_moos();
473 const ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig& _internal_moos()
const;
476 void unsafe_arena_set_allocated_moos(
481 bool has_poll_frequency()
const;
483 bool _internal_has_poll_frequency()
const;
485 void clear_poll_frequency();
486 float poll_frequency()
const;
487 void set_poll_frequency(
float value);
489 float _internal_poll_frequency()
const;
490 void _internal_set_poll_frequency(
float value);
494 template <
typename _proto_TypeTraits,
495 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
498 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
501 return _impl_._extensions_.Has(
id.number());
504 template <
typename _proto_TypeTraits,
505 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
508 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
510 _impl_._extensions_.ClearExtension(
id.number());
514 template <
typename _proto_TypeTraits,
515 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
518 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
521 return _impl_._extensions_.ExtensionSize(
id.number());
524 template <
typename _proto_TypeTraits,
525 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
528 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
531 return _proto_TypeTraits::Get(
id.number(), _impl_._extensions_,
535 template <
typename _proto_TypeTraits,
536 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
539 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
542 return _proto_TypeTraits::Mutable(
id.number(), _field_type,
543 &_impl_._extensions_);
546 template <
typename _proto_TypeTraits,
547 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
550 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
552 typename _proto_TypeTraits::Singular::ConstType value) {
553 _proto_TypeTraits::Set(
id.number(), _field_type, value, &_impl_._extensions_);
557 template <
typename _proto_TypeTraits,
558 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
561 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
563 typename _proto_TypeTraits::Singular::MutableType value) {
564 _proto_TypeTraits::SetAllocated(
id.number(), _field_type, value,
565 &_impl_._extensions_);
568 template <
typename _proto_TypeTraits,
569 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
572 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
574 typename _proto_TypeTraits::Singular::MutableType value) {
575 _proto_TypeTraits::UnsafeArenaSetAllocated(
id.number(), _field_type,
576 value, &_impl_._extensions_);
579 template <
typename _proto_TypeTraits,
580 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
582 PROTOBUF_NODISCARD
inline
583 typename _proto_TypeTraits::Singular::MutableType
585 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
588 return _proto_TypeTraits::Release(
id.number(), _field_type,
589 &_impl_._extensions_);
591 template <
typename _proto_TypeTraits,
592 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
594 inline typename _proto_TypeTraits::Singular::MutableType
596 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
599 return _proto_TypeTraits::UnsafeArenaRelease(
id.number(), _field_type,
600 &_impl_._extensions_);
603 template <
typename _proto_TypeTraits,
604 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
607 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
611 return _proto_TypeTraits::Get(
id.number(), _impl_._extensions_, index);
614 template <
typename _proto_TypeTraits,
615 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
618 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
622 return _proto_TypeTraits::Mutable(
id.number(), index, &_impl_._extensions_);
625 template <
typename _proto_TypeTraits,
626 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
629 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
631 int index,
typename _proto_TypeTraits::Repeated::ConstType value) {
632 _proto_TypeTraits::Set(
id.number(), index, value, &_impl_._extensions_);
636 template <
typename _proto_TypeTraits,
637 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
640 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
642 typename _proto_TypeTraits::Repeated::MutableType to_add =
643 _proto_TypeTraits::Add(
id.number(), _field_type, &_impl_._extensions_);
648 template <
typename _proto_TypeTraits,
649 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
652 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
654 typename _proto_TypeTraits::Repeated::ConstType value) {
655 _proto_TypeTraits::Add(
id.number(), _field_type, _is_packed, value,
656 &_impl_._extensions_);
660 template <
typename _proto_TypeTraits,
661 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
663 inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType&
665 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
668 return _proto_TypeTraits::GetRepeated(
id.number(), _impl_._extensions_);
671 template <
typename _proto_TypeTraits,
672 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
674 inline typename _proto_TypeTraits::Repeated::RepeatedFieldType*
676 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
679 return _proto_TypeTraits::MutableRepeated(
id.number(), _field_type,
680 _is_packed, &_impl_._extensions_);
687 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
688 typedef void InternalArenaConstructable_;
689 typedef void DestructorSkippable_;
691 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_;
693 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
694 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
698 float poll_frequency_;
701 friend struct ::TableStruct_goby_2fmoos_2fprotobuf_2fmoos_5fgateway_5fconfig_2eproto;
709 #pragma GCC diagnostic push
710 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
715inline bool GobyMOOSGatewayConfig_MOOSConfig::_internal_has_server()
const {
716 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
719inline bool GobyMOOSGatewayConfig_MOOSConfig::has_server()
const {
720 return _internal_has_server();
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;
726inline const std::string& GobyMOOSGatewayConfig_MOOSConfig::server()
const {
728 if (_impl_.server_.IsDefault())
return Impl_::_i_give_permission_to_break_this_code_default_server_.get();
729 return _internal_server();
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());
738inline std::string* GobyMOOSGatewayConfig_MOOSConfig::mutable_server() {
739 std::string* _s = _internal_mutable_server();
743inline const std::string& GobyMOOSGatewayConfig_MOOSConfig::_internal_server()
const {
744 return _impl_.server_.Get();
746inline void GobyMOOSGatewayConfig_MOOSConfig::_internal_set_server(
const std::string& value) {
747 _impl_._has_bits_[0] |= 0x00000001u;
748 _impl_.server_.Set(value, GetArenaForAllocation());
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());
754inline std::string* GobyMOOSGatewayConfig_MOOSConfig::release_server() {
756 if (!_internal_has_server()) {
759 _impl_._has_bits_[0] &= ~0x00000001u;
760 auto* p = _impl_.server_.Release();
763inline void GobyMOOSGatewayConfig_MOOSConfig::set_allocated_server(std::string* server) {
764 if (server !=
nullptr) {
765 _impl_._has_bits_[0] |= 0x00000001u;
767 _impl_._has_bits_[0] &= ~0x00000001u;
769 _impl_.server_.SetAllocated(server, GetArenaForAllocation());
774inline bool GobyMOOSGatewayConfig_MOOSConfig::_internal_has_port()
const {
775 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
778inline bool GobyMOOSGatewayConfig_MOOSConfig::has_port()
const {
779 return _internal_has_port();
781inline void GobyMOOSGatewayConfig_MOOSConfig::clear_port() {
783 _impl_._has_bits_[0] &= ~0x00000004u;
785inline int32_t GobyMOOSGatewayConfig_MOOSConfig::_internal_port()
const {
788inline int32_t GobyMOOSGatewayConfig_MOOSConfig::port()
const {
790 return _internal_port();
792inline void GobyMOOSGatewayConfig_MOOSConfig::_internal_set_port(int32_t value) {
793 _impl_._has_bits_[0] |= 0x00000004u;
794 _impl_.port_ = value;
796inline void GobyMOOSGatewayConfig_MOOSConfig::set_port(int32_t value) {
797 _internal_set_port(value);
802inline bool GobyMOOSGatewayConfig_MOOSConfig::_internal_has_use_binary_protobuf()
const {
803 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
806inline bool GobyMOOSGatewayConfig_MOOSConfig::has_use_binary_protobuf()
const {
807 return _internal_has_use_binary_protobuf();
809inline void GobyMOOSGatewayConfig_MOOSConfig::clear_use_binary_protobuf() {
810 _impl_.use_binary_protobuf_ =
false;
811 _impl_._has_bits_[0] &= ~0x00000002u;
813inline bool GobyMOOSGatewayConfig_MOOSConfig::_internal_use_binary_protobuf()
const {
814 return _impl_.use_binary_protobuf_;
816inline bool GobyMOOSGatewayConfig_MOOSConfig::use_binary_protobuf()
const {
818 return _internal_use_binary_protobuf();
820inline void GobyMOOSGatewayConfig_MOOSConfig::_internal_set_use_binary_protobuf(
bool value) {
821 _impl_._has_bits_[0] |= 0x00000002u;
822 _impl_.use_binary_protobuf_ = value;
824inline void GobyMOOSGatewayConfig_MOOSConfig::set_use_binary_protobuf(
bool value) {
825 _internal_set_use_binary_protobuf(value);
830inline bool GobyMOOSGatewayConfig_MOOSConfig::_internal_has_moos_parser_technique()
const {
831 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
834inline bool GobyMOOSGatewayConfig_MOOSConfig::has_moos_parser_technique()
const {
835 return _internal_has_moos_parser_technique();
837inline void GobyMOOSGatewayConfig_MOOSConfig::clear_moos_parser_technique() {
838 _impl_.moos_parser_technique_ = 5;
839 _impl_._has_bits_[0] &= ~0x00000008u;
841inline ::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique GobyMOOSGatewayConfig_MOOSConfig::_internal_moos_parser_technique()
const {
844inline ::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique GobyMOOSGatewayConfig_MOOSConfig::moos_parser_technique()
const {
846 return _internal_moos_parser_technique();
850 _impl_._has_bits_[0] |= 0x00000008u;
851 _impl_.moos_parser_technique_ = value;
854 _internal_set_moos_parser_technique(value);
863inline bool GobyMOOSGatewayConfig::_internal_has_app()
const {
864 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
865 PROTOBUF_ASSUME(!value || _impl_.app_ !=
nullptr);
868inline bool GobyMOOSGatewayConfig::has_app()
const {
869 return _internal_has_app();
871inline const ::goby::middleware::protobuf::AppConfig& GobyMOOSGatewayConfig::_internal_app()
const {
872 const ::goby::middleware::protobuf::AppConfig* p = _impl_.app_;
876inline const ::goby::middleware::protobuf::AppConfig& GobyMOOSGatewayConfig::app()
const {
878 return _internal_app();
880inline void GobyMOOSGatewayConfig::unsafe_arena_set_allocated_app(
882 if (GetArenaForAllocation() ==
nullptr) {
883 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.app_);
887 _impl_._has_bits_[0] |= 0x00000001u;
889 _impl_._has_bits_[0] &= ~0x00000001u;
893inline ::goby::middleware::protobuf::AppConfig* GobyMOOSGatewayConfig::release_app() {
894 _impl_._has_bits_[0] &= ~0x00000001u;
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; }
902 if (GetArenaForAllocation() !=
nullptr) {
903 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
908inline ::goby::middleware::protobuf::AppConfig* GobyMOOSGatewayConfig::unsafe_arena_release_app() {
910 _impl_._has_bits_[0] &= ~0x00000001u;
912 _impl_.app_ =
nullptr;
915inline ::goby::middleware::protobuf::AppConfig* GobyMOOSGatewayConfig::_internal_mutable_app() {
916 _impl_._has_bits_[0] |= 0x00000001u;
917 if (_impl_.app_ ==
nullptr) {
923inline ::goby::middleware::protobuf::AppConfig* GobyMOOSGatewayConfig::mutable_app() {
929 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
930 if (message_arena ==
nullptr) {
931 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.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);
941 _impl_._has_bits_[0] |= 0x00000001u;
943 _impl_._has_bits_[0] &= ~0x00000001u;
950inline bool GobyMOOSGatewayConfig::_internal_has_interprocess()
const {
951 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
952 PROTOBUF_ASSUME(!value || _impl_.interprocess_ !=
nullptr);
955inline bool GobyMOOSGatewayConfig::has_interprocess()
const {
956 return _internal_has_interprocess();
958inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& GobyMOOSGatewayConfig::_internal_interprocess()
const {
959 const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = _impl_.interprocess_;
963inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& GobyMOOSGatewayConfig::interprocess()
const {
965 return _internal_interprocess();
967inline void GobyMOOSGatewayConfig::unsafe_arena_set_allocated_interprocess(
969 if (GetArenaForAllocation() ==
nullptr) {
970 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.interprocess_);
972 _impl_.interprocess_ = interprocess;
974 _impl_._has_bits_[0] |= 0x00000002u;
976 _impl_._has_bits_[0] &= ~0x00000002u;
980inline ::goby::zeromq::protobuf::InterProcessPortalConfig* GobyMOOSGatewayConfig::release_interprocess() {
981 _impl_._has_bits_[0] &= ~0x00000002u;
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; }
989 if (GetArenaForAllocation() !=
nullptr) {
990 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
995inline ::goby::zeromq::protobuf::InterProcessPortalConfig* GobyMOOSGatewayConfig::unsafe_arena_release_interprocess() {
997 _impl_._has_bits_[0] &= ~0x00000002u;
999 _impl_.interprocess_ =
nullptr;
1002inline ::goby::zeromq::protobuf::InterProcessPortalConfig* GobyMOOSGatewayConfig::_internal_mutable_interprocess() {
1003 _impl_._has_bits_[0] |= 0x00000002u;
1004 if (_impl_.interprocess_ ==
nullptr) {
1006 _impl_.interprocess_ = p;
1008 return _impl_.interprocess_;
1010inline ::goby::zeromq::protobuf::InterProcessPortalConfig* GobyMOOSGatewayConfig::mutable_interprocess() {
1016 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1017 if (message_arena ==
nullptr) {
1018 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.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);
1028 _impl_._has_bits_[0] |= 0x00000002u;
1030 _impl_._has_bits_[0] &= ~0x00000002u;
1032 _impl_.interprocess_ = interprocess;
1037inline bool GobyMOOSGatewayConfig::_internal_has_moos()
const {
1038 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1039 PROTOBUF_ASSUME(!value || _impl_.moos_ !=
nullptr);
1042inline bool GobyMOOSGatewayConfig::has_moos()
const {
1043 return _internal_has_moos();
1045inline void GobyMOOSGatewayConfig::clear_moos() {
1046 if (_impl_.moos_ !=
nullptr) _impl_.moos_->Clear();
1047 _impl_._has_bits_[0] &= ~0x00000004u;
1049inline const ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig& GobyMOOSGatewayConfig::_internal_moos()
const {
1050 const ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* p = _impl_.moos_;
1054inline const ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig& GobyMOOSGatewayConfig::moos()
const {
1056 return _internal_moos();
1058inline void GobyMOOSGatewayConfig::unsafe_arena_set_allocated_moos(
1060 if (GetArenaForAllocation() ==
nullptr) {
1061 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.moos_);
1063 _impl_.moos_ = moos;
1065 _impl_._has_bits_[0] |= 0x00000004u;
1067 _impl_._has_bits_[0] &= ~0x00000004u;
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; }
1080 if (GetArenaForAllocation() !=
nullptr) {
1081 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1086inline ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* GobyMOOSGatewayConfig::unsafe_arena_release_moos() {
1088 _impl_._has_bits_[0] &= ~0x00000004u;
1090 _impl_.moos_ =
nullptr;
1093inline ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* GobyMOOSGatewayConfig::_internal_mutable_moos() {
1094 _impl_._has_bits_[0] |= 0x00000004u;
1095 if (_impl_.moos_ ==
nullptr) {
1099 return _impl_.moos_;
1101inline ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* GobyMOOSGatewayConfig::mutable_moos() {
1107 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1108 if (message_arena ==
nullptr) {
1109 delete _impl_.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);
1118 _impl_._has_bits_[0] |= 0x00000004u;
1120 _impl_._has_bits_[0] &= ~0x00000004u;
1122 _impl_.moos_ = moos;
1127inline bool GobyMOOSGatewayConfig::_internal_has_poll_frequency()
const {
1128 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
1131inline bool GobyMOOSGatewayConfig::has_poll_frequency()
const {
1132 return _internal_has_poll_frequency();
1134inline void GobyMOOSGatewayConfig::clear_poll_frequency() {
1135 _impl_.poll_frequency_ = 10;
1136 _impl_._has_bits_[0] &= ~0x00000008u;
1138inline float GobyMOOSGatewayConfig::_internal_poll_frequency()
const {
1139 return _impl_.poll_frequency_;
1141inline float GobyMOOSGatewayConfig::poll_frequency()
const {
1143 return _internal_poll_frequency();
1145inline void GobyMOOSGatewayConfig::_internal_set_poll_frequency(
float value) {
1146 _impl_._has_bits_[0] |= 0x00000008u;
1147 _impl_.poll_frequency_ = value;
1149inline void GobyMOOSGatewayConfig::set_poll_frequency(
float value) {
1150 _internal_set_poll_frequency(value);
1155 #pragma GCC diagnostic pop
1169#include <google/protobuf/port_undef.inc>
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
void set_port(int32_t value)
static const GobyMOOSGatewayConfig_MOOSConfig * internal_default_instance()
~GobyMOOSGatewayConfig_MOOSConfig() override
GobyMOOSGatewayConfig_MOOSConfig & operator=(const GobyMOOSGatewayConfig_MOOSConfig &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
PROTOBUF_NODISCARD std::string * release_server()
const std::string & server() const
static constexpr int kIndexInFileMessages
size_t ByteSizeLong() const final
void MergeFrom(const GobyMOOSGatewayConfig_MOOSConfig &from)
GobyMOOSGatewayConfig_MOOSConfig()
GobyMOOSGatewayConfig_MOOSConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
GobyMOOSGatewayConfig_MOOSConfig & operator=(GobyMOOSGatewayConfig_MOOSConfig &&from) noexcept
GobyMOOSGatewayConfig_MOOSConfig(const GobyMOOSGatewayConfig_MOOSConfig &from)
bool has_moos_parser_technique() const
void set_server(ArgT0 &&arg0, ArgT... args)
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)
bool has_use_binary_protobuf() const
PROTOBUF_CONSTEXPR GobyMOOSGatewayConfig_MOOSConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void set_moos_parser_technique(::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique value)
void set_use_binary_protobuf(bool value)
::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique moos_parser_technique() const
static const GobyMOOSGatewayConfig_MOOSConfig & default_instance()
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void clear_use_binary_protobuf()
int GetCachedSize() const final
std::string * mutable_server()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
friend void swap(GobyMOOSGatewayConfig_MOOSConfig &a, GobyMOOSGatewayConfig_MOOSConfig &b)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void clear_moos_parser_technique()
bool use_binary_protobuf() const
void CopyFrom(const GobyMOOSGatewayConfig_MOOSConfig &from)
bool IsInitialized() const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
@ kUseBinaryProtobufFieldNumber
@ kMoosParserTechniqueFieldNumber
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
static const ClassData _class_data_
void set_allocated_server(std::string *server)
void Swap(GobyMOOSGatewayConfig_MOOSConfig *other)
void clear_interprocess()
_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)
~GobyMOOSGatewayConfig() override
void MergeFrom(const GobyMOOSGatewayConfig &from)
static const GobyMOOSGatewayConfig & default_instance()
void Swap(GobyMOOSGatewayConfig *other)
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)
static const ClassData _class_data_
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
void UnsafeArenaSwap(GobyMOOSGatewayConfig *other)
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)
TranslatorEntry_ParserSerializerTechnique
InterProcessPortalConfigDefaultTypeInternal _InterProcessPortalConfig_default_instance_
The global namespace for the Goby project.
static const uint32_t offsets[]