Class QuotaServiceSettings.Builder (0.7.0)

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

Builder for QuotaServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > QuotaServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(QuotaServiceSettings settings)

protected Builder(QuotaServiceSettings settings)
Parameter
Name Description
settings QuotaServiceSettings

Builder(QuotaServiceStubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

getStubSettingsBuilder()

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

listQuotaGroupsSettings()

public PagedCallSettings.Builder<ListQuotaGroupsRequest,ListQuotaGroupsResponse,QuotaServiceClient.ListQuotaGroupsPagedResponse> listQuotaGroupsSettings()

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

Returns
Type Description
Builder<ListQuotaGroupsRequest,ListQuotaGroupsResponse,ListQuotaGroupsPagedResponse>