Ignition Msgs

API Reference

6.4.0

#include <rest_response.pb.h>

Public Types

typedef RestResponse_Type Type
 

Public Member Functions

 RestResponse ()
 
 RestResponse (const RestResponse &from)
 
virtual ~RestResponse ()
 
int ByteSize () const
 
void Clear ()
 
void clear_header ()
 
void clear_id ()
 
void clear_msg ()
 
void clear_type ()
 
void CopyFrom (const ::google::protobuf::Message &from)
 
void CopyFrom (const RestResponse &from)
 
int GetCachedSize () const
 
::google::protobuf::Metadata GetMetadata () const
 
bool has_header () const
 
const ::ignition::msgs::Headerheader () const
 
::google::protobuf::uint32 id () const
 
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray (bool deterministic, ::google::protobuf::uint8 *output) const
 
bool IsInitialized () const
 
void MergeFrom (const ::google::protobuf::Message &from)
 
void MergeFrom (const RestResponse &from)
 
bool MergePartialFromCodedStream (::google::protobuf::io::CodedInputStream *input)
 
const ::std::stringmsg () const
 
::ignition::msgs::Headermutable_header ()
 
::std::stringmutable_msg ()
 
RestResponseNew () const
 
RestResponseNew (::google::protobuf::Arena *arena) const
 
RestResponseoperator= (const RestResponse &from)
 
::ignition::msgs::Headerrelease_header ()
 
::std::stringrelease_msg ()
 
void SerializeWithCachedSizes (::google::protobuf::io::CodedOutputStream *output) const
 
::google::protobuf::uint8 * SerializeWithCachedSizesToArray (::google::protobuf::uint8 *output) const
 
void set_allocated_header (::ignition::msgs::Header *header)
 
void set_allocated_msg (::std::string *msg)
 
void set_id (::google::protobuf::uint32 value)
 
void set_msg (const ::std::string &value)
 
void set_msg (const char *value)
 
void set_msg (const char *value, size_t size)
 
void set_type (::ignition::msgs::RestResponse_Type value)
 
void Swap (RestResponse *other)
 
::ignition::msgs::RestResponse_Type type () const
 

Static Public Member Functions

static const RestResponsedefault_instance ()
 
static const ::google::protobuf::Descriptor * descriptor ()
 
static const ::google::protobuf::EnumDescriptor * Type_descriptor ()
 
static bool Type_IsValid (int value)
 
static const ::std::stringType_Name (Type value)
 
static bool Type_Parse (const ::std::string &name, Type *value)
 

Static Public Attributes

static const Type ERR
 
static const int kHeaderFieldNumber = 1
 
static const int kIdFieldNumber = 2
 
static const int kMsgFieldNumber = 4
 
static const int kTypeFieldNumber = 3
 
static const Type LOGIN
 
static const Type LOGOUT
 
static const Type SUCCESS
 
static const int Type_ARRAYSIZE
 
static const Type Type_MAX
 
static const Type Type_MIN
 

Friends

void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2frest_5fresponse_2eproto ()
 
void protobuf_AssignDesc_ignition_2fmsgs_2frest_5fresponse_2eproto ()
 
void protobuf_ShutdownFile_ignition_2fmsgs_2frest_5fresponse_2eproto ()
 

Member Typedef Documentation

◆ Type

Constructor & Destructor Documentation

◆ RestResponse() [1/2]

◆ ~RestResponse()

virtual ~RestResponse ( )
virtual

◆ RestResponse() [2/2]

RestResponse ( const RestResponse from)

Member Function Documentation

◆ ByteSize()

int ByteSize ( ) const

◆ Clear()

void Clear ( )

◆ clear_header()

void clear_header ( )
inline

◆ clear_id()

void clear_id ( )
inline

◆ clear_msg()

void clear_msg ( )
inline

◆ clear_type()

void clear_type ( )
inline

◆ CopyFrom() [1/2]

void CopyFrom ( const ::google::protobuf::Message &  from)

◆ CopyFrom() [2/2]

void CopyFrom ( const RestResponse from)

◆ default_instance()

static const RestResponse& default_instance ( )
static

◆ descriptor()

static const ::google::protobuf::Descriptor* descriptor ( )
static

◆ GetCachedSize()

int GetCachedSize ( ) const
inline

◆ GetMetadata()

::google::protobuf::Metadata GetMetadata ( ) const

◆ has_header()

bool has_header ( ) const
inline

◆ header()

const ::ignition::msgs::Header & header ( ) const
inline

◆ id()

google::protobuf::uint32 id ( ) const
inline

◆ InternalSerializeWithCachedSizesToArray()

::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray ( bool  deterministic,
::google::protobuf::uint8 *  output 
) const

◆ IsInitialized()

bool IsInitialized ( ) const

◆ MergeFrom() [1/2]

void MergeFrom ( const ::google::protobuf::Message &  from)

◆ MergeFrom() [2/2]

void MergeFrom ( const RestResponse from)

◆ MergePartialFromCodedStream()

bool MergePartialFromCodedStream ( ::google::protobuf::io::CodedInputStream *  input)

◆ msg()

const ::std::string & msg ( ) const
inline

◆ mutable_header()

ignition::msgs::Header * mutable_header ( )
inline

◆ mutable_msg()

std::string * mutable_msg ( )
inline

◆ New() [1/2]

RestResponse* New ( ) const
inline

References RestResponse::New().

Referenced by RestResponse::New().

◆ New() [2/2]

RestResponse* New ( ::google::protobuf::Arena *  arena) const

◆ operator=()

RestResponse& operator= ( const RestResponse from)
inline

◆ release_header()

ignition::msgs::Header * release_header ( )
inline

◆ release_msg()

std::string * release_msg ( )
inline

◆ SerializeWithCachedSizes()

void SerializeWithCachedSizes ( ::google::protobuf::io::CodedOutputStream *  output) const

◆ SerializeWithCachedSizesToArray()

::google::protobuf::uint8* SerializeWithCachedSizesToArray ( ::google::protobuf::uint8 *  output) const
inline

◆ set_allocated_header()

void set_allocated_header ( ::ignition::msgs::Header header)
inline

◆ set_allocated_msg()

void set_allocated_msg ( ::std::string msg)
inline

◆ set_id()

void set_id ( ::google::protobuf::uint32  value)
inline

◆ set_msg() [1/3]

void set_msg ( const ::std::string value)
inline

◆ set_msg() [2/3]

void set_msg ( const char *  value)
inline

◆ set_msg() [3/3]

void set_msg ( const char *  value,
size_t  size 
)
inline

◆ set_type()

void set_type ( ::ignition::msgs::RestResponse_Type  value)
inline

◆ Swap()

void Swap ( RestResponse other)

◆ type()

ignition::msgs::RestResponse_Type type ( ) const
inline

◆ Type_descriptor()

static const ::google::protobuf::EnumDescriptor* Type_descriptor ( )
inlinestatic

◆ Type_IsValid()

static bool Type_IsValid ( int  value)
inlinestatic

◆ Type_Name()

static const ::std::string& Type_Name ( Type  value)
inlinestatic

◆ Type_Parse()

static bool Type_Parse ( const ::std::string name,
Type value 
)
inlinestatic

Friends And Related Function Documentation

◆ protobuf_AddDesc_ignition_2fmsgs_2frest_5fresponse_2eproto

void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2frest_5fresponse_2eproto ( )
friend

◆ protobuf_AssignDesc_ignition_2fmsgs_2frest_5fresponse_2eproto

void protobuf_AssignDesc_ignition_2fmsgs_2frest_5fresponse_2eproto ( )
friend

◆ protobuf_ShutdownFile_ignition_2fmsgs_2frest_5fresponse_2eproto

void protobuf_ShutdownFile_ignition_2fmsgs_2frest_5fresponse_2eproto ( )
friend

Member Data Documentation

◆ ERR

const Type ERR
static
Initial value:

◆ kHeaderFieldNumber

const int kHeaderFieldNumber = 1
static

◆ kIdFieldNumber

const int kIdFieldNumber = 2
static

◆ kMsgFieldNumber

const int kMsgFieldNumber = 4
static

◆ kTypeFieldNumber

const int kTypeFieldNumber = 3
static

◆ LOGIN

const Type LOGIN
static
Initial value:

◆ LOGOUT

const Type LOGOUT
static
Initial value:

◆ SUCCESS

const Type SUCCESS
static
Initial value:

◆ Type_ARRAYSIZE

const int Type_ARRAYSIZE
static

◆ Type_MAX

const Type Type_MAX
static
Initial value:

◆ Type_MIN

const Type Type_MIN
static
Initial value:

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