Uses of Class
io.grpc.MethodDescriptor
Packages that use MethodDescriptor
Package
Description
The gRPC core public API.
The in-process transport which is for when a server is in the same process as the client.
Interfaces and implementations that are internal to gRPC.
The main transport implementation based on Netty,
for both the client and the server.
Service definitions and utilities with protobuf dependency for the pre-defined gRPC services.
API for the Stub layer.
-
Uses of MethodDescriptor in io.grpc
Fields in io.grpc declared as MethodDescriptorModifier and TypeFieldDescriptionprivate final MethodDescriptor
<ReqT, RespT> ServerMethodDefinition.method
Fields in io.grpc with type parameters of type MethodDescriptorModifier and TypeFieldDescriptionprivate List
<MethodDescriptor<?, ?>> ServiceDescriptor.Builder.methods
private final Collection
<MethodDescriptor<?, ?>> ServiceDescriptor.methods
Methods in io.grpc that return MethodDescriptorModifier and TypeMethodDescriptionMethodDescriptor.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.abstract MethodDescriptor
<?, ?> CallCredentials.RequestInfo.getMethodDescriptor()
The method descriptor of this RPC.ForwardingServerCall.getMethodDescriptor()
abstract MethodDescriptor
<?, ?> LoadBalancer.PickSubchannelArgs.getMethodDescriptor()
Call method.abstract MethodDescriptor
<ReqT, RespT> ServerCall.getMethodDescriptor()
TheMethodDescriptor
for the call.ServerMethodDefinition.getMethodDescriptor()
TheMethodDescriptor
for this method.ServerStreamTracer.ReadOnlyServerCall.getMethodDescriptor()
Deprecated.abstract MethodDescriptor
<ReqT, RespT> ServerStreamTracer.ServerCallInfo.getMethodDescriptor()
Methods in io.grpc that return types with arguments of type MethodDescriptorModifier and TypeMethodDescriptionCollection
<MethodDescriptor<?, ?>> ServiceDescriptor.getMethods()
A collection ofMethodDescriptor
instances describing the methods exposed by the service.Methods in io.grpc with parameters of type MethodDescriptorModifier and TypeMethodDescription<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.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.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, 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 MethodDescriptorModifier and TypeMethodDescriptionprivate ServiceDescriptor.Builder
ServiceDescriptor.Builder.addAllMethods
(Collection<MethodDescriptor<?, ?>> methods) Currently not exposed.(package private) static void
ServiceDescriptor.validateMethodNames
(String serviceName, Collection<MethodDescriptor<?, ?>> methods) Constructors in io.grpc with parameters of type MethodDescriptorModifierConstructorDescriptionprivate
ServerMethodDefinition
(MethodDescriptor<ReqT, RespT> method, ServerCallHandler<ReqT, RespT> handler) ServiceDescriptor
(String name, MethodDescriptor<?, ?>... methods) Constructs a new Service Descriptor.Constructor parameters in io.grpc with type arguments of type MethodDescriptorModifierConstructorDescriptionServiceDescriptor
(String name, Collection<MethodDescriptor<?, ?>> methods) Constructs a new Service Descriptor. -
Uses of MethodDescriptor in io.grpc.channelz.v1
Fields in io.grpc.channelz.v1 declared as MethodDescriptorModifier and TypeFieldDescriptionprivate 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 MethodDescriptorModifier and TypeMethodDescriptionChannelzGrpc.getGetChannelMethod()
ChannelzGrpc.getGetServerMethod()
ChannelzGrpc.getGetServersMethod()
ChannelzGrpc.getGetServerSocketsMethod()
ChannelzGrpc.getGetSocketMethod()
ChannelzGrpc.getGetSubchannelMethod()
ChannelzGrpc.getGetTopChannelsMethod()
-
Uses of MethodDescriptor in io.grpc.health.v1
Fields in io.grpc.health.v1 declared as MethodDescriptorModifier and TypeFieldDescriptionprivate static MethodDescriptor
<HealthCheckRequest, HealthCheckResponse> HealthGrpc.getCheckMethod
private static MethodDescriptor
<HealthCheckRequest, HealthCheckResponse> HealthGrpc.getWatchMethod
Methods in io.grpc.health.v1 that return MethodDescriptor -
Uses of MethodDescriptor in io.grpc.inprocess
Fields in io.grpc.inprocess declared as MethodDescriptorModifier and TypeFieldDescriptionprivate final MethodDescriptor
<?, ?> InProcessTransport.InProcessStream.method
Methods in io.grpc.inprocess with parameters of type MethodDescriptorModifier and TypeMethodDescriptionInProcessTransport.newStream
(MethodDescriptor<?, ?> method, Metadata headers, CallOptions callOptions, ClientStreamTracer[] tracers) Constructors in io.grpc.inprocess with parameters of type MethodDescriptorModifierConstructorDescription(package private)
InProcessServerStream
(MethodDescriptor<?, ?> method, Metadata headers) private
InProcessStream
(MethodDescriptor<?, ?> method, Metadata headers, CallOptions callOptions, String authority, StatsTraceContext statsTraceContext) -
Uses of MethodDescriptor in io.grpc.internal
Fields in io.grpc.internal declared as MethodDescriptorModifier and TypeFieldDescriptionprivate final MethodDescriptor
<ReqT, RespT> ClientCallImpl.method
private final MethodDescriptor
<ReqT, RespT> ManagedChannelImpl.ConfigSelectingClientCall.method
(package private) final MethodDescriptor
<ReqT, RespT> ManagedChannelImpl.RealChannel.PendingCall.method
private final MethodDescriptor
<?, ?> MetadataApplierImpl.method
private final MethodDescriptor
<?, ?> PickSubchannelArgsImpl.method
private final MethodDescriptor
<ReqT, ?> RetriableStream.method
private final MethodDescriptor
<ReqT, RespT> ServerCallImpl.method
private final MethodDescriptor
<ReqT, RespT> ServerCallInfoImpl.methodDescriptor
Methods in io.grpc.internal that return MethodDescriptorModifier and TypeMethodDescriptionMethodDescriptor
<?, ?> PickSubchannelArgsImpl.getMethodDescriptor()
ServerCallImpl.getMethodDescriptor()
ServerCallInfoImpl.getMethodDescriptor()
Methods in io.grpc.internal with parameters of type MethodDescriptorModifier and TypeMethodDescription(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) CallCredentialsApplyingTransportFactory.CallCredentialsApplyingTransport.newStream
(MethodDescriptor<?, ?> method, Metadata headers, CallOptions callOptions, ClientStreamTracer[] tracers) ClientCallImpl.ClientStreamProvider.newStream
(MethodDescriptor<?, ?> method, CallOptions callOptions, Metadata headers, Context context) ClientTransport.newStream
(MethodDescriptor<?, ?> method, Metadata headers, CallOptions callOptions, ClientStreamTracer[] tracers) Creates a new stream for sending messages to a remote end-point.final 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.FailingClientTransport.newStream
(MethodDescriptor<?, ?> method, Metadata headers, CallOptions callOptions, ClientStreamTracer[] tracers) ForwardingConnectionClientTransport.newStream
(MethodDescriptor<?, ?> method, Metadata headers, CallOptions callOptions, ClientStreamTracer[] tracers) InternalSubchannel.CallTracingTransport.newStream
(MethodDescriptor<?, ?> method, Metadata headers, CallOptions callOptions, ClientStreamTracer[] tracers) ManagedChannelImpl.ChannelStreamProvider.newStream
(MethodDescriptor<?, ?> method, CallOptions callOptions, Metadata headers, Context context) Constructors in io.grpc.internal with parameters of type MethodDescriptorModifierConstructorDescription(package private)
ClientCallImpl
(MethodDescriptor<ReqT, RespT> method, Executor executor, CallOptions callOptions, ClientCallImpl.ClientStreamProvider clientStreamProvider, ScheduledExecutorService deadlineCancellationExecutor, CallTracer channelCallsTracer, InternalConfigSelector configSelector) (package private)
ConfigSelectingClientCall
(InternalConfigSelector configSelector, Channel channel, Executor channelExecutor, MethodDescriptor<ReqT, RespT> method, CallOptions callOptions) (package private)
MetadataApplierImpl
(ClientTransport transport, MethodDescriptor<?, ?> method, Metadata origHeaders, CallOptions callOptions, MetadataApplierImpl.MetadataApplierListener listener, ClientStreamTracer[] tracers) (package private)
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.(package private)
RetriableStream
(MethodDescriptor<ReqT, ?> method, Metadata headers, RetriableStream.ChannelBufferMeter channelBufferUsed, long perRpcBufferLimit, long channelBufferLimit, Executor callExecutor, ScheduledExecutorService scheduledExecutorService, RetryPolicy retryPolicy, HedgingPolicy hedgingPolicy, RetriableStream.Throttle throttle) (package private)
ServerCallImpl
(ServerStream stream, MethodDescriptor<ReqT, RespT> method, Metadata inboundHeaders, Context.CancellableContext context, DecompressorRegistry decompressorRegistry, CompressorRegistry compressorRegistry, CallTracer serverCallTracer, io.perfmark.Tag tag) (package private)
ServerCallInfoImpl
(MethodDescriptor<ReqT, RespT> methodDescriptor, Attributes attributes, String authority) -
Uses of MethodDescriptor in io.grpc.lb.v1
Fields in io.grpc.lb.v1 declared as MethodDescriptorModifier and TypeFieldDescriptionprivate static MethodDescriptor
<LoadBalanceRequest, LoadBalanceResponse> LoadBalancerGrpc.getBalanceLoadMethod
Methods in io.grpc.lb.v1 that return MethodDescriptor -
Uses of MethodDescriptor in io.grpc.lookup.v1
Fields in io.grpc.lookup.v1 declared as MethodDescriptorModifier and TypeFieldDescriptionprivate static MethodDescriptor
<RouteLookupRequest, RouteLookupResponse> RouteLookupServiceGrpc.getRouteLookupMethod
Methods in io.grpc.lookup.v1 that return MethodDescriptor -
Uses of MethodDescriptor in io.grpc.netty
Fields in io.grpc.netty declared as MethodDescriptorMethods in io.grpc.netty with parameters of type MethodDescriptorModifier and TypeMethodDescriptionNettyClientTransport.newStream
(MethodDescriptor<?, ?> method, Metadata headers, CallOptions callOptions, ClientStreamTracer[] tracers) Constructors in io.grpc.netty with parameters of type MethodDescriptorModifierConstructorDescription(package private)
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 MethodDescriptorModifier and TypeMethodDescriptionprivate static MethodDescriptor
<byte[], byte[]> BinaryLogProvider.toByteBufferMethod
(MethodDescriptor<?, ?> method) Methods in io.grpc.protobuf.services with parameters of type MethodDescriptorModifier and TypeMethodDescription<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 MethodDescriptorModifier and TypeFieldDescriptionprivate static MethodDescriptor
<ServerReflectionRequest, ServerReflectionResponse> ServerReflectionGrpc.getServerReflectionInfoMethod
Methods in io.grpc.reflection.v1 that return MethodDescriptor -
Uses of MethodDescriptor in io.grpc.reflection.v1alpha
Fields in io.grpc.reflection.v1alpha declared as MethodDescriptorModifier and TypeFieldDescriptionprivate static MethodDescriptor
<ServerReflectionRequest, ServerReflectionResponse> ServerReflectionGrpc.getServerReflectionInfoMethod
Methods in io.grpc.reflection.v1alpha that return MethodDescriptor -
Uses of MethodDescriptor in io.grpc.stub
Methods in io.grpc.stub with parameters of type MethodDescriptorModifier and TypeMethodDescriptionstatic <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.<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)
newBuilder()
.