Uses of Annotation Interface
io.grpc.Internal
Packages that use Internal
Package
Description
The gRPC core public API.
The in-process transport which is for when a server is in the same process as the client.
The main transport implementation based on Netty,
for both the client and the server.
API for the Stub layer.
Utilities with advanced features in the core layer that user can optionally use.
Packages with annotations of type Internal
-
Uses of Internal in io.grpc
Modifier and TypeInterfaceDescriptioninterface
Tagging interface for MetricInstruments that can be used with batch callbacks.final class
Represents a double-valued counter metric instrument.final class
Represents a double-valued histogram metric instrument.final class
Internal accessor forCallOptions
.final class
This is an internal API.final class
Internal accessor.class
Per method config selector that the channel or load balancers will use to choose the appropriate config or take config related actions for an RPC.interface
Internal access to Configurator API.final class
Access internal global configurators.final class
Private accessor for decompressor registries.interface
An internal class.enum
All known transports.final class
An internal class.final class
Internal accessors forManagedChannelBuilder
.final class
Internal accessor forManagedChannelProvider
.interface
final class
InternalMetadata
accessor.static interface
A specialized plain ASCII marshaller.final class
Accesses internal data and methods.class
final class
Accessor to internal methods ofServerInterceptors
.final class
Internal accessor forServerProvider
.final class
final class
Accesses internal data.interface
An internal class.final class
interface
An internal class.static interface
Receives information about the pick being chosen.final class
Represents a long-valued counter metric instrument.final class
Represents a long-valued gauge metric instrument.final class
Represents a long-valued histogram metric instrument.protected static interface
Internal-only.class
Provider of managed channels for transport agnostic consumption.final class
Registry ofManagedChannelProvider
s.interface
Represents a metric instrument.final class
A registry for globally registered metric instruments.interface
An interface used for recording gRPC metrics.interface
An internal interface representing a receiver or aggregator of gRPC metrics data.class
Provider of servers for transport agnostic consumption.final class
Registry ofServerProvider
s.Modifier and TypeFieldDescriptionstatic final Attributes.Key
<Map<String, ?>> LoadBalancer.ATTR_HEALTH_CHECKING_CONFIG
static final com.google.common.io.BaseEncoding
InternalMetadata.BASE64_ENCODING_OMIT_PADDING
An instance of base64 encoder that omits padding.static final Metadata.Key
<Status> InternalStatus.CODE_KEY
Key to bind status code to trailing metadata.static final LoadBalancer.CreateSubchannelArgs.Key
<Boolean> LoadBalancer.DISABLE_SUBCHANNEL_RECONNECT_KEY
static final Attributes.Key
<Boolean> LoadBalancer.HAS_HEALTH_PRODUCER_LISTENER_KEY
LoadBalancer.HEALTH_CONSUMER_LISTENER_ARG_KEY
static final Metadata.Key
<String> InternalStatus.MESSAGE_KEY
Key to bind status message to trailing metadata.static final Charset
InternalMetadata.US_ASCII
Copy of StandardCharsets, which is only available on Java 1.7 and above.Modifier and TypeMethodDescriptionprotected T
ManagedChannelBuilder.addMetricSink
(MetricSink metricSink) Adds aMetricSink
for channel to use for configuring and recording metrics.void
ClientStreamTracer.addOptionalLabel
(String key, String value) Information providing context to the call became available.LoadBalancer.Subchannel.asChannel()
(Internal use only) returns aChannel
that is backed by this Subchannel.static final StatusRuntimeException
InternalStatus.asRuntimeException
(Status status, Metadata trailers, boolean fillInStackTrace) Create a newStatusRuntimeException
with the internal option of skipping the filling of the stack trace.LoadBalancer.Subchannel.getConnectedAddressAttributes()
(Internal use only) returns attributes of the address subchannel is connected to.LoadBalancer.Subchannel.getInternalSubchannel()
(Internal use only) returns an object that represents the underlying subchannel that is used by the Channel for sending RPCs when thisLoadBalancer.Subchannel
is picked.Look up a method by its fully qualified name.LoadBalancer.Helper.getMetricRecorder()
Returns theMetricRecorder
that the channel uses to record metrics.LoadBalancer.PickSubchannelArgs.getPickDetailsConsumer()
Gets an object that can be informed about what sort of pick was made.static byte[]
InternalDecompressorRegistry.getRawAdvertisedMessageEncodings
(DecompressorRegistry reg) static int
InternalMetadata.headerCount
(Metadata md) protected T
ManagedChannelBuilder.interceptWithTarget
(ManagedChannelBuilder.InterceptorFactory factory) Internal-only: Adds a factory that will construct an interceptor based on the channel's target.static <T> Metadata.Key
<T> InternalMetadata.keyOf
(String name, InternalMetadata.TrustedAsciiMarshaller<T> marshaller) static <T> Metadata.Key
<T> InternalMetadata.keyOf
(String name, Metadata.AsciiMarshaller<T> marshaller) static Metadata
InternalMetadata.newMetadata
(byte[]... binaryValues) static Metadata
InternalMetadata.newMetadata
(int usedNames, byte[]... binaryValues) static Metadata
InternalMetadata.newMetadataWithParsedValues
(int usedNames, Object[] namesAndValues) Creates a newMetadata
instance from serialized data, with some values pre-parsed.static <T> Object
InternalMetadata.parsedValue
(Metadata.BinaryStreamMarshaller<T> marshaller, T value) Creates a holder for a pre-parsed value read by the transport.static byte[][]
static Object[]
InternalMetadata.serializePartial
(Metadata md) Serializes all metadata entries, leaving some values asInputStream
s. -
Uses of Internal in io.grpc.inprocess
Classes in io.grpc.inprocess with annotations of type InternalModifier and TypeClassDescriptionfinal class
InternalInProcessChannelBuilder
accessor.class
InternalInProcessServerBuilder
accessor.Methods in io.grpc.inprocess with annotations of type InternalModifier and TypeMethodDescriptionprotected ManagedChannelBuilder
<?> InProcessChannelBuilder.delegate()
protected ServerBuilder
<?> InProcessServerBuilder.delegate()
-
Uses of Internal in io.grpc.netty
Classes in io.grpc.netty with annotations of type InternalModifier and TypeClassDescriptionclass
gRPC wrapper forHttp2ConnectionHandler
.final class
Internal accessor forGracefulServerCloseCommand
.final class
InternalNettyChannelBuilder
accessor.final class
InternalNettyChannelCredentials
accessor.final class
InternalNettyServerBuilder
accessor.final class
InternalNettyServerCredentials
accessor.final class
An internal accessor.final class
Internal accessor forProtocolNegotiationEvent
.final class
Internal accessor forInternalProtocolNegotiator.ProtocolNegotiator
.final class
Utility class forWriteBufferingAndExceptionHandler
.final class
Provider forNettyChannelBuilder
instances.final class
Provider forNettyServerBuilder
instances.final class
Represents a completion of a protocol negotiation stage.final class
final class
Provider forNettyChannelBuilder
instances for UDS channels.Methods in io.grpc.netty with annotations of type InternalModifier and TypeMethodDescriptionprotected ManagedChannelBuilder
<?> NettyChannelBuilder.delegate()
protected ServerBuilder
<?> NettyServerBuilder.delegate()
final NettyServerBuilder
NettyServerBuilder.protocolNegotiator
(io.grpc.netty.ProtocolNegotiator protocolNegotiator) Sets theProtocolNegotiator
to be used. -
Uses of Internal in io.grpc.stub
Classes in io.grpc.stub with annotations of type Internal -
Uses of Internal in io.grpc.util
Classes in io.grpc.util with annotations of type InternalModifier and TypeClassDescriptionfinal class
A newLoadBalancer.Helper
used by health producer systems to build health notification chain, viaLoadBalancer.CreateSubchannelArgs
.class
A base load balancing policy for those policies which has multiple children such as ClusterManager or the petiole policies.final class
Wraps a childLoadBalancer
while monitoring for outlier backends and removing them from the use of the child LB.final class