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

#include <descriptor.pb.h>

Public Member Functions

 EnumOptions ()
 
virtual ~EnumOptions ()
 
 EnumOptions (const EnumOptions &from)
 
EnumOptionsoperator= (const EnumOptions &from)
 
const
::google::protobuf::UnknownFieldSet
unknown_fields () const
 
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (EnumOptions *other)
 
EnumOptionsNew () const
 
void CopyFrom (const ::google::protobuf::Message &from)
 
void MergeFrom (const ::google::protobuf::Message &from)
 
void CopyFrom (const EnumOptions &from)
 
void MergeFrom (const EnumOptions &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_allow_alias () const
 
void clear_allow_alias ()
 
bool allow_alias () const
 
void set_allow_alias (bool value)
 
bool has_deprecated () const
 
void clear_deprecated ()
 
bool deprecated () const
 
void set_deprecated (bool value)
 
int uninterpreted_option_size () const
 
void clear_uninterpreted_option ()
 
const
::google::protobuf::UninterpretedOption
uninterpreted_option (int index) const
 
inline::google::protobuf::UninterpretedOption * mutable_uninterpreted_option (int index)
 
inline::google::protobuf::UninterpretedOption * add_uninterpreted_option ()
 
const
::google::protobuf::RepeatedPtrField
< ::google::protobuf::UninterpretedOption > & 
uninterpreted_option () const
 
inline::google::protobuf::RepeatedPtrField
< ::google::protobuf::UninterpretedOption > * 
mutable_uninterpreted_option ()
 
- 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 EnumOptionsdefault_instance ()
 

Static Public Attributes

static const int kAllowAliasFieldNumber = 2
 
static const int kDeprecatedFieldNumber = 3
 
static const int kUninterpretedOptionFieldNumber = 999
 

Private Member Functions

void SharedCtor ()
 
void SharedDtor ()
 
void SetCachedSize (int size) const
 
void set_has_allow_alias ()
 
void clear_has_allow_alias ()
 
void set_has_deprecated ()
 
void clear_has_deprecated ()
 
void InitAsDefaultInstance ()
 

Private Attributes

::google::protobuf::internal::ExtensionSet _extensions_
 
::google::protobuf::UnknownFieldSet _unknown_fields_
 
::google::protobuf::uint32 _has_bits_ [1]
 
int _cached_size_
 
::google::protobuf::RepeatedPtrField
< ::google::protobuf::UninterpretedOption
uninterpreted_option_
 
bool allow_alias_
 
bool deprecated_
 

Static Private Attributes

static EnumOptionsdefault_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::EnumOptions::EnumOptions ( )
virtual google::protobuf::EnumOptions::~EnumOptions ( )
virtual
google::protobuf::EnumOptions::EnumOptions ( const EnumOptions from)

Member Function Documentation

google::protobuf::UninterpretedOption * google::protobuf::EnumOptions::add_uninterpreted_option ( )
inline
5847  {
5848  // @@protoc_insertion_point(field_add:google.protobuf.EnumOptions.uninterpreted_option)
5849  return uninterpreted_option_.Add();
5850 }
::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_
Definition: descriptor.pb.h:2120
bool google::protobuf::EnumOptions::allow_alias ( ) const
inline
5798  {
5799  // @@protoc_insertion_point(field_get:google.protobuf.EnumOptions.allow_alias)
5800  return allow_alias_;
5801 }
bool allow_alias_
Definition: descriptor.pb.h:2121
int google::protobuf::EnumOptions::ByteSize ( ) const
virtual

Reimplemented from google::protobuf::Message.

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

Reimplemented from google::protobuf::Message.

void google::protobuf::EnumOptions::clear_allow_alias ( )
inline
5794  {
5795  allow_alias_ = false;
5797 }
void clear_has_allow_alias()
Definition: descriptor.pb.h:5791
bool allow_alias_
Definition: descriptor.pb.h:2121
void google::protobuf::EnumOptions::clear_deprecated ( )
inline
5818  {
5819  deprecated_ = false;
5821 }
bool deprecated_
Definition: descriptor.pb.h:2122
void clear_has_deprecated()
Definition: descriptor.pb.h:5815
void google::protobuf::EnumOptions::clear_has_allow_alias ( )
inlineprivate
5791  {
5792  _has_bits_[0] &= ~0x00000001u;
5793 }
::google::protobuf::uint32 _has_bits_[1]
Definition: descriptor.pb.h:2118
void google::protobuf::EnumOptions::clear_has_deprecated ( )
inlineprivate
5815  {
5816  _has_bits_[0] &= ~0x00000002u;
5817 }
::google::protobuf::uint32 _has_bits_[1]
Definition: descriptor.pb.h:2118
void google::protobuf::EnumOptions::clear_uninterpreted_option ( )
inline
5836  {
5837  uninterpreted_option_.Clear();
5838 }
::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_
Definition: descriptor.pb.h:2120
void google::protobuf::EnumOptions::CopyFrom ( const ::google::protobuf::Message from)
void google::protobuf::EnumOptions::CopyFrom ( const EnumOptions from)
static const EnumOptions& google::protobuf::EnumOptions::default_instance ( )
static
bool google::protobuf::EnumOptions::deprecated ( ) const
inline
5822  {
5823  // @@protoc_insertion_point(field_get:google.protobuf.EnumOptions.deprecated)
5824  return deprecated_;
5825 }
bool deprecated_
Definition: descriptor.pb.h:2122
static const ::google::protobuf::Descriptor* google::protobuf::EnumOptions::descriptor ( )
static
int google::protobuf::EnumOptions::GetCachedSize ( ) const
inlinevirtual

Implements google::protobuf::MessageLite.

2068 { return _cached_size_; }
int _cached_size_
Definition: descriptor.pb.h:2119
::google::protobuf::Metadata google::protobuf::EnumOptions::GetMetadata ( ) const
virtual
bool google::protobuf::EnumOptions::has_allow_alias ( ) const
inline
5785  {
5786  return (_has_bits_[0] & 0x00000001u) != 0;
5787 }
::google::protobuf::uint32 _has_bits_[1]
Definition: descriptor.pb.h:2118
bool google::protobuf::EnumOptions::has_deprecated ( ) const
inline
5809  {
5810  return (_has_bits_[0] & 0x00000002u) != 0;
5811 }
::google::protobuf::uint32 _has_bits_[1]
Definition: descriptor.pb.h:2118
void google::protobuf::EnumOptions::InitAsDefaultInstance ( )
private
bool google::protobuf::EnumOptions::IsInitialized ( ) const
virtual

Reimplemented from google::protobuf::Message.

void google::protobuf::EnumOptions::MergeFrom ( const ::google::protobuf::Message from)
void google::protobuf::EnumOptions::MergeFrom ( const EnumOptions from)
bool google::protobuf::EnumOptions::MergePartialFromCodedStream ( ::google::protobuf::io::CodedInputStream input)
google::protobuf::UninterpretedOption * google::protobuf::EnumOptions::mutable_uninterpreted_option ( int  index)
inline
5843  {
5844  // @@protoc_insertion_point(field_mutable:google.protobuf.EnumOptions.uninterpreted_option)
5845  return uninterpreted_option_.Mutable(index);
5846 }
::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_
Definition: descriptor.pb.h:2120
google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption > * google::protobuf::EnumOptions::mutable_uninterpreted_option ( )
inline
5857  {
5858  // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumOptions.uninterpreted_option)
5859  return &uninterpreted_option_;
5860 }
::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_
Definition: descriptor.pb.h:2120
inline ::google::protobuf::UnknownFieldSet* google::protobuf::EnumOptions::mutable_unknown_fields ( )
inline
2043  {
2044  return &_unknown_fields_;
2045  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: descriptor.pb.h:2116
EnumOptions* google::protobuf::EnumOptions::New ( ) const
virtual
EnumOptions& google::protobuf::EnumOptions::operator= ( const EnumOptions from)
inline
2034  {
2035  CopyFrom(from);
2036  return *this;
2037  }
void CopyFrom(const ::google::protobuf::Message &from)
void google::protobuf::EnumOptions::SerializeWithCachedSizes ( ::google::protobuf::io::CodedOutputStream output) const
::google::protobuf::uint8* google::protobuf::EnumOptions::SerializeWithCachedSizesToArray ( ::google::protobuf::uint8 output) const
void google::protobuf::EnumOptions::set_allow_alias ( bool  value)
inline
5802  {
5804  allow_alias_ = value;
5805  // @@protoc_insertion_point(field_set:google.protobuf.EnumOptions.allow_alias)
5806 }
void set_has_allow_alias()
Definition: descriptor.pb.h:5788
const FieldDescriptor value
Definition: descriptor.h:1522
bool allow_alias_
Definition: descriptor.pb.h:2121
void google::protobuf::EnumOptions::set_deprecated ( bool  value)
inline
5826  {
5828  deprecated_ = value;
5829  // @@protoc_insertion_point(field_set:google.protobuf.EnumOptions.deprecated)
5830 }
bool deprecated_
Definition: descriptor.pb.h:2122
void set_has_deprecated()
Definition: descriptor.pb.h:5812
const FieldDescriptor value
Definition: descriptor.h:1522
void google::protobuf::EnumOptions::set_has_allow_alias ( )
inlineprivate
5788  {
5789  _has_bits_[0] |= 0x00000001u;
5790 }
::google::protobuf::uint32 _has_bits_[1]
Definition: descriptor.pb.h:2118
void google::protobuf::EnumOptions::set_has_deprecated ( )
inlineprivate
5812  {
5813  _has_bits_[0] |= 0x00000002u;
5814 }
::google::protobuf::uint32 _has_bits_[1]
Definition: descriptor.pb.h:2118
void google::protobuf::EnumOptions::SetCachedSize ( int  size) const
privatevirtual

Reimplemented from google::protobuf::Message.

void google::protobuf::EnumOptions::SharedCtor ( )
private
void google::protobuf::EnumOptions::SharedDtor ( )
private
void google::protobuf::EnumOptions::Swap ( EnumOptions other)
const ::google::protobuf::UninterpretedOption & google::protobuf::EnumOptions::uninterpreted_option ( int  index) const
inline
5839  {
5840  // @@protoc_insertion_point(field_get:google.protobuf.EnumOptions.uninterpreted_option)
5841  return uninterpreted_option_.Get(index);
5842 }
::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_
Definition: descriptor.pb.h:2120
const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption > & google::protobuf::EnumOptions::uninterpreted_option ( ) const
inline
5852  {
5853  // @@protoc_insertion_point(field_list:google.protobuf.EnumOptions.uninterpreted_option)
5854  return uninterpreted_option_;
5855 }
::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_
Definition: descriptor.pb.h:2120
int google::protobuf::EnumOptions::uninterpreted_option_size ( ) const
inline
5833  {
5834  return uninterpreted_option_.size();
5835 }
::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_
Definition: descriptor.pb.h:2120
const ::google::protobuf::UnknownFieldSet& google::protobuf::EnumOptions::unknown_fields ( ) const
inline
2039  {
2040  return _unknown_fields_;
2041  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: descriptor.pb.h:2116

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::EnumOptions::_cached_size_
mutableprivate
::google::protobuf::internal::ExtensionSet google::protobuf::EnumOptions::_extensions_
private
::google::protobuf::uint32 google::protobuf::EnumOptions::_has_bits_[1]
private
::google::protobuf::UnknownFieldSet google::protobuf::EnumOptions::_unknown_fields_
private
bool google::protobuf::EnumOptions::allow_alias_
private
EnumOptions* google::protobuf::EnumOptions::default_instance_
staticprivate
bool google::protobuf::EnumOptions::deprecated_
private
const int google::protobuf::EnumOptions::kAllowAliasFieldNumber = 2
static
const int google::protobuf::EnumOptions::kDeprecatedFieldNumber = 3
static
const int google::protobuf::EnumOptions::kUninterpretedOptionFieldNumber = 999
static
::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > google::protobuf::EnumOptions::uninterpreted_option_
private

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