// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: ignition/msgs/discovery.proto

#ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fdiscovery_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fdiscovery_2eproto

#include <limits>
#include <string>

#include <google/protobuf/port_def.inc>
#if PROTOBUF_VERSION < 3011000
#error This file was generated by a newer version of protoc which is
#error incompatible with your Protocol Buffer headers. Please update
#error your headers.
#endif
#if 3011004 < PROTOBUF_MIN_PROTOC_VERSION
#error This file was generated by an older version of protoc which is
#error incompatible with your Protocol Buffer headers. Please
#error regenerate this file with a newer version of protoc.
#endif

#include <google/protobuf/port_undef.inc>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/arena.h>
#include <google/protobuf/arenastring.h>
#include <google/protobuf/generated_message_table_driven.h>
#include <google/protobuf/generated_message_util.h>
#include <google/protobuf/inlined_string_field.h>
#include <google/protobuf/metadata.h>
#include <google/protobuf/generated_message_reflection.h>
#include <google/protobuf/message.h>
#include <google/protobuf/repeated_field.h>  // IWYU pragma: export
#include <google/protobuf/extension_set.h>  // IWYU pragma: export
#include <google/protobuf/generated_enum_reflection.h>
#include <google/protobuf/unknown_field_set.h>
#include "ignition/msgs/header.pb.h"
#ifndef _MSC_VER
#pragma GCC system_header
#else
#pragma warning(push)
#pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
#endif
#ifdef __linux__
#include <sys/sysmacros.h>
#endif
#include <memory>
#include <ignition/msgs/Export.hh>
// @@protoc_insertion_point(includes)
#include <google/protobuf/port_def.inc>
#define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2fdiscovery_2eproto IGNITION_MSGS_VISIBLE
PROTOBUF_NAMESPACE_OPEN
namespace internal {
class AnyMetadata;
}  // namespace internal
PROTOBUF_NAMESPACE_CLOSE

// Internal implementation detail -- do not use these members.
struct IGNITION_MSGS_VISIBLE TableStruct_ignition_2fmsgs_2fdiscovery_2eproto {
  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
    PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
    PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[6]
    PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
  static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
};
extern IGNITION_MSGS_VISIBLE const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fdiscovery_2eproto;
namespace ignition {
namespace msgs {
class Discovery;
class DiscoveryDefaultTypeInternal;
IGNITION_MSGS_VISIBLE extern DiscoveryDefaultTypeInternal _Discovery_default_instance_;
class Discovery_Flags;
class Discovery_FlagsDefaultTypeInternal;
IGNITION_MSGS_VISIBLE extern Discovery_FlagsDefaultTypeInternal _Discovery_Flags_default_instance_;
class Discovery_Publisher;
class Discovery_PublisherDefaultTypeInternal;
IGNITION_MSGS_VISIBLE extern Discovery_PublisherDefaultTypeInternal _Discovery_Publisher_default_instance_;
class Discovery_Publisher_MessagePublisher;
class Discovery_Publisher_MessagePublisherDefaultTypeInternal;
IGNITION_MSGS_VISIBLE extern Discovery_Publisher_MessagePublisherDefaultTypeInternal _Discovery_Publisher_MessagePublisher_default_instance_;
class Discovery_Publisher_ServicePublisher;
class Discovery_Publisher_ServicePublisherDefaultTypeInternal;
IGNITION_MSGS_VISIBLE extern Discovery_Publisher_ServicePublisherDefaultTypeInternal _Discovery_Publisher_ServicePublisher_default_instance_;
class Discovery_Subscriber;
class Discovery_SubscriberDefaultTypeInternal;
IGNITION_MSGS_VISIBLE extern Discovery_SubscriberDefaultTypeInternal _Discovery_Subscriber_default_instance_;
}  // namespace msgs
}  // namespace ignition
PROTOBUF_NAMESPACE_OPEN
template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Discovery* Arena::CreateMaybeMessage<::ignition::msgs::Discovery>(Arena*);
template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Discovery_Flags* Arena::CreateMaybeMessage<::ignition::msgs::Discovery_Flags>(Arena*);
template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Discovery_Publisher* Arena::CreateMaybeMessage<::ignition::msgs::Discovery_Publisher>(Arena*);
template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Discovery_Publisher_MessagePublisher* Arena::CreateMaybeMessage<::ignition::msgs::Discovery_Publisher_MessagePublisher>(Arena*);
template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Discovery_Publisher_ServicePublisher* Arena::CreateMaybeMessage<::ignition::msgs::Discovery_Publisher_ServicePublisher>(Arena*);
template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Discovery_Subscriber* Arena::CreateMaybeMessage<::ignition::msgs::Discovery_Subscriber>(Arena*);
PROTOBUF_NAMESPACE_CLOSE
namespace ignition {
namespace msgs {

enum Discovery_Publisher_Scope : int {
  Discovery_Publisher_Scope_PROCESS = 0,
  Discovery_Publisher_Scope_HOST = 1,
  Discovery_Publisher_Scope_ALL = 2,
  Discovery_Publisher_Scope_Discovery_Publisher_Scope_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::min(),
  Discovery_Publisher_Scope_Discovery_Publisher_Scope_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::max()
};
IGNITION_MSGS_VISIBLE bool Discovery_Publisher_Scope_IsValid(int value);
constexpr Discovery_Publisher_Scope Discovery_Publisher_Scope_Scope_MIN = Discovery_Publisher_Scope_PROCESS;
constexpr Discovery_Publisher_Scope Discovery_Publisher_Scope_Scope_MAX = Discovery_Publisher_Scope_ALL;
constexpr int Discovery_Publisher_Scope_Scope_ARRAYSIZE = Discovery_Publisher_Scope_Scope_MAX + 1;

IGNITION_MSGS_VISIBLE const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Discovery_Publisher_Scope_descriptor();
template<typename T>
inline const std::string& Discovery_Publisher_Scope_Name(T enum_t_value) {
  static_assert(::std::is_same<T, Discovery_Publisher_Scope>::value ||
    ::std::is_integral<T>::value,
    "Incorrect type passed to function Discovery_Publisher_Scope_Name.");
  return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
    Discovery_Publisher_Scope_descriptor(), enum_t_value);
}
inline bool Discovery_Publisher_Scope_Parse(
    const std::string& name, Discovery_Publisher_Scope* value) {
  return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Discovery_Publisher_Scope>(
    Discovery_Publisher_Scope_descriptor(), name, value);
}
enum Discovery_Type : int {
  Discovery_Type_UNINITIALIZED = 0,
  Discovery_Type_ADVERTISE = 1,
  Discovery_Type_SUBSCRIBE = 2,
  Discovery_Type_UNADVERTISE = 3,
  Discovery_Type_HEARTBEAT = 4,
  Discovery_Type_BYE = 5,
  Discovery_Type_NEW_CONNECTION = 6,
  Discovery_Type_END_CONNECTION = 7,
  Discovery_Type_Discovery_Type_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::min(),
  Discovery_Type_Discovery_Type_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::max()
};
IGNITION_MSGS_VISIBLE bool Discovery_Type_IsValid(int value);
constexpr Discovery_Type Discovery_Type_Type_MIN = Discovery_Type_UNINITIALIZED;
constexpr Discovery_Type Discovery_Type_Type_MAX = Discovery_Type_END_CONNECTION;
constexpr int Discovery_Type_Type_ARRAYSIZE = Discovery_Type_Type_MAX + 1;

IGNITION_MSGS_VISIBLE const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Discovery_Type_descriptor();
template<typename T>
inline const std::string& Discovery_Type_Name(T enum_t_value) {
  static_assert(::std::is_same<T, Discovery_Type>::value ||
    ::std::is_integral<T>::value,
    "Incorrect type passed to function Discovery_Type_Name.");
  return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
    Discovery_Type_descriptor(), enum_t_value);
}
inline bool Discovery_Type_Parse(
    const std::string& name, Discovery_Type* value) {
  return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Discovery_Type>(
    Discovery_Type_descriptor(), name, value);
}
// ===================================================================

class IGNITION_MSGS_VISIBLE Discovery_Flags :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Discovery.Flags) */ {
 public:
  Discovery_Flags();
  virtual ~Discovery_Flags();

  Discovery_Flags(const Discovery_Flags& from);
  Discovery_Flags(Discovery_Flags&& from) noexcept
    : Discovery_Flags() {
    *this = ::std::move(from);
  }

  inline Discovery_Flags& operator=(const Discovery_Flags& from) {
    CopyFrom(from);
    return *this;
  }
  inline Discovery_Flags& operator=(Discovery_Flags&& from) noexcept {
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
      if (this != &from) InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
    return GetDescriptor();
  }
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
    return GetMetadataStatic().descriptor;
  }
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
    return GetMetadataStatic().reflection;
  }
  static const Discovery_Flags& default_instance();

  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
  static inline const Discovery_Flags* internal_default_instance() {
    return reinterpret_cast<const Discovery_Flags*>(
               &_Discovery_Flags_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    0;

  friend void swap(Discovery_Flags& a, Discovery_Flags& b) {
    a.Swap(&b);
  }
  inline void Swap(Discovery_Flags* other) {
    if (other == this) return;
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  inline Discovery_Flags* New() const final {
    return CreateMaybeMessage<Discovery_Flags>(nullptr);
  }

  Discovery_Flags* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
    return CreateMaybeMessage<Discovery_Flags>(arena);
  }
  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void CopyFrom(const Discovery_Flags& from);
  void MergeFrom(const Discovery_Flags& from);
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  bool IsInitialized() const final;

  size_t ByteSizeLong() const final;
  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
      ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _cached_size_.Get(); }

  private:
  inline void SharedCtor();
  inline void SharedDtor();
  void SetCachedSize(int size) const final;
  void InternalSwap(Discovery_Flags* other);
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "ignition.msgs.Discovery.Flags";
  }
  private:
  inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
    return nullptr;
  }
  inline void* MaybeArenaPtr() const {
    return nullptr;
  }
  public:

  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  private:
  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
    ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_ignition_2fmsgs_2fdiscovery_2eproto);
    return ::descriptor_table_ignition_2fmsgs_2fdiscovery_2eproto.file_level_metadata[kIndexInFileMessages];
  }

  public:

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------

  enum : int {
    kRelayFieldNumber = 1,
    kNoRelayFieldNumber = 2,
  };
  // bool relay = 1;
  void clear_relay();
  bool relay() const;
  void set_relay(bool value);
  private:
  bool _internal_relay() const;
  void _internal_set_relay(bool value);
  public:

  // bool no_relay = 2;
  void clear_no_relay();
  bool no_relay() const;
  void set_no_relay(bool value);
  private:
  bool _internal_no_relay() const;
  void _internal_set_no_relay(bool value);
  public:

  // @@protoc_insertion_point(class_scope:ignition.msgs.Discovery.Flags)
 private:
  class _Internal;

  ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
  bool relay_;
  bool no_relay_;
  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  friend struct ::TableStruct_ignition_2fmsgs_2fdiscovery_2eproto;
};
// -------------------------------------------------------------------

