#include <descriptor.h>
Public Types | |
typedef MethodDescriptorProto | Proto |
Public Member Functions | |
bool | client_streaming () const |
void | CopyTo (MethodDescriptorProto *proto) const |
std::string | DebugString () const |
std::string | DebugStringWithOptions (const DebugStringOptions &options) const |
const FileDescriptor * | file () const |
const std::string & | full_name () const |
bool | GetSourceLocation (SourceLocation *out_location) const |
int | index () const |
const Descriptor * | input_type () const |
const std::string & | name () const |
const MethodOptions & | options () const |
const Descriptor * | output_type () const |
bool | server_streaming () const |
const ServiceDescriptor * | service () const |
Private Types | |
typedef MethodOptions | OptionsType |
Private Member Functions | |
void | DebugString (int depth, std::string *contents, const DebugStringOptions &options) const |
void | GetLocationPath (std::vector< int > *output) const |
GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (MethodDescriptor) | |
MethodDescriptor () | |
Private Attributes | |
bool | client_streaming_ |
const std::string * | full_name_ |
internal::LazyDescriptor | input_type_ |
const std::string * | name_ |
const MethodOptions * | options_ |
internal::LazyDescriptor | output_type_ |
bool | server_streaming_ |
const ServiceDescriptor * | service_ |
Friends | |
class | compiler::cpp::Formatter |
class | DescriptorBuilder |
class | io::Printer |
class | ServiceDescriptor |
Definition at line 1234 of file src/google/protobuf/descriptor.h.
|
private |
Definition at line 1283 of file src/google/protobuf/descriptor.h.
Definition at line 1236 of file src/google/protobuf/descriptor.h.
|
inlineprivate |
Definition at line 1310 of file src/google/protobuf/descriptor.h.
bool google::protobuf::MethodDescriptor::client_streaming | ( | ) | const |
void google::protobuf::MethodDescriptor::CopyTo | ( | MethodDescriptorProto * | proto | ) | const |
Definition at line 2224 of file src/google/protobuf/descriptor.cc.
std::string google::protobuf::MethodDescriptor::DebugString | ( | ) | const |
Definition at line 2911 of file src/google/protobuf/descriptor.cc.
|
private |
Definition at line 2923 of file src/google/protobuf/descriptor.cc.
std::string google::protobuf::MethodDescriptor::DebugStringWithOptions | ( | const DebugStringOptions & | options | ) | const |
Definition at line 2916 of file src/google/protobuf/descriptor.cc.
|
inline |
Definition at line 2127 of file src/google/protobuf/descriptor.h.
const std::string& google::protobuf::MethodDescriptor::full_name | ( | ) | const |
|
private |
Definition at line 3091 of file src/google/protobuf/descriptor.cc.
bool google::protobuf::MethodDescriptor::GetSourceLocation | ( | SourceLocation * | out_location | ) | const |
Definition at line 3016 of file src/google/protobuf/descriptor.cc.
|
private |
|
inline |
Definition at line 2131 of file src/google/protobuf/descriptor.h.
const Descriptor * google::protobuf::MethodDescriptor::input_type | ( | ) | const |
Definition at line 7281 of file src/google/protobuf/descriptor.cc.
const std::string& google::protobuf::MethodDescriptor::name | ( | ) | const |
const MethodOptions& google::protobuf::MethodDescriptor::options | ( | ) | const |
const Descriptor * google::protobuf::MethodDescriptor::output_type | ( | ) | const |
Definition at line 7285 of file src/google/protobuf/descriptor.cc.
bool google::protobuf::MethodDescriptor::server_streaming | ( | ) | const |
const ServiceDescriptor* google::protobuf::MethodDescriptor::service | ( | ) | const |
|
friend |
Definition at line 1287 of file src/google/protobuf/descriptor.h.
|
friend |
Definition at line 1311 of file src/google/protobuf/descriptor.h.
|
friend |
Definition at line 1286 of file src/google/protobuf/descriptor.h.
|
friend |
Definition at line 1312 of file src/google/protobuf/descriptor.h.
|
private |
Definition at line 1303 of file src/google/protobuf/descriptor.h.
|
private |
Definition at line 1298 of file src/google/protobuf/descriptor.h.
|
mutableprivate |
Definition at line 1300 of file src/google/protobuf/descriptor.h.
|
private |
Definition at line 1297 of file src/google/protobuf/descriptor.h.
|
private |
Definition at line 1302 of file src/google/protobuf/descriptor.h.
|
mutableprivate |
Definition at line 1301 of file src/google/protobuf/descriptor.h.
|
private |
Definition at line 1304 of file src/google/protobuf/descriptor.h.
|
private |
Definition at line 1299 of file src/google/protobuf/descriptor.h.