TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
google::protobuf::DescriptorProto Class Reference

#include <descriptor.pb.h>

Public Types

typedef
DescriptorProto_ExtensionRange 
ExtensionRange
 
- Public Types inherited from google::protobuf::Message
typedef
google::protobuf::Reflection 
Reflection
 

Public Member Functions

 DescriptorProto ()
 
virtual ~DescriptorProto ()
 
 DescriptorProto (const DescriptorProto &from)
 
DescriptorProtooperator= (const DescriptorProto &from)
 
const
::google::protobuf::UnknownFieldSet
unknown_fields () const
 
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (DescriptorProto *other)
 
DescriptorProtoNew () const
 
void CopyFrom (const ::google::protobuf::Message &from)
 
void MergeFrom (const ::google::protobuf::Message &from)
 
void CopyFrom (const DescriptorProto &from)
 
void MergeFrom (const DescriptorProto &from)
 
void Clear ()
 
bool IsInitialized () const
 
int ByteSize () const
 
bool MergePartialFromCodedStream (::google::protobuf::io::CodedInputStream *input)
 
void SerializeWithCachedSizes (::google::protobuf::io::CodedOutputStream *output) const
 
::google::protobuf::uint8SerializeWithCachedSizesToArray (::google::protobuf::uint8 *output) const
 
int GetCachedSize () const
 
::google::protobuf::Metadata GetMetadata () const
 
bool has_name () const
 
void clear_name ()
 
const ::std::string & name () const
 
void set_name (const ::std::string &value)
 
void set_name (const char *value)
 
void set_name (const char *value, size_t size)
 
inline::std::string * mutable_name ()
 
inline::std::string * release_name ()
 
void set_allocated_name (::std::string *name)
 
int field_size () const
 
void clear_field ()
 
const
::google::protobuf::FieldDescriptorProto
field (int index) const
 
inline::google::protobuf::FieldDescriptorProto * mutable_field (int index)
 
inline::google::protobuf::FieldDescriptorProto * add_field ()
 
const
::google::protobuf::RepeatedPtrField
< ::google::protobuf::FieldDescriptorProto > & 
field () const
 
inline::google::protobuf::RepeatedPtrField
< ::google::protobuf::FieldDescriptorProto > * 
mutable_field ()
 
int extension_size () const
 
void clear_extension ()
 
const
::google::protobuf::FieldDescriptorProto
extension (int index) const
 
inline::google::protobuf::FieldDescriptorProto * mutable_extension (int index)
 
inline::google::protobuf::FieldDescriptorProto * add_extension ()
 
const
::google::protobuf::RepeatedPtrField
< ::google::protobuf::FieldDescriptorProto > & 
extension () const
 
inline::google::protobuf::RepeatedPtrField
< ::google::protobuf::FieldDescriptorProto > * 
mutable_extension ()
 
int nested_type_size () const
 
void clear_nested_type ()
 
const
::google::protobuf::DescriptorProto
nested_type (int index) const
 
inline::google::protobuf::DescriptorProto * mutable_nested_type (int index)
 
inline::google::protobuf::DescriptorProto * add_nested_type ()
 
const
::google::protobuf::RepeatedPtrField
< ::google::protobuf::DescriptorProto > & 
nested_type () const
 
inline::google::protobuf::RepeatedPtrField
< ::google::protobuf::DescriptorProto > * 
mutable_nested_type ()
 
int enum_type_size () const
 
void clear_enum_type ()
 
const
::google::protobuf::EnumDescriptorProto
enum_type (int index) const
 
inline::google::protobuf::EnumDescriptorProto * mutable_enum_type (int index)
 
inline::google::protobuf::EnumDescriptorProto * add_enum_type ()
 
const
::google::protobuf::RepeatedPtrField
< ::google::protobuf::EnumDescriptorProto > & 
enum_type () const
 
inline::google::protobuf::RepeatedPtrField
< ::google::protobuf::EnumDescriptorProto > * 
mutable_enum_type ()
 
int extension_range_size () const
 
void clear_extension_range ()
 
const
::google::protobuf::DescriptorProto_ExtensionRange
extension_range (int index) const
 
inline::google::protobuf::DescriptorProto_ExtensionRange * mutable_extension_range (int index)
 
inline::google::protobuf::DescriptorProto_ExtensionRange * add_extension_range ()
 
