Uses of Class
io.grpc.MethodDescriptor
-
-
Uses of MethodDescriptor in io.grpc
Methods in io.grpc that return MethodDescriptor Modifier and Type Method Description MethodDescriptor<ReqT,RespT>
MethodDescriptor.Builder. build()
Builds the method descriptor.static <RequestT,ResponseT>
MethodDescriptor<RequestT,ResponseT>MethodDescriptor. create(MethodDescriptor.MethodType type, String fullMethodName, MethodDescriptor.Marshaller<RequestT> requestMarshaller, MethodDescriptor.Marshaller<ResponseT> responseMarshaller)
Deprecated.usenewBuilder()
.abstract MethodDescriptor<?,?>
CallCredentials.RequestInfo. getMethodDescriptor()
The method descriptor of this RPC.MethodDescriptor<ReqT,RespT>
ForwardingServerCall. getMethodDescriptor()
abstract MethodDescriptor<?,?>
LoadBalancer.PickSubchannelArgs. getMethodDescriptor()
Call method.abstract MethodDescriptor<ReqT,RespT>
ServerCall. getMethodDescriptor()
TheMethodDescriptor
for the call.MethodDescriptor<ReqT,RespT>
ServerMethodDefinition. getMethodDescriptor()
TheMethodDescriptor
for this method.abstract MethodDescriptor<ReqT,RespT>
ServerStreamTracer.ServerCallInfo. getMethodDescriptor()
Methods in io.grpc that return types with arguments of type MethodDescriptor Modifier and Type Method Description Collection<MethodDescriptor<?,?>>
ServiceDescriptor. getMethods()
A collection ofMethodDescriptor
instances describing the methods exposed by the service.Methods in io.grpc with parameters of type MethodDescriptor Modifier and Type Method Description <ReqT,RespT>
ServerServiceDefinition.BuilderServerServiceDefinition.Builder. addMethod(MethodDescriptor<ReqT,RespT> method, ServerCallHandler<ReqT,RespT> handler)
Add a method to be supported by the service.ServiceDescriptor.Builder
ServiceDescriptor.Builder. addMethod(MethodDescriptor<?,?> method)
Adds a method to this service.static <ReqT,RespT>
ServerMethodDefinition<ReqT,RespT>ServerMethodDefinition. create(MethodDescriptor<ReqT,RespT> method, ServerCallHandler<ReqT,RespT> handler)
Create a new instance.<ReqT,RespT>
ClientCall<ReqT,RespT>ClientInterceptor. interceptCall(MethodDescriptor<ReqT,RespT> method, CallOptions callOptions, Channel next)
abstract <RequestT,ResponseT>
ClientCall<RequestT,ResponseT>Channel. newCall(MethodDescriptor<RequestT,ResponseT> methodDescriptor, CallOptions callOptions)
Create aClientCall
to the remote operation specified by the givenMethodDescriptor
.Constructors in io.grpc with parameters of type MethodDescriptor Constructor Description ServiceDescriptor(String name, MethodDescriptor<?,?>... methods)
Constructs a new Service Descriptor.Constructor parameters in io.grpc with type arguments of type MethodDescriptor Constructor Description ServiceDescriptor(String name, Collection<MethodDescriptor<?,?>> methods)
Constructs a new Service Descriptor.
-