Package io.grpc.alts
Class GoogleDefaultChannelBuilder
- java.lang.Object
-
- io.grpc.ManagedChannelBuilder<T>
-
- io.grpc.ForwardingChannelBuilder2<T>
-
- io.grpc.ForwardingChannelBuilder<GoogleDefaultChannelBuilder>
-
- io.grpc.alts.GoogleDefaultChannelBuilder
-
public final class GoogleDefaultChannelBuilder extends io.grpc.ForwardingChannelBuilder<GoogleDefaultChannelBuilder>
Google default version ofManagedChannelBuilder. 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.NettyChannelBuilderdelegate()static GoogleDefaultChannelBuilderforAddress(java.lang.String name, int port)"Overrides" the static method inManagedChannelBuilder.static GoogleDefaultChannelBuilderforTarget(java.lang.String target)"Overrides" the static method inManagedChannelBuilder.-
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
-
-
-
-
Method Detail
-
forTarget
public static final GoogleDefaultChannelBuilder forTarget(java.lang.String target)
"Overrides" the static method inManagedChannelBuilder.
-
forAddress
public static GoogleDefaultChannelBuilder forAddress(java.lang.String name, int port)
"Overrides" the static method inManagedChannelBuilder.
-
delegate
protected io.grpc.netty.NettyChannelBuilder delegate()
- Specified by:
delegatein classio.grpc.ForwardingChannelBuilder2<GoogleDefaultChannelBuilder>
-
-