class IGNITION_MSGS_VISIBLE Discovery_Subscriber :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Discovery.Subscriber) */ {
 public:
  Discovery_Subscriber();
  virtual ~Discovery_Subscriber();

  Discovery_Subscriber(const Discovery_Subscriber& from);
  Discovery_Subscriber(Discovery_Subscriber&& from) noexcept
    : Discovery_Subscriber() {
    *this = ::std::move(from);
  }

  inline Discovery_Subscriber& operator=(const Discovery_Subscriber& from) {
    CopyFrom(from);
    return *this;
  }
  inline Discovery_Subscriber& operator=(Discovery_Subscriber&& from) noexcept {
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
      if (this != &from) InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
    return GetDescriptor();
  }
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
    return GetMetadataStatic().descriptor;
  }
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
    return GetMetadataStatic().reflection;
  }
  static const Discovery_Subscriber& default_instance();

  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
  static inline const Discovery_Subscriber* internal_default_instance() {
    return reinterpret_cast<const Discovery_Subscriber*>(
               &_Discovery_Subscriber_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    1;

  friend void swap(Discovery_Subscriber& a, Discovery_Subscriber& b) {
    a.Swap(&b);
  }
  inline void Swap(Discovery_Subscriber* other) {
    if (other == this) return;
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  inline Discovery_Subscriber* New() const final {
    return CreateMaybeMessage<Discovery_Subscriber>(nullptr);
  }

  Discovery_Subscriber* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
    return CreateMaybeMessage<Discovery_Subscriber>(arena);
  }
  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void CopyFrom(const Discovery_Subscriber& from);
  void MergeFrom(const Discovery_Subscriber& from);
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  bool IsInitialized() const final;

  size_t ByteSizeLong() const final;
  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
      ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _cached_size_.Get(); }

  private:
  inline void SharedCtor();
  inline void SharedDtor();
  void SetCachedSize(int size) const final;
  void InternalSwap(Discovery_Subscriber* other);
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "ignition.msgs.Discovery.Subscriber";
  }
  private:
  inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
    return nullptr;
  }
  inline void* MaybeArenaPtr() const {
    return nullptr;
  }
  public:

  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  private:
  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
    ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_ignition_2fmsgs_2fdiscovery_2eproto);
    return ::descriptor_table_ignition_2fmsgs_2fdiscovery_2eproto.file_level_metadata[kIndexInFileMessages];
  }

  public:

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------

  enum : int {
    kTopicFieldNumber = 1,
  };
  // string topic = 1;
  void clear_topic();
  const std::string& topic() const;
  void set_topic(const std::string& value);
  void set_topic(std::string&& value);
  void set_topic(const char* value);
  void set_topic(const char* value, size_t size);
  std::string* mutable_topic();
  std::string* release_topic();
  void set_allocated_topic(std::string* topic);
  private:
  const std::string& _internal_topic() const;
  void _internal_set_topic(const std::string& value);
  std::string* _internal_mutable_topic();
  public:

  // @@protoc_insertion_point(class_scope:ignition.msgs.Discovery.Subscriber)
 private:
  class _Internal;

  ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr topic_;
  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  friend struct ::TableStruct_ignition_2fmsgs_2fdiscovery_2eproto;
};
// -------------------------------------------------------------------

class IGNITION_MSGS_VISIBLE Discovery_Publisher_MessagePublisher :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Discovery.Publisher.MessagePublisher) */ {
 public:
  Discovery_Publisher_MessagePublisher();
  virtual ~Discovery_Publisher_MessagePublisher();

  Discovery_Publisher_MessagePublisher(const Discovery_Publisher_MessagePublisher& from);
  Discovery_Publisher_MessagePublisher(Discovery_Publisher_MessagePublisher&& from) noexcept
    : Discovery_Publisher_MessagePublisher() {
    *this = ::std::move(from);
  }

  inline Discovery_Publisher_MessagePublisher& operator=(const Discovery_Publisher_MessagePublisher& from) {
    CopyFrom(from);
    return *this;
  }
  inline Discovery_Publisher_MessagePublisher& operator=(Discovery_Publisher_MessagePublisher&& from) noexcept {
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
      if (this != &from) InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
    return GetDescriptor();
  }
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
    return GetMetadataStatic().descriptor;
  }
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
    return GetMetadataStatic().reflection;
  }
  static const Discovery_Publisher_MessagePublisher& default_instance();

  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
  static inline const Discovery_Publisher_MessagePublisher* internal_default_instance() {
    return reinterpret_cast<const Discovery_Publisher_MessagePublisher*>(
               &_Discovery_Publisher_MessagePublisher_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    2;

  friend void swap(Discovery_Publisher_MessagePublisher& a, Discovery_Publisher_MessagePublisher& b) {
    a.Swap(&b);
  }
  inline void Swap(Discovery_Publisher_MessagePublisher* other) {
    if (other == this) return;
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  inline Discovery_Publisher_MessagePublisher* New() const final {
    return CreateMaybeMessage<Discovery_Publisher_MessagePublisher>(nullptr);
  }

  Discovery_Publisher_MessagePublisher* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
    return CreateMaybeMessage<Discovery_Publisher_MessagePublisher>(arena);
  }
  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void CopyFrom(const Discovery_Publisher_MessagePublisher& from);
  void MergeFrom(const Discovery_Publisher_MessagePublisher& from);
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  bool IsInitialized() const final;

  size_t ByteSizeLong() const final;
  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
      ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _cached_size_.Get(); }

  private:
  inline void SharedCtor();
  inline void SharedDtor();
  void SetCachedSize(int size) const final;
  void InternalSwap(Discovery_Publisher_MessagePublisher* other);
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "ignition.msgs.Discovery.Publisher.MessagePublisher";
  }
  private:
  inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
    return nullptr;
  }
  inline void* MaybeArenaPtr() const {
    return nullptr;
  }
  public:

  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  private:
  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
    ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_ignition_2fmsgs_2fdiscovery_2eproto);
    return ::descriptor_table_ignition_2fmsgs_2fdiscovery_2eproto.file_level_metadata[kIndexInFileMessages];
  }

  public:

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------

  enum : int {
    kCtrlFieldNumber = 1,
    kMsgTypeFieldNumber = 2,
    kMsgsPerSecFieldNumber = 4,
    kThrottledFieldNumber = 3,
  };
  // string ctrl = 1;
  void clear_ctrl();
  const std::string& ctrl() const;
  void set_ctrl(const std::string& value);
  void set_ctrl(std::string&& value);
  void set_ctrl(const char* value);
  void set_ctrl(const char* value, size_t size);
  std::string* mutable_ctrl();
  std::string* release_ctrl();
  void set_allocated_ctrl(std::string* ctrl);
  private:
  const std::string& _internal_ctrl() const;
  void _internal_set_ctrl(const std::string& value);
  std::string* _internal_mutable_ctrl();
  public:

  // string msg_type = 2;
  void clear_msg_type();
  const std::string& msg_type() const;
  void set_msg_type(const std::string& value);
  void set_msg_type(std::string&& value);
  void set_msg_type(const char* value);
  void set_msg_type(const char* value, size_t size);
  std::string* mutable_msg_type();
  std::string* release_msg_type();
  void set_allocated_msg_type(std::string* msg_type);
  private:
  const std::string& _internal_msg_type() const;
  void _internal_set_msg_type(const std::string& value);
  std::string* _internal_mutable_msg_type();
  public:

  // uint64 msgs_per_sec = 4;
  void clear_msgs_per_sec();
  ::PROTOBUF_NAMESPACE_ID::uint64 msgs_per_sec() const;
  void set_msgs_per_sec(::PROTOBUF_NAMESPACE_ID::uint64 value);
  private:
  ::PROTOBUF_NAMESPACE_ID::uint64 _internal_msgs_per_sec() const;
  void _internal_set_msgs_per_sec(::PROTOBUF_NAMESPACE_ID::uint64 value);
  public:

  // bool throttled = 3;
  void clear_throttled();
  bool throttled() const;
  void set_throttled(bool value);
  private:
  bool _internal_throttled() const;
  void _internal_set_throttled(bool value);
  public:

  // @@protoc_insertion_point(class_scope:ignition.msgs.Discovery.Publisher.MessagePublisher)
 private:
  class _Internal;

  ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ctrl_;
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr msg_type_;
  ::PROTOBUF_NAMESPACE_ID::uint64 msgs_per_sec_;
  bool throttled_;
  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  friend struct ::TableStruct_ignition_2fmsgs_2fdiscovery_2eproto;
};
// -------------------------------------------------------------------

class IGNITION_MSGS_VISIBLE Discovery_Publisher_ServicePublisher :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Discovery.Publisher.ServicePublisher) */ {
 public:
  Discovery_Publisher_ServicePublisher();
  virtual ~Discovery_Publisher_ServicePublisher();

  Discovery_Publisher_ServicePublisher(const Discovery_Publisher_ServicePublisher& from);
  Discovery_Publisher_ServicePublisher(Discovery_Publisher_ServicePublisher&& from) noexcept
    : Discovery_Publisher_ServicePublisher() {
    *this = ::std::move(from);
  }

