- 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 CallCredentials.applyRequestMetadata()
.
- CallCredentials2 - Class in io.grpc
-
- CallCredentials2() - Constructor for class io.grpc.CallCredentials2
-
Deprecated.
- CallCredentials2.MetadataApplier - Class in io.grpc
-
Deprecated.
- callExecutor(ServerCallExecutorSupplier) - Method in class io.grpc.ForwardingServerBuilder
-
- callExecutor(ServerCallExecutorSupplier) - Method in class io.grpc.ServerBuilder
-
Allows for defining a way to provide a custom executor to handle the server call.
- 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
-
- channelBuilder(ManagedChannelBuilder<?>) - Static method in class io.grpc.ManagedChannelProvider.NewChannelBuilderResult
-
- ChannelCredentials - Class in io.grpc
-
Represents a security configuration to be used for channels.
- ChannelCredentials() - Constructor for class io.grpc.ChannelCredentials
-
- 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()
.
- ChoiceChannelCredentials - Class in io.grpc
-
- ChoiceServerCredentials - Class in io.grpc
-
- clientAuth(TlsServerCredentials.ClientAuth) - Method in class io.grpc.TlsServerCredentials.Builder
-
Indicates whether the server should expect a client's identity.
- 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
-
Returns true
for UNARY
and SERVER_STREAMING
, which do not permit the
client to stream.
- ClientStreamTracer - Class in io.grpc
-
- ClientStreamTracer() - Constructor for class io.grpc.ClientStreamTracer
-
- ClientStreamTracer.Factory - Class in io.grpc
-
- ClientStreamTracer.InternalLimitedInfoFactory - Class in io.grpc
-
An abstract class for internal use only.
- 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.
- CompositeCallCredentials - Class in io.grpc
-
Uses multiple CallCredentials
as if they were one.
- CompositeCallCredentials(CallCredentials, CallCredentials) - Constructor for class io.grpc.CompositeCallCredentials
-
- CompositeChannelCredentials - Class in io.grpc
-
- 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.ForwardingServerBuilder
-
- 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(ChannelCredentials...) - Static method in class io.grpc.ChoiceChannelCredentials
-
Constructs with the provided creds
as options, with preferred credentials first.
- create(ServerCredentials...) - Static method in class io.grpc.ChoiceServerCredentials
-
Constructs with the provided creds
as options, with preferred credentials first.
- create(ChannelCredentials, CallCredentials) - Static method in class io.grpc.CompositeChannelCredentials
-
- create() - Static method in class io.grpc.InsecureChannelCredentials
-
- create() - Static method in class io.grpc.InsecureServerCredentials
-
- 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.
- create() - Static method in class io.grpc.TlsChannelCredentials
-
Use TLS with its defaults.
- create(File, File) - Static method in class io.grpc.TlsServerCredentials
-
Creates an instance using provided certificate chain and private key.
- create(InputStream, InputStream) - Static method in class io.grpc.TlsServerCredentials
-
Creates an instance using provided certificate chain and private key.
- 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(List<EquivalentAddressGroup>, String) - Method in class io.grpc.LoadBalancer.Helper
-
Accept a list of EAG for multiple authorities: https://github.com/grpc/grpc-java/issues/4618
- 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.
- createResolvingOobChannelBuilder(String) - Method in class io.grpc.LoadBalancer.Helper
-
- createResolvingOobChannelBuilder(String, ChannelCredentials) - Method in class io.grpc.LoadBalancer.Helper
-
Creates an out-of-band channel builder for LoadBalancer's own RPC needs, e.g., talking to an
external load-balancer service, that is specified by a target string and credentials.
- 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
-
- 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
-
- getBareMethodName() - Method in class io.grpc.MethodDescriptor
-
A convenience method for extractBareMethodName(getFullMethodName())
.
- getByteBuffer() - Method in interface io.grpc.HasByteBuffer
-
Gets a
ByteBuffer
containing some bytes of the content next to be read, or
null
if has reached end of the content.
- getCallCredentials() - Method in class io.grpc.CompositeChannelCredentials
-
- 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.
- getCertificateChain() - Method in class io.grpc.TlsChannelCredentials
-
The certificate chain for the client's identity, as a new byte array.
- getCertificateChain() - Method in class io.grpc.TlsServerCredentials
-
The certificate chain for the server's identity, as a new byte array.
- getChannelBuilder() - Method in class io.grpc.ManagedChannelProvider.NewChannelBuilderResult
-
- getChannelCredentials() - Method in class io.grpc.CompositeChannelCredentials
-
- getChannelCredentials() - Method in class io.grpc.LoadBalancer.Helper
-
Returns the ChannelCredentials used to construct the channel, without bearer tokens.
- 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
-
- getChannelLogger() - Method in class io.grpc.NameResolver.Args
-
Returns the
ChannelLogger
for the Channel served by this NameResolver.
- getClientAuth() - Method in class io.grpc.TlsServerCredentials
-
Non-null
setting indicating whether the server should expect a client's identity.
- 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.
- getCredentialsList() - Method in class io.grpc.ChoiceChannelCredentials
-
Non-empty list of credentials, in preference order.
- getCredentialsList() - Method in class io.grpc.ChoiceServerCredentials
-
Non-empty list of credentials, in preference order.
- 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.
- 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.ManagedChannelRegistry
-
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.
- getDefaultRegistry() - Static method in class io.grpc.ServerRegistry
-
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.ManagedChannelProvider.NewChannelBuilderResult
-
- getError() - Method in class io.grpc.NameResolver.ConfigOrError
-
Returns error status if exists, otherwise null.
- getError() - Method in class io.grpc.ServerProvider.NewServerBuilderResult
-
- getExecutor() - Method in class io.grpc.CallOptions
-
- getExecutor(ServerCall<ReqT, RespT>, Metadata) - Method in interface io.grpc.ServerCallExecutorSupplier
-
Returns an executor to handle the server call.
- 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.
- getKeyManagers() - Method in class io.grpc.TlsChannelCredentials
-
Returns the key manager list which provides the client's identity.
- getKeyManagers() - Method in class io.grpc.TlsServerCredentials
-
Returns the key manager list which provides the server's identity.
- 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
-
- getNameResolverRegistry() - Method in class io.grpc.LoadBalancer.Helper
-
- getOffloadExecutor() - Method in class io.grpc.NameResolver.Args
-
Returns the Executor on which this resolver should execute long-running or I/O bound work.
- 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.
- getPreviousAttempts() - Method in class io.grpc.ClientStreamTracer.StreamInfo
-
Returns the number of preceding attempts for the RPC.
- 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.
- getPrivateKey() - Method in class io.grpc.TlsChannelCredentials
-
The private key for the client's identity, as a new byte array.
- getPrivateKey() - Method in class io.grpc.TlsServerCredentials
-
The private key for the server's identity, as a new byte array.
- getPrivateKeyPassword() - Method in class io.grpc.TlsChannelCredentials
-
Returns the password to decrypt the private key, or null
if unencrypted.
- getPrivateKeyPassword() - Method in class io.grpc.TlsServerCredentials
-
Returns the password to decrypt the private key, or null
if unencrypted.
- 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
.
- 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.
- getRootCertificates() - Method in class io.grpc.TlsChannelCredentials
-
Root trust certificates for verifying the server's identity that override the system's
defaults.
- getRootCertificates() - Method in class io.grpc.TlsServerCredentials
-
Root trust certificates for verifying the client's identity that override the system's
defaults.
- getScheduledExecutorService() - Method in class io.grpc.LoadBalancer.Helper
-
- getScheduledExecutorService() - Method in class io.grpc.NameResolver.Args
-
- 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.
- getScheme() - Method in class io.grpc.NameResolverProvider
-
Returns the scheme associated with the provider.
- getSecurityLevel() - Method in class io.grpc.CallCredentials.RequestInfo
-
The security level on the transport.
- getServerBuilder() - Method in class io.grpc.ServerProvider.NewServerBuilderResult
-
- 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
-
- 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
-
- getTrustManagers() - Method in class io.grpc.TlsChannelCredentials
-
Returns the trust manager list which verifies the server's identity.
- getTrustManagers() - Method in class io.grpc.TlsServerCredentials
-
Returns the trust manager list which verifies the client's identity.
- getType() - Method in class io.grpc.MethodDescriptor
-
The call type of the method.
- getUnsafeChannelCredentials() - Method in class io.grpc.LoadBalancer.Helper
-
Returns the UNSAFE ChannelCredentials used to construct the channel,
including bearer tokens.
- 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.
- ignoreRefreshNameResolutionCheck() - Method in class io.grpc.LoadBalancer.Helper
-
Historically the channel automatically refreshes name resolution if any subchannel
connection is broken.
- 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.
- incomprehensible(Set<TlsChannelCredentials.Feature>) - Method in class io.grpc.TlsChannelCredentials
-
Returns an empty set if this credential can be adequately understood via
the features listed, otherwise returns a hint of features that are lacking
to understand the configuration to be used for manual debugging.
- incomprehensible(Set<TlsServerCredentials.Feature>) - Method in class io.grpc.TlsServerCredentials
-
Returns an empty set if this credential can be adequately understood via
the features listed, otherwise returns a hint of features that are lacking
to understand the configuration to be used for manual debugging.
- InsecureChannelCredentials - Class in io.grpc
-
No client identity, authentication, or encryption is to be used.
- InsecureServerCredentials - Class in io.grpc
-
No server identity or encryption is to be used.
- 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(ServerInterceptor) - Method in class io.grpc.ForwardingServerBuilder
-
- 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.
- InternalLimitedInfoFactory() - Constructor for class io.grpc.ClientStreamTracer.InternalLimitedInfoFactory
-
- 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.
- isTransparentRetry() - Method in class io.grpc.ClientStreamTracer.StreamInfo
-
Whether the stream is a transparent retry.
- isWaitForReady() - Method in class io.grpc.CallOptions
-
- 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
-
- serverBuilder(ServerBuilder<?>) - Static method in class io.grpc.ServerProvider.NewServerBuilderResult
-
- 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.
- ServerCallExecutorSupplier - Interface in io.grpc
-
Defines what executor handles the server call, based on each RPC call information at runtime.
- 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
-
- ServerCredentials - Class in io.grpc
-
Represents a security configuration to be used for servers.
- ServerCredentials() - Constructor for class io.grpc.ServerCredentials
-
- 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
-
- ServerProvider.NewServerBuilderResult - Class in io.grpc
-
- ServerRegistry - Class in io.grpc
-
- ServerRegistry() - Constructor for class io.grpc.ServerRegistry
-
- ServerRegistry.ProviderNotFoundException - Exception in io.grpc
-
- serverSendsOneMessage() - Method in enum io.grpc.MethodDescriptor.MethodType
-
Returns true
for UNARY
and CLIENT_STREAMING
, which do not permit the
server to stream.
- 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.ForwardingServerBuilder
-
- 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.NameResolver.Args.Builder
-
- 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.
- setIsTransparentRetry(boolean) - Method in class io.grpc.ClientStreamTracer.StreamInfo.Builder
-
Sets whether the stream is a transparent retry.
- 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.
- setOffloadExecutor(Executor) - Method in class io.grpc.NameResolver.Args.Builder
-
- setPassword(String) - Method in class io.grpc.HttpConnectProxiedSocketAddress.Builder
-
Sets the password used to connect to the proxy.
- setPreviousAttempts(int) - Method in class io.grpc.ClientStreamTracer.StreamInfo.Builder
-
Set the number of preceding attempts of the RPC.
- 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.
- setScheduledExecutorService(ScheduledExecutorService) - Method in class io.grpc.NameResolver.Args.Builder
-
- 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
-
- 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
-
Starts asynchronous processing of an 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.
- streamCreated(Attributes, Metadata) - Method in class io.grpc.ClientStreamTracer
-
The stream is being created on a ready transport.
- 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
-
- 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.
- thisUsesUnstableApi() - Method in class io.grpc.CompositeCallCredentials
-
- throwIfNotInThisSynchronizationContext() - Method in class io.grpc.SynchronizationContext
-
- TlsChannelCredentials - Class in io.grpc
-
TLS credentials, providing server authentication and encryption.
- TlsChannelCredentials.Builder - Class in io.grpc
-
- TlsChannelCredentials.Feature - Enum in io.grpc
-
Features to understand TLS configuration.
- TlsServerCredentials - Class in io.grpc
-
TLS credentials, providing server identity and encryption.
- TlsServerCredentials.Builder - Class in io.grpc
-
- TlsServerCredentials.ClientAuth - Enum in io.grpc
-
The level of authentication the server should expect from the client.
- TlsServerCredentials.Feature - Enum in io.grpc
-
Features to understand TLS configuration.
- 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.CreateSubchannelArgs
-
Returns a builder with the same initial values as this object.
- 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.
- toBytes(T) - Method in interface io.grpc.Metadata.BinaryMarshaller
-
Serialize a metadata value to bytes.
- toStatus() - Method in enum io.grpc.Status.Code
-
Returns a
Status
object corresponding to this status code.
- toStream(T) - Method in interface io.grpc.Metadata.BinaryStreamMarshaller
-
- 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.EquivalentAddressGroup
-
- toString() - Method in class io.grpc.ForwardingChannelBuilder
-
- toString() - Method in class io.grpc.ForwardingServerBuilder
-
- toString() - Method in class io.grpc.HttpConnectProxiedSocketAddress
-
- toString() - Method in class io.grpc.LoadBalancer.CreateSubchannelArgs.Key
-
- toString() - Method in class io.grpc.LoadBalancer.CreateSubchannelArgs
-
- 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.ServiceDescriptor
-
- toString() - Method in class io.grpc.Status
-
A string representation of the status useful for debugging.
- trailersFromThrowable(Throwable) - Static method in class io.grpc.Status
-
Extract an error trailers from the causal chain of a
Throwable
.
- 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.
- transportReady(Attributes) - Method in class io.grpc.ServerTransportFilter
-
Called when a transport is ready to process streams.
- transportTerminated(Attributes) - Method in class io.grpc.ServerTransportFilter
-
Called when a transport is terminated.
- trustManager(File) - Method in class io.grpc.TlsChannelCredentials.Builder
-
Use the provided root certificates to verify the server's identity instead of the system's
default.
- trustManager(InputStream) - Method in class io.grpc.TlsChannelCredentials.Builder
-
Use the provided root certificates to verify the server's identity instead of the system's
default.
- trustManager(TrustManager...) - Method in class io.grpc.TlsChannelCredentials.Builder
-
Have the provided trust manager verify the server's identity instead of the system's default.
- trustManager(File) - Method in class io.grpc.TlsServerCredentials.Builder
-
Use the provided root certificates to verify the client's identity instead of the system's
default.
- trustManager(InputStream) - Method in class io.grpc.TlsServerCredentials.Builder
-
Use the provided root certificates to verify the client's identity instead of the system's
default.
- trustManager(TrustManager...) - Method in class io.grpc.TlsServerCredentials.Builder
-
Have the provided trust manager verify the client's identity instead of the system's default.