Gazebo Msgs

API Reference

9.5.0

#include <rest_response.pb.h>

Public Types

typedef RestResponse_Type Type
 

Public Member Functions

 RestResponse ()
 
 RestResponse (const RestResponse &from)
 
virtual ~RestResponse ()
 
size_t ByteSizeLong () const final
 
void Clear () final
 
void clear_header ()
 
void clear_id ()
 
void clear_msg ()
 
void clear_type ()
 
void CopyFrom (const ::google::protobuf::Message &from) final
 
void CopyFrom (const RestResponse &from)
 
int GetCachedSize () const final
 
::google::protobuf::Metadata GetMetadata () const final
 
bool has_header () const
 
const ::gz::msgs::Headerheader () const
 
::google::protobuf::uint32 id () const
 
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray (bool deterministic, ::google::protobuf::uint8 *target) const final
 
bool IsInitialized () const final
 
void MergeFrom (const ::google::protobuf::Message &from) final
 
void MergeFrom (const RestResponse &from)
 
bool MergePartialFromCodedStream (::google::protobuf::io::CodedInputStream *input) final
 
const ::std::stringmsg () const
 
::gz::msgs::Headermutable_header ()
 
::std::stringmutable_msg ()
 
RestResponseNew () const final
 
RestResponseNew (::google::protobuf::Arena *arena) const final
 
RestResponseoperator= (const RestResponse &from)
 
::gz::msgs::Headerrelease_header ()
 
::std::stringrelease_msg ()
 
void SerializeWithCachedSizes (::google::protobuf::io::CodedOutputStream *output) const final
 
void set_allocated_header (::gz::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 (::gz::msgs::RestResponse_Type value)
 
void Swap (RestResponse *other)
 
::gz::msgs::RestResponse_Type type () const
 

Static Public Member Functions

static const RestResponsedefault_instance ()
 
static const ::google::protobuf::Descriptor * descriptor ()
 
static void InitAsDefaultInstance ()
 
static const RestResponseinternal_default_instance ()
 
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 constexpr int kIndexInFileMessages
 
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
 

Member Typedef Documentation

◆ Type

Constructor & Destructor Documentation

◆ RestResponse() [1/2]

◆ ~RestResponse()

virtual ~RestResponse ( )
virtual

◆ RestResponse() [2/2]

RestResponse ( const RestResponse from)

Member Function Documentation

◆ ByteSizeLong()

size_t ByteSizeLong ( ) const
final

◆ Clear()

void Clear ( )
final

◆ clear_header()

void clear_header ( )

◆ 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)
final

◆ 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
inlinefinal

◆ GetMetadata()

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

◆ has_header()

bool has_header ( ) const
inline

◆ header()

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

◆ id()

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

◆ InitAsDefaultInstance()

static void InitAsDefaultInstance ( )
static

◆ internal_default_instance()

static const RestResponse* internal_default_instance ( )
inlinestatic

◆ InternalSerializeWithCachedSizesToArray()

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

◆ IsInitialized()

bool IsInitialized ( ) const
final

◆ MergeFrom() [1/2]

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

◆ MergeFrom() [2/2]

void MergeFrom ( const RestResponse from)

◆ MergePartialFromCodedStream()

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

◆ msg()

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

◆ mutable_header()

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

◆ mutable_msg()

std::string * mutable_msg ( )
inline

◆ New() [1/2]

RestResponse* New ( ) const
inlinefinal

◆ New() [2/2]

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

◆ operator=()

RestResponse& operator= ( const RestResponse from)
inline

◆ release_header()

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

◆ release_msg()

std::string * release_msg ( )
inline

◆ SerializeWithCachedSizes()

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

◆ set_allocated_header()

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

◆ set_allocated_msg()

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

References RestResponse::msg().

◆ 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 ( ::gz::msgs::RestResponse_Type  value)
inline

◆ Swap()

void Swap ( RestResponse other)

◆ type()

gz::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

Member Data Documentation

◆ ERR

const Type ERR
static
Initial value:

◆ kHeaderFieldNumber

const int kHeaderFieldNumber = 1
static

◆ kIdFieldNumber

const int kIdFieldNumber = 2
static

◆ kIndexInFileMessages

constexpr int kIndexInFileMessages
staticconstexpr
Initial value:
=
0

◆ 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: