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.
    • 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, 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 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.ForwardingChannelBuilder2<ComputeEngineChannelBuilder>