const
::google::protobuf::RepeatedPtrField
< ::google::protobuf::DescriptorProto_ExtensionRange > & 
extension_range () const
 
inline::google::protobuf::RepeatedPtrField
< ::google::protobuf::DescriptorProto_ExtensionRange > * 
mutable_extension_range ()
 
int oneof_decl_size () const
 
void clear_oneof_decl ()
 
const
::google::protobuf::OneofDescriptorProto
oneof_decl (int index) const
 
inline::google::protobuf::OneofDescriptorProto * mutable_oneof_decl (int index)
 
inline::google::protobuf::OneofDescriptorProto * add_oneof_decl ()
 
const
::google::protobuf::RepeatedPtrField
< ::google::protobuf::OneofDescriptorProto > & 
oneof_decl () const
 
inline::google::protobuf::RepeatedPtrField
< ::google::protobuf::OneofDescriptorProto > * 
mutable_oneof_decl ()
 
bool has_options () const
 
void clear_options ()
 
const
::google::protobuf::MessageOptions
options () const
 
inline::google::protobuf::MessageOptions * mutable_options ()
 
inline::google::protobuf::MessageOptions * release_options ()
 
void set_allocated_options (::google::protobuf::MessageOptions *options)
 
- Public Member Functions inherited from google::protobuf::Message
 Message ()
 
virtual ~Message ()
 
virtual void CopyFrom (const Message &from)
 
virtual void MergeFrom (const Message &from)
 
void CheckInitialized () const
 
void FindInitializationErrors (vector< string > *errors) const
 
string InitializationErrorString () const
 
virtual void DiscardUnknownFields ()
 
virtual int SpaceUsed () const
 
string DebugString () const
 
string ShortDebugString () const
 
string Utf8DebugString () const
 
void PrintDebugString () const
 
bool ParseFromFileDescriptor (int file_descriptor)
 
bool ParsePartialFromFileDescriptor (int file_descriptor)
 
bool ParseFromIstream (istream *input)
 
bool ParsePartialFromIstream (istream *input)
 
bool SerializeToFileDescriptor (int file_descriptor) const
 
bool SerializePartialToFileDescriptor (int file_descriptor) const
 
bool SerializeToOstream (ostream *output) const
 
bool SerializePartialToOstream (ostream *output) const
 
virtual string GetTypeName () const
 
virtual void CheckTypeAndMergeFrom (const MessageLite &other)
 
virtual bool MergePartialFromCodedStream (io::CodedInputStream *input)
 
virtual void SerializeWithCachedSizes (io::CodedOutputStream *output) const
 
const DescriptorGetDescriptor () const
 
virtual const ReflectionGetReflection () const
 
- Public Member Functions inherited from google::protobuf::MessageLite
 MessageLite ()
 
virtual ~MessageLite ()
 
bool ParseFromCodedStream (io::CodedInputStream *input)
 
bool ParsePartialFromCodedStream (io::CodedInputStream *input)
 
bool ParseFromZeroCopyStream (io::ZeroCopyInputStream *input)
 
bool ParsePartialFromZeroCopyStream (io::ZeroCopyInputStream *input)
 
bool ParseFromBoundedZeroCopyStream (io::ZeroCopyInputStream *input, int size)
 
bool ParsePartialFromBoundedZeroCopyStream (io::ZeroCopyInputStream *input, int size)
 
bool ParseFromString (const string &data)
 
bool ParsePartialFromString (const string &data)
 
bool ParseFromArray (const void *data, int size)
 
bool ParsePartialFromArray (const void *data, int size)
 
bool MergeFromCodedStream (io::CodedInputStream *input)
 
bool SerializeToCodedStream (io::CodedOutputStream *output) const
 
bool SerializePartialToCodedStream (io::CodedOutputStream *output) const
 
bool SerializeToZeroCopyStream (io::ZeroCopyOutputStream *output) const
 
bool SerializePartialToZeroCopyStream (io::ZeroCopyOutputStream *output) const
 
bool SerializeToString (string *output) const
 
bool SerializePartialToString (string *output) const
 
bool SerializeToArray (void *data, int size) const
 
bool SerializePartialToArray (void *data, int size) const
 
string SerializeAsString () const
 
string SerializePartialAsString () const
 
bool AppendToString (string *output) const
 
bool AppendPartialToString (string *output) const
 
virtual uint8SerializeWithCachedSizesToArray (uint8 *target) const
 

