Public Member Functions | Private Attributes | List of all members
ProtoBufMethod Class Reference

#include <protobuf_plugin.h>

Inheritance diagram for ProtoBufMethod:
Inheritance graph
[legend]

Public Member Functions

bool BidiStreaming () const
 
bool ClientStreaming () const
 
std::string get_input_type_name () const
 
bool get_module_and_message_path_input (std::string *str, std::string generator_file_name, bool generate_in_pb2_grpc, std::string import_prefix, const std::vector< std::string > &prefixes_to_filter) const final
 
bool get_module_and_message_path_output (std::string *str, std::string generator_file_name, bool generate_in_pb2_grpc, std::string import_prefix, const std::vector< std::string > &prefixes_to_filter) const final
 
std::string get_output_type_name () const
 
vector< std::string > GetAllComments () const
 
std::string GetLeadingComments (const std::string prefix) const
 
std::string GetTrailingComments (const std::string prefix) const
 
std::string input_type_name () const
 
std::string name () const
 
bool NoStreaming () const
 
std::string output_type_name () const
 
 ProtoBufMethod (const grpc::protobuf::MethodDescriptor *method)
 
bool ServerStreaming () const
 
- Public Member Functions inherited from grpc_generator::Method
virtual ~Method ()
 
- Public Member Functions inherited from grpc_generator::CommentHolder
virtual ~CommentHolder ()
 

Private Attributes

const grpc::protobuf::MethodDescriptormethod_
 

Detailed Description

Definition at line 37 of file protobuf_plugin.h.

Constructor & Destructor Documentation

◆ ProtoBufMethod()

ProtoBufMethod::ProtoBufMethod ( const grpc::protobuf::MethodDescriptor method)
inline

Definition at line 39 of file protobuf_plugin.h.

Member Function Documentation

◆ BidiStreaming()

bool ProtoBufMethod::BidiStreaming ( ) const
inlinevirtual

Implements grpc_generator::Method.

Definition at line 85 of file protobuf_plugin.h.

◆ ClientStreaming()

bool ProtoBufMethod::ClientStreaming ( ) const
inlinevirtual

Implements grpc_generator::Method.

Definition at line 81 of file protobuf_plugin.h.

◆ get_input_type_name()

std::string ProtoBufMethod::get_input_type_name ( ) const
inlinevirtual

Implements grpc_generator::Method.

Definition at line 51 of file protobuf_plugin.h.

◆ get_module_and_message_path_input()

bool ProtoBufMethod::get_module_and_message_path_input ( std::string *  str,
std::string  generator_file_name,
bool  generate_in_pb2_grpc,
std::string  import_prefix,
const std::vector< std::string > &  prefixes_to_filter 
) const
inlinefinalvirtual

Implements grpc_generator::Method.

Definition at line 59 of file protobuf_plugin.h.

◆ get_module_and_message_path_output()

bool ProtoBufMethod::get_module_and_message_path_output ( std::string *  str,
std::string  generator_file_name,
bool  generate_in_pb2_grpc,
std::string  import_prefix,
const std::vector< std::string > &  prefixes_to_filter 
) const
inlinefinalvirtual

Implements grpc_generator::Method.

Definition at line 68 of file protobuf_plugin.h.

◆ get_output_type_name()

std::string ProtoBufMethod::get_output_type_name ( ) const
inlinevirtual

Implements grpc_generator::Method.

Definition at line 54 of file protobuf_plugin.h.

◆ GetAllComments()

vector<std::string> ProtoBufMethod::GetAllComments ( ) const
inlinevirtual

Implements grpc_generator::CommentHolder.

Definition at line 97 of file protobuf_plugin.h.

◆ GetLeadingComments()

std::string ProtoBufMethod::GetLeadingComments ( const std::string  prefix) const
inlinevirtual

Implements grpc_generator::CommentHolder.

Definition at line 89 of file protobuf_plugin.h.

◆ GetTrailingComments()

std::string ProtoBufMethod::GetTrailingComments ( const std::string  prefix) const
inlinevirtual

Implements grpc_generator::CommentHolder.

Definition at line 93 of file protobuf_plugin.h.

◆ input_type_name()

std::string ProtoBufMethod::input_type_name ( ) const
inlinevirtual

Implements grpc_generator::Method.

Definition at line 44 of file protobuf_plugin.h.

◆ name()

std::string ProtoBufMethod::name ( ) const
inlinevirtual

Implements grpc_generator::Method.

Definition at line 42 of file protobuf_plugin.h.

◆ NoStreaming()

bool ProtoBufMethod::NoStreaming ( ) const
inlinevirtual

Implements grpc_generator::Method.

Definition at line 77 of file protobuf_plugin.h.

◆ output_type_name()

std::string ProtoBufMethod::output_type_name ( ) const
inlinevirtual

Implements grpc_generator::Method.

Definition at line 47 of file protobuf_plugin.h.

◆ ServerStreaming()

bool ProtoBufMethod::ServerStreaming ( ) const
inlinevirtual

Implements grpc_generator::Method.

Definition at line 83 of file protobuf_plugin.h.

Member Data Documentation

◆ method_

const grpc::protobuf::MethodDescriptor* ProtoBufMethod::method_
private

Definition at line 102 of file protobuf_plugin.h.


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


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