protobuf-c 1.4.0
Protocol Buffers implementation in C
ProtobufCMessageOptions Class Referencefinal

Inherits PROTOBUF_NAMESPACE_ID::Message.

Public Types

enum  : int
 

Public Member Functions

PROTOBUF_CONSTEXPR ProtobufCMessageOptions (::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
 
 ProtobufCMessageOptions (const ProtobufCMessageOptions &from)
 
 ProtobufCMessageOptions (ProtobufCMessageOptions &&from) noexcept
 
ProtobufCMessageOptionsoperator= (const ProtobufCMessageOptions &from)
 
ProtobufCMessageOptionsoperator= (ProtobufCMessageOptions &&from) noexcept
 
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields () const
 
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (ProtobufCMessageOptions *other)
 
void UnsafeArenaSwap (ProtobufCMessageOptions *other)
 
ProtobufCMessageOptionsNew (::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
 
void CopyFrom (const ProtobufCMessageOptions &from)
 
void MergeFrom (const ProtobufCMessageOptions &from)
 
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear () final
 
bool IsInitialized () const final
 
size_t ByteSizeLong () const final
 
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
 
int GetCachedSize () const final
 
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData () const final
 
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata () const final
 
bool has_base_field_name () const
 
void clear_base_field_name ()
 
const std::string & base_field_name () const
 
template<typename ArgT0 = const std::string&, typename... ArgT>
void set_base_field_name (ArgT0 &&arg0, ArgT... args)
 
std::string * mutable_base_field_name ()
 
PROTOBUF_NODISCARD std::string * release_base_field_name ()
 
void set_allocated_base_field_name (std::string *base_field_name)
 
bool has_gen_pack_helpers () const
 
void clear_gen_pack_helpers ()
 
bool gen_pack_helpers () const
 
void set_gen_pack_helpers (bool value)
 
bool has_gen_init_helpers () const
 
void clear_gen_init_helpers ()
 
bool gen_init_helpers () const
 
void set_gen_init_helpers (bool value)
 
template<typename ArgT0 , typename... ArgT>
PROTOBUF_ALWAYS_INLINE void set_base_field_name (ArgT0 &&arg0, ArgT... args)
 

Static Public Member Functions

static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor ()
 
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor ()
 
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection ()
 
static const ProtobufCMessageOptionsdefault_instance ()
 
static const ProtobufCMessageOptionsinternal_default_instance ()
 

Static Public Attributes

static constexpr int kIndexInFileMessages
 
static const ClassData _class_data_
 

Protected Member Functions

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

Friends

class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata
 
template<typename T >
class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper
 
struct ::TableStruct_protobuf_2dc_2fprotobuf_2dc_2eproto
 
void swap (ProtobufCMessageOptions &a, ProtobufCMessageOptions &b)
 

Field Documentation

◆ kIndexInFileMessages

constexpr int ProtobufCMessageOptions::kIndexInFileMessages
staticconstexpr
Initial value:
=
1