Package io.grpc.alts

Class GoogleDefaultChannelBuilder

java.lang.Object
io.grpc.ManagedChannelBuilder<GoogleDefaultChannelBuilder>
io.grpc.ForwardingChannelBuilder2<GoogleDefaultChannelBuilder>
io.grpc.ForwardingChannelBuilder<GoogleDefaultChannelBuilder>
io.grpc.alts.GoogleDefaultChannelBuilder

public final class GoogleDefaultChannelBuilder extends io.grpc.ForwardingChannelBuilder<GoogleDefaultChannelBuilder>
Google default version of ManagedChannelBuilder. This class sets up a secure channel using ALTS if applicable and using TLS as fallback.
  • Nested Class Summary

    Nested classes/interfaces inherited from class io.grpc.ManagedChannelBuilder

    io.grpc.ManagedChannelBuilder.InterceptorFactory
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final io.grpc.netty.NettyChannelBuilder
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected io.grpc.netty.NettyChannelBuilder
     
    forAddress(String name, int port)
    "Overrides" the static method in ManagedChannelBuilder.
    forTarget(String target)
    "Overrides" the static method in ManagedChannelBuilder.

    Methods inherited from class io.grpc.ForwardingChannelBuilder

    compressorRegistry, decompressorRegistry, defaultLoadBalancingPolicy, defaultServiceConfig, directExecutor, disableRetry, disableServiceConfigLookUp, enableRetry, executor, idleTimeout, intercept, intercept, keepAliveTime, keepAliveTimeout, keepAliveWithoutCalls, maxHedgedAttempts, maxInboundMessageSize, maxInboundMetadataSize, maxRetryAttempts, maxTraceEvents, nameResolverFactory, offloadExecutor, overrideAuthority, perRpcBufferLimit, proxyDetector, retryBufferSize, setBinaryLog, usePlaintext, userAgent, useTransportSecurity

    Methods inherited from class io.grpc.ForwardingChannelBuilder2

    addMetricSink, addTransportFilter, build, interceptWithTarget, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • delegate

      private final io.grpc.netty.NettyChannelBuilder delegate
  • Constructor Details

    • GoogleDefaultChannelBuilder

      private GoogleDefaultChannelBuilder(String target)
  • Method Details