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

#include <descriptor.pb.h>

Public Member Functions

 ServiceDescriptorProto ()
 
virtual ~ServiceDescriptorProto ()
 
 ServiceDescriptorProto (const ServiceDescriptorProto &from)
 
ServiceDescriptorProtooperator= (const ServiceDescriptorProto &from)
 
const
::google::protobuf::UnknownFieldSet
unknown_fields () const
 
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (ServiceDescriptorProto *other)
 
ServiceDescriptorProtoNew () const
 
void CopyFrom (const ::google::protobuf::Message &from)
 
void MergeFrom (const ::google::protobuf::Message &from)
 
void CopyFrom (const ServiceDescriptorProto &from)
 
void MergeFrom (const ServiceDescriptorProto &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 method_size () const
 
void clear_method ()
 
const
::google::protobuf::MethodDescriptorProto
method (int index) const
 
inline::google::protobuf::MethodDescriptorProto * mutable_method (int index)
 
inline::google::protobuf::MethodDescriptorProto * add_method ()
 
const
::google::protobuf::RepeatedPtrField
< ::google::protobuf::MethodDescriptorProto > & 
method () const
 
inline::google::protobuf::RepeatedPtrField
< ::google::protobuf::MethodDescriptorProto > * 
mutable_method ()
 
bool has_options () const
 
void clear_options ()
 
const
::google::protobuf::ServiceOptions
options () const
 
inline::google::protobuf::ServiceOptions * mutable_options ()
 
inline::google::protobuf::ServiceOptions * release_options ()
 
void set_allocated_options (::google::protobuf::ServiceOptions *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
ServiceDescriptorProto
default_instance ()
 

Static Public Attributes

static const int kNameFieldNumber = 1
 
static const int kMethodFieldNumber = 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_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::MethodDescriptorProto
method_
 
::google::protobuf::ServiceOptionsoptions_
 

Static Private Attributes

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

Member Function Documentation

google::protobuf::MethodDescriptorProto * google::protobuf::ServiceDescriptorProto::add_method ( )
inline
4659  {
4660  // @@protoc_insertion_point(field_add:google.protobuf.ServiceDescriptorProto.method)
4661  return method_.Add();
4662 }
::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProto > method_
Definition: descriptor.pb.h:1365
int google::protobuf::ServiceDescriptorProto::ByteSize ( ) const
virtual

Reimplemented from google::protobuf::Message.

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

Reimplemented from google::protobuf::Message.

void google::protobuf::ServiceDescriptorProto::clear_has_name ( )
inlineprivate
4575  {
4576  _has_bits_[0] &= ~0x00000001u;
4577 }
::google::protobuf::uint32 _has_bits_[1]
Definition: descriptor.pb.h:1362
void google::protobuf::ServiceDescriptorProto::clear_has_options ( )
inlineprivate
4681  {
4682  _has_bits_[0] &= ~0x00000004u;
4683 }
::google::protobuf::uint32 _has_bits_[1]
Definition: descriptor.pb.h:1362
void google::protobuf::ServiceDescriptorProto::clear_method ( )
inline
4648  {
4649  method_.Clear();
4650 }
::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProto > method_
Definition: descriptor.pb.h:1365
void google::protobuf::ServiceDescriptorProto::clear_name ( )
inline
4578  {
4580  name_->clear();
4581  }
4582  clear_has_name();
4583 }
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
void clear_has_name()
Definition: descriptor.pb.h:4575
::std::string * name_
Definition: descriptor.pb.h:1364

+ Here is the call graph for this function:

void google::protobuf::ServiceDescriptorProto::clear_options ( )
inline
4684  {
4685  if (options_ != NULL) options_->::google::protobuf::ServiceOptions::Clear();
4687 }
arena_t NULL
Definition: jemalloc_internal.h:624
::google::protobuf::ServiceOptions * options_
Definition: descriptor.pb.h:1366
void clear_has_options()
Definition: descriptor.pb.h:4681
void google::protobuf::ServiceDescriptorProto::CopyFrom ( const ::google::protobuf::Message from)
void google::protobuf::ServiceDescriptorProto::CopyFrom ( const ServiceDescriptorProto from)
static const ServiceDescriptorProto& google::protobuf::ServiceDescriptorProto::default_instance ( )
static
static const ::google::protobuf::Descriptor* google::protobuf::ServiceDescriptorProto::descriptor ( )
static
int google::protobuf::ServiceDescriptorProto::GetCachedSize ( ) const
inlinevirtual

Implements google::protobuf::MessageLite.

1308 { return _cached_size_; }
int _cached_size_
Definition: descriptor.pb.h:1363
::google::protobuf::Metadata google::protobuf::ServiceDescriptorProto::GetMetadata ( ) const
virtual
bool google::protobuf::ServiceDescriptorProto::has_name ( ) const
inline
4569  {
4570  return (_has_bits_[0] & 0x00000001u) != 0;
4571 }
::google::protobuf::uint32 _has_bits_[1]
Definition: descriptor.pb.h:1362
bool google::protobuf::ServiceDescriptorProto::has_options ( ) const
inline
4675  {
4676  return (_has_bits_[0] & 0x00000004u) != 0;
4677 }
::google::protobuf::uint32 _has_bits_[1]
Definition: descriptor.pb.h:1362
void google::protobuf::ServiceDescriptorProto::InitAsDefaultInstance ( )
private
bool google::protobuf::ServiceDescriptorProto::IsInitialized ( ) const
virtual

Reimplemented from google::protobuf::Message.

void google::protobuf::ServiceDescriptorProto::MergeFrom ( const ::google::protobuf::Message from)
void google::protobuf::ServiceDescriptorProto::MergeFrom ( const ServiceDescriptorProto from)
bool google::protobuf::ServiceDescriptorProto::MergePartialFromCodedStream ( ::google::protobuf::io::CodedInputStream input)
const ::google::protobuf::MethodDescriptorProto & google::protobuf::ServiceDescriptorProto::method ( int  index) const
inline
4651  {
4652  // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.method)
4653  return method_.Get(index);
4654 }
::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProto > method_
Definition: descriptor.pb.h:1365
const ::google::protobuf::RepeatedPtrField<::google::protobuf::MethodDescriptorProto > & google::protobuf::ServiceDescriptorProto::method ( ) const
inline
4664  {
4665  // @@protoc_insertion_point(field_list:google.protobuf.ServiceDescriptorProto.method)
4666  return method_;
4667 }
::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProto > method_
Definition: descriptor.pb.h:1365
int google::protobuf::ServiceDescriptorProto::method_size ( ) const
inline
4645  {
4646  return method_.size();
4647 }
::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProto > method_
Definition: descriptor.pb.h:1365
google::protobuf::MethodDescriptorProto * google::protobuf::ServiceDescriptorProto::mutable_method ( int  index)
inline
4655  {
4656  // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceDescriptorProto.method)
4657  return method_.Mutable(index);
4658 }
::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProto > method_
Definition: descriptor.pb.h:1365
google::protobuf::RepeatedPtrField<::google::protobuf::MethodDescriptorProto > * google::protobuf::ServiceDescriptorProto::mutable_method ( )
inline
4669  {
4670  // @@protoc_insertion_point(field_mutable_list:google.protobuf.ServiceDescriptorProto.method)
4671  return &method_;
4672 }
::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProto > method_
Definition: descriptor.pb.h:1365
std::string * google::protobuf::ServiceDescriptorProto::mutable_name ( )
inline
4612  {
4613  set_has_name();
4615  name_ = new ::std::string;
4616  }
4617  // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceDescriptorProto.name)
4618  return name_;
4619 }
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
::std::string * name_
Definition: descriptor.pb.h:1364
void set_has_name()
Definition: descriptor.pb.h:4572

