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

#include <descriptor.pb.h>

Public Member Functions

 EnumValueDescriptorProto ()
 
virtual ~EnumValueDescriptorProto ()
 
 EnumValueDescriptorProto (const EnumValueDescriptorProto &from)
 
EnumValueDescriptorProtooperator= (const EnumValueDescriptorProto &from)
 
const
::google::protobuf::UnknownFieldSet
unknown_fields () const
 
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (EnumValueDescriptorProto *other)
 
EnumValueDescriptorProtoNew () const
 
void CopyFrom (const ::google::protobuf::Message &from)
 
void MergeFrom (const ::google::protobuf::Message &from)
 
void CopyFrom (const EnumValueDescriptorProto &from)
 
void MergeFrom (const EnumValueDescriptorProto &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)
 
bool has_number () const
 
void clear_number ()
 
inline::google::protobuf::int32 number () const
 
void set_number (::google::protobuf::int32 value)
 
bool has_options () const
 
void clear_options ()
 
const
::google::protobuf::EnumValueOptions
options () const
 
inline::google::protobuf::EnumValueOptions * mutable_options ()
 
inline::google::protobuf::EnumValueOptions * release_options ()
 
void set_allocated_options (::google::protobuf::EnumValueOptions *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
EnumValueDescriptorProto
default_instance ()
 

Static Public Attributes

static const int kNameFieldNumber = 1
 
static const int kNumberFieldNumber = 2
 
static const int kOptionsFieldNumber = 3
 

Private Member Functions

void SharedCtor ()
 
void SharedDtor ()
 
void SetCachedSize (int size) const
 
void set_has_name ()
 
void clear_has_name ()
 
void set_has_number ()
 
void clear_has_number ()
 
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::EnumValueOptionsoptions_
 
::google::protobuf::int32 number_
 

Static Private Attributes

static EnumValueDescriptorProtodefault_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

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

Constructor & Destructor Documentation

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

Member Function Documentation

int google::protobuf::EnumValueDescriptorProto::ByteSize ( ) const
virtual

Reimplemented from google::protobuf::Message.

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

Reimplemented from google::protobuf::Message.

void google::protobuf::EnumValueDescriptorProto::clear_has_name ( )
inlineprivate
4430  {
4431  _has_bits_[0] &= ~0x00000001u;
4432 }
::google::protobuf::uint32 _has_bits_[1]
Definition: descriptor.pb.h:1253
void google::protobuf::EnumValueDescriptorProto::clear_has_number ( )
inlineprivate
4506  {
4507  _has_bits_[0] &= ~0x00000002u;
4508 }
::google::protobuf::uint32 _has_bits_[1]
Definition: descriptor.pb.h:1253
void google::protobuf::EnumValueDescriptorProto::clear_has_options ( )
inlineprivate
4530  {
4531  _has_bits_[0] &= ~0x00000004u;
4532 }
::google::protobuf::uint32 _has_bits_[1]
Definition: descriptor.pb.h:1253
void google::protobuf::EnumValueDescriptorProto::clear_name ( )
inline
4433  {
4435  name_->clear();
4436  }
4437  clear_has_name();
4438 }
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
void clear_has_name()
Definition: descriptor.pb.h:4430
::std::string * name_
Definition: descriptor.pb.h:1255

+ Here is the call graph for this function:

void google::protobuf::EnumValueDescriptorProto::clear_number ( )
inline
4509  {
4510  number_ = 0;
4511  clear_has_number();
4512 }
::google::protobuf::int32 number_
Definition: descriptor.pb.h:1257
void clear_has_number()
Definition: descriptor.pb.h:4506
void google::protobuf::EnumValueDescriptorProto::clear_options ( )
inline
4533  {
4534  if (options_ != NULL) options_->::google::protobuf::EnumValueOptions::Clear();
4536 }
::google::protobuf::EnumValueOptions * options_
Definition: descriptor.pb.h:1256
arena_t NULL
Definition: jemalloc_internal.h:624
void clear_has_options()
Definition: descriptor.pb.h:4530
void google::protobuf::EnumValueDescriptorProto::CopyFrom ( const ::google::protobuf::Message from)
void google::protobuf::EnumValueDescriptorProto::CopyFrom ( const EnumValueDescriptorProto from)
static const EnumValueDescriptorProto& google::protobuf::EnumValueDescriptorProto::default_instance ( )
static
static const ::google::protobuf::Descriptor* google::protobuf::EnumValueDescriptorProto::descriptor ( )
static
int google::protobuf::EnumValueDescriptorProto::GetCachedSize ( ) const
inlinevirtual

