public static class CloudQuotasStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<CloudQuotasStubSettings,CloudQuotasStubSettings.Builder>
| Modifier | Constructor and Description |
|---|---|
protected |
Builder() |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
protected |
Builder(CloudQuotasStubSettings settings) |
| Modifier and Type | Method and Description |
|---|---|
CloudQuotasStubSettings.Builder |
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
CloudQuotasStubSettings |
build() |
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateQuotaPreferenceRequest,QuotaPreference> |
createQuotaPreferenceSettings()
Returns the builder for the settings used for calls to createQuotaPreference.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetQuotaInfoRequest,QuotaInfo> |
getQuotaInfoSettings()
Returns the builder for the settings used for calls to getQuotaInfo.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetQuotaPreferenceRequest,QuotaPreference> |
getQuotaPreferenceSettings()
Returns the builder for the settings used for calls to getQuotaPreference.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<ListQuotaInfosRequest,ListQuotaInfosResponse,CloudQuotasClient.ListQuotaInfosPagedResponse> |
listQuotaInfosSettings()
Returns the builder for the settings used for calls to listQuotaInfos.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<ListQuotaPreferencesRequest,ListQuotaPreferencesResponse,CloudQuotasClient.ListQuotaPreferencesPagedResponse> |
listQuotaPreferencesSettings()
Returns the builder for the settings used for calls to listQuotaPreferences.
|
com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateQuotaPreferenceRequest,QuotaPreference> |
updateQuotaPreferenceSettings()
Returns the builder for the settings used for calls to updateQuotaPreference.
|
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogCheckIntervalDuration, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogCheckIntervalDuration, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, setUniverseDomain, toStringprotected Builder()
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(CloudQuotasStubSettings settings)
public CloudQuotasStubSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Note: This method does not support applying settings to streaming methods.
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListQuotaInfosRequest,ListQuotaInfosResponse,CloudQuotasClient.ListQuotaInfosPagedResponse> listQuotaInfosSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetQuotaInfoRequest,QuotaInfo> getQuotaInfoSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListQuotaPreferencesRequest,ListQuotaPreferencesResponse,CloudQuotasClient.ListQuotaPreferencesPagedResponse> listQuotaPreferencesSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetQuotaPreferenceRequest,QuotaPreference> getQuotaPreferenceSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateQuotaPreferenceRequest,QuotaPreference> createQuotaPreferenceSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateQuotaPreferenceRequest,QuotaPreference> updateQuotaPreferenceSettings()
public CloudQuotasStubSettings build() throws IOException
build in class com.google.api.gax.rpc.StubSettings.Builder<CloudQuotasStubSettings,CloudQuotasStubSettings.Builder>IOExceptionCopyright © 2025 Google LLC. All rights reserved.