+ Here is the call graph for this function:

google::protobuf::ServiceOptions * google::protobuf::ServiceDescriptorProto::mutable_options ( )
inline
4692  {
4693  set_has_options();
4695  // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceDescriptorProto.options)
4696  return options_;
4697 }
arena_t NULL
Definition: jemalloc_internal.h:624
void set_has_options()
Definition: descriptor.pb.h:4678
::google::protobuf::ServiceOptions * options_
Definition: descriptor.pb.h:1366
ServiceOptions
Definition: descriptor.h:1539
inline ::google::protobuf::UnknownFieldSet* google::protobuf::ServiceDescriptorProto::mutable_unknown_fields ( )
inline
1283  {
1284  return &_unknown_fields_;
1285  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: descriptor.pb.h:1360
const ::std::string & google::protobuf::ServiceDescriptorProto::name ( ) const
inline
4584  {
4585  // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.name)
4586  return *name_;
4587 }
::std::string * name_
Definition: descriptor.pb.h:1364
ServiceDescriptorProto* google::protobuf::ServiceDescriptorProto::New ( ) const
virtual
ServiceDescriptorProto& google::protobuf::ServiceDescriptorProto::operator= ( const ServiceDescriptorProto from)
inline
1274  {
1275  CopyFrom(from);
1276  return *this;
1277  }
void CopyFrom(const ::google::protobuf::Message &from)
const ::google::protobuf::ServiceOptions & google::protobuf::ServiceDescriptorProto::options ( ) const
inline
4688  {
4689  // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.options)
4690  return options_ != NULL ? *options_ : *default_instance_->options_;
4691 }
static ServiceDescriptorProto * default_instance_
Definition: descriptor.pb.h:1372
arena_t NULL
Definition: jemalloc_internal.h:624
::google::protobuf::ServiceOptions * options_
Definition: descriptor.pb.h:1366
std::string * google::protobuf::ServiceDescriptorProto::release_name ( )
inline
4620  {
4621  clear_has_name();
4623  return NULL;
4624  } else {
4625  ::std::string* temp = name_;
4626  name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4627  return temp;
4628  }
4629 }
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:4575
::std::string * name_
Definition: descriptor.pb.h:1364