Implements google::protobuf::MessageLite.

1202 { return _cached_size_; }
int _cached_size_
Definition: descriptor.pb.h:1254
::google::protobuf::Metadata google::protobuf::EnumValueDescriptorProto::GetMetadata ( ) const
virtual
bool google::protobuf::EnumValueDescriptorProto::has_name ( ) const
inline
4424  {
4425  return (_has_bits_[0] & 0x00000001u) != 0;
4426 }
::google::protobuf::uint32 _has_bits_[1]
Definition: descriptor.pb.h:1253
bool google::protobuf::EnumValueDescriptorProto::has_number ( ) const
inline
4500  {
4501  return (_has_bits_[0] & 0x00000002u) != 0;
4502 }
::google::protobuf::uint32 _has_bits_[1]
Definition: descriptor.pb.h:1253
bool google::protobuf::EnumValueDescriptorProto::has_options ( ) const
inline
4524  {
4525  return (_has_bits_[0] & 0x00000004u) != 0;
4526 }
::google::protobuf::uint32 _has_bits_[1]
Definition: descriptor.pb.h:1253
void google::protobuf::EnumValueDescriptorProto::InitAsDefaultInstance ( )
private
bool google::protobuf::EnumValueDescriptorProto::IsInitialized ( ) const
virtual

Reimplemented from google::protobuf::Message.

void google::protobuf::EnumValueDescriptorProto::MergeFrom ( const ::google::protobuf::Message from)
void google::protobuf::EnumValueDescriptorProto::MergeFrom ( const EnumValueDescriptorProto from)
bool google::protobuf::EnumValueDescriptorProto::MergePartialFromCodedStream ( ::google::protobuf::io::CodedInputStream input)
std::string * google::protobuf::EnumValueDescriptorProto::mutable_name ( )
inline
4467  {
4468  set_has_name();
4470  name_ = new ::std::string;
4471  }
4472  // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueDescriptorProto.name)
4473  return name_;
4474 }
void set_has_name()
Definition: descriptor.pb.h:4427
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
::std::string * name_
Definition: descriptor.pb.h:1255

+ Here is the call graph for this function:

google::protobuf::EnumValueOptions * google::protobuf::EnumValueDescriptorProto::mutable_options ( )
inline
4541  {
4542  set_has_options();
4543  if (options_ == NULL) options_ = new ::google::protobuf::EnumValueOptions;
4544  // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueDescriptorProto.options)
4545  return options_;
4546 }
::google::protobuf::EnumValueOptions * options_
Definition: descriptor.pb.h:1256
arena_t NULL
Definition: jemalloc_internal.h:624
void set_has_options()
Definition: descriptor.pb.h:4527
inline ::google::protobuf::UnknownFieldSet* google::protobuf::EnumValueDescriptorProto::mutable_unknown_fields ( )
inline
1177  {
1178  return &_unknown_fields_;
1179  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: descriptor.pb.h:1251
const ::std::string & google::protobuf::EnumValueDescriptorProto::name ( ) const
inline
4439  {
4440  // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto.name)
4441  return *name_;
4442 }
::std::string * name_
Definition: descriptor.pb.h:1255
EnumValueDescriptorProto* google::protobuf::EnumValueDescriptorProto::New ( ) const
virtual
google::protobuf::int32 google::protobuf::EnumValueDescriptorProto::number ( ) const
inline
4513  {
4514  // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto.number)
4515  return number_;
4516 }
::google::protobuf::int32 number_
Definition: descriptor.pb.h:1257
EnumValueDescriptorProto& google::protobuf::EnumValueDescriptorProto::operator= ( const EnumValueDescriptorProto from)
inline
1168  {
1169  CopyFrom(from);
1170  return *this;
1171  }
void CopyFrom(const ::google::protobuf::Message &from)
const ::google::protobuf::EnumValueOptions & google::protobuf::EnumValueDescriptorProto::options ( ) const
inline
4537  {
4538  // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto.options)
4539  return options_ != NULL ? *options_ : *default_instance_->options_;
4540 }
::google::protobuf::EnumValueOptions * options_
Definition: descriptor.pb.h:1256
arena_t NULL
Definition: jemalloc_internal.h:624
static EnumValueDescriptorProto * default_instance_
Definition: descriptor.pb.h:1263
std::string * google::protobuf::EnumValueDescriptorProto::release_name ( )
inline
4475  {
4476  clear_has_name();
4478  return NULL;
4479  } else {
4480  ::std::string* temp = name_;
4481  name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4482  return temp;
4483  }
4484 }
arena_t NULL
Definition: jemalloc_internal.h:624
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
void clear_has_name()
Definition: descriptor.pb.h:4430
::std::string * name_
Definition: descriptor.pb.h:1255