  inline Discovery_Publisher_ServicePublisher& operator=(const Discovery_Publisher_ServicePublisher& from) {
    CopyFrom(from);
    return *this;
  }
  inline Discovery_Publisher_ServicePublisher& operator=(Discovery_Publisher_ServicePublisher&& from) noexcept {
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
      if (this != &from) InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
    return GetDescriptor();
  }
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
    return GetMetadataStatic().descriptor;
  }
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
    return GetMetadataStatic().reflection;
  }
  static const Discovery_Publisher_ServicePublisher& default_instance();

  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
  static inline const Discovery_Publisher_ServicePublisher* internal_default_instance() {
    return reinterpret_cast<const Discovery_Publisher_ServicePublisher*>(
               &_Discovery_Publisher_ServicePublisher_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    3;

  friend void swap(Discovery_Publisher_ServicePublisher& a, Discovery_Publisher_ServicePublisher& b) {
    a.Swap(&b);
  }
  inline void Swap(Discovery_Publisher_ServicePublisher* other) {
    if (other == this) return;
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  inline Discovery_Publisher_ServicePublisher* New() const final {
    return CreateMaybeMessage<Discovery_Publisher_ServicePublisher>(nullptr);
  }

  Discovery_Publisher_ServicePublisher* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
    return CreateMaybeMessage<Discovery_Publisher_ServicePublisher>(arena);
  }
  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void CopyFrom(const Discovery_Publisher_ServicePublisher& from);
  void MergeFrom(const Discovery_Publisher_ServicePublisher& from);
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  bool IsInitialized() const final;

  size_t ByteSizeLong() const final;
  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
      ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _cached_size_.Get(); }

  private:
  inline void SharedCtor();
  inline void SharedDtor();
  void SetCachedSize(int size) const final;
  void InternalSwap(Discovery_Publisher_ServicePublisher* other);
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "ignition.msgs.Discovery.Publisher.ServicePublisher";
  }
  private:
  inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
    return nullptr;
  }
  inline void* MaybeArenaPtr() const {
    return nullptr;
  }
  public:

  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  private:
  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
    ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_ignition_2fmsgs_2fdiscovery_2eproto);
    return ::descriptor_table_ignition_2fmsgs_2fdiscovery_2eproto.file_level_metadata[kIndexInFileMessages];
  }

  public:

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------

  enum : int {
    kSocketIdFieldNumber = 1,
    kRequestTypeFieldNumber = 2,
    kResponseTypeFieldNumber = 3,
  };
  // string socket_id = 1;
  void clear_socket_id();
  const std::string& socket_id() const;
  void set_socket_id(const std::string& value);
  void set_socket_id(std::string&& value);
  void set_socket_id(const char* value);
  void set_socket_id(const char* value, size_t size);
  std::string* mutable_socket_id();
  std::string* release_socket_id();
  void set_allocated_socket_id(std::string* socket_id);
  private:
  const std::string& _internal_socket_id() const;
  void _internal_set_socket_id(const std::string& value);
  std::string* _internal_mutable_socket_id();
  public:

  // string request_type = 2;
  void clear_request_type();
  const std::string& request_type() const;
  void set_request_type(const std::string& value);
  void set_request_type(std::string&& value);
  void set_request_type(const char* value);
  void set_request_type(const char* value, size_t size);
  std::string* mutable_request_type();
  std::string* release_request_type();
  void set_allocated_request_type(std::string* request_type);
  private:
  const std::string& _internal_request_type() const;
  void _internal_set_request_type(const std::string& value);
  std::string* _internal_mutable_request_type();
  public:

  // string response_type = 3;
  void clear_response_type();
  const std::string& response_type() const;
  void set_response_type(const std::string& value);
  void set_response_type(std::string&& value);
  void set_response_type(const char* value);
  void set_response_type(const char* value, size_t size);
  std::string* mutable_response_type();
  std::string* release_response_type();
  void set_allocated_response_type(std::string* response_type);
  private:
  const std::string& _internal_response_type() const;
  void _internal_set_response_type(const std::string& value);
  std::string* _internal_mutable_response_type();
  public:

  // @@protoc_insertion_point(class_scope:ignition.msgs.Discovery.Publisher.ServicePublisher)
 private:
  class _Internal;

  ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr socket_id_;
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr request_type_;
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr response_type_;
  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  friend struct ::TableStruct_ignition_2fmsgs_2fdiscovery_2eproto;
};
// -------------------------------------------------------------------

class IGNITION_MSGS_VISIBLE Discovery_Publisher :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Discovery.Publisher) */ {
 public:
  Discovery_Publisher();
  virtual ~Discovery_Publisher();

  Discovery_Publisher(const Discovery_Publisher& from);
  Discovery_Publisher(Discovery_Publisher&& from) noexcept
    : Discovery_Publisher() {
    *this = ::std::move(from);
  }

  inline Discovery_Publisher& operator=(const Discovery_Publisher& from) {
    CopyFrom(from);
    return *this;
  }
  inline Discovery_Publisher& operator=(Discovery_Publisher&& from) noexcept {
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
      if (this != &from) InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
    return GetDescriptor();
  }
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
    return GetMetadataStatic().descriptor;
  }
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
    return GetMetadataStatic().reflection;
  }
  static const Discovery_Publisher& default_instance();

  enum PubTypeCase {
    kMsgPub = 6,
    kSrvPub = 7,
    PUB_TYPE_NOT_SET = 0,
  };

  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
  static inline const Discovery_Publisher* internal_default_instance() {
    return reinterpret_cast<const Discovery_Publisher*>(
               &_Discovery_Publisher_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    4;

  friend void swap(Discovery_Publisher& a, Discovery_Publisher& b) {
    a.Swap(&b);
  }
  inline void Swap(Discovery_Publisher* other) {
    if (other == this) return;
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  inline Discovery_Publisher* New() const final {
    return CreateMaybeMessage<Discovery_Publisher>(nullptr);
  }

  Discovery_Publisher* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
    return CreateMaybeMessage<Discovery_Publisher>(arena);
  }
  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void CopyFrom(const Discovery_Publisher& from);
  void MergeFrom(const Discovery_Publisher& from);
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  bool IsInitialized() const final;

  size_t ByteSizeLong() const final;
  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
      ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _cached_size_.Get(); }

  private:
  inline void SharedCtor();
  inline void SharedDtor();
  void SetCachedSize(int size) const final;
  void InternalSwap(Discovery_Publisher* other);
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "ignition.msgs.Discovery.Publisher";
  }
  private:
  inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
    return nullptr;
  }
  inline void* MaybeArenaPtr() const {
    return nullptr;
  }
  public:

  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  private:
  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
    ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_ignition_2fmsgs_2fdiscovery_2eproto);
    return ::descriptor_table_ignition_2fmsgs_2fdiscovery_2eproto.file_level_metadata[kIndexInFileMessages];
  }

  public:

  // nested types ----------------------------------------------------

  typedef Discovery_Publisher_MessagePublisher MessagePublisher;
  typedef Discovery_Publisher_ServicePublisher ServicePublisher;

  typedef Discovery_Publisher_Scope Scope;
  static constexpr Scope PROCESS =
    Discovery_Publisher_Scope_PROCESS;
  static constexpr Scope HOST =
    Discovery_Publisher_Scope_HOST;
  static constexpr Scope ALL =
    Discovery_Publisher_Scope_ALL;
  static inline bool Scope_IsValid(int value) {
    return Discovery_Publisher_Scope_IsValid(value);
  }
  static constexpr Scope Scope_MIN =
    Discovery_Publisher_Scope_Scope_MIN;
  static constexpr Scope Scope_MAX =
    Discovery_Publisher_Scope_Scope_MAX;
  static constexpr int Scope_ARRAYSIZE =
    Discovery_Publisher_Scope_Scope_ARRAYSIZE;
  static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
  Scope_descriptor() {
    return Discovery_Publisher_Scope_descriptor();
  }
  template<typename T>
  static inline const std::string& Scope_Name(T enum_t_value) {
    static_assert(::std::is_same<T, Scope>::value ||
      ::std::is_integral<T>::value,
      "Incorrect type passed to function Scope_Name.");
    return Discovery_Publisher_Scope_Name(enum_t_value);
  }
  static inline bool Scope_Parse(const std::string& name,
      Scope* value) {
    return Discovery_Publisher_Scope_Parse(name, value);
  }

  // accessors -------------------------------------------------------

  enum : int {
    kTopicFieldNumber = 1,
    kAddressFieldNumber = 2,
    kProcessUuidFieldNumber = 3,
    kNodeUuidFieldNumber = 4,
    kScopeFieldNumber = 5,
    kMsgPubFieldNumber = 6,
    kSrvPubFieldNumber = 7,
  };
  // string topic = 1;
  void clear_topic();
  const std::string& topic() const;
  void set_topic(const std::string& value);
  void set_topic(std::string&& value);
  void set_topic(const char* value);
  void set_topic(const char* value, size_t size);
  std::string* mutable_topic();
  std::string* release_topic();
  void set_allocated_topic(std::string* topic);
  private:
  const std::string& _internal_topic() const;
  void _internal_set_topic(const std::string& value);
  std::string* _internal_mutable_topic();
  public:

  // string address = 2;
  void clear_address();
  const std::string& address() const;
  void set_address(const std::string& value);
  void set_address(std::string&& value);
  void set_address(const char* value);
  void set_address(const char* value, size_t size);
  std::string* mutable_address();
  std::string* release_address();
  void set_allocated_address(std::string* address);
  private:
  const std::string& _internal_address() const;
  void _internal_set_address(const std::string& value);
  std::string* _internal_mutable_address();
  public:

  // string process_uuid = 3;
  void clear_process_uuid();
  const std::string& process_uuid() const;
  void set_process_uuid(const std::string& value);
  void set_process_uuid(std::string&& value);
  void set_process_uuid(const char* value);
  void set_process_uuid(const char* value, size_t size);
  std::string* mutable_process_uuid();
  std::string* release_process_uuid();
  void set_allocated_process_uuid(std::string* process_uuid);
  private:
  const std::string& _internal_process_uuid() const;
  void _internal_set_process_uuid(const std::string& value);
  std::string* _internal_mutable_process_uuid();
  public:

  // string node_uuid = 4;
  void clear_node_uuid();
  const std::string& node_uuid() const;
  void set_node_uuid(const std::string& value);
  void set_node_uuid(std::string&& value);
  void set_node_uuid(const char* value);
  void set_node_uuid(const char* value, size_t size);
  std::string* mutable_node_uuid();
  std::string* release_node_uuid();
  void set_allocated_node_uuid(std::string* node_uuid);
  private:
  const std::string& _internal_node_uuid() const;
  void _internal_set_node_uuid(const std::string& value);
  std::string* _internal_mutable_node_uuid();
  public:

  // .ignition.msgs.Discovery.Publisher.Scope scope = 5;
  void clear_scope();
  ::ignition::msgs::Discovery_Publisher_Scope scope() const;
  void set_scope(::ignition::msgs::Discovery_Publisher_Scope value);
  private:
  ::ignition::msgs::Discovery_Publisher_Scope _internal_scope() const;
  void _internal_set_scope(::ignition::msgs::Discovery_Publisher_Scope value);
  public:

  // .ignition.msgs.Discovery.Publisher.MessagePublisher msg_pub = 6;
  bool has_msg_pub() const;
  private:
  bool _internal_has_msg_pub() const;
  public:
  void clear_msg_pub();
  const ::ignition::msgs::Discovery_Publisher_MessagePublisher& msg_pub() const;
  ::ignition::msgs::Discovery_Publisher_MessagePublisher* release_msg_pub();
  ::ignition::msgs::Discovery_Publisher_MessagePublisher* mutable_msg_pub();
  void set_allocated_msg_pub(::ignition::msgs::Discovery_Publisher_MessagePublisher* msg_pub);
  private:
  const ::ignition::msgs::Discovery_Publisher_MessagePublisher& _internal_msg_pub() const;
  ::ignition::msgs::Discovery_Publisher_MessagePublisher* _internal_mutable_msg_pub();
  public:

  // .ignition.msgs.Discovery.Publisher.ServicePublisher srv_pub = 7;
  bool has_srv_pub() const;
  private:
  bool _internal_has_srv_pub() const;
  public:
  void clear_srv_pub();
  const ::ignition::msgs::Discovery_Publisher_ServicePublisher& srv_pub() const;
  ::ignition::msgs::Discovery_Publisher_ServicePublisher* release_srv_pub();
  ::ignition::msgs::Discovery_Publisher_ServicePublisher* mutable_srv_pub();
  void set_allocated_srv_pub(::ignition::msgs::Discovery_Publisher_ServicePublisher* srv_pub);
  private:
  const ::ignition::msgs::Discovery_Publisher_ServicePublisher& _internal_srv_pub() const;
  ::ignition::msgs::Discovery_Publisher_ServicePublisher* _internal_mutable_srv_pub();
  public:

  void clear_pub_type();
  PubTypeCase pub_type_case() const;
  // @@protoc_insertion_point(class_scope:ignition.msgs.Discovery.Publisher)
 private:
  class _Internal;
  void set_has_msg_pub();
  void set_has_srv_pub();

  inline bool has_pub_type() const;
  inline void clear_has_pub_type();

  ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr topic_;
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr address_;
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr process_uuid_;
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr node_uuid_;
  int scope_;
  union PubTypeUnion {
    PubTypeUnion() {}
    ::ignition::msgs::Discovery_Publisher_MessagePublisher* msg_pub_;
    ::ignition::msgs::Discovery_Publisher_ServicePublisher* srv_pub_;
  } pub_type_;
  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  ::PROTOBUF_NAMESPACE_ID::uint32 _oneof_case_[1];

  friend struct ::TableStruct_ignition_2fmsgs_2fdiscovery_2eproto;
};
// -------------------------------------------------------------------

class IGNITION_MSGS_VISIBLE Discovery :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Discovery) */ {
 public:
  Discovery();
  virtual ~Discovery();

  Discovery(const Discovery& from);
  Discovery(Discovery&& from) noexcept
    : Discovery() {
    *this = ::std::move(from);
  }

  inline Discovery& operator=(const Discovery& from) {
    CopyFrom(from);
    return *this;
  }
  inline Discovery& operator=(Discovery&& from) noexcept {
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
      if (this != &from) InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
    return GetDescriptor();
  }
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
    return GetMetadataStatic().descriptor;
  }
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
    return GetMetadataStatic().reflection;
  }
  static const Discovery& default_instance();

  enum DiscContentsCase {
    kSub = 6,
    kPub = 7,
    DISC_CONTENTS_NOT_SET = 0,
  };

  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
  static inline const Discovery* internal_default_instance() {
    return reinterpret_cast<const Discovery*>(
               &_Discovery_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    5;

  friend void swap(Discovery& a, Discovery& b) {
    a.Swap(&b);
  }
  inline void Swap(Discovery* other) {
    if (other == this) return;
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  inline Discovery* New() const final {
    return CreateMaybeMessage<Discovery>(nullptr);
  }

  Discovery* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
    return CreateMaybeMessage<Discovery>(arena);
  }
  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void CopyFrom(const Discovery& from);
  void MergeFrom(const Discovery& from);
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  bool IsInitialized() const final;

  size_t ByteSizeLong() const final;
  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
      ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _cached_size_.Get(); }

  private:
  inline void SharedCtor();
  inline void SharedDtor();
  void SetCachedSize(int size) const final;
  void InternalSwap(Discovery* other);
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "ignition.msgs.Discovery";
  }
  private:
  inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
    return nullptr;
  }
  inline void* MaybeArenaPtr() const {
    return nullptr;
  }
  public:

  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  private:
  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
    ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_ignition_2fmsgs_2fdiscovery_2eproto);
    return ::descriptor_table_ignition_2fmsgs_2fdiscovery_2eproto.file_level_metadata[kIndexInFileMessages];
  }

  public:

  // nested types ----------------------------------------------------

  typedef Discovery_Flags Flags;
  typedef Discovery_Subscriber Subscriber;
  typedef Discovery_Publisher Publisher;

  typedef Discovery_Type Type;
  static constexpr Type UNINITIALIZED =
    Discovery_Type_UNINITIALIZED;
  static constexpr Type ADVERTISE =
    Discovery_Type_ADVERTISE;
  static constexpr Type SUBSCRIBE =
    Discovery_Type_SUBSCRIBE;
  static constexpr Type UNADVERTISE =
    Discovery_Type_UNADVERTISE;
  static constexpr Type HEARTBEAT =
    Discovery_Type_HEARTBEAT;
  static constexpr Type BYE =
    Discovery_Type_BYE;
  static constexpr Type NEW_CONNECTION =
    Discovery_Type_NEW_CONNECTION;
  static constexpr Type END_CONNECTION =
    Discovery_Type_END_CONNECTION;
  static inline bool Type_IsValid(int value) {
    return Discovery_Type_IsValid(value);
  }
  static constexpr Type Type_MIN =
    Discovery_Type_Type_MIN;
  static constexpr Type Type_MAX =
    Discovery_Type_Type_MAX;
  static constexpr int Type_ARRAYSIZE =
    Discovery_Type_Type_ARRAYSIZE;
  static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
  Type_descriptor() {
    return Discovery_Type_descriptor();
  }
  template<typename T>
  static inline const std::string& Type_Name(T enum_t_value) {
    static_assert(::std::is_same<T, Type>::value ||
      ::std::is_integral<T>::value,
      "Incorrect type passed to function Type_Name.");
    return Discovery_Type_Name(enum_t_value);
  }
  static inline bool Type_Parse(const std::string& name,
      Type* value) {
    return Discovery_Type_Parse(name, value);
  }

  // accessors -------------------------------------------------------

  enum : int {
    kProcessUuidFieldNumber = 3,
    kHeaderFieldNumber = 1,
    kFlagsFieldNumber = 5,
    kVersionFieldNumber = 2,
    kTypeFieldNumber = 4,
    kSubFieldNumber = 6,
    kPubFieldNumber = 7,
  };
  // string process_uuid = 3;
  void clear_process_uuid();
  const std::string& process_uuid() const;
  void set_process_uuid(const std::string& value);
  void set_process_uuid(std::string&& value);
  void set_process_uuid(const char* value);
  void set_process_uuid(const char* value, size_t size);
  std::string* mutable_process_uuid();
  std::string* release_process_uuid();
  void set_allocated_process_uuid(std::string* process_uuid);
  private:
  const std::string& _internal_process_uuid() const;
  void _internal_set_process_uuid(const std::string& value);
  std::string* _internal_mutable_process_uuid();
  public:

  // .ignition.msgs.Header header = 1;
  bool has_header() const;
  private:
  bool _internal_has_header() const;
  public:
  void clear_header();
  const ::ignition::msgs::Header& header() const;
  ::ignition::msgs::Header* release_header();
  ::ignition::msgs::Header* mutable_header();
  void set_allocated_header(::ignition::msgs::Header* header);
  private:
  const ::ignition::msgs::Header& _internal_header() const;
  ::ignition::msgs::Header* _internal_mutable_header();
  public:

  // .ignition.msgs.Discovery.Flags flags = 5;
  bool has_flags() const;
  private:
  bool _internal_has_flags() const;
  public:
  void clear_flags();
  const ::ignition::msgs::Discovery_Flags& flags() const;
  ::ignition::msgs::Discovery_Flags* release_flags();
  ::ignition::msgs::Discovery_Flags* mutable_flags();
  void set_allocated_flags(::ignition::msgs::Discovery_Flags* flags);
  private:
  const ::ignition::msgs::Discovery_Flags& _internal_flags() const;
  ::ignition::msgs::Discovery_Flags* _internal_mutable_flags();
  public:

  // uint32 version = 2;
  void clear_version();
  ::PROTOBUF_NAMESPACE_ID::uint32 version() const;
  void set_version(::PROTOBUF_NAMESPACE_ID::uint32 value);
  private:
  ::PROTOBUF_NAMESPACE_ID::uint32 _internal_version() const;
  void _internal_set_version(::PROTOBUF_NAMESPACE_ID::uint32 value);
  public:

  // .ignition.msgs.Discovery.Type type = 4;
  void clear_type();
  ::ignition::msgs::Discovery_Type type() const;
  void set_type(::ignition::msgs::Discovery_Type value);
  private:
  ::ignition::msgs::Discovery_Type _internal_type() const;
  void _internal_set_type(::ignition::msgs::Discovery_Type value);
  public:

  // .ignition.msgs.Discovery.Subscriber sub = 6;
  bool has_sub() const;
  private:
  bool _internal_has_sub() const;
  public:
  void clear_sub();
  const ::ignition::msgs::Discovery_Subscriber& sub() const;
  ::ignition::msgs::Discovery_Subscriber* release_sub();
  ::ignition::msgs::Discovery_Subscriber* mutable_sub();
  void set_allocated_sub(::ignition::msgs::Discovery_Subscriber* sub);
  private:
  const ::ignition::msgs::Discovery_Subscriber& _internal_sub() const;
  ::ignition::msgs::Discovery_Subscriber* _internal_mutable_sub();
  public:

  // .ignition.msgs.Discovery.Publisher pub = 7;
  bool has_pub() const;
  private:
  bool _internal_has_pub() const;
  public:
  void clear_pub();
  const ::ignition::msgs::Discovery_Publisher& pub() const;
  ::ignition::msgs::Discovery_Publisher* release_pub();
  ::ignition::msgs::Discovery_Publisher* mutable_pub();
  void set_allocated_pub(::ignition::msgs::Discovery_Publisher* pub);
  private:
  const ::ignition::msgs::Discovery_Publisher& _internal_pub() const;
  ::ignition::msgs::Discovery_Publisher* _internal_mutable_pub();
  public:

  void clear_disc_contents();
  DiscContentsCase disc_contents_case() const;
  // @@protoc_insertion_point(class_scope:ignition.msgs.Discovery)
 private:
  class _Internal;
  void set_has_sub();
  void set_has_pub();

  inline bool has_disc_contents() const;
  inline void clear_has_disc_contents();

  ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr process_uuid_;
  ::ignition::msgs::Header* header_;
  ::ignition::msgs::Discovery_Flags* flags_;
  ::PROTOBUF_NAMESPACE_ID::uint32 version_;
  int type_;
  union DiscContentsUnion {
    DiscContentsUnion() {}
    ::ignition::msgs::Discovery_Subscriber* sub_;
    ::ignition::msgs::Discovery_Publisher* pub_;
  } disc_contents_;
  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  ::PROTOBUF_NAMESPACE_ID::uint32 _oneof_case_[1];

  friend struct ::TableStruct_ignition_2fmsgs_2fdiscovery_2eproto;
};
// ===================================================================


