public class GrpcTransportOptions extends Object implements TransportOptions
Modifier and Type | Class and Description |
---|---|
static class |
GrpcTransportOptions.Builder
Builder for
GrpcTransportOptions . |
static class |
GrpcTransportOptions.DefaultExecutorFactory |
static interface |
GrpcTransportOptions.ExecutorFactory<T extends ExecutorService>
An interface for
ExecutorService factories. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
UnaryCallSettings.Builder |
getApiCallSettings(RetrySettings retrySettings)
Deprecated.
|
GrpcTransportOptions.ExecutorFactory<ScheduledExecutorService> |
getExecutorFactory()
Returns a scheduled executor service provider.
|
int |
hashCode() |
static GrpcTransportOptions.Builder |
newBuilder() |
static TransportChannelProvider |
setUpChannelProvider(InstantiatingGrpcChannelProvider.Builder providerBuilder,
ServiceOptions<?,?> serviceOptions)
Returns a channel provider from the given default provider.
|
static CredentialsProvider |
setUpCredentialsProvider(ServiceOptions<?,?> serviceOptions) |
GrpcTransportOptions.Builder |
toBuilder() |
public GrpcTransportOptions.ExecutorFactory<ScheduledExecutorService> getExecutorFactory()
@Deprecated public UnaryCallSettings.Builder getApiCallSettings(RetrySettings retrySettings)
@BetaApi public static TransportChannelProvider setUpChannelProvider(InstantiatingGrpcChannelProvider.Builder providerBuilder, ServiceOptions<?,?> serviceOptions)
public static CredentialsProvider setUpCredentialsProvider(ServiceOptions<?,?> serviceOptions)
public GrpcTransportOptions.Builder toBuilder()
public static GrpcTransportOptions.Builder newBuilder()
Copyright © 2019 Google LLC. All rights reserved.