Class ExecutionsSettings.Builder (2.18.0)

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

Builder for ExecutionsSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > ExecutionsSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(ExecutionsSettings settings)

protected Builder(ExecutionsSettings settings)
Parameter
NameDescription
settingsExecutionsSettings

Builder(ExecutionsStubSettings.Builder stubSettings)

protected Builder(ExecutionsStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsExecutionsStubSettings.Builder

Methods

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

public ExecutionsSettings.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<?,?>,java.lang.Void>
Returns
TypeDescription
ExecutionsSettings.Builder

build()

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

cancelExecutionSettings()

public UnaryCallSettings.Builder<CancelExecutionRequest,Execution> cancelExecutionSettings()

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

Returns
TypeDescription
Builder<CancelExecutionRequest,Execution>

createExecutionSettings()

public UnaryCallSettings.Builder<CreateExecutionRequest,Execution> createExecutionSettings()

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

Returns
TypeDescription
Builder<CreateExecutionRequest,Execution>

getExecutionSettings()

public UnaryCallSettings.Builder<GetExecutionRequest,Execution> getExecutionSettings()

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

Returns
TypeDescription
Builder<GetExecutionRequest,Execution>

getStubSettingsBuilder()

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

listExecutionsSettings()

public PagedCallSettings.Builder<ListExecutionsRequest,ListExecutionsResponse,ExecutionsClient.ListExecutionsPagedResponse> listExecutionsSettings()

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

Returns
TypeDescription
Builder<ListExecutionsRequest,ListExecutionsResponse,ListExecutionsPagedResponse>