Public Types | Public Member Functions | Private Types | Private Member Functions | Private Attributes | Friends | List of all members
google::protobuf::ServiceDescriptor Class Reference

#include <descriptor.h>

Public Types

typedef ServiceDescriptorProto Proto
 
typedef ServiceDescriptorProto Proto
 

Public Member Functions

void CopyTo (ServiceDescriptorProto *proto) const
 
void CopyTo (ServiceDescriptorProto *proto) const
 
std::string DebugString () const
 
std::string DebugString () const
 
std::string DebugStringWithOptions (const DebugStringOptions &options) const
 
std::string DebugStringWithOptions (const DebugStringOptions &options) const
 
const FileDescriptorfile () const
 
const FileDescriptorfile () const
 
const MethodDescriptorFindMethodByName (const std::string &name) const
 
const MethodDescriptorFindMethodByName (ConstStringParam name) const
 
const std::string & full_name () const
 
const std::string & full_name () const
 
bool GetSourceLocation (SourceLocation *out_location) const
 
bool GetSourceLocation (SourceLocation *out_location) const
 
int index () const
 
int index () const
 
const MethodDescriptormethod (int index) const
 
const MethodDescriptormethod (int index) const
 
int method_count () const
 
int method_count () const
 
const std::string & name () const
 
const std::string & name () const
 
const ServiceOptionsoptions () const
 
const ServiceOptionsoptions () const
 

Private Types

typedef ServiceOptions OptionsType
 
typedef ServiceOptions OptionsType
 

Private Member Functions

void DebugString (std::string *contents, const DebugStringOptions &options) const
 
void DebugString (std::string *contents, const DebugStringOptions &options) const
 
void GetLocationPath (std::vector< int > *output) const
 
void GetLocationPath (std::vector< int > *output) const
 
 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (ServiceDescriptor)
 
 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (ServiceDescriptor)
 
 ServiceDescriptor ()
 
 ServiceDescriptor ()
 

Private Attributes

const std::string * all_names_
 
const FileDescriptorfile_
 
const std::string * full_name_
 
int method_count_
 
MethodDescriptormethods_
 
const std::string * name_
 
const ServiceOptionsoptions_
 

Friends

class compiler::cpp::Formatter
 
class DescriptorBuilder
 
class FileDescriptor
 
class io::Printer
 
class MethodDescriptor
 
class Symbol
 

Detailed Description

Definition at line 1152 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.

Member Typedef Documentation

◆ OptionsType [1/2]

◆ OptionsType [2/2]

Definition at line 1357 of file protobuf/src/google/protobuf/descriptor.h.

◆ Proto [1/2]

◆ Proto [2/2]

Definition at line 1313 of file protobuf/src/google/protobuf/descriptor.h.

Constructor & Destructor Documentation

◆ ServiceDescriptor() [1/2]

google::protobuf::ServiceDescriptor::ServiceDescriptor ( )
inlineprivate

◆ ServiceDescriptor() [2/2]

google::protobuf::ServiceDescriptor::ServiceDescriptor ( )
inlineprivate

Definition at line 1382 of file protobuf/src/google/protobuf/descriptor.h.

Member Function Documentation

◆ CopyTo() [1/2]

void google::protobuf::ServiceDescriptor::CopyTo ( ServiceDescriptorProto proto) const

◆ CopyTo() [2/2]

void google::protobuf::ServiceDescriptor::CopyTo ( ServiceDescriptorProto proto) const

◆ DebugString() [1/4]

std::string google::protobuf::ServiceDescriptor::DebugString ( ) const

◆ DebugString() [2/4]

std::string google::protobuf::ServiceDescriptor::DebugString ( ) const

◆ DebugString() [3/4]

void google::protobuf::ServiceDescriptor::DebugString ( std::string *  contents,
const DebugStringOptions options 
) const
private

◆ DebugString() [4/4]

void google::protobuf::ServiceDescriptor::DebugString ( std::string *  contents,
const DebugStringOptions options 
) const
private

◆ DebugStringWithOptions() [1/2]

