Class RegionCommitmentsStubSettings.Builder (1.55.0)

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

Builder for RegionCommitmentsStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > RegionCommitmentsStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(RegionCommitmentsStubSettings settings)

protected Builder(RegionCommitmentsStubSettings settings)
Parameter
Name Description
settings RegionCommitmentsStubSettings

Methods

aggregatedListSettings()

public PagedCallSettings.Builder<AggregatedListRegionCommitmentsRequest,CommitmentAggregatedList,RegionCommitmentsClient.AggregatedListPagedResponse> aggregatedListSettings()

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

Returns
Type Description
Builder<AggregatedListRegionCommitmentsRequest,CommitmentAggregatedList,AggregatedListPagedResponse>

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

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

build()

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

getSettings()

public UnaryCallSettings.Builder<GetRegionCommitmentRequest,Commitment> getSettings()

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

Returns
Type Description
Builder<GetRegionCommitmentRequest,Commitment>

insertOperationSettings()

public OperationCallSettings.Builder<InsertRegionCommitmentRequest,Operation,Operation> insertOperationSettings()

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

Returns
Type Description
Builder<InsertRegionCommitmentRequest,Operation,Operation>

insertSettings()

public UnaryCallSettings.Builder<InsertRegionCommitmentRequest,Operation> insertSettings()

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

Returns
Type Description
Builder<InsertRegionCommitmentRequest,Operation>

listSettings()

public PagedCallSettings.Builder<ListRegionCommitmentsRequest,CommitmentList,RegionCommitmentsClient.ListPagedResponse> listSettings()

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

Returns
Type Description
Builder<ListRegionCommitmentsRequest,CommitmentList,ListPagedResponse>

unaryMethodSettingsBuilders()

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

updateOperationSettings()

public OperationCallSettings.Builder<UpdateRegionCommitmentRequest,Operation,Operation> updateOperationSettings()

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

Returns
Type Description
Builder<UpdateRegionCommitmentRequest,Operation,Operation>

updateSettings()

public UnaryCallSettings.Builder<UpdateRegionCommitmentRequest,Operation> updateSettings()

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

Returns
Type Description
Builder<UpdateRegionCommitmentRequest,Operation>