Ignition Msgs

API Reference

5.8.1

#include <rest_response.pb.h>

Public Types

enum  : int { kMsgFieldNumber = 4 , kHeaderFieldNumber = 1 , kIdFieldNumber = 2 , kTypeFieldNumber = 3 }
 
typedef RestResponse_Type Type
 

Public Member Functions

 RestResponse ()
 
constexpr RestResponse (::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
 
 RestResponse (const RestResponse &from)
 
 RestResponse (RestResponse &&from) noexcept
 
 ~RestResponse () 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
 
size_t ByteSizeLong () const final
 
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear () final
 
void clear_header ()
 
void clear_id ()
 
void clear_msg ()
 
void clear_type ()
 
void CopyFrom (const RestResponse &from)
 
int GetCachedSize () const final
 
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData () const final
 
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata () const final
 
bool has_header () const
 
const ::ignition::msgs::Headerheader () const
 
uint32_t id () const
 
bool IsInitialized () const final
 
void MergeFrom (const RestResponse &from)
 
const std::stringmsg () const
 
::ignition::msgs::Headermutable_header ()
 
std::stringmutable_msg ()
 
RestResponseNew (::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
 
RestResponseoperator= (const RestResponse &from)
 
RestResponseoperator= (RestResponse &&from) noexcept
 
PROTOBUF_NODISCARD ::ignition::msgs::Headerrelease_header ()
 
PROTOBUF_NODISCARD std::stringrelease_msg ()
 
void set_allocated_header (::ignition::msgs::Header *header)
 
void set_allocated_msg (std::string *msg)
 
void set_id (uint32_t value)
 
template<typename ArgT0 = const std::string&, typename... ArgT>
void set_msg (ArgT0 &&arg0, ArgT... args)
 
template<typename ArgT0 , typename... ArgT>
PROTOBUF_ALWAYS_INLINE void set_msg (ArgT0 &&arg0, ArgT... args)
 
void set_type (::ignition::msgs::RestResponse_Type value)
 
void Swap (RestResponse *other)
 
::ignition::msgs::RestResponse_Type type () const
 
::ignition::msgs::Headerunsafe_arena_release_header ()
 
void unsafe_arena_set_allocated_header (::ignition::msgs::Header *header)
 
void UnsafeArenaSwap (RestResponse *other)
 

Static Public Member Functions

static const RestResponsedefault_instance ()
 
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor ()
 
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor ()
 
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection ()
 
static const RestResponseinternal_default_instance ()
 
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Type_descriptor ()
 
static bool Type_IsValid (int value)
 
template<typename T >
static const std::stringType_Name (T enum_t_value)
 
static bool Type_Parse (::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Type *value)
 

Static Public Attributes

static const ClassData _class_data_
 
static constexpr Type ERR
 
static constexpr int kIndexInFileMessages
 
static constexpr Type LOGIN
 
static constexpr Type LOGOUT
 
static constexpr Type SUCCESS
 
static constexpr int Type_ARRAYSIZE
 
static constexpr Type Type_MAX
 
static constexpr Type Type_MIN
 

Protected Member Functions

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

Member Typedef Documentation

◆ Type

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
kMsgFieldNumber 
kHeaderFieldNumber 
kIdFieldNumber 
kTypeFieldNumber 

Constructor & Destructor Documentation

◆ RestResponse() [1/5]

RestResponse ( )
inline

◆ ~RestResponse()

~RestResponse ( )
override

◆ RestResponse() [2/5]

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

◆ RestResponse() [3/5]

RestResponse ( const RestResponse from)

◆ RestResponse() [4/5]

RestResponse ( RestResponse &&  from)
inlinenoexcept

◆ RestResponse() [5/5]

RestResponse ( ::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

◆ ByteSizeLong()

size_t ByteSizeLong ( ) const
final

◆ Clear()

PROTOBUF_ATTRIBUTE_REINITIALIZES 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()

void CopyFrom ( const RestResponse from)

◆ default_instance()

static const RestResponse& 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_header()

bool has_header ( ) const
inline

◆ header()

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

◆ id()

uint32_t id ( ) const
inline

◆ internal_default_instance()

static const RestResponse* internal_default_instance ( )
inlinestatic

◆ IsInitialized()

bool IsInitialized ( ) const
final

◆ MergeFrom()

void MergeFrom ( const RestResponse from)

◆ msg()

const std::string & msg ( ) const
inline

◆ mutable_header()

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

◆ mutable_msg()

std::string * mutable_msg ( )
inline

◆ New()

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

◆ operator=() [1/2]

RestResponse& operator= ( const RestResponse from)
inline

◆ operator=() [2/2]

RestResponse& operator= ( RestResponse &&  from)
inlinenoexcept

◆ release_header()

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

◆ release_msg()

std::string * release_msg ( )
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 ( uint32_t  value)
inline

◆ set_msg() [1/2]

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

◆ set_msg() [2/2]

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

◆ set_type()

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

◆ Swap()

void Swap ( RestResponse other)
inline

◆ type()

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

◆ Type_descriptor()

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

◆ Type_IsValid()

static bool Type_IsValid ( int  value)
inlinestatic

◆ Type_Name()

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

◆ Type_Parse()

static bool Type_Parse ( ::PROTOBUF_NAMESPACE_ID::ConstStringParam  name,
Type value 
)
inlinestatic

◆ unsafe_arena_release_header()

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

◆ unsafe_arena_set_allocated_header()

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

◆ UnsafeArenaSwap()

void UnsafeArenaSwap ( RestResponse other)
inline

Member Data Documentation

◆ _class_data_

const ClassData _class_data_
static

◆ ERR

constexpr Type ERR
staticconstexpr
Initial value:
=
@ RestResponse_Type_ERR
Definition: rest_response.pb.h:84

◆ kIndexInFileMessages

constexpr int kIndexInFileMessages
staticconstexpr
Initial value:
=
0

◆ LOGIN

constexpr Type LOGIN
staticconstexpr
Initial value:
=
@ RestResponse_Type_LOGIN
Definition: rest_response.pb.h:85

◆ LOGOUT

constexpr Type LOGOUT
staticconstexpr
Initial value:
=
@ RestResponse_Type_LOGOUT
Definition: rest_response.pb.h:86

◆ SUCCESS

constexpr Type SUCCESS
staticconstexpr
Initial value:
=
@ RestResponse_Type_SUCCESS
Definition: rest_response.pb.h:83

◆ Type_ARRAYSIZE

constexpr int Type_ARRAYSIZE
staticconstexpr
Initial value:
=
constexpr int RestResponse_Type_Type_ARRAYSIZE
Definition: rest_response.pb.h:93

◆ Type_MAX

constexpr Type Type_MAX
staticconstexpr
Initial value:
=
constexpr RestResponse_Type RestResponse_Type_Type_MAX
Definition: rest_response.pb.h:92

◆ Type_MIN

constexpr Type Type_MIN
staticconstexpr
Initial value:
=
constexpr RestResponse_Type RestResponse_Type_Type_MIN
Definition: rest_response.pb.h:91

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