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

Inherits PROTOBUF_NAMESPACE_ID::Message.

Public Types

enum  : int
 

Public Member Functions

constexpr ProtobufCFileOptions (::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
 
 ProtobufCFileOptions (const ProtobufCFileOptions &from)
 
 ProtobufCFileOptions (ProtobufCFileOptions &&from) noexcept
 
ProtobufCFileOptionsoperator= (const ProtobufCFileOptions &from)
 
ProtobufCFileOptionsoperator= (ProtobufCFileOptions &&from) noexcept
 
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields () const
 
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (ProtobufCFileOptions *other)
 
void UnsafeArenaSwap (ProtobufCFileOptions *other)
 
ProtobufCFileOptionsNew (::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
 
void CopyFrom (const ProtobufCFileOptions &from)
 
void MergeFrom (const ProtobufCFileOptions &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_c_package () const
 
void clear_c_package ()
 
const std::string & c_package () const
 
template<typename ArgT0 = const std::string&, typename... ArgT>
void set_c_package (ArgT0 &&arg0, ArgT... args)
 
std::string * mutable_c_package ()
 
PROTOBUF_NODISCARD std::string * release_c_package ()
 
void set_allocated_c_package (std::string *c_package)
 
bool has_no_generate () const
 
void clear_no_generate ()
 
bool no_generate () const
 
void set_no_generate (bool value)
 
bool has_const_strings () const
 
void clear_const_strings ()
 
bool const_strings () const
 
void set_const_strings (bool value)
 
bool has_use_oneof_field_name () const
 
void clear_use_oneof_field_name ()
 
bool use_oneof_field_name () const
 
void set_use_oneof_field_name (bool value)
 
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_c_package (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 ProtobufCFileOptionsdefault_instance ()
 
static const ProtobufCFileOptionsinternal_default_instance ()
 

Static Public Attributes

static constexpr int kIndexInFileMessages
 
static const ClassData _class_data_
 

Protected Member Functions

 ProtobufCFileOptions (::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 (ProtobufCFileOptions &a, ProtobufCFileOptions &b)
 

Field Documentation

◆ kIndexInFileMessages

constexpr int ProtobufCFileOptions::kIndexInFileMessages
staticconstexpr
Initial value:
=
0