Uses of Class
io.grpc.MethodDescriptor
-
Packages that use MethodDescriptor Package Description io.grpc The gRPC core public API.io.grpc.stub API for the Stub layer.me.dinowernli.grpc.prometheus -
-
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, java.lang.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.SimpleForwardingServerCall. getMethodDescriptor()abstract MethodDescriptor<?,?>LoadBalancer.PickSubchannelArgs. getMethodDescriptor()Call method.abstract MethodDescriptor<ReqT,RespT>ServerCall. getMethodDescriptor()TheMethodDescriptorfor the call.MethodDescriptor<ReqT,RespT>ServerMethodDefinition. getMethodDescriptor()TheMethodDescriptorfor 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 java.util.Collection<MethodDescriptor<?,?>>ServiceDescriptor. getMethods()A collection ofMethodDescriptorinstances 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.BuilderServiceDescriptor.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.java.lang.ObjectInternalMethodDescriptor. geRawMethodName(MethodDescriptor<?,?> descriptor)<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 aClientCallto the remote operation specified by the givenMethodDescriptor.voidInternalMethodDescriptor. setRawMethodName(MethodDescriptor<?,?> descriptor, java.lang.Object o)static <OrigReqT,OrigRespT,WrapReqT,WrapRespT>
ServerMethodDefinition<WrapReqT,WrapRespT>InternalServerInterceptors. wrapMethod(ServerMethodDefinition<OrigReqT,OrigRespT> definition, MethodDescriptor<WrapReqT,WrapRespT> wrappedMethod)Constructors in io.grpc with parameters of type MethodDescriptor Constructor Description ServiceDescriptor(java.lang.String name, MethodDescriptor<?,?>... methods)Constructs a new Service Descriptor.Constructor parameters in io.grpc with type arguments of type MethodDescriptor Constructor Description ServiceDescriptor(java.lang.String name, java.util.Collection<MethodDescriptor<?,?>> methods)Constructs a new Service Descriptor. -
Uses of MethodDescriptor in io.grpc.stub
Methods in io.grpc.stub with parameters of type MethodDescriptor Modifier and Type Method Description static <T> StreamObserver<T>ServerCalls. asyncUnimplementedStreamingCall(MethodDescriptor<?,?> methodDescriptor, StreamObserver<?> responseObserver)Sets unimplemented status for streaming call.static voidServerCalls. asyncUnimplementedUnaryCall(MethodDescriptor<?,?> methodDescriptor, StreamObserver<?> responseObserver)Sets unimplemented status for method on given response stream for unary call.static <ReqT,RespT>
java.util.Iterator<RespT>ClientCalls. blockingServerStreamingCall(Channel channel, MethodDescriptor<ReqT,RespT> method, CallOptions callOptions, ReqT req)Executes a server-streaming call returning a blockingIteratorover 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 me.dinowernli.grpc.prometheus
Methods in me.dinowernli.grpc.prometheus with parameters of type MethodDescriptor Modifier and Type Method Description <R,S>
ClientCall<R,S>MonitoringClientInterceptor. interceptCall(MethodDescriptor<R,S> methodDescriptor, CallOptions callOptions, Channel channel)
-