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

Builder(RegionCommitmentsStubSettings settings)

protected Builder(RegionCommitmentsStubSettings settings)
Parameter
NameDescription
settingsRegionCommitmentsStubSettings

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

build()

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

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
TypeDescription
String
Overrides

getSettings()

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

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

Returns
TypeDescription
Builder<GetRegionCommitmentRequest,Commitment>

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
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
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>