Uses of Class
io.grpc.MethodDescriptor
-
Packages that use MethodDescriptor Package Description io.grpc The gRPC core public API.io.grpc.channelz.v1 io.grpc.health.v1 io.grpc.inprocess The in-process transport which is for when a server is in the same process as the client.io.grpc.internal Interfaces and implementations that are internal to gRPC.io.grpc.lb.v1 io.grpc.lookup.v1 io.grpc.netty The main transport implementation based on Netty, for both the client and the server.io.grpc.protobuf.services Service definitions and utilities with protobuf dependency for the pre-defined gRPC services.io.grpc.reflection.v1 io.grpc.reflection.v1alpha io.grpc.stub API for the Stub layer. -
-
Uses of MethodDescriptor in io.grpc
Fields in io.grpc declared as MethodDescriptor Modifier and Type Field Description private MethodDescriptor<ReqT,RespT>
ServerMethodDefinition. method
Fields in io.grpc with type parameters of type MethodDescriptor Modifier and Type Field Description private java.util.List<MethodDescriptor<?,?>>
ServiceDescriptor.Builder. methods
private java.util.Collection<MethodDescriptor<?,?>>
ServiceDescriptor. methods
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. 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.MethodDescriptor<ReqT,RespT>
ServerStreamTracer.ReadOnlyServerCall. getMethodDescriptor()
Deprecated.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 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.java.lang.Object
InternalMethodDescriptor. 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 aClientCall
to the remote operation specified by the givenMethodDescriptor
.<ReqT,RespT>
ClientCall<ReqT,RespT>ClientInterceptors.InterceptorChannel. newCall(MethodDescriptor<ReqT,RespT> method, CallOptions callOptions)
void
InternalMethodDescriptor. setRawMethodName(MethodDescriptor<?,?> descriptor, java.lang.Object o)
private static <OReqT,ORespT,WReqT,WRespT>
ServerCallHandler<WReqT,WRespT>ServerInterceptors. wrapHandler(ServerCallHandler<OReqT,ORespT> originalHandler, MethodDescriptor<OReqT,ORespT> originalMethod, MethodDescriptor<WReqT,WRespT> wrappedMethod)
static <OrigReqT,OrigRespT,WrapReqT,WrapRespT>
ServerMethodDefinition<WrapReqT,WrapRespT>InternalServerInterceptors. wrapMethod(ServerMethodDefinition<OrigReqT,OrigRespT> definition, MethodDescriptor<WrapReqT,WrapRespT> wrappedMethod)
(package private) static <OReqT,ORespT,WReqT,WRespT>
ServerMethodDefinition<WReqT,WRespT>ServerInterceptors. wrapMethod(ServerMethodDefinition<OReqT,ORespT> definition, MethodDescriptor<WReqT,WRespT> wrappedMethod)
Method parameters in io.grpc with type arguments of type MethodDescriptor Modifier and Type Method Description private ServiceDescriptor.Builder
ServiceDescriptor.Builder. addAllMethods(java.util.Collection<MethodDescriptor<?,?>> methods)
Currently not exposed.(package private) static void
ServiceDescriptor. validateMethodNames(java.lang.String serviceName, java.util.Collection<MethodDescriptor<?,?>> methods)
Constructors in io.grpc with parameters of type MethodDescriptor Constructor Description ServerMethodDefinition(MethodDescriptor<ReqT,RespT> method, ServerCallHandler<ReqT,RespT> handler)
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.channelz.v1
Fields in io.grpc.channelz.v1 declared as MethodDescriptor Modifier and Type Field Description private static MethodDescriptor<GetChannelRequest,GetChannelResponse>
ChannelzGrpc. getGetChannelMethod
private static MethodDescriptor<GetServerRequest,GetServerResponse>
ChannelzGrpc. getGetServerMethod
private static MethodDescriptor<GetServersRequest,GetServersResponse>
ChannelzGrpc. getGetServersMethod
private static MethodDescriptor<GetServerSocketsRequest,GetServerSocketsResponse>
ChannelzGrpc. getGetServerSocketsMethod
private static MethodDescriptor<GetSocketRequest,GetSocketResponse>
ChannelzGrpc. getGetSocketMethod
private static MethodDescriptor<GetSubchannelRequest,GetSubchannelResponse>
ChannelzGrpc. getGetSubchannelMethod
private static MethodDescriptor<GetTopChannelsRequest,GetTopChannelsResponse>
ChannelzGrpc. getGetTopChannelsMethod
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
Fields in io.grpc.health.v1 declared as MethodDescriptor Modifier and Type Field Description private static MethodDescriptor<HealthCheckRequest,HealthCheckResponse>
HealthGrpc. getCheckMethod
private static MethodDescriptor<HealthCheckRequest,HealthCheckResponse>
HealthGrpc. getWatchMethod
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.inprocess
Fields in io.grpc.inprocess declared as MethodDescriptor Modifier and Type Field Description private MethodDescriptor<?,?>
InProcessTransport.InProcessStream. method
Methods in io.grpc.inprocess with parameters of type MethodDescriptor Modifier and Type Method Description ClientStream
InProcessTransport. newStream(MethodDescriptor<?,?> method, Metadata headers, CallOptions callOptions, ClientStreamTracer[] tracers)
Constructors in io.grpc.inprocess with parameters of type MethodDescriptor Constructor Description InProcessServerStream(MethodDescriptor<?,?> method, Metadata headers)
InProcessStream(MethodDescriptor<?,?> method, Metadata headers, CallOptions callOptions, java.lang.String authority, StatsTraceContext statsTraceContext)
-
Uses of MethodDescriptor in io.grpc.internal
Fields in io.grpc.internal declared as MethodDescriptor Modifier and Type Field Description private MethodDescriptor<ReqT,RespT>
ClientCallImpl. method
private MethodDescriptor<ReqT,RespT>
ManagedChannelImpl.ConfigSelectingClientCall. method
(package private) MethodDescriptor<ReqT,RespT>
ManagedChannelImpl.RealChannel.PendingCall. method
private MethodDescriptor<?,?>
MetadataApplierImpl. method
private MethodDescriptor<?,?>
PickSubchannelArgsImpl. method
private MethodDescriptor<ReqT,?>
RetriableStream. method
private MethodDescriptor<ReqT,RespT>
ServerCallImpl. method
private MethodDescriptor<ReqT,RespT>
ServerCallInfoImpl. methodDescriptor
Methods in io.grpc.internal that return MethodDescriptor Modifier and Type Method Description MethodDescriptor<?,?>
PickSubchannelArgsImpl. getMethodDescriptor()
MethodDescriptor<ReqT,RespT>
ServerCallImpl. getMethodDescriptor()
MethodDescriptor<ReqT,RespT>
ServerCallInfoImpl. getMethodDescriptor()
Methods in io.grpc.internal with parameters of type MethodDescriptor Modifier and Type Method Description (package private) ManagedChannelServiceConfig.MethodInfo
ManagedChannelServiceConfig. getMethodConfig(MethodDescriptor<?,?> method)
<ReqT,RespT>
ClientCall<ReqT,RespT>ManagedChannelImplBuilder.InterceptorFactoryWrapper. interceptCall(MethodDescriptor<ReqT,RespT> method, CallOptions callOptions, Channel next)
<RequestT,ResponseT>
ClientCall<RequestT,ResponseT>ForwardingManagedChannel. newCall(MethodDescriptor<RequestT,ResponseT> methodDescriptor, CallOptions callOptions)
<ReqT,RespT>
ClientCall<ReqT,RespT>ManagedChannelImpl. newCall(MethodDescriptor<ReqT,RespT> method, CallOptions callOptions)
<ReqT,RespT>
ClientCall<ReqT,RespT>ManagedChannelImpl.RealChannel. newCall(MethodDescriptor<ReqT,RespT> method, CallOptions callOptions)
<RequestT,ResponseT>
ClientCall<RequestT,ResponseT>OobChannel. newCall(MethodDescriptor<RequestT,ResponseT> methodDescriptor, CallOptions callOptions)
<RequestT,ResponseT>
ClientCall<RequestT,ResponseT>SubchannelChannel. newCall(MethodDescriptor<RequestT,ResponseT> methodDescriptor, CallOptions callOptions)
private <ReqT,RespT>
ClientCall<ReqT,RespT>ManagedChannelImpl.RealChannel. newClientCall(MethodDescriptor<ReqT,RespT> method, CallOptions callOptions)
ClientStream
CallCredentialsApplyingTransportFactory.CallCredentialsApplyingTransport. newStream(MethodDescriptor<?,?> method, Metadata headers, CallOptions callOptions, ClientStreamTracer[] tracers)
ClientStream
ClientCallImpl.ClientStreamProvider. newStream(MethodDescriptor<?,?> method, CallOptions callOptions, Metadata headers, Context context)
ClientStream
ClientTransport. newStream(MethodDescriptor<?,?> method, Metadata headers, CallOptions callOptions, ClientStreamTracer[] tracers)
Creates a new stream for sending messages to a remote end-point.ClientStream
DelayedClientTransport. newStream(MethodDescriptor<?,?> method, Metadata headers, CallOptions callOptions, ClientStreamTracer[] tracers)
If aLoadBalancer.SubchannelPicker
is being, or has been provided viaDelayedClientTransport.reprocess(io.grpc.LoadBalancer.SubchannelPicker)
, the last picker will be consulted.ClientStream
FailingClientTransport. newStream(MethodDescriptor<?,?> method, Metadata headers, CallOptions callOptions, ClientStreamTracer[] tracers)
ClientStream
ForwardingConnectionClientTransport. newStream(MethodDescriptor<?,?> method, Metadata headers, CallOptions callOptions, ClientStreamTracer[] tracers)
ClientStream
InternalSubchannel.CallTracingTransport. newStream(MethodDescriptor<?,?> method, Metadata headers, CallOptions callOptions, ClientStreamTracer[] tracers)
ClientStream
ManagedChannelImpl.ChannelStreamProvider. newStream(MethodDescriptor<?,?> method, CallOptions callOptions, Metadata headers, Context context)
Constructors in io.grpc.internal with parameters of type MethodDescriptor Constructor Description ClientCallImpl(MethodDescriptor<ReqT,RespT> method, java.util.concurrent.Executor executor, CallOptions callOptions, ClientCallImpl.ClientStreamProvider clientStreamProvider, java.util.concurrent.ScheduledExecutorService deadlineCancellationExecutor, CallTracer channelCallsTracer, InternalConfigSelector configSelector)
ConfigSelectingClientCall(InternalConfigSelector configSelector, Channel channel, java.util.concurrent.Executor channelExecutor, MethodDescriptor<ReqT,RespT> method, CallOptions callOptions)
MetadataApplierImpl(ClientTransport transport, MethodDescriptor<?,?> method, Metadata origHeaders, CallOptions callOptions, MetadataApplierImpl.MetadataApplierListener listener, ClientStreamTracer[] tracers)
PendingCall(Context context, MethodDescriptor<ReqT,RespT> method, CallOptions callOptions)
PickSubchannelArgsImpl(MethodDescriptor<?,?> method, Metadata headers, CallOptions callOptions, LoadBalancer.PickDetailsConsumer pickDetailsConsumer)
Creates call args object for given method with its call options, metadata.RetriableStream(MethodDescriptor<ReqT,?> method, Metadata headers, RetriableStream.ChannelBufferMeter channelBufferUsed, long perRpcBufferLimit, long channelBufferLimit, java.util.concurrent.Executor callExecutor, java.util.concurrent.ScheduledExecutorService scheduledExecutorService, RetryPolicy retryPolicy, HedgingPolicy hedgingPolicy, RetriableStream.Throttle throttle)
ServerCallImpl(ServerStream stream, MethodDescriptor<ReqT,RespT> method, Metadata inboundHeaders, Context.CancellableContext context, DecompressorRegistry decompressorRegistry, CompressorRegistry compressorRegistry, CallTracer serverCallTracer, io.perfmark.Tag tag)
ServerCallInfoImpl(MethodDescriptor<ReqT,RespT> methodDescriptor, Attributes attributes, java.lang.String authority)
-
Uses of MethodDescriptor in io.grpc.lb.v1
Fields in io.grpc.lb.v1 declared as MethodDescriptor Modifier and Type Field Description private static MethodDescriptor<LoadBalanceRequest,LoadBalanceResponse>
LoadBalancerGrpc. getBalanceLoadMethod
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.lookup.v1
Fields in io.grpc.lookup.v1 declared as MethodDescriptor Modifier and Type Field Description private static MethodDescriptor<RouteLookupRequest,RouteLookupResponse>
RouteLookupServiceGrpc. getRouteLookupMethod
Methods in io.grpc.lookup.v1 that return MethodDescriptor Modifier and Type Method Description static MethodDescriptor<RouteLookupRequest,RouteLookupResponse>
RouteLookupServiceGrpc. getRouteLookupMethod()
-
Uses of MethodDescriptor in io.grpc.netty
Fields in io.grpc.netty declared as MethodDescriptor Modifier and Type Field Description private MethodDescriptor<?,?>
NettyClientStream. method
Methods in io.grpc.netty with parameters of type MethodDescriptor Modifier and Type Method Description ClientStream
NettyClientTransport. newStream(MethodDescriptor<?,?> method, Metadata headers, CallOptions callOptions, ClientStreamTracer[] tracers)
Constructors in io.grpc.netty with parameters of type MethodDescriptor Constructor Description NettyClientStream(NettyClientStream.TransportState state, MethodDescriptor<?,?> method, Metadata headers, io.netty.channel.Channel channel, io.netty.util.AsciiString authority, io.netty.util.AsciiString scheme, io.netty.util.AsciiString userAgent, StatsTraceContext statsTraceCtx, TransportTracer transportTracer, CallOptions callOptions, boolean useGetForSafeMethods)
-
Uses of MethodDescriptor in io.grpc.protobuf.services
Methods in io.grpc.protobuf.services that return MethodDescriptor Modifier and Type Method Description private static MethodDescriptor<byte[],byte[]>
BinaryLogProvider. toByteBufferMethod(MethodDescriptor<?,?> method)
Methods in io.grpc.protobuf.services with parameters of type MethodDescriptor Modifier and Type Method Description <ReqT,RespT>
ClientCall<ReqT,RespT>BinaryLogProvider.BinaryLogShim. interceptCall(MethodDescriptor<ReqT,RespT> method, CallOptions callOptions, Channel next)
private static MethodDescriptor<byte[],byte[]>
BinaryLogProvider. toByteBufferMethod(MethodDescriptor<?,?> method)
-
Uses of MethodDescriptor in io.grpc.reflection.v1
Fields in io.grpc.reflection.v1 declared as MethodDescriptor Modifier and Type Field Description private static MethodDescriptor<ServerReflectionRequest,ServerReflectionResponse>
ServerReflectionGrpc. getServerReflectionInfoMethod
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
Fields in io.grpc.reflection.v1alpha declared as MethodDescriptor Modifier and Type Field Description private static MethodDescriptor<ServerReflectionRequest,ServerReflectionResponse>
ServerReflectionGrpc. getServerReflectionInfoMethod
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>
java.util.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.<ReqT,RespT>
ClientCall<ReqT,RespT>MetadataUtils.HeaderAttachingClientInterceptor. interceptCall(MethodDescriptor<ReqT,RespT> method, CallOptions callOptions, Channel next)
<ReqT,RespT>
ClientCall<ReqT,RespT>MetadataUtils.MetadataCapturingClientInterceptor. interceptCall(MethodDescriptor<ReqT,RespT> method, CallOptions callOptions, Channel next)
-