+ Here is the call graph for this function:

google::protobuf::EnumValueOptions * google::protobuf::EnumValueDescriptorProto::release_options ( )
inline
4547  {
4550  options_ = NULL;
4551  return temp;
4552 }
Definition: descriptor.pb.h:2132
::google::protobuf::EnumValueOptions * options_
Definition: descriptor.pb.h:1256
arena_t NULL
Definition: jemalloc_internal.h:624
void clear_has_options()
Definition: descriptor.pb.h:4530
void google::protobuf::EnumValueDescriptorProto::SerializeWithCachedSizes ( ::google::protobuf::io::CodedOutputStream output) const
::google::protobuf::uint8* google::protobuf::EnumValueDescriptorProto::SerializeWithCachedSizesToArray ( ::google::protobuf::uint8 output) const
void google::protobuf::EnumValueDescriptorProto::set_allocated_name ( ::std::string *  name)
inline
4485  {
4487  delete name_;
4488  }
4489  if (name) {
4490  set_has_name();
4491  name_ = name;
4492  } else {
4493  clear_has_name();
4494  name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4495  }
4496  // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumValueDescriptorProto.name)
4497 }
void set_has_name()
Definition: descriptor.pb.h:4427
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
void clear_has_name()
Definition: descriptor.pb.h:4430
::std::string * name_
Definition: descriptor.pb.h:1255
const ::std::string & name() const
Definition: descriptor.pb.h:4439

+ Here is the call graph for this function:

void google::protobuf::EnumValueDescriptorProto::set_allocated_options ( ::google::protobuf::EnumValueOptions options)
inline
4553  {
4554  delete options_;
4555  options_ = options;
4556  if (options) {
4557  set_has_options();
4558  } else {
4560  }
4561  // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumValueDescriptorProto.options)
4562 }
::google::protobuf::EnumValueOptions * options_
Definition: descriptor.pb.h:1256
void clear_has_options()
Definition: descriptor.pb.h:4530
void set_has_options()
Definition: descriptor.pb.h:4527
const ::google::protobuf::EnumValueOptions & options() const
Definition: descriptor.pb.h:4537
void google::protobuf::EnumValueDescriptorProto::set_has_name ( )
inlineprivate
4427  {
4428  _has_bits_[0] |= 0x00000001u;
4429 }
::google::protobuf::uint32 _has_bits_[1]
Definition: descriptor.pb.h:1253
void google::protobuf::EnumValueDescriptorProto::set_has_number ( )
inlineprivate
4503  {
4504  _has_bits_[0] |= 0x00000002u;
4505 }
::google::protobuf::uint32 _has_bits_[1]
Definition: descriptor.pb.h:1253
void google::protobuf::EnumValueDescriptorProto::set_has_options ( )
inlineprivate
4527  {
4528  _has_bits_[0] |= 0x00000004u;
4529 }
::google::protobuf::uint32 _has_bits_[1]
Definition: descriptor.pb.h:1253
void google::protobuf::EnumValueDescriptorProto::set_name ( const ::std::string &  value)
inline
4443  {
4444  set_has_name();
4446  name_ = new ::std::string;
4447  }
4448  name_->assign(value);
4449  // @@protoc_insertion_point(field_set:google.protobuf.EnumValueDescriptorProto.name)
4450 }
void set_has_name()
Definition: descriptor.pb.h:4427
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
::std::string * name_
Definition: descriptor.pb.h:1255
const FieldDescriptor value
Definition: descriptor.h:1522

