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.
-
-
Field Summary
Fields Modifier and Type Field Description private io.grpc.netty.NettyChannelBuilder
delegate
-
Constructor Summary
Constructors Modifier Constructor Description private
GoogleDefaultChannelBuilder(java.lang.String target)
-
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 inManagedChannelBuilder
.static GoogleDefaultChannelBuilder
forTarget(java.lang.String target)
"Overrides" the static method inManagedChannelBuilder
.-
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
-
-
-
-
Method Detail
-
forTarget
public static 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:
delegate
in classio.grpc.ForwardingChannelBuilder<GoogleDefaultChannelBuilder>
-
-