Skip navigation links
A B C D E F G H I J K L M N O P R S T U V W 

A

ABORTED - Static variable in class io.grpc.Status
The operation was aborted, typically due to a concurrency issue like sequencer check failures, transaction aborts, etc.
AbstractClientStream - Class in io.grpc.internal
The abstract base class for ClientStream implementations.
AbstractClientStream(WritableBufferAllocator, StatsTraceContext, TransportTracer, Metadata, CallOptions, boolean) - Constructor for class io.grpc.internal.AbstractClientStream
 
AbstractClientStream.Sink - Interface in io.grpc.internal
A sink for outbound operations, separated from the stream simply to avoid name collisions/confusion.
AbstractClientStream.TransportState - Class in io.grpc.internal
This should only called from the transport thread.
abstractClientStreamSink() - Method in class io.grpc.internal.AbstractClientStream
Sink for transport to be called to perform outbound operations.
AbstractManagedChannelImplBuilder<T extends AbstractManagedChannelImplBuilder<T>> - Class in io.grpc.internal
The base class for channel builders.
AbstractManagedChannelImplBuilder(String) - Constructor for class io.grpc.internal.AbstractManagedChannelImplBuilder
 
AbstractManagedChannelImplBuilder(SocketAddress, String) - Constructor for class io.grpc.internal.AbstractManagedChannelImplBuilder
 
AbstractReadableBuffer - Class in io.grpc.internal
Abstract base class for ReadableBuffer implementations.
AbstractReadableBuffer() - Constructor for class io.grpc.internal.AbstractReadableBuffer
 
AbstractServerImplBuilder<T extends AbstractServerImplBuilder<T>> - Class in io.grpc.internal
The base class for server builders.
AbstractServerImplBuilder() - Constructor for class io.grpc.internal.AbstractServerImplBuilder
 
AbstractServerStream - Class in io.grpc.internal
Abstract base class for ServerStream implementations.
AbstractServerStream(WritableBufferAllocator, StatsTraceContext) - Constructor for class io.grpc.internal.AbstractServerStream
 
AbstractServerStream.Sink - Interface in io.grpc.internal
A sink for outbound operations, separated from the stream simply to avoid name collisions/confusion.
AbstractServerStream.TransportState - Class in io.grpc.internal
This should only called from the transport thread (except for private interactions with AbstractServerStream).
abstractServerStreamSink() - Method in class io.grpc.internal.AbstractServerStream
Sink for transport to be called to perform outbound operations.
AbstractStream - Class in io.grpc.internal
The stream and stream state as used by the application.
AbstractStream() - Constructor for class io.grpc.internal.AbstractStream
 
AbstractStream.TransportState - Class in io.grpc.internal
Stream state as used by the transport.
AbstractStub<S extends AbstractStub<S>> - Class in io.grpc.stub
Common base type for stub implementations.
AbstractStub(Channel) - Constructor for class io.grpc.stub.AbstractStub
Constructor for use by subclasses, with the default CallOptions.
AbstractStub(Channel, CallOptions) - Constructor for class io.grpc.stub.AbstractStub
Constructor for use by subclasses, with the default CallOptions.
ACCEPT_ENCODING_SPLITTER - Static variable in class io.grpc.internal.GrpcUtil
 
add(long) - Method in interface io.grpc.internal.LongCounter
Adds the delta to this counter.
add(long) - Method in class io.grpc.internal.ReflectionLongAdderCounter
 
addBuffer(ReadableBuffer) - Method in class io.grpc.internal.CompositeReadableBuffer
Adds a new ReadableBuffer at the end of the buffer list.
addCallback(ClientTransport.PingCallback, Executor) - Method in class io.grpc.internal.Http2Ping
Registers a callback that is invoked when the ping operation completes.
addListenAddress(SocketAddress) - Method in class io.grpc.netty.NettyServerBuilder
Adds an additional address for this server to listen on.
addListener(Context.CancellationListener, Executor) - Method in class io.grpc.Context
Add a listener that will be notified when the context becomes cancelled.
addMethod(MethodDescriptor<ReqT, RespT>, ServerCallHandler<ReqT, RespT>) - Method in class io.grpc.ServerServiceDefinition.Builder
Add a method to be supported by the service.
addMethod(ServerMethodDefinition<ReqT, RespT>) - Method in class io.grpc.ServerServiceDefinition.Builder
Add a method to be supported by the service.
addMethod(MethodDescriptor<?, ?>) - Method in class io.grpc.ServiceDescriptor.Builder
Adds a method to this service.
addService(ServerServiceDefinition) - Method in class io.grpc.internal.AbstractServerImplBuilder
 
addService(BindableService) - Method in class io.grpc.internal.AbstractServerImplBuilder
 
addService(ServerServiceDefinition) - Method in class io.grpc.ServerBuilder
Adds a service implementation to the handler registry.
addService(BindableService) - Method in class io.grpc.ServerBuilder
Adds a service implementation to the handler registry.
addService(ServerServiceDefinition) - Method in class io.grpc.util.MutableHandlerRegistry
Registers a service.
addService(BindableService) - Method in class io.grpc.util.MutableHandlerRegistry
Registers a service.
addStreamTracerFactory(ServerStreamTracer.Factory) - Method in class io.grpc.internal.AbstractServerImplBuilder
 
addStreamTracerFactory(ServerStreamTracer.Factory) - Method in class io.grpc.ServerBuilder
Adds a ServerStreamTracer.Factory to measure server-side traffic.
addTransportFilter(ServerTransportFilter) - Method in class io.grpc.internal.AbstractServerImplBuilder
 
addTransportFilter(ServerTransportFilter) - Method in class io.grpc.ServerBuilder
after(long, TimeUnit) - Static method in class io.grpc.Deadline
Create a deadline that will expire at the specified offset from the current system clock.
after() - Method in class io.grpc.testing.GrpcServerRule
After the test has completed, clean up the channel and server.
allocate(int) - Method in interface io.grpc.internal.WritableBufferAllocator
Request a new WritableBuffer with the given capacityHint.
ALREADY_EXISTS - Static variable in class io.grpc.Status
Some entity that we attempted to create (e.g., file or directory) already exists.
ApplicationThreadDeframer - Class in io.grpc.internal
Sits between AbstractStream.TransportState and MessageDeframer to deframe in the client thread.
apply(Metadata) - Method in class io.grpc.CallCredentials.MetadataApplier
Called when headers are successfully generated.
apply(Statement, Description) - Method in class io.grpc.testing.GrpcCleanupRule
 
applyRequestMetadata(CallCredentials.RequestInfo, Executor, CallCredentials.MetadataApplier) - Method in class io.grpc.CallCredentials
Pass the credential data to the given CallCredentials.MetadataApplier, which will propagate it to the request metadata.
applyRequestMetadata(CallCredentials.RequestInfo, Executor, CallCredentials2.MetadataApplier) - Method in class io.grpc.CallCredentials2
Deprecated.
Pass the credential data to the given CallCredentials2.MetadataApplier, which will propagate it to the request metadata.
applyRequestMetadata(CallCredentials.RequestInfo, Executor, CallCredentials.MetadataApplier) - Method in class io.grpc.CallCredentials2
Deprecated.
 
array() - Method in class io.grpc.internal.AbstractReadableBuffer
 
array() - Method in class io.grpc.internal.ForwardingReadableBuffer
 
array() - Method in interface io.grpc.internal.ReadableBuffer
Gets the backing array for this buffer.
arrayOffset() - Method in class io.grpc.internal.AbstractReadableBuffer
 
arrayOffset() - Method in class io.grpc.internal.ForwardingReadableBuffer
 
arrayOffset() - Method in interface io.grpc.internal.ReadableBuffer
Gets the offset in the backing array of the current read position.
asChannel() - Method in class io.grpc.LoadBalancer.Subchannel
(Internal use only) returns a Channel that is backed by this Subchannel.
ASCII_STRING_MARSHALLER - Static variable in class io.grpc.Metadata
Simple metadata marshaller that encodes strings as is.
asException() - Method in class io.grpc.Status
Convert this Status to an Exception.
asException(Metadata) - Method in class io.grpc.Status
Same as Status.asException() but includes the provided trailers in the returned exception.
asFactory() - Static method in class io.grpc.NameResolverProvider
Deprecated.
Use NameResolverRegistry.getDefaultRegistry().asFactory()
asFactory() - Method in class io.grpc.NameResolverRegistry
 
asRuntimeException() - Method in class io.grpc.Status
Convert this Status to a RuntimeException.
asRuntimeException(Metadata) - Method in class io.grpc.Status
Same as Status.asRuntimeException() but includes the provided trailers in the returned exception.
asyncBidiStreamingCall(ClientCall<ReqT, RespT>, StreamObserver<RespT>) - Static method in class io.grpc.stub.ClientCalls
Executes a bidirectional-streaming call.
asyncBidiStreamingCall(ServerCalls.BidiStreamingMethod<ReqT, RespT>) - Static method in class io.grpc.stub.ServerCalls
Creates a ServerCallHandler for a bidi streaming method of the service.
asyncClientStreamingCall(ClientCall<ReqT, RespT>, StreamObserver<RespT>) - Static method in class io.grpc.stub.ClientCalls
Executes a client-streaming call returning a StreamObserver for the request messages.
asyncClientStreamingCall(ServerCalls.ClientStreamingMethod<ReqT, RespT>) - Static method in class io.grpc.stub.ServerCalls
Creates a ServerCallHandler for a client streaming method of the service.
asyncServerStreamingCall(ClientCall<ReqT, RespT>, ReqT, StreamObserver<RespT>) - Static method in class io.grpc.stub.ClientCalls
Executes a server-streaming call with a response StreamObserver.
asyncServerStreamingCall(ServerCalls.ServerStreamingMethod<ReqT, RespT>) - Static method in class io.grpc.stub.ServerCalls
Creates a ServerCallHandler for a server streaming method of the service.
asyncUnaryCall(ClientCall<ReqT, RespT>, ReqT, StreamObserver<RespT>) - Static method in class io.grpc.stub.ClientCalls
Executes a unary call with a response StreamObserver.
asyncUnaryCall(ServerCalls.UnaryMethod<ReqT, RespT>) - Static method in class io.grpc.stub.ServerCalls
Creates a ServerCallHandler for a unary call method of the service.
asyncUnimplementedStreamingCall(MethodDescriptor<?, ?>, StreamObserver<?>) - Static method in class io.grpc.stub.ServerCalls
Sets unimplemented status for streaming call.
asyncUnimplementedUnaryCall(MethodDescriptor<?, ?>, StreamObserver<?>) - Static method in class io.grpc.stub.ServerCalls
Sets unimplemented status for method on given response stream for unary call.
AtomicBackoff - Class in io.grpc.internal
A long atomically updated due to errors caused by the value being too small.
AtomicBackoff(String, long) - Constructor for class io.grpc.internal.AtomicBackoff
Construct an atomic with initial value value.
AtomicBackoff.State - Class in io.grpc.internal
 
attach() - Method in class io.grpc.Context
Attach this context, thus enter a new scope within which this context is Context.current().
attach() - Method in class io.grpc.Context.CancellableContext
 
attach(Context) - Method in class io.grpc.Context.Storage
Deprecated.
This is an old API that is no longer used.
attachHeaders(T, Metadata) - Static method in class io.grpc.stub.MetadataUtils
Attaches a set of request headers to a stub.
ATTR_CLIENT_EAG_ATTRS - Static variable in class io.grpc.internal.GrpcAttributes
Attribute key for the attributes of the EquivalentAddressGroup (EquivalentAddressGroup.getAttributes()) that the transport's server address is from.
ATTR_LB_ADDR_AUTHORITY - Static variable in class io.grpc.internal.GrpcAttributes
The naming authority of a gRPC LB server address.
ATTR_LB_PROVIDED_BACKEND - Static variable in class io.grpc.internal.GrpcAttributes
Whether this EquivalentAddressGroup was provided by a GRPCLB server.
ATTR_LOAD_BALANCING_CONFIG - Static variable in class io.grpc.LoadBalancer
The load-balancing config converted from an JSON object injected by the GRPC library.
ATTR_SECURITY_LEVEL - Static variable in class io.grpc.internal.GrpcAttributes
The security level of the transport.
Attributes - Class in io.grpc
An immutable type-safe container of attributes.
Attributes.Builder - Class in io.grpc
The helper class to build an Attributes instance.
Attributes.Key<T> - Class in io.grpc
Key for an key-value pair.
augmentDescription(String) - Method in class io.grpc.Status
Create a derived instance of Status augmenting the current description with additional detail.
authority() - Method in class io.grpc.Channel
The authority of the destination this channel connects to.
authorityFromHostAndPort(String, int) - Static method in class io.grpc.internal.GrpcUtil
Combine a host and port into an authority string.
authorityToUri(String) - Static method in class io.grpc.internal.GrpcUtil
Parse an authority into a URI for retrieving the host and port.
AutoConfiguredLoadBalancerFactory - Class in io.grpc.internal
 
AutoConfiguredLoadBalancerFactory(String) - Constructor for class io.grpc.internal.AutoConfiguredLoadBalancerFactory
 
AutoConfiguredLoadBalancerFactory.AutoConfiguredLoadBalancer - Class in io.grpc.internal
 
autoWindowOn(boolean) - Static method in class io.grpc.netty.HandlerSettings
Deprecated.
 
available() - Method in interface io.grpc.KnownLength
Returns the total number of bytes that can be read (or skipped over) from this object until all bytes have been read out.
awaitCompletion() - Method in class io.grpc.testing.StreamRecorder
Deprecated.
Waits for the stream to terminate.
awaitCompletion(int, TimeUnit) - Method in class io.grpc.testing.StreamRecorder
Deprecated.
Waits a fixed timeout for the stream to terminate.
awaitTermination(long, TimeUnit) - Method in class io.grpc.internal.ServerImpl
 
awaitTermination() - Method in class io.grpc.internal.ServerImpl
 
awaitTermination(long, TimeUnit) - Method in class io.grpc.ManagedChannel
Waits for the channel to become terminated, giving up if the timeout is reached.
awaitTermination(long, TimeUnit) - Method in class io.grpc.Server
Waits for the server to become terminated, giving up if the timeout is reached.
awaitTermination() - Method in class io.grpc.Server
Waits for the server to become terminated.

B

backoff() - Method in class io.grpc.internal.AtomicBackoff.State
Causes future invocations of AtomicBackoff.getState() to have a value at least double this state's value.
BackoffPolicy - Interface in io.grpc.internal
Determines how long to wait before doing some action (typically a retry, or a reconnect).
BackoffPolicy.Provider - Interface in io.grpc.internal
 
before() - Method in class io.grpc.testing.GrpcServerRule
Before the test has started, create the server and channel.
beforeStart(ClientCallStreamObserver<ReqT>) - Method in interface io.grpc.stub.ClientResponseObserver
Called by the runtime priot to the start of a call to provide a reference to the ClientCallStreamObserver for the outbound stream.
BINARY_BYTE_MARSHALLER - Static variable in class io.grpc.Metadata
Simple metadata marshaller that encodes bytes as is.
BINARY_HEADER_SUFFIX - Static variable in class io.grpc.Metadata
All binary headers should have this suffix in their names.
BinaryLog - Class in io.grpc
A binary log that can be installed on a channel or server.
BinaryLog() - Constructor for class io.grpc.BinaryLog
 
BindableService - Interface in io.grpc
Provides a way to bind instance of service implementation to server.
bindService() - Method in interface io.grpc.BindableService
Creates ServerServiceDefinition object for current instance of service implementation.
blockingServerStreamingCall(ClientCall<ReqT, RespT>, ReqT) - Static method in class io.grpc.stub.ClientCalls
Executes a server-streaming call returning a blocking Iterator over the response stream.
blockingServerStreamingCall(Channel, MethodDescriptor<ReqT, RespT>, CallOptions, ReqT) - Static method in class io.grpc.stub.ClientCalls
Executes a server-streaming call returning a blocking Iterator over the response stream.
blockingUnaryCall(ClientCall<ReqT, RespT>, ReqT) - Static method in class io.grpc.stub.ClientCalls
Executes a unary call and blocks on the response.
blockingUnaryCall(Channel, MethodDescriptor<ReqT, RespT>, CallOptions, ReqT) - Static method in class io.grpc.stub.ClientCalls
Executes a unary call and blocks on the response.
bossEventLoopGroup(EventLoopGroup) - Method in class io.grpc.netty.NettyServerBuilder
Provides the boss EventGroupLoop to the server.
build() - Method in class io.grpc.Attributes.Builder
Build the attributes.
build() - Method in class io.grpc.ClientStreamTracer.StreamInfo.Builder
Builds a new StreamInfo.
build() - Method in class io.grpc.ForwardingChannelBuilder
Returns the ManagedChannel built by the delegate by default.
build() - Method in class io.grpc.HttpConnectProxiedSocketAddress.Builder
Creates an HttpConnectProxiedSocketAddress.
build() - Method in class io.grpc.internal.AbstractManagedChannelImplBuilder
 
build() - Method in class io.grpc.internal.AbstractServerImplBuilder
 
build() - Method in class io.grpc.LoadBalancer.ResolvedAddresses.Builder
build() - Method in class io.grpc.ManagedChannelBuilder
Builds a channel using the given parameters.
build() - Method in class io.grpc.MethodDescriptor.Builder
Builds the method descriptor.
build() - Method in class io.grpc.NameResolver.Args.Builder
build() - Method in class io.grpc.NameResolver.ResolutionResult.Builder
Constructs a new NameResolver.ResolutionResult from this builder.
build() - Method in class io.grpc.ServerBuilder
Builds a server using the given parameters.
build() - Method in class io.grpc.ServerServiceDefinition.Builder
Construct new ServerServiceDefinition.
build() - Method in class io.grpc.ServiceDescriptor.Builder
Constructs a new ServiceDescriptor.
build(Channel, CallOptions) - Method in class io.grpc.stub.AbstractStub
Returns a new stub with the given channel for the provided method configurations.
builder(String) - Static method in class io.grpc.ServerServiceDefinition
Convenience that constructs a ServiceDescriptor simultaneously.
builder(ServiceDescriptor) - Static method in class io.grpc.ServerServiceDefinition
 
builderForAddress(String, int) - Method in class io.grpc.ManagedChannelProvider
Creates a new builder with the given host and port.
builderForAddress(String, int) - Method in class io.grpc.netty.NettyChannelProvider
 
builderForAddress(String, int) - Method in class io.grpc.okhttp.OkHttpChannelProvider
 
builderForPort(int) - Method in class io.grpc.netty.NettyServerProvider
 
builderForPort(int) - Method in class io.grpc.ServerProvider
Creates a new builder with the given port.
builderForTarget(String) - Method in class io.grpc.ManagedChannelProvider
Creates a new builder with the given target URI.
builderForTarget(String) - Method in class io.grpc.netty.NettyChannelProvider
 
builderForTarget(String) - Method in class io.grpc.okhttp.OkHttpChannelProvider
 
buildTransportFactory() - Method in class io.grpc.inprocess.InProcessChannelBuilder
 
buildTransportFactory() - Method in class io.grpc.internal.AbstractManagedChannelImplBuilder
Subclasses should override this method to provide the ClientTransportFactory appropriate for this channel.
buildTransportFactory() - Method in class io.grpc.netty.NettyChannelBuilder
 
buildTransportFactory() - Method in class io.grpc.okhttp.OkHttpChannelBuilder
 
buildTransportServers(List<? extends ServerStreamTracer.Factory>) - Method in class io.grpc.inprocess.InProcessServerBuilder
 
buildTransportServers(List<? extends ServerStreamTracer.Factory>) - Method in class io.grpc.internal.AbstractServerImplBuilder
Children of AbstractServerBuilder should override this method to provide transport specific information for the server.
buildTransportServers(List<? extends ServerStreamTracer.Factory>) - Method in class io.grpc.netty.NettyServerBuilder
 
bytesRead(int) - Method in class io.grpc.internal.ApplicationThreadDeframer
 
bytesRead(int) - Method in interface io.grpc.internal.MessageDeframer.Listener
Called when the given number of bytes has been read from the input source of the deframer.

C

call(Callable<V>) - Method in class io.grpc.Context
Immediately call a Callable with this context as the Context.current() context.
CALL_OPTIONS_RPC_OWNED_BY_BALANCER - Static variable in class io.grpc.internal.GrpcUtil
RPCs created on the Channel returned by LoadBalancer.Subchannel.asChannel() will have this option with value true.
CallCredentials - Class in io.grpc
Carries credential data that will be propagated to the server via request metadata for each RPC.
CallCredentials() - Constructor for class io.grpc.CallCredentials
 
CallCredentials.MetadataApplier - Class in io.grpc
The outlet of the produced headers.
CallCredentials.RequestInfo - Class in io.grpc
The request-related information passed to CallCredentials2.applyRequestMetadata().
CallCredentials2 - Class in io.grpc
Deprecated.
the new interface has been promoted into CallCredentials. Implementations should switch back to "extends CallCredentials".
CallCredentials2() - Constructor for class io.grpc.CallCredentials2
Deprecated.
 
CallCredentials2.MetadataApplier - Class in io.grpc
Deprecated.
 
CallOptions - Class in io.grpc
The collection of runtime options for a new RPC call.
CallOptions.Key<T> - Class in io.grpc
Key for a key-value pair.
CallStreamObserver<V> - Class in io.grpc.stub
A refinement of StreamObserver provided by the GRPC runtime to the application that allows for more complex interactions with call behavior.
CallStreamObserver() - Constructor for class io.grpc.stub.CallStreamObserver
 
cancel(String, Throwable) - Method in class io.grpc.ClientCall
Prevent any further processing for this ClientCall.
cancel(Throwable) - Method in class io.grpc.Context.CancellableContext
Cancel this context and optionally provide a cause (can be null) for the cancellation.
cancel(Status) - Method in class io.grpc.internal.AbstractClientStream
 
cancel(Status) - Method in interface io.grpc.internal.AbstractClientStream.Sink
Tears down the stream, typically in the event of a timeout.
cancel(Status) - Method in class io.grpc.internal.AbstractServerStream
 
cancel(Status) - Method in interface io.grpc.internal.AbstractServerStream.Sink
Tears down the stream, typically in the event of a timeout.
cancel(Status) - Method in interface io.grpc.internal.ClientStream
Abnormally terminates the stream.
cancel(Status) - Method in class io.grpc.internal.NoopClientStream
 
cancel(Status) - Method in interface io.grpc.internal.ServerStream
Tears down the stream, typically in the event of a timeout.
cancel(String, Throwable) - Method in class io.grpc.stub.ClientCallStreamObserver
Prevent any further processing for this ClientCallStreamObserver.
cancel() - Method in class io.grpc.SynchronizationContext.ScheduledHandle
Cancel the task if it's still pending.
cancellationCause() - Method in class io.grpc.Context.CancellableContext
 
cancellationCause() - Method in class io.grpc.Context
If a context Context.isCancelled() then return the cause of the cancellation or null if context was cancelled without a cause.
cancelled(Context) - Method in interface io.grpc.Context.CancellationListener
 
CANCELLED - Static variable in class io.grpc.Status
The operation was cancelled (typically by the caller).
canHandleEmptyAddressListFromNameResolution() - Method in class io.grpc.internal.AutoConfiguredLoadBalancerFactory.AutoConfiguredLoadBalancer
 
canHandleEmptyAddressListFromNameResolution() - Method in class io.grpc.LoadBalancer
Whether this LoadBalancer can handle empty address group list to be passed to LoadBalancer.handleResolvedAddresses(ResolvedAddresses).
canHandleEmptyAddressListFromNameResolution() - Method in class io.grpc.util.ForwardingLoadBalancer
 
captureMetadata(T, AtomicReference<Metadata>, AtomicReference<Metadata>) - Static method in class io.grpc.stub.MetadataUtils
Captures the last received metadata for a stub.
CensusStatsModule - Class in io.grpc.internal
Provides factories for StreamTracer that records stats to Census.
CensusStatsModule(Tagger, TagContextBinarySerializer, StatsRecorder, Supplier<Stopwatch>, boolean, boolean, boolean, boolean) - Constructor for class io.grpc.internal.CensusStatsModule
Creates a CensusStatsModule with the given OpenCensus implementation.
Channel - Class in io.grpc
A virtual connection to a conceptual endpoint, to perform RPCs.
Channel() - Constructor for class io.grpc.Channel
 
channelFactory(ChannelFactory<? extends Channel>) - Method in class io.grpc.netty.NettyChannelBuilder
Specifies the ChannelFactory to create Channel instances.
ChannelLogger - Class in io.grpc
A Channel-specific logger provided by GRPC library to LoadBalancer implementations.
ChannelLogger() - Constructor for class io.grpc.ChannelLogger
 
ChannelLogger.ChannelLogLevel - Enum in io.grpc
Log levels.
channelType(Class<? extends Channel>) - Method in class io.grpc.netty.NettyChannelBuilder
Specifies the channel type to use, by default we use EpollSocketChannel if available, otherwise using NioSocketChannel.
channelType(Class<? extends ServerChannel>) - Method in class io.grpc.netty.NettyServerBuilder
Specify the channel type to use, by default we use NioServerSocketChannel or EpollServerSocketChannel.
channelUnused - Variable in class io.grpc.netty.GrpcHttp2ConnectionHandler
 
checkAuthority(String) - Method in class io.grpc.internal.AbstractManagedChannelImplBuilder
Verifies the authority is valid.
checkAuthority(String) - Static method in class io.grpc.internal.GrpcUtil
Verify authority is valid for use with gRPC.
checkAuthority(String) - Method in class io.grpc.netty.NettyChannelBuilder
 
CheckedForwardingClientCall(ClientCall<ReqT, RespT>) - Constructor for class io.grpc.ClientInterceptors.CheckedForwardingClientCall
 
checkedStart(ClientCall.Listener<RespT>, Metadata) - Method in class io.grpc.ClientInterceptors.CheckedForwardingClientCall
Subclasses implement the start logic here that would normally belong to start().
checkReadable(int) - Method in class io.grpc.internal.AbstractReadableBuffer
 
clampKeepAliveTimeInNanos(long) - Static method in class io.grpc.internal.KeepAliveManager
Bumps keepalive time to 10 seconds if the specified value was smaller than that.
clampKeepAliveTimeoutInNanos(long) - Static method in class io.grpc.internal.KeepAliveManager
Bumps keepalive timeout to 10 milliseconds if the specified value was smaller than that.
ClientAuthInterceptor - Class in io.grpc.auth
Deprecated.
ClientAuthInterceptor(Credentials, Executor) - Constructor for class io.grpc.auth.ClientAuthInterceptor
Deprecated.
 
ClientCall<ReqT,RespT> - Class in io.grpc
An instance of a call to a remote method.
ClientCall() - Constructor for class io.grpc.ClientCall
 
ClientCall.Listener<T> - Class in io.grpc
Callbacks for receiving metadata, response messages and completion status from the server.
ClientCalls - Class in io.grpc.stub
Utility functions for processing different call idioms.
ClientCallStreamObserver<V> - Class in io.grpc.stub
A refinement of CallStreamObserver that allows for lower-level interaction with client calls.
ClientCallStreamObserver() - Constructor for class io.grpc.stub.ClientCallStreamObserver
 
clientInboundHeaders() - Method in class io.grpc.internal.StatsTraceContext
clientInboundTrailers(Metadata) - Method in class io.grpc.internal.StatsTraceContext
ClientInterceptor - Interface in io.grpc
Interface for intercepting outgoing calls before they are dispatched by a Channel.
ClientInterceptors - Class in io.grpc
Utility methods for working with ClientInterceptors.
ClientInterceptors.CheckedForwardingClientCall<ReqT,RespT> - Class in io.grpc
A ForwardingClientCall that delivers exceptions from its start logic to the call listener.
ClientKeepAlivePinger(ConnectionClientTransport) - Constructor for class io.grpc.internal.KeepAliveManager.ClientKeepAlivePinger
 