Static Public Member Functions

static const
::google::protobuf::Descriptor
descriptor ()
 
static const DescriptorProtodefault_instance ()
 

Static Public Attributes

static const int kNameFieldNumber = 1
 
static const int kFieldFieldNumber = 2
 
static const int kExtensionFieldNumber = 6
 
static const int kNestedTypeFieldNumber = 3
 
static const int kEnumTypeFieldNumber = 4
 
static const int kExtensionRangeFieldNumber = 5
 
static const int kOneofDeclFieldNumber = 8
 
static const int kOptionsFieldNumber = 7
 

Private Member Functions

void SharedCtor ()
 
void SharedDtor ()
 
void SetCachedSize (int size) const
 
void set_has_name ()
 
void clear_has_name ()
 
void set_has_options ()
 
void clear_has_options ()
 
void InitAsDefaultInstance ()
 

Private Attributes

::google::protobuf::UnknownFieldSet _unknown_fields_
 
::google::protobuf::uint32 _has_bits_ [1]
 
int _cached_size_
 
::std::string * name_
 
::google::protobuf::RepeatedPtrField
< ::google::protobuf::FieldDescriptorProto
field_
 
::google::protobuf::RepeatedPtrField
< ::google::protobuf::FieldDescriptorProto
extension_
 
::google::protobuf::RepeatedPtrField
< ::google::protobuf::DescriptorProto
nested_type_
 
::google::protobuf::RepeatedPtrField
< ::google::protobuf::EnumDescriptorProto
enum_type_
 
::google::protobuf::RepeatedPtrField
< ::google::protobuf::DescriptorProto_ExtensionRange
extension_range_
 
::google::protobuf::RepeatedPtrField
< ::google::protobuf::OneofDescriptorProto
oneof_decl_
 
::google::protobuf::MessageOptionsoptions_
 

Static Private Attributes

static DescriptorProtodefault_instance_
 

Friends

void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto ()
 
void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto ()
 
void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto ()
 

Additional Inherited Members

Member Typedef Documentation

Constructor & Destructor Documentation

google::protobuf::DescriptorProto::DescriptorProto ( )
virtual google::protobuf::DescriptorProto::~DescriptorProto ( )
virtual
google::protobuf::DescriptorProto::DescriptorProto ( const DescriptorProto from)

Member Function Documentation

google::protobuf::EnumDescriptorProto * google::protobuf::DescriptorProto::add_enum_type ( )
inline
3625  {
3626  // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.enum_type)
3627  return enum_type_.Add();
3628 }
::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto > enum_type_
Definition: descriptor.pb.h:709
google::protobuf::FieldDescriptorProto * google::protobuf::DescriptorProto::add_extension ( )
inline
3565  {
3566  // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.extension)
3567  return extension_.Add();
3568 }
::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > extension_
Definition: descriptor.pb.h:707
google::protobuf::DescriptorProto_ExtensionRange * google::protobuf::DescriptorProto::add_extension_range ( )
inline
3655  {
3656  // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.extension_range)
3657  return extension_range_.Add();
3658 }
::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ExtensionRange > extension_range_
Definition: descriptor.pb.h:710
google::protobuf::FieldDescriptorProto * google::protobuf::DescriptorProto::add_field ( )
inline
3535  {
3536  // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.field)
3537  return field_.Add();
3538 }
::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > field_
Definition: descriptor.pb.h:706
google::protobuf::DescriptorProto * google::protobuf::DescriptorProto::add_nested_type ( )
inline
3595  {
3596  // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.nested_type)
3597  return nested_type_.Add();
3598 }
::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto > nested_type_
Definition: descriptor.pb.h:708
google::protobuf::OneofDescriptorProto * google::protobuf::DescriptorProto::add_oneof_decl ( )
inline
3685  {
3686  // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.oneof_decl)
3687  return oneof_decl_.Add();
3688 }
::google::protobuf::RepeatedPtrField< ::google::protobuf::OneofDescriptorProto > oneof_decl_
Definition: descriptor.pb.h:711
int google::protobuf::DescriptorProto::ByteSize ( ) const
virtual

Reimplemented from google::protobuf::Message.

void google::protobuf::DescriptorProto::Clear ( )
virtual

Reimplemented from google::protobuf::Message.

