Class RegionCommitmentsSettings.Builder (1.46.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
NameDescription
clientContextClientContext

Builder(RegionCommitmentsSettings settings)

protected Builder(RegionCommitmentsSettings settings)
Parameter
NameDescription
settingsRegionCommitmentsSettings

Builder(RegionCommitmentsStubSettings.Builder stubSettings)

protected Builder(RegionCommitmentsStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsRegionCommitmentsStubSettings.Builder

Methods

aggregatedListSettings()

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

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

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

build()

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

getSettings()

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

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

Returns
TypeDescription
Builder<GetRegionCommitmentRequest,Commitment>

getStubSettingsBuilder()

public RegionCommitmentsStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
RegionCommitmentsStubSettings.Builder

insertOperationSettings()

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

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

Returns
TypeDescription
Builder<InsertRegionCommitmentRequest,Operation,Operation>

insertSettings()

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

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

Returns
TypeDescription
Builder<InsertRegionCommitmentRequest,Operation>

listSettings()

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

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

Returns
TypeDescription
Builder<ListRegionCommitmentsRequest,CommitmentList,ListPagedResponse>

updateOperationSettings()

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

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

Returns
TypeDescription
Builder<UpdateRegionCommitmentRequest,Operation,Operation>

updateSettings()

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

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

Returns
TypeDescription
Builder<UpdateRegionCommitmentRequest,Operation>