clientOutboundHeaders() - Method in class io.grpc.internal.StatsTraceContext
ClientResponseObserver<ReqT,RespT> - Interface in io.grpc.stub
Specialization of StreamObserver implemented by clients in order to interact with the advanced features of a call such as flow-control.
clientSendsOneMessage() - Method in enum io.grpc.MethodDescriptor.MethodType
Returns true if the client will immediately send one request message to the server after calling ClientCall.start(io.grpc.ClientCall.Listener, io.grpc.Metadata) and then immediately half-close the stream by calling ClientCall.halfClose().
ClientStream - Interface in io.grpc.internal
Extension of Stream to support client-side termination semantics.
ClientStreamListener - Interface in io.grpc.internal
An observer of client-side stream events.
ClientStreamListener.RpcProgress - Enum in io.grpc.internal
The progress of the RPC when client stream listener is closed.
ClientStreamTracer - Class in io.grpc
StreamTracer for the client-side.
ClientStreamTracer() - Constructor for class io.grpc.ClientStreamTracer
 
ClientStreamTracer.Factory - Class in io.grpc
Factory class for ClientStreamTracer.
ClientStreamTracer.StreamInfo - Class in io.grpc
Information about a stream.
ClientStreamTracer.StreamInfo.Builder - Class in io.grpc
ClientTransport - Interface in io.grpc.internal
The client-side transport typically encapsulating a single connection to a remote server.
ClientTransport.PingCallback - Interface in io.grpc.internal
A callback that is invoked when the acknowledgement to a ClientTransport.ping(io.grpc.internal.ClientTransport.PingCallback, java.util.concurrent.Executor) is received.
ClientTransportFactory - Interface in io.grpc.internal
Pre-configured factory for creating ConnectionClientTransport instances.
ClientTransportFactory.ClientTransportOptions - Class in io.grpc.internal
Options passed to #newClientTransport(SocketAddress, ClientTransportOptions).
ClientTransportOptions() - Constructor for class io.grpc.internal.ClientTransportFactory.ClientTransportOptions
 
close() - Method in class io.grpc.Context.CancellableContext
Cleans up this object by calling cancel(null).
close() - Method in class io.grpc.internal.AbstractReadableBuffer
 
close(Status, Metadata) - Method in class io.grpc.internal.AbstractServerStream
 
close() - Method in class io.grpc.internal.ApplicationThreadDeframer
 
close() - Method in interface io.grpc.internal.ClientTransportFactory
Releases any resources.
close() - Method in class io.grpc.internal.CompositeReadableBuffer
 
close() - Method in interface io.grpc.internal.Deframer
Closes this deframer and frees any resources.
close() - Method in class io.grpc.internal.ForwardingReadableBuffer
 
close() - Method in interface io.grpc.internal.Framer
Closes, with flush.
close() - Method in class io.grpc.internal.MessageDeframer
 
close() - Method in class io.grpc.internal.MessageFramer
Flushes and closes the framer and releases any buffers.
close() - Method in interface io.grpc.internal.ReadableBuffer
Closes this buffer and releases any resources.
close(Status, Metadata) - Method in interface io.grpc.internal.ServerStream
Closes the stream for both reading and writing.
close(T) - Method in interface io.grpc.internal.SharedResourceHolder.Resource
Destroy the given instance.
close(Status, Metadata) - Method in class io.grpc.ServerCall
Close the call with the provided status.
closed(Status, Metadata) - Method in interface io.grpc.internal.ClientStreamListener
Called when the stream is fully closed.
closed(Status, ClientStreamListener.RpcProgress, Metadata) - Method in interface io.grpc.internal.ClientStreamListener
Called when the stream is fully closed.
closed(Status) - Method in interface io.grpc.internal.ServerStreamListener
Called when the stream is fully closed.
closeDeframer(boolean) - Method in class io.grpc.internal.AbstractStream.TransportState
Closes the deframer and frees any resources.
closeQuietly(InputStream) - Static method in class io.grpc.internal.GrpcUtil
Closes an InputStream, ignoring IOExceptions.
closeWhenComplete() - Method in class io.grpc.internal.ApplicationThreadDeframer
 
closeWhenComplete() - Method in interface io.grpc.internal.Deframer
Close when any messages currently queued have been requested and delivered.
closeWhenComplete() - Method in class io.grpc.internal.MessageDeframer
 
code() - Method in enum io.grpc.internal.GrpcUtil.Http2Error
Gets the code for this error used on the wire.
Codec - Interface in io.grpc
Encloses classes related to the compression and decompression of messages.
Codec.Gzip - Class in io.grpc
A gzip compressor and decompressor.
Codec.Identity - Class in io.grpc
The "identity", or "none" codec.
compareTo(Deadline) - Method in class io.grpc.Deadline
 
complete() - Method in class io.grpc.internal.AbstractServerStream.TransportState
Indicates the stream is considered completely closed and there is no further opportunity for error.
complete() - Method in class io.grpc.internal.Http2Ping
Completes this operation successfully.
CompositeReadableBuffer - Class in io.grpc.internal
A ReadableBuffer that is composed of 0 or more ReadableBuffers.
CompositeReadableBuffer() - Constructor for class io.grpc.internal.CompositeReadableBuffer
 
compress(OutputStream) - Method in class io.grpc.Codec.Gzip
 
compress(OutputStream) - Method in class io.grpc.Codec.Identity
 
compress(OutputStream) - Method in interface io.grpc.Compressor
Wraps an existing output stream with a compressing output stream.
Compressor - Interface in io.grpc
Represents a message compressor.
CompressorRegistry - Class in io.grpc
Encloses classes related to the compression and decompression of messages.
compressorRegistry(CompressorRegistry) - Method in class io.grpc.ForwardingChannelBuilder
 
compressorRegistry(CompressorRegistry) - Method in class io.grpc.internal.AbstractManagedChannelImplBuilder
 
compressorRegistry(CompressorRegistry) - Method in class io.grpc.internal.AbstractServerImplBuilder
 
compressorRegistry(CompressorRegistry) - Method in class io.grpc.ManagedChannelBuilder
Set the compression registry for use in the channel.
compressorRegistry(CompressorRegistry) - Method in class io.grpc.ServerBuilder
Set the compression registry for use in the channel.
configure(SslContextBuilder) - Static method in class io.grpc.netty.GrpcSslContexts
Set ciphers and APN appropriate for gRPC.
configure(SslContextBuilder, SslProvider) - Static method in class io.grpc.netty.GrpcSslContexts
Set ciphers and APN appropriate for gRPC.
configure(SslContextBuilder, Provider) - Static method in class io.grpc.netty.GrpcSslContexts
Set ciphers and APN appropriate for gRPC.
ConnectionClientTransport - Interface in io.grpc.internal
A ManagedClientTransport that is based on a connection.
connectionSpec(ConnectionSpec) - Method in class io.grpc.okhttp.OkHttpChannelBuilder
For secure connection, provides a ConnectionSpec to specify Cipher suite and TLS versions.
ConnectivityState - Enum in io.grpc
The connectivity states.
ConnectivityStateInfo - Class in io.grpc
A tuple of a ConnectivityState and its associated Status.
containsKey(Metadata.Key<?>) - Method in class io.grpc.Metadata
Returns true if a value is defined for the given key.
CONTENT_ACCEPT_ENCODING - Static variable in class io.grpc.internal.GrpcUtil
The accepted content-encodings that can be used to compress the full gRPC stream.
CONTENT_ACCEPT_ENCODING_KEY - Static variable in class io.grpc.internal.GrpcUtil
Metadata.Key for the stream's accepted content encoding header.
CONTENT_ENCODING - Static variable in class io.grpc.internal.GrpcUtil
The content-encoding used to compress the full gRPC stream.
CONTENT_ENCODING_KEY - Static variable in class io.grpc.internal.GrpcUtil
Metadata.Key for the stream's content encoding header.
CONTENT_TYPE_GRPC - Static variable in class io.grpc.internal.GrpcUtil
Content-Type used for GRPC-over-HTTP/2.
CONTENT_TYPE_KEY - Static variable in class io.grpc.internal.GrpcUtil
Metadata.Key for the Content-Type request/response header.
Context - Class in io.grpc
A context propagation mechanism which can carry scoped-values across API boundaries and between threads.
Context.CancellableContext - Class in io.grpc
A context which inherits cancellation from its parent but which can also be independently cancelled and which will propagate cancellation to its descendants.
Context.CancellationListener - Interface in io.grpc
A listener notified on context cancellation.
Context.Key<T> - Class in io.grpc
Key for indexing values stored in a context.
Context.Storage - Class in io.grpc
Defines the mechanisms for attaching and detaching the "current" context.
Contexts - Class in io.grpc
Utility methods for working with Contexts in GRPC.
copy(InputStream, OutputStream) - Static method in class io.grpc.internal.IoUtils
Copies the data from input stream to output stream.
copyWithFlowControl(Iterator<V>, CallStreamObserver<V>) - Static method in class io.grpc.stub.StreamObservers
Copy the values of an Iterator to the target CallStreamObserver while properly accounting for outbound flow-control.
copyWithFlowControl(Iterable<V>, CallStreamObserver<V>) - Static method in class io.grpc.stub.StreamObservers
Copy the values of an Iterable to the target CallStreamObserver while properly accounting for outbound flow-control.
create(String) - Static method in class io.grpc.Attributes.Key
Factory method for creating instances of Attributes.Key.
create(String) - Static method in class io.grpc.CallOptions.Key
Factory method for creating instances of CallOptions.Key.
create() - Method in interface io.grpc.internal.SharedResourceHolder.Resource
Create a new instance of the resource.
create() - Method in class io.grpc.internal.TransportTracer.Factory
 
create(MethodDescriptor.MethodType, String, MethodDescriptor.Marshaller<RequestT>, MethodDescriptor.Marshaller<ResponseT>) - Static method in class io.grpc.MethodDescriptor
create(MethodDescriptor<ReqT, RespT>, ServerCallHandler<ReqT, RespT>) - Static method in class io.grpc.ServerMethodDefinition
Create a new instance.
create() - Static method in class io.grpc.testing.StreamRecorder
Deprecated.
Creates a new recorder.
createOobChannel(EquivalentAddressGroup, String) - Method in class io.grpc.LoadBalancer.Helper
Out-of-band channel for LoadBalancer’s own RPC needs, e.g., talking to an external load-balancer service.
createOobChannel(EquivalentAddressGroup, String) - Method in class io.grpc.util.ForwardingLoadBalancerHelper
 
createResolvingOobChannel(String) - Method in class io.grpc.LoadBalancer.Helper
Creates an out-of-band channel for LoadBalancer's own RPC needs, e.g., talking to an external load-balancer service, that is specified by a target string.
createResolvingOobChannel(String) - Method in class io.grpc.util.ForwardingLoadBalancerHelper
 
createSocketAddress(SocketAddress, Attributes) - Method in class io.grpc.netty.NettyChannelBuilder.LocalSocketPicker
Called by gRPC to pick local socket to bind to.
createSubchannel(EquivalentAddressGroup, Attributes) - Method in class io.grpc.LoadBalancer.Helper
Equivalent to LoadBalancer.Helper.createSubchannel(List, Attributes) with the given single EquivalentAddressGroup.
createSubchannel(List<EquivalentAddressGroup>, Attributes) - Method in class io.grpc.LoadBalancer.Helper
Creates a Subchannel, which is a logical connection to the given group of addresses which are considered equivalent.
createSubchannel(List<EquivalentAddressGroup>, Attributes) - Method in class io.grpc.util.ForwardingLoadBalancerHelper
 
createWithDefault(String, T) - Static method in class io.grpc.CallOptions.Key
Factory method for creating instances of CallOptions.Key.
current() - Static method in class io.grpc.Context
Return the context associated with the current scope, will never return null.
current() - Method in class io.grpc.Context.Storage
Implements Context.current().
currentContextExecutor(Executor) - Static method in class io.grpc.Context
Create an executor that propagates the Context.current() context when Executor.execute(java.lang.Runnable) is called as the Context.current() context of the Runnable scheduled.
currentTimeNanos() - Method in interface io.grpc.internal.TimeProvider
Returns the current nano time.

D

DATA_LOSS - Static variable in class io.grpc.Status
Unrecoverable data loss or corruption.
Deadline - Class in io.grpc
An absolute point in time, generally for tracking when a task should be completed.
DEADLINE_EXCEEDED - Static variable in class io.grpc.Status
Deadline expired before operation could complete.
decompress(InputStream) - Method in class io.grpc.Codec.Gzip
 
decompress(InputStream) - Method in class io.grpc.Codec.Identity
 
decompress(InputStream) - Method in interface io.grpc.Decompressor
Wraps an existing input stream with a decompressing input stream.
Decompressor - Interface in io.grpc
Represents a message decompressor.
DecompressorRegistry - Class in io.grpc
Encloses classes related to the compression and decompression of messages.
decompressorRegistry(DecompressorRegistry) - Method in class io.grpc.ForwardingChannelBuilder
 
decompressorRegistry(DecompressorRegistry) - Method in class io.grpc.internal.AbstractManagedChannelImplBuilder
 
decompressorRegistry(DecompressorRegistry) - Method in class io.grpc.internal.AbstractServerImplBuilder
 
decompressorRegistry(DecompressorRegistry) - Method in class io.grpc.ManagedChannelBuilder
Set the decompression registry for use in the channel.
decompressorRegistry(DecompressorRegistry) - Method in class io.grpc.ServerBuilder
Set the decompression registry for use in the channel.
DEFAULT - Static variable in class io.grpc.CallOptions
A blank CallOptions that all fields are not set.
DEFAULT_FLOW_CONTROL_WINDOW - Static variable in class io.grpc.netty.NettyChannelBuilder
 
DEFAULT_FLOW_CONTROL_WINDOW - Static variable in class io.grpc.netty.NettyServerBuilder
 
DEFAULT_FLOW_CONTROL_WINDOW - Static variable in class io.grpc.okhttp.OkHttpChannelBuilder
 
DEFAULT_KEEPALIVE_TIME_NANOS - Static variable in class io.grpc.internal.GrpcUtil
The default delay in nanos before we send a keepalive.
DEFAULT_KEEPALIVE_TIMEOUT_NANOS - Static variable in class io.grpc.internal.GrpcUtil
The default timeout in nanos for a keepalive ping request.
DEFAULT_LB_POLICY - Static variable in class io.grpc.internal.GrpcUtil
The very default load-balancing policy.
DEFAULT_MAX_HEADER_LIST_SIZE - Static variable in class io.grpc.internal.GrpcUtil
The default maximum size (in bytes) for inbound header/trailer.
DEFAULT_MAX_MESSAGE_SIZE - Static variable in class io.grpc.internal.GrpcUtil
The default maximum uncompressed size (in bytes) for inbound messages.
DEFAULT_ONREADY_THRESHOLD - Static variable in class io.grpc.internal.AbstractStream.TransportState
The default number of queued bytes for a given stream, below which StreamListener.onReady() will be called.
DEFAULT_PORT_PLAINTEXT - Static variable in class io.grpc.internal.GrpcUtil
The default port for plain-text connections.
DEFAULT_PORT_SSL - Static variable in class io.grpc.internal.GrpcUtil
The default port for SSL connections.
DEFAULT_PROXY_DETECTOR - Static variable in class io.grpc.internal.GrpcUtil
The default proxy detector.
DEFAULT_SERVER_KEEPALIVE_TIME_NANOS - Static variable in class io.grpc.internal.GrpcUtil
The default delay in nanos for server keepalive.
DEFAULT_SERVER_KEEPALIVE_TIMEOUT_NANOS - Static variable in class io.grpc.internal.GrpcUtil
The default timeout in nanos for a server keepalive ping request.
defaultLoadBalancingPolicy(String) - Method in class io.grpc.ForwardingChannelBuilder
 
defaultLoadBalancingPolicy(String) - Method in class io.grpc.internal.AbstractManagedChannelImplBuilder
 
defaultLoadBalancingPolicy(String) - Method in class io.grpc.ManagedChannelBuilder
Sets the default load-balancing policy that will be used if the service config doesn't specify one.
defaultServiceConfig(Map<String, ?>) - Method in class io.grpc.ForwardingChannelBuilder
 
defaultServiceConfig(Map<String, ?>) - Method in class io.grpc.internal.AbstractManagedChannelImplBuilder
 
defaultServiceConfig(Map<String, ?>) - Method in class io.grpc.ManagedChannelBuilder
Provides a service config to the channel.
deframe(ReadableBuffer) - Method in class io.grpc.internal.AbstractStream.TransportState
Called to parse a received frame and attempt delivery of any completed messages.
deframe(ReadableBuffer) - Method in class io.grpc.internal.ApplicationThreadDeframer
 
deframe(ReadableBuffer) - Method in interface io.grpc.internal.Deframer
Adds the given data to this deframer and attempts delivery to the listener.
deframe(ReadableBuffer) - Method in class io.grpc.internal.MessageDeframer
 
deframeFailed(Throwable) - Method in class io.grpc.internal.ApplicationThreadDeframer
 
deframeFailed(Throwable) - Method in interface io.grpc.internal.MessageDeframer.Listener
Called when a MessageDeframer.deframe(ReadableBuffer) operation failed.
Deframer - Interface in io.grpc.internal
Interface for deframing gRPC messages.
deframerClosed(boolean) - Method in class io.grpc.internal.AbstractClientStream.TransportState
 
deframerClosed(boolean) - Method in class io.grpc.internal.AbstractServerStream.TransportState
 
deframerClosed(boolean) - Method in class io.grpc.internal.ApplicationThreadDeframer
 
deframerClosed(boolean) - Method in interface io.grpc.internal.MessageDeframer.Listener
Called when the deframer closes.
delegate() - Method in class io.grpc.ClientInterceptors.CheckedForwardingClientCall
 
delegate() - Method in class io.grpc.ForwardingChannelBuilder
Returns the delegated ManagedChannelBuilder.
delegate() - Method in class io.grpc.ForwardingClientCall
Returns the delegated ClientCall.
delegate() - Method in class io.grpc.ForwardingClientCall.SimpleForwardingClientCall
 
delegate() - Method in class io.grpc.ForwardingClientCallListener
Returns the delegated ClientCall.Listener.
delegate() - Method in class io.grpc.ForwardingClientCallListener.SimpleForwardingClientCallListener
 
delegate() - Method in class io.grpc.ForwardingServerCall
Returns the delegated ServerCall.
delegate() - Method in class io.grpc.ForwardingServerCall.SimpleForwardingServerCall
 
delegate() - Method in class io.grpc.ForwardingServerCallListener
Returns the delegated ServerCall.Listener.
delegate() - Method in class io.grpc.ForwardingServerCallListener.SimpleForwardingServerCallListener
 
delegate() - Method in class io.grpc.util.ForwardingClientStreamTracer
Returns the underlying ClientStreamTracer.
delegate() - Method in class io.grpc.util.ForwardingLoadBalancer
Returns the underlying balancer.
delegate() - Method in class io.grpc.util.ForwardingLoadBalancerHelper
Returns the underlying helper.
deliverFrame(WritableBuffer, boolean, boolean, int) - Method in class io.grpc.internal.AbstractClientStream
 
deliverFrame(WritableBuffer, boolean, boolean, int) - Method in class io.grpc.internal.AbstractServerStream
 
deliverFrame(WritableBuffer, boolean, boolean, int) - Method in interface io.grpc.internal.MessageFramer.Sink
Delivers a frame via the transport.
DeprecatedCensusConstants - Class in io.grpc.internal
Holder class for the deprecated OpenCensus constants.
deregister(LoadBalancerProvider) - Method in class io.grpc.LoadBalancerRegistry
Deregisters a provider.
deregister(NameResolverProvider) - Method in class io.grpc.NameResolverRegistry
Deregisters a provider.
detach(Context) - Method in class io.grpc.Context.CancellableContext
 
detach(Context) - Method in class io.grpc.Context
Reverse an attach(), restoring the previous context and exiting the current scope.
detach(Context, Context) - Method in class io.grpc.Context.Storage
detachAndCancel(Context, Throwable) - Method in class io.grpc.Context.CancellableContext
Cancel this context and detach it as the current context.
directExecutor() - Method in class io.grpc.ForwardingChannelBuilder
 
directExecutor() - Method in class io.grpc.internal.AbstractManagedChannelImplBuilder
 
directExecutor() - Method in class io.grpc.internal.AbstractServerImplBuilder
 
directExecutor() - Method in class io.grpc.ManagedChannelBuilder
Execute application code directly in the transport thread.
directExecutor() - Method in class io.grpc.ServerBuilder
Execute application code directly in the transport thread.
directExecutor() - Method in class io.grpc.testing.GrpcServerRule
Returns this configured to use a direct executor for the ManagedChannel and Server.
disableAutoInboundFlowControl() - Method in class io.grpc.stub.CallStreamObserver
Disables automatic flow control where a token is returned to the peer after a call to the 'inbound' StreamObserver.onNext(Object) has completed.
disableRetry() - Method in class io.grpc.ForwardingChannelBuilder
 
disableRetry() - Method in class io.grpc.internal.AbstractManagedChannelImplBuilder
 
disableRetry() - Method in class io.grpc.ManagedChannelBuilder
Disables the retry and hedging mechanism provided by the gRPC library.
disableServiceConfigLookUp() - Method in class io.grpc.ForwardingChannelBuilder
 
disableServiceConfigLookUp() - Method in class io.grpc.internal.AbstractManagedChannelImplBuilder
 
disableServiceConfigLookUp() - Method in class io.grpc.ManagedChannelBuilder
Disables service config look-up from the naming system, which is enabled by default.
discardAll(Metadata.Key<T>) - Method in class io.grpc.Metadata
Remove all values for the given key without returning them.
dispose() - Method in interface io.grpc.internal.Framer
Closes, without flush.
dispose() - Method in class io.grpc.internal.MessageFramer
Closes the framer and releases any buffers, but does not flush.
DnsNameResolverProvider - Class in io.grpc.internal
A provider for DnsNameResolver.
DnsNameResolverProvider() - Constructor for class io.grpc.internal.DnsNameResolverProvider
 
doAttach(Context) - Method in class io.grpc.Context.Storage
Implements Context.attach().
drain() - Method in class io.grpc.SynchronizationContext
Run all tasks in the queue in the current thread, if no other thread is running this method.
Drainable - Interface in io.grpc
Extension to an InputStream or alike by adding a method that transfers all content to an OutputStream.
drainTo(OutputStream) - Method in interface io.grpc.Drainable
Transfers the entire contents of this stream to the specified target.

E

EMPTY - Static variable in class io.grpc.Attributes
 
empty() - Static method in class io.grpc.internal.ReadableBuffers
Returns an empty ReadableBuffer instance.
emptyInstance() - Static method in class io.grpc.DecompressorRegistry
 
enable(boolean) - Static method in class io.grpc.netty.HandlerSettings
Deprecated.
 
enableFullStreamDecompression() - Method in class io.grpc.ForwardingChannelBuilder
 
enableFullStreamDecompression() - Method in class io.grpc.internal.AbstractManagedChannelImplBuilder
 
enableFullStreamDecompression() - Method in class io.grpc.ManagedChannelBuilder
Enables full-stream decompression of inbound streams.
enableKeepAlive(boolean) - Method in class io.grpc.netty.NettyChannelBuilder
enableKeepAlive(boolean, long, TimeUnit, long, TimeUnit) - Method in class io.grpc.netty.NettyChannelBuilder
enableKeepAlive(boolean) - Method in class io.grpc.okhttp.OkHttpChannelBuilder
enableKeepAlive(boolean, long, TimeUnit, long, TimeUnit) - Method in class io.grpc.okhttp.OkHttpChannelBuilder
enableRetry() - Method in class io.grpc.ForwardingChannelBuilder
 
enableRetry() - Method in class io.grpc.internal.AbstractManagedChannelImplBuilder
 
enableRetry() - Method in class io.grpc.ManagedChannelBuilder
Enables the retry and hedging mechanism provided by the gRPC library.
endOfMessages() - Method in class io.grpc.internal.AbstractStream
Closes the underlying framer.
enterIdle() - Method in class io.grpc.ManagedChannel
Invoking this method moves the channel into the IDLE state and triggers tear-down of the channel's name resolver and load balancer, while still allowing on-going RPCs on the channel to continue.
equals(Object) - Method in class io.grpc.Attributes
Returns true if the given object is also a Attributes with an equal attribute values.
equals(Object) - Method in class io.grpc.ConnectivityStateInfo
 
equals(Object) - Method in class io.grpc.EquivalentAddressGroup
Returns true if the given object is also an EquivalentAddressGroup with an equal address list and equal attribute values.
equals(Object) - Method in class io.grpc.HttpConnectProxiedSocketAddress
 
equals(Object) - Method in class io.grpc.inprocess.InProcessSocketAddress
 
equals(Object) - Method in class io.grpc.internal.ClientTransportFactory.ClientTransportOptions
 
equals(Object) - Method in class io.grpc.internal.ServiceConfigUtil.LbConfig
 
equals(Object) - Method in class io.grpc.LoadBalancer.PickResult
Returns true if the LoadBalancer.Subchannel, Status, and ClientStreamTracer.Factory all match.
equals(Object) - Method in class io.grpc.LoadBalancer.ResolvedAddresses
 
equals(Object) - Method in class io.grpc.LoadBalancerProvider
Uses identity equality.
equals(Object) - Method in class io.grpc.Metadata.Key
Returns true if the two objects are both Keys, and their names match (case insensitive).
equals(Object) - Method in class io.grpc.NameResolver.ResolutionResult
Useful for testing.
equals(Object) - Method in class io.grpc.netty.ProtocolNegotiationEvent
 
equals(Object) - Method in class io.grpc.Status
Equality on Statuses is not well defined.
EquivalentAddressGroup - Class in io.grpc
A group of SocketAddresses that are considered equivalent when channel makes connections.
EquivalentAddressGroup(List<SocketAddress>) - Constructor for class io.grpc.EquivalentAddressGroup
List constructor without Attributes.
EquivalentAddressGroup(List<SocketAddress>, Attributes) - Constructor for class io.grpc.EquivalentAddressGroup
List constructor with Attributes.
EquivalentAddressGroup(SocketAddress) - Constructor for class io.grpc.EquivalentAddressGroup
Singleton constructor without Attributes.
EquivalentAddressGroup(SocketAddress, Attributes) - Constructor for class io.grpc.EquivalentAddressGroup
Singleton constructor with Attributes.
EquivalentAddressGroup.Attr - Annotation Type in io.grpc
Annotation for EquivalentAddressGroup's attributes.
eventLoopGroup(EventLoopGroup) - Method in class io.grpc.netty.NettyChannelBuilder
Provides an EventGroupLoop to be used by the netty transport.
execute(Runnable) - Method in class io.grpc.internal.SerializingExecutor
Runs the given runnable strictly after all Runnables that were submitted before it, and using the executor passed to the constructor.
execute(Runnable) - Method in class io.grpc.SynchronizationContext
Adds a task and run it in this synchronization context as soon as possible.
executeLater(Runnable) - Method in class io.grpc.SynchronizationContext
Adds a task that will be run when SynchronizationContext.drain() is called.
executor(Executor) - Method in class io.grpc.ForwardingChannelBuilder
 
executor(Executor) - Method in class io.grpc.internal.AbstractManagedChannelImplBuilder
 
executor(Executor) - Method in class io.grpc.internal.AbstractServerImplBuilder
 
executor(Executor) - Method in class io.grpc.ManagedChannelBuilder
Provides a custom executor.
executor(Executor) - Method in class io.grpc.ServerBuilder
Provides a custom executor.
ExperimentalApi - Annotation Type in io.grpc
Indicates a public API that can change at any time, and has no guarantee of API stability and backward-compatibility.
ExponentialBackoffPolicy - Class in io.grpc.internal
Retry Policy for Transport reconnection.
ExponentialBackoffPolicy() - Constructor for class io.grpc.internal.ExponentialBackoffPolicy
 
