Ignition Msgs

API Reference

5.8.1

#include <response.pb.h>

Public Types

enum  : int {
  kRequestFieldNumber = 3 , kResponseFieldNumber = 4 , kTypeFieldNumber = 5 , kSerializedDataFieldNumber = 6 ,
  kHeaderFieldNumber = 1 , kIdFieldNumber = 2
}
 

Public Member Functions

 Response ()
 
constexpr Response (::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
 
 Response (const Response &from)
 
 Response (Response &&from) noexcept
 
 ~Response () 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_request ()
 
void clear_response ()
 
void clear_serialized_data ()
 
void clear_type ()
 
void CopyFrom (const Response &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
 
int32_t id () const
 
bool IsInitialized () const final
 
void MergeFrom (const Response &from)
 
::ignition::msgs::Headermutable_header ()
 
std::stringmutable_request ()
 
std::stringmutable_response ()
 
std::stringmutable_serialized_data ()
 
std::stringmutable_type ()
 
ResponseNew (::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
 
Responseoperator= (const Response &from)
 
Responseoperator= (Response &&from) noexcept
 
PROTOBUF_NODISCARD ::ignition::msgs::Headerrelease_header ()
 
PROTOBUF_NODISCARD std::stringrelease_request ()
 
PROTOBUF_NODISCARD std::stringrelease_response ()
 
PROTOBUF_NODISCARD std::stringrelease_serialized_data ()
 
PROTOBUF_NODISCARD std::stringrelease_type ()
 
const std::stringrequest () const
 
const std::stringresponse () const
 
const std::stringserialized_data () const
 
void set_allocated_header (::ignition::msgs::Header *header)
 
void set_allocated_request (std::string *request)
 
void set_allocated_response (std::string *response)
 
void set_allocated_serialized_data (std::string *serialized_data)
 
void set_allocated_type (std::string *type)
 
void set_id (int32_t value)
 
template<typename ArgT0 = const std::string&, typename... ArgT>
void set_request (ArgT0 &&arg0, ArgT... args)
 
template<typename ArgT0 , typename... ArgT>
PROTOBUF_ALWAYS_INLINE void set_request (ArgT0 &&arg0, ArgT... args)
 
template<typename ArgT0 = const std::string&, typename... ArgT>
void set_response (ArgT0 &&arg0, ArgT... args)
 
template<typename ArgT0 , typename... ArgT>
PROTOBUF_ALWAYS_INLINE void set_response (ArgT0 &&arg0, ArgT... args)
 
template<typename ArgT0 = const std::string&, typename... ArgT>
void set_serialized_data (ArgT0 &&arg0, ArgT... args)
 
template<typename ArgT0 , typename... ArgT>
PROTOBUF_ALWAYS_INLINE void set_serialized_data (ArgT0 &&arg0, ArgT... args)
 
template<typename ArgT0 = const std::string&, typename... ArgT>
void set_type (ArgT0 &&arg0, ArgT... args)
 
template<typename ArgT0 , typename... ArgT>
PROTOBUF_ALWAYS_INLINE void set_type (ArgT0 &&arg0, ArgT... args)
 
void Swap (Response *other)
 
const std::stringtype () const
 
::ignition::msgs::Headerunsafe_arena_release_header ()
 
void unsafe_arena_set_allocated_header (::ignition::msgs::Header *header)
 
void UnsafeArenaSwap (Response *other)
 

Static Public Member Functions

static const Responsedefault_instance ()
 
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor ()
 
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor ()
 
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection ()
 
static const Responseinternal_default_instance ()
 

Static Public Attributes

static const ClassData _class_data_
 
static constexpr int kIndexInFileMessages
 

Protected Member Functions

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

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
kRequestFieldNumber 
kResponseFieldNumber 
kTypeFieldNumber 
kSerializedDataFieldNumber 
kHeaderFieldNumber 
kIdFieldNumber 

Constructor & Destructor Documentation

◆ Response() [1/5]

Response ( )
inline

◆ ~Response()

~Response ( )
override

◆ Response() [2/5]

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

◆ Response() [3/5]

Response ( const Response from)

◆ Response() [4/5]

Response ( Response &&  from)
inlinenoexcept

◆ Response() [5/5]

Response ( ::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_request()

void clear_request ( )
inline

◆ clear_response()

void clear_response ( )
inline

◆ clear_serialized_data()

void clear_serialized_data ( )
inline

◆ clear_type()

void clear_type ( )
inline

◆ CopyFrom()

void CopyFrom ( const Response from)

◆ default_instance()

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

int32_t id ( ) const
inline

◆ internal_default_instance()

static const Response* internal_default_instance ( )
inlinestatic

◆ IsInitialized()

bool IsInitialized ( ) const
final

◆ MergeFrom()

void MergeFrom ( const Response from)

◆ mutable_header()

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

◆ mutable_request()

std::string * mutable_request ( )
inline

◆ mutable_response()

std::string * mutable_response ( )
inline

◆ mutable_serialized_data()

std::string * mutable_serialized_data ( )
inline

◆ mutable_type()

std::string * mutable_type ( )
inline

◆ New()

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

◆ operator=() [1/2]

Response& operator= ( const Response from)
inline

◆ operator=() [2/2]

Response& operator= ( Response &&  from)
inlinenoexcept

◆ release_header()

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

◆ release_request()

std::string * release_request ( )
inline

◆ release_response()

std::string * release_response ( )
inline

◆ release_serialized_data()

std::string * release_serialized_data ( )
inline

◆ release_type()

std::string * release_type ( )
inline

◆ request()

const std::string & request ( ) const
inline

◆ response()

const std::string & response ( ) const
inline

◆ serialized_data()

const std::string & serialized_data ( ) const
inline

◆ set_allocated_header()

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

◆ set_allocated_request()

void set_allocated_request ( std::string request)
inline

◆ set_allocated_response()

void set_allocated_response ( std::string response)
inline

◆ set_allocated_serialized_data()

void set_allocated_serialized_data ( std::string serialized_data)
inline

◆ set_allocated_type()

void set_allocated_type ( std::string type)
inline

◆ set_id()

void set_id ( int32_t  value)
inline

◆ set_request() [1/2]

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

◆ set_request() [2/2]

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

◆ set_response() [1/2]

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

◆ set_response() [2/2]

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

◆ set_serialized_data() [1/2]

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

◆ set_serialized_data() [2/2]

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

◆ set_type() [1/2]

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

◆ set_type() [2/2]

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

◆ Swap()

void Swap ( Response other)
inline

◆ type()

const std::string & type ( ) const
inline

◆ 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 ( Response other)
inline

Member Data Documentation

◆ _class_data_

const ClassData _class_data_
static

◆ kIndexInFileMessages

constexpr int kIndexInFileMessages
staticconstexpr
Initial value:
=
0

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