public static class SpannerSettings.Builder extends ClientSettings.Builder<SpannerSettings,SpannerSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(SpannerSettings settings) |
protected |
Builder(SpannerStubSettings.Builder stubSettings) |
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
protected Builder() throws IOException
IOException
protected Builder(ClientContext clientContext)
protected Builder(SpannerSettings settings)
protected Builder(SpannerStubSettings.Builder stubSettings)
public SpannerStubSettings.Builder getStubSettingsBuilder()
public SpannerSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Note: This method does not support applying settings to streaming methods.
public UnaryCallSettings.Builder<CreateSessionRequest,Session> createSessionSettings()
public UnaryCallSettings.Builder<BatchCreateSessionsRequest,BatchCreateSessionsResponse> batchCreateSessionsSettings()
public UnaryCallSettings.Builder<GetSessionRequest,Session> getSessionSettings()
public PagedCallSettings.Builder<ListSessionsRequest,ListSessionsResponse,SpannerClient.ListSessionsPagedResponse> listSessionsSettings()
public UnaryCallSettings.Builder<DeleteSessionRequest,Empty> deleteSessionSettings()
public UnaryCallSettings.Builder<ExecuteSqlRequest,ResultSet> executeSqlSettings()
public ServerStreamingCallSettings.Builder<ExecuteSqlRequest,PartialResultSet> executeStreamingSqlSettings()
public UnaryCallSettings.Builder<ExecuteBatchDmlRequest,ExecuteBatchDmlResponse> executeBatchDmlSettings()
public UnaryCallSettings.Builder<ReadRequest,ResultSet> readSettings()
public ServerStreamingCallSettings.Builder<ReadRequest,PartialResultSet> streamingReadSettings()
public UnaryCallSettings.Builder<BeginTransactionRequest,Transaction> beginTransactionSettings()
public UnaryCallSettings.Builder<CommitRequest,CommitResponse> commitSettings()
public UnaryCallSettings.Builder<RollbackRequest,Empty> rollbackSettings()
public UnaryCallSettings.Builder<PartitionQueryRequest,PartitionResponse> partitionQuerySettings()
public UnaryCallSettings.Builder<PartitionReadRequest,PartitionResponse> partitionReadSettings()
public SpannerSettings build() throws IOException
build
in class ClientSettings.Builder<SpannerSettings,SpannerSettings.Builder>
IOException
Copyright © 2022 Google LLC. All rights reserved.