Class RegionCommitmentsSettings.Builder (1.61.0)

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

Builder for RegionCommitmentsSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > RegionCommitmentsSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(RegionCommitmentsSettings settings)

protected Builder(RegionCommitmentsSettings settings)
Parameter
Name Description
settings RegionCommitmentsSettings

Builder(RegionCommitmentsStubSettings.Builder stubSettings)

protected Builder(RegionCommitmentsStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings RegionCommitmentsStubSettings.Builder

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 RegionCommitmentsSettings.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
RegionCommitmentsSettings.Builder

build()

public RegionCommitmentsSettings build()
Returns
Type Description
RegionCommitmentsSettings
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>

getStubSettingsBuilder()

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

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>

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>