Class ExecutionsStubSettings.Builder (0.27.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
NameDescription
clientContextClientContext

Builder(ExecutionsStubSettings settings)

protected Builder(ExecutionsStubSettings settings)
Parameter
NameDescription
settingsExecutionsStubSettings

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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
ExecutionsStubSettings.Builder

build()

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

cancelExecutionOperationSettings()

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

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

Returns
TypeDescription
Builder<CancelExecutionRequest,Execution,Execution>

cancelExecutionSettings()

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

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

Returns
TypeDescription
Builder<CancelExecutionRequest,Operation>

deleteExecutionOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteExecutionRequest,Execution,Execution>

deleteExecutionSettings()

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

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

Returns
TypeDescription
Builder<DeleteExecutionRequest,Operation>

getExecutionSettings()

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

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

Returns
TypeDescription
Builder<GetExecutionRequest,Execution>

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>

unaryMethodSettingsBuilders()

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