void google::protobuf::DescriptorProto::clear_enum_type ( )
inline
3614  {
3615  enum_type_.Clear();
3616 }
::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto > enum_type_
Definition: descriptor.pb.h:709
void google::protobuf::DescriptorProto::clear_extension ( )
inline
3554  {
3555  extension_.Clear();
3556 }
::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > extension_
Definition: descriptor.pb.h:707
void google::protobuf::DescriptorProto::clear_extension_range ( )
inline
3644  {
3645  extension_range_.Clear();
3646 }
::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ExtensionRange > extension_range_
Definition: descriptor.pb.h:710
void google::protobuf::DescriptorProto::clear_field ( )
inline
3524  {
3525  field_.Clear();
3526 }
::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > field_
Definition: descriptor.pb.h:706
void google::protobuf::DescriptorProto::clear_has_name ( )
inlineprivate
3451  {
3452  _has_bits_[0] &= ~0x00000001u;
3453 }
::google::protobuf::uint32 _has_bits_[1]
Definition: descriptor.pb.h:703
void google::protobuf::DescriptorProto::clear_has_options ( )
inlineprivate
3707  {
3708  _has_bits_[0] &= ~0x00000080u;
3709 }
::google::protobuf::uint32 _has_bits_[1]
Definition: descriptor.pb.h:703
void google::protobuf::DescriptorProto::clear_name ( )
inline
3454  {
3456  name_->clear();
3457  }
3458  clear_has_name();
3459 }
void clear_has_name()
Definition: descriptor.pb.h:3451
::std::string * name_
Definition: descriptor.pb.h:705
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79

+ Here is the call graph for this function:

void google::protobuf::DescriptorProto::clear_nested_type ( )
inline
3584  {
3585  nested_type_.Clear();
3586 }
::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto > nested_type_
Definition: descriptor.pb.h:708
void google::protobuf::DescriptorProto::clear_oneof_decl ( )
inline
3674  {
3675  oneof_decl_.Clear();
3676 }
::google::protobuf::RepeatedPtrField< ::google::protobuf::OneofDescriptorProto > oneof_decl_
Definition: descriptor.pb.h:711
void google::protobuf::DescriptorProto::clear_options ( )
inline
3710  {
3711  if (options_ != NULL) options_->::google::protobuf::MessageOptions::Clear();
3713 }
::google::protobuf::MessageOptions * options_
Definition: descriptor.pb.h:712
void clear_has_options()
Definition: descriptor.pb.h:3707
arena_t NULL
Definition: jemalloc_internal.h:624
void google::protobuf::DescriptorProto::CopyFrom ( const ::google::protobuf::Message from)
void google::protobuf::DescriptorProto::CopyFrom ( const DescriptorProto from)
static const DescriptorProto& google::protobuf::DescriptorProto::default_instance ( )
static
static const ::google::protobuf::Descriptor* google::protobuf::DescriptorProto::descriptor ( )
static
const ::google::protobuf::EnumDescriptorProto & google::protobuf::DescriptorProto::enum_type ( int  index) const
inline
3617  {
3618  // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.enum_type)
3619  return enum_type_.Get(index);
3620 }
::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto > enum_type_
Definition: descriptor.pb.h:709
const ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumDescriptorProto > & google::protobuf::DescriptorProto::enum_type ( ) const
inline
3630  {
3631  // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.enum_type)
3632  return enum_type_;
3633 }
::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto > enum_type_
Definition: descriptor.pb.h:709
int google::protobuf::DescriptorProto::enum_type_size ( ) const
inline
3611  {
3612  return enum_type_.size();
3613 }
::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto > enum_type_
Definition: descriptor.pb.h:709
const ::google::protobuf::FieldDescriptorProto & google::protobuf::DescriptorProto::extension ( int  index) const
inline
3557  {
3558  // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.extension)
3559  return extension_.Get(index);
3560 }
::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > extension_
Definition: descriptor.pb.h:707
const ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldDescriptorProto > & google::protobuf::DescriptorProto::extension ( ) const
inline
3570  {
3571  // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.extension)
3572  return extension_;
3573 }
::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > extension_
Definition: descriptor.pb.h:707
const ::google::protobuf::DescriptorProto_ExtensionRange & google::protobuf::DescriptorProto::extension_range ( int  index) const
inline
3647  {
3648  // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.extension_range)
3649  return extension_range_.Get(index);
3650 }
::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ExtensionRange > extension_range_
Definition: descriptor.pb.h:710
const ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto_ExtensionRange > & google::protobuf::DescriptorProto::extension_range ( ) const
inline
3660  {
3661  // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.extension_range)
3662  return extension_range_;
3663 }
::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ExtensionRange > extension_range_
Definition: descriptor.pb.h:710
int google::protobuf::DescriptorProto::extension_range_size ( ) const
inline
3641  {
3642  return extension_range_.size();
3643 }
::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ExtensionRange > extension_range_
Definition: descriptor.pb.h:710
int google::protobuf::DescriptorProto::extension_size ( ) const
inline
3551  {
3552  return extension_.size();
3553 }
::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > extension_
Definition: descriptor.pb.h:707
const ::google::protobuf::FieldDescriptorProto & google::protobuf::DescriptorProto::field ( int  index) const
inline
3527  {
3528  // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.field)
3529  return field_.Get(index);
3530 }
::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > field_
Definition: descriptor.pb.h:706
const ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldDescriptorProto > & google::protobuf::DescriptorProto::field ( ) const
inline
3540  {
3541  // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.field)
3542  return field_;
3543 }
::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > field_
Definition: descriptor.pb.h:706
int google::protobuf::DescriptorProto::field_size ( ) const
inline
3521  {
3522  return field_.size();
3523 }
::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > field_
Definition: descriptor.pb.h:706
int google::protobuf::DescriptorProto::GetCachedSize ( ) const
inlinevirtual