ExponentialBackoffPolicy.Provider - Class in io.grpc.internal
 
extractFullServiceName(String) - Static method in class io.grpc.MethodDescriptor
Extract the fully qualified service name out of a fully qualified method name.

F

Factory() - Constructor for class io.grpc.ClientStreamTracer.Factory
 
Factory(TimeProvider) - Constructor for class io.grpc.internal.TransportTracer.Factory
 
Factory() - Constructor for class io.grpc.LoadBalancer.Factory
 
Factory() - Constructor for class io.grpc.NameResolver.Factory
 
Factory() - Constructor for class io.grpc.ServerStreamTracer.Factory
 
fail(Status) - Method in class io.grpc.CallCredentials.MetadataApplier
Called when there has been an error when preparing the headers.
failed(Throwable) - Method in class io.grpc.internal.Http2Ping
Completes this operation exceptionally.
FAILED_PRECONDITION - Static variable in class io.grpc.Status
Operation was rejected because the system is not in a state required for the operation's execution.
FailingClientStream - Class in io.grpc.internal
An implementation of ClientStream that fails (by calling ClientStreamListener.closed(io.grpc.Status, io.grpc.Metadata)) when started, and silently does nothing for the other operations.
FailingClientStream(Status) - Constructor for class io.grpc.internal.FailingClientStream
Creates a FailingClientStream that would fail with the given error.
FailingClientStream(Status, ClientStreamListener.RpcProgress) - Constructor for class io.grpc.internal.FailingClientStream
Creates a FailingClientStream that would fail with the given error.
fallbackHandlerRegistry(HandlerRegistry) - Method in class io.grpc.internal.AbstractServerImplBuilder
 
fallbackHandlerRegistry(HandlerRegistry) - Method in class io.grpc.ServerBuilder
Sets a fallback handler registry that will be looked up in if a method is not found in the primary registry.
fillInStackTrace() - Method in exception io.grpc.StatusException
 
fillInStackTrace() - Method in exception io.grpc.StatusRuntimeException
 
filterContext(Context) - Method in class io.grpc.ServerStreamTracer
Called before the interceptors and the call handlers and make changes to the Context object if needed.
firstValue() - Method in class io.grpc.testing.StreamRecorder
Deprecated.
Returns a ListenableFuture for the first value received from the stream.
fixedContextExecutor(Executor) - Method in class io.grpc.Context
Wrap an Executor so that it always executes with this context as the Context.current() context.
FixedObjectPool<T> - Class in io.grpc.internal
An object pool that always returns the same instance and does nothing when returning the object.
FixedObjectPool(T) - Constructor for class io.grpc.internal.FixedObjectPool
 
flowControlWindow(int) - Method in class io.grpc.netty.NettyChannelBuilder
Sets the flow control window in bytes.
flowControlWindow(int) - Method in class io.grpc.netty.NettyServerBuilder
Sets the HTTP/2 flow control window.
flowControlWindow(int) - Method in class io.grpc.okhttp.OkHttpChannelBuilder
Sets the flow control window in bytes.
FlowControlWindows(long, long) - Constructor for class io.grpc.internal.TransportTracer.FlowControlWindows
 
flush() - Method in class io.grpc.internal.AbstractStream
 
flush() - Method in interface io.grpc.internal.Framer
Flush the buffered payload.
flush() - Method in class io.grpc.internal.MessageFramer
Flushes any buffered data in the framer to the sink.
flush() - Method in class io.grpc.internal.NoopClientStream
 
flush() - Method in interface io.grpc.internal.Stream
Flushes any internally buffered messages to the remote end-point.
forAddress(String, int) - Static method in class io.grpc.ForwardingChannelBuilder
This method serves to force sub classes to "hide" this static factory.
forAddress(String, int) - Static method in class io.grpc.inprocess.InProcessChannelBuilder
Always fails.
forAddress(String, int) - Static method in class io.grpc.internal.AbstractManagedChannelImplBuilder
 
forAddress(String, int) - Static method in class io.grpc.ManagedChannelBuilder
Creates a channel with the target's address and port number.
forAddress(SocketAddress) - Static method in class io.grpc.netty.NettyChannelBuilder
Creates a new builder with the given server address.
forAddress(String, int) - Static method in class io.grpc.netty.NettyChannelBuilder
Creates a new builder with the given host and port.
forAddress(SocketAddress) - Static method in class io.grpc.netty.NettyServerBuilder
Creates a server builder configured with the given SocketAddress.
forAddress(String, int) - Static method in class io.grpc.okhttp.OkHttpChannelBuilder
Creates a new builder for the given server host and port.
forClient() - Static method in class io.grpc.netty.GrpcSslContexts
Creates a SslContextBuilder with ciphers and APN appropriate for gRPC.
forCode(long) - Static method in enum io.grpc.internal.GrpcUtil.Http2Error
Looks up the HTTP/2 error code enum value for the specified code.
fork() - Method in class io.grpc.Context
Create a new context which propagates the values of this context but does not cascade its cancellation.
forName(String) - Static method in class io.grpc.inprocess.InProcessChannelBuilder
Create a channel builder that will connect to the server with the given name.
forName(String) - Static method in class io.grpc.inprocess.InProcessServerBuilder
Create a server builder that will bind with the given name.
forNonError(ConnectivityState) - Static method in class io.grpc.ConnectivityStateInfo
Returns an instance for a state that is not TRANSIENT_FAILURE.
forPort(int) - Static method in class io.grpc.inprocess.InProcessServerBuilder
Always fails.
forPort(int) - Static method in class io.grpc.internal.AbstractServerImplBuilder
 
forPort(int) - Static method in class io.grpc.netty.NettyServerBuilder
Creates a server builder that will bind to the given port.
forPort(int) - Static method in class io.grpc.ServerBuilder
Static factory for creating a new ServerBuilder.
forResource(SharedResourceHolder.Resource<T>) - Static method in class io.grpc.internal.SharedResourcePool
 
forServer(File, File) - Static method in class io.grpc.netty.GrpcSslContexts
Creates a SslContextBuilder with ciphers and APN appropriate for gRPC.
forServer(File, File, String) - Static method in class io.grpc.netty.GrpcSslContexts
Creates a SslContextBuilder with ciphers and APN appropriate for gRPC.
forServer(InputStream, InputStream) - Static method in class io.grpc.netty.GrpcSslContexts
Creates a SslContextBuilder with ciphers and APN appropriate for gRPC.
forServer(InputStream, InputStream, String) - Static method in class io.grpc.netty.GrpcSslContexts
Creates a SslContextBuilder with ciphers and APN appropriate for gRPC.
forTarget(String) - Static method in class io.grpc.ForwardingChannelBuilder
This method serves to force sub classes to "hide" this static factory.
forTarget(String) - Static method in class io.grpc.inprocess.InProcessChannelBuilder
Always fails.
forTarget(String) - Static method in class io.grpc.internal.AbstractManagedChannelImplBuilder
 
forTarget(String) - Static method in class io.grpc.ManagedChannelBuilder
Creates a channel with a target string, which can be either a valid NameResolver-compliant URI, or an authority string.
forTarget(String) - Static method in class io.grpc.netty.NettyChannelBuilder
Creates a new builder with the given target string that will be resolved by NameResolver.
forTarget(String) - Static method in class io.grpc.okhttp.OkHttpChannelBuilder
Creates a new builder for the given target that will be resolved by NameResolver.
forTransientFailure(Status) - Static method in class io.grpc.ConnectivityStateInfo
Returns an instance for TRANSIENT_FAILURE, associated with an error status.
ForwardingChannelBuilder<T extends ForwardingChannelBuilder<T>> - Class in io.grpc
A ManagedChannelBuilder that delegates all its builder method to another builder by default.
ForwardingChannelBuilder() - Constructor for class io.grpc.ForwardingChannelBuilder
The default constructor.
ForwardingClientCall<ReqT,RespT> - Class in io.grpc
A ClientCall which forwards all of it's methods to another ClientCall.
ForwardingClientCall() - Constructor for class io.grpc.ForwardingClientCall
 
ForwardingClientCall.SimpleForwardingClientCall<ReqT,RespT> - Class in io.grpc
A simplified version of ForwardingClientCall where subclasses can pass in a ClientCall as the delegate.
ForwardingClientCallListener<RespT> - Class in io.grpc
A ClientCall.Listener which forwards all of its methods to another ClientCall.Listener.
ForwardingClientCallListener() - Constructor for class io.grpc.ForwardingClientCallListener
 
ForwardingClientCallListener.SimpleForwardingClientCallListener<RespT> - Class in io.grpc
A simplified version of ForwardingClientCallListener where subclasses can pass in a ClientCall.Listener as the delegate.
ForwardingClientStreamTracer - Class in io.grpc.util
 
ForwardingClientStreamTracer() - Constructor for class io.grpc.util.ForwardingClientStreamTracer
 
ForwardingLoadBalancer - Class in io.grpc.util
 
ForwardingLoadBalancer() - Constructor for class io.grpc.util.ForwardingLoadBalancer
 
ForwardingLoadBalancerHelper - Class in io.grpc.util
 
ForwardingLoadBalancerHelper() - Constructor for class io.grpc.util.ForwardingLoadBalancerHelper
 
ForwardingReadableBuffer - Class in io.grpc.internal
Base class for a wrapper around another ReadableBuffer.
ForwardingReadableBuffer(ReadableBuffer) - Constructor for class io.grpc.internal.ForwardingReadableBuffer
Constructor.
ForwardingServerCall<ReqT,RespT> - Class in io.grpc
A ServerCall which forwards all of it's methods to another ServerCall.
ForwardingServerCall() - Constructor for class io.grpc.ForwardingServerCall
 
ForwardingServerCall.SimpleForwardingServerCall<ReqT,RespT> - Class in io.grpc
A simplified version of ForwardingServerCall where subclasses can pass in a ServerCall as the delegate.
ForwardingServerCallListener<ReqT> - Class in io.grpc
A ServerCall.Listener which forwards all of its methods to another ServerCall.Listener of matching parameterized types.
ForwardingServerCallListener() - Constructor for class io.grpc.ForwardingServerCallListener
 
ForwardingServerCallListener.SimpleForwardingServerCallListener<ReqT> - Class in io.grpc
A simplified version of ForwardingServerCallListener where subclasses can pass in a ServerCall.Listener as the delegate.
framer() - Method in class io.grpc.internal.AbstractClientStream
 
framer() - Method in class io.grpc.internal.AbstractServerStream
 
framer() - Method in class io.grpc.internal.AbstractStream
The framer to use for sending messages.
Framer - Interface in io.grpc.internal
Interface for framing gRPC messages.
from(Credentials) - Static method in class io.grpc.auth.MoreCallCredentials
Converts a Google Auth Library Credentials to CallCredentials.
fromCode(Status.Code) - Static method in class io.grpc.Status
Return a Status given a canonical error Status.Code object.
fromCodeValue(int) - Static method in class io.grpc.Status
Return a Status given a canonical error Status.Code value.
fromConfig(Object) - Static method in class io.grpc.NameResolver.ConfigOrError
Returns a NameResolver.ConfigOrError for the successfully parsed config.
fromError(Status) - Static method in class io.grpc.NameResolver.ConfigOrError
Returns a NameResolver.ConfigOrError for the failure to parse the config.
fromStatusAndTrailers(Status, Metadata) - Static method in class io.grpc.protobuf.StatusProto
Extracts the google.rpc.Status from trailers, and makes sure they match the gRPC status.
fromThrowable(Throwable) - Static method in class io.grpc.protobuf.StatusProto
Extract a Status instance from the causal chain of a Throwable.
fromThrowable(Throwable) - Static method in class io.grpc.Status
Extract an error Status from the causal chain of a Throwable.
futureUnaryCall(ClientCall<ReqT, RespT>, ReqT) - Static method in class io.grpc.stub.ClientCalls
Executes a unary call and returns a ListenableFuture to the response.

G

generateFullMethodName(String, String) - Static method in class io.grpc.MethodDescriptor
Generate the fully qualified method name.
generateName() - Static method in class io.grpc.inprocess.InProcessServerBuilder
Generates a new server name that is unique each time.
get(Attributes.Key<T>) - Method in class io.grpc.Attributes
Gets the value for the key, or null if it's not present.
get() - Method in class io.grpc.Context.Key
Get the value from the Context.current() context for this key.
get(Context) - Method in class io.grpc.Context.Key
Get the value from the specified context for this key.
get() - Method in class io.grpc.internal.AtomicBackoff.State
 
get() - Method in interface io.grpc.internal.BackoffPolicy.Provider
 
get() - Method in class io.grpc.internal.ExponentialBackoffPolicy.Provider
 
get(SharedResourceHolder.Resource<T>) - Static method in class io.grpc.internal.SharedResourceHolder
Try to get an existing instance of the given resource.
get(Metadata.Key<T>) - Method in class io.grpc.Metadata
Returns the last metadata entry added with the name 'name' parsed as T.
getAddresses() - Method in class io.grpc.EquivalentAddressGroup
Returns an immutable list of the addresses.
getAddresses() - Method in class io.grpc.LoadBalancer.ResolvedAddresses
Gets the server addresses.
getAddresses() - Method in class io.grpc.LoadBalancer.Subchannel
Returns the addresses that this Subchannel is bound to.
getAddresses() - Method in class io.grpc.NameResolver.ResolutionResult
Gets the addresses resolved by name resolution.
getAdvertisedMessageEncodings() - Method in class io.grpc.DecompressorRegistry
Provides a list of all message encodings that have decompressors available and should be advertised.
getAll(Metadata.Key<T>) - Method in class io.grpc.Metadata
Returns all the metadata entries named 'name', in the order they were received, parsed as T, or null if there are none.
getAllAddresses() - Method in class io.grpc.LoadBalancer.Subchannel
Returns the addresses that this Subchannel is bound to.
getAttributes() - Method in class io.grpc.ClientCall
Returns additional properties of the call.
getAttributes() - Method in class io.grpc.EquivalentAddressGroup
Returns the attributes.
getAttributes() - Method in class io.grpc.internal.AbstractServerStream
 
getAttributes() - Method in interface io.grpc.internal.ClientStream
Attributes that the stream holds at the current moment.
getAttributes() - Method in interface io.grpc.internal.ConnectionClientTransport
Returns a set of attributes, which may vary depending on the state of the transport.
getAttributes() - Method in class io.grpc.internal.NoopClientStream
 
getAttributes() - Method in interface io.grpc.internal.ServerStream
Attributes describing stream.
getAttributes() - Method in class io.grpc.LoadBalancer.ResolvedAddresses
Gets the attributes associated with these addresses.
getAttributes() - Method in class io.grpc.LoadBalancer.Subchannel
The same attributes passed to Helper.createSubchannel().
getAttributes() - Method in class io.grpc.NameResolver.ResolutionResult
Gets the attributes associated with the addresses resolved by name resolution.
getAttributes() - Method in class io.grpc.ServerCall
Returns properties of a single call.
getAttributes() - Method in class io.grpc.ServerStreamTracer.ServerCallInfo
 
getAuthority() - Method in class io.grpc.CallCredentials.RequestInfo
Returns the authority string used to authenticate the server for this call.
getAuthority() - Method in class io.grpc.CallOptions
Override the HTTP/2 authority the channel claims to be connecting to.
getAuthority() - Method in class io.grpc.internal.AbstractServerStream
 
getAuthority() - Method in class io.grpc.internal.ClientTransportFactory.ClientTransportOptions
 
getAuthority() - Method in interface io.grpc.internal.ServerStream
Gets the authority this stream is addressed to.
getAuthority() - Method in class io.grpc.LoadBalancer.Helper
Returns the authority string of the channel, which is derived from the DNS-style target name.
getAuthority() - Method in class io.grpc.netty.GrpcHttp2ConnectionHandler
Returns the authority of the server.
getAuthority() - Method in class io.grpc.ServerCall
Gets the authority this call is addressed to.
getAuthority() - Method in class io.grpc.ServerStreamTracer.ServerCallInfo
 
getAuthority() - Method in class io.grpc.util.ForwardingLoadBalancerHelper
 
getBalancerNameFromXdsConfig(ServiceConfigUtil.LbConfig) - Static method in class io.grpc.internal.ServiceConfigUtil
Extracts the loadbalancer name from xds loadbalancer config.
getCallOptions() - Method in class io.grpc.ClientStreamTracer.StreamInfo
Returns the effective CallOptions of the call.
getCallOptions() - Method in class io.grpc.LoadBalancer.PickSubchannelArgs
Call options.
getCallOptions() - Method in class io.grpc.stub.AbstractStub
The CallOptions of the stub.
getCause() - Method in class io.grpc.Status
The underlying cause of an error.
getChannel() - Method in class io.grpc.stub.AbstractStub
The underlying channel of the stub.
getChannel() - Method in class io.grpc.testing.GrpcServerRule
Returns a ManagedChannel connected to this service.
getChannelLogger() - Method in class io.grpc.internal.ClientTransportFactory.ClientTransportOptions
 
getChannelLogger() - Method in class io.grpc.LoadBalancer.Helper
Returns the ChannelLogger for the Channel served by this LoadBalancer.
getChannelLogger() - Method in class io.grpc.LoadBalancer.Subchannel
Returns a ChannelLogger for this Subchannel.
getChannelLogger() - Method in class io.grpc.util.ForwardingLoadBalancerHelper
 
getChannelz() - Method in class io.grpc.internal.AbstractServerImplBuilder
 
getChildPolicyFromXdsConfig(ServiceConfigUtil.LbConfig) - Static method in class io.grpc.internal.ServiceConfigUtil
Extracts list of child policies from xds loadbalancer config.
getCode() - Method in class io.grpc.Status
The canonical status code.
getCompressor() - Method in class io.grpc.CallOptions
Returns the compressor's name.
getConfig() - Method in class io.grpc.NameResolver.ConfigOrError
Returns config if exists, otherwise null.
getCredentials() - Method in class io.grpc.CallOptions
Returns the call credentials.
getDeadline() - Method in class io.grpc.CallOptions
Returns the deadline or null if the deadline is not set.
getDeadline() - Method in class io.grpc.Context.CancellableContext
 
getDeadline() - Method in class io.grpc.Context
A context may have an associated Deadline at which it will be automatically cancelled.
getDefault() - Method in class io.grpc.CallOptions.Key
Returns the user supplied default value for this key.
getDefaultFactory() - Static method in class io.grpc.internal.TransportTracer
 
getDefaultInstance() - Static method in class io.grpc.CompressorRegistry
Returns the default instance used by gRPC when the registry is not specified.
getDefaultInstance() - Static method in class io.grpc.DecompressorRegistry
 
getDefaultPort() - Method in class io.grpc.internal.AbstractManagedChannelImplBuilder
Subclasses can override this method to provide a default port to NameResolver for use in cases where the target string doesn't include a port.
getDefaultPort() - Method in class io.grpc.NameResolver.Args
The port number used in case the target or the underlying naming system doesn't provide a port number.
getDefaultPort() - Method in class io.grpc.NameResolver.Helper
Deprecated.
The port number used in case the target or the underlying naming system doesn't provide a port number.
getDefaultPort() - Method in class io.grpc.netty.NettyChannelBuilder
 
getDefaultPort() - Method in class io.grpc.okhttp.OkHttpChannelBuilder
 
getDefaultProxyDetector() - Static method in class io.grpc.internal.GrpcUtil
Returns a proxy detector appropriate for the current environment.
getDefaultRegistry() - Static method in class io.grpc.LoadBalancerRegistry
Returns the default registry that loads providers via the Java service loader mechanism.
getDefaultRegistry() - Static method in class io.grpc.NameResolverRegistry
Returns the default registry that loads providers via the Java service loader mechanism.
getDefaultScheme() - Method in class io.grpc.internal.DnsNameResolverProvider
 
getDefaultScheme() - Method in class io.grpc.NameResolver.Factory
Returns the default scheme, which will be used to construct a URI when ManagedChannelBuilder.forTarget(String) is given an authority string instead of a compliant URI.
getDelegate() - Method in class io.grpc.internal.AutoConfiguredLoadBalancerFactory.AutoConfiguredLoadBalancer
 
getDescription() - Method in class io.grpc.Status
A description of this status for human consumption.
getEagAttributes() - Method in class io.grpc.internal.ClientTransportFactory.ClientTransportOptions
 
getEagAttributes() - Method in class io.grpc.netty.GrpcHttp2ConnectionHandler
Get the attributes of the EquivalentAddressGroup used to create this transport.
getError() - Method in class io.grpc.NameResolver.ConfigOrError
Returns error status if exists, otherwise null.
getError() - Method in class io.grpc.testing.StreamRecorder
Deprecated.
Returns the stream terminating error.
getExecutor() - Method in class io.grpc.CallOptions
 
getFallbackPolicyFromXdsConfig(ServiceConfigUtil.LbConfig) - Static method in class io.grpc.internal.ServiceConfigUtil
Extracts list of fallback policies from xds loadbalancer config.
getFileDescriptor() - Method in interface io.grpc.protobuf.ProtoFileDescriptorSupplier
Returns file descriptor to the underlying proto file.
getFullMethodName() - Method in class io.grpc.MethodDescriptor
The fully qualified name of the method.
getGrpcUserAgent(String, String) - Static method in class io.grpc.internal.GrpcUtil
Gets the User-Agent string for the gRPC transport.
getHeaders() - Method in class io.grpc.LoadBalancer.PickSubchannelArgs
Headers of the call.
getHealthCheckedServiceName(Map<String, ?>) - Static method in class io.grpc.internal.ServiceConfigUtil
Fetch the health-checked service name from service config.
getHost(InetSocketAddress) - Static method in class io.grpc.internal.GrpcUtil
Returns the host via InetSocketAddress.getHostString() if it is possible, i.e.
getHttpConnectProxiedSocketAddress() - Method in class io.grpc.internal.ClientTransportFactory.ClientTransportOptions
 
getImmutableServices() - Method in class io.grpc.internal.ServerImpl
 
getImmutableServices() - Method in class io.grpc.Server
Returns immutable services registered with the server, or an empty list if not supported by the implementation.
getKnownMessageEncodings() - Method in class io.grpc.DecompressorRegistry
Provides a list of all message encodings that have decompressors available.
getLatestClientWindow() - Static method in class io.grpc.netty.HandlerSettings
Deprecated.
 
getLatestServerWindow() - Static method in class io.grpc.netty.HandlerSettings
Deprecated.
 
getListenSocketAddress() - Method in interface io.grpc.internal.InternalServer
Returns the listening socket address.
getListenSockets() - Method in class io.grpc.internal.ServerImpl
 
getListenSockets() - Method in class io.grpc.Server
Returns a list of listening sockets for this server.
getListenSocketStats() - Method in interface io.grpc.internal.InternalServer
Returns the listen socket stats of this server.
getLoadBalancingConfigsFromServiceConfig(Map<String, ?>) - Static method in class io.grpc.internal.ServiceConfigUtil
Extracts load balancing configs from a service config.
getLoadBalancingPolicyConfig() - Method in class io.grpc.LoadBalancer.ResolvedAddresses
Gets the domain specific load balancing policy.
getLogId() - Method in class io.grpc.internal.ServerImpl
 
getMaxInboundMessageSize() - Method in class io.grpc.CallOptions
Gets the maximum allowed message size acceptable from the remote peer.
getMaxOutboundMessageSize() - Method in class io.grpc.CallOptions
Gets the maximum allowed message size acceptable to send the remote peer.
getMessageClass() - Method in interface io.grpc.MethodDescriptor.ReflectableMarshaller
Returns the Class that this marshaller serializes and deserializes.
getMessageEncoding() - Method in class io.grpc.Codec.Gzip
 
getMessageEncoding() - Method in class io.grpc.Codec.Identity
 
getMessageEncoding() - Method in interface io.grpc.Compressor
Returns the message encoding that this compressor uses.
getMessageEncoding() - Method in interface io.grpc.Decompressor
Returns the message encoding that this compressor uses.
getMessagePrototype() - Method in interface io.grpc.MethodDescriptor.PrototypeMarshaller
An instance of the expected message type, typically used as a schema and helper for producing other message instances.
getMethod(String) - Method in class io.grpc.ServerServiceDefinition
Look up a method by its fully qualified name.
getMethodDescriptor() - Method in class io.grpc.CallCredentials.RequestInfo
The method descriptor of this RPC.
getMethodDescriptor() - Method in class io.grpc.ForwardingServerCall.SimpleForwardingServerCall
 
getMethodDescriptor() - Method in class io.grpc.LoadBalancer.PickSubchannelArgs
Call method.
getMethodDescriptor() - Method in interface io.grpc.protobuf.ProtoMethodDescriptorSupplier
Returns method descriptor to the proto service method.
getMethodDescriptor() - Method in class io.grpc.ServerCall
The MethodDescriptor for the call.
getMethodDescriptor() - Method in class io.grpc.ServerMethodDefinition
The MethodDescriptor for this method.
getMethodDescriptor() - Method in class io.grpc.ServerStreamTracer.ServerCallInfo
 
getMethods() - Method in class io.grpc.ServerServiceDefinition
Gets all the methods of service.
getMethods() - Method in class io.grpc.ServiceDescriptor
A collection of MethodDescriptor instances describing the methods exposed by the service.
getMutableServices() - Method in class io.grpc.internal.ServerImpl
 
getMutableServices() - Method in class io.grpc.Server
Returns mutable services registered with the server, or an empty list if not supported by the implementation.
getName() - Method in class io.grpc.inprocess.InProcessSocketAddress
Gets the name of the inprocess channel or server.
getName() - Method in class io.grpc.ServiceDescriptor
Simple name of the service.
getNameResolverFactory() - Method in class io.grpc.LoadBalancer.Helper
Deprecated.
this method will be deleted in a future release. If you think it shouldn't be deleted, please file an issue on github.
getNameResolverFactory() - Method in class io.grpc.util.ForwardingLoadBalancerHelper
Deprecated.
getObject() - Method in class io.grpc.internal.FixedObjectPool
 
getObject() - Method in interface io.grpc.internal.ObjectPool
Get an object from the pool.
getObject() - Method in class io.grpc.internal.SharedResourcePool
 
getOption(CallOptions.Key<T>) - Method in class io.grpc.CallOptions
Get the value for a custom option or its inherent default.
getPassword() - Method in class io.grpc.HttpConnectProxiedSocketAddress
Returns the password used to connect to the proxy.
getPolicyName() - Method in class io.grpc.internal.PickFirstLoadBalancerProvider
 
getPolicyName() - Method in class io.grpc.internal.ServiceConfigUtil.LbConfig
 
getPolicyName() - Method in class io.grpc.LoadBalancerProvider
Returns the load-balancing policy name associated with this provider, which makes it selectable via LoadBalancerRegistry.getProvider(java.lang.String).
getPort() - Method in class io.grpc.internal.ServerImpl
 
getPort() - Method in class io.grpc.Server
Returns the port number the server is listening on.
getPriority() - Method in class io.grpc.internal.PickFirstLoadBalancerProvider
 
getPriority() - Method in class io.grpc.LoadBalancerProvider
A priority, from 0 to 10 that this provider should be used, taking the current environment into consideration.
getProvider(String) - Method in class io.grpc.LoadBalancerRegistry
Returns the effective provider for the given load-balancing policy, or null if no suitable provider can be found.
getProxyAddress() - Method in class io.grpc.HttpConnectProxiedSocketAddress
Returns the address to the proxy, which is already resolved.
getProxyDetector() - Method in class io.grpc.NameResolver.Args
If the NameResolver wants to support proxy, it should inquire this ProxyDetector.
getProxyDetector() - Method in class io.grpc.NameResolver.Helper
Deprecated.
If the NameResolver wants to support proxy, it should inquire this ProxyDetector.
getRawConfigValue() - Method in class io.grpc.internal.ServiceConfigUtil.LbConfig
 
