Class CloudQuotasStubSettings.Builder (0.14.0)

public static class CloudQuotasStubSettings.Builder extends StubSettings.Builder<CloudQuotasStubSettings,CloudQuotasStubSettings.Builder>

Builder for CloudQuotasStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > CloudQuotasStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(CloudQuotasStubSettings settings)

protected Builder(CloudQuotasStubSettings settings)
Parameter
Name Description
settings CloudQuotasStubSettings

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Methods

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

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

build()

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

createQuotaPreferenceSettings()

public UnaryCallSettings.Builder<CreateQuotaPreferenceRequest,QuotaPreference> createQuotaPreferenceSettings()

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

Returns
Type Description
Builder<CreateQuotaPreferenceRequest,QuotaPreference>

getQuotaInfoSettings()

public UnaryCallSettings.Builder<GetQuotaInfoRequest,QuotaInfo> getQuotaInfoSettings()

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

Returns
Type Description
Builder<GetQuotaInfoRequest,QuotaInfo>

getQuotaPreferenceSettings()

public UnaryCallSettings.Builder<GetQuotaPreferenceRequest,QuotaPreference> getQuotaPreferenceSettings()

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

Returns
Type Description
Builder<GetQuotaPreferenceRequest,QuotaPreference>

listQuotaInfosSettings()

public PagedCallSettings.Builder<ListQuotaInfosRequest,ListQuotaInfosResponse,CloudQuotasClient.ListQuotaInfosPagedResponse> listQuotaInfosSettings()

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

Returns
Type Description
Builder<ListQuotaInfosRequest,ListQuotaInfosResponse,ListQuotaInfosPagedResponse>

listQuotaPreferencesSettings()

public PagedCallSettings.Builder<ListQuotaPreferencesRequest,ListQuotaPreferencesResponse,CloudQuotasClient.ListQuotaPreferencesPagedResponse> listQuotaPreferencesSettings()

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

Returns
Type Description
Builder<ListQuotaPreferencesRequest,ListQuotaPreferencesResponse,ListQuotaPreferencesPagedResponse>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>

updateQuotaPreferenceSettings()

public UnaryCallSettings.Builder<UpdateQuotaPreferenceRequest,QuotaPreference> updateQuotaPreferenceSettings()

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

Returns
Type Description
Builder<UpdateQuotaPreferenceRequest,QuotaPreference>