Implements google::protobuf::MessageLite.

587 { return _cached_size_; }
int _cached_size_
Definition: descriptor.pb.h:704
::google::protobuf::Metadata google::protobuf::DescriptorProto::GetMetadata ( ) const
virtual
bool google::protobuf::DescriptorProto::has_name ( ) const
inline
3445  {
3446  return (_has_bits_[0] & 0x00000001u) != 0;
3447 }
::google::protobuf::uint32 _has_bits_[1]
Definition: descriptor.pb.h:703
bool google::protobuf::DescriptorProto::has_options ( ) const
inline
3701  {
3702  return (_has_bits_[0] & 0x00000080u) != 0;
3703 }
::google::protobuf::uint32 _has_bits_[1]
Definition: descriptor.pb.h:703
void google::protobuf::DescriptorProto::InitAsDefaultInstance ( )
private
bool google::protobuf::DescriptorProto::IsInitialized ( ) const
virtual

Reimplemented from google::protobuf::Message.

void google::protobuf::DescriptorProto::MergeFrom ( const ::google::protobuf::Message from)
void google::protobuf::DescriptorProto::MergeFrom ( const DescriptorProto from)
bool google::protobuf::DescriptorProto::MergePartialFromCodedStream ( ::google::protobuf::io::CodedInputStream input)
google::protobuf::EnumDescriptorProto * google::protobuf::DescriptorProto::mutable_enum_type ( int  index)
inline
3621  {
3622  // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.enum_type)
3623  return enum_type_.Mutable(index);
3624 }
::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto > enum_type_
Definition: descriptor.pb.h:709
google::protobuf::RepeatedPtrField<::google::protobuf::EnumDescriptorProto > * google::protobuf::DescriptorProto::mutable_enum_type ( )
inline
3635  {
3636  // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.enum_type)
3637  return &enum_type_;
3638 }
::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto > enum_type_
Definition: descriptor.pb.h:709
google::protobuf::FieldDescriptorProto * google::protobuf::DescriptorProto::mutable_extension ( int  index)
inline
3561  {
3562  // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.extension)
3563  return extension_.Mutable(index);
3564 }
::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > extension_
Definition: descriptor.pb.h:707
google::protobuf::RepeatedPtrField<::google::protobuf::FieldDescriptorProto > * google::protobuf::DescriptorProto::mutable_extension ( )
inline
3575  {
3576  // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.extension)
3577  return &extension_;
3578 }
::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > extension_
Definition: descriptor.pb.h:707
google::protobuf::DescriptorProto_ExtensionRange * google::protobuf::DescriptorProto::mutable_extension_range ( int  index)
inline
3651  {
3652  // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.extension_range)
3653  return extension_range_.Mutable(index);
3654 }
::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ExtensionRange > extension_range_
Definition: descriptor.pb.h:710
google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto_ExtensionRange > * google::protobuf::DescriptorProto::mutable_extension_range ( )
inline
3665  {
3666  // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.extension_range)
3667  return &extension_range_;
3668 }
::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ExtensionRange > extension_range_
Definition: descriptor.pb.h:710
google::protobuf::FieldDescriptorProto * google::protobuf::DescriptorProto::mutable_field ( int  index)
inline
3531  {
3532  // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.field)
3533  return field_.Mutable(index);
3534 }
::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > field_
Definition: descriptor.pb.h:706
google::protobuf::RepeatedPtrField<::google::protobuf::FieldDescriptorProto > * google::protobuf::DescriptorProto::mutable_field ( )
inline
3545  {
3546  // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.field)
3547  return &field_;
3548 }
::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > field_
Definition: descriptor.pb.h:706
std::string * google::protobuf::DescriptorProto::mutable_name ( )
inline
3488  {
3489  set_has_name();
3491  name_ = new ::std::string;
3492  }
3493  // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.name)
3494  return name_;
3495 }
::std::string * name_
Definition: descriptor.pb.h:705
void set_has_name()
Definition: descriptor.pb.h:3448
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79

