4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2fmosh_5frelay_5fconfig_2eproto 
    5#define GOOGLE_PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2fmosh_5frelay_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> 
   36#include <boost/units/quantity.hpp> 
   37#include <boost/units/absolute.hpp> 
   38#include <boost/units/dimensionless_type.hpp> 
   39#include <boost/units/make_scaled_unit.hpp> 
   41#include <google/protobuf/port_def.inc> 
   42#define PROTOBUF_INTERNAL_EXPORT_goby_2fzeromq_2fprotobuf_2fmosh_5frelay_5fconfig_2eproto 
   43PROTOBUF_NAMESPACE_OPEN
 
   47PROTOBUF_NAMESPACE_CLOSE
 
   60struct MoshRelayConfigDefaultTypeInternal;
 
   67PROTOBUF_NAMESPACE_OPEN
 
   69PROTOBUF_NAMESPACE_CLOSE
 
   79    public ::PROTOBUF_NAMESPACE_ID::Message  {
 
   83  explicit PROTOBUF_CONSTEXPR 
MoshRelayConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
 
   88    *
this = ::std::move(from);
 
 
   96    if (
this == &from) 
return *
this;
 
   97    if (GetOwningArena() == from.GetOwningArena()
 
   98  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
 
   99        && GetOwningArena() != 
nullptr 
 
  110    return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
 
 
  113    return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
 
 
  116  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* 
descriptor() {
 
 
  139    if (other == 
this) 
return;
 
  140  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP 
  141    if (GetOwningArena() != 
nullptr &&
 
  142        GetOwningArena() == other->GetOwningArena()) {
 
  144    if (GetOwningArena() == other->GetOwningArena()) {
 
  148      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
 
 
  152    if (other == 
this) 
return;
 
  153    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
 
 
  160    return CreateMaybeMessage<MoshRelayConfig>(arena);
 
 
  162  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
 
  164  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
 
  166    MoshRelayConfig::MergeImpl(*
this, from);
 
 
  169  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
 
  171  PROTOBUF_ATTRIBUTE_REINITIALIZES 
void Clear() final;
 
  177      uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
 
  181  void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, 
bool is_message_owned);
 
  183  void SetCachedSize(
int size) 
const final;
 
  187  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
 
  188  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
 
  189    return "goby.apps.zeromq.acomms.protobuf.MoshRelayConfig";
 
  193                       bool is_message_owned = 
false);
 
  197  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
 
  217  bool _internal_has_ip_address() 
const;
 
  221  template <
typename ArgT0 = 
const std::string&, 
typename... ArgT>
 
  227  const std::string& _internal_ip_address() 
const;
 
  228  inline PROTOBUF_ALWAYS_INLINE 
void _internal_set_ip_address(
const std::string& value);
 
  229  std::string* _internal_mutable_ip_address();
 
  235  bool _internal_has_app() 
const;
 
  238  const ::goby::middleware::protobuf::AppConfig& 
app() 
const;
 
  239  PROTOBUF_NODISCARD ::goby::middleware::protobuf::AppConfig* 
release_app();
 
  243  const ::goby::middleware::protobuf::AppConfig& _internal_app() 
const;
 
  253  bool _internal_has_interprocess() 
const;
 
  256  const ::goby::zeromq::protobuf::InterProcessPortalConfig& 
interprocess() 
const;
 
  261  const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess() 
const;
 
  271  bool _internal_has_udp_port() 
const;
 
  277  uint32_t _internal_udp_port() 
const;
 
  278  void _internal_set_udp_port(uint32_t value);
 
  284  bool _internal_has_bind() 
const;
 
  290  bool _internal_bind() 
const;
 
  291  void _internal_set_bind(
bool value);
 
  297  bool _internal_has_src_modem_id() 
const;
 
  303  uint32_t _internal_src_modem_id() 
const;
 
  304  void _internal_set_src_modem_id(uint32_t value);
 
  310  bool _internal_has_dest_modem_id() 
const;
 
  316  uint32_t _internal_dest_modem_id() 
const;
 
  317  void _internal_set_dest_modem_id(uint32_t value);
 
  325  size_t RequiredFieldsByteSizeFallback() 
const;
 
  327  template <
typename T> 
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
 
  328  typedef void InternalArenaConstructable_;
 
  329  typedef void DestructorSkippable_;
 
  331    ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
 
  332    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
 
  333    static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_ip_address_;
 
  334    ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ip_address_;
 
  339    uint32_t src_modem_id_;
 
  340    uint32_t dest_modem_id_;
 
  343  friend struct ::TableStruct_goby_2fzeromq_2fprotobuf_2fmosh_5frelay_5fconfig_2eproto;
 
 
  351  #pragma GCC diagnostic push 
  352  #pragma GCC diagnostic ignored "-Wstrict-aliasing" 
  357inline bool MoshRelayConfig::_internal_has_app()
 const {
 
  358  bool value = (
_impl_._has_bits_[0] & 0x00000002u) != 0;
 
  359  PROTOBUF_ASSUME(!value || 
_impl_.app_ != 
nullptr);
 
  363  return _internal_has_app();
 
 
  365inline const ::goby::middleware::protobuf::AppConfig& MoshRelayConfig::_internal_app()
 const {
 
  366  const ::goby::middleware::protobuf::AppConfig* p = 
_impl_.app_;
 
  372  return _internal_app();
 
 
  376  if (GetArenaForAllocation() == 
nullptr) {
 
  377    delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
_impl_.app_);
 
  381    _impl_._has_bits_[0] |= 0x00000002u;
 
  383    _impl_._has_bits_[0] &= ~0x00000002u;
 
 
  388  _impl_._has_bits_[0] &= ~0x00000002u;
 
  391#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE 
  392  auto* old =  
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
 
  393  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
 
  394  if (GetArenaForAllocation() == 
nullptr) { 
delete old; }
 
  396  if (GetArenaForAllocation() != 
nullptr) {
 
  397    temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
 
 
  404  _impl_._has_bits_[0] &= ~0x00000002u;
 
 
  409inline ::goby::middleware::protobuf::AppConfig* MoshRelayConfig::_internal_mutable_app() {
 
  410  _impl_._has_bits_[0] |= 0x00000002u;
 
  411  if (
_impl_.app_ == 
nullptr) {
 
  423  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
 
  424  if (message_arena == 
nullptr) {
 
  425    delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
_impl_.app_);
 
  428    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
 
  429        ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
 
  430                reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
app));
 
  431    if (message_arena != submessage_arena) {
 
  432      app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
 
  433          message_arena, 
app, submessage_arena);
 
  435    _impl_._has_bits_[0] |= 0x00000002u;
 
  437    _impl_._has_bits_[0] &= ~0x00000002u;
 
 
  444inline bool MoshRelayConfig::_internal_has_interprocess()
 const {
 
  445  bool value = (
_impl_._has_bits_[0] & 0x00000004u) != 0;
 
  446  PROTOBUF_ASSUME(!value || 
_impl_.interprocess_ != 
nullptr);
 
  450  return _internal_has_interprocess();
 
 
  452inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& MoshRelayConfig::_internal_interprocess()
 const {
 
  453  const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = 
_impl_.interprocess_;
 
  459  return _internal_interprocess();
 
 
  463  if (GetArenaForAllocation() == 
nullptr) {
 
  464    delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
_impl_.interprocess_);
 
  468    _impl_._has_bits_[0] |= 0x00000004u;
 
  470    _impl_._has_bits_[0] &= ~0x00000004u;
 
 
  475  _impl_._has_bits_[0] &= ~0x00000004u;
 
  477  _impl_.interprocess_ = 
nullptr;
 
  478#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE 
  479  auto* old =  
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
 
  480  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
 
  481  if (GetArenaForAllocation() == 
nullptr) { 
delete old; }
 
  483  if (GetArenaForAllocation() != 
nullptr) {
 
  484    temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
 
 
  491  _impl_._has_bits_[0] &= ~0x00000004u;
 
  493  _impl_.interprocess_ = 
nullptr;
 
 
  496inline ::goby::zeromq::protobuf::InterProcessPortalConfig* MoshRelayConfig::_internal_mutable_interprocess() {
 
  497  _impl_._has_bits_[0] |= 0x00000004u;
 
  498  if (
_impl_.interprocess_ == 
nullptr) {
 
  502  return _impl_.interprocess_;
 
  510  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
 
  511  if (message_arena == 
nullptr) {
 
  512    delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
_impl_.interprocess_);
 
  515    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
 
  516        ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
 
  517                reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
interprocess));
 
  518    if (message_arena != submessage_arena) {
 
  519      interprocess = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
 
  522    _impl_._has_bits_[0] |= 0x00000004u;
 
  524    _impl_._has_bits_[0] &= ~0x00000004u;
 
 
  531inline bool MoshRelayConfig::_internal_has_ip_address()
 const {
 
  532  bool value = (
_impl_._has_bits_[0] & 0x00000001u) != 0;
 
  536  return _internal_has_ip_address();
 
 
  539  _impl_.ip_address_.ClearToDefault(::goby::apps::zeromq::acomms::protobuf::MoshRelayConfig::Impl_::_i_give_permission_to_break_this_code_default_ip_address_, GetArenaForAllocation());
 
  540  _impl_._has_bits_[0] &= ~0x00000001u;
 
 
  544  if (
_impl_.ip_address_.IsDefault()) 
return Impl_::_i_give_permission_to_break_this_code_default_ip_address_.get();
 
  545  return _internal_ip_address();
 
 
  547template <
typename ArgT0, 
typename... ArgT>
 
  548inline PROTOBUF_ALWAYS_INLINE
 
  550 _impl_._has_bits_[0] |= 0x00000001u;
 
  551 _impl_.ip_address_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
 
 
  555  std::string* _s = _internal_mutable_ip_address();
 
 
  559inline const std::string& MoshRelayConfig::_internal_ip_address()
 const {
 
  560  return _impl_.ip_address_.Get();
 
  562inline void MoshRelayConfig::_internal_set_ip_address(
const std::string& value) {
 
  563  _impl_._has_bits_[0] |= 0x00000001u;
 
  564  _impl_.ip_address_.Set(value, GetArenaForAllocation());
 
  566inline std::string* MoshRelayConfig::_internal_mutable_ip_address() {
 
  567  _impl_._has_bits_[0] |= 0x00000001u;
 
  568  return _impl_.ip_address_.Mutable(::goby::apps::zeromq::acomms::protobuf::MoshRelayConfig::Impl_::_i_give_permission_to_break_this_code_default_ip_address_, GetArenaForAllocation());
 
  572  if (!_internal_has_ip_address()) {
 
  575  _impl_._has_bits_[0] &= ~0x00000001u;
 
  576  auto* p = 
_impl_.ip_address_.Release();
 
 
  581    _impl_._has_bits_[0] |= 0x00000001u;
 
  583    _impl_._has_bits_[0] &= ~0x00000001u;
 
 
  590inline bool MoshRelayConfig::_internal_has_udp_port()
 const {
 
  591  bool value = (
_impl_._has_bits_[0] & 0x00000008u) != 0;
 
  595  return _internal_has_udp_port();
 
 
  599  _impl_._has_bits_[0] &= ~0x00000008u;
 
 
  601inline uint32_t MoshRelayConfig::_internal_udp_port()
 const {
 
  606  return _internal_udp_port();
 
 
  608inline void MoshRelayConfig::_internal_set_udp_port(uint32_t value) {
 
  609  _impl_._has_bits_[0] |= 0x00000008u;
 
  613  _internal_set_udp_port(value);
 
 
  618inline bool MoshRelayConfig::_internal_has_bind()
 const {
 
  619  bool value = (
_impl_._has_bits_[0] & 0x00000010u) != 0;
 
  623  return _internal_has_bind();
 
 
  627  _impl_._has_bits_[0] &= ~0x00000010u;
 
 
  629inline bool MoshRelayConfig::_internal_bind()
 const {
 
  634  return _internal_bind();
 
 
  636inline void MoshRelayConfig::_internal_set_bind(
bool value) {
 
  637  _impl_._has_bits_[0] |= 0x00000010u;
 
  641  _internal_set_bind(value);
 
 
  646inline bool MoshRelayConfig::_internal_has_src_modem_id()
 const {
 
  647  bool value = (
_impl_._has_bits_[0] & 0x00000020u) != 0;
 
  651  return _internal_has_src_modem_id();
 
 
  654  _impl_.src_modem_id_ = 0u;
 
  655  _impl_._has_bits_[0] &= ~0x00000020u;
 
 
  657inline uint32_t MoshRelayConfig::_internal_src_modem_id()
 const {
 
  658  return _impl_.src_modem_id_;
 
  662  return _internal_src_modem_id();
 
 
  664inline void MoshRelayConfig::_internal_set_src_modem_id(uint32_t value) {
 
  665  _impl_._has_bits_[0] |= 0x00000020u;
 
  666  _impl_.src_modem_id_ = value;
 
  669  _internal_set_src_modem_id(value);
 
 
  674inline bool MoshRelayConfig::_internal_has_dest_modem_id()
 const {
 
  675  bool value = (
_impl_._has_bits_[0] & 0x00000040u) != 0;
 
  679  return _internal_has_dest_modem_id();
 
 
  682  _impl_.dest_modem_id_ = 0u;
 
  683  _impl_._has_bits_[0] &= ~0x00000040u;
 
 
  685inline uint32_t MoshRelayConfig::_internal_dest_modem_id()
 const {
 
  686  return _impl_.dest_modem_id_;
 
  690  return _internal_dest_modem_id();
 
 
  692inline void MoshRelayConfig::_internal_set_dest_modem_id(uint32_t value) {
 
  693  _impl_._has_bits_[0] |= 0x00000040u;
 
  694  _impl_.dest_modem_id_ = value;
 
  697  _internal_set_dest_modem_id(value);
 
 
  702  #pragma GCC diagnostic pop 
  715#include <google/protobuf/port_undef.inc> 
PROTOBUF_NAMESPACE_OPEN ::goby::middleware::protobuf::AppConfig * Arena::CreateMaybeMessage<::goby::middleware::protobuf::AppConfig >(Arena *)
 
@ kInterprocessFieldNumber
 
@ kDestModemIdFieldNumber
 
void clear_src_modem_id()
 
const ::goby::middleware::protobuf::AppConfig & app() const
 
PROTOBUF_NODISCARD::goby::middleware::protobuf::AppConfig * release_app()
 
void set_bind(bool value)
 
int GetCachedSize() const final
 
void UnsafeArenaSwap(MoshRelayConfig *other)
 
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
 
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
 
bool IsInitialized() const final
 
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
 
friend void swap(MoshRelayConfig &a, MoshRelayConfig &b)
 
MoshRelayConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
 
::goby::middleware::protobuf::AppConfig * mutable_app()
 
void MergeFrom(const MoshRelayConfig &from)
 
uint32_t src_modem_id() const
 
MoshRelayConfig(const MoshRelayConfig &from)
 
size_t ByteSizeLong() const final
 
bool has_ip_address() const
 
void CopyFrom(const MoshRelayConfig &from)
 
void set_ip_address(ArgT0 &&arg0, ArgT... args)
 
static constexpr int kIndexInFileMessages
 
std::string * mutable_ip_address()
 
void unsafe_arena_set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
 
bool has_dest_modem_id() const
 
uint32_t udp_port() const
 
void set_dest_modem_id(uint32_t value)
 
::goby::zeromq::protobuf::InterProcessPortalConfig * unsafe_arena_release_interprocess()
 
bool has_src_modem_id() const
 
PROTOBUF_NODISCARD std::string * release_ip_address()
 
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
 
::goby::middleware::protobuf::AppConfig * unsafe_arena_release_app()
 
static const MoshRelayConfig * internal_default_instance()
 
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
 
void set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
 
~MoshRelayConfig() override
 
::goby::zeromq::protobuf::InterProcessPortalConfig * mutable_interprocess()
 
const ::goby::zeromq::protobuf::InterProcessPortalConfig & interprocess() const
 
static const ClassData _class_data_
 
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
 
void clear_interprocess()
 
void set_udp_port(uint32_t value)
 
MoshRelayConfig(MoshRelayConfig &&from) noexcept
 
const std::string & ip_address() const
 
bool has_interprocess() const
 
uint32_t dest_modem_id() const
 
bool has_udp_port() const
 
static const MoshRelayConfig & default_instance()
 
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
 
void set_allocated_ip_address(std::string *ip_address)
 
void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
 
PROTOBUF_NODISCARD::goby::zeromq::protobuf::InterProcessPortalConfig * release_interprocess()
 
MoshRelayConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
 
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
 
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
 
PROTOBUF_CONSTEXPR MoshRelayConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
 
MoshRelayConfig & operator=(MoshRelayConfig &&from) noexcept
 
void Swap(MoshRelayConfig *other)
 
void unsafe_arena_set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
 
MoshRelayConfig & operator=(const MoshRelayConfig &from)
 
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
 
void set_src_modem_id(uint32_t value)
 
void clear_dest_modem_id()
 
::goby::zeromq::protobuf::InterProcessPortalConfig * Arena::CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig >(Arena *)
 
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fzeromq_2fprotobuf_2fmosh_5frelay_5fconfig_2eproto
 
MoshRelayConfigDefaultTypeInternal _MoshRelayConfig_default_instance_
 
AppConfigDefaultTypeInternal _AppConfig_default_instance_
 
InterProcessPortalConfigDefaultTypeInternal _InterProcessPortalConfig_default_instance_
 
The global namespace for the Goby project.
 
static const uint32_t offsets[]