public static class SpannerStubSettings.Builder extends StubSettings.Builder<SpannerStubSettings,SpannerStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(SpannerStubSettings settings) |
Modifier and Type | Method and Description |
---|---|
SpannerStubSettings.Builder |
applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
UnaryCallSettings.Builder<BatchCreateSessionsRequest,BatchCreateSessionsResponse> |
batchCreateSessionsSettings()
Returns the builder for the settings used for calls to batchCreateSessions.
|
UnaryCallSettings.Builder<BeginTransactionRequest,Transaction> |
beginTransactionSettings()
Returns the builder for the settings used for calls to beginTransaction.
|
SpannerStubSettings |
build() |
UnaryCallSettings.Builder<CommitRequest,CommitResponse> |
commitSettings()
Returns the builder for the settings used for calls to commit.
|
UnaryCallSettings.Builder<CreateSessionRequest,Session> |
createSessionSettings()
Returns the builder for the settings used for calls to createSession.
|
UnaryCallSettings.Builder<DeleteSessionRequest,Empty> |
deleteSessionSettings()
Returns the builder for the settings used for calls to deleteSession.
|
UnaryCallSettings.Builder<ExecuteBatchDmlRequest,ExecuteBatchDmlResponse> |
executeBatchDmlSettings()
Returns the builder for the settings used for calls to executeBatchDml.
|
UnaryCallSettings.Builder<ExecuteSqlRequest,ResultSet> |
executeSqlSettings()
Returns the builder for the settings used for calls to executeSql.
|
ServerStreamingCallSettings.Builder<ExecuteSqlRequest,PartialResultSet> |
executeStreamingSqlSettings()
Returns the builder for the settings used for calls to executeStreamingSql.
|
UnaryCallSettings.Builder<GetSessionRequest,Session> |
getSessionSettings()
Returns the builder for the settings used for calls to getSession.
|
PagedCallSettings.Builder<ListSessionsRequest,ListSessionsResponse,SpannerClient.ListSessionsPagedResponse> |
listSessionsSettings()
Returns the builder for the settings used for calls to listSessions.
|
UnaryCallSettings.Builder<PartitionQueryRequest,PartitionResponse> |
partitionQuerySettings()
Returns the builder for the settings used for calls to partitionQuery.
|
UnaryCallSettings.Builder<PartitionReadRequest,PartitionResponse> |
partitionReadSettings()
Returns the builder for the settings used for calls to partitionRead.
|
UnaryCallSettings.Builder<ReadRequest,ResultSet> |
readSettings()
Returns the builder for the settings used for calls to read.
|
UnaryCallSettings.Builder<RollbackRequest,Empty> |
rollbackSettings()
Returns the builder for the settings used for calls to rollback.
|
ServerStreamingCallSettings.Builder<ReadRequest,PartialResultSet> |
streamingReadSettings()
Returns the builder for the settings used for calls to streamingRead.
|
com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
protected Builder()
protected Builder(ClientContext clientContext)
protected Builder(SpannerStubSettings settings)
public SpannerStubSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Note: This method does not support applying settings to streaming methods.
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
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 SpannerStubSettings build() throws IOException
build
in class StubSettings.Builder<SpannerStubSettings,SpannerStubSettings.Builder>
IOException
Copyright © 2022 Google LLC. All rights reserved.