Package com.google.api.servicecontrol.v1
Class QuotaControllerSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<QuotaControllerSettings,QuotaControllerSettings.Builder>
com.google.api.servicecontrol.v1.QuotaControllerSettings.Builder
- Enclosing class:
- QuotaControllerSettings
public static class QuotaControllerSettings.Builder
extends ClientSettings.Builder<QuotaControllerSettings,QuotaControllerSettings.Builder>
Builder for QuotaControllerSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(QuotaControllerSettings settings) protectedBuilder(QuotaControllerStubSettings.Builder stubSettings) -
Method Summary
Modifier and TypeMethodDescriptionReturns the builder for the settings used for calls to allocateQuota.applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setUniverseDomain, setWatchdogCheckInterval, setWatchdogCheckIntervalDuration, setWatchdogProvider, toString
-
Constructor Details
-
Builder
- Throws:
IOException
-
Builder
-
Builder
-
Builder
-
-
Method Details
-
getStubSettingsBuilder
-
applyToAllUnaryMethods
public QuotaControllerSettings.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.
-
allocateQuotaSettings
public UnaryCallSettings.Builder<AllocateQuotaRequest,AllocateQuotaResponse> allocateQuotaSettings()Returns the builder for the settings used for calls to allocateQuota. -
build
- Specified by:
buildin classClientSettings.Builder<QuotaControllerSettings,QuotaControllerSettings.Builder> - Throws:
IOException
-