+ Here is the call graph for this function:

google::protobuf::DescriptorProto * google::protobuf::DescriptorProto::mutable_nested_type ( int  index)
inline
3591  {
3592  // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.nested_type)
3593  return nested_type_.Mutable(index);
3594 }
::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto > nested_type_
Definition: descriptor.pb.h:708
google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto > * google::protobuf::DescriptorProto::mutable_nested_type ( )
inline
3605  {
3606  // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.nested_type)
3607  return &nested_type_;
3608 }
::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto > nested_type_
Definition: descriptor.pb.h:708
google::protobuf::OneofDescriptorProto * google::protobuf::DescriptorProto::mutable_oneof_decl ( int  index)
inline
3681  {
3682  // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.oneof_decl)
3683  return oneof_decl_.Mutable(index);
3684 }
::google::protobuf::RepeatedPtrField< ::google::protobuf::OneofDescriptorProto > oneof_decl_
Definition: descriptor.pb.h:711
google::protobuf::RepeatedPtrField<::google::protobuf::OneofDescriptorProto > * google::protobuf::DescriptorProto::mutable_oneof_decl ( )
inline
3695  {
3696  // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.oneof_decl)
3697  return &oneof_decl_;
3698 }
::google::protobuf::RepeatedPtrField< ::google::protobuf::OneofDescriptorProto > oneof_decl_
Definition: descriptor.pb.h:711
google::protobuf::MessageOptions * google::protobuf::DescriptorProto::mutable_options ( )
inline
3718  {
3719  set_has_options();
3720  if (options_ == NULL) options_ = new ::google::protobuf::MessageOptions;
3721  // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.options)
3722  return options_;
3723 }
::google::protobuf::MessageOptions * options_
Definition: descriptor.pb.h:712
arena_t NULL
Definition: jemalloc_internal.h:624
void set_has_options()
Definition: descriptor.pb.h:3704
inline ::google::protobuf::UnknownFieldSet* google::protobuf::DescriptorProto::mutable_unknown_fields ( )
inline
562  {
563  return &_unknown_fields_;
564  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: descriptor.pb.h:701
const ::std::string & google::protobuf::DescriptorProto::name ( ) const
inline
3460  {
3461  // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.name)
3462  return *name_;
3463 }
::std::string * name_
Definition: descriptor.pb.h:705
const ::google::protobuf::DescriptorProto & google::protobuf::DescriptorProto::nested_type ( int  index) const
inline
3587  {
3588  // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.nested_type)
3589  return nested_type_.Get(index);
3590 }
::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto > nested_type_
Definition: descriptor.pb.h:708
const ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto > & google::protobuf::DescriptorProto::nested_type ( ) const
inline
3600  {
3601  // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.nested_type)
3602  return nested_type_;
3603 }
::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto > nested_type_
Definition: descriptor.pb.h:708
int google::protobuf::DescriptorProto::nested_type_size ( ) const
inline
3581  {
3582  return nested_type_.size();
3583 }
::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto > nested_type_
Definition: descriptor.pb.h:708
DescriptorProto* google::protobuf::DescriptorProto::New ( ) const
virtual
const ::google::protobuf::OneofDescriptorProto & google::protobuf::DescriptorProto::oneof_decl ( int  index) const
inline
3677  {
3678  // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.oneof_decl)
3679  return oneof_decl_.Get(index);
3680 }
::google::protobuf::RepeatedPtrField< ::google::protobuf::OneofDescriptorProto > oneof_decl_
Definition: descriptor.pb.h:711
const ::google::protobuf::RepeatedPtrField<::google::protobuf::OneofDescriptorProto > & google::protobuf::DescriptorProto::oneof_decl ( ) const
inline
3690  {
3691  // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.oneof_decl)
3692  return oneof_decl_;
3693 }
::google::protobuf::RepeatedPtrField< ::google::protobuf::OneofDescriptorProto > oneof_decl_
Definition: descriptor.pb.h:711
int google::protobuf::DescriptorProto::oneof_decl_size ( ) const
inline
3671  {
3672  return oneof_decl_.size();
3673 }
::google::protobuf::RepeatedPtrField< ::google::protobuf::OneofDescriptorProto > oneof_decl_
Definition: descriptor.pb.h:711
DescriptorProto& google::protobuf::DescriptorProto::operator= ( const DescriptorProto from)
inline
553  {
554  CopyFrom(from);
555  return *this;
556  }
void CopyFrom(const ::google::protobuf::Message &from)
const ::google::protobuf::MessageOptions & google::protobuf::DescriptorProto::options ( ) const
inline
3714  {
3715  // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.options)
3716  return options_ != NULL ? *options_ : *default_instance_->options_;
3717 }
::google::protobuf::MessageOptions * options_
Definition: descriptor.pb.h:712
arena_t NULL
Definition: jemalloc_internal.h:624
static DescriptorProto * default_instance_
Definition: descriptor.pb.h:718
std::string * google::protobuf::DescriptorProto::release_name ( )
inline
3496  {
3497  clear_has_name();
3499  return NULL;
3500  } else {
3501  ::std::string* temp = name_;
3502  name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3503  return temp;
3504  }
3505 }
void clear_has_name()
Definition: descriptor.pb.h:3451
::std::string * name_
Definition: descriptor.pb.h:705
arena_t NULL
Definition: jemalloc_internal.h:624
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79

