ExistCpp
Public 类型 | Public 成员函数 | 静态 Public 成员函数 | 静态 Public 属性 | 友元 | 所有成员列表
com::stupidbeauty::exist::ServicePublishMessage类 参考

#include <ExistMessage.pb.h>

类 com::stupidbeauty::exist::ServicePublishMessage 继承关系图:
Inheritance graph
[图例]
com::stupidbeauty::exist::ServicePublishMessage 的协作图:
Collaboration graph
[图例]

Public 类型

typedef ServicePublishMessage_ServiceProtocolType ServiceProtocolType
 

Public 成员函数

size_t ByteSizeLong () const PROTOBUF_FINAL
 
void Clear () PROTOBUF_FINAL
 
void clear_name ()
 
void clear_port ()
 
void clear_protocoltype ()
 
void CopyFrom (const ::google::protobuf::Message &from) PROTOBUF_FINAL
 
void CopyFrom (const ServicePublishMessage &from)
 
int GetCachedSize () const PROTOBUF_FINAL
 
::google::protobuf::Metadata GetMetadata () const PROTOBUF_FINAL
 
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray (bool deterministic, ::google::protobuf::uint8 *target) const PROTOBUF_FINAL
 
bool IsInitialized () const PROTOBUF_FINAL
 
void MergeFrom (const ::google::protobuf::Message &from) PROTOBUF_FINAL
 
void MergeFrom (const ServicePublishMessage &from)
 
bool MergePartialFromCodedStream (::google::protobuf::io::CodedInputStream *input) PROTOBUF_FINAL
 
::std::string * mutable_name ()
 
const ::std::string & name () const
 
ServicePublishMessageNew () const PROTOBUF_FINAL
 
ServicePublishMessageNew (::google::protobuf::Arena *arena) const PROTOBUF_FINAL
 
ServicePublishMessageoperator= (const ServicePublishMessage &from)
 
::google::protobuf::int32 port () const
 
::com::stupidbeauty::exist::ServicePublishMessage_ServiceProtocolType protocoltype () const
 
::std::string * release_name ()
 
void SerializeWithCachedSizes (::google::protobuf::io::CodedOutputStream *output) const PROTOBUF_FINAL
 
 ServicePublishMessage ()
 
 ServicePublishMessage (const ServicePublishMessage &from)
 
void set_allocated_name (::std::string *name)
 
void set_name (const ::std::string &value)
 
void set_name (const char *value)
 
void set_name (const char *value, size_t size)
 
void set_port (::google::protobuf::int32 value)
 
void set_protocoltype (::com::stupidbeauty::exist::ServicePublishMessage_ServiceProtocolType value)
 
void Swap (ServicePublishMessage *other)
 
virtual ~ServicePublishMessage ()
 

静态 Public 成员函数

static const ServicePublishMessagedefault_instance ()
 
static const ::google::protobuf::Descriptor * descriptor ()
 
static void InitAsDefaultInstance ()
 
static const ServicePublishMessageinternal_default_instance ()
 
static const ::google::protobuf::EnumDescriptor * ServiceProtocolType_descriptor ()
 
static bool ServiceProtocolType_IsValid (int value)
 
static const ::std::string & ServiceProtocolType_Name (ServiceProtocolType value)
 
static bool ServiceProtocolType_Parse (const ::std::string &name, ServiceProtocolType *value)
 

静态 Public 属性

static const ServiceProtocolType GRPC
 
static const ServiceProtocolType HTTP
 
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages
 
static const int kNameFieldNumber = 1
 
static const int kPortFieldNumber = 2
 
static const int kProtocolTypeFieldNumber = 3
 
static const ServiceProtocolType MQTT
 
static const int ServiceProtocolType_ARRAYSIZE
 
static const ServiceProtocolType ServiceProtocolType_MAX
 
static const ServiceProtocolType ServiceProtocolType_MIN
 
static const ServiceProtocolType TCP
 
static const ServiceProtocolType UDP
 

友元

struct ::protobuf_ExistMessage_2eproto::TableStruct
 
void swap (ServicePublishMessage &a, ServicePublishMessage &b)
 

详细描述

在文件 ExistMessage.pb.h124 行定义.