// ===================================================================

#ifdef __GNUC__
  #pragma GCC diagnostic push
  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif  // __GNUC__
// Discovery_Flags

// bool relay = 1;
inline void Discovery_Flags::clear_relay() {
  relay_ = false;
}
inline bool Discovery_Flags::_internal_relay() const {
  return relay_;
}
inline bool Discovery_Flags::relay() const {
  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Flags.relay)
  return _internal_relay();
}
inline void Discovery_Flags::_internal_set_relay(bool value) {
  
  relay_ = value;
}
inline void Discovery_Flags::set_relay(bool value) {
  _internal_set_relay(value);
  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.Flags.relay)
}

// bool no_relay = 2;
inline void Discovery_Flags::clear_no_relay() {
  no_relay_ = false;
}
inline bool Discovery_Flags::_internal_no_relay() const {
  return no_relay_;
}
inline bool Discovery_Flags::no_relay() const {
  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Flags.no_relay)
  return _internal_no_relay();
}
inline void Discovery_Flags::_internal_set_no_relay(bool value) {
  
  no_relay_ = value;
}
inline void Discovery_Flags::set_no_relay(bool value) {
  _internal_set_no_relay(value);
  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.Flags.no_relay)
}

// -------------------------------------------------------------------

// Discovery_Subscriber

// string topic = 1;
inline void Discovery_Subscriber::clear_topic() {
  topic_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline const std::string& Discovery_Subscriber::topic() const {
  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Subscriber.topic)
  return _internal_topic();
}
inline void Discovery_Subscriber::set_topic(const std::string& value) {
  _internal_set_topic(value);
  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.Subscriber.topic)
}
inline std::string* Discovery_Subscriber::mutable_topic() {
  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.Subscriber.topic)
  return _internal_mutable_topic();
}
inline const std::string& Discovery_Subscriber::_internal_topic() const {
  return topic_.GetNoArena();
}
inline void Discovery_Subscriber::_internal_set_topic(const std::string& value) {
  
  topic_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
}
inline void Discovery_Subscriber::set_topic(std::string&& value) {
  
  topic_.SetNoArena(
    &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Discovery.Subscriber.topic)
}
inline void Discovery_Subscriber::set_topic(const char* value) {
  GOOGLE_DCHECK(value != nullptr);
  
  topic_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:ignition.msgs.Discovery.Subscriber.topic)
}
inline void Discovery_Subscriber::set_topic(const char* value, size_t size) {
  
  topic_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Discovery.Subscriber.topic)
}
inline std::string* Discovery_Subscriber::_internal_mutable_topic() {
  
  return topic_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline std::string* Discovery_Subscriber::release_topic() {
  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.Subscriber.topic)
  
  return topic_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline void Discovery_Subscriber::set_allocated_topic(std::string* topic) {
  if (topic != nullptr) {
    
  } else {
    
  }
  topic_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), topic);
  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Discovery.Subscriber.topic)
}

// -------------------------------------------------------------------

// Discovery_Publisher_MessagePublisher

// string ctrl = 1;
inline void Discovery_Publisher_MessagePublisher::clear_ctrl() {
  ctrl_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline const std::string& Discovery_Publisher_MessagePublisher::ctrl() const {
  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Publisher.MessagePublisher.ctrl)
  return _internal_ctrl();
}
inline void Discovery_Publisher_MessagePublisher::set_ctrl(const std::string& value) {
  _internal_set_ctrl(value);
  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.Publisher.MessagePublisher.ctrl)
}
inline std::string* Discovery_Publisher_MessagePublisher::mutable_ctrl() {
  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.Publisher.MessagePublisher.ctrl)
  return _internal_mutable_ctrl();
}
inline const std::string& Discovery_Publisher_MessagePublisher::_internal_ctrl() const {
  return ctrl_.GetNoArena();
}
inline void Discovery_Publisher_MessagePublisher::_internal_set_ctrl(const std::string& value) {
  
  ctrl_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
}
inline void Discovery_Publisher_MessagePublisher::set_ctrl(std::string&& value) {
  
  ctrl_.SetNoArena(
    &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Discovery.Publisher.MessagePublisher.ctrl)
}
inline void Discovery_Publisher_MessagePublisher::set_ctrl(const char* value) {
  GOOGLE_DCHECK(value != nullptr);
  
  ctrl_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:ignition.msgs.Discovery.Publisher.MessagePublisher.ctrl)
}
inline void Discovery_Publisher_MessagePublisher::set_ctrl(const char* value, size_t size) {
  
  ctrl_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Discovery.Publisher.MessagePublisher.ctrl)
}
inline std::string* Discovery_Publisher_MessagePublisher::_internal_mutable_ctrl() {
  
  return ctrl_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline std::string* Discovery_Publisher_MessagePublisher::release_ctrl() {
  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.Publisher.MessagePublisher.ctrl)
  
  return ctrl_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline void Discovery_Publisher_MessagePublisher::set_allocated_ctrl(std::string* ctrl) {
  if (ctrl != nullptr) {
    
  } else {
    
  }
  ctrl_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ctrl);
  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Discovery.Publisher.MessagePublisher.ctrl)
}

// string msg_type = 2;
inline void Discovery_Publisher_MessagePublisher::clear_msg_type() {
  msg_type_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline const std::string& Discovery_Publisher_MessagePublisher::msg_type() const {
  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Publisher.MessagePublisher.msg_type)
  return _internal_msg_type();
}
inline void Discovery_Publisher_MessagePublisher::set_msg_type(const std::string& value) {
  _internal_set_msg_type(value);
  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.Publisher.MessagePublisher.msg_type)
}
inline std::string* Discovery_Publisher_MessagePublisher::mutable_msg_type() {
  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.Publisher.MessagePublisher.msg_type)
  return _internal_mutable_msg_type();
}
inline const std::string& Discovery_Publisher_MessagePublisher::_internal_msg_type() const {
  return msg_type_.GetNoArena();
}
inline void Discovery_Publisher_MessagePublisher::_internal_set_msg_type(const std::string& value) {
  
  msg_type_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
}
inline void Discovery_Publisher_MessagePublisher::set_msg_type(std::string&& value) {
  
  msg_type_.SetNoArena(
    &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Discovery.Publisher.MessagePublisher.msg_type)
}
inline void Discovery_Publisher_MessagePublisher::set_msg_type(const char* value) {
  GOOGLE_DCHECK(value != nullptr);
  
  msg_type_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:ignition.msgs.Discovery.Publisher.MessagePublisher.msg_type)
}
inline void Discovery_Publisher_MessagePublisher::set_msg_type(const char* value, size_t size) {
  
  msg_type_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Discovery.Publisher.MessagePublisher.msg_type)
}
inline std::string* Discovery_Publisher_MessagePublisher::_internal_mutable_msg_type() {
  
  return msg_type_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline std::string* Discovery_Publisher_MessagePublisher::release_msg_type() {
  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.Publisher.MessagePublisher.msg_type)
  
  return msg_type_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline void Discovery_Publisher_MessagePublisher::set_allocated_msg_type(std::string* msg_type) {
  if (msg_type != nullptr) {
    
  } else {
    
  }
  msg_type_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), msg_type);
  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Discovery.Publisher.MessagePublisher.msg_type)
}

// bool throttled = 3;
inline void Discovery_Publisher_MessagePublisher::clear_throttled() {
  throttled_ = false;
}
inline bool Discovery_Publisher_MessagePublisher::_internal_throttled() const {
  return throttled_;
}
inline bool Discovery_Publisher_MessagePublisher::throttled() const {
  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Publisher.MessagePublisher.throttled)
  return _internal_throttled();
}
inline void Discovery_Publisher_MessagePublisher::_internal_set_throttled(bool value) {
  
  throttled_ = value;
}
inline void Discovery_Publisher_MessagePublisher::set_throttled(bool value) {
  _internal_set_throttled(value);
  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.Publisher.MessagePublisher.throttled)
}

// uint64 msgs_per_sec = 4;
inline void Discovery_Publisher_MessagePublisher::clear_msgs_per_sec() {
  msgs_per_sec_ = PROTOBUF_ULONGLONG(0);
}
inline ::PROTOBUF_NAMESPACE_ID::uint64 Discovery_Publisher_MessagePublisher::_internal_msgs_per_sec() const {
  return msgs_per_sec_;
}
inline ::PROTOBUF_NAMESPACE_ID::uint64 Discovery_Publisher_MessagePublisher::msgs_per_sec() const {
  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Publisher.MessagePublisher.msgs_per_sec)
  return _internal_msgs_per_sec();
}
inline void Discovery_Publisher_MessagePublisher::_internal_set_msgs_per_sec(::PROTOBUF_NAMESPACE_ID::uint64 value) {
  
  msgs_per_sec_ = value;
}
inline void Discovery_Publisher_MessagePublisher::set_msgs_per_sec(::PROTOBUF_NAMESPACE_ID::uint64 value) {
  _internal_set_msgs_per_sec(value);
  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.Publisher.MessagePublisher.msgs_per_sec)
}

