Class SpannerExecutorProxySettings.Builder (6.57.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
NameDescription
clientContextClientContext

Builder(SpannerExecutorProxySettings settings)

protected Builder(SpannerExecutorProxySettings settings)
Parameter
NameDescription
settingsSpannerExecutorProxySettings

Builder(SpannerExecutorProxyStubSettings.Builder stubSettings)

protected Builder(SpannerExecutorProxyStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsSpannerExecutorProxyStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,Void>
Returns
TypeDescription
SpannerExecutorProxySettings.Builder

build()

public SpannerExecutorProxySettings build()
Returns
TypeDescription
SpannerExecutorProxySettings
Overrides
Exceptions
TypeDescription
IOException

executeActionAsyncSettings()

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

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

Returns
TypeDescription
Builder<SpannerAsyncActionRequest,SpannerAsyncActionResponse>

getStubSettingsBuilder()

public SpannerExecutorProxyStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
SpannerExecutorProxyStubSettings.Builder