+ Here is the call graph for this function:

google::protobuf::MessageOptions * google::protobuf::DescriptorProto::release_options ( )
inline
3724  {
3727  options_ = NULL;
3728  return temp;
3729 }
::google::protobuf::MessageOptions * options_
Definition: descriptor.pb.h:712
void clear_has_options()
Definition: descriptor.pb.h:3707
arena_t NULL
Definition: jemalloc_internal.h:624
Definition: descriptor.pb.h:1737
void google::protobuf::DescriptorProto::SerializeWithCachedSizes ( ::google::protobuf::io::CodedOutputStream output) const
::google::protobuf::uint8* google::protobuf::DescriptorProto::SerializeWithCachedSizesToArray ( ::google::protobuf::uint8 output) const
void google::protobuf::DescriptorProto::set_allocated_name ( ::std::string *  name)
inline
3506  {
3508  delete name_;
3509  }
3510  if (name) {
3511  set_has_name();
3512  name_ = name;
3513  } else {
3514  clear_has_name();
3515  name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3516  }
3517  // @@protoc_insertion_point(field_set_allocated:google.protobuf.DescriptorProto.name)
3518 }
void clear_has_name()
Definition: descriptor.pb.h:3451
::std::string * name_
Definition: descriptor.pb.h:705
void set_has_name()
Definition: descriptor.pb.h:3448
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
const ::std::string & name() const
Definition: descriptor.pb.h:3460

+ Here is the call graph for this function:

void google::protobuf::DescriptorProto::set_allocated_options ( ::google::protobuf::MessageOptions options)
inline
3730  {
3731  delete options_;
3732  options_ = options;
3733  if (options) {
3734  set_has_options();
3735  } else {
3737  }
3738  // @@protoc_insertion_point(field_set_allocated:google.protobuf.DescriptorProto.options)
3739 }
::google::protobuf::MessageOptions * options_
Definition: descriptor.pb.h:712
void clear_has_options()
Definition: descriptor.pb.h:3707
const ::google::protobuf::MessageOptions & options() const
Definition: descriptor.pb.h:3714
void set_has_options()
Definition: descriptor.pb.h:3704
void google::protobuf::DescriptorProto::set_has_name ( )
inlineprivate
3448  {
3449  _has_bits_[0] |= 0x00000001u;
3450 }
::google::protobuf::uint32 _has_bits_[1]
Definition: descriptor.pb.h:703
void google::protobuf::DescriptorProto::set_has_options ( )
inlineprivate
3704  {
3705  _has_bits_[0] |= 0x00000080u;
3706 }
::google::protobuf::uint32 _has_bits_[1]
Definition: descriptor.pb.h:703
void google::protobuf::DescriptorProto::set_name ( const ::std::string &  value)
inline
3464  {
3465  set_has_name();
3467  name_ = new ::std::string;
3468  }
3469  name_->assign(value);
3470  // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.name)
3471 }
::std::string * name_
Definition: descriptor.pb.h:705
void set_has_name()
Definition: descriptor.pb.h:3448
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
const FieldDescriptor value
Definition: descriptor.h:1522

