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

#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 FileDescriptorfile () const
 
const std::stringfull_name () const
 
bool GetSourceLocation (SourceLocation *out_location) const
 
int index () const
 
const Descriptorinput_type () const
 
const std::stringname () const
 
const MethodOptionsoptions () const
 
const Descriptoroutput_type () const
 
bool server_streaming () const
 
const ServiceDescriptorservice () 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::stringfull_name_
 
internal::LazyDescriptor input_type_
 
const std::stringname_
 
const MethodOptionsoptions_
 
internal::LazyDescriptor output_type_
 
bool server_streaming_
 
const ServiceDescriptorservice_
 

Friends

class compiler::cpp::Formatter
 
class DescriptorBuilder
 
class io::Printer
 
class ServiceDescriptor
 

Detailed Description

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

Member Typedef Documentation

◆ OptionsType

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

◆ Proto

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

Constructor & Destructor Documentation

◆ MethodDescriptor()

google::protobuf::MethodDescriptor::MethodDescriptor ( )
inlineprivate

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

Member Function Documentation

◆ client_streaming()

bool google::protobuf::MethodDescriptor::client_streaming ( ) const

◆ CopyTo()

void google::protobuf::MethodDescriptor::CopyTo ( MethodDescriptorProto proto) const

Definition at line 2224 of file src/google/protobuf/descriptor.cc.

◆ DebugString() [1/2]

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

Definition at line 2911 of file src/google/protobuf/descriptor.cc.

◆ DebugString() [2/2]

void google::protobuf::MethodDescriptor::DebugString ( int  depth,
std::string contents,
const DebugStringOptions options 
) const
private

Definition at line 2923 of file src/google/protobuf/descriptor.cc.

◆ DebugStringWithOptions()

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

Definition at line 2916 of file src/google/protobuf/descriptor.cc.

◆ file()

const FileDescriptor * google::protobuf::MethodDescriptor::file ( ) const
inline

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

◆ full_name()

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

◆ GetLocationPath()

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

Definition at line 3091 of file src/google/protobuf/descriptor.cc.

◆ GetSourceLocation()

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

Definition at line 3016 of file src/google/protobuf/descriptor.cc.

◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS()

google::protobuf::MethodDescriptor::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS ( MethodDescriptor  )
private

◆ index()

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

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

◆ input_type()

const Descriptor * google::protobuf::MethodDescriptor::input_type ( ) const

Definition at line 7281 of file src/google/protobuf/descriptor.cc.

◆ name()

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

◆ options()

const MethodOptions& google::protobuf::MethodDescriptor::options ( ) const

◆ output_type()

const Descriptor * google::protobuf::MethodDescriptor::output_type ( ) const

Definition at line 7285 of file src/google/protobuf/descriptor.cc.

◆ server_streaming()

bool google::protobuf::MethodDescriptor::server_streaming ( ) const

◆ service()

const ServiceDescriptor* google::protobuf::MethodDescriptor::service ( ) const

Friends And Related Function Documentation

◆ compiler::cpp::Formatter

friend class compiler::cpp::Formatter
friend

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

◆ DescriptorBuilder

friend class DescriptorBuilder
friend

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

◆ io::Printer

friend class io::Printer
friend

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

◆ ServiceDescriptor

friend class ServiceDescriptor
friend

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

Member Data Documentation

◆ client_streaming_

bool google::protobuf::MethodDescriptor::client_streaming_
private

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

◆ full_name_

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

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

◆ input_type_

internal::LazyDescriptor google::protobuf::MethodDescriptor::input_type_
mutableprivate

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

◆ name_

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

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

◆ options_

const MethodOptions* google::protobuf::MethodDescriptor::options_
private

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

◆ output_type_

internal::LazyDescriptor google::protobuf::MethodDescriptor::output_type_
mutableprivate

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

◆ server_streaming_

bool google::protobuf::MethodDescriptor::server_streaming_
private

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

◆ service_

const ServiceDescriptor* google::protobuf::MethodDescriptor::service_
private

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


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


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:08