#include <descriptor.h>
Public Types | |
typedef ServiceDescriptorProto | Proto |
Public Member Functions | |
void | CopyTo (ServiceDescriptorProto *proto) const |
std::string | DebugString () const |
std::string | DebugStringWithOptions (const DebugStringOptions &options) const |
const FileDescriptor * | file () const |
const MethodDescriptor * | FindMethodByName (const std::string &name) const |
const std::string & | full_name () const |
bool | GetSourceLocation (SourceLocation *out_location) const |
int | index () const |
const MethodDescriptor * | method (int index) const |
int | method_count () const |
const std::string & | name () const |
const ServiceOptions & | options () const |
Private Types | |
typedef ServiceOptions | OptionsType |
Private Member Functions | |
void | DebugString (std::string *contents, const DebugStringOptions &options) const |
void | GetLocationPath (std::vector< int > *output) const |
GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (ServiceDescriptor) | |
ServiceDescriptor () | |
Private Attributes | |
const FileDescriptor * | file_ |
const std::string * | full_name_ |
int | method_count_ |
MethodDescriptor * | methods_ |
const std::string * | name_ |
const ServiceOptions * | options_ |
Friends | |
class | compiler::cpp::Formatter |
class | DescriptorBuilder |
class | FileDescriptor |
class | io::Printer |
class | MethodDescriptor |
Definition at line 1152 of file src/google/protobuf/descriptor.h.
|
private |
Definition at line 1197 of file src/google/protobuf/descriptor.h.
Definition at line 1154 of file src/google/protobuf/descriptor.h.
|
inlineprivate |
Definition at line 1222 of file src/google/protobuf/descriptor.h.
void google::protobuf::ServiceDescriptor::CopyTo | ( | ServiceDescriptorProto * | proto | ) | const |
Definition at line 2212 of file src/google/protobuf/descriptor.cc.
std::string google::protobuf::ServiceDescriptor::DebugString | ( | ) | const |
Definition at line 2879 of file src/google/protobuf/descriptor.cc.
|
private |
Definition at line 2891 of file src/google/protobuf/descriptor.cc.
std::string google::protobuf::ServiceDescriptor::DebugStringWithOptions | ( | const DebugStringOptions & | options | ) | const |
Definition at line 2884 of file src/google/protobuf/descriptor.cc.
const FileDescriptor* google::protobuf::ServiceDescriptor::file | ( | ) | const |
const MethodDescriptor * google::protobuf::ServiceDescriptor::FindMethodByName | ( | const std::string & | name | ) | const |
Definition at line 1723 of file src/google/protobuf/descriptor.cc.
const std::string& google::protobuf::ServiceDescriptor::full_name | ( | ) | const |
|
private |
Definition at line 3086 of file src/google/protobuf/descriptor.cc.
bool google::protobuf::ServiceDescriptor::GetSourceLocation | ( | SourceLocation * | out_location | ) | const |
Definition at line 3022 of file src/google/protobuf/descriptor.cc.
|
private |
|
inline |
Definition at line 2123 of file src/google/protobuf/descriptor.h.
const MethodDescriptor* google::protobuf::ServiceDescriptor::method | ( | int | index | ) | const |
int google::protobuf::ServiceDescriptor::method_count | ( | ) | const |
const std::string& google::protobuf::ServiceDescriptor::name | ( | ) | const |
const ServiceOptions& google::protobuf::ServiceDescriptor::options | ( | ) | const |
|
friend |
Definition at line 1201 of file src/google/protobuf/descriptor.h.
|
friend |
Definition at line 1223 of file src/google/protobuf/descriptor.h.
|
friend |
Definition at line 1224 of file src/google/protobuf/descriptor.h.
|
friend |
Definition at line 1200 of file src/google/protobuf/descriptor.h.
|
friend |
Definition at line 1225 of file src/google/protobuf/descriptor.h.
|
private |
Definition at line 1213 of file src/google/protobuf/descriptor.h.
|
private |
Definition at line 1212 of file src/google/protobuf/descriptor.h.
|
private |
Definition at line 1216 of file src/google/protobuf/descriptor.h.
|
private |
Definition at line 1215 of file src/google/protobuf/descriptor.h.
|
private |
Definition at line 1211 of file src/google/protobuf/descriptor.h.
|
private |
Definition at line 1214 of file src/google/protobuf/descriptor.h.