public class SpannerOptions extends ServiceOptions<Spanner,SpannerOptions>
Modifier and Type | Class and Description |
---|---|
static class |
SpannerOptions.Builder
Builder for
SpannerOptions instances. |
CREDENTIAL_ENV_NAME, credentials
Modifier and Type | Method and Description |
---|---|
TransportChannelProvider |
getChannelProvider() |
static GrpcTransportOptions |
getDefaultGrpcTransportOptions() |
protected String |
getDefaultHost() |
static SpannerOptions |
getDefaultInstance()
Returns default instance of
SpannerOptions . |
String |
getEndpoint() |
GrpcInterceptorProvider |
getInterceptorProvider() |
int |
getNumChannels() |
int |
getPrefetchChunks() |
Set<String> |
getScopes() |
Map<String,String> |
getSessionLabels() |
SessionPoolOptions |
getSessionPoolOptions() |
protected SpannerRpc |
getSpannerRpcV1() |
static SpannerOptions.Builder |
newBuilder() |
SpannerOptions.Builder |
toBuilder() |
baseEquals, baseHashCode, defaultRetrySettings, getAppEngineAppId, getAppEngineProjectId, getAppEngineProjectIdFromAppId, getApplicationName, getClock, getCredentials, getDefaultProject, getDefaultProjectId, getDefaultRetrySettings, getFromServiceLoader, getGoogApiClientLibName, getGoogleCloudProjectId, getHost, getLibraryName, getLibraryVersion, getMergedHeaderProvider, getNoRetrySettings, getProjectId, getRetrySettings, getRpc, getScopedCredentials, getService, getServiceAccountProjectId, getTransportOptions, getUserAgent, newInstance, projectIdRequired
public static SpannerOptions getDefaultInstance()
SpannerOptions
.public static SpannerOptions.Builder newBuilder()
public TransportChannelProvider getChannelProvider()
public GrpcInterceptorProvider getInterceptorProvider()
public int getNumChannels()
public SessionPoolOptions getSessionPoolOptions()
public int getPrefetchChunks()
public static GrpcTransportOptions getDefaultGrpcTransportOptions()
protected String getDefaultHost()
getDefaultHost
in class ServiceOptions<Spanner,SpannerOptions>
public Set<String> getScopes()
getScopes
in class ServiceOptions<Spanner,SpannerOptions>
protected SpannerRpc getSpannerRpcV1()
public SpannerOptions.Builder toBuilder()
toBuilder
in class ServiceOptions<Spanner,SpannerOptions>
public String getEndpoint()
Copyright © 2019 Google LLC. All rights reserved.