Class ExecutionsStubSettings.Builder (2.44.0)

public static class ExecutionsStubSettings.Builder extends StubSettings.Builder<ExecutionsStubSettings,ExecutionsStubSettings.Builder>

Builder for ExecutionsStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > ExecutionsStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ExecutionsStubSettings settings)

protected Builder(ExecutionsStubSettings settings)
Parameter
Name Description
settings ExecutionsStubSettings

Methods

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

public ExecutionsStubSettings.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
ExecutionsStubSettings.Builder

build()

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

cancelExecutionSettings()

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

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

Returns
Type Description
Builder<CancelExecutionRequest,Execution>

createExecutionSettings()

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

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

Returns
Type Description
Builder<CreateExecutionRequest,Execution>

getExecutionSettings()

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

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

Returns
Type Description
Builder<GetExecutionRequest,Execution>

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>