public static class RegionCommitmentsStubSettings.Builder extends StubSettings.Builder<RegionCommitmentsStubSettings,RegionCommitmentsStubSettings.Builder>
Builder for RegionCommitmentsStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(RegionCommitmentsStubSettings settings)
protected Builder(RegionCommitmentsStubSettings settings)
Methods
aggregatedListSettings()
public PagedCallSettings.Builder<AggregatedListRegionCommitmentsRequest,CommitmentAggregatedList,RegionCommitmentsClient.AggregatedListPagedResponse> aggregatedListSettings()
Returns the builder for the settings used for calls to aggregatedList.
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.
build()
public RegionCommitmentsStubSettings build()
Overrides
getEndpoint()
public String getEndpoint()
Returns the endpoint set by the user or the the service's default endpoint.
Overrides
getSettings()
public UnaryCallSettings.Builder<GetRegionCommitmentRequest,Commitment> getSettings()
Returns the builder for the settings used for calls to get.
insertOperationSettings()
public OperationCallSettings.Builder<InsertRegionCommitmentRequest,Operation,Operation> insertOperationSettings()
Returns the builder for the settings used for calls to insert.
insertSettings()
public UnaryCallSettings.Builder<InsertRegionCommitmentRequest,Operation> insertSettings()
Returns the builder for the settings used for calls to insert.
listSettings()
public PagedCallSettings.Builder<ListRegionCommitmentsRequest,CommitmentList,RegionCommitmentsClient.ListPagedResponse> listSettings()
Returns the builder for the settings used for calls to list.
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.
updateSettings()
public UnaryCallSettings.Builder<UpdateRegionCommitmentRequest,Operation> updateSettings()
Returns the builder for the settings used for calls to update.