Package io.grpc.alts

Class ComputeEngineChannelBuilder


  • public final class ComputeEngineChannelBuilder
    extends io.grpc.ForwardingChannelBuilder<ComputeEngineChannelBuilder>
    ManagedChannelBuilder for Google Compute Engine. 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 ComputeEngineChannelBuilder forAddress​(java.lang.String name, int port)
      "Overrides" the static method in ManagedChannelBuilder.
      static ComputeEngineChannelBuilder 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

      • ComputeEngineChannelBuilder

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

      • forTarget

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

        public static ComputeEngineChannelBuilder 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<ComputeEngineChannelBuilder>