List of all members |
Public Types |
Public Member Functions |
Static Public Member Functions |
Static Public Attributes |
Protected Member Functions
RestResponse Class Referencefinal
#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::Header & | header () const |
uint32_t | id () const |
bool | IsInitialized () const final |
void | MergeFrom (const RestResponse &from) |
const std::string & | msg () const |
::ignition::msgs::Header * | mutable_header () |
std::string * | mutable_msg () |
RestResponse * | New (::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final |
RestResponse & | operator= (const RestResponse &from) |
RestResponse & | operator= (RestResponse &&from) noexcept |
PROTOBUF_NODISCARD ::ignition::msgs::Header * | release_header () |
PROTOBUF_NODISCARD std::string * | release_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::Header * | unsafe_arena_release_header () |
void | unsafe_arena_set_allocated_header (::ignition::msgs::Header *header) |
void | UnsafeArenaSwap (RestResponse *other) |
Static Public Member Functions | |
static const RestResponse & | default_instance () |
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * | descriptor () |
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * | GetDescriptor () |
static const ::PROTOBUF_NAMESPACE_ID::Reflection * | GetReflection () |
static const RestResponse * | internal_default_instance () |
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * | Type_descriptor () |
static bool | Type_IsValid (int value) |
template<typename T > | |
static const std::string & | Type_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
typedef RestResponse_Type Type |
Member Enumeration Documentation
◆ anonymous enum
Constructor & Destructor Documentation
◆ RestResponse() [1/5]
|
inline |
◆ ~RestResponse()
|
override |
◆ RestResponse() [2/5]
|
explicitconstexpr |
◆ RestResponse() [3/5]
RestResponse | ( | const RestResponse & | from | ) |
◆ RestResponse() [4/5]
|
inlinenoexcept |
◆ RestResponse() [5/5]
|
explicitprotected |
Member Function Documentation
◆ _InternalParse()
|
final |
◆ _InternalSerialize()
|
final |
◆ ByteSizeLong()
|
final |
◆ Clear()
|
final |
◆ clear_header()
void clear_header | ( | ) |
◆ clear_id()
|
inline |
◆ clear_msg()
|
inline |
◆ clear_type()
|
inline |
◆ CopyFrom()
void CopyFrom | ( | const RestResponse & | from | ) |
◆ default_instance()
|
inlinestatic |
◆ descriptor()
|
inlinestatic |
◆ GetCachedSize()
|
inlinefinal |
◆ GetClassData()
|
final |
◆ GetDescriptor()
|
inlinestatic |
◆ GetMetadata()
|
final |
◆ GetReflection()
|
inlinestatic |
◆ has_header()
|
inline |
◆ header()
|
inline |
◆ id()
|
inline |
◆ internal_default_instance()
|
inlinestatic |
References ignition::msgs::_RestResponse_default_instance_.
◆ IsInitialized()
|
final |
◆ MergeFrom()
void MergeFrom | ( | const RestResponse & | from | ) |
◆ msg()
|
inline |
◆ mutable_header()
|
inline |
◆ mutable_msg()
|
inline |
◆ New()
|
inlinefinal |
◆ operator=() [1/2]
|
inline |
◆ operator=() [2/2]
|
inlinenoexcept |
◆ release_header()
|
inline |
◆ release_msg()
|
inline |
◆ set_allocated_header()
|
inline |
◆ set_allocated_msg()
|
inline |
◆ set_id()
|
inline |
◆ set_msg() [1/2]
void set_msg | ( | ArgT0 && | arg0, |
ArgT... | args | ||
) |
◆ set_msg() [2/2]
|
inline |
◆ set_type()
|
inline |
◆ Swap()
|
inline |
◆ type()
|
inline |
◆ Type_descriptor()
|
inlinestatic |
References ignition::msgs::RestResponse_Type_descriptor().
◆ Type_IsValid()
|
inlinestatic |
References ignition::msgs::RestResponse_Type_IsValid().
◆ Type_Name()
|
inlinestatic |
References ignition::msgs::RestResponse_Type_Name().
◆ Type_Parse()
|
inlinestatic |
References ignition::msgs::RestResponse_Type_Parse().
◆ unsafe_arena_release_header()
|
inline |
◆ unsafe_arena_set_allocated_header()
|
inline |
◆ UnsafeArenaSwap()
|
inline |
Member Data Documentation
◆ _class_data_
|
static |
◆ ERR
|
staticconstexpr |
Initial value:
=
◆ kIndexInFileMessages
|
staticconstexpr |
Initial value:
=
0
◆ LOGIN
|
staticconstexpr |
Initial value:
=
◆ LOGOUT
|
staticconstexpr |
Initial value:
=
◆ SUCCESS
|
staticconstexpr |
Initial value:
=
@ RestResponse_Type_SUCCESS
Definition: rest_response.pb.h:83
◆ Type_ARRAYSIZE
|
staticconstexpr |
Initial value:
=
constexpr int RestResponse_Type_Type_ARRAYSIZE
Definition: rest_response.pb.h:93
◆ Type_MAX
|
staticconstexpr |
Initial value:
=
constexpr RestResponse_Type RestResponse_Type_Type_MAX
Definition: rest_response.pb.h:92
◆ 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: