Class QuotaAdjusterSettingsManagerSettings.Builder (0.24.0)

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

Builder for QuotaAdjusterSettingsManagerSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > QuotaAdjusterSettingsManagerSettings.Builder

Constructors

Builder()

protected Builder()

Builder(QuotaAdjusterSettingsManagerSettings settings)

protected Builder(QuotaAdjusterSettingsManagerSettings settings)
Parameter
Name Description
settings QuotaAdjusterSettingsManagerSettings

Builder(QuotaAdjusterSettingsManagerStubSettings.Builder stubSettings)

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

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Methods

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

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

build()

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

getQuotaAdjusterSettingsSettings()

public UnaryCallSettings.Builder<GetQuotaAdjusterSettingsRequest,QuotaAdjusterSettings> getQuotaAdjusterSettingsSettings()

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

Returns
Type Description
Builder<GetQuotaAdjusterSettingsRequest,QuotaAdjusterSettings>

getStubSettingsBuilder()

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

updateQuotaAdjusterSettingsSettings()

public UnaryCallSettings.Builder<UpdateQuotaAdjusterSettingsRequest,QuotaAdjusterSettings> updateQuotaAdjusterSettingsSettings()

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

Returns
Type Description
Builder<UpdateQuotaAdjusterSettingsRequest,QuotaAdjusterSettings>