Class ExecutionsSettings.Builder (0.54.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
Name Description
clientContext ClientContext

Builder(ExecutionsSettings settings)

protected Builder(ExecutionsSettings settings)
Parameter
Name Description
settings ExecutionsSettings

Builder(ExecutionsStubSettings.Builder stubSettings)

protected Builder(ExecutionsStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings ExecutionsStubSettings.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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
ExecutionsSettings.Builder

build()

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

cancelExecutionOperationSettings()

public OperationCallSettings.Builder<CancelExecutionRequest,Execution,Execution> cancelExecutionOperationSettings()

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

Returns
Type Description
Builder<CancelExecutionRequest,Execution,Execution>

cancelExecutionSettings()

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

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

Returns
Type Description
Builder<CancelExecutionRequest,Operation>

deleteExecutionOperationSettings()

public OperationCallSettings.Builder<DeleteExecutionRequest,Execution,Execution> deleteExecutionOperationSettings()

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

Returns
Type Description
Builder<DeleteExecutionRequest,Execution,Execution>

deleteExecutionSettings()

public UnaryCallSettings.Builder<DeleteExecutionRequest,Operation> deleteExecutionSettings()

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

Returns
Type Description
Builder<DeleteExecutionRequest,Operation>

getExecutionSettings()

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

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

Returns
Type Description
Builder<GetExecutionRequest,Execution>

getStubSettingsBuilder()

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

listExecutionsSettings()

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

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

Returns
Type Description
Builder<ListExecutionsRequest,ListExecutionsResponse,ListExecutionsPagedResponse>