+ Here is the call graph for this function:

google::protobuf::ServiceOptions * google::protobuf::ServiceDescriptorProto::release_options ( )
inline
4698  {
4701  options_ = NULL;
4702  return temp;
4703 }
arena_t NULL
Definition: jemalloc_internal.h:624
::google::protobuf::ServiceOptions * options_
Definition: descriptor.pb.h:1366
void clear_has_options()
Definition: descriptor.pb.h:4681
Definition: descriptor.pb.h:2227
void google::protobuf::ServiceDescriptorProto::SerializeWithCachedSizes ( ::google::protobuf::io::CodedOutputStream output) const
::google::protobuf::uint8* google::protobuf::ServiceDescriptorProto::SerializeWithCachedSizesToArray ( ::google::protobuf::uint8 output) const
void google::protobuf::ServiceDescriptorProto::set_allocated_name ( ::std::string *  name)
inline
4630  {
4632  delete name_;
4633  }
4634  if (name) {
4635  set_has_name();
4636  name_ = name;
4637  } else {
4638  clear_has_name();
4639  name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4640  }
4641  // @@protoc_insertion_point(field_set_allocated:google.protobuf.ServiceDescriptorProto.name)
4642 }
const ::std::string & name() const
Definition: descriptor.pb.h:4584
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
void clear_has_name()
Definition: descriptor.pb.h:4575
::std::string * name_
Definition: descriptor.pb.h:1364
void set_has_name()
Definition: descriptor.pb.h:4572

+ Here is the call graph for this function:

void google::protobuf::ServiceDescriptorProto::set_allocated_options ( ::google::protobuf::ServiceOptions options)
inline
4704  {
4705  delete options_;
4706  options_ = options;
4707  if (options) {
4708  set_has_options();
4709  } else {
4711  }
4712  // @@protoc_insertion_point(field_set_allocated:google.protobuf.ServiceDescriptorProto.options)
4713 }
void set_has_options()
Definition: descriptor.pb.h:4678
::google::protobuf::ServiceOptions * options_
Definition: descriptor.pb.h:1366
const ::google::protobuf::ServiceOptions & options() const
Definition: descriptor.pb.h:4688
void clear_has_options()
Definition: descriptor.pb.h:4681
void google::protobuf::ServiceDescriptorProto::set_has_name ( )
inlineprivate
4572  {
4573  _has_bits_[0] |= 0x00000001u;
4574 }
::google::protobuf::uint32 _has_bits_[1]
Definition: descriptor.pb.h:1362
void google::protobuf::ServiceDescriptorProto::set_has_options ( )
inlineprivate
4678  {
4679  _has_bits_[0] |= 0x00000004u;
4680 }
::google::protobuf::uint32 _has_bits_[1]
Definition: descriptor.pb.h:1362
void google::protobuf::ServiceDescriptorProto::set_name ( const ::std::string &  value)
inline
4588  {
4589  set_has_name();
4591  name_ = new ::std::string;
4592  }
4593  name_->assign(value);
4594  // @@protoc_insertion_point(field_set:google.protobuf.ServiceDescriptorProto.name)
4595 }
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
const FieldDescriptor value
Definition: descriptor.h:1522
::std::string * name_
Definition: descriptor.pb.h:1364
void set_has_name()
Definition: descriptor.pb.h:4572

+ Here is the call graph for this function:

void google::protobuf::ServiceDescriptorProto::set_name ( const char *  value)
inline
4596  {
4597  set_has_name();
4599  name_ = new ::std::string;
4600  }
4601  name_->assign(value);
4602  // @@protoc_insertion_point(field_set_char:google.protobuf.ServiceDescriptorProto.name)
4603 }
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
const FieldDescriptor value
Definition: descriptor.h:1522
::std::string * name_
Definition: descriptor.pb.h:1364
void set_has_name()
Definition: descriptor.pb.h:4572

+ Here is the call graph for this function:

void google::protobuf::ServiceDescriptorProto::set_name ( const char *  value,
size_t  size 
)
inline
4604  {
4605  set_has_name();
4607  name_ = new ::std::string;
4608  }
4609  name_->assign(reinterpret_cast<const char*>(value), size);
4610  // @@protoc_insertion_point(field_set_pointer:google.protobuf.ServiceDescriptorProto.name)
4611 }
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
const FieldDescriptor value
Definition: descriptor.h:1522
::std::string * name_
Definition: descriptor.pb.h:1364
void set_has_name()
Definition: descriptor.pb.h:4572

+ Here is the call graph for this function:

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

Reimplemented from google::protobuf::Message.

void google::protobuf::ServiceDescriptorProto::SharedCtor ( )
private
void google::protobuf::ServiceDescriptorProto::SharedDtor ( )
private
void google::protobuf::ServiceDescriptorProto::Swap ( ServiceDescriptorProto other)
const ::google::protobuf::UnknownFieldSet& google::protobuf::ServiceDescriptorProto::unknown_fields ( ) const
inline
1279  {
1280  return _unknown_fields_;
1281  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: descriptor.pb.h:1360

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::ServiceDescriptorProto::_cached_size_
mutableprivate
::google::protobuf::uint32 google::protobuf::ServiceDescriptorProto::_has_bits_[1]
private
::google::protobuf::UnknownFieldSet google::protobuf::ServiceDescriptorProto::_unknown_fields_
private
ServiceDescriptorProto* google::protobuf::ServiceDescriptorProto::default_instance_
staticprivate
const int google::protobuf::ServiceDescriptorProto::kMethodFieldNumber = 2
static
const int google::protobuf::ServiceDescriptorProto::kNameFieldNumber = 1
static
const int google::protobuf::ServiceDescriptorProto::kOptionsFieldNumber = 3
static
::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProto > google::protobuf::ServiceDescriptorProto::method_
private
::std::string* google::protobuf::ServiceDescriptorProto::name_
private
::google::protobuf::ServiceOptions* google::protobuf::ServiceDescriptorProto::options_
private

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