+ Here is the call graph for this function:

void google::protobuf::EnumValueDescriptorProto::set_name ( const char *  value)
inline
4451  {
4452  set_has_name();
4454  name_ = new ::std::string;
4455  }
4456  name_->assign(value);
4457  // @@protoc_insertion_point(field_set_char:google.protobuf.EnumValueDescriptorProto.name)
4458 }
void set_has_name()
Definition: descriptor.pb.h:4427
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
::std::string * name_
Definition: descriptor.pb.h:1255
const FieldDescriptor value
Definition: descriptor.h:1522

+ Here is the call graph for this function:

void google::protobuf::EnumValueDescriptorProto::set_name ( const char *  value,
size_t  size 
)
inline
4459  {
4460  set_has_name();
4462  name_ = new ::std::string;
4463  }
4464  name_->assign(reinterpret_cast<const char*>(value), size);
4465  // @@protoc_insertion_point(field_set_pointer:google.protobuf.EnumValueDescriptorProto.name)
4466 }
void set_has_name()
Definition: descriptor.pb.h:4427
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
::std::string * name_
Definition: descriptor.pb.h:1255
const FieldDescriptor value
Definition: descriptor.h:1522

+ Here is the call graph for this function:

void google::protobuf::EnumValueDescriptorProto::set_number ( ::google::protobuf::int32  value)
inline
4517  {
4518  set_has_number();
4519  number_ = value;
4520  // @@protoc_insertion_point(field_set:google.protobuf.EnumValueDescriptorProto.number)
4521 }
::google::protobuf::int32 number_
Definition: descriptor.pb.h:1257
void set_has_number()
Definition: descriptor.pb.h:4503
const FieldDescriptor value
Definition: descriptor.h:1522
void google::protobuf::EnumValueDescriptorProto::SetCachedSize ( int  size) const
privatevirtual

Reimplemented from google::protobuf::Message.

void google::protobuf::EnumValueDescriptorProto::SharedCtor ( )
private
void google::protobuf::EnumValueDescriptorProto::SharedDtor ( )
private
void google::protobuf::EnumValueDescriptorProto::Swap ( EnumValueDescriptorProto other)
const ::google::protobuf::UnknownFieldSet& google::protobuf::EnumValueDescriptorProto::unknown_fields ( ) const
inline
1173  {
1174  return _unknown_fields_;
1175  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: descriptor.pb.h:1251

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::EnumValueDescriptorProto::_cached_size_
mutableprivate
::google::protobuf::uint32 google::protobuf::EnumValueDescriptorProto::_has_bits_[1]
private
::google::protobuf::UnknownFieldSet google::protobuf::EnumValueDescriptorProto::_unknown_fields_
private
EnumValueDescriptorProto* google::protobuf::EnumValueDescriptorProto::default_instance_
staticprivate
const int google::protobuf::EnumValueDescriptorProto::kNameFieldNumber = 1
static
const int google::protobuf::EnumValueDescriptorProto::kNumberFieldNumber = 2
static
const int google::protobuf::EnumValueDescriptorProto::kOptionsFieldNumber = 3
static
::std::string* google::protobuf::EnumValueDescriptorProto::name_
private
::google::protobuf::int32 google::protobuf::EnumValueDescriptorProto::number_
private
::google::protobuf::EnumValueOptions* google::protobuf::EnumValueDescriptorProto::options_
private

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