getRequestMarshaller() - Method in class io.grpc.MethodDescriptor
Returns the marshaller for the request type.
getResponseMarshaller() - Method in class io.grpc.MethodDescriptor
Returns the marshaller for the response type.
getScheduledExecutorService() - Method in interface io.grpc.internal.ClientTransportFactory
Returns an executor for scheduling provided by the transport.
getScheduledExecutorService() - Method in interface io.grpc.internal.ServerTransport
Returns an executor for scheduling provided by the transport.
getScheduledExecutorService() - Method in class io.grpc.LoadBalancer.Helper
Returns a ScheduledExecutorService for scheduling delayed tasks.
getScheduledExecutorService() - Method in class io.grpc.util.ForwardingLoadBalancerHelper
 
getSchemaDescriptor() - Method in class io.grpc.MethodDescriptor
Returns the schema descriptor for this method.
getSchemaDescriptor() - Method in class io.grpc.ServiceDescriptor
Returns the schema descriptor for this service.
getSecurityLevel() - Method in class io.grpc.CallCredentials.RequestInfo
The security level on the transport.
getServer() - Method in class io.grpc.testing.GrpcServerRule
Returns the underlying gRPC Server for this service.
getServerCallHandler() - Method in class io.grpc.ServerMethodDefinition
Handler for incoming calls.
getServerName() - Method in class io.grpc.testing.GrpcServerRule
Returns the randomly generated server name for this service.
getServiceAuthority() - Method in class io.grpc.NameResolver
Returns the authority used to authenticate connections to servers.
getServiceConfig() - Method in class io.grpc.NameResolver.ResolutionResult
Gets the Service Config parsed by NameResolver.Helper.parseServiceConfig(Map).
getServiceConfigParser() - Method in class io.grpc.NameResolver.Args
getServiceDescriptor() - Method in interface io.grpc.protobuf.ProtoServiceDescriptorSupplier
Returns service descriptor to the proto service.
getServiceDescriptor() - Method in class io.grpc.ServerServiceDefinition
The descriptor for the service.
getServiceName() - Method in class io.grpc.MethodDescriptor
A convenience method for extractFullServiceName(getFullMethodName()).
getServiceRegistry() - Method in class io.grpc.testing.GrpcServerRule
Returns the service registry for this service.
getServices() - Method in class io.grpc.HandlerRegistry
Returns the ServerServiceDefinitions provided by the registry, or an empty list if not supported by the implementation.
getServices() - Method in class io.grpc.internal.ServerImpl
 
getServices() - Method in class io.grpc.Server
Returns all services registered with the server, or an empty list if not supported by the implementation.
getServices() - Method in class io.grpc.util.MutableHandlerRegistry
Note: This does not necessarily return a consistent view of the map.
getState() - Method in class io.grpc.ConnectivityStateInfo
Returns the state.
getState() - Method in class io.grpc.internal.AtomicBackoff
Returns the current state.
getState(boolean) - Method in class io.grpc.ManagedChannel
Gets the current connectivity state.
getStats() - Method in class io.grpc.internal.ServerImpl
 
getStats() - Method in class io.grpc.internal.TransportTracer
Returns a read only set of current stats.
getStatsTraceContext() - Method in class io.grpc.internal.AbstractStream.TransportState
 
getStatus() - Method in class io.grpc.ConnectivityStateInfo
Returns the status associated with the state.
getStatus() - Method in class io.grpc.LoadBalancer.PickResult
The status associated with this result.
getStatus() - Method in exception io.grpc.StatusException
Returns the status code as a Status object.
getStatus() - Method in exception io.grpc.StatusRuntimeException
Returns the status code as a Status object.
getStickinessMetadataKeyFromServiceConfig(Map<String, ?>) - Static method in class io.grpc.internal.ServiceConfigUtil
Extracts the stickiness metadata key from a service config, or null.
getStreamTracerFactories() - Method in class io.grpc.CallOptions
Returns an immutable list of ClientStreamTracerFactorys.
getStreamTracerFactory() - Method in class io.grpc.LoadBalancer.PickResult
The stream tracer factory this result was created with.
getSubchannel() - Method in class io.grpc.LoadBalancer.PickResult
The Subchannel if this result was created by withSubchannel(), or null otherwise.
getSynchronizationContext() - Method in class io.grpc.LoadBalancer.Helper
Returns a SynchronizationContext that runs tasks in the same Synchronization Context as that the callback methods on the LoadBalancer interface are run in.
getSynchronizationContext() - Method in class io.grpc.NameResolver.Args
getSynchronizationContext() - Method in class io.grpc.NameResolver.Helper
Deprecated.
getSynchronizationContext() - Method in class io.grpc.util.ForwardingLoadBalancerHelper
 
getTargetAddress() - Method in class io.grpc.HttpConnectProxiedSocketAddress
Returns the address to the target server.
getThreadFactory(String, boolean) - Static method in class io.grpc.internal.GrpcUtil
Get a ThreadFactory suitable for use in the current environment.
getTracersForTest() - Method in class io.grpc.internal.StatsTraceContext
Returns a copy of the tracer list.
getTrailers() - Method in exception io.grpc.StatusException
Returns the received trailers.
getTrailers() - Method in exception io.grpc.StatusRuntimeException
Returns the received trailers.
getTransportAttrs() - Method in class io.grpc.CallCredentials.RequestInfo
Returns the transport attributes.
getTransportAttrs() - Method in class io.grpc.ClientStreamTracer.StreamInfo
Returns the attributes of the transport that this stream was created on.
getTransportTracer() - Method in class io.grpc.internal.AbstractClientStream
 
getTransportTracer() - Method in class io.grpc.internal.AbstractStream.TransportState
 
getTransportTracerFactory() - Method in class io.grpc.internal.AbstractServerImplBuilder
 
getType() - Method in class io.grpc.MethodDescriptor
The call type of the method.
getUserAgent() - Method in class io.grpc.internal.ClientTransportFactory.ClientTransportOptions
 
getUsername() - Method in class io.grpc.HttpConnectProxiedSocketAddress
Returns the username used to connect to the proxy.
getValues() - Method in class io.grpc.testing.StreamRecorder
Deprecated.
Returns the current set of received values.
Grpc - Class in io.grpc
Stuff that are part of the public API but are not bound to particular classes, e.g., static methods, constants, attribute and context keys.
Grpc.TransportAttr - Annotation Type in io.grpc
Annotation for transport attributes.
GrpcAttributes - Class in io.grpc.internal
Special attributes that are only useful to gRPC.
GrpcCleanupRule - Class in io.grpc.testing
A JUnit TestRule that can register gRPC resources and manages its automatic release at the end of the test.
GrpcCleanupRule() - Constructor for class io.grpc.testing.GrpcCleanupRule
 
GrpcHttp2ConnectionHandler - Class in io.grpc.netty
gRPC wrapper for Http2ConnectionHandler.
GrpcHttp2ConnectionHandler(ChannelPromise, Http2ConnectionDecoder, Http2ConnectionEncoder, Http2Settings) - Constructor for class io.grpc.netty.GrpcHttp2ConnectionHandler
 
GrpcServerRule - Class in io.grpc.testing
GrpcServerRule is a JUnit TestRule that starts an in-process gRPC service with a MutableHandlerRegistry for adding services.
GrpcServerRule() - Constructor for class io.grpc.testing.GrpcServerRule
 
GrpcSslContexts - Class in io.grpc.netty
Utility for configuring SslContext for gRPC.
GrpcUtil - Class in io.grpc.internal
Common utilities for GRPC.
GrpcUtil.Http2Error - Enum in io.grpc.internal
All error codes identified by the HTTP/2 spec.
Gzip() - Constructor for class io.grpc.Codec.Gzip
 

H

halfClose() - Method in class io.grpc.ClientCall
Close the call for request message sending.
halfClose() - Method in class io.grpc.internal.AbstractClientStream
 
halfClose() - Method in interface io.grpc.internal.ClientStream
Closes the local side of this stream and flushes any remaining messages.
halfClose() - Method in class io.grpc.internal.NoopClientStream
 
halfClosed() - Method in interface io.grpc.internal.ServerStreamListener
Called when the remote side of the transport gracefully closed, indicating the client had no more data to send.
handleInUse() - Method in class io.grpc.internal.InUseStateAggregator
Called when the aggregated in-use state has changed to true, which means at least one object is in use.
handleNameResolutionError(Status) - Method in class io.grpc.internal.AutoConfiguredLoadBalancerFactory.AutoConfiguredLoadBalancer
 
handleNameResolutionError(Status) - Method in class io.grpc.LoadBalancer
Handles an error from the name resolution system.
handleNameResolutionError(Status) - Method in class io.grpc.util.ForwardingLoadBalancer
 
handleNotInUse() - Method in class io.grpc.internal.InUseStateAggregator
Called when the aggregated in-use state has changed to false, which means no object is in use.
handleProtocolNegotiationCompleted(Attributes) - Method in class io.grpc.netty.GrpcHttp2ConnectionHandler
Deprecated.
Use the two argument method instead.
handleProtocolNegotiationCompleted(Attributes, InternalChannelz.Security) - Method in class io.grpc.netty.GrpcHttp2ConnectionHandler
Triggered on protocol negotiation completion.
handleResolvedAddresses(LoadBalancer.ResolvedAddresses) - Method in class io.grpc.internal.AutoConfiguredLoadBalancerFactory.AutoConfiguredLoadBalancer
 
handleResolvedAddresses(LoadBalancer.ResolvedAddresses) - Method in class io.grpc.LoadBalancer
Handles newly resolved server groups and metadata attributes from name resolution system.
handleResolvedAddresses(LoadBalancer.ResolvedAddresses) - Method in class io.grpc.util.ForwardingLoadBalancer
 
handleResolvedAddressGroups(List<EquivalentAddressGroup>, Attributes) - Method in class io.grpc.LoadBalancer
Deprecated.
override instead
handleResolvedAddressGroups(List<EquivalentAddressGroup>, Attributes) - Method in class io.grpc.util.ForwardingLoadBalancer
Deprecated.
HandlerRegistry - Class in io.grpc
Registry of services and their methods used by servers to dispatching incoming calls.
HandlerRegistry() - Constructor for class io.grpc.HandlerRegistry
 
HandlerSettings - Class in io.grpc.netty
Deprecated.
renamed to InternalHandlerSettings and should not be used externally
HandlerSettings() - Constructor for class io.grpc.netty.HandlerSettings
Deprecated.
 
handleSubchannelState(LoadBalancer.Subchannel, ConnectivityStateInfo) - Method in class io.grpc.internal.AutoConfiguredLoadBalancerFactory.AutoConfiguredLoadBalancer
 
handleSubchannelState(LoadBalancer.Subchannel, ConnectivityStateInfo) - Method in class io.grpc.LoadBalancer
Handles a state change on a Subchannel.
handleSubchannelState(LoadBalancer.Subchannel, ConnectivityStateInfo) - Method in class io.grpc.util.ForwardingLoadBalancer
 
handshakeTimeout(long, TimeUnit) - Method in class io.grpc.internal.AbstractServerImplBuilder
 
handshakeTimeout(long, TimeUnit) - Method in class io.grpc.ServerBuilder
Sets the permitted time for new connections to complete negotiation handshakes before being killed.
hasArray() - Method in class io.grpc.internal.AbstractReadableBuffer
 
hasArray() - Method in class io.grpc.internal.ForwardingReadableBuffer
 
hasArray() - Method in interface io.grpc.internal.ReadableBuffer
Indicates whether or not this buffer exposes a backing array.
hashCode() - Method in class io.grpc.Attributes
Returns a hash code for the attributes.
hashCode() - Method in class io.grpc.ConnectivityStateInfo
 
hashCode() - Method in class io.grpc.EquivalentAddressGroup
 
hashCode() - Method in class io.grpc.HttpConnectProxiedSocketAddress
 
hashCode() - Method in class io.grpc.inprocess.InProcessSocketAddress
 
hashCode() - Method in class io.grpc.internal.ClientTransportFactory.ClientTransportOptions
 
hashCode() - Method in class io.grpc.internal.ServiceConfigUtil.LbConfig
 
hashCode() - Method in class io.grpc.LoadBalancer.PickResult
 
hashCode() - Method in class io.grpc.LoadBalancer.ResolvedAddresses
 
hashCode() - Method in class io.grpc.LoadBalancerProvider
 
hashCode() - Method in class io.grpc.Metadata.Key
 
hashCode() - Method in class io.grpc.NameResolver.ResolutionResult
Useful for testing.
hashCode() - Method in class io.grpc.netty.ProtocolNegotiationEvent
This method is not efficient and is intended for testing.
hashCode() - Method in class io.grpc.Status
Hash codes on Statuses are not well defined.
headersRead(Metadata) - Method in interface io.grpc.internal.ClientStreamListener
Called upon receiving all header information from the remote end-point.
Helper() - Constructor for class io.grpc.LoadBalancer.Helper
 
Helper() - Constructor for class io.grpc.NameResolver.Helper
Deprecated.
 
hostnameVerifier(HostnameVerifier) - Method in class io.grpc.okhttp.OkHttpChannelBuilder
Set the hostname verifier to use when using TLS negotiation.
Http2ClientStreamTransportState - Class in io.grpc.internal
Base implementation for client streams using HTTP2 as the transport.
Http2ClientStreamTransportState(int, StatsTraceContext, TransportTracer) - Constructor for class io.grpc.internal.Http2ClientStreamTransportState
 
Http2Ping - Class in io.grpc.internal
Represents an outstanding PING operation on an HTTP/2 channel.
Http2Ping(long, Stopwatch) - Constructor for class io.grpc.internal.Http2Ping
Creates a new ping operation.
http2ProcessingFailed(Status, boolean, Metadata) - Method in class io.grpc.internal.Http2ClientStreamTransportState
Called to process a failure in HTTP/2 processing.
HTTP_METHOD - Static variable in class io.grpc.internal.GrpcUtil
The HTTP method used for GRPC requests.
HttpConnectProxiedSocketAddress - Class in io.grpc
An ProxiedSocketAddress for making a connection to an endpoint via an HTTP CONNECT proxy.
HttpConnectProxiedSocketAddress.Builder - Class in io.grpc
httpStatusToGrpcStatus(int) - Static method in class io.grpc.internal.GrpcUtil
Maps HTTP error response status codes to transport codes, as defined in http-grpc-status-mapping.md.

I

idleTimeout(long, TimeUnit) - Method in class io.grpc.ForwardingChannelBuilder
 
idleTimeout(long, TimeUnit) - Method in class io.grpc.internal.AbstractManagedChannelImplBuilder
 
idleTimeout(long, TimeUnit) - Method in class io.grpc.ManagedChannelBuilder
Set the duration without ongoing RPCs before going to idle mode.
ignoreClose(ReadableBuffer) - Static method in class io.grpc.internal.ReadableBuffers
Decorates the given ReadableBuffer to ignore calls to ReadableBuffer.close().
inboundDataReceived(ReadableBuffer) - Method in class io.grpc.internal.AbstractClientStream.TransportState
Processes the contents of a received data frame from the server.
inboundDataReceived(ReadableBuffer, boolean) - Method in class io.grpc.internal.AbstractServerStream.TransportState
Called in the transport thread to process the content of an inbound DATA frame from the client.
inboundHeaders() - Method in class io.grpc.ClientStreamTracer
Headers has been received from the server.
inboundHeaders() - Method in class io.grpc.util.ForwardingClientStreamTracer
 
inboundHeadersReceived(Metadata) - Method in class io.grpc.internal.AbstractClientStream.TransportState
Called by transport implementations when they receive headers.
inboundMessage(int) - Method in class io.grpc.internal.StatsTraceContext
inboundMessage(int) - Method in class io.grpc.StreamTracer
An inbound message has been received by the stream.
inboundMessage(int) - Method in class io.grpc.util.ForwardingClientStreamTracer
 
inboundMessageRead(int, long, long) - Method in class io.grpc.internal.StatsTraceContext
inboundMessageRead(int, long, long) - Method in class io.grpc.StreamTracer
An inbound message has been fully read from the transport.
inboundMessageRead(int, long, long) - Method in class io.grpc.util.ForwardingClientStreamTracer
 
inboundTrailers(Metadata) - Method in class io.grpc.ClientStreamTracer
Trailing metadata has been received from the server.
inboundTrailers(Metadata) - Method in class io.grpc.util.ForwardingClientStreamTracer
 
inboundTrailersReceived(Metadata, Status) - Method in class io.grpc.internal.AbstractClientStream.TransportState
Processes the trailers and status from the server.
inboundUncompressedSize(long) - Method in class io.grpc.internal.StatsTraceContext
inboundUncompressedSize(long) - Method in class io.grpc.StreamTracer
The uncompressed size of some inbound data is revealed.
inboundUncompressedSize(long) - Method in class io.grpc.util.ForwardingClientStreamTracer
 
inboundWireSize(long) - Method in class io.grpc.internal.StatsTraceContext
inboundWireSize(long) - Method in class io.grpc.StreamTracer
The wire size of some inbound data is revealed.
inboundWireSize(long) - Method in class io.grpc.util.ForwardingClientStreamTracer
 
InProcessChannelBuilder - Class in io.grpc.inprocess
Builder for a channel that issues in-process requests.
InProcessServerBuilder - Class in io.grpc.inprocess
Builder for a server that services in-process requests.
InProcessSocketAddress - Class in io.grpc.inprocess
Custom SocketAddress class for InProcessTransport.
InProcessSocketAddress(String) - Constructor for class io.grpc.inprocess.InProcessSocketAddress
 
INSTANCE - Static variable in class io.grpc.internal.NoopClientStream
 
instance() - Static method in class io.grpc.util.TransmitStatusRuntimeExceptionInterceptor
 
intercept(Channel, ClientInterceptor...) - Static method in class io.grpc.ClientInterceptors
Create a new Channel that will call interceptors before starting a call on the given channel.
intercept(Channel, List<? extends ClientInterceptor>) - Static method in class io.grpc.ClientInterceptors
Create a new Channel that will call interceptors before starting a call on the given channel.
intercept(List<ClientInterceptor>) - Method in class io.grpc.ForwardingChannelBuilder
 
intercept(ClientInterceptor...) - Method in class io.grpc.ForwardingChannelBuilder
 
intercept(List<ClientInterceptor>) - Method in class io.grpc.internal.AbstractManagedChannelImplBuilder
 
intercept(ClientInterceptor...) - Method in class io.grpc.internal.AbstractManagedChannelImplBuilder
 
intercept(ServerInterceptor) - Method in class io.grpc.internal.AbstractServerImplBuilder
 
intercept(List<ClientInterceptor>) - Method in class io.grpc.ManagedChannelBuilder
Adds interceptors that will be called before the channel performs its real work.
intercept(ClientInterceptor...) - Method in class io.grpc.ManagedChannelBuilder
Adds interceptors that will be called before the channel performs its real work.
intercept(ServerInterceptor) - Method in class io.grpc.ServerBuilder
Adds a ServerInterceptor that is run for all services on the server.
intercept(ServerServiceDefinition, ServerInterceptor...) - Static method in class io.grpc.ServerInterceptors
Create a new ServerServiceDefinition whose ServerCallHandlers will call interceptors before calling the pre-existing ServerCallHandler.
intercept(BindableService, ServerInterceptor...) - Static method in class io.grpc.ServerInterceptors
 
intercept(ServerServiceDefinition, List<? extends ServerInterceptor>) - Static method in class io.grpc.ServerInterceptors
Create a new ServerServiceDefinition whose ServerCallHandlers will call interceptors before calling the pre-existing ServerCallHandler.
intercept(BindableService, List<? extends ServerInterceptor>) - Static method in class io.grpc.ServerInterceptors
 
interceptCall(MethodDescriptor<ReqT, RespT>, CallOptions, Channel) - Method in class io.grpc.auth.ClientAuthInterceptor
Deprecated.
 
interceptCall(MethodDescriptor<ReqT, RespT>, CallOptions, Channel) - Method in interface io.grpc.ClientInterceptor
Intercept ClientCall creation by the next Channel.
interceptCall(Context, ServerCall<ReqT, RespT>, Metadata, ServerCallHandler<ReqT, RespT>) - Static method in class io.grpc.Contexts
Make the provided Context Context.current() for the creation of a listener to a received call and for all events received by that listener.
interceptCall(ServerCall<ReqT, RespT>, Metadata, ServerCallHandler<ReqT, RespT>) - Method in interface io.grpc.ServerInterceptor
Intercept ServerCall dispatch by the next ServerCallHandler.
interceptCall(ServerCall<ReqT, RespT>, Metadata, ServerCallHandler<ReqT, RespT>) - Method in class io.grpc.util.TransmitStatusRuntimeExceptionInterceptor
 
interceptForward(Channel, ClientInterceptor...) - Static method in class io.grpc.ClientInterceptors
Create a new Channel that will call interceptors before starting a call on the given channel.
interceptForward(Channel, List<? extends ClientInterceptor>) - Static method in class io.grpc.ClientInterceptors
Create a new Channel that will call interceptors before starting a call on the given channel.
interceptForward(ServerServiceDefinition, ServerInterceptor...) - Static method in class io.grpc.ServerInterceptors
Create a new ServerServiceDefinition whose ServerCallHandlers will call interceptors before calling the pre-existing ServerCallHandler.
interceptForward(BindableService, ServerInterceptor...) - Static method in class io.grpc.ServerInterceptors
 
interceptForward(ServerServiceDefinition, List<? extends ServerInterceptor>) - Static method in class io.grpc.ServerInterceptors
Create a new ServerServiceDefinition whose ServerCallHandlers will call interceptors before calling the pre-existing ServerCallHandler.
interceptForward(BindableService, List<? extends ServerInterceptor>) - Static method in class io.grpc.ServerInterceptors
 
Internal - Annotation Type in io.grpc
Annotates a program element (class, method, package, etc) which is internal to gRPC, not part of the public API, and should not be used by users of gRPC.
INTERNAL - Static variable in class io.grpc.Status
Internal errors.
InternalServer - Interface in io.grpc.internal
An object that accepts new incoming connections.
InUseStateAggregator<T> - Class in io.grpc.internal
Aggregates the in-use state of a set of objects.
InUseStateAggregator() - Constructor for class io.grpc.internal.InUseStateAggregator
 
INVALID_ARGUMENT - Static variable in class io.grpc.Status
Client specified an invalid argument.
io.grpc - package io.grpc
The gRPC core public API.
io.grpc.auth - package io.grpc.auth
Implementations of CallCredentials and authentication related API.
io.grpc.inprocess - package io.grpc.inprocess
The in-process transport which is for when a server is in the same process as the client.
io.grpc.internal - package io.grpc.internal
Interfaces and implementations that are internal to gRPC.
io.grpc.netty - package io.grpc.netty
The main transport implementation based on Netty, for both the client and the server.
io.grpc.okhttp - package io.grpc.okhttp
A lightweight transport based on OkHttp, mainly for use on Android (client-only).
io.grpc.protobuf - package io.grpc.protobuf
API for gRPC over Protocol Buffers, including tools for serializing and de-serializing protobuf messages.
io.grpc.protobuf.lite - package io.grpc.protobuf.lite
API for gRPC over Protocol Buffers with proto message classes generated by the Lite Runtime library.
io.grpc.protobuf.nano - package io.grpc.protobuf.nano
API for gRPC over Protocol Buffers with proto message classes generated by the JavaNano compiler.
io.grpc.stub - package io.grpc.stub
API for the Stub layer.
io.grpc.stub.annotations - package io.grpc.stub.annotations
 
io.grpc.testing - package io.grpc.testing
API that is useful for testing gRPC.
io.grpc.util - package io.grpc.util
Utilities with advanced features in the core layer that user can optionally use.
IoUtils - Class in io.grpc.internal
Common IoUtils for thrift and nanopb to convert inputstream to bytes.
IoUtils() - Constructor for class io.grpc.internal.IoUtils
 
IS_RESTRICTED_APPENGINE - Static variable in class io.grpc.internal.GrpcUtil
 
isAvailable() - Method in class io.grpc.internal.DnsNameResolverProvider
 
isAvailable() - Method in class io.grpc.internal.PickFirstLoadBalancerProvider
 
isAvailable() - Method in class io.grpc.LoadBalancerProvider
Whether this provider is available for use, taking the current environment into consideration.
isAvailable() - Method in class io.grpc.ManagedChannelProvider
Whether this provider is available for use, taking the current environment into consideration.
isAvailable() - Method in class io.grpc.NameResolverProvider
Whether this provider is available for use, taking the current environment into consideration.
isAvailable() - Method in class io.grpc.netty.NettyChannelProvider
 
isAvailable() - Method in class io.grpc.netty.NettyServerProvider
 
isAvailable() - Method in class io.grpc.okhttp.OkHttpChannelProvider
 
isAvailable() - Method in class io.grpc.ServerProvider
Whether this provider is available for use, taking the current environment into consideration.
isBefore(Deadline) - Method in class io.grpc.Deadline
Is this deadline before another.
isCancelled() - Method in class io.grpc.Context.CancellableContext
 
isCancelled() - Method in class io.grpc.Context
Is this context cancelled.
isCancelled() - Method in class io.grpc.ServerCall
Returns true when the call is cancelled and the server is encouraged to abort processing to save resources, since the client will not be processing any further methods.
isCancelled() - Method in class io.grpc.stub.ServerCallStreamObserver
If true indicates that the call has been cancelled by the remote peer.
isClosed() - Method in interface io.grpc.internal.Framer
Returns whether the framer is closed.
isClosed() - Method in class io.grpc.internal.MessageDeframer
Indicates whether or not this deframer has been closed.
isClosed() - Method in class io.grpc.internal.MessageFramer
Indicates whether or not this framer has been closed via a call to either MessageFramer.close() or MessageFramer.dispose().
isCurrent() - Method in class io.grpc.Context.CancellableContext
Deprecated.
This method violates some GRPC class encapsulation and should not be used. If you must know whether a Context is the current context, check whether it is the same object returned by Context.current().
isDrop() - Method in class io.grpc.LoadBalancer.PickResult
Returns true if this result was created by withDrop().
isExpired() - Method in class io.grpc.Deadline
Has this deadline expired
isGrpcContentType(String) - Static method in class io.grpc.internal.GrpcUtil
Indicates whether or not the given value is a valid gRPC content-type.
isIdempotent() - Method in class io.grpc.MethodDescriptor
Returns whether this method is idempotent.
isInUse() - Method in class io.grpc.internal.InUseStateAggregator
 
isOk() - Method in class io.grpc.Status
Is this status OK, i.e., not an error.
isOutboundClosed() - Method in class io.grpc.internal.AbstractClientStream.TransportState
 
isPending() - Method in class io.grpc.SynchronizationContext.ScheduledHandle
Returns true if the task will eventually run, meaning that it has neither started running nor been cancelled.
isReady() - Method in class io.grpc.ClientCall
If true, indicates that the call is capable of sending additional messages without requiring excessive buffering internally.
isReady() - Method in class io.grpc.internal.AbstractClientStream
 
isReady() - Method in class io.grpc.internal.AbstractServerStream
 
isReady() - Method in class io.grpc.internal.AbstractStream
 
isReady() - Method in class io.grpc.internal.NoopClientStream
 
isReady() - Method in interface io.grpc.internal.Stream
If true, indicates that the transport is capable of sending additional messages without requiring excessive buffering internally.
isReady() - Method in class io.grpc.ServerCall
If true, indicates that the call is capable of sending additional messages without requiring excessive buffering internally.
isReady() - Method in class io.grpc.stub.CallStreamObserver
If true, indicates that the observer is capable of sending additional messages without requiring excessive buffering internally.
isSafe() - Method in class io.grpc.MethodDescriptor
Returns whether this method is safe.
isSampledToLocalTracing() - Method in class io.grpc.MethodDescriptor
Returns whether RPCs for this method may be sampled into the local tracing store.
isShutdown() - Method in class io.grpc.internal.ServerImpl
 
isShutdown() - Method in class io.grpc.ManagedChannel
Returns whether the channel is shutdown.
isShutdown() - Method in class io.grpc.Server
Returns whether the server is shutdown.
isTerminated() - Method in class io.grpc.internal.ServerImpl
 
isTerminated() - Method in class io.grpc.ManagedChannel
Returns whether the channel is terminated.
isTerminated() - Method in class io.grpc.Server
Returns whether the server is terminated.
isWaitForReady() - Method in class io.grpc.CallOptions
Returns whether 'wait for ready' option is enabled for the call.

J

JsonParser - Class in io.grpc.internal
Parses JSON with as few preconceived notions as possible.

K

KEEPALIVE_TIME_NANOS_DISABLED - Static variable in class io.grpc.internal.GrpcUtil
The magic keepalive time value that disables client keepalive.
KeepAliveManager - Class in io.grpc.internal
Manages keepalive pings.
KeepAliveManager(KeepAliveManager.KeepAlivePinger, ScheduledExecutorService, long, long, boolean) - Constructor for class io.grpc.internal.KeepAliveManager
Creates a KeepAliverManager.
KeepAliveManager.ClientKeepAlivePinger - Class in io.grpc.internal
KeepAliveManager.KeepAlivePinger - Interface in io.grpc.internal
 
keepAliveTime(long, TimeUnit) - Method in class io.grpc.ForwardingChannelBuilder
 
keepAliveTime(long, TimeUnit) - Method in class io.grpc.inprocess.InProcessChannelBuilder
Does nothing.
keepAliveTime(long, TimeUnit) - Method in class io.grpc.ManagedChannelBuilder
Sets the time without read activity before sending a keepalive ping.
keepAliveTime(long, TimeUnit) - Method in class io.grpc.netty.NettyChannelBuilder
Sets the time without read activity before sending a keepalive ping.
keepAliveTime(long, TimeUnit) - Method in class io.grpc.netty.NettyServerBuilder
Sets a custom keepalive time, the delay time for sending next keepalive ping.
keepAliveTime(long, TimeUnit) - Method in class io.grpc.okhttp.OkHttpChannelBuilder
Sets the time without read activity before sending a keepalive ping.
keepAliveTimeout(long, TimeUnit) - Method in class io.grpc.ForwardingChannelBuilder
 
keepAliveTimeout(long, TimeUnit) - Method in class io.grpc.inprocess.InProcessChannelBuilder
Does nothing.
keepAliveTimeout(long, TimeUnit) - Method in class io.grpc.ManagedChannelBuilder
Sets the time waiting for read activity after sending a keepalive ping.
keepAliveTimeout(long, TimeUnit) - Method in class io.grpc.netty.NettyChannelBuilder
Sets the time waiting for read activity after sending a keepalive ping.
keepAliveTimeout(long, TimeUnit) - Method in class io.grpc.netty.NettyServerBuilder
Sets a custom keepalive timeout, the timeout for keepalive ping requests.
keepAliveTimeout(long, TimeUnit) - Method in class io.grpc.okhttp.OkHttpChannelBuilder
Sets the time waiting for read activity after sending a keepalive ping.
keepAliveWithoutCalls(boolean) - Method in class io.grpc.ForwardingChannelBuilder
 
keepAliveWithoutCalls(boolean) - Method in class io.grpc.inprocess.InProcessChannelBuilder
Does nothing.
keepAliveWithoutCalls(boolean) - Method in class io.grpc.ManagedChannelBuilder
Sets whether keepalive will be performed when there are no outstanding RPC on a connection.
keepAliveWithoutCalls(boolean) - Method in class io.grpc.netty.NettyChannelBuilder
Sets whether keepalive will be performed when there are no outstanding RPC on a connection.
keepAliveWithoutCalls(boolean) - Method in class io.grpc.okhttp.OkHttpChannelBuilder
Sets whether keepalive will be performed when there are no outstanding RPC on a connection.
key(String) - Static method in class io.grpc.Context
Create a Context.Key with the given debug name.
keyForProto(T) - Static method in class io.grpc.protobuf.ProtoUtils
Produce a metadata key for a generated protobuf type.
keys() - Method in class io.grpc.Attributes
Deprecated.
This method is being considered for removal, if you feel this method is needed please reach out on this Github issue: grpc-java/issues/1764.
keys() - Method in class io.grpc.Metadata
Returns set of all keys in store.
keyWithDefault(String, T) - Static method in class io.grpc.Context
Create a Context.Key with the given debug name and default value.
KnownLength - Interface in io.grpc
An InputStream or alike whose total number of bytes that can be read is known upfront.

L

LbConfig(String, Map<String, ?>) - Constructor for class io.grpc.internal.ServiceConfigUtil.LbConfig
 
Listener() - Constructor for class io.grpc.ClientCall.Listener
 
listener() - Method in class io.grpc.internal.AbstractClientStream.TransportState
 
listener() - Method in class io.grpc.internal.AbstractServerStream.TransportState
 
listener() - Method in class io.grpc.internal.AbstractStream.TransportState
Override this method to provide a stream listener.
Listener() - Constructor for class io.grpc.ServerCall.Listener
 
Listener2() - Constructor for class io.grpc.NameResolver.Listener2
 
LoadBalancer - Class in io.grpc
A pluggable component that receives resolved addresses from NameResolver and provides the channel a usable subchannel when asked.
LoadBalancer() - Constructor for class io.grpc.LoadBalancer
 
LoadBalancer.Factory - Class in io.grpc
Factory to create LoadBalancer instance.
LoadBalancer.Helper - Class in io.grpc
Provides essentials for LoadBalancer implementations.
LoadBalancer.PickResult - Class in io.grpc
A balancing decision made by SubchannelPicker for an RPC.
LoadBalancer.PickSubchannelArgs - Class in io.grpc
LoadBalancer.ResolvedAddresses - Class in io.grpc
Represents a combination of the resolved server address, associated attributes and a load balancing policy config.
LoadBalancer.ResolvedAddresses.Builder - Class in io.grpc
LoadBalancer.Subchannel - Class in io.grpc
A logical connection to a server, or a group of equivalent servers represented by an EquivalentAddressGroup.
LoadBalancer.SubchannelPicker - Class in io.grpc
The main balancing logic.
LoadBalancerProvider - Class in io.grpc
Provider of LoadBalancers.
LoadBalancerProvider() - Constructor for class io.grpc.LoadBalancerProvider
 
LoadBalancerRegistry - Class in io.grpc
Registry of LoadBalancerProviders.
LoadBalancerRegistry() - Constructor for class io.grpc.LoadBalancerRegistry
 
loadCert(String) - Static method in class io.grpc.testing.TlsTesting
Retrieves the specified test certificate or key resource in src/main/resources/certs/ as an InputStream.
loadX509Cert(String) - Static method in class io.grpc.testing.TestUtils
Deprecated.
Not for public use
localBytes - Variable in class io.grpc.internal.TransportTracer.FlowControlWindows
 
localSocketPicker(NettyChannelBuilder.LocalSocketPicker) - Method in class io.grpc.netty.NettyChannelBuilder
If non-null, attempts to create connections bound to a local port.
LocalSocketPicker() - Constructor for class io.grpc.netty.NettyChannelBuilder.LocalSocketPicker
 
log(ChannelLogger.ChannelLogLevel, String) - Method in class io.grpc.ChannelLogger
Logs a message.
log(ChannelLogger.ChannelLogLevel, String, Object...) - Method in class io.grpc.ChannelLogger
Logs a message, using a message format and a list of arguments used to generate the log message with MessageFormat.
LogExceptionRunnable - Class in io.grpc.internal
A simple wrapper for a Runnable that logs any exception thrown by it, before re-throwing it.
LogExceptionRunnable(Runnable) - Constructor for class io.grpc.internal.LogExceptionRunnable
 
LongCounter - Interface in io.grpc.internal
An interface for a long base counter.
lookupCompressor(String) - Method in class io.grpc.CompressorRegistry
 
lookupDecompressor(String) - Method in class io.grpc.DecompressorRegistry
Returns a decompressor for the given message encoding, or null if none has been registered.
lookupMethod(String, String) - Method in class io.grpc.HandlerRegistry
Lookup a ServerMethodDefinition by its fully-qualified name.
lookupMethod(String) - Method in class io.grpc.HandlerRegistry
Lookup a ServerMethodDefinition by its fully-qualified name.
lookupMethod(String, String) - Method in class io.grpc.util.MutableHandlerRegistry
Note: This does not actually honor the authority provided.

M

ManagedChannel - Class in io.grpc
A Channel that provides lifecycle management.
ManagedChannel() - Constructor for class io.grpc.ManagedChannel
 
ManagedChannelBuilder<T extends ManagedChannelBuilder<T>> - Class in io.grpc
A builder for ManagedChannel instances.
ManagedChannelBuilder() - Constructor for class io.grpc.ManagedChannelBuilder
 
ManagedChannelProvider - Class in io.grpc
Provider of managed channels for transport agnostic consumption.
ManagedChannelProvider() - Constructor for class io.grpc.ManagedChannelProvider
 
ManagedChannelProvider.ProviderNotFoundException - Exception in io.grpc
Thrown when no suitable ManagedChannelProvider objects can be found.
ManagedClientTransport - Interface in io.grpc.internal
A ClientTransport that has life-cycle management.
ManagedClientTransport.Listener - Interface in io.grpc.internal
Receives notifications for the transport life-cycle events.
marshaller(T) - Static method in class io.grpc.protobuf.lite.ProtoLiteUtils
Creates a MethodDescriptor.Marshaller for protos of the same type as defaultInstance.
marshaller(MessageNanoFactory<T>) - Static method in class io.grpc.protobuf.nano.NanoUtils
Adapt parser to a MethodDescriptor.Marshaller.
marshaller(T) - Static method in class io.grpc.protobuf.ProtoUtils
Create a MethodDescriptor.Marshaller for protos of the same type as defaultInstance.
maxConcurrentCallsPerConnection(int) - Method in class io.grpc.netty.NettyServerBuilder
The maximum number of concurrent calls permitted for each incoming connection.
maxConnectionAge(long, TimeUnit) - Method in class io.grpc.netty.NettyServerBuilder
Sets a custom max connection age, connection lasting longer than which will be gracefully terminated.
maxConnectionAgeGrace(long, TimeUnit) - Method in class io.grpc.netty.NettyServerBuilder
Sets a custom grace time for the graceful connection termination.
maxConnectionIdle(long, TimeUnit) - Method in class io.grpc.netty.NettyServerBuilder
Sets a custom max connection idle time, connection being idle for longer than which will be gracefully terminated.
maxHeaderListSize(int) - Method in class io.grpc.netty.NettyChannelBuilder
maxHeaderListSize(int) - Method in class io.grpc.netty.NettyServerBuilder
maxHedgedAttempts(int) - Method in class io.grpc.ForwardingChannelBuilder
 
maxHedgedAttempts(int) - Method in class io.grpc.internal.AbstractManagedChannelImplBuilder
 
maxHedgedAttempts(int) - Method in class io.grpc.ManagedChannelBuilder
Sets max number of hedged attempts.
maxInboundMessageSize(int) - Method in class io.grpc.ForwardingChannelBuilder
 
maxInboundMessageSize(int) - Method in class io.grpc.inprocess.InProcessChannelBuilder
 
maxInboundMessageSize(int) - Method in class io.grpc.internal.AbstractManagedChannelImplBuilder
Sets the maximum message size allowed for a single gRPC frame.
maxInboundMessageSize() - Method in class io.grpc.internal.AbstractManagedChannelImplBuilder
 
maxInboundMessageSize(int) - Method in class io.grpc.ManagedChannelBuilder
Sets the maximum message size allowed to be received on the channel.
maxInboundMessageSize(int) - Method in class io.grpc.netty.NettyServerBuilder
Sets the maximum message size allowed to be received on the server.
maxInboundMessageSize(int) - Method in class io.grpc.ServerBuilder
Sets the maximum message size allowed to be received on the server.
maxInboundMetadataSize(int) - Method in class io.grpc.ForwardingChannelBuilder
 
maxInboundMetadataSize(int) - Method in class io.grpc.inprocess.InProcessChannelBuilder
Sets the maximum size of metadata allowed to be received.
maxInboundMetadataSize(int) - Method in class io.grpc.inprocess.InProcessServerBuilder
Sets the maximum size of metadata allowed to be received.
maxInboundMetadataSize(int) - Method in class io.grpc.ManagedChannelBuilder
Sets the maximum size of metadata allowed to be received.
maxInboundMetadataSize(int) - Method in class io.grpc.netty.NettyChannelBuilder
Sets the maximum size of metadata allowed to be received.
maxInboundMetadataSize(int) - Method in class io.grpc.netty.NettyServerBuilder
Sets the maximum size of metadata allowed to be received.
maxInboundMetadataSize(int) - Method in class io.grpc.okhttp.OkHttpChannelBuilder
Sets the maximum size of metadata allowed to be received.
maxInboundMetadataSize(int) - Method in class io.grpc.ServerBuilder
Sets the maximum size of metadata allowed to be received.
maxMessageSize(int) - Method in class io.grpc.netty.NettyServerBuilder
Deprecated.
Call NettyServerBuilder.maxInboundMessageSize(int) instead. This method will be removed in a future release.
maxRetryAttempts(int) - Method in class io.grpc.ForwardingChannelBuilder
 
maxRetryAttempts(int) - Method in class io.grpc.internal.AbstractManagedChannelImplBuilder
 
maxRetryAttempts(int) - Method in class io.grpc.ManagedChannelBuilder
Sets max number of retry attempts.
maxTraceEvents(int) - Method in class io.grpc.ForwardingChannelBuilder
 
maxTraceEvents(int) - Method in class io.grpc.internal.AbstractManagedChannelImplBuilder
 
maxTraceEvents(int) - Method in class io.grpc.ManagedChannelBuilder
Sets the maximum number of channel trace events to keep in the tracer for each channel or subchannel.
merge(Metadata) - Method in class io.grpc.Metadata
Perform a simple merge of two sets of metadata.
merge(Metadata, Set<Metadata.Key<?>>) - Method in class io.grpc.Metadata
Merge values from the given set of keys into this set of metadata.
MESSAGE_ACCEPT_ENCODING - Static variable in class io.grpc.internal.GrpcUtil
The accepted message encodings (i.e.
MESSAGE_ACCEPT_ENCODING_KEY - Static variable in class io.grpc.internal.GrpcUtil
Metadata.Key for the accepted message encodings header.
MESSAGE_ENCODING - Static variable in class io.grpc.internal.GrpcUtil
The message encoding (i.e.
MESSAGE_ENCODING_KEY - Static variable in class io.grpc.internal.GrpcUtil
Metadata.Key for the message encoding header.
MessageDeframer - Class in io.grpc.internal
Deframer for GRPC frames.
MessageDeframer(MessageDeframer.Listener, Decompressor, int, StatsTraceContext, TransportTracer) - Constructor for class io.grpc.internal.MessageDeframer
Create a deframer.
MessageDeframer.Listener - Interface in io.grpc.internal
A listener of deframing events.
MessageFramer - Class in io.grpc.internal
Encodes gRPC messages to be delivered via the transport layer which implements MessageFramer.Sink.
MessageFramer(MessageFramer.Sink, WritableBufferAllocator, StatsTraceContext) - Constructor for class io.grpc.internal.MessageFramer
Creates a MessageFramer.
MessageFramer.Sink - Interface in io.grpc.internal
Sink implemented by the transport layer to receive frames and forward them to their destination.
MessageNanoFactory<T extends com.google.protobuf.nano.MessageNano> - Interface in io.grpc.protobuf.nano
Produce new message instances.
messagesAvailable(StreamListener.MessageProducer) - Method in class io.grpc.internal.AbstractStream.TransportState
 
messagesAvailable(StreamListener.MessageProducer) - Method in class io.grpc.internal.ApplicationThreadDeframer
 
messagesAvailable(StreamListener.MessageProducer) - Method in interface io.grpc.internal.MessageDeframer.Listener
Called to deliver the next complete message.
messagesAvailable(StreamListener.MessageProducer) - Method in interface io.grpc.internal.StreamListener
Called upon receiving a message from the remote end-point.
Metadata - Class in io.grpc
Provides access to read and write metadata values to be exchanged during a call.
Metadata() - Constructor for class io.grpc.Metadata
Constructor called by the application layer when it wants to send metadata.
Metadata.AsciiMarshaller<T> - Interface in io.grpc
Marshaller for metadata values that are serialized into ASCII strings.
Metadata.BinaryMarshaller<T> - Interface in io.grpc
Marshaller for metadata values that are serialized into raw binary.
Metadata.Key<T> - Class in io.grpc
Key for metadata entries.
MetadataApplier() - Constructor for class io.grpc.CallCredentials.MetadataApplier
 
MetadataApplier() - Constructor for class io.grpc.CallCredentials2.MetadataApplier
Deprecated.
 
metadataMarshaller(T) - Static method in class io.grpc.protobuf.lite.ProtoLiteUtils
Produce a metadata marshaller for a protobuf type.
metadataMarshaller(T) - Static method in class io.grpc.protobuf.ProtoUtils
Produce a metadata marshaller for a protobuf type.
MetadataUtils - Class in io.grpc.stub
Utility functions for binding and receiving headers.
MethodDescriptor<ReqT,RespT> - Class in io.grpc
Description of a remote method used by Channel to initiate a call.
MethodDescriptor.Builder<ReqT,RespT> - Class in io.grpc
A builder for a MethodDescriptor.
MethodDescriptor.Marshaller<T> - Interface in io.grpc
A typed abstraction over message serialization and deserialization, a.k.a.
MethodDescriptor.MethodType - Enum in io.grpc
The call type of a method.
MethodDescriptor.PrototypeMarshaller<T> - Interface in io.grpc
A marshaller that uses a fixed instance of the type it produces.
MethodDescriptor.ReflectableMarshaller<T> - Interface in io.grpc
A marshaller that supports retrieving it's type parameter T at runtime.
minimum(Deadline) - Method in class io.grpc.Deadline
Return the minimum deadline of this or an other deadline.
MoreCallCredentials - Class in io.grpc.auth
A utility class that converts other types of credentials to CallCredentials.
MutableHandlerRegistry - Class in io.grpc.util
Default implementation of MutableHandlerRegistry.
MutableHandlerRegistry() - Constructor for class io.grpc.util.MutableHandlerRegistry
 

N

name() - Method in class io.grpc.Metadata.Key
 
NAME_RESOLVER_SERVICE_CONFIG - Static variable in class io.grpc.internal.GrpcAttributes
Attribute key for service config.
NameResolver - Class in io.grpc
A pluggable component that resolves a target URI and return addresses to the caller.
NameResolver() - Constructor for class io.grpc.NameResolver
 
NameResolver.Args - Class in io.grpc
Information that a NameResolver.Factory uses to create a NameResolver.
NameResolver.Args.Builder - Class in io.grpc
Builder for NameResolver.Args.
NameResolver.ConfigOrError - Class in io.grpc
Gets the attributes associated with the addresses resolved by name resolution.
NameResolver.Factory - Class in io.grpc
Factory that creates NameResolver instances.
NameResolver.Helper - Class in io.grpc
Deprecated.
use NameResolver.Args instead.
NameResolver.Listener - Interface in io.grpc
Receives address updates.
NameResolver.Listener2 - Class in io.grpc
Receives address updates.
NameResolver.ResolutionResult - Class in io.grpc
Represents the results from a Name Resolver.
NameResolver.ResolutionResult.Builder - Class in io.grpc
NameResolver.ResolutionResultAttr - Annotation Type in io.grpc
Annotation for name resolution result attributes.
NameResolver.ServiceConfigParser - Class in io.grpc
Parses and validates service configuration.
nameResolverFactory(NameResolver.Factory) - Method in class io.grpc.ForwardingChannelBuilder
 
nameResolverFactory(NameResolver.Factory) - Method in class io.grpc.internal.AbstractManagedChannelImplBuilder
 
nameResolverFactory(NameResolver.Factory) - Method in class io.grpc.ManagedChannelBuilder
Provides a custom NameResolver.Factory for the channel.
NameResolverProvider - Class in io.grpc
Provider of name resolvers for name agnostic consumption.
NameResolverProvider() - Constructor for class io.grpc.NameResolverProvider
 
NameResolverRegistry - Class in io.grpc
Registry of NameResolverProviders.
NameResolverRegistry() - Constructor for class io.grpc.NameResolverRegistry
 
NanoUtils - Class in io.grpc.protobuf.nano
Utility methods for using nano proto with grpc.
NegotiationType - Enum in io.grpc.netty
Identifies the negotiation used for starting up HTTP/2.
negotiationType(NegotiationType) - Method in class io.grpc.netty.NettyChannelBuilder
Sets the negotiation type for the HTTP/2 connection.
NegotiationType - Enum in io.grpc.okhttp
negotiationType(NegotiationType) - Method in class io.grpc.okhttp.OkHttpChannelBuilder
NettyChannelBuilder - Class in io.grpc.netty
A builder to help simplify construction of channels using the Netty transport.
NettyChannelBuilder.LocalSocketPicker - Class in io.grpc.netty
This class is meant to be overriden with a custom implementation of NettyChannelBuilder.LocalSocketPicker.createSocketAddress(java.net.SocketAddress, io.grpc.Attributes).
NettyChannelProvider - Class in io.grpc.netty
Provider for NettyChannelBuilder instances.
NettyChannelProvider() - Constructor for class io.grpc.netty.NettyChannelProvider
 
NettyServerBuilder - Class in io.grpc.netty
A builder to help simplify the construction of a Netty-based GRPC server.
NettyServerProvider - Class in io.grpc.netty
Provider for NettyChannelBuilder instances.
NettyServerProvider() - Constructor for class io.grpc.netty.NettyServerProvider
 
newAttachHeadersInterceptor(Metadata) - Static method in class io.grpc.stub.MetadataUtils
Returns a client interceptor that attaches a set of headers to requests.
newBuilder(Attributes) - Static method in class io.grpc.Attributes
Deprecated.
Use Attributes.toBuilder() on the Attributes instance instead. This method will be removed in the future.
newBuilder() - Static method in class io.grpc.Attributes
Create a new builder.
newBuilder() - Static method in class io.grpc.ClientStreamTracer.StreamInfo
Creates an empty Builder.
newBuilder() - Static method in class io.grpc.HttpConnectProxiedSocketAddress
Create a new builder.
newBuilder() - Static method in class io.grpc.LoadBalancer.ResolvedAddresses
Factory for constructing a new Builder.
newBuilder() - Static method in class io.grpc.MethodDescriptor
Creates a new builder for a MethodDescriptor.
newBuilder(MethodDescriptor.Marshaller<ReqT>, MethodDescriptor.Marshaller<RespT>) - Static method in class io.grpc.MethodDescriptor
Creates a new builder for a MethodDescriptor.
newBuilder() - Static method in class io.grpc.NameResolver.Args
Creates a new builder.
newBuilder() - Static method in class io.grpc.NameResolver.ResolutionResult
Constructs a new builder of a name resolution result.
newBuilder(String) - Static method in class io.grpc.ServiceDescriptor
Creates a new builder for a ServiceDescriptor.
newCall(MethodDescriptor<RequestT, ResponseT>, CallOptions) - Method in class io.grpc.Channel
Create a ClientCall to the remote operation specified by the given MethodDescriptor.
newCaptureMetadataInterceptor(AtomicReference<Metadata>, AtomicReference<Metadata>) - Static method in class io.grpc.stub.MetadataUtils
Captures the last received metadata on a channel.
newClientContext(CallOptions, Attributes, Metadata) - Static method in class io.grpc.internal.StatsTraceContext
Factory method for the client-side.
newClientStreamTracer(CallOptions, Metadata) - Method in class io.grpc.ClientStreamTracer.Factory
Deprecated.
use #newClientStreamTracer(StreamInfo, Metadata) instead
newClientStreamTracer(ClientStreamTracer.StreamInfo, Metadata) - Method in class io.grpc.ClientStreamTracer.Factory
Creates a ClientStreamTracer for a new client stream.
newClientTransport(SocketAddress, ClientTransportFactory.ClientTransportOptions, ChannelLogger) - Method in interface io.grpc.internal.ClientTransportFactory
Creates an unstarted transport for exclusive use.
newEmptyInstance() - Static method in class io.grpc.CompressorRegistry
Returns a new instance with no registered compressors.
newInstance() - Method in interface io.grpc.protobuf.nano.MessageNanoFactory
 
newLoadBalancer(LoadBalancer.Helper) - Method in class io.grpc.internal.AutoConfiguredLoadBalancerFactory
 
newLoadBalancer(LoadBalancer.Helper) - Method in class io.grpc.internal.PickFirstLoadBalancerProvider
 
newLoadBalancer(LoadBalancer.Helper) - Method in class io.grpc.LoadBalancer.Factory
Creates a LoadBalancer that will be used inside a channel.
newNameResolver(URI, NameResolver.Args) - Method in class io.grpc.internal.DnsNameResolverProvider
 
newNameResolver(URI, Attributes) - Method in class io.grpc.NameResolver.Factory
Deprecated.
Implement NameResolver.Factory.newNameResolver(URI, NameResolver.Helper) instead. This is going to be deleted in a future release.
newNameResolver(URI, NameResolver.Helper) - Method in class io.grpc.NameResolver.Factory
newNameResolver(URI, NameResolver.Args) - Method in class io.grpc.NameResolver.Factory
Creates a NameResolver for the given target URI, or null if the given URI cannot be resolved by this factory.
newServerContext(List<? extends ServerStreamTracer.Factory>, String, Metadata) - Static method in class io.grpc.internal.StatsTraceContext
Factory method for the server-side.
newServerStreamTracer(String, Metadata) - Method in class io.grpc.ServerStreamTracer.Factory
Creates a ServerStreamTracer for a new server stream.
newSslSocketFactoryForCa(Provider, File) - Static method in class io.grpc.testing.TestUtils
Deprecated.
Not for public use
newStream(MethodDescriptor<?, ?>, Metadata, CallOptions) - Method in interface io.grpc.internal.ClientTransport
Creates a new stream for sending messages to a remote end-point.
next() - Method in interface io.grpc.internal.StreamListener.MessageProducer
Returns the next gRPC message, if the data has been received by the deframer and the application has requested another message.
nextBackoffNanos() - Method in interface io.grpc.internal.BackoffPolicy
 
nextBackoffNanos() - Method in class io.grpc.internal.ExponentialBackoffPolicy
 
NONE - Static variable in class io.grpc.Codec.Identity
Special sentinel codec indicating that no compression should be used.
NOOP - Static variable in class io.grpc.internal.StatsTraceContext
 
NOOP_PROXY_DETECTOR - Static variable in class io.grpc.internal.GrpcUtil
A proxy detector that always claims no proxy is needed.
NoopClientStream - Class in io.grpc.internal
An implementation of ClientStream that silently does nothing for the operations.
NoopClientStream() - Constructor for class io.grpc.internal.NoopClientStream
 
NOT_FOUND - Static variable in class io.grpc.Status
Some requested entity (e.g., file or directory) was not found.
notifyFailed(ClientTransport.PingCallback, Executor, Throwable) - Static method in class io.grpc.internal.Http2Ping
Notifies the given callback that the ping operation failed.
notifyUnused() - Method in class io.grpc.netty.GrpcHttp2ConnectionHandler
Calling this method indicates that the channel will no longer be used.
notifyWhenStateChanged(ConnectivityState, Runnable) - Method in class io.grpc.ManagedChannel
Registers a one-off callback that will be run if the connectivity state of the channel diverges from the given source, which is typically what has just been returned by ManagedChannel.getState(boolean).

O

ObjectPool<T> - Interface in io.grpc.internal
An object pool.
of(String) - Static method in class io.grpc.Attributes.Key
Deprecated.
use Attributes.Key.create(java.lang.String) instead. This method will be removed in the future.
of(String, T) - Static method in class io.grpc.CallOptions.Key
of(String, Metadata.BinaryMarshaller<T>) - Static method in class io.grpc.Metadata.Key
Creates a key for a binary header.
of(String, Metadata.AsciiMarshaller<T>) - Static method in class io.grpc.Metadata.Key
Creates a key for an ASCII header.
offset(long, TimeUnit) - Method in class io.grpc.Deadline
Create a new deadline that is offset from this.
OK - Static variable in class io.grpc.Status
The operation completed successfully.
OkHttpChannelBuilder - Class in io.grpc.okhttp
Convenience class for building channels with the OkHttp transport.
OkHttpChannelBuilder(String, int) - Constructor for class io.grpc.okhttp.OkHttpChannelBuilder
 
OkHttpChannelProvider - Class in io.grpc.okhttp
Provider for OkHttpChannelBuilder instances.
OkHttpChannelProvider() - Constructor for class io.grpc.okhttp.OkHttpChannelProvider
 
onAddresses(List<EquivalentAddressGroup>, Attributes) - Method in interface io.grpc.NameResolver.Listener
Handles updates on resolved addresses and attributes.
onAddresses(List<EquivalentAddressGroup>, Attributes) - Method in class io.grpc.NameResolver.Listener2
Deprecated.
This will be removed in 1.22.0
onCancel() - Method in class io.grpc.ServerCall.Listener
The call was cancelled and the server is encouraged to abort processing to save resources, since the client will not process any further messages.
onClose(Status, Metadata) - Method in class io.grpc.ClientCall.Listener
The ClientCall has been closed.
onComplete() - Method in class io.grpc.ServerCall.Listener
The call is considered complete and ServerCall.Listener.onCancel() is guaranteed not to be called.
onCompleted() - Method in interface io.grpc.stub.StreamObserver
Receives a notification of successful stream completion.
onCompleted() - Method in class io.grpc.testing.StreamRecorder
Deprecated.
 
onDataReceived() - Method in class io.grpc.internal.KeepAliveManager
Transport has received some data so that we can delay sending keepalives.
onError(Status) - Method in interface io.grpc.NameResolver.Listener
Handles an error from the resolver.
onError(Status) - Method in class io.grpc.NameResolver.Listener2
Handles an error from the resolver.
onError(Throwable) - Method in interface io.grpc.stub.StreamObserver
Receives a terminating error from the stream.
onError(Throwable) - Method in class io.grpc.testing.StreamRecorder
Deprecated.
 
onFailure(Throwable) - Method in interface io.grpc.internal.ClientTransport.PingCallback
Invoked when a ping fails.
onHalfClose() - Method in class io.grpc.ServerCall.Listener
The client completed all message sending.
onHeaders(Metadata) - Method in class io.grpc.ClientCall.Listener
The response headers have been received.
onMessage(T) - Method in class io.grpc.ClientCall.Listener
A response message has been received.
onMessage(RespT) - Method in class io.grpc.ForwardingClientCallListener
 
onMessage(ReqT) - Method in class io.grpc.ForwardingServerCallListener
 
onMessage(ReqT) - Method in class io.grpc.ServerCall.Listener
A request message has been received.
onNext(V) - Method in interface io.grpc.stub.StreamObserver
Receives a value from the stream.
onNext(T) - Method in class io.grpc.testing.StreamRecorder
Deprecated.
 
onPingTimeout() - Method in class io.grpc.internal.KeepAliveManager.ClientKeepAlivePinger
 
onPingTimeout() - Method in interface io.grpc.internal.KeepAliveManager.KeepAlivePinger
Callback when Ping Ack was not received in KEEPALIVE_TIMEOUT.
onReady() - Method in class io.grpc.ClientCall.Listener
This indicates that the ClientCall is now capable of sending additional messages (via ClientCall.sendMessage(ReqT)) without requiring excessive buffering internally.
onReady() - Method in interface io.grpc.internal.StreamListener
This indicates that the transport is now capable of sending additional messages without requiring excessive buffering internally.
onReady() - Method in class io.grpc.ServerCall.Listener
This indicates that the call is now capable of sending additional messages (via ServerCall.sendMessage(RespT)) without requiring excessive buffering internally.
onResult(NameResolver.ResolutionResult) - Method in class io.grpc.NameResolver.Listener2
Handles updates on resolved addresses and attributes.
onSendingBytes(int) - Method in class io.grpc.internal.AbstractStream
Event handler to be called by the subclass when a number of bytes are being queued for sending to the remote endpoint.
onSentBytes(int) - Method in class io.grpc.internal.AbstractStream.TransportState
Event handler to be called by the subclass when a number of bytes has been sent to the remote endpoint.
onStreamAllocated() - Method in class io.grpc.internal.AbstractServerStream.TransportState
 
onStreamAllocated() - Method in class io.grpc.internal.AbstractStream.TransportState
Event handler to be called by the subclass when the stream's headers have passed any connection flow control (i.e., MAX_CONCURRENT_STREAMS).
onStreamDeallocated() - Method in class io.grpc.internal.AbstractStream.TransportState
Notify that the stream does not exist in a usable state any longer.
onSuccess(long) - Method in interface io.grpc.internal.ClientTransport.PingCallback
Invoked when a ping is acknowledged.
onTransportActive() - Method in class io.grpc.internal.KeepAliveManager
Transport has active streams.
onTransportIdle() - Method in class io.grpc.internal.KeepAliveManager
Transport has finished all streams.
onTransportStarted() - Method in class io.grpc.internal.KeepAliveManager
Start keepalive monitoring.
onTransportTermination() - Method in class io.grpc.internal.KeepAliveManager
Transport is being terminated.
openStream(ReadableBuffer, boolean) - Static method in class io.grpc.internal.ReadableBuffers
Creates a new InputStream backed by the given buffer.
originalName() - Method in class io.grpc.Metadata.Key
 
OUT_OF_RANGE - Static variable in class io.grpc.Status
Operation was attempted past the valid range.
outboundHeaders() - Method in class io.grpc.ClientStreamTracer
Headers has been sent to the socket.
outboundHeaders() - Method in class io.grpc.util.ForwardingClientStreamTracer
 
outboundMessage(int) - Method in class io.grpc.internal.StatsTraceContext
outboundMessage(int) - Method in class io.grpc.StreamTracer
An outbound message has been passed to the stream.
outboundMessage(int) - Method in class io.grpc.util.ForwardingClientStreamTracer
 
outboundMessageSent(int, long, long) - Method in class io.grpc.internal.StatsTraceContext
outboundMessageSent(int, long, long) - Method in class io.grpc.StreamTracer
An outbound message has been serialized and sent to the transport.
outboundMessageSent(int, long, long) - Method in class io.grpc.util.ForwardingClientStreamTracer
 
outboundUncompressedSize(long) - Method in class io.grpc.internal.StatsTraceContext
outboundUncompressedSize(long) - Method in class io.grpc.StreamTracer
The uncompressed size of some outbound data is revealed.
outboundUncompressedSize(long) - Method in class io.grpc.util.ForwardingClientStreamTracer
 
outboundWireSize(long) - Method in class io.grpc.internal.StatsTraceContext
outboundWireSize(long) - Method in class io.grpc.StreamTracer
The wire size of some outbound data is revealed.
outboundWireSize(long) - Method in class io.grpc.util.ForwardingClientStreamTracer
 
overrideAuthority(String) - Method in class io.grpc.ForwardingChannelBuilder
 
overrideAuthority(String) - Method in class io.grpc.internal.AbstractManagedChannelImplBuilder
 
overrideAuthority(String) - Method in class io.grpc.ManagedChannelBuilder
Overrides the authority used with TLS and HTTP virtual hosting.
overrideCensusStatsModule(CensusStatsModule) - Method in class io.grpc.internal.AbstractManagedChannelImplBuilder
Override the default stats implementation.
overrideCensusStatsModule(CensusStatsModule) - Method in class io.grpc.internal.AbstractServerImplBuilder
Override the default stats implementation.

P

PARAMS_DEFAULT_PORT - Static variable in class io.grpc.NameResolver.Factory
Deprecated.
this will be deleted along with NameResolver.Factory.newNameResolver(URI, Attributes) in a future release.
PARAMS_DEFAULT_PORT - Static variable in class io.grpc.NameResolverProvider
Deprecated.
PARAMS_PROXY_DETECTOR - Static variable in class io.grpc.NameResolver.Factory
Deprecated.
this will be deleted along with NameResolver.Factory.newNameResolver(URI, Attributes) in a future release
parse(String) - Static method in class io.grpc.internal.JsonParser
Parses a json string, returning either a Map<String, ?>, List<?>, String, Double, Boolean, or null.
parse(InputStream) - Method in interface io.grpc.MethodDescriptor.Marshaller
Given an InputStream parse it into an instance of the declared type so that it can be passed to application code.
parseAsciiString(String) - Method in interface io.grpc.Metadata.AsciiMarshaller
Parse a serialized metadata value from an ASCII string.
parseBytes(byte[]) - Method in interface io.grpc.Metadata.BinaryMarshaller
Parse a serialized metadata value from bytes.
parseLoadBalancingPolicyConfig(Map<String, ?>) - Method in class io.grpc.internal.PickFirstLoadBalancerProvider
 
parseLoadBalancingPolicyConfig(Map<String, ?>) - Method in class io.grpc.LoadBalancerProvider
Parses the config for the Load Balancing policy unpacked from the service config.
parseRequest(InputStream) - Method in class io.grpc.MethodDescriptor
Parse an incoming request message.
parseResponse(InputStream) - Method in class io.grpc.MethodDescriptor
Parse a response payload from the given InputStream.
parseServiceConfig(Map<String, ?>) - Method in class io.grpc.NameResolver.Helper
Deprecated.
Parses and validates the service configuration chosen by the name resolver.
parseServiceConfig(Map<String, ?>) - Method in class io.grpc.NameResolver.ServiceConfigParser
Parses and validates the service configuration chosen by the name resolver.
payload() - Method in class io.grpc.internal.Http2Ping
Returns the expected ping payload for this outstanding operation.
PERMISSION_DENIED - Static variable in class io.grpc.Status
The caller does not have permission to execute the specified operation.
permitKeepAliveTime(long, TimeUnit) - Method in class io.grpc.netty.NettyServerBuilder
Specify the most aggressive keep-alive time clients are permitted to configure.
permitKeepAliveWithoutCalls(boolean) - Method in class io.grpc.netty.NettyServerBuilder
Sets whether to allow clients to send keep-alive HTTP/2 PINGs even if there are no outstanding RPCs on the connection.
perRpcBufferLimit(long) - Method in class io.grpc.ForwardingChannelBuilder
 
perRpcBufferLimit(long) - Method in class io.grpc.internal.AbstractManagedChannelImplBuilder
 
perRpcBufferLimit(long) - Method in class io.grpc.ManagedChannelBuilder
Sets the per RPC buffer limit in bytes used for retry.
PickFirstLoadBalancerProvider - Class in io.grpc.internal
Provider for the "pick_first" balancing policy.
PickFirstLoadBalancerProvider() - Constructor for class io.grpc.internal.PickFirstLoadBalancerProvider
 
pickSubchannel(LoadBalancer.PickSubchannelArgs) - Method in class io.grpc.LoadBalancer.SubchannelPicker
Make a balancing decision for a new RPC.
PickSubchannelArgs() - Constructor for class io.grpc.LoadBalancer.PickSubchannelArgs
 
ping(ClientTransport.PingCallback, Executor) - Method in interface io.grpc.internal.ClientTransport
Pings a remote endpoint.
ping() - Method in class io.grpc.internal.KeepAliveManager.ClientKeepAlivePinger
 
ping() - Method in interface io.grpc.internal.KeepAliveManager.KeepAlivePinger
Sends out a keep-alive ping.
preferredTestCiphers() - Static method in class io.grpc.testing.TestUtils
Deprecated.
Not for public use
priority() - Method in class io.grpc.internal.DnsNameResolverProvider
 
priority() - Method in class io.grpc.ManagedChannelProvider
A priority, from 0 to 10 that this provider should be used, taking the current environment into consideration.
priority() - Method in class io.grpc.NameResolverProvider
A priority, from 0 to 10 that this provider should be used, taking the current environment into consideration.
priority() - Method in class io.grpc.netty.NettyChannelProvider
 
priority() - Method in class io.grpc.netty.NettyServerProvider
 
priority() - Method in class io.grpc.okhttp.OkHttpChannelProvider
 
priority() - Method in class io.grpc.ServerProvider
A priority, from 0 to 10 that this provider should be used, taking the current environment into consideration.
ProtocolNegotiationEvent - Class in io.grpc.netty
Represents a completion of a protocol negotiation stage.
protocolNegotiator(ProtocolNegotiator) - Method in class io.grpc.netty.NettyServerBuilder
Sets the ProtocolNegotiator to be used.
ProtoFileDescriptorSupplier - Interface in io.grpc.protobuf
Provides access to the underlying proto file descriptor.
ProtoLiteUtils - Class in io.grpc.protobuf.lite
Utility methods for using protobuf with grpc.
ProtoMethodDescriptorSupplier - Interface in io.grpc.protobuf
Provides access to the underlying proto service method descriptor.
ProtoServiceDescriptorSupplier - Interface in io.grpc.protobuf
Provides access to the underlying proto service descriptor.
ProtoUtils - Class in io.grpc.protobuf
Utility methods for using protobuf with grpc.
Provider() - Constructor for class io.grpc.internal.ExponentialBackoffPolicy.Provider
 
provider() - Static method in class io.grpc.ManagedChannelProvider
Returns the ClassLoader-wide default channel.
provider() - Static method in class io.grpc.ServerProvider
Returns the ClassLoader-wide default server.
ProviderNotFoundException(String) - Constructor for exception io.grpc.ManagedChannelProvider.ProviderNotFoundException
 
providers() - Static method in class io.grpc.NameResolverProvider
Deprecated.
Has no replacement
ProxiedSocketAddress - Class in io.grpc
An address that contains the information about making a connection via a proxy.
ProxiedSocketAddress() - Constructor for class io.grpc.ProxiedSocketAddress
 
proxyDetector(ProxyDetector) - Method in class io.grpc.ForwardingChannelBuilder
 
proxyDetector(ProxyDetector) - Method in class io.grpc.internal.AbstractManagedChannelImplBuilder
 
proxyDetector(ProxyDetector) - Method in class io.grpc.ManagedChannelBuilder
Sets the proxy detector to be used in addresses name resolution.
ProxyDetector - Interface in io.grpc
A utility class to detect which proxy, if any, should be used for a given SocketAddress.
proxyFor(SocketAddress) - Method in interface io.grpc.ProxyDetector
Given a target address, returns a proxied address if a proxy should be used.
put(Metadata.Key<T>, T) - Method in class io.grpc.Metadata
Adds the key, value pair.

R

read() - Method in interface io.grpc.internal.TransportTracer.FlowControlReader
 
ReadableBuffer - Interface in io.grpc.internal
Interface for an abstract byte buffer.
ReadableBuffers - Class in io.grpc.internal
Utility methods for creating ReadableBuffer instances.
readableBytes() - Method in class io.grpc.internal.CompositeReadableBuffer
 
readableBytes() - Method in class io.grpc.internal.ForwardingReadableBuffer
 
readableBytes() - Method in interface io.grpc.internal.ReadableBuffer
Gets the current number of readable bytes remaining in this buffer.
readableBytes() - Method in interface io.grpc.internal.WritableBuffer
Returns the number of bytes one can read from the buffer.
readArray(ReadableBuffer) - Static method in class io.grpc.internal.ReadableBuffers
Reads an entire ReadableBuffer to a new array.
readAsString(ReadableBuffer, Charset) - Static method in class io.grpc.internal.ReadableBuffers
Reads the entire ReadableBuffer to a new String with the given charset.
readAsStringUtf8(ReadableBuffer) - Static method in class io.grpc.internal.ReadableBuffers
Reads the entire ReadableBuffer to a new String using UTF-8 decoding.
readBytes(byte[], int, int) - Method in class io.grpc.internal.CompositeReadableBuffer
 
readBytes(ByteBuffer) - Method in class io.grpc.internal.CompositeReadableBuffer
 
readBytes(OutputStream, int) - Method in class io.grpc.internal.CompositeReadableBuffer
 
readBytes(int) - Method in class io.grpc.internal.CompositeReadableBuffer
 
readBytes(byte[], int, int) - Method in class io.grpc.internal.ForwardingReadableBuffer
 
readBytes(ByteBuffer) - Method in class io.grpc.internal.ForwardingReadableBuffer
 
readBytes(OutputStream, int) - Method in class io.grpc.internal.ForwardingReadableBuffer
 
readBytes(int) - Method in class io.grpc.internal.ForwardingReadableBuffer
 
readBytes(byte[], int, int) - Method in interface io.grpc.internal.ReadableBuffer
Reads length bytes from this buffer and writes them to the destination array.
readBytes(ByteBuffer) - Method in interface io.grpc.internal.ReadableBuffer
Reads from this buffer until the destination's position reaches its limit, and increases the read position by the number of the transferred bytes.
readBytes(OutputStream, int) - Method in interface io.grpc.internal.ReadableBuffer
Reads length bytes from this buffer and writes them to the destination stream.
readBytes(int) - Method in interface io.grpc.internal.ReadableBuffer
Reads length bytes from this buffer and returns a new Buffer containing them.
readInt() - Method in class io.grpc.internal.AbstractReadableBuffer
 
readInt() - Method in class io.grpc.internal.ForwardingReadableBuffer
 
readInt() - Method in interface io.grpc.internal.ReadableBuffer
Reads a 4-byte signed integer from this buffer using big-endian byte ordering.
readUnsignedByte() - Method in class io.grpc.internal.CompositeReadableBuffer
 
readUnsignedByte() - Method in class io.grpc.internal.ForwardingReadableBuffer
 
readUnsignedByte() - Method in interface io.grpc.internal.ReadableBuffer
Reads the next unsigned byte from this buffer and increments the read position by 1.
recordRequestHeadersInterceptor(AtomicReference<Metadata>) - Static method in class io.grpc.testing.TestUtils
Capture the request headers from a client.
ReflectionLongAdderCounter - Class in io.grpc.internal
A LongCounter that is implemented with a JDK8 LongAdder.
refresh() - Method in class io.grpc.NameResolver
Re-resolve the name.
refreshNameResolution() - Method in class io.grpc.LoadBalancer.Helper
Call NameResolver.refresh() on the channel's resolver.
refreshNameResolution() - Method in class io.grpc.util.ForwardingLoadBalancerHelper
 
register(Compressor) - Method in class io.grpc.CompressorRegistry
Registers a compressor for both decompression and message encoding negotiation.
register(LoadBalancerProvider) - Method in class io.grpc.LoadBalancerRegistry
Register a provider.
register(NameResolverProvider) - Method in class io.grpc.NameResolverRegistry
Register a provider.
register(T) - Method in class io.grpc.testing.GrpcCleanupRule
Registers the given channel to the rule.
register(T) - Method in class io.grpc.testing.GrpcCleanupRule
Registers the given server to the rule.
release(SharedResourceHolder.Resource<T>, T) - Static method in class io.grpc.internal.SharedResourceHolder
Releases an instance of the given resource.
release() - Method in interface io.grpc.internal.WritableBuffer
Releases the buffer, indicating to the WritableBufferAllocator that this buffer is no longer used and its resources can be reused.
remoteBytes - Variable in class io.grpc.internal.TransportTracer.FlowControlWindows
 
remove(Metadata.Key<T>, T) - Method in class io.grpc.Metadata
Removes the first occurrence of value for key.
removeAll(Metadata.Key<T>) - Method in class io.grpc.Metadata
Remove all values for the given key.
removeListener(Context.CancellationListener) - Method in class io.grpc.Context
removeService(ServerServiceDefinition) - Method in class io.grpc.util.MutableHandlerRegistry
Removes a registered service
reportKeepAliveSent() - Method in class io.grpc.internal.TransportTracer
Reports that a keep alive message was sent.
reportLocalStreamStarted() - Method in class io.grpc.internal.TransportTracer
Called by the client to report a stream has started.
reportMessageReceived() - Method in class io.grpc.internal.TransportTracer
Reports that a message was successfully received.
reportMessageSent(int) - Method in class io.grpc.internal.TransportTracer
Reports that some messages were successfully sent.
reportRemoteStreamStarted() - Method in class io.grpc.internal.TransportTracer
Called by the server to report a stream has started.
reportStreamClosed(boolean) - Method in class io.grpc.internal.TransportTracer
Reports that a stream closed with the specified Status.
request(int) - Method in class io.grpc.ClientCall
Requests up to the given number of messages from the call to be delivered to ClientCall.Listener.onMessage(Object).
request(int) - Method in class io.grpc.internal.AbstractClientStream
 
request(int) - Method in interface io.grpc.internal.AbstractClientStream.Sink
Requests up to the given number of messages from the call to be delivered to the client.
request(int) - Method in class io.grpc.internal.AbstractServerStream
 
request(int) - Method in interface io.grpc.internal.AbstractServerStream.Sink
Requests up to the given number of messages from the call to be delivered.
request(int) - Method in class io.grpc.internal.ApplicationThreadDeframer
 
request(int) - Method in interface io.grpc.internal.Deframer
Requests up to the given number of messages from the call.
request(int) - Method in class io.grpc.internal.MessageDeframer
 
request(int) - Method in class io.grpc.internal.NoopClientStream
 
request(int) - Method in interface io.grpc.internal.Stream
Requests up to the given number of messages from the call to be delivered via StreamListener.messagesAvailable(StreamListener.MessageProducer).
request(int) - Method in class io.grpc.ServerCall
Requests up to the given number of messages from the call to be delivered to ServerCall.Listener.onMessage(Object).
request(int) - Method in class io.grpc.stub.CallStreamObserver
Requests the peer to produce count more messages to be delivered to the 'inbound' StreamObserver.
requestConnection() - Method in class io.grpc.LoadBalancer.Subchannel
Asks the Subchannel to create a connection (aka transport), if there isn't an active one.
requestConnection() - Method in class io.grpc.LoadBalancer.SubchannelPicker
Tries to establish connections now so that the upcoming RPC may then just pick a ready connection without having to connect first.
RequestInfo() - Constructor for class io.grpc.CallCredentials.RequestInfo
 
requestMessagesFromDeframer(int) - Method in class io.grpc.internal.AbstractStream.TransportState
Called to request the given number of messages from the deframer.
resetConnectBackoff() - Method in class io.grpc.ManagedChannel
For subchannels that are in TRANSIENT_FAILURE state, short-circuit the backoff timer and make them reconnect immediately.
RESOURCE_EXHAUSTED - Static variable in class io.grpc.Status
Some resource has been exhausted, perhaps a per-user quota, or perhaps the entire file system is out of space.
retryBufferSize(long) - Method in class io.grpc.ForwardingChannelBuilder
 
retryBufferSize(long) - Method in class io.grpc.internal.AbstractManagedChannelImplBuilder
 
retryBufferSize(long) - Method in class io.grpc.ManagedChannelBuilder
Sets the retry buffer size in bytes.
returnObject(Object) - Method in class io.grpc.internal.FixedObjectPool
 
returnObject(Object) - Method in interface io.grpc.internal.ObjectPool
Return the object to the pool.
returnObject(Object) - Method in class io.grpc.internal.SharedResourcePool
 
ROOT - Static variable in class io.grpc.Context
The logical root context which is the ultimate ancestor of all contexts.
RPC_CLIENT_ERROR_COUNT - Static variable in class io.grpc.internal.DeprecatedCensusConstants
 
RPC_CLIENT_FINISHED_COUNT - Static variable in class io.grpc.internal.DeprecatedCensusConstants
 
RPC_CLIENT_REQUEST_BYTES - Static variable in class io.grpc.internal.DeprecatedCensusConstants
 
RPC_CLIENT_REQUEST_COUNT - Static variable in class io.grpc.internal.DeprecatedCensusConstants
 
RPC_CLIENT_RESPONSE_BYTES - Static variable in class io.grpc.internal.DeprecatedCensusConstants
 
RPC_CLIENT_RESPONSE_COUNT - Static variable in class io.grpc.internal.DeprecatedCensusConstants
 
RPC_CLIENT_ROUNDTRIP_LATENCY - Static variable in class io.grpc.internal.DeprecatedCensusConstants
 
RPC_CLIENT_SERVER_ELAPSED_TIME - Static variable in class io.grpc.internal.DeprecatedCensusConstants
 
RPC_CLIENT_STARTED_COUNT - Static variable in class io.grpc.internal.DeprecatedCensusConstants
 
RPC_CLIENT_UNCOMPRESSED_REQUEST_BYTES - Static variable in class io.grpc.internal.DeprecatedCensusConstants
 
RPC_CLIENT_UNCOMPRESSED_RESPONSE_BYTES - Static variable in class io.grpc.internal.DeprecatedCensusConstants
 
RPC_METHOD - Static variable in class io.grpc.internal.DeprecatedCensusConstants
 
RPC_SERVER_ERROR_COUNT - Static variable in class io.grpc.internal.DeprecatedCensusConstants
 
RPC_SERVER_FINISHED_COUNT - Static variable in class io.grpc.internal.DeprecatedCensusConstants
 
RPC_SERVER_REQUEST_BYTES - Static variable in class io.grpc.internal.DeprecatedCensusConstants
 
RPC_SERVER_REQUEST_COUNT - Static variable in class io.grpc.internal.DeprecatedCensusConstants
 
RPC_SERVER_RESPONSE_BYTES - Static variable in class io.grpc.internal.DeprecatedCensusConstants
 
RPC_SERVER_RESPONSE_COUNT - Static variable in class io.grpc.internal.DeprecatedCensusConstants
 
RPC_SERVER_SERVER_ELAPSED_TIME - Static variable in class io.grpc.internal.DeprecatedCensusConstants
 
RPC_SERVER_SERVER_LATENCY - Static variable in class io.grpc.internal.DeprecatedCensusConstants
 
RPC_SERVER_STARTED_COUNT - Static variable in class io.grpc.internal.DeprecatedCensusConstants
 
RPC_SERVER_UNCOMPRESSED_REQUEST_BYTES - Static variable in class io.grpc.internal.DeprecatedCensusConstants
 
RPC_SERVER_UNCOMPRESSED_RESPONSE_BYTES - Static variable in class io.grpc.internal.DeprecatedCensusConstants
 
RPC_STATUS - Static variable in class io.grpc.internal.DeprecatedCensusConstants
 
RpcMethod - Annotation Type in io.grpc.stub.annotations
RpcMethod contains a limited subset of information about the RPC to assist Java Annotation Processors.
run(Runnable) - Method in class io.grpc.Context
Immediately run a Runnable with this context as the Context.current() context.
run() - Method in class io.grpc.internal.LogExceptionRunnable
 
run() - Method in class io.grpc.internal.SerializingExecutor
 
runOnExpiration(Runnable, ScheduledExecutorService) - Method in class io.grpc.Deadline
Schedule a task to be run when the deadline expires.
runSerialized(Runnable) - Method in class io.grpc.LoadBalancer.Helper
Deprecated.
use/implement getSynchronizationContext() instead
runSerialized(Runnable) - Method in class io.grpc.util.ForwardingLoadBalancerHelper
Deprecated.

S

schedule(Runnable, long, TimeUnit, ScheduledExecutorService) - Method in class io.grpc.SynchronizationContext
Schedules a task to be added and run via SynchronizationContext.execute(java.lang.Runnable) after a delay.
scheduledExecutorService(ScheduledExecutorService) - Method in class io.grpc.inprocess.InProcessChannelBuilder
Provides a custom scheduled executor service.
scheduledExecutorService(ScheduledExecutorService) - Method in class io.grpc.inprocess.InProcessServerBuilder
Provides a custom scheduled executor service.
scheduledExecutorService(ScheduledExecutorService) - Method in class io.grpc.okhttp.OkHttpChannelBuilder
Provides a custom scheduled executor service.
SecurityLevel - Enum in io.grpc
The level of security guarantee in communications.
sendHeaders(Metadata) - Method in class io.grpc.ServerCall
Send response header metadata prior to sending a response message.
sendMessage(ReqT) - Method in class io.grpc.ClientCall
Send a request message to the server.
sendMessage(ReqT) - Method in class io.grpc.ForwardingClientCall
 
sendMessage(RespT) - Method in class io.grpc.ForwardingServerCall
 
sendMessage(RespT) - Method in class io.grpc.ServerCall
Send a response message.
SerializingExecutor - Class in io.grpc.internal
Executor ensuring that all Runnable tasks submitted are executed in order using the provided Executor, and serially such that no two will ever be running at the same time.
SerializingExecutor(Executor) - Constructor for class io.grpc.internal.SerializingExecutor
Creates a SerializingExecutor, running tasks using executor.
Server - Class in io.grpc
Server for listening for and dispatching incoming calls.
Server() - Constructor for class io.grpc.Server
 
SERVER_KEEPALIVE_TIME_NANOS_DISABLED - Static variable in class io.grpc.internal.GrpcUtil
The magic keepalive time value that disables keepalive.
ServerBuilder<T extends ServerBuilder<T>> - Class in io.grpc
A builder for Server instances.
ServerBuilder() - Constructor for class io.grpc.ServerBuilder
 
ServerCall<ReqT,RespT> - Class in io.grpc
Encapsulates a single call received from a remote client.
ServerCall() - Constructor for class io.grpc.ServerCall
 
ServerCall.Listener<ReqT> - Class in io.grpc
Callbacks for consuming incoming RPC messages.
ServerCallHandler<RequestT,ResponseT> - Interface in io.grpc
Interface to initiate processing of incoming remote calls.
ServerCallInfo() - Constructor for class io.grpc.ServerStreamTracer.ServerCallInfo
 
ServerCalls - Class in io.grpc.stub
Utility functions for adapting ServerCallHandlers to application service implementation, meant to be used by the generated code.
ServerCalls.BidiStreamingMethod<ReqT,RespT> - Interface in io.grpc.stub
Adaptor to a bidirectional streaming method.
ServerCalls.ClientStreamingMethod<ReqT,RespT> - Interface in io.grpc.stub
Adaptor to a client streaming method.
ServerCalls.ServerStreamingMethod<ReqT,RespT> - Interface in io.grpc.stub
Adaptor to a server streaming method.
ServerCalls.UnaryMethod<ReqT,RespT> - Interface in io.grpc.stub
Adaptor to a unary call method.
serverCallStarted(ServerStreamTracer.ServerCallInfo<?, ?>) - Method in class io.grpc.internal.StatsTraceContext
serverCallStarted(ServerStreamTracer.ServerCallInfo<?, ?>) - Method in class io.grpc.ServerStreamTracer
Called when ServerCall is created.
serverCallStarted(ServerCall<?, ?>) - Method in class io.grpc.ServerStreamTracer
Deprecated.
Implement ServerStreamTracer.serverCallStarted(ServerCallInfo) instead. This method will be removed in a future release of gRPC.
ServerCallStreamObserver<V> - Class in io.grpc.stub
A refinement of CallStreamObserver to allows for interaction with call cancellation events on the server side.
ServerCallStreamObserver() - Constructor for class io.grpc.stub.ServerCallStreamObserver
 
serverFilterContext(Context) - Method in class io.grpc.internal.StatsTraceContext
ServerImpl - Class in io.grpc.internal
Default implementation of Server, for creation by transports.
ServerInterceptor - Interface in io.grpc
Interface for intercepting incoming calls before that are dispatched by ServerCallHandler.
ServerInterceptors - Class in io.grpc
Utility methods for working with ServerInterceptors.
ServerListener - Interface in io.grpc.internal
A listener to a server for transport creation events.
ServerMethodDefinition<ReqT,RespT> - Class in io.grpc
Definition of a method exposed by a Server.
ServerProvider - Class in io.grpc
Provider of servers for transport agnostic consumption.
ServerProvider() - Constructor for class io.grpc.ServerProvider
 
serverSendsOneMessage() - Method in enum io.grpc.MethodDescriptor.MethodType
Returns true if the server will immediately send one response message to the client upon receipt of ServerCall.Listener.onHalfClose() and then immediately close the stream by calling ServerCall.close(Status, io.grpc.Metadata).
ServerServiceDefinition - Class in io.grpc
Definition of a service to be exposed via a Server.
ServerServiceDefinition.Builder - Class in io.grpc
Builder for constructing Service instances.
serverShutdown() - Method in interface io.grpc.internal.ServerListener
The server is shutting down.
ServerStream - Interface in io.grpc.internal
Extension of Stream to support server-side termination semantics.
ServerStreamListener - Interface in io.grpc.internal
An observer of server-side stream events.
ServerStreamTracer - Class in io.grpc
Listens to events on a stream to collect metrics.
ServerStreamTracer() - Constructor for class io.grpc.ServerStreamTracer
 
ServerStreamTracer.Factory - Class in io.grpc
 
ServerStreamTracer.ServerCallInfo<ReqT,RespT> - Class in io.grpc
A data class with info about the started ServerCall.
ServerTransport - Interface in io.grpc.internal
An inbound connection.
ServerTransportFilter - Class in io.grpc
Listens on server transport life-cycle events, with the capability to read and/or change transport attributes.
ServerTransportFilter() - Constructor for class io.grpc.ServerTransportFilter
 
ServerTransportListener - Interface in io.grpc.internal
A observer of a server-side transport for stream creation events.
ServiceConfigParser() - Constructor for class io.grpc.NameResolver.ServiceConfigParser
 
ServiceConfigUtil - Class in io.grpc.internal
Helper utility to work with service configs.
ServiceConfigUtil.LbConfig - Class in io.grpc.internal
A LoadBalancingConfig that includes the policy name (the key) and its raw config value (parsed JSON).
ServiceDescriptor - Class in io.grpc
Descriptor for a service.
ServiceDescriptor(String, MethodDescriptor<?, ?>...) - Constructor for class io.grpc.ServiceDescriptor
Constructs a new Service Descriptor.
ServiceDescriptor(String, Collection<MethodDescriptor<?, ?>>) - Constructor for class io.grpc.ServiceDescriptor
Constructs a new Service Descriptor.
ServiceDescriptor.Builder - Class in io.grpc
A builder for a ServiceDescriptor.
set(Attributes.Key<T>, T) - Method in class io.grpc.Attributes.Builder
 
setAddresses(List<EquivalentAddressGroup>) - Method in class io.grpc.LoadBalancer.ResolvedAddresses.Builder
Sets the addresses.
setAddresses(List<EquivalentAddressGroup>) - Method in class io.grpc.NameResolver.ResolutionResult.Builder
Sets the addresses resolved by name resolution.
setAll(Attributes) - Method in class io.grpc.Attributes.Builder
 
setAttributes(Attributes) - Method in class io.grpc.LoadBalancer.ResolvedAddresses.Builder
Sets the attributes.
setAttributes(Attributes) - Method in class io.grpc.NameResolver.ResolutionResult.Builder
Sets the attributes for the addresses resolved by name resolution.
setAuthority(String) - Method in interface io.grpc.internal.ClientStream
Override the default authority with authority.
setAuthority(String) - Method in class io.grpc.internal.ClientTransportFactory.ClientTransportOptions
Sets the non-null authority.
setAuthority(String) - Method in class io.grpc.internal.NoopClientStream
 
setBinaryLog(BinaryLog) - Method in class io.grpc.ForwardingChannelBuilder
 
setBinaryLog(BinaryLog) - Method in class io.grpc.internal.AbstractManagedChannelImplBuilder
 
setBinaryLog(BinaryLog) - Method in class io.grpc.internal.AbstractServerImplBuilder
 
setBinaryLog(BinaryLog) - Method in class io.grpc.ManagedChannelBuilder
Sets the BinaryLog object that this channel should log to.
setBinaryLog(BinaryLog) - Method in class io.grpc.ServerBuilder
Sets the BinaryLog object that this server should log to.
setCallOptions(CallOptions) - Method in class io.grpc.ClientStreamTracer.StreamInfo.Builder
Sets the effective CallOptions of the call.
setChannelLogger(ChannelLogger) - Method in class io.grpc.internal.ClientTransportFactory.ClientTransportOptions
 
setCompression(String) - Method in class io.grpc.ServerCall
Sets the compression algorithm for this call.
setCompression(String) - Method in class io.grpc.stub.ServerCallStreamObserver
Sets the compression algorithm to use for the call.
setCompressor(Compressor) - Method in class io.grpc.internal.AbstractStream
 
setCompressor(Compressor) - Method in interface io.grpc.internal.Framer
Set the compressor used for compression.
setCompressor(Compressor) - Method in class io.grpc.internal.MessageFramer
 
setCompressor(Compressor) - Method in class io.grpc.internal.NoopClientStream
 
setCompressor(Compressor) - Method in interface io.grpc.internal.Stream
Sets the compressor on the framer.
setDeadline(Deadline) - Method in class io.grpc.internal.AbstractClientStream
 
setDeadline(Deadline) - Method in interface io.grpc.internal.ClientStream
Sets the effective deadline of the RPC.
setDeadline(Deadline) - Method in class io.grpc.internal.NoopClientStream
 
setDecompressor(Decompressor) - Method in class io.grpc.internal.AbstractServerStream
 
setDecompressor(Decompressor) - Method in class io.grpc.internal.AbstractStream.TransportState
 
setDecompressor(Decompressor) - Method in class io.grpc.internal.ApplicationThreadDeframer
 
setDecompressor(Decompressor) - Method in interface io.grpc.internal.Deframer
Sets the decompressor available to use.
setDecompressor(Decompressor) - Method in class io.grpc.internal.MessageDeframer
 
setDecompressor(Decompressor) - Method in interface io.grpc.internal.ServerStream
Sets the decompressor on the deframer.
setDecompressorRegistry(DecompressorRegistry) - Method in class io.grpc.internal.AbstractClientStream
 
setDecompressorRegistry(DecompressorRegistry) - Method in interface io.grpc.internal.ClientStream
Sets the registry to find a decompressor for the framer.
setDecompressorRegistry(DecompressorRegistry) - Method in class io.grpc.internal.NoopClientStream
 
setDefaultPort(int) - Method in class io.grpc.NameResolver.Args.Builder
setEagAttributes(Attributes) - Method in class io.grpc.internal.ClientTransportFactory.ClientTransportOptions
Sets the non-null EquivalentAddressGroup's attributes.
setExtensionRegistry(ExtensionRegistryLite) - Static method in class io.grpc.protobuf.lite.ProtoLiteUtils
Sets the global registry for proto marshalling shared across all servers and clients.
setExtensionRegistry(ExtensionRegistry) - Static method in class io.grpc.protobuf.ProtoUtils
Sets the global registry for proto marshalling shared across all servers and clients.
setFlowControlWindowReader(TransportTracer.FlowControlReader) - Method in class io.grpc.internal.TransportTracer
Registers a TransportTracer.FlowControlReader that can be used to read the local and remote flow control window sizes.
setFullMethodName(String) - Method in class io.grpc.MethodDescriptor.Builder
Sets the fully qualified (service and method) method name.
setFullStreamDecompression(boolean) - Method in class io.grpc.internal.AbstractClientStream
 
setFullStreamDecompression(boolean) - Method in interface io.grpc.internal.ClientStream
Enables full-stream decompression, allowing the client stream to use GzipInflatingBuffer to decode inbound GZIP compressed streams.
setFullStreamDecompression(boolean) - Method in class io.grpc.internal.NoopClientStream
 
setFullStreamDecompressor(GzipInflatingBuffer) - Method in class io.grpc.internal.AbstractStream.TransportState
 
setFullStreamDecompressor(GzipInflatingBuffer) - Method in class io.grpc.internal.ApplicationThreadDeframer
 
setFullStreamDecompressor(GzipInflatingBuffer) - Method in interface io.grpc.internal.Deframer
Sets the decompressor used for full-stream decompression.
setFullStreamDecompressor(GzipInflatingBuffer) - Method in class io.grpc.internal.MessageDeframer
 
setHttpConnectProxiedSocketAddress(HttpConnectProxiedSocketAddress) - Method in class io.grpc.internal.ClientTransportFactory.ClientTransportOptions
 
setIdempotent(boolean) - Method in class io.grpc.MethodDescriptor.Builder
Sets whether the method is idempotent.
setListener(ClientStreamListener) - Method in class io.grpc.internal.AbstractClientStream.TransportState
 
setListener(ServerStreamListener) - Method in class io.grpc.internal.AbstractServerStream
 
setListener(ServerStreamListener) - Method in class io.grpc.internal.AbstractServerStream.TransportState
Sets the listener to receive notifications.
setListener(ServerStreamListener) - Method in interface io.grpc.internal.ServerStream
Sets the server stream listener.
setLoadBalancingPolicyConfig(Object) - Method in class io.grpc.LoadBalancer.ResolvedAddresses.Builder
Sets the load balancing policy config.
setMaxInboundMessageSize(int) - Method in class io.grpc.internal.AbstractClientStream
 
setMaxInboundMessageSize(int) - Method in class io.grpc.internal.ApplicationThreadDeframer
 
setMaxInboundMessageSize(int) - Method in interface io.grpc.internal.ClientStream
Sets the max size accepted from the remote endpoint.
setMaxInboundMessageSize(int) - Method in interface io.grpc.internal.Deframer
 
setMaxInboundMessageSize(int) - Method in class io.grpc.internal.MessageDeframer
 
setMaxInboundMessageSize(int) - Method in class io.grpc.internal.NoopClientStream
 
setMaxOutboundMessageSize(int) - Method in class io.grpc.internal.AbstractClientStream
 
setMaxOutboundMessageSize(int) - Method in interface io.grpc.internal.ClientStream
Sets the max size sent to the remote endpoint.
setMaxOutboundMessageSize(int) - Method in interface io.grpc.internal.Framer
Set a size limit for each outbound message.
setMaxOutboundMessageSize(int) - Method in class io.grpc.internal.MessageFramer
 
setMaxOutboundMessageSize(int) - Method in class io.grpc.internal.NoopClientStream
 
setMessageCompression(boolean) - Method in class io.grpc.ClientCall
Enables per-message compression, if an encoding type has been negotiated.
setMessageCompression(boolean) - Method in class io.grpc.internal.AbstractStream
 
setMessageCompression(boolean) - Method in interface io.grpc.internal.Framer
Enable or disable compression.
setMessageCompression(boolean) - Method in class io.grpc.internal.MessageFramer
 
setMessageCompression(boolean) - Method in class io.grpc.internal.NoopClientStream
 
setMessageCompression(boolean) - Method in interface io.grpc.internal.Stream
Enables per-message compression, if an encoding type has been negotiated.
setMessageCompression(boolean) - Method in class io.grpc.ServerCall
Enables per-message compression, if an encoding type has been negotiated.
setMessageCompression(boolean) - Method in class io.grpc.stub.CallStreamObserver
Sets message compression for subsequent calls to StreamObserver.onNext(V).
setName(String) - Method in class io.grpc.ServiceDescriptor.Builder
Sets the name.
setOnCancelHandler(Runnable) - Method in class io.grpc.stub.ServerCallStreamObserver
Set a Runnable that will be called if the calls ServerCallStreamObserver.isCancelled() state changes from false to true.
setOnReadyHandler(Runnable) - Method in class io.grpc.stub.CallStreamObserver
Set a Runnable that will be executed every time the stream CallStreamObserver.isReady() state changes from false to true.
setPassword(String) - Method in class io.grpc.HttpConnectProxiedSocketAddress.Builder
Sets the password used to connect to the proxy.
setProxyAddress(SocketAddress) - Method in class io.grpc.HttpConnectProxiedSocketAddress.Builder
Sets the address to the proxy, which is already resolved.
setProxyDetector(ProxyDetector) - Method in class io.grpc.NameResolver.Args.Builder
setRequestMarshaller(MethodDescriptor.Marshaller<ReqT>) - Method in class io.grpc.MethodDescriptor.Builder
Sets the request marshaller.
setResponseMarshaller(MethodDescriptor.Marshaller<RespT>) - Method in class io.grpc.MethodDescriptor.Builder
Sets the response marshaller.
setSafe(boolean) - Method in class io.grpc.MethodDescriptor.Builder
Sets whether this method is safe.
setSampledToLocalTracing(boolean) - Method in class io.grpc.MethodDescriptor.Builder
Sets whether RPCs for this method may be sampled into the local tracing store.
setSchemaDescriptor(Object) - Method in class io.grpc.MethodDescriptor.Builder
Sets the schema descriptor for this builder.
setSchemaDescriptor(Object) - Method in class io.grpc.ServiceDescriptor.Builder
Sets the schema descriptor for this builder.
setServiceConfig(NameResolver.ConfigOrError) - Method in class io.grpc.NameResolver.ResolutionResult.Builder
Sets the Service Config parsed by NameResolver.Helper.parseServiceConfig(Map).
setServiceConfigParser(NameResolver.ServiceConfigParser) - Method in class io.grpc.NameResolver.Args.Builder
setStatsEnabled(boolean) - Method in class io.grpc.internal.AbstractManagedChannelImplBuilder
Disable or enable stats features.
setStatsEnabled(boolean) - Method in class io.grpc.internal.AbstractServerImplBuilder
Disable or enable stats features.
setStatsEnabled(boolean) - Method in class io.grpc.netty.NettyChannelBuilder
 
setStatsEnabled(boolean) - Method in class io.grpc.netty.NettyServerBuilder
 
setStatsRecordFinishedRpcs(boolean) - Method in class io.grpc.internal.AbstractManagedChannelImplBuilder
Disable or enable stats recording for RPC completions.
setStatsRecordFinishedRpcs(boolean) - Method in class io.grpc.internal.AbstractServerImplBuilder
Disable or enable stats recording for RPC completions.
setStatsRecordRealTimeMetrics(boolean) - Method in class io.grpc.internal.AbstractManagedChannelImplBuilder
Disable or enable real-time metrics recording.
setStatsRecordRealTimeMetrics(boolean) - Method in class io.grpc.internal.AbstractServerImplBuilder
Disable or enable real-time metrics recording.
setStatsRecordRealTimeMetrics(boolean) - Method in class io.grpc.netty.NettyChannelBuilder
 
setStatsRecordRealTimeMetrics(boolean) - Method in class io.grpc.netty.NettyServerBuilder
 
setStatsRecordStartedRpcs(boolean) - Method in class io.grpc.internal.AbstractManagedChannelImplBuilder
Disable or enable stats recording for RPC upstarts.
setStatsRecordStartedRpcs(boolean) - Method in class io.grpc.internal.AbstractServerImplBuilder
Disable or enable stats recording for RPC upstarts.
setStatsRecordStartedRpcs(boolean) - Method in class io.grpc.netty.NettyChannelBuilder
 
setStatsRecordStartedRpcs(boolean) - Method in class io.grpc.netty.NettyServerBuilder
 
setSynchronizationContext(SynchronizationContext) - Method in class io.grpc.NameResolver.Args.Builder
setTargetAddress(InetSocketAddress) - Method in class io.grpc.HttpConnectProxiedSocketAddress.Builder
Sets the address to the target.
setTimeout(long, TimeUnit) - Method in class io.grpc.testing.GrpcCleanupRule
Sets a positive total time limit for the automatic resource cleanup.
setTracingEnabled(boolean) - Method in class io.grpc.internal.AbstractManagedChannelImplBuilder
Disable or enable tracing features.
setTracingEnabled(boolean) - Method in class io.grpc.internal.AbstractServerImplBuilder
Disable or enable tracing features.
setTracingEnabled(boolean) - Method in class io.grpc.netty.NettyChannelBuilder
 
setTracingEnabled(boolean) - Method in class io.grpc.netty.NettyServerBuilder
 
setTransportAttrs(Attributes) - Method in class io.grpc.ClientStreamTracer.StreamInfo.Builder
Sets the attributes of the transport that this stream was created on.
setTransportTracerFactory(TransportTracer.Factory) - Method in class io.grpc.internal.AbstractServerImplBuilder
 
setType(MethodDescriptor.MethodType) - Method in class io.grpc.MethodDescriptor.Builder
Sets the method type.
setUserAgent(String) - Method in class io.grpc.internal.ClientTransportFactory.ClientTransportOptions
 
setUsername(String) - Method in class io.grpc.HttpConnectProxiedSocketAddress.Builder
Sets the username used to connect to the proxy.
SHARED_CHANNEL_EXECUTOR - Static variable in class io.grpc.internal.GrpcUtil
Shared executor for channels.
SharedResourceHolder - Class in io.grpc.internal
A holder for shared resource singletons.
SharedResourceHolder.Resource<T> - Interface in io.grpc.internal
Defines a resource, and the way to create and destroy instances of it.
SharedResourcePool<T> - Class in io.grpc.internal
An ObjectPool backed by a SharedResourceHolder.Resource.
shouldBeCountedForInUse() - Method in class io.grpc.internal.AbstractClientStream
Returns true if this stream should be counted when determining the in-use state of the transport.
shouldBeCountedForInUse(CallOptions) - Static method in class io.grpc.internal.GrpcUtil
Returns true if an RPC with the given properties should be counted when calculating the in-use state of a transport.
shutdown() - Method in class io.grpc.internal.AutoConfiguredLoadBalancerFactory.AutoConfiguredLoadBalancer
 
shutdown() - Method in interface io.grpc.internal.InternalServer
Initiates an orderly shutdown of the server.
shutdown(Status) - Method in interface io.grpc.internal.ManagedClientTransport
Initiates an orderly shutdown of the transport.
shutdown() - Method in class io.grpc.internal.ServerImpl
Initiates an orderly shutdown in which preexisting calls continue but new calls are rejected.
shutdown() - Method in interface io.grpc.internal.ServerTransport
Initiates an orderly shutdown of the transport.
shutdown() - Method in class io.grpc.LoadBalancer
The channel asks the load-balancer to shutdown.
shutdown() - Method in class io.grpc.LoadBalancer.Subchannel
Shuts down the Subchannel.
shutdown() - Method in class io.grpc.ManagedChannel
Initiates an orderly shutdown in which preexisting calls continue but new calls are immediately cancelled.
shutdown() - Method in class io.grpc.NameResolver
Stops the resolution.
shutdown() - Method in class io.grpc.Server
Initiates an orderly shutdown in which preexisting calls continue but new calls are rejected.
shutdown() - Method in class io.grpc.util.ForwardingLoadBalancer
 
shutdownNow(Status) - Method in interface io.grpc.internal.ManagedClientTransport
Initiates a forceful shutdown in which preexisting and new calls are closed.
shutdownNow() - Method in class io.grpc.internal.ServerImpl
 
shutdownNow(Status) - Method in interface io.grpc.internal.ServerTransport
Initiates a forceful shutdown in which preexisting and new calls are closed.
shutdownNow() - Method in class io.grpc.ManagedChannel
Initiates a forceful shutdown in which preexisting and new calls are cancelled.
shutdownNow() - Method in class io.grpc.Server
Initiates a forceful shutdown in which preexisting and new calls are rejected.
SimpleForwardingClientCall(ClientCall<ReqT, RespT>) - Constructor for class io.grpc.ForwardingClientCall.SimpleForwardingClientCall
 
SimpleForwardingClientCallListener(ClientCall.Listener<RespT>) - Constructor for class io.grpc.ForwardingClientCallListener.SimpleForwardingClientCallListener
 
SimpleForwardingServerCall(ServerCall<ReqT, RespT>) - Constructor for class io.grpc.ForwardingServerCall.SimpleForwardingServerCall
 
SimpleForwardingServerCallListener(ServerCall.Listener<ReqT>) - Constructor for class io.grpc.ForwardingServerCallListener.SimpleForwardingServerCallListener
 
skipBytes(int) - Method in class io.grpc.internal.CompositeReadableBuffer
 
skipBytes(int) - Method in class io.grpc.internal.ForwardingReadableBuffer
 
skipBytes(int) - Method in interface io.grpc.internal.ReadableBuffer
Increments the read position by the given length.
socketFactory(SocketFactory) - Method in class io.grpc.okhttp.OkHttpChannelBuilder
Override the default SocketFactory used to create sockets.
sslContext(SslContext) - Method in class io.grpc.netty.NettyChannelBuilder
SSL/TLS context to use instead of the system default.
sslContext(SslContext) - Method in class io.grpc.netty.NettyServerBuilder
Sets the TLS context to use for encryption.
sslSocketFactory(SSLSocketFactory) - Method in class io.grpc.okhttp.OkHttpChannelBuilder
Override the default SSLSocketFactory and enable TLS negotiation.
start(ClientCall.Listener<RespT>, Metadata) - Method in class io.grpc.ClientCall
Start a call, using responseListener for processing response messages.
start(ClientCall.Listener<RespT>, Metadata) - Method in class io.grpc.ClientInterceptors.CheckedForwardingClientCall
 
start(ClientCall.Listener<RespT>, Metadata) - Method in class io.grpc.ForwardingClientCall
 
start(ClientStreamListener) - Method in class io.grpc.internal.AbstractClientStream
 
start(ClientStreamListener) - Method in interface io.grpc.internal.ClientStream
Starts stream.
start(ClientStreamListener) - Method in class io.grpc.internal.FailingClientStream
 
start(ServerListener) - Method in interface io.grpc.internal.InternalServer
Starts transport.
start(ManagedClientTransport.Listener) - Method in interface io.grpc.internal.ManagedClientTransport
Starts transport.
start(ClientStreamListener) - Method in class io.grpc.internal.NoopClientStream
 
start() - Method in class io.grpc.internal.ServerImpl
Bind and start the server.
start(NameResolver.Listener) - Method in class io.grpc.NameResolver
Starts the resolution.
start(NameResolver.Listener2) - Method in class io.grpc.NameResolver
Starts the resolution.
start() - Method in class io.grpc.Server
Bind and start the server.
startCall(ServerCall<RequestT, ResponseT>, Metadata) - Method in interface io.grpc.ServerCallHandler
Produce a non-null listener for the incoming call.
statsTraceContext() - Method in class io.grpc.internal.AbstractServerStream
 
statsTraceContext() - Method in interface io.grpc.internal.ServerStream
The context for recording stats and traces for this stream.
StatsTraceContext - Class in io.grpc.internal
The stats and tracing information for a stream.
status() - Method in enum io.grpc.internal.GrpcUtil.Http2Error
Gets the Status associated with this HTTP/2 code.
Status - Class in io.grpc
Defines the status of an operation by providing a standard Status.Code in conjunction with an optional descriptive message.
Status.Code - Enum in io.grpc
The set of canonical status codes.
StatusException - Exception in io.grpc
Status in Exception form, for propagating Status information via exceptions.
StatusException(Status) - Constructor for exception io.grpc.StatusException
Constructs an exception with both a status.
StatusException(Status, Metadata) - Constructor for exception io.grpc.StatusException
Constructs an exception with both a status and trailers.
statusForCode(long) - Static method in enum io.grpc.internal.GrpcUtil.Http2Error
Looks up the Status from the given HTTP/2 error code.
statusFromCancelled(Context) - Static method in class io.grpc.Contexts
Returns the Status of a cancelled context or null if the context is not cancelled.
StatusProto - Class in io.grpc.protobuf
Utility methods for working with Status.
StatusRuntimeException - Exception in io.grpc
Status in RuntimeException form, for propagating Status information via exceptions.
StatusRuntimeException(Status) - Constructor for exception io.grpc.StatusRuntimeException
Constructs the exception with both a status.
StatusRuntimeException(Status, Metadata) - Constructor for exception io.grpc.StatusRuntimeException
Constructs the exception with both a status and trailers.
STOPWATCH_SUPPLIER - Static variable in class io.grpc.internal.GrpcUtil
The factory of default Stopwatches.
Storage() - Constructor for class io.grpc.Context.Storage
 
Stream - Interface in io.grpc.internal
A single stream of communication between two end-points within a transport.
stream(T) - Method in interface io.grpc.MethodDescriptor.Marshaller
Given a message, produce an InputStream for it so that it can be written to the wire.
streamClosed(Status) - Method in class io.grpc.internal.StatsTraceContext
streamClosed(Status) - Method in class io.grpc.StreamTracer
Stream is closed.
streamClosed(Status) - Method in class io.grpc.util.ForwardingClientStreamTracer
 
streamCreated(ServerStream, String, Metadata) - Method in interface io.grpc.internal.ServerTransportListener
Called when a new stream was created by the remote client.
StreamListener - Interface in io.grpc.internal
An observer of Stream events.
StreamListener.MessageProducer - Interface in io.grpc.internal
A producer for deframed gRPC messages.
StreamObserver<V> - Interface in io.grpc.stub
Receives notifications from an observable stream of messages.
StreamObservers - Class in io.grpc.stub
Utility functions for working with StreamObserver and it's common subclasses like CallStreamObserver.
StreamObservers() - Constructor for class io.grpc.stub.StreamObservers
 
StreamRecorder<T> - Class in io.grpc.testing
Deprecated.
Not for public use
streamRequest(ReqT) - Method in class io.grpc.MethodDescriptor
Convert a request message to an InputStream.
streamResponse(RespT) - Method in class io.grpc.MethodDescriptor
Serialize an outgoing response message.
StreamTracer - Class in io.grpc
Listens to events on a stream to collect metrics.
StreamTracer() - Constructor for class io.grpc.StreamTracer
 
Subchannel() - Constructor for class io.grpc.LoadBalancer.Subchannel
 
SubchannelPicker() - Constructor for class io.grpc.LoadBalancer.SubchannelPicker
 
SynchronizationContext - Class in io.grpc
A synchronization context is a queue of tasks that run in sequence.
SynchronizationContext(Thread.UncaughtExceptionHandler) - Constructor for class io.grpc.SynchronizationContext
Creates a SynchronizationContext.
SynchronizationContext.ScheduledHandle - Class in io.grpc
SYSTEM_TIME_PROVIDER - Static variable in interface io.grpc.internal.TimeProvider
 

T

TE_HEADER - Static variable in class io.grpc.internal.GrpcUtil
Metadata.Key for the Transfer encoding.
TE_TRAILERS - Static variable in class io.grpc.internal.GrpcUtil
The TE (transport encoding) header for requests over HTTP/2.
TestMethodDescriptors - Class in io.grpc.testing
A collection of method descriptor constructors useful for tests.
TestUtils - Class in io.grpc.testing
Common utility functions useful for writing tests.
thisT() - Method in class io.grpc.ForwardingChannelBuilder
Returns the correctly typed version of the builder.
thisUsesUnstableApi() - Method in class io.grpc.CallCredentials
Should be a noop but never called; tries to make it clearer to implementors that they may break in the future.
throwIfNotInThisSynchronizationContext() - Method in class io.grpc.SynchronizationContext
Throw IllegalStateException if this method is not called from this synchronization context.
TIMEOUT - Static variable in class io.grpc.internal.GrpcUtil
The Timeout header name.
TIMEOUT_KEY - Static variable in class io.grpc.internal.GrpcUtil
Metadata.Key for the timeout header.
TimeProvider - Interface in io.grpc.internal
Time source representing the current system time in nanos.
TIMER_SERVICE - Static variable in class io.grpc.internal.GrpcUtil
Shared single-threaded executor for managing channel timers.
timeRemaining(TimeUnit) - Method in class io.grpc.Deadline
How much time is remaining in the specified time unit.
TlsTesting - Class in io.grpc.testing
Convenience utilities for using TLS in tests.
toAsciiString(T) - Method in interface io.grpc.Metadata.AsciiMarshaller
Serialize a metadata value to a ASCII string that contains only the characters listed in the class comment of Metadata.AsciiMarshaller.
toBuilder() - Method in class io.grpc.Attributes
Creates a new builder that is pre-populated with the content of this container.
toBuilder() - Method in class io.grpc.ClientStreamTracer.StreamInfo
Converts this StreamInfo into a new Builder.
toBuilder() - Method in class io.grpc.LoadBalancer.ResolvedAddresses
Converts this back to a builder.
toBuilder() - Method in class io.grpc.MethodDescriptor
Turns this descriptor into a builder.
toBuilder(MethodDescriptor.Marshaller<NewReqT>, MethodDescriptor.Marshaller<NewRespT>) - Method in class io.grpc.MethodDescriptor
Turns this descriptor into a builder, replacing the request and response marshallers.
toBuilder() - Method in class io.grpc.NameResolver.Args
Returns a builder with the same initial values as this object.
toBuilder() - Method in class io.grpc.NameResolver.ResolutionResult
Converts these results back to a builder.
toByteArray(InputStream) - Static method in class io.grpc.internal.IoUtils
Returns the byte array.
toBytes(T) - Method in interface io.grpc.Metadata.BinaryMarshaller
Serialize a metadata value to bytes.
toHttp2Headers(Metadata) - Static method in class io.grpc.internal.TransportFrameUtil
Transform the given headers to a format where only spec-compliant ASCII characters are allowed.
toRawSerializedHeaders(byte[][]) - Static method in class io.grpc.internal.TransportFrameUtil
Transform HTTP/2-compliant headers to the raw serialized format which can be deserialized by metadata marshallers.
toStatus() - Method in enum io.grpc.Status.Code
Returns a Status object corresponding to this status code.
toStatusException(Status) - Static method in class io.grpc.protobuf.StatusProto
Convert a Status instance to a StatusException.
toStatusException(Status, Metadata) - Static method in class io.grpc.protobuf.StatusProto
Convert a Status instance to a StatusException with additional metadata.
toStatusRuntimeException(Status) - Static method in class io.grpc.protobuf.StatusProto
Convert a Status instance to a StatusRuntimeException.
toStatusRuntimeException(Status, Metadata) - Static method in class io.grpc.protobuf.StatusProto
Convert a Status instance to a StatusRuntimeException with additional metadata.
toString() - Method in class io.grpc.Attributes.Key
 
toString() - Method in class io.grpc.Attributes
 
toString() - Method in class io.grpc.CallOptions.Key
 
toString() - Method in class io.grpc.CallOptions
 
toString() - Method in class io.grpc.ClientStreamTracer.StreamInfo
 
toString() - Method in class io.grpc.ConnectivityStateInfo
 
toString() - Method in class io.grpc.Context.Key
 
toString() - Method in class io.grpc.Deadline
 
toString() - Method in class io.grpc.EquivalentAddressGroup
 
toString() - Method in class io.grpc.ForwardingChannelBuilder
 
toString() - Method in class io.grpc.HttpConnectProxiedSocketAddress
 
toString() - Method in class io.grpc.inprocess.InProcessSocketAddress
 
toString() - Method in class io.grpc.internal.ForwardingReadableBuffer
 
toString() - Method in class io.grpc.internal.LogExceptionRunnable
 
toString() - Method in class io.grpc.internal.ServerImpl
 
toString() - Method in class io.grpc.internal.ServiceConfigUtil.LbConfig
 
toString() - Method in class io.grpc.LoadBalancer.PickResult
 
toString() - Method in class io.grpc.LoadBalancer.ResolvedAddresses
 
toString() - Method in class io.grpc.LoadBalancerProvider
 
toString() - Method in class io.grpc.Metadata.Key
 
toString() - Method in class io.grpc.Metadata
 
toString() - Method in class io.grpc.MethodDescriptor
 
toString() - Method in class io.grpc.NameResolver.Args
 
toString() - Method in class io.grpc.NameResolver.ConfigOrError
 
toString() - Method in class io.grpc.NameResolver.ResolutionResult
 
toString() - Method in class io.grpc.netty.ProtocolNegotiationEvent
 
toString() - Method in class io.grpc.ServiceDescriptor
 
toString() - Method in class io.grpc.Status
A string representation of the status useful for debugging.
toString() - Method in class io.grpc.util.ForwardingClientStreamTracer
 
toString() - Method in class io.grpc.util.ForwardingLoadBalancer
 
toString() - Method in class io.grpc.util.ForwardingLoadBalancerHelper
 
trailersFromThrowable(Throwable) - Static method in class io.grpc.Status
Extract an error trailers from the causal chain of a Throwable.
TransmitStatusRuntimeExceptionInterceptor - Class in io.grpc.util
A class that intercepts uncaught exceptions of type StatusRuntimeException and handles them by closing the ServerCall, and transmitting the exception's status and metadata to the client.
TRANSPORT_ATTR_LOCAL_ADDR - Static variable in class io.grpc.Grpc
Attribute key for the local address of a transport.
TRANSPORT_ATTR_REMOTE_ADDR - Static variable in class io.grpc.Grpc
Attribute key for the remote address of a transport.
TRANSPORT_ATTR_SSL_SESSION - Static variable in class io.grpc.Grpc
Attribute key for SSL session of a transport.
transportCreated(ServerTransport) - Method in interface io.grpc.internal.ServerListener
Called upon the establishment of a new client connection.
transportDataReceived(ReadableBuffer, boolean) - Method in class io.grpc.internal.Http2ClientStreamTransportState
Called by subclasses whenever a data frame is received from the transport.
transportExecutor(Executor) - Method in class io.grpc.okhttp.OkHttpChannelBuilder
Override the default executor necessary for internal transport use.
TransportFrameUtil - Class in io.grpc.internal
Utility functions for transport layer framing.
transportHeadersReceived(Metadata) - Method in class io.grpc.internal.Http2ClientStreamTransportState
Called by subclasses whenever Headers are received from the transport.
transportInUse(boolean) - Method in interface io.grpc.internal.ManagedClientTransport.Listener
Called whenever the transport's in-use state has changed.
transportReady() - Method in interface io.grpc.internal.ManagedClientTransport.Listener
The transport is ready to accept traffic, because the connection is established.
transportReady(Attributes) - Method in interface io.grpc.internal.ServerTransportListener
The transport has finished all handshakes and is ready to process streams.
transportReady(Attributes) - Method in class io.grpc.ServerTransportFilter
Called when a transport is ready to process streams.
transportReportStatus(Status, boolean, Metadata) - Method in class io.grpc.internal.AbstractClientStream.TransportState
Report stream closure with status to the application layer if not already reported.
transportReportStatus(Status, ClientStreamListener.RpcProgress, boolean, Metadata) - Method in class io.grpc.internal.AbstractClientStream.TransportState
Report stream closure with status to the application layer if not already reported.
transportReportStatus(Status) - Method in class io.grpc.internal.AbstractServerStream.TransportState
Notifies failure to the listener of the stream.
transportShutdown(Status) - Method in interface io.grpc.internal.ManagedClientTransport.Listener
The transport is shutting down.
transportState() - Method in class io.grpc.internal.AbstractClientStream
Obtain the transport state corresponding to this stream.
TransportState(int, StatsTraceContext, TransportTracer) - Constructor for class io.grpc.internal.AbstractClientStream.TransportState
 
transportState() - Method in class io.grpc.internal.AbstractServerStream
 
TransportState(int, StatsTraceContext, TransportTracer) - Constructor for class io.grpc.internal.AbstractServerStream.TransportState
 
transportState() - Method in class io.grpc.internal.AbstractStream
Obtain the transport state corresponding to this stream.
TransportState(int, StatsTraceContext, TransportTracer) - Constructor for class io.grpc.internal.AbstractStream.TransportState
 
transportTerminated() - Method in interface io.grpc.internal.ManagedClientTransport.Listener
The transport completed shutting down.
transportTerminated() - Method in interface io.grpc.internal.ServerTransportListener
The transport completed shutting down.
transportTerminated(Attributes) - Method in class io.grpc.ServerTransportFilter
Called when a transport is terminated.
TransportTracer - Class in io.grpc.internal
A class for gathering statistics about a transport.
TransportTracer() - Constructor for class io.grpc.internal.TransportTracer
 
TransportTracer.Factory - Class in io.grpc.internal
 
TransportTracer.FlowControlReader - Interface in io.grpc.internal
An interface for reading the local and remote flow control windows of the transport.
TransportTracer.FlowControlWindows - Class in io.grpc.internal
A container that holds the local and remote flow control window sizes.
transportTracerFactory - Variable in class io.grpc.internal.AbstractManagedChannelImplBuilder
 
transportTrailersReceived(Metadata) - Method in class io.grpc.internal.Http2ClientStreamTransportState
Called by subclasses for the terminal trailer metadata on a stream.

U

UNAUTHENTICATED - Static variable in class io.grpc.Status
The request does not have valid authentication credentials for the operation.
UNAVAILABLE - Static variable in class io.grpc.Status
The service is currently unavailable.
UNIMPLEMENTED - Static variable in class io.grpc.Status
Operation is not implemented or not supported/enabled in this service.
UNKNOWN - Static variable in class io.grpc.Status
Unknown error.
unwrapLoadBalancingConfig(Map<String, ?>) - Static method in class io.grpc.internal.ServiceConfigUtil
Unwrap a LoadBalancingConfig JSON object into a ServiceConfigUtil.LbConfig.
unwrapLoadBalancingConfigList(List<Map<String, ?>>) - Static method in class io.grpc.internal.ServiceConfigUtil
Given a JSON list of LoadBalancingConfigs, and convert it into a list of LbConfig.
updateBalancingState(ConnectivityState, LoadBalancer.SubchannelPicker) - Method in class io.grpc.LoadBalancer.Helper
Set a new state with a new picker to the channel.
updateBalancingState(ConnectivityState, LoadBalancer.SubchannelPicker) - Method in class io.grpc.util.ForwardingLoadBalancerHelper
 
updateObjectInUse(T, boolean) - Method in class io.grpc.internal.InUseStateAggregator
Update the in-use state of an object.
updateOobChannelAddresses(ManagedChannel, EquivalentAddressGroup) - Method in class io.grpc.LoadBalancer.Helper
Updates the addresses used for connections in the Channel that was created by LoadBalancer.Helper.createOobChannel(EquivalentAddressGroup, String).
updateOobChannelAddresses(ManagedChannel, EquivalentAddressGroup) - Method in class io.grpc.util.ForwardingLoadBalancerHelper
 
updateSubchannelAddresses(LoadBalancer.Subchannel, EquivalentAddressGroup) - Method in class io.grpc.LoadBalancer.Helper
Equivalent to LoadBalancer.Helper.updateSubchannelAddresses(io.grpc.LoadBalancer.Subchannel, List) with the given single EquivalentAddressGroup.
updateSubchannelAddresses(LoadBalancer.Subchannel, List<EquivalentAddressGroup>) - Method in class io.grpc.LoadBalancer.Helper
Replaces the existing addresses used with subchannel.
updateSubchannelAddresses(LoadBalancer.Subchannel, List<EquivalentAddressGroup>) - Method in class io.grpc.util.ForwardingLoadBalancerHelper
 
US_ASCII - Static variable in class io.grpc.internal.GrpcUtil
 
useInputStreamMessages(ServerServiceDefinition) - Static method in class io.grpc.ServerInterceptors
Create a new ServerServiceDefinition whose MethodDescriptor serializes to and from InputStream for all methods.
useMarshalledMessages(ServerServiceDefinition, MethodDescriptor.Marshaller<T>) - Static method in class io.grpc.ServerInterceptors
Create a new ServerServiceDefinition whose MethodDescriptor serializes to and from T for all methods.
usePlaintext(boolean) - Method in class io.grpc.ForwardingChannelBuilder
Deprecated.
usePlaintext() - Method in class io.grpc.ForwardingChannelBuilder
 
usePlaintext(boolean) - Method in class io.grpc.inprocess.InProcessChannelBuilder
Deprecated.
usePlaintext() - Method in class io.grpc.inprocess.InProcessChannelBuilder
Does nothing.
usePlaintext(boolean) - Method in class io.grpc.ManagedChannelBuilder
Deprecated.
usePlaintext() - Method in class io.grpc.ManagedChannelBuilder
Use of a plaintext connection to the server.
usePlaintext(boolean) - Method in class io.grpc.netty.NettyChannelBuilder
Deprecated.
usePlaintext() - Method in class io.grpc.netty.NettyChannelBuilder
Equivalent to using NettyChannelBuilder.negotiationType(NegotiationType) with PLAINTEXT.
usePlaintext(boolean) - Method in class io.grpc.okhttp.OkHttpChannelBuilder
Deprecated.
usePlaintext() - Method in class io.grpc.okhttp.OkHttpChannelBuilder
Sets the negotiation type for the HTTP/2 connection to plaintext.
USER_AGENT_KEY - Static variable in class io.grpc.internal.GrpcUtil
Metadata.Key for the Content-Type request/response header.
userAgent(String) - Method in class io.grpc.ForwardingChannelBuilder
 
userAgent(String) - Method in class io.grpc.internal.AbstractManagedChannelImplBuilder
 
userAgent(String) - Method in class io.grpc.ManagedChannelBuilder
Provides a custom User-Agent for the application.
useTransportSecurity() - Method in class io.grpc.ForwardingChannelBuilder
 
useTransportSecurity() - Method in class io.grpc.inprocess.InProcessChannelBuilder
Does nothing.
useTransportSecurity(File, File) - Method in class io.grpc.inprocess.InProcessServerBuilder
 
useTransportSecurity() - Method in class io.grpc.ManagedChannelBuilder
Makes the client use TLS.
useTransportSecurity() - Method in class io.grpc.netty.NettyChannelBuilder
useTransportSecurity(File, File) - Method in class io.grpc.netty.NettyServerBuilder
 
useTransportSecurity(InputStream, InputStream) - Method in class io.grpc.netty.NettyServerBuilder
 
useTransportSecurity() - Method in class io.grpc.okhttp.OkHttpChannelBuilder
Sets the negotiation type for the HTTP/2 connection to TLS (this is the default).
useTransportSecurity(File, File) - Method in class io.grpc.ServerBuilder
Makes the server use TLS.
useTransportSecurity(InputStream, InputStream) - Method in class io.grpc.ServerBuilder
Makes the server use TLS.

V

value() - Method in interface io.grpc.internal.LongCounter
Returns the value of this counter.
value() - Method in class io.grpc.internal.ReflectionLongAdderCounter
 
value() - Method in enum io.grpc.Status.Code
The numerical value of the code.
valueOf(String) - Static method in enum io.grpc.ChannelLogger.ChannelLogLevel
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.grpc.ConnectivityState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.grpc.internal.ClientStreamListener.RpcProgress
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.grpc.internal.GrpcUtil.Http2Error
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.grpc.MethodDescriptor.MethodType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.grpc.netty.NegotiationType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.grpc.okhttp.NegotiationType
Deprecated.
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.grpc.SecurityLevel
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.grpc.Status.Code
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.grpc.ChannelLogger.ChannelLogLevel
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.grpc.ConnectivityState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.grpc.internal.ClientStreamListener.RpcProgress
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.grpc.internal.GrpcUtil.Http2Error
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.grpc.MethodDescriptor.MethodType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.grpc.netty.NegotiationType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.grpc.okhttp.NegotiationType
Deprecated.
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.grpc.SecurityLevel
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.grpc.Status.Code
Returns an array containing the constants of this enum type, in the order they are declared.
voidMarshaller() - Static method in class io.grpc.testing.TestMethodDescriptors
Creates a new marshaller that does nothing.
voidMethod() - Static method in class io.grpc.testing.TestMethodDescriptors
Creates a new method descriptor that always creates zero length messages, and always parses to null objects.

W

with(Decompressor, boolean) - Method in class io.grpc.DecompressorRegistry
Registers a decompressor for both decompression and message encoding negotiation.
withAuthority(String) - Method in class io.grpc.CallOptions
Override the HTTP/2 authority the channel claims to be connecting to.
withCallCredentials(CallCredentials) - Method in class io.grpc.CallOptions
Returns a new CallOptions with the given call credentials.
withCallCredentials(CallCredentials) - Method in class io.grpc.stub.AbstractStub
Returns a new stub that uses the given call credentials.
withCancellation() - Method in class io.grpc.Context
Create a new context which is independently cancellable and also cascades cancellation from its parent.
withCause(Throwable) - Method in class io.grpc.Status
Create a derived instance of Status with the given cause.
withChannel(Channel) - Method in class io.grpc.stub.AbstractStub
Deprecated.
withChildOption(ChannelOption<T>, T) - Method in class io.grpc.netty.NettyServerBuilder
Specifies a channel option.
withCompression(String) - Method in class io.grpc.CallOptions
Sets the compression to use for the call.
withCompression(String) - Method in class io.grpc.stub.AbstractStub
Set's the compressor name to use for the call.
withDeadline(Deadline) - Method in class io.grpc.CallOptions
Returns a new CallOptions with the given absolute deadline.
withDeadline(Deadline, ScheduledExecutorService) - Method in class io.grpc.Context
Create a new context which will cancel itself at the given Deadline.
withDeadline(Deadline) - Method in class io.grpc.stub.AbstractStub
Returns a new stub with an absolute deadline.
withDeadlineAfter(long, TimeUnit) - Method in class io.grpc.CallOptions
Returns a new CallOptions with a deadline that is after the given duration from now.
withDeadlineAfter(long, TimeUnit, ScheduledExecutorService) - Method in class io.grpc.Context
Create a new context which will cancel itself after the given duration from now.
withDeadlineAfter(long, TimeUnit) - Method in class io.grpc.stub.AbstractStub
Returns a new stub with a deadline that is after the given duration from now.
withDescription(String) - Method in class io.grpc.Status
Create a derived instance of Status with the given description.
withDrop(Status) - Static method in class io.grpc.LoadBalancer.PickResult
A decision to fail an RPC immediately.
withError(Status) - Static method in class io.grpc.LoadBalancer.PickResult
A decision to report a connectivity error to the RPC.
withExecutor(Executor) - Method in class io.grpc.CallOptions
Returns a new CallOptions with executor to be used instead of the default executor specified with ManagedChannelBuilder.executor(java.util.concurrent.Executor).
withExecutor(Executor) - Method in class io.grpc.stub.AbstractStub
Returns a new stub with the given executor that is to be used instead of the default one specified with ManagedChannelBuilder.executor(java.util.concurrent.Executor).
withInterceptors(ClientInterceptor...) - Method in class io.grpc.stub.AbstractStub
Returns a new stub that has the given interceptors attached to the underlying channel.
withMaxInboundMessageSize(int) - Method in class io.grpc.CallOptions
Sets the maximum allowed message size acceptable from the remote peer.
withMaxInboundMessageSize(int) - Method in class io.grpc.stub.AbstractStub
Returns a new stub that limits the maximum acceptable message size from a remote peer.
withMaxOutboundMessageSize(int) - Method in class io.grpc.CallOptions
Sets the maximum allowed message size acceptable sent to the remote peer.
withMaxOutboundMessageSize(int) - Method in class io.grpc.stub.AbstractStub
Returns a new stub that limits the maximum acceptable message size to send a remote peer.
withNoResult() - Static method in class io.grpc.LoadBalancer.PickResult
No decision could be made.
withOption(CallOptions.Key<T>, T) - Method in class io.grpc.CallOptions
Sets a custom option.
withOption(ChannelOption<T>, T) - Method in class io.grpc.netty.NettyChannelBuilder
Specifies a channel option.
withOption(CallOptions.Key<T>, T) - Method in class io.grpc.stub.AbstractStub
Sets a custom option to be passed to client interceptors on the channel ClientInterceptor via the CallOptions parameter.
withoutWaitForReady() - Method in class io.grpc.CallOptions
Disables 'wait for ready' feature for the call.
withServerCallHandler(ServerCallHandler<ReqT, RespT>) - Method in class io.grpc.ServerMethodDefinition
Create a new method definition with a different call handler.
withStreamTracerFactory(ClientStreamTracer.Factory) - Method in class io.grpc.CallOptions
Returns a new CallOptions with a ClientStreamTracerFactory in addition to the existing factories.
withSubchannel(LoadBalancer.Subchannel, ClientStreamTracer.Factory) - Static method in class io.grpc.LoadBalancer.PickResult
A decision to proceed the RPC on a Subchannel.
withSubchannel(LoadBalancer.Subchannel) - Static method in class io.grpc.LoadBalancer.PickResult
Equivalent to withSubchannel(subchannel, null).
withValue(Context.Key<V>, V) - Method in class io.grpc.Context
Create a new context with the given key value set.
withValues(Context.Key<V1>, V1, Context.Key<V2>, V2) - Method in class io.grpc.Context
Create a new context with the given key value set.
withValues(Context.Key<V1>, V1, Context.Key<V2>, V2, Context.Key<V3>, V3) - Method in class io.grpc.Context
Create a new context with the given key value set.
withValues(Context.Key<V1>, V1, Context.Key<V2>, V2, Context.Key<V3>, V3, Context.Key<V4>, V4) - Method in class io.grpc.Context
Create a new context with the given key value set.
withWaitForReady() - Method in class io.grpc.CallOptions
Enables 'wait for ready' feature for the call.
withWaitForReady() - Method in class io.grpc.stub.AbstractStub
Returns a new stub that uses the 'wait for ready' call option.
workerEventLoopGroup(EventLoopGroup) - Method in class io.grpc.netty.NettyServerBuilder
Provides the worker EventGroupLoop to the server.
wrap(Runnable) - Method in class io.grpc.Context
Wrap a Runnable so that it executes with this context as the Context.current() context.
wrap(Callable<C>) - Method in class io.grpc.Context
Wrap a Callable so that it executes with this context as the Context.current() context.
wrap(byte[]) - Static method in class io.grpc.internal.ReadableBuffers
Shortcut for wrap(bytes, 0, bytes.length.
wrap(byte[], int, int) - Static method in class io.grpc.internal.ReadableBuffers
Creates a new ReadableBuffer that is backed by the given byte array.
wrap(ByteBuffer) - Static method in class io.grpc.internal.ReadableBuffers
Creates a new ReadableBuffer that is backed by the given ByteBuffer.
wrapChannel(Channel) - Method in class io.grpc.BinaryLog
 
wrapMethodDefinition(ServerMethodDefinition<ReqT, RespT>) - Method in class io.grpc.BinaryLog
 
WritableBuffer - Interface in io.grpc.internal
An interface for a byte buffer that can only be written to.
WritableBufferAllocator - Interface in io.grpc.internal
An allocator of buffers provided by the transport implementation to MessageFramer so it can send chunks of data to the transport in a form that the transport can directly serialize.
writableBytes() - Method in interface io.grpc.internal.WritableBuffer
Returns the number of bytes one can write to the buffer.
write(byte[], int, int) - Method in interface io.grpc.internal.WritableBuffer
Appends length bytes to the buffer from the source array starting at srcIndex.
write(byte) - Method in interface io.grpc.internal.WritableBuffer
Appends a single byte to the buffer.
writeFrame(WritableBuffer, boolean, boolean, int) - Method in interface io.grpc.internal.AbstractClientStream.Sink
Sends an outbound frame to the remote end point.
writeFrame(WritableBuffer, boolean, int) - Method in interface io.grpc.internal.AbstractServerStream.Sink
Sends an outbound frame to the remote end point.
writeHeaders(Metadata, byte[]) - Method in interface io.grpc.internal.AbstractClientStream.Sink
Sends the request headers to the remote end point.
writeHeaders(Metadata) - Method in interface io.grpc.internal.AbstractServerStream.Sink
Sends response headers to the remote end point.
writeHeaders(Metadata) - Method in class io.grpc.internal.AbstractServerStream
 
writeHeaders(Metadata) - Method in interface io.grpc.internal.ServerStream
Writes custom metadata as headers on the response stream sent to the client.
writeMessage(InputStream) - Method in class io.grpc.internal.AbstractStream
 
writeMessage(InputStream) - Method in class io.grpc.internal.NoopClientStream
 
writeMessage(InputStream) - Method in interface io.grpc.internal.Stream
Writes a message payload to the remote end-point.
writePayload(InputStream) - Method in interface io.grpc.internal.Framer
Writes out a payload message.
writePayload(InputStream) - Method in class io.grpc.internal.MessageFramer
Writes out a payload message.
writeTrailers(Metadata, boolean, Status) - Method in interface io.grpc.internal.AbstractServerStream.Sink
Sends trailers to the remote end point.
A B C D E F G H I J K L M N O P R S T U V W 
Skip navigation links