// -------------------------------------------------------------------

// Discovery_Publisher_ServicePublisher

// string socket_id = 1;
inline void Discovery_Publisher_ServicePublisher::clear_socket_id() {
  socket_id_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline const std::string& Discovery_Publisher_ServicePublisher::socket_id() const {
  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Publisher.ServicePublisher.socket_id)
  return _internal_socket_id();
}
inline void Discovery_Publisher_ServicePublisher::set_socket_id(const std::string& value) {
  _internal_set_socket_id(value);
  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.Publisher.ServicePublisher.socket_id)
}
inline std::string* Discovery_Publisher_ServicePublisher::mutable_socket_id() {
  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.Publisher.ServicePublisher.socket_id)
  return _internal_mutable_socket_id();
}
inline const std::string& Discovery_Publisher_ServicePublisher::_internal_socket_id() const {
  return socket_id_.GetNoArena();
}
inline void Discovery_Publisher_ServicePublisher::_internal_set_socket_id(const std::string& value) {
  
  socket_id_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
}
inline void Discovery_Publisher_ServicePublisher::set_socket_id(std::string&& value) {
  
  socket_id_.SetNoArena(
    &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Discovery.Publisher.ServicePublisher.socket_id)
}
inline void Discovery_Publisher_ServicePublisher::set_socket_id(const char* value) {
  GOOGLE_DCHECK(value != nullptr);
  
  socket_id_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:ignition.msgs.Discovery.Publisher.ServicePublisher.socket_id)
}
inline void Discovery_Publisher_ServicePublisher::set_socket_id(const char* value, size_t size) {
  
  socket_id_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Discovery.Publisher.ServicePublisher.socket_id)
}
inline std::string* Discovery_Publisher_ServicePublisher::_internal_mutable_socket_id() {
  
  return socket_id_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline std::string* Discovery_Publisher_ServicePublisher::release_socket_id() {
  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.Publisher.ServicePublisher.socket_id)
  
  return socket_id_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline void Discovery_Publisher_ServicePublisher::set_allocated_socket_id(std::string* socket_id) {
  if (socket_id != nullptr) {
    
  } else {
    
  }
  socket_id_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), socket_id);
  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Discovery.Publisher.ServicePublisher.socket_id)
}

// string request_type = 2;
inline void Discovery_Publisher_ServicePublisher::clear_request_type() {
  request_type_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline const std::string& Discovery_Publisher_ServicePublisher::request_type() const {
  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Publisher.ServicePublisher.request_type)
  return _internal_request_type();
}
inline void Discovery_Publisher_ServicePublisher::set_request_type(const std::string& value) {
  _internal_set_request_type(value);
  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.Publisher.ServicePublisher.request_type)
}
inline std::string* Discovery_Publisher_ServicePublisher::mutable_request_type() {
  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.Publisher.ServicePublisher.request_type)
  return _internal_mutable_request_type();
}
inline const std::string& Discovery_Publisher_ServicePublisher::_internal_request_type() const {
  return request_type_.GetNoArena();
}
inline void Discovery_Publisher_ServicePublisher::_internal_set_request_type(const std::string& value) {
  
  request_type_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
}
inline void Discovery_Publisher_ServicePublisher::set_request_type(std::string&& value) {
  
  request_type_.SetNoArena(
    &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Discovery.Publisher.ServicePublisher.request_type)
}
inline void Discovery_Publisher_ServicePublisher::set_request_type(const char* value) {
  GOOGLE_DCHECK(value != nullptr);
  
  request_type_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:ignition.msgs.Discovery.Publisher.ServicePublisher.request_type)
}
inline void Discovery_Publisher_ServicePublisher::set_request_type(const char* value, size_t size) {
  
  request_type_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Discovery.Publisher.ServicePublisher.request_type)
}
inline std::string* Discovery_Publisher_ServicePublisher::_internal_mutable_request_type() {
  
  return request_type_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline std::string* Discovery_Publisher_ServicePublisher::release_request_type() {
  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.Publisher.ServicePublisher.request_type)
  
  return request_type_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline void Discovery_Publisher_ServicePublisher::set_allocated_request_type(std::string* request_type) {
  if (request_type != nullptr) {
    
  } else {
    
  }
  request_type_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), request_type);
  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Discovery.Publisher.ServicePublisher.request_type)
}

// string response_type = 3;
inline void Discovery_Publisher_ServicePublisher::clear_response_type() {
  response_type_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline const std::string& Discovery_Publisher_ServicePublisher::response_type() const {
  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Publisher.ServicePublisher.response_type)
  return _internal_response_type();
}
inline void Discovery_Publisher_ServicePublisher::set_response_type(const std::string& value) {
  _internal_set_response_type(value);
  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.Publisher.ServicePublisher.response_type)
}
inline std::string* Discovery_Publisher_ServicePublisher::mutable_response_type() {
  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.Publisher.ServicePublisher.response_type)
  return _internal_mutable_response_type();
}
inline const std::string& Discovery_Publisher_ServicePublisher::_internal_response_type() const {
  return response_type_.GetNoArena();
}
inline void Discovery_Publisher_ServicePublisher::_internal_set_response_type(const std::string& value) {
  
  response_type_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
}
inline void Discovery_Publisher_ServicePublisher::set_response_type(std::string&& value) {
  
  response_type_.SetNoArena(
    &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Discovery.Publisher.ServicePublisher.response_type)
}
inline void Discovery_Publisher_ServicePublisher::set_response_type(const char* value) {
  GOOGLE_DCHECK(value != nullptr);
  
  response_type_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:ignition.msgs.Discovery.Publisher.ServicePublisher.response_type)
}
inline void Discovery_Publisher_ServicePublisher::set_response_type(const char* value, size_t size) {
  
  response_type_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Discovery.Publisher.ServicePublisher.response_type)
}
inline std::string* Discovery_Publisher_ServicePublisher::_internal_mutable_response_type() {
  
  return response_type_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline std::string* Discovery_Publisher_ServicePublisher::release_response_type() {
  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.Publisher.ServicePublisher.response_type)
  
  return response_type_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline void Discovery_Publisher_ServicePublisher::set_allocated_response_type(std::string* response_type) {
  if (response_type != nullptr) {
    
  } else {
    
  }
  response_type_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), response_type);
  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Discovery.Publisher.ServicePublisher.response_type)
}

// -------------------------------------------------------------------

// Discovery_Publisher

// string topic = 1;
inline void Discovery_Publisher::clear_topic() {
  topic_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline const std::string& Discovery_Publisher::topic() const {
  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Publisher.topic)
  return _internal_topic();
}
inline void Discovery_Publisher::set_topic(const std::string& value) {
  _internal_set_topic(value);
  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.Publisher.topic)
}
inline std::string* Discovery_Publisher::mutable_topic() {
  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.Publisher.topic)
  return _internal_mutable_topic();
}
inline const std::string& Discovery_Publisher::_internal_topic() const {
  return topic_.GetNoArena();
}
inline void Discovery_Publisher::_internal_set_topic(const std::string& value) {
  
  topic_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
}
inline void Discovery_Publisher::set_topic(std::string&& value) {
  
  topic_.SetNoArena(
    &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Discovery.Publisher.topic)
}
inline void Discovery_Publisher::set_topic(const char* value) {
  GOOGLE_DCHECK(value != nullptr);
  
  topic_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:ignition.msgs.Discovery.Publisher.topic)
}
inline void Discovery_Publisher::set_topic(const char* value, size_t size) {
  
  topic_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Discovery.Publisher.topic)
}
inline std::string* Discovery_Publisher::_internal_mutable_topic() {
  
  return topic_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline std::string* Discovery_Publisher::release_topic() {
  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.Publisher.topic)
  
  return topic_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline void Discovery_Publisher::set_allocated_topic(std::string* topic) {
  if (topic != nullptr) {
    
  } else {
    
  }
  topic_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), topic);
  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Discovery.Publisher.topic)
}

// string address = 2;
inline void Discovery_Publisher::clear_address() {
  address_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline const std::string& Discovery_Publisher::address() const {
  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Publisher.address)
  return _internal_address();
}
inline void Discovery_Publisher::set_address(const std::string& value) {
  _internal_set_address(value);
  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.Publisher.address)
}
inline std::string* Discovery_Publisher::mutable_address() {
  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.Publisher.address)
  return _internal_mutable_address();
}
inline const std::string& Discovery_Publisher::_internal_address() const {
  return address_.GetNoArena();
}
inline void Discovery_Publisher::_internal_set_address(const std::string& value) {
  
  address_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
}
inline void Discovery_Publisher::set_address(std::string&& value) {
  
  address_.SetNoArena(
    &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Discovery.Publisher.address)
}
inline void Discovery_Publisher::set_address(const char* value) {
  GOOGLE_DCHECK(value != nullptr);
  
  address_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:ignition.msgs.Discovery.Publisher.address)
}
inline void Discovery_Publisher::set_address(const char* value, size_t size) {
  
  address_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Discovery.Publisher.address)
}
inline std::string* Discovery_Publisher::_internal_mutable_address() {
  
  return address_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline std::string* Discovery_Publisher::release_address() {
  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.Publisher.address)
  
  return address_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline void Discovery_Publisher::set_allocated_address(std::string* address) {
  if (address != nullptr) {
    
  } else {
    
  }
  address_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), address);
  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Discovery.Publisher.address)
}