+ Here is the call graph for this function:

void google::protobuf::DescriptorProto::set_name ( const char *  value)
inline
3472  {
3473  set_has_name();
3475  name_ = new ::std::string;
3476  }
3477  name_->assign(value);
3478  // @@protoc_insertion_point(field_set_char:google.protobuf.DescriptorProto.name)
3479 }
::std::string * name_
Definition: descriptor.pb.h:705
void set_has_name()
Definition: descriptor.pb.h:3448
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
const FieldDescriptor value
Definition: descriptor.h:1522

+ Here is the call graph for this function:

void google::protobuf::DescriptorProto::set_name ( const char *  value,
size_t  size 
)
inline
3480  {
3481  set_has_name();
3483  name_ = new ::std::string;
3484  }
3485  name_->assign(reinterpret_cast<const char*>(value), size);
3486  // @@protoc_insertion_point(field_set_pointer:google.protobuf.DescriptorProto.name)
3487 }
::std::string * name_
Definition: descriptor.pb.h:705
void set_has_name()
Definition: descriptor.pb.h:3448
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
const FieldDescriptor value
Definition: descriptor.h:1522

+ Here is the call graph for this function:

void google::protobuf::DescriptorProto::SetCachedSize ( int  size) const
privatevirtual

Reimplemented from google::protobuf::Message.

void google::protobuf::DescriptorProto::SharedCtor ( )
private
void google::protobuf::DescriptorProto::SharedDtor ( )
private
void google::protobuf::DescriptorProto::Swap ( DescriptorProto other)
const ::google::protobuf::UnknownFieldSet& google::protobuf::DescriptorProto::unknown_fields ( ) const
inline
558  {
559  return _unknown_fields_;
560  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: descriptor.pb.h:701

Friends And Related Function Documentation

void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto ( )
friend
void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto ( )
friend
void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto ( )
friend

Member Data Documentation

int google::protobuf::DescriptorProto::_cached_size_
mutableprivate
::google::protobuf::uint32 google::protobuf::DescriptorProto::_has_bits_[1]
private
::google::protobuf::UnknownFieldSet google::protobuf::DescriptorProto::_unknown_fields_
private
DescriptorProto* google::protobuf::DescriptorProto::default_instance_
staticprivate
::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto > google::protobuf::DescriptorProto::enum_type_
private
::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > google::protobuf::DescriptorProto::extension_
private
::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ExtensionRange > google::protobuf::DescriptorProto::extension_range_
private
::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > google::protobuf::DescriptorProto::field_
private
const int google::protobuf::DescriptorProto::kEnumTypeFieldNumber = 4
static
const int google::protobuf::DescriptorProto::kExtensionFieldNumber = 6
static
const int google::protobuf::DescriptorProto::kExtensionRangeFieldNumber = 5
static
const int google::protobuf::DescriptorProto::kFieldFieldNumber = 2
static
const int google::protobuf::DescriptorProto::kNameFieldNumber = 1
static
const int google::protobuf::DescriptorProto::kNestedTypeFieldNumber = 3
static
const int google::protobuf::DescriptorProto::kOneofDeclFieldNumber = 8
static
const int google::protobuf::DescriptorProto::kOptionsFieldNumber = 7
static
::std::string* google::protobuf::DescriptorProto::name_
private
::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto > google::protobuf::DescriptorProto::nested_type_
private
::google::protobuf::RepeatedPtrField< ::google::protobuf::OneofDescriptorProto > google::protobuf::DescriptorProto::oneof_decl_
private
::google::protobuf::MessageOptions* google::protobuf::DescriptorProto::options_
private

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