成员类型定义说明

◆ ServiceProtocolType

在文件 ExistMessage.pb.h204 行定义.

构造及析构函数说明

◆ ServicePublishMessage() [1/2]

com::stupidbeauty::exist::ServicePublishMessage::ServicePublishMessage ( )

在文件 ExistMessage.pb.cc267 行定义.

参考 protobuf_ExistMessage_2eproto::InitDefaultsServicePublishMessage() , 以及 internal_default_instance().

参考自 New().

函数调用图:
这是这个函数的调用关系图:

◆ ~ServicePublishMessage()

com::stupidbeauty::exist::ServicePublishMessage::~ServicePublishMessage ( )
virtual

在文件 ExistMessage.pb.cc298 行定义.

◆ ServicePublishMessage() [2/2]

com::stupidbeauty::exist::ServicePublishMessage::ServicePublishMessage ( const ServicePublishMessage from)

在文件 ExistMessage.pb.cc275 行定义.

参考 name().

函数调用图:

成员函数说明

◆ ByteSizeLong()

size_t com::stupidbeauty::exist::ServicePublishMessage::ByteSizeLong ( ) const

在文件 ExistMessage.pb.cc489 行定义.

参考 name(), port() , 以及 protocoltype().

函数调用图:

◆ Clear()

void com::stupidbeauty::exist::ServicePublishMessage::Clear ( )

在文件 ExistMessage.pb.cc330 行定义.

参考自 CopyFrom().

这是这个函数的调用关系图:

◆ clear_name()

void com::stupidbeauty::exist::ServicePublishMessage::clear_name ( )
inline

在文件 ExistMessage.pb.h531 行定义.

◆ clear_port()

void com::stupidbeauty::exist::ServicePublishMessage::clear_port ( )
inline

在文件 ExistMessage.pb.h584 行定义.

◆ clear_protocoltype()

void com::stupidbeauty::exist::ServicePublishMessage::clear_protocoltype ( )
inline

在文件 ExistMessage.pb.h598 行定义.

◆ CopyFrom() [1/2]

void com::stupidbeauty::exist::ServicePublishMessage::CopyFrom ( const ::google::protobuf::Message &  from)

在文件 ExistMessage.pb.cc559 行定义.

参考 Clear() , 以及 MergeFrom().

函数调用图:

◆ CopyFrom() [2/2]

void com::stupidbeauty::exist::ServicePublishMessage::CopyFrom ( const ServicePublishMessage from)

在文件 ExistMessage.pb.cc566 行定义.

参考 Clear() , 以及 MergeFrom().

函数调用图:

◆ default_instance()

const ServicePublishMessage & com::stupidbeauty::exist::ServicePublishMessage::default_instance ( )
static

◆ descriptor()

const ::google::protobuf::Descriptor * com::stupidbeauty::exist::ServicePublishMessage::descriptor ( )
static

◆ GetCachedSize()

int com::stupidbeauty::exist::ServicePublishMessage::GetCachedSize ( ) const
inline

在文件 ExistMessage.pb.h185 行定义.

◆ GetMetadata()

google::protobuf::Metadata com::stupidbeauty::exist::ServicePublishMessage::GetMetadata ( ) const

◆ InitAsDefaultInstance()

void com::stupidbeauty::exist::ServicePublishMessage::InitAsDefaultInstance ( )
static

在文件 ExistMessage.pb.cc259 行定义.

参考 kNameFieldNumber, kPortFieldNumber , 以及 kProtocolTypeFieldNumber.

参考自 protobuf_ExistMessage_2eproto::InitDefaultsServicePublishMessageImpl().

这是这个函数的调用关系图:

◆ internal_default_instance()

static const ServicePublishMessage* com::stupidbeauty::exist::ServicePublishMessage::internal_default_instance ( )
inlinestatic

◆ InternalSerializeWithCachedSizesToArray()

google::protobuf::uint8 * com::stupidbeauty::exist::ServicePublishMessage::InternalSerializeWithCachedSizesToArray ( bool  deterministic,
::google::protobuf::uint8 *  target 
) const

在文件 ExistMessage.pb.cc452 行定义.

参考 name(), port() , 以及 protocoltype().

函数调用图:

