Ignition Msgs

API Reference

5.8.1

#include <discovery.pb.h>

Public Types

enum  : int {
  kTopicFieldNumber = 1 , kAddressFieldNumber = 2 , kProcessUuidFieldNumber = 3 , kNodeUuidFieldNumber = 4 ,
  kScopeFieldNumber = 5 , kMsgPubFieldNumber = 6 , kSrvPubFieldNumber = 7
}
 
typedef Discovery_Publisher_MessagePublisher MessagePublisher
 
enum  PubTypeCase { kMsgPub = 6 , kSrvPub = 7 , PUB_TYPE_NOT_SET = 0 }
 
typedef Discovery_Publisher_Scope Scope
 
typedef Discovery_Publisher_ServicePublisher ServicePublisher
 

Public Member Functions

 Discovery_Publisher ()
 
constexpr Discovery_Publisher (::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
 
 Discovery_Publisher (const Discovery_Publisher &from)
 
 Discovery_Publisher (Discovery_Publisher &&from) noexcept
 
 ~Discovery_Publisher () override
 
const char * _InternalParse (const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
 
uint8_t * _InternalSerialize (uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
 
const std::stringaddress () const
 
size_t ByteSizeLong () const final
 
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear () final
 
void clear_address ()
 
void clear_msg_pub ()
 
void clear_node_uuid ()
 
void clear_process_uuid ()
 
void clear_pub_type ()
 
void clear_scope ()
 
void clear_srv_pub ()
 
void clear_topic ()
 
void CopyFrom (const Discovery_Publisher &from)
 
int GetCachedSize () const final
 
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData () const final
 
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata () const final
 
bool has_msg_pub () const
 
bool has_srv_pub () const
 
bool IsInitialized () const final
 
void MergeFrom (const Discovery_Publisher &from)
 
const ::ignition::msgs::Discovery_Publisher_MessagePublishermsg_pub () const
 
std::stringmutable_address ()
 
::ignition::msgs::Discovery_Publisher_MessagePublishermutable_msg_pub ()
 
std::stringmutable_node_uuid ()
 
std::stringmutable_process_uuid ()
 
::ignition::msgs::Discovery_Publisher_ServicePublishermutable_srv_pub ()
 
std::stringmutable_topic ()
 
Discovery_PublisherNew (::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
 
const std::stringnode_uuid () const
 
Discovery_Publisheroperator= (const Discovery_Publisher &from)
 
Discovery_Publisheroperator= (Discovery_Publisher &&from) noexcept
 
const std::stringprocess_uuid () const
 
PubTypeCase pub_type_case () const
 
PROTOBUF_NODISCARD std::stringrelease_address ()
 
PROTOBUF_NODISCARD ::ignition::msgs::Discovery_Publisher_MessagePublisherrelease_msg_pub ()
 
PROTOBUF_NODISCARD std::stringrelease_node_uuid ()
 
PROTOBUF_NODISCARD std::stringrelease_process_uuid ()
 
PROTOBUF_NODISCARD ::ignition::msgs::Discovery_Publisher_ServicePublisherrelease_srv_pub ()
 
PROTOBUF_NODISCARD std::stringrelease_topic ()
 
::ignition::msgs::Discovery_Publisher_Scope scope () const
 
template<typename ArgT0 = const std::string&, typename... ArgT>
void set_address (ArgT0 &&arg0, ArgT... args)
 
template<typename ArgT0 , typename... ArgT>
PROTOBUF_ALWAYS_INLINE void set_address (ArgT0 &&arg0, ArgT... args)
 
void set_allocated_address (std::string *address)
 
void set_allocated_msg_pub (::ignition::msgs::Discovery_Publisher_MessagePublisher *msg_pub)
 
void set_allocated_node_uuid (std::string *node_uuid)
 
void set_allocated_process_uuid (std::string *process_uuid)
 
void set_allocated_srv_pub (::ignition::msgs::Discovery_Publisher_ServicePublisher *srv_pub)
 
void set_allocated_topic (std::string *topic)
 
template<typename ArgT0 = const std::string&, typename... ArgT>
void set_node_uuid (ArgT0 &&arg0, ArgT... args)
 
template<typename ArgT0 , typename... ArgT>
PROTOBUF_ALWAYS_INLINE void set_node_uuid (ArgT0 &&arg0, ArgT... args)
 
template<typename ArgT0 = const std::string&, typename... ArgT>
void set_process_uuid (ArgT0 &&arg0, ArgT... args)
 
template<typename ArgT0 , typename... ArgT>
PROTOBUF_ALWAYS_INLINE void set_process_uuid (ArgT0 &&arg0, ArgT... args)
 
void set_scope (::ignition::msgs::Discovery_Publisher_Scope value)
 
template<typename ArgT0 = const std::string&, typename... ArgT>
void set_topic (ArgT0 &&arg0, ArgT... args)
 
template<typename ArgT0 , typename... ArgT>
PROTOBUF_ALWAYS_INLINE void set_topic (ArgT0 &&arg0, ArgT... args)
 
const ::ignition::msgs::Discovery_Publisher_ServicePublishersrv_pub () const
 
void Swap (Discovery_Publisher *other)
 
const std::stringtopic () const
 
::ignition::msgs::Discovery_Publisher_MessagePublisherunsafe_arena_release_msg_pub ()
 
::ignition::msgs::Discovery_Publisher_ServicePublisherunsafe_arena_release_srv_pub ()
 
void unsafe_arena_set_allocated_msg_pub (::ignition::msgs::Discovery_Publisher_MessagePublisher *msg_pub)
 
void unsafe_arena_set_allocated_srv_pub (::ignition::msgs::Discovery_Publisher_ServicePublisher *srv_pub)
 
void UnsafeArenaSwap (Discovery_Publisher *other)
 

Static Public Member Functions

static const Discovery_Publisherdefault_instance ()
 
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor ()
 
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor ()
 
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection ()
 
static const Discovery_Publisherinternal_default_instance ()
 
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Scope_descriptor ()
 
static bool Scope_IsValid (int value)
 
template<typename T >
static const std::stringScope_Name (T enum_t_value)
 
static bool Scope_Parse (::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Scope *value)
 

Static Public Attributes

static const ClassData _class_data_
 
static constexpr Scope ALL
 
static constexpr Scope HOST
 
static constexpr int kIndexInFileMessages
 
static constexpr Scope PROCESS
 
static constexpr int Scope_ARRAYSIZE
 
static constexpr Scope Scope_MAX
 
static constexpr Scope Scope_MIN
 

Protected Member Functions

 Discovery_Publisher (::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
 

Member Typedef Documentation

◆ MessagePublisher

◆ Scope

◆ ServicePublisher

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
kTopicFieldNumber 
kAddressFieldNumber 
kProcessUuidFieldNumber 
kNodeUuidFieldNumber 
kScopeFieldNumber 
kMsgPubFieldNumber 
kSrvPubFieldNumber 

◆ PubTypeCase

Enumerator
kMsgPub 
kSrvPub 
PUB_TYPE_NOT_SET 

Constructor & Destructor Documentation

◆ Discovery_Publisher() [1/5]

Discovery_Publisher ( )
inline

◆ ~Discovery_Publisher()

~Discovery_Publisher ( )
override

◆ Discovery_Publisher() [2/5]

constexpr Discovery_Publisher ( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized  )
explicitconstexpr

◆ Discovery_Publisher() [3/5]

◆ Discovery_Publisher() [4/5]

Discovery_Publisher ( Discovery_Publisher &&  from)
inlinenoexcept

◆ Discovery_Publisher() [5/5]

Discovery_Publisher ( ::PROTOBUF_NAMESPACE_ID::Arena *  arena,
bool  is_message_owned = false 
)
explicitprotected

Member Function Documentation

◆ _InternalParse()

const char* _InternalParse ( const char *  ptr,
::PROTOBUF_NAMESPACE_ID::internal::ParseContext *  ctx 
)
final

◆ _InternalSerialize()

uint8_t* _InternalSerialize ( uint8_t *  target,
::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *  stream 
) const
final

◆ address()

const std::string & address ( ) const
inline

◆ ByteSizeLong()

size_t ByteSizeLong ( ) const
final

◆ Clear()

PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear ( )
final

◆ clear_address()

void clear_address ( )
inline

◆ clear_msg_pub()

void clear_msg_pub ( )
inline

◆ clear_node_uuid()

void clear_node_uuid ( )
inline

◆ clear_process_uuid()

void clear_process_uuid ( )
inline

◆ clear_pub_type()

void clear_pub_type ( )

◆ clear_scope()

void clear_scope ( )
inline

◆ clear_srv_pub()

void clear_srv_pub ( )
inline

◆ clear_topic()

void clear_topic ( )
inline

◆ CopyFrom()

void CopyFrom ( const Discovery_Publisher from)

◆ default_instance()

static const Discovery_Publisher& default_instance ( )
inlinestatic

◆ descriptor()

static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor ( )
inlinestatic

◆ GetCachedSize()

int GetCachedSize ( ) const
inlinefinal

◆ GetClassData()

const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData ( ) const
final

◆ GetDescriptor()

static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor ( )
inlinestatic

◆ GetMetadata()

::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata ( ) const
final

◆ GetReflection()

static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection ( )
inlinestatic

◆ has_msg_pub()

bool has_msg_pub ( ) const
inline

◆ has_srv_pub()

bool has_srv_pub ( ) const
inline

◆ internal_default_instance()

static const Discovery_Publisher* internal_default_instance ( )
inlinestatic

◆ IsInitialized()

bool IsInitialized ( ) const
final

◆ MergeFrom()

void MergeFrom ( const Discovery_Publisher from)

◆ msg_pub()

const ::ignition::msgs::Discovery_Publisher_MessagePublisher & msg_pub ( ) const
inline

◆ mutable_address()

std::string * mutable_address ( )
inline

◆ mutable_msg_pub()

◆ mutable_node_uuid()

std::string * mutable_node_uuid ( )
inline

◆ mutable_process_uuid()

std::string * mutable_process_uuid ( )
inline

◆ mutable_srv_pub()

◆ mutable_topic()

std::string * mutable_topic ( )
inline

◆ New()

Discovery_Publisher* New ( ::PROTOBUF_NAMESPACE_ID::Arena *  arena = nullptr) const
inlinefinal

◆ node_uuid()

const std::string & node_uuid ( ) const
inline

◆ operator=() [1/2]

Discovery_Publisher& operator= ( const Discovery_Publisher from)
inline

◆ operator=() [2/2]

Discovery_Publisher& operator= ( Discovery_Publisher &&  from)
inlinenoexcept

◆ process_uuid()

const std::string & process_uuid ( ) const
inline

◆ pub_type_case()

Discovery_Publisher::PubTypeCase pub_type_case ( ) const
inline

◆ release_address()

std::string * release_address ( )
inline

◆ release_msg_pub()

◆ release_node_uuid()

std::string * release_node_uuid ( )
inline

◆ release_process_uuid()

std::string * release_process_uuid ( )
inline

◆ release_srv_pub()

◆ release_topic()

std::string * release_topic ( )
inline

◆ scope()

◆ Scope_descriptor()

static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Scope_descriptor ( )
inlinestatic

◆ Scope_IsValid()

static bool Scope_IsValid ( int  value)
inlinestatic

◆ Scope_Name()

static const std::string& Scope_Name ( enum_t_value)
inlinestatic

◆ Scope_Parse()

static bool Scope_Parse ( ::PROTOBUF_NAMESPACE_ID::ConstStringParam  name,
Scope value 
)
inlinestatic

◆ set_address() [1/2]

void set_address ( ArgT0 &&  arg0,
ArgT...  args 
)

◆ set_address() [2/2]

PROTOBUF_ALWAYS_INLINE void set_address ( ArgT0 &&  arg0,
ArgT...  args 
)
inline

◆ set_allocated_address()

void set_allocated_address ( std::string address)
inline

◆ set_allocated_msg_pub()

void set_allocated_msg_pub ( ::ignition::msgs::Discovery_Publisher_MessagePublisher msg_pub)

◆ set_allocated_node_uuid()

void set_allocated_node_uuid ( std::string node_uuid)
inline

◆ set_allocated_process_uuid()

void set_allocated_process_uuid ( std::string process_uuid)
inline

◆ set_allocated_srv_pub()

void set_allocated_srv_pub ( ::ignition::msgs::Discovery_Publisher_ServicePublisher srv_pub)

◆ set_allocated_topic()

void set_allocated_topic ( std::string topic)
inline

◆ set_node_uuid() [1/2]

void set_node_uuid ( ArgT0 &&  arg0,
ArgT...  args 
)

◆ set_node_uuid() [2/2]

PROTOBUF_ALWAYS_INLINE void set_node_uuid ( ArgT0 &&  arg0,
ArgT...  args 
)
inline

◆ set_process_uuid() [1/2]

void set_process_uuid ( ArgT0 &&  arg0,
ArgT...  args 
)

◆ set_process_uuid() [2/2]

PROTOBUF_ALWAYS_INLINE void set_process_uuid ( ArgT0 &&  arg0,
ArgT...  args 
)
inline

◆ set_scope()

void set_scope ( ::ignition::msgs::Discovery_Publisher_Scope  value)
inline

◆ set_topic() [1/2]

void set_topic ( ArgT0 &&  arg0,
ArgT...  args 
)

◆ set_topic() [2/2]

PROTOBUF_ALWAYS_INLINE void set_topic ( ArgT0 &&  arg0,
ArgT...  args 
)
inline

◆ srv_pub()

const ::ignition::msgs::Discovery_Publisher_ServicePublisher & srv_pub ( ) const
inline

◆ Swap()

void Swap ( Discovery_Publisher other)
inline

◆ topic()

const std::string & topic ( ) const
inline

◆ unsafe_arena_release_msg_pub()

ignition::msgs::Discovery_Publisher_MessagePublisher * unsafe_arena_release_msg_pub ( )
inline

◆ unsafe_arena_release_srv_pub()

ignition::msgs::Discovery_Publisher_ServicePublisher * unsafe_arena_release_srv_pub ( )
inline

◆ unsafe_arena_set_allocated_msg_pub()

void unsafe_arena_set_allocated_msg_pub ( ::ignition::msgs::Discovery_Publisher_MessagePublisher msg_pub)
inline

◆ unsafe_arena_set_allocated_srv_pub()

void unsafe_arena_set_allocated_srv_pub ( ::ignition::msgs::Discovery_Publisher_ServicePublisher srv_pub)
inline

◆ UnsafeArenaSwap()

void UnsafeArenaSwap ( Discovery_Publisher other)
inline

Member Data Documentation

◆ _class_data_

const ClassData _class_data_
static

◆ ALL

constexpr Scope ALL
staticconstexpr
Initial value:
=
@ Discovery_Publisher_Scope_ALL
Definition: discovery.pb.h:105

◆ HOST

constexpr Scope HOST
staticconstexpr
Initial value:
=
@ Discovery_Publisher_Scope_HOST
Definition: discovery.pb.h:104

◆ kIndexInFileMessages

constexpr int kIndexInFileMessages
staticconstexpr
Initial value:
=
4

◆ PROCESS

constexpr Scope PROCESS
staticconstexpr
Initial value:
=
@ Discovery_Publisher_Scope_PROCESS
Definition: discovery.pb.h:103

◆ Scope_ARRAYSIZE

constexpr int Scope_ARRAYSIZE
staticconstexpr
Initial value:
=
constexpr int Discovery_Publisher_Scope_Scope_ARRAYSIZE
Definition: discovery.pb.h:112

◆ Scope_MAX

constexpr Scope Scope_MAX
staticconstexpr
Initial value:
=
constexpr Discovery_Publisher_Scope Discovery_Publisher_Scope_Scope_MAX
Definition: discovery.pb.h:111

◆ Scope_MIN

constexpr Scope Scope_MIN
staticconstexpr
Initial value:
=
constexpr Discovery_Publisher_Scope Discovery_Publisher_Scope_Scope_MIN
Definition: discovery.pb.h:110

The documentation for this class was generated from the following file: