Lines Matching refs:method_
40 : method_(method) {} in ProtoBufMethod()
42 grpc::string name() const { return method_->name(); } in name()
45 return grpc_cpp_generator::ClassName(method_->input_type(), true); in input_type_name()
48 return grpc_cpp_generator::ClassName(method_->output_type(), true); in output_type_name()
52 return method_->input_type()->file()->name(); in get_input_type_name()
55 return method_->output_type()->file()->name(); in get_output_type_name()
63 method_->input_type(), str, generator_file_name, generate_in_pb2_grpc, in get_module_and_message_path_input()
72 method_->output_type(), str, generator_file_name, generate_in_pb2_grpc, in get_module_and_message_path_output()
77 return !method_->client_streaming() && !method_->server_streaming(); in NoStreaming()
80 bool ClientStreaming() const { return method_->client_streaming(); } in ClientStreaming()
82 bool ServerStreaming() const { return method_->server_streaming(); } in ServerStreaming()
85 return method_->client_streaming() && method_->server_streaming(); in BidiStreaming()
89 return GetCommentsHelper(method_, true, prefix); in GetLeadingComments()
93 return GetCommentsHelper(method_, false, prefix); in GetTrailingComments()
97 return grpc_python_generator::get_all_comments(method_); in GetAllComments()
101 const grpc::protobuf::MethodDescriptor* method_;