◆ IsInitialized()

bool com::stupidbeauty::exist::ServicePublishMessage::IsInitialized ( ) const

在文件 ExistMessage.pb.cc573 行定义.

◆ MergeFrom() [1/2]

void com::stupidbeauty::exist::ServicePublishMessage::MergeFrom ( const ::google::protobuf::Message &  from)

在文件 ExistMessage.pb.cc525 行定义.

参考自 CopyFrom().

这是这个函数的调用关系图:

◆ MergeFrom() [2/2]

void com::stupidbeauty::exist::ServicePublishMessage::MergeFrom ( const ServicePublishMessage from)

在文件 ExistMessage.pb.cc540 行定义.

参考 name(), port(), protocoltype(), set_port() , 以及 set_protocoltype().

函数调用图:

◆ MergePartialFromCodedStream()

bool com::stupidbeauty::exist::ServicePublishMessage::MergePartialFromCodedStream ( ::google::protobuf::io::CodedInputStream *  input)

在文件 ExistMessage.pb.cc343 行定义.

参考 DO_, mutable_name(), name() , 以及 set_protocoltype().

函数调用图:

◆ mutable_name()

std::string * com::stupidbeauty::exist::ServicePublishMessage::mutable_name ( )
inline

在文件 ExistMessage.pb.h563 行定义.

参考自 MergePartialFromCodedStream().

这是这个函数的调用关系图:

◆ name()

const ::std::string & com::stupidbeauty::exist::ServicePublishMessage::name ( ) const
inline

◆ New() [1/2]

ServicePublishMessage* com::stupidbeauty::exist::ServicePublishMessage::New ( ) const
inline

在文件 ExistMessage.pb.h168 行定义.

参考 New().

参考自 New().

函数调用图:
这是这个函数的调用关系图:

◆ New() [2/2]

ServicePublishMessage * com::stupidbeauty::exist::ServicePublishMessage::New ( ::google::protobuf::Arena *  arena) const

在文件 ExistMessage.pb.cc322 行定义.

参考 ServicePublishMessage().

函数调用图:

◆ operator=()

ServicePublishMessage& com::stupidbeauty::exist::ServicePublishMessage::operator= ( const ServicePublishMessage from)
inline

在文件 ExistMessage.pb.h131 行定义.

◆ port()

google::protobuf::int32 com::stupidbeauty::exist::ServicePublishMessage::port ( ) const
inline

◆ protocoltype()

com::stupidbeauty::exist::ServicePublishMessage_ServiceProtocolType com::stupidbeauty::exist::ServicePublishMessage::protocoltype ( ) const
inline

◆ release_name()

std::string * com::stupidbeauty::exist::ServicePublishMessage::release_name ( )
inline

在文件 ExistMessage.pb.h568 行定义.

◆ SerializeWithCachedSizes()

void com::stupidbeauty::exist::ServicePublishMessage::SerializeWithCachedSizes ( ::google::protobuf::io::CodedOutputStream *  output) const

在文件 ExistMessage.pb.cc418 行定义.

参考 name(), port() , 以及 protocoltype().

函数调用图:

◆ ServiceProtocolType_descriptor()

static const ::google::protobuf::EnumDescriptor* com::stupidbeauty::exist::ServicePublishMessage::ServiceProtocolType_descriptor ( )
inlinestatic

◆ ServiceProtocolType_IsValid()

static bool com::stupidbeauty::exist::ServicePublishMessage::ServiceProtocolType_IsValid ( int  value)
inlinestatic

◆ ServiceProtocolType_Name()

static const ::std::string& com::stupidbeauty::exist::ServicePublishMessage::ServiceProtocolType_Name ( ServiceProtocolType  value)
inlinestatic

◆ ServiceProtocolType_Parse()

static bool com::stupidbeauty::exist::ServicePublishMessage::ServiceProtocolType_Parse ( const ::std::string &  name,
ServiceProtocolType value 
)
inlinestatic

◆ set_allocated_name()

void com::stupidbeauty::exist::ServicePublishMessage::set_allocated_name ( ::std::string *  name)
inline

在文件 ExistMessage.pb.h573 行定义.

◆ set_name() [1/3]