// string process_uuid = 3;
inline void Discovery_Publisher::clear_process_uuid() {
  process_uuid_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline const std::string& Discovery_Publisher::process_uuid() const {
  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Publisher.process_uuid)
  return _internal_process_uuid();
}
inline void Discovery_Publisher::set_process_uuid(const std::string& value) {
  _internal_set_process_uuid(value);
  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.Publisher.process_uuid)
}
inline std::string* Discovery_Publisher::mutable_process_uuid() {
  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.Publisher.process_uuid)
  return _internal_mutable_process_uuid();
}
inline const std::string& Discovery_Publisher::_internal_process_uuid() const {
  return process_uuid_.GetNoArena();
}
inline void Discovery_Publisher::_internal_set_process_uuid(const std::string& value) {
  
  process_uuid_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
}
inline void Discovery_Publisher::set_process_uuid(std::string&& value) {
  
  process_uuid_.SetNoArena(
    &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Discovery.Publisher.process_uuid)
}
inline void Discovery_Publisher::set_process_uuid(const char* value) {
  GOOGLE_DCHECK(value != nullptr);
  
  process_uuid_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:ignition.msgs.Discovery.Publisher.process_uuid)
}
inline void Discovery_Publisher::set_process_uuid(const char* value, size_t size) {
  
  process_uuid_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Discovery.Publisher.process_uuid)
}
inline std::string* Discovery_Publisher::_internal_mutable_process_uuid() {
  
  return process_uuid_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline std::string* Discovery_Publisher::release_process_uuid() {
  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.Publisher.process_uuid)
  
  return process_uuid_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline void Discovery_Publisher::set_allocated_process_uuid(std::string* process_uuid) {
  if (process_uuid != nullptr) {
    
  } else {
    
  }
  process_uuid_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), process_uuid);
  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Discovery.Publisher.process_uuid)
}

// string node_uuid = 4;
inline void Discovery_Publisher::clear_node_uuid() {
  node_uuid_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline const std::string& Discovery_Publisher::node_uuid() const {
  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Publisher.node_uuid)
  return _internal_node_uuid();
}
inline void Discovery_Publisher::set_node_uuid(const std::string& value) {
  _internal_set_node_uuid(value);
  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.Publisher.node_uuid)
}
inline std::string* Discovery_Publisher::mutable_node_uuid() {
  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.Publisher.node_uuid)
  return _internal_mutable_node_uuid();
}
inline const std::string& Discovery_Publisher::_internal_node_uuid() const {
  return node_uuid_.GetNoArena();
}
inline void Discovery_Publisher::_internal_set_node_uuid(const std::string& value) {
  
  node_uuid_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
}
inline void Discovery_Publisher::set_node_uuid(std::string&& value) {
  
  node_uuid_.SetNoArena(
    &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Discovery.Publisher.node_uuid)
}
inline void Discovery_Publisher::set_node_uuid(const char* value) {
  GOOGLE_DCHECK(value != nullptr);
  
  node_uuid_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:ignition.msgs.Discovery.Publisher.node_uuid)
}
inline void Discovery_Publisher::set_node_uuid(const char* value, size_t size) {
  
  node_uuid_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Discovery.Publisher.node_uuid)
}
inline std::string* Discovery_Publisher::_internal_mutable_node_uuid() {
  
  return node_uuid_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline std::string* Discovery_Publisher::release_node_uuid() {
  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.Publisher.node_uuid)
  
  return node_uuid_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline void Discovery_Publisher::set_allocated_node_uuid(std::string* node_uuid) {
  if (node_uuid != nullptr) {
    
  } else {
    
  }
  node_uuid_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), node_uuid);
  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Discovery.Publisher.node_uuid)
}

// .ignition.msgs.Discovery.Publisher.Scope scope = 5;
inline void Discovery_Publisher::clear_scope() {
  scope_ = 0;
}
inline ::ignition::msgs::Discovery_Publisher_Scope Discovery_Publisher::_internal_scope() const {
  return static_cast< ::ignition::msgs::Discovery_Publisher_Scope >(scope_);
}
inline ::ignition::msgs::Discovery_Publisher_Scope Discovery_Publisher::scope() const {
  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Publisher.scope)
  return _internal_scope();
}
inline void Discovery_Publisher::_internal_set_scope(::ignition::msgs::Discovery_Publisher_Scope value) {
  
  scope_ = value;
}
inline void Discovery_Publisher::set_scope(::ignition::msgs::Discovery_Publisher_Scope value) {
  _internal_set_scope(value);
  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.Publisher.scope)
}

// .ignition.msgs.Discovery.Publisher.MessagePublisher msg_pub = 6;
inline bool Discovery_Publisher::_internal_has_msg_pub() const {
  return pub_type_case() == kMsgPub;
}
inline bool Discovery_Publisher::has_msg_pub() const {
  return _internal_has_msg_pub();
}
inline void Discovery_Publisher::set_has_msg_pub() {
  _oneof_case_[0] = kMsgPub;
}
inline void Discovery_Publisher::clear_msg_pub() {
  if (_internal_has_msg_pub()) {
    delete pub_type_.msg_pub_;
    clear_has_pub_type();
  }
}
inline ::ignition::msgs::Discovery_Publisher_MessagePublisher* Discovery_Publisher::release_msg_pub() {
  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.Publisher.msg_pub)
  if (_internal_has_msg_pub()) {
    clear_has_pub_type();
      ::ignition::msgs::Discovery_Publisher_MessagePublisher* temp = pub_type_.msg_pub_;
    pub_type_.msg_pub_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline const ::ignition::msgs::Discovery_Publisher_MessagePublisher& Discovery_Publisher::_internal_msg_pub() const {
  return _internal_has_msg_pub()
      ? *pub_type_.msg_pub_
      : *reinterpret_cast< ::ignition::msgs::Discovery_Publisher_MessagePublisher*>(&::ignition::msgs::_Discovery_Publisher_MessagePublisher_default_instance_);
}
inline const ::ignition::msgs::Discovery_Publisher_MessagePublisher& Discovery_Publisher::msg_pub() const {
  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Publisher.msg_pub)
  return _internal_msg_pub();
}
inline ::ignition::msgs::Discovery_Publisher_MessagePublisher* Discovery_Publisher::_internal_mutable_msg_pub() {
  if (!_internal_has_msg_pub()) {
    clear_pub_type();
    set_has_msg_pub();
    pub_type_.msg_pub_ = CreateMaybeMessage< ::ignition::msgs::Discovery_Publisher_MessagePublisher >(
        GetArenaNoVirtual());
  }
  return pub_type_.msg_pub_;
}
inline ::ignition::msgs::Discovery_Publisher_MessagePublisher* Discovery_Publisher::mutable_msg_pub() {
  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.Publisher.msg_pub)
  return _internal_mutable_msg_pub();
}

// .ignition.msgs.Discovery.Publisher.ServicePublisher srv_pub = 7;
inline bool Discovery_Publisher::_internal_has_srv_pub() const {
  return pub_type_case() == kSrvPub;
}
inline bool Discovery_Publisher::has_srv_pub() const {
  return _internal_has_srv_pub();
}
inline void Discovery_Publisher::set_has_srv_pub() {
  _oneof_case_[0] = kSrvPub;
}
inline void Discovery_Publisher::clear_srv_pub() {
  if (_internal_has_srv_pub()) {
    delete pub_type_.srv_pub_;
    clear_has_pub_type();
  }
}
inline ::ignition::msgs::Discovery_Publisher_ServicePublisher* Discovery_Publisher::release_srv_pub() {
  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.Publisher.srv_pub)
  if (_internal_has_srv_pub()) {
    clear_has_pub_type();
      ::ignition::msgs::Discovery_Publisher_ServicePublisher* temp = pub_type_.srv_pub_;
    pub_type_.srv_pub_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline const ::ignition::msgs::Discovery_Publisher_ServicePublisher& Discovery_Publisher::_internal_srv_pub() const {
  return _internal_has_srv_pub()
      ? *pub_type_.srv_pub_
      : *reinterpret_cast< ::ignition::msgs::Discovery_Publisher_ServicePublisher*>(&::ignition::msgs::_Discovery_Publisher_ServicePublisher_default_instance_);
}
inline const ::ignition::msgs::Discovery_Publisher_ServicePublisher& Discovery_Publisher::srv_pub() const {
  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Publisher.srv_pub)
  return _internal_srv_pub();
}
inline ::ignition::msgs::Discovery_Publisher_ServicePublisher* Discovery_Publisher::_internal_mutable_srv_pub() {
  if (!_internal_has_srv_pub()) {
    clear_pub_type();
    set_has_srv_pub();
    pub_type_.srv_pub_ = CreateMaybeMessage< ::ignition::msgs::Discovery_Publisher_ServicePublisher >(
        GetArenaNoVirtual());
  }
  return pub_type_.srv_pub_;
}
inline ::ignition::msgs::Discovery_Publisher_ServicePublisher* Discovery_Publisher::mutable_srv_pub() {
  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.Publisher.srv_pub)
  return _internal_mutable_srv_pub();
}

inline bool Discovery_Publisher::has_pub_type() const {
  return pub_type_case() != PUB_TYPE_NOT_SET;
}
inline void Discovery_Publisher::clear_has_pub_type() {
  _oneof_case_[0] = PUB_TYPE_NOT_SET;
}
inline Discovery_Publisher::PubTypeCase Discovery_Publisher::pub_type_case() const {
  return Discovery_Publisher::PubTypeCase(_oneof_case_[0]);
}
// -------------------------------------------------------------------

// Discovery

// .ignition.msgs.Header header = 1;
inline bool Discovery::_internal_has_header() const {
  return this != internal_default_instance() && header_ != nullptr;
}
inline bool Discovery::has_header() const {
  return _internal_has_header();
}
inline const ::ignition::msgs::Header& Discovery::_internal_header() const {
  const ::ignition::msgs::Header* p = header_;
  return p != nullptr ? *p : *reinterpret_cast<const ::ignition::msgs::Header*>(
      &::ignition::msgs::_Header_default_instance_);
}
inline const ::ignition::msgs::Header& Discovery::header() const {
  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.header)
  return _internal_header();
}
inline ::ignition::msgs::Header* Discovery::release_header() {
  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.header)
  
  ::ignition::msgs::Header* temp = header_;
  header_ = nullptr;
  return temp;
}
inline ::ignition::msgs::Header* Discovery::_internal_mutable_header() {
  
  if (header_ == nullptr) {
    auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaNoVirtual());
    header_ = p;
  }
  return header_;
}
inline ::ignition::msgs::Header* Discovery::mutable_header() {
  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.header)
  return _internal_mutable_header();
}
inline void Discovery::set_allocated_header(::ignition::msgs::Header* header) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
  }
  if (header) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
    if (message_arena != submessage_arena) {
      header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, header, submessage_arena);
    }
    
  } else {
    
  }
  header_ = header;
  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Discovery.header)
}

// uint32 version = 2;
inline void Discovery::clear_version() {
  version_ = 0u;
}
inline ::PROTOBUF_NAMESPACE_ID::uint32 Discovery::_internal_version() const {
  return version_;
}
inline ::PROTOBUF_NAMESPACE_ID::uint32 Discovery::version() const {
  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.version)
  return _internal_version();
}
inline void Discovery::_internal_set_version(::PROTOBUF_NAMESPACE_ID::uint32 value) {
  
  version_ = value;
}
inline void Discovery::set_version(::PROTOBUF_NAMESPACE_ID::uint32 value) {
  _internal_set_version(value);
  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.version)
}

// string process_uuid = 3;
inline void Discovery::clear_process_uuid() {
  process_uuid_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline const std::string& Discovery::process_uuid() const {
  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.process_uuid)
  return _internal_process_uuid();
}
inline void Discovery::set_process_uuid(const std::string& value) {
  _internal_set_process_uuid(value);
  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.process_uuid)
}
inline std::string* Discovery::mutable_process_uuid() {
  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.process_uuid)
  return _internal_mutable_process_uuid();
}
inline const std::string& Discovery::_internal_process_uuid() const {
  return process_uuid_.GetNoArena();
}
inline void Discovery::_internal_set_process_uuid(const std::string& value) {
  
  process_uuid_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
}
inline void Discovery::set_process_uuid(std::string&& value) {
  
  process_uuid_.SetNoArena(
    &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Discovery.process_uuid)
}
inline void Discovery::set_process_uuid(const char* value) {
  GOOGLE_DCHECK(value != nullptr);
  
  process_uuid_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:ignition.msgs.Discovery.process_uuid)
}
inline void Discovery::set_process_uuid(const char* value, size_t size) {
  
  process_uuid_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Discovery.process_uuid)
}
inline std::string* Discovery::_internal_mutable_process_uuid() {
  
  return process_uuid_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline std::string* Discovery::release_process_uuid() {
  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.process_uuid)
  
  return process_uuid_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline void Discovery::set_allocated_process_uuid(std::string* process_uuid) {
  if (process_uuid != nullptr) {
    
  } else {
    
  }
  process_uuid_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), process_uuid);
  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Discovery.process_uuid)
}

// .ignition.msgs.Discovery.Type type = 4;
inline void Discovery::clear_type() {
  type_ = 0;
}
inline ::ignition::msgs::Discovery_Type Discovery::_internal_type() const {
  return static_cast< ::ignition::msgs::Discovery_Type >(type_);
}
inline ::ignition::msgs::Discovery_Type Discovery::type() const {
  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.type)
  return _internal_type();
}
inline void Discovery::_internal_set_type(::ignition::msgs::Discovery_Type value) {
  
  type_ = value;
}
inline void Discovery::set_type(::ignition::msgs::Discovery_Type value) {
  _internal_set_type(value);
  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.type)
}

// .ignition.msgs.Discovery.Flags flags = 5;
inline bool Discovery::_internal_has_flags() const {
  return this != internal_default_instance() && flags_ != nullptr;
}
inline bool Discovery::has_flags() const {
  return _internal_has_flags();
}
inline void Discovery::clear_flags() {
  if (GetArenaNoVirtual() == nullptr && flags_ != nullptr) {
    delete flags_;
  }
  flags_ = nullptr;
}
inline const ::ignition::msgs::Discovery_Flags& Discovery::_internal_flags() const {
  const ::ignition::msgs::Discovery_Flags* p = flags_;
  return p != nullptr ? *p : *reinterpret_cast<const ::ignition::msgs::Discovery_Flags*>(
      &::ignition::msgs::_Discovery_Flags_default_instance_);
}
inline const ::ignition::msgs::Discovery_Flags& Discovery::flags() const {
  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.flags)
  return _internal_flags();
}
inline ::ignition::msgs::Discovery_Flags* Discovery::release_flags() {
  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.flags)
  
  ::ignition::msgs::Discovery_Flags* temp = flags_;
  flags_ = nullptr;
  return temp;
}
inline ::ignition::msgs::Discovery_Flags* Discovery::_internal_mutable_flags() {
  
  if (flags_ == nullptr) {
    auto* p = CreateMaybeMessage<::ignition::msgs::Discovery_Flags>(GetArenaNoVirtual());
    flags_ = p;
  }
  return flags_;
}
inline ::ignition::msgs::Discovery_Flags* Discovery::mutable_flags() {
  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.flags)
  return _internal_mutable_flags();
}
inline void Discovery::set_allocated_flags(::ignition::msgs::Discovery_Flags* flags) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
  if (message_arena == nullptr) {
    delete flags_;
  }
  if (flags) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
    if (message_arena != submessage_arena) {
      flags = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, flags, submessage_arena);
    }
    
  } else {
    
  }
  flags_ = flags;
  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Discovery.flags)
}

// .ignition.msgs.Discovery.Subscriber sub = 6;
inline bool Discovery::_internal_has_sub() const {
  return disc_contents_case() == kSub;
}
inline bool Discovery::has_sub() const {
  return _internal_has_sub();
}
inline void Discovery::set_has_sub() {
  _oneof_case_[0] = kSub;
}
inline void Discovery::clear_sub() {
  if (_internal_has_sub()) {
    delete disc_contents_.sub_;
    clear_has_disc_contents();
  }
}
inline ::ignition::msgs::Discovery_Subscriber* Discovery::release_sub() {
  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.sub)
  if (_internal_has_sub()) {
    clear_has_disc_contents();
      ::ignition::msgs::Discovery_Subscriber* temp = disc_contents_.sub_;
    disc_contents_.sub_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline const ::ignition::msgs::Discovery_Subscriber& Discovery::_internal_sub() const {
  return _internal_has_sub()
      ? *disc_contents_.sub_
      : *reinterpret_cast< ::ignition::msgs::Discovery_Subscriber*>(&::ignition::msgs::_Discovery_Subscriber_default_instance_);
}
inline const ::ignition::msgs::Discovery_Subscriber& Discovery::sub() const {
  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.sub)
  return _internal_sub();
}
inline ::ignition::msgs::Discovery_Subscriber* Discovery::_internal_mutable_sub() {
  if (!_internal_has_sub()) {
    clear_disc_contents();
    set_has_sub();
    disc_contents_.sub_ = CreateMaybeMessage< ::ignition::msgs::Discovery_Subscriber >(
        GetArenaNoVirtual());
  }
  return disc_contents_.sub_;
}
inline ::ignition::msgs::Discovery_Subscriber* Discovery::mutable_sub() {
  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.sub)
  return _internal_mutable_sub();
}

// .ignition.msgs.Discovery.Publisher pub = 7;
inline bool Discovery::_internal_has_pub() const {
  return disc_contents_case() == kPub;
}
inline bool Discovery::has_pub() const {
  return _internal_has_pub();
}
inline void Discovery::set_has_pub() {
  _oneof_case_[0] = kPub;
}
inline void Discovery::clear_pub() {
  if (_internal_has_pub()) {
    delete disc_contents_.pub_;
    clear_has_disc_contents();
  }
}
inline ::ignition::msgs::Discovery_Publisher* Discovery::release_pub() {
  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.pub)
  if (_internal_has_pub()) {
    clear_has_disc_contents();
      ::ignition::msgs::Discovery_Publisher* temp = disc_contents_.pub_;
    disc_contents_.pub_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline const ::ignition::msgs::Discovery_Publisher& Discovery::_internal_pub() const {
  return _internal_has_pub()
      ? *disc_contents_.pub_
      : *reinterpret_cast< ::ignition::msgs::Discovery_Publisher*>(&::ignition::msgs::_Discovery_Publisher_default_instance_);
}
inline const ::ignition::msgs::Discovery_Publisher& Discovery::pub() const {
  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.pub)
  return _internal_pub();
}
inline ::ignition::msgs::Discovery_Publisher* Discovery::_internal_mutable_pub() {
  if (!_internal_has_pub()) {
    clear_disc_contents();
    set_has_pub();
    disc_contents_.pub_ = CreateMaybeMessage< ::ignition::msgs::Discovery_Publisher >(
        GetArenaNoVirtual());
  }
  return disc_contents_.pub_;
}
inline ::ignition::msgs::Discovery_Publisher* Discovery::mutable_pub() {
  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.pub)
  return _internal_mutable_pub();
}

inline bool Discovery::has_disc_contents() const {
  return disc_contents_case() != DISC_CONTENTS_NOT_SET;
}
inline void Discovery::clear_has_disc_contents() {
  _oneof_case_[0] = DISC_CONTENTS_NOT_SET;
}
inline Discovery::DiscContentsCase Discovery::disc_contents_case() const {
  return Discovery::DiscContentsCase(_oneof_case_[0]);
}
#ifdef __GNUC__
  #pragma GCC diagnostic pop
#endif  // __GNUC__
// -------------------------------------------------------------------

// -------------------------------------------------------------------

// -------------------------------------------------------------------

// -------------------------------------------------------------------

// -------------------------------------------------------------------


typedef std::unique_ptr<Discovery> DiscoveryUniquePtr;
typedef std::unique_ptr<const Discovery> ConstDiscoveryUniquePtr;
typedef std::shared_ptr<Discovery> DiscoverySharedPtr;
typedef std::shared_ptr<const Discovery> ConstDiscoverySharedPtr;
// @@protoc_insertion_point(namespace_scope)

}  // namespace msgs
}  // namespace ignition

PROTOBUF_NAMESPACE_OPEN

template <> struct is_proto_enum< ::ignition::msgs::Discovery_Publisher_Scope> : ::std::true_type {};
template <>
inline const EnumDescriptor* GetEnumDescriptor< ::ignition::msgs::Discovery_Publisher_Scope>() {
  return ::ignition::msgs::Discovery_Publisher_Scope_descriptor();
}
template <> struct is_proto_enum< ::ignition::msgs::Discovery_Type> : ::std::true_type {};
template <>
inline const EnumDescriptor* GetEnumDescriptor< ::ignition::msgs::Discovery_Type>() {
  return ::ignition::msgs::Discovery_Type_descriptor();
}

PROTOBUF_NAMESPACE_CLOSE

#ifdef _MSC_VER
#pragma warning(pop)
#endif
// @@protoc_insertion_point(global_scope)

#include <google/protobuf/port_undef.inc>
#endif  // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fdiscovery_2eproto
