- 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
-
- 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.
- cancel(String, Throwable) - Method in class io.grpc.ClientCall
-
Prevent any further processing for this ClientCall
.
- cancel() - Method in class io.grpc.SynchronizationContext.ScheduledHandle
-
Cancel the task if it's still
pending
.
- CANCELLED - Static variable in class io.grpc.Status
-
The operation was cancelled (typically by the caller).
- canHandleEmptyAddressListFromNameResolution() - Method in class io.grpc.LoadBalancer
-
- Channel - Class in io.grpc
-
A virtual connection to a conceptual endpoint, to perform RPCs.
- Channel() - Constructor for class io.grpc.Channel
-
- 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.
- 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()
.
- 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.
- ClientInterceptor - Interface in io.grpc
-
Interface for intercepting outgoing calls before they are dispatched by a
Channel
.
- ClientInterceptors - Class in io.grpc
-
- ClientInterceptors.CheckedForwardingClientCall<ReqT,RespT> - Class in io.grpc
-
- clientSendsOneMessage() - Method in enum io.grpc.MethodDescriptor.MethodType
-
- ClientStreamTracer - Class in io.grpc
-
- ClientStreamTracer() - Constructor for class io.grpc.ClientStreamTracer
-
- ClientStreamTracer.Factory - Class in io.grpc
-
- ClientStreamTracer.StreamInfo - Class in io.grpc
-
Information about a stream.
- ClientStreamTracer.StreamInfo.Builder - Class in io.grpc
-
- close(Status, Metadata) - Method in class io.grpc.ServerCall
-
Close the call with the provided status.
- 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.
- 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.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.
- ConnectivityState - Enum in io.grpc
-
The connectivity states.
- ConnectivityStateInfo - Class in io.grpc
-
- containsKey(Metadata.Key<?>) - Method in class io.grpc.Metadata
-
Returns true if a value is defined for the given key.
- Contexts - Class in io.grpc
-
Utility methods for working with Context
s in GRPC.
- create(String) - Static method in class io.grpc.Attributes.Key
-
- create(String) - Static method in class io.grpc.CallOptions.Key
-
- create(String) - Static method in class io.grpc.LoadBalancer.CreateSubchannelArgs.Key
-
- 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.
- 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.
- 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.
- createSubchannel(EquivalentAddressGroup, Attributes) - Method in class io.grpc.LoadBalancer.Helper
-
- createSubchannel(List<EquivalentAddressGroup>, Attributes) - Method in class io.grpc.LoadBalancer.Helper
-
- createSubchannel(LoadBalancer.CreateSubchannelArgs) - 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.
- createWithDefault(String, T) - Static method in class io.grpc.CallOptions.Key
-
- createWithDefault(String, T) - Static method in class io.grpc.LoadBalancer.CreateSubchannelArgs.Key
-
- DATA_LOSS - Static variable in class io.grpc.Status
-
Unrecoverable data loss or corruption.
- 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.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.
- defaultLoadBalancingPolicy(String) - Method in class io.grpc.ForwardingChannelBuilder
-
- 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.ManagedChannelBuilder
-
Provides a service config to the channel.
- 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
-
- deregister(LoadBalancerProvider) - Method in class io.grpc.LoadBalancerRegistry
-
Deregisters a provider.
- deregister(NameResolverProvider) - Method in class io.grpc.NameResolverRegistry
-
Deregisters a provider.
- directExecutor() - Method in class io.grpc.ForwardingChannelBuilder
-
- 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.
- disableRetry() - Method in class io.grpc.ForwardingChannelBuilder
-
- 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.ManagedChannelBuilder
-
Disables service config look-up from the naming system, which is enabled by default.
- discard(Attributes.Key<T>) - Method in class io.grpc.Attributes.Builder
-
Removes the key and associated value from the attribtues.
- discardAll(Metadata.Key<T>) - Method in class io.grpc.Metadata
-
Remove all values for the given key without returning them.
- 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
-
- drainTo(OutputStream) - Method in interface io.grpc.Drainable
-
Transfers the entire contents of this stream to the specified target.
- generateFullMethodName(String, String) - Static method in class io.grpc.MethodDescriptor
-
Generate the fully qualified method name.
- get(Attributes.Key<T>) - Method in class io.grpc.Attributes
-
Gets the value for the key, or null
if it's not present.
- 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.CreateSubchannelArgs
-
Returns the addresses, which is an unmodifiable list.
- 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.LoadBalancer.CreateSubchannelArgs
-
Returns the attributes.
- getAttributes() - Method in class io.grpc.LoadBalancer.ResolvedAddresses
-
Gets the attributes associated with these addresses.
- getAttributes() - Method in class io.grpc.LoadBalancer.Subchannel
-
- 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.LoadBalancer.Helper
-
Returns the authority string of the channel, which is derived from the DNS-style target name.
- getAuthority() - Method in class io.grpc.ServerCall
-
Gets the authority this call is addressed to.
- getAuthority() - Method in class io.grpc.ServerStreamTracer.ServerCallInfo
-
- 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.
- getCause() - Method in class io.grpc.Status
-
The underlying cause of an error.
- 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
-
- 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.
- getDefault() - Method in class io.grpc.CallOptions.Key
-
Returns the user supplied default value for this key.
- getDefault() - Method in class io.grpc.LoadBalancer.CreateSubchannelArgs.Key
-
Returns the user supplied default value for this key.
- 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.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.
- 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.NameResolver.Factory
-
- getDescription() - Method in class io.grpc.Status
-
A description of this status for human consumption.
- getError() - Method in class io.grpc.NameResolver.ConfigOrError
-
Returns error status if exists, otherwise null.
- getExecutor() - Method in class io.grpc.CallOptions
-
- getFullMethodName() - Method in class io.grpc.MethodDescriptor
-
The fully qualified name of the method.
- getHeaders() - Method in class io.grpc.LoadBalancer.PickSubchannelArgs
-
Headers of the call.
- getImmutableServices() - Method in class io.grpc.Server
-
Returns immutable services registered with the server, or an empty list if not supported by the
implementation.
- getInternalSubchannel() - Method in class io.grpc.LoadBalancer.Subchannel
-
(Internal use only) returns an object that represents the underlying subchannel that is used
by the Channel for sending RPCs when this
LoadBalancer.Subchannel
is picked.
- getKnownMessageEncodings() - Method in class io.grpc.DecompressorRegistry
-
Provides a list of all message encodings that have decompressors available.
- getListenSockets() - Method in class io.grpc.Server
-
Returns a list of listening sockets for this server.
- getLoadBalancingPolicyConfig() - Method in class io.grpc.LoadBalancer.ResolvedAddresses
-
Gets the domain specific load balancing policy.
- 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 class io.grpc.ServerCall
-
- 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.Server
-
Returns mutable services registered with the server, or an empty list if not supported by the
implementation.
- getName() - Method in class io.grpc.ServiceDescriptor
-
Simple name of the service.
- getNameResolverArgs() - Method in class io.grpc.LoadBalancer.Helper
-
- getNameResolverFactory() - Method in class io.grpc.LoadBalancer.Helper
-
- getNameResolverRegistry() - Method in class io.grpc.LoadBalancer.Helper
-
- getOption(CallOptions.Key<T>) - Method in class io.grpc.CallOptions
-
Get the value for a custom option or its inherent default.
- getOption(LoadBalancer.CreateSubchannelArgs.Key<T>) - Method in class io.grpc.LoadBalancer.CreateSubchannelArgs
-
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.LoadBalancerProvider
-
- getPort() - Method in class io.grpc.Server
-
Returns the port number the server is listening on.
- 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
.
- 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 class io.grpc.LoadBalancer.Helper
-
- 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.
- getServerCallHandler() - Method in class io.grpc.ServerMethodDefinition
-
Handler for incoming calls.
- getServiceAuthority() - Method in class io.grpc.NameResolver
-
Returns the authority used to authenticate connections to servers.
- getServiceConfig() - Method in class io.grpc.NameResolver.ResolutionResult
-
- getServiceConfigParser() - Method in class io.grpc.NameResolver.Args
-
- 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())
.
- getServices() - Method in class io.grpc.HandlerRegistry
-
Returns the
ServerServiceDefinition
s provided by the registry, or an empty list if not
supported by the implementation.
- getServices() - Method in class io.grpc.Server
-
Returns all services registered with the server, or an empty list if not supported by the
implementation.
- getState() - Method in class io.grpc.ConnectivityStateInfo
-
Returns the state.
- getState(boolean) - Method in class io.grpc.ManagedChannel
-
Gets the current connectivity state.
- 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.
- getStreamTracerFactories() - Method in class io.grpc.CallOptions
-
Returns an immutable list of ClientStreamTracerFactory
s.
- 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
-
- getSynchronizationContext() - Method in class io.grpc.NameResolver.Args
-
- getSynchronizationContext() - Method in class io.grpc.NameResolver.Helper
-
Deprecated.
- getTargetAddress() - Method in class io.grpc.HttpConnectProxiedSocketAddress
-
Returns the address to the target server.
- 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.
- getType() - Method in class io.grpc.MethodDescriptor
-
The call type of the method.
- getUsername() - Method in class io.grpc.HttpConnectProxiedSocketAddress
-
Returns the username used to connect to the proxy.
- 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.
- Gzip() - Constructor for class io.grpc.Codec.Gzip
-
- idleTimeout(long, TimeUnit) - Method in class io.grpc.ForwardingChannelBuilder
-
- idleTimeout(long, TimeUnit) - Method in class io.grpc.ManagedChannelBuilder
-
Set the duration without ongoing RPCs before going to idle mode.
- inboundHeaders() - Method in class io.grpc.ClientStreamTracer
-
Headers has been received from the server.
- inboundMessage(int) - Method in class io.grpc.StreamTracer
-
An inbound message has been received by the stream.
- inboundMessageRead(int, long, long) - Method in class io.grpc.StreamTracer
-
An inbound message has been fully read from the transport.
- inboundTrailers(Metadata) - Method in class io.grpc.ClientStreamTracer
-
Trailing metadata has been received from the server.
- inboundUncompressedSize(long) - Method in class io.grpc.StreamTracer
-
The uncompressed size of some inbound data is revealed.
- inboundWireSize(long) - Method in class io.grpc.StreamTracer
-
The wire size of some inbound data is revealed.
- 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.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
-
- intercept(ServerServiceDefinition, ServerInterceptor...) - Static method in class io.grpc.ServerInterceptors
-
Create a new
ServerServiceDefinition
whose
ServerCallHandler
s 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
ServerCallHandler
s 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 interface io.grpc.ClientInterceptor
-
- 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
-
- 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
ServerCallHandler
s 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
ServerCallHandler
s 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.
- INVALID_ARGUMENT - Static variable in class io.grpc.Status
-
Client specified an invalid argument.
- io.grpc - package io.grpc
-
The gRPC core public API.
- 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.ServerProvider
-
Whether this provider is available for use, taking the current environment into consideration.
- 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.
- isDrop() - Method in class io.grpc.LoadBalancer.PickResult
-
Returns
true
if this result was created by
withDrop()
.
- isIdempotent() - Method in class io.grpc.MethodDescriptor
-
Returns whether this method is idempotent.
- isOk() - Method in class io.grpc.Status
-
Is this status OK, i.e., not an error.
- 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.ServerCall
-
If true
, indicates that the call 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.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.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
-
- of(String) - Static method in class io.grpc.Attributes.Key
-
- 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.
- OK - Static variable in class io.grpc.Status
-
The operation completed successfully.
- 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
-
- 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
-
- 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.
- 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.
- onReady() - Method in class io.grpc.ClientCall.Listener
-
This indicates that the ClientCall may now be capable of sending additional messages (via
ClientCall.sendMessage(ReqT)
) without requiring excessive buffering internally.
- onReady() - Method in class io.grpc.ServerCall.Listener
-
This indicates that the call may now be 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.
- onSubchannelState(ConnectivityStateInfo) - Method in interface io.grpc.LoadBalancer.SubchannelStateListener
-
Handles a state change on a Subchannel.
- 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.
- outboundMessage(int) - Method in class io.grpc.StreamTracer
-
An outbound message has been passed to the stream.
- outboundMessageSent(int, long, long) - Method in class io.grpc.StreamTracer
-
An outbound message has been serialized and sent to the transport.
- outboundUncompressedSize(long) - Method in class io.grpc.StreamTracer
-
The uncompressed size of some outbound data is revealed.
- outboundWireSize(long) - Method in class io.grpc.StreamTracer
-
The wire size of some outbound data is revealed.
- overrideAuthority(String) - Method in class io.grpc.ForwardingChannelBuilder
-
- overrideAuthority(String) - Method in class io.grpc.ManagedChannelBuilder
-
Overrides the authority used with TLS and HTTP virtual hosting.
- PARAMS_DEFAULT_PORT - Static variable in class io.grpc.NameResolver.Factory
-
- PARAMS_DEFAULT_PORT - Static variable in class io.grpc.NameResolverProvider
-
Deprecated.
- PARAMS_PROXY_DETECTOR - Static variable in class io.grpc.NameResolver.Factory
-
- 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.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
-
- 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.
- PERMISSION_DENIED - Static variable in class io.grpc.Status
-
The caller does not have permission to execute the specified operation.
- perRpcBufferLimit(long) - Method in class io.grpc.ForwardingChannelBuilder
-
- perRpcBufferLimit(long) - Method in class io.grpc.ManagedChannelBuilder
-
Sets the per RPC buffer limit in bytes used for retry.
- 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
-
- 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.ServerProvider
-
A priority, from 0 to 10 that this provider should be used, taking the current environment into
consideration.
- 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
-
- 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.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.
- schedule(Runnable, long, TimeUnit, ScheduledExecutorService) - Method in class io.grpc.SynchronizationContext
-
- 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.
- Server - Class in io.grpc
-
Server for listening for and dispatching incoming calls.
- Server() - Constructor for class io.grpc.Server
-
- 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
-
- serverCallStarted(ServerStreamTracer.ServerCallInfo<?, ?>) - Method in class io.grpc.ServerStreamTracer
-
- serverCallStarted(ServerCall<?, ?>) - Method in class io.grpc.ServerStreamTracer
-
- ServerInterceptor - Interface in io.grpc
-
Interface for intercepting incoming calls before that are dispatched by
ServerCallHandler
.
- ServerInterceptors - Class in io.grpc
-
- 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
-
- 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.
- 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
.
- 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
-
- ServiceConfigParser() - Constructor for class io.grpc.NameResolver.ServiceConfigParser
-
- 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
-
- set(Attributes.Key<T>, T) - Method in class io.grpc.Attributes.Builder
-
- setAddresses(EquivalentAddressGroup) - Method in class io.grpc.LoadBalancer.CreateSubchannelArgs.Builder
-
The addresses to connect to.
- setAddresses(List<EquivalentAddressGroup>) - Method in class io.grpc.LoadBalancer.CreateSubchannelArgs.Builder
-
The addresses to connect to.
- 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.CreateSubchannelArgs.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.
- setBinaryLog(BinaryLog) - Method in class io.grpc.ForwardingChannelBuilder
-
- 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.
- setCompression(String) - Method in class io.grpc.ServerCall
-
Sets the compression algorithm for this call.
- setDefaultPort(int) - Method in class io.grpc.NameResolver.Args.Builder
-
- setFullMethodName(String) - Method in class io.grpc.MethodDescriptor.Builder
-
Sets the fully qualified (service and method) method name.
- setIdempotent(boolean) - Method in class io.grpc.MethodDescriptor.Builder
-
Sets whether the method is idempotent.
- setLoadBalancingPolicyConfig(Object) - Method in class io.grpc.LoadBalancer.ResolvedAddresses.Builder
-
Sets the load balancing policy config.
- 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.ServerCall
-
Enables per-message compression, if an encoding type has been negotiated.
- setName(String) - Method in class io.grpc.ServiceDescriptor.Builder
-
Sets the name.
- 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
-
- setServiceConfigParser(NameResolver.ServiceConfigParser) - Method in class io.grpc.NameResolver.Args.Builder
-
- 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.
- setTransportAttrs(Attributes) - Method in class io.grpc.ClientStreamTracer.StreamInfo.Builder
-
Sets the attributes of the transport that this stream was created on.
- setType(MethodDescriptor.MethodType) - Method in class io.grpc.MethodDescriptor.Builder
-
Sets the method type.
- setUsername(String) - Method in class io.grpc.HttpConnectProxiedSocketAddress.Builder
-
Sets the username used to connect to the proxy.
- 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.
- 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
-
- 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(LoadBalancer.SubchannelStateListener) - Method in class io.grpc.LoadBalancer.Subchannel
-
Starts the Subchannel.
- 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.
- 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.
- statusFromCancelled(Context) - Static method in class io.grpc.Contexts
-
Returns the
Status
of a cancelled context or
null
if the context
is not cancelled.
- 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.
- 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.StreamTracer
-
Stream is closed.
- streamRequest(ReqT) - Method in class io.grpc.MethodDescriptor
-
- 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
-