void com::stupidbeauty::exist::ServicePublishMessage::set_name ( const ::std::string &  value)
inline

在文件 ExistMessage.pb.h538 行定义.

参考自 ServicePublisher::publishService().

这是这个函数的调用关系图:

◆ set_name() [2/3]

void com::stupidbeauty::exist::ServicePublishMessage::set_name ( const char *  value)
inline

在文件 ExistMessage.pb.h551 行定义.

◆ set_name() [3/3]

void com::stupidbeauty::exist::ServicePublishMessage::set_name ( const char *  value,
size_t  size 
)
inline

在文件 ExistMessage.pb.h557 行定义.

◆ set_port()

void com::stupidbeauty::exist::ServicePublishMessage::set_port ( ::google::protobuf::int32  value)
inline

在文件 ExistMessage.pb.h591 行定义.

参考自 MergeFrom() , 以及 ServicePublisher::publishService().

这是这个函数的调用关系图:

◆ set_protocoltype()

void com::stupidbeauty::exist::ServicePublishMessage::set_protocoltype ( ::com::stupidbeauty::exist::ServicePublishMessage_ServiceProtocolType  value)
inline

在文件 ExistMessage.pb.h605 行定义.

参考自 MergeFrom(), MergePartialFromCodedStream() , 以及 ServicePublisher::publishService().

这是这个函数的调用关系图:

◆ Swap()

void com::stupidbeauty::exist::ServicePublishMessage::Swap ( ServicePublishMessage other)

在文件 ExistMessage.pb.cc577 行定义.

参考 swap.

友元及相关函数文档

◆ ::protobuf_ExistMessage_2eproto::TableStruct

在文件 ExistMessage.pb.h272 行定义.

◆ swap

void swap ( ServicePublishMessage a,
ServicePublishMessage b 
)
friend

在文件 ExistMessage.pb.h162 行定义.

参考自 Swap().

类成员变量说明

◆ GRPC

const ServicePublishMessage_ServiceProtocolType com::stupidbeauty::exist::ServicePublishMessage::GRPC
static

◆ HTTP

const ServicePublishMessage_ServiceProtocolType com::stupidbeauty::exist::ServicePublishMessage::HTTP
static

◆ kIndexInFileMessages

PROTOBUF_CONSTEXPR int const com::stupidbeauty::exist::ServicePublishMessage::kIndexInFileMessages
static
初始值:
=
0

在文件 ExistMessage.pb.h158 行定义.

参考自 descriptor() , 以及 GetMetadata().

◆ kNameFieldNumber

const int com::stupidbeauty::exist::ServicePublishMessage::kNameFieldNumber = 1
static

在文件 ExistMessage.pb.h240 行定义.

参考自 InitAsDefaultInstance().

◆ kPortFieldNumber

const int com::stupidbeauty::exist::ServicePublishMessage::kPortFieldNumber = 2
static

在文件 ExistMessage.pb.h254 行定义.

参考自 InitAsDefaultInstance().

◆ kProtocolTypeFieldNumber

const int com::stupidbeauty::exist::ServicePublishMessage::kProtocolTypeFieldNumber = 3
static

在文件 ExistMessage.pb.h260 行定义.

参考自 InitAsDefaultInstance().

◆ MQTT

const ServicePublishMessage_ServiceProtocolType com::stupidbeauty::exist::ServicePublishMessage::MQTT
static

◆ ServiceProtocolType_ARRAYSIZE

const int com::stupidbeauty::exist::ServicePublishMessage::ServiceProtocolType_ARRAYSIZE
static

◆ ServiceProtocolType_MAX

const ServicePublishMessage_ServiceProtocolType com::stupidbeauty::exist::ServicePublishMessage::ServiceProtocolType_MAX
static

◆ ServiceProtocolType_MIN

const ServicePublishMessage_ServiceProtocolType com::stupidbeauty::exist::ServicePublishMessage::ServiceProtocolType_MIN
static

◆ TCP

const ServicePublishMessage_ServiceProtocolType com::stupidbeauty::exist::ServicePublishMessage::TCP
static

◆ UDP

const ServicePublishMessage_ServiceProtocolType com::stupidbeauty::exist::ServicePublishMessage::UDP
static

该类的文档由以下文件生成: