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.
    • 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 io.grpc.netty.NettyChannelBuilder delegate  
    • 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, 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 Detail

      • delegate

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

      • GoogleDefaultChannelBuilder

        private GoogleDefaultChannelBuilder​(java.lang.String target)
    • Method Detail

      • forTarget

        public static 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.ForwardingChannelBuilder<GoogleDefaultChannelBuilder>