public abstract class ManagedChannelFactory
extends java.lang.Object
ManagedChannel
implementation.Constructor and Description |
---|
ManagedChannelFactory() |
Modifier and Type | Method and Description |
---|---|
protected abstract org.apache.beam.vendor.grpc.v1p13p1.io.grpc.ManagedChannelBuilder<?> |
builderFor(org.apache.beam.model.pipeline.v1.Endpoints.ApiServiceDescriptor descriptor)
Create a
ManagedChannelBuilder for the provided Endpoints.ApiServiceDescriptor . |
static ManagedChannelFactory |
createDefault() |
static ManagedChannelFactory |
createEpoll() |
org.apache.beam.vendor.grpc.v1p13p1.io.grpc.ManagedChannel |
forDescriptor(org.apache.beam.model.pipeline.v1.Endpoints.ApiServiceDescriptor apiServiceDescriptor) |
ManagedChannelFactory |
withInterceptors(java.util.List<org.apache.beam.vendor.grpc.v1p13p1.io.grpc.ClientInterceptor> interceptors)
Returns a
ManagedChannelFactory like this one, but which will apply the provided ClientInterceptors to any channel it creates. |
public static ManagedChannelFactory createDefault()
public static ManagedChannelFactory createEpoll()
public org.apache.beam.vendor.grpc.v1p13p1.io.grpc.ManagedChannel forDescriptor(org.apache.beam.model.pipeline.v1.Endpoints.ApiServiceDescriptor apiServiceDescriptor)
protected abstract org.apache.beam.vendor.grpc.v1p13p1.io.grpc.ManagedChannelBuilder<?> builderFor(org.apache.beam.model.pipeline.v1.Endpoints.ApiServiceDescriptor descriptor)
ManagedChannelBuilder
for the provided Endpoints.ApiServiceDescriptor
.public ManagedChannelFactory withInterceptors(java.util.List<org.apache.beam.vendor.grpc.v1p13p1.io.grpc.ClientInterceptor> interceptors)
ManagedChannelFactory
like this one, but which will apply the provided ClientInterceptors
to any channel it creates.