Package io.grpc.alts

Class 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.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected io.grpc.netty.NettyChannelBuilder delegate()  
      static GoogleDefaultChannelBuilder forAddress​(java.lang.String name, int port)
      "Overrides" the static method in ManagedChannelBuilder.
      static GoogleDefaultChannelBuilder forTarget​(java.lang.String target)
      "Overrides" the static method in ManagedChannelBuilder.
      • Methods inherited from class io.grpc.ForwardingChannelBuilder

        compressorRegistry, decompressorRegistry, defaultLoadBalancingPolicy, defaultServiceConfig, directExecutor, disableRetry, disableServiceConfigLookUp, enableFullStreamDecompression, enableRetry, executor, idleTimeout, intercept, intercept, keepAliveTime, keepAliveTimeout, keepAliveWithoutCalls, maxHedgedAttempts, maxInboundMessageSize, maxInboundMetadataSize, maxRetryAttempts, maxTraceEvents, nameResolverFactory, offloadExecutor, overrideAuthority, perRpcBufferLimit, proxyDetector, retryBufferSize, setBinaryLog, thisT, usePlaintext, userAgent, useTransportSecurity
      • Methods inherited from class io.grpc.ForwardingChannelBuilder2

        build, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • forTarget

        public static final GoogleDefaultChannelBuilder forTarget​(java.lang.String target)
        "Overrides" the static method in ManagedChannelBuilder.
      • forAddress

        public static GoogleDefaultChannelBuilder forAddress​(java.lang.String name,
                                                             int port)
        "Overrides" the static method in ManagedChannelBuilder.
      • delegate

        protected io.grpc.netty.NettyChannelBuilder delegate()
        Specified by:
        delegate in class io.grpc.ForwardingChannelBuilder2<GoogleDefaultChannelBuilder>