Class SpannerExecutorProxySettings.Builder (6.74.0)

public static class SpannerExecutorProxySettings.Builder extends ClientSettings.Builder<SpannerExecutorProxySettings,SpannerExecutorProxySettings.Builder>

Builder for SpannerExecutorProxySettings.

Inheritance

java.lang.Object > ClientSettings.Builder > SpannerExecutorProxySettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(SpannerExecutorProxySettings settings)

protected Builder(SpannerExecutorProxySettings settings)
Parameter
Name Description
settings SpannerExecutorProxySettings

Builder(SpannerExecutorProxyStubSettings.Builder stubSettings)

protected Builder(SpannerExecutorProxyStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings SpannerExecutorProxyStubSettings.Builder

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public SpannerExecutorProxySettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

Applies the given settings updater function to all of the unary API methods in this service.

Note: This method does not support applying settings to streaming methods.

Parameter
Name Description
settingsUpdater ApiFunction<Builder<?,?>,Void>
Returns
Type Description
SpannerExecutorProxySettings.Builder

build()

public SpannerExecutorProxySettings build()
Returns
Type Description
SpannerExecutorProxySettings
Overrides
Exceptions
Type Description
IOException

executeActionAsyncSettings()

public StreamingCallSettings.Builder<SpannerAsyncActionRequest,SpannerAsyncActionResponse> executeActionAsyncSettings()

Returns the builder for the settings used for calls to executeActionAsync.

Returns
Type Description
Builder<SpannerAsyncActionRequest,SpannerAsyncActionResponse>

getStubSettingsBuilder()

public SpannerExecutorProxyStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
SpannerExecutorProxyStubSettings.Builder