Uses of Class
io.grpc.MethodDescriptor
-
Packages that use MethodDescriptor Package Description io.grpc The gRPC core public API.io.grpc.auth Implementations ofCallCredentials
and authentication related API.io.grpc.channelz.v1 io.grpc.health.v1 io.grpc.lb.v1 io.grpc.reflection.v1 io.grpc.reflection.v1alpha io.grpc.stub API for the Stub layer.io.grpc.testing API that is useful for testing gRPC. -
-
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. -
Uses of MethodDescriptor in io.grpc.auth
Methods in io.grpc.auth with parameters of type MethodDescriptor Modifier and Type Method Description <ReqT,RespT>
ClientCall<ReqT,RespT>ClientAuthInterceptor. interceptCall(MethodDescriptor<ReqT,RespT> method, CallOptions callOptions, Channel next)
Deprecated. -
Uses of MethodDescriptor in io.grpc.channelz.v1
Methods in io.grpc.channelz.v1 that return MethodDescriptor Modifier and Type Method Description static MethodDescriptor<GetChannelRequest,GetChannelResponse>
ChannelzGrpc. getGetChannelMethod()
static MethodDescriptor<GetServerRequest,GetServerResponse>
ChannelzGrpc. getGetServerMethod()
static MethodDescriptor<GetServersRequest,GetServersResponse>
ChannelzGrpc. getGetServersMethod()
static MethodDescriptor<GetServerSocketsRequest,GetServerSocketsResponse>
ChannelzGrpc. getGetServerSocketsMethod()
static MethodDescriptor<GetSocketRequest,GetSocketResponse>
ChannelzGrpc. getGetSocketMethod()
static MethodDescriptor<GetSubchannelRequest,GetSubchannelResponse>
ChannelzGrpc. getGetSubchannelMethod()
static MethodDescriptor<GetTopChannelsRequest,GetTopChannelsResponse>
ChannelzGrpc. getGetTopChannelsMethod()
-
Uses of MethodDescriptor in io.grpc.health.v1
Methods in io.grpc.health.v1 that return MethodDescriptor Modifier and Type Method Description static MethodDescriptor<HealthCheckRequest,HealthCheckResponse>
HealthGrpc. getCheckMethod()
static MethodDescriptor<HealthCheckRequest,HealthCheckResponse>
HealthGrpc. getWatchMethod()
-
Uses of MethodDescriptor in io.grpc.lb.v1
Methods in io.grpc.lb.v1 that return MethodDescriptor Modifier and Type Method Description static MethodDescriptor<LoadBalanceRequest,LoadBalanceResponse>
LoadBalancerGrpc. getBalanceLoadMethod()
-
Uses of MethodDescriptor in io.grpc.reflection.v1
Methods in io.grpc.reflection.v1 that return MethodDescriptor Modifier and Type Method Description static MethodDescriptor<ServerReflectionRequest,ServerReflectionResponse>
ServerReflectionGrpc. getServerReflectionInfoMethod()
-
Uses of MethodDescriptor in io.grpc.reflection.v1alpha
Methods in io.grpc.reflection.v1alpha that return MethodDescriptor Modifier and Type Method Description static MethodDescriptor<ServerReflectionRequest,ServerReflectionResponse>
ServerReflectionGrpc. getServerReflectionInfoMethod()
-
Uses of MethodDescriptor in io.grpc.stub
Methods in io.grpc.stub with parameters of type MethodDescriptor Modifier and Type Method Description static <ReqT> StreamObserver<ReqT>
ServerCalls. asyncUnimplementedStreamingCall(MethodDescriptor<?,?> methodDescriptor, StreamObserver<?> responseObserver)
Sets unimplemented status for streaming call.static void
ServerCalls. asyncUnimplementedUnaryCall(MethodDescriptor<?,?> methodDescriptor, StreamObserver<?> responseObserver)
Sets unimplemented status for method on given response stream for unary call.static <ReqT,RespT>
Iterator<RespT>ClientCalls. blockingServerStreamingCall(Channel channel, MethodDescriptor<ReqT,RespT> method, CallOptions callOptions, ReqT req)
Executes a server-streaming call returning a blockingIterator
over the response stream.static <ReqT,RespT>
RespTClientCalls. blockingUnaryCall(Channel channel, MethodDescriptor<ReqT,RespT> method, CallOptions callOptions, ReqT req)
Executes a unary call and blocks on the response. -
Uses of MethodDescriptor in io.grpc.testing
Methods in io.grpc.testing that return MethodDescriptor Modifier and Type Method Description static MethodDescriptor<Void,Void>
TestMethodDescriptors. voidMethod()
Creates a new method descriptor that always creates zero length messages, and always parses to null objects.
-