std::string google::protobuf::ServiceDescriptor::DebugStringWithOptions ( const DebugStringOptions options) const

◆ DebugStringWithOptions() [2/2]

std::string google::protobuf::ServiceDescriptor::DebugStringWithOptions ( const DebugStringOptions options) const

◆ file() [1/2]

const FileDescriptor* google::protobuf::ServiceDescriptor::file ( ) const

◆ file() [2/2]

const FileDescriptor* google::protobuf::ServiceDescriptor::file ( ) const

◆ FindMethodByName() [1/2]

const MethodDescriptor * google::protobuf::ServiceDescriptor::FindMethodByName ( const std::string &  name) const

◆ FindMethodByName() [2/2]

const MethodDescriptor* google::protobuf::ServiceDescriptor::FindMethodByName ( ConstStringParam  name) const

◆ full_name() [1/2]

const std::string& google::protobuf::ServiceDescriptor::full_name ( ) const

◆ full_name() [2/2]

const std::string& google::protobuf::ServiceDescriptor::full_name ( ) const

◆ GetLocationPath() [1/2]

void google::protobuf::ServiceDescriptor::GetLocationPath ( std::vector< int > *  output) const
private

◆ GetLocationPath() [2/2]

void google::protobuf::ServiceDescriptor::GetLocationPath ( std::vector< int > *  output) const
private

◆ GetSourceLocation() [1/2]

bool google::protobuf::ServiceDescriptor::GetSourceLocation ( SourceLocation out_location) const

◆ GetSourceLocation() [2/2]

bool google::protobuf::ServiceDescriptor::GetSourceLocation ( SourceLocation out_location) const

◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS() [1/2]

google::protobuf::ServiceDescriptor::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS ( ServiceDescriptor  )
private

◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS() [2/2]

google::protobuf::ServiceDescriptor::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS ( ServiceDescriptor  )
private

◆ index() [1/2]

int google::protobuf::ServiceDescriptor::index ( ) const
inline

◆ index() [2/2]

int google::protobuf::ServiceDescriptor::index ( ) const

◆ method() [1/2]

const MethodDescriptor* google::protobuf::ServiceDescriptor::method ( int  index) const

◆ method() [2/2]

const MethodDescriptor* google::protobuf::ServiceDescriptor::method ( int  index) const

◆ method_count() [1/2]

int google::protobuf::ServiceDescriptor::method_count ( ) const

◆ method_count() [2/2]

int google::protobuf::ServiceDescriptor::method_count ( ) const

◆ name() [1/2]

const std::string& google::protobuf::ServiceDescriptor::name ( ) const

◆ name() [2/2]

const std::string& google::protobuf::ServiceDescriptor::name ( ) const

◆ options() [1/2]

const ServiceOptions& google::protobuf::ServiceDescriptor::options ( ) const

◆ options() [2/2]

const ServiceOptions& google::protobuf::ServiceDescriptor::options ( ) const

Friends And Related Function Documentation

◆ compiler::cpp::Formatter

◆ DescriptorBuilder

◆ FileDescriptor

◆ io::Printer

io::Printer
friend

◆ MethodDescriptor

◆ Symbol

friend class Symbol
friend

Definition at line 1356 of file protobuf/src/google/protobuf/descriptor.h.

Member Data Documentation

◆ all_names_

const std::string* google::protobuf::ServiceDescriptor::all_names_
private

Definition at line 1372 of file protobuf/src/google/protobuf/descriptor.h.

◆ file_

const FileDescriptor * google::protobuf::ServiceDescriptor::file_
private

◆ full_name_

const std::string* google::protobuf::ServiceDescriptor::full_name_
private

◆ method_count_

int google::protobuf::ServiceDescriptor::method_count_
private

◆ methods_

MethodDescriptor * google::protobuf::ServiceDescriptor::methods_
private

◆ name_

const std::string* google::protobuf::ServiceDescriptor::name_
private

◆ options_

const ServiceOptions * google::protobuf::ServiceDescriptor::options_
private

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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:21