Class ServiceUsageSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<ServiceUsageSettings,ServiceUsageSettings.Builder>
com.google.api.serviceusage.v1beta1.ServiceUsageSettings.Builder
- Enclosing class:
- ServiceUsageSettings
public static class ServiceUsageSettings.Builder
extends ClientSettings.Builder<ServiceUsageSettings,ServiceUsageSettings.Builder>
Builder for ServiceUsageSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(ServiceUsageSettings settings) protectedBuilder(ServiceUsageStubSettings.Builder stubSettings) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.OperationCallSettings.Builder<BatchEnableServicesRequest,com.google.protobuf.Empty, OperationMetadata> Deprecated.This method is deprecated and will be removed in the next major version update.Deprecated.This method is deprecated and will be removed in the next major version update.build()Returns the builder for the settings used for calls to createAdminOverride.Returns the builder for the settings used for calls to createAdminOverride.Returns the builder for the settings used for calls to createConsumerOverride.Returns the builder for the settings used for calls to createConsumerOverride.OperationCallSettings.Builder<DeleteAdminOverrideRequest,com.google.protobuf.Empty, OperationMetadata> Returns the builder for the settings used for calls to deleteAdminOverride.Returns the builder for the settings used for calls to deleteAdminOverride.OperationCallSettings.Builder<DeleteConsumerOverrideRequest,com.google.protobuf.Empty, OperationMetadata> Returns the builder for the settings used for calls to deleteConsumerOverride.Returns the builder for the settings used for calls to deleteConsumerOverride.OperationCallSettings.Builder<DisableServiceRequest,com.google.protobuf.Empty, OperationMetadata> Deprecated.This method is deprecated and will be removed in the next major version update.Deprecated.This method is deprecated and will be removed in the next major version update.OperationCallSettings.Builder<EnableServiceRequest,com.google.protobuf.Empty, OperationMetadata> Deprecated.This method is deprecated and will be removed in the next major version update.Deprecated.This method is deprecated and will be removed in the next major version update.OperationCallSettings.Builder<GenerateServiceIdentityRequest,ServiceIdentity, com.google.protobuf.Empty> Returns the builder for the settings used for calls to generateServiceIdentity.Returns the builder for the settings used for calls to generateServiceIdentity.Returns the builder for the settings used for calls to getConsumerQuotaLimit.Returns the builder for the settings used for calls to getConsumerQuotaMetric.Deprecated.This method is deprecated and will be removed in the next major version update.OperationCallSettings.Builder<ImportAdminOverridesRequest,ImportAdminOverridesResponse, ImportAdminOverridesMetadata> Returns the builder for the settings used for calls to importAdminOverrides.Returns the builder for the settings used for calls to importAdminOverrides.OperationCallSettings.Builder<ImportConsumerOverridesRequest,ImportConsumerOverridesResponse, ImportConsumerOverridesMetadata> Returns the builder for the settings used for calls to importConsumerOverrides.Returns the builder for the settings used for calls to importConsumerOverrides.PagedCallSettings.Builder<ListAdminOverridesRequest,ListAdminOverridesResponse, ServiceUsageClient.ListAdminOverridesPagedResponse> Returns the builder for the settings used for calls to listAdminOverrides.PagedCallSettings.Builder<ListConsumerOverridesRequest,ListConsumerOverridesResponse, ServiceUsageClient.ListConsumerOverridesPagedResponse> Returns the builder for the settings used for calls to listConsumerOverrides.PagedCallSettings.Builder<ListConsumerQuotaMetricsRequest,ListConsumerQuotaMetricsResponse, ServiceUsageClient.ListConsumerQuotaMetricsPagedResponse> Returns the builder for the settings used for calls to listConsumerQuotaMetrics.PagedCallSettings.Builder<ListServicesRequest,ListServicesResponse, ServiceUsageClient.ListServicesPagedResponse> Deprecated.This method is deprecated and will be removed in the next major version update.Returns the builder for the settings used for calls to updateAdminOverride.Returns the builder for the settings used for calls to updateAdminOverride.Returns the builder for the settings used for calls to updateConsumerOverride.Returns the builder for the settings used for calls to updateConsumerOverride.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 ServiceUsageSettings.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.
-
enableServiceSettings
@Deprecated public UnaryCallSettings.Builder<EnableServiceRequest,Operation> enableServiceSettings()Deprecated.This method is deprecated and will be removed in the next major version update.Returns the builder for the settings used for calls to enableService. -
enableServiceOperationSettings
@Deprecated public OperationCallSettings.Builder<EnableServiceRequest,com.google.protobuf.Empty, enableServiceOperationSettings()OperationMetadata> Deprecated.This method is deprecated and will be removed in the next major version update.Returns the builder for the settings used for calls to enableService. -
disableServiceSettings
@Deprecated public UnaryCallSettings.Builder<DisableServiceRequest,Operation> disableServiceSettings()Deprecated.This method is deprecated and will be removed in the next major version update.Returns the builder for the settings used for calls to disableService. -
disableServiceOperationSettings
@Deprecated public OperationCallSettings.Builder<DisableServiceRequest,com.google.protobuf.Empty, disableServiceOperationSettings()OperationMetadata> Deprecated.This method is deprecated and will be removed in the next major version update.Returns the builder for the settings used for calls to disableService. -
getServiceSettings
Deprecated.This method is deprecated and will be removed in the next major version update.Returns the builder for the settings used for calls to getService. -
listServicesSettings
@Deprecated public PagedCallSettings.Builder<ListServicesRequest,ListServicesResponse, listServicesSettings()ServiceUsageClient.ListServicesPagedResponse> Deprecated.This method is deprecated and will be removed in the next major version update.Returns the builder for the settings used for calls to listServices. -
batchEnableServicesSettings
@Deprecated public UnaryCallSettings.Builder<BatchEnableServicesRequest,Operation> batchEnableServicesSettings()Deprecated.This method is deprecated and will be removed in the next major version update.Returns the builder for the settings used for calls to batchEnableServices. -
batchEnableServicesOperationSettings
@Deprecated public OperationCallSettings.Builder<BatchEnableServicesRequest,com.google.protobuf.Empty, batchEnableServicesOperationSettings()OperationMetadata> Deprecated.This method is deprecated and will be removed in the next major version update.Returns the builder for the settings used for calls to batchEnableServices. -
listConsumerQuotaMetricsSettings
public PagedCallSettings.Builder<ListConsumerQuotaMetricsRequest,ListConsumerQuotaMetricsResponse, listConsumerQuotaMetricsSettings()ServiceUsageClient.ListConsumerQuotaMetricsPagedResponse> Returns the builder for the settings used for calls to listConsumerQuotaMetrics. -
getConsumerQuotaMetricSettings
public UnaryCallSettings.Builder<GetConsumerQuotaMetricRequest,ConsumerQuotaMetric> getConsumerQuotaMetricSettings()Returns the builder for the settings used for calls to getConsumerQuotaMetric. -
getConsumerQuotaLimitSettings
public UnaryCallSettings.Builder<GetConsumerQuotaLimitRequest,ConsumerQuotaLimit> getConsumerQuotaLimitSettings()Returns the builder for the settings used for calls to getConsumerQuotaLimit. -
createAdminOverrideSettings
public UnaryCallSettings.Builder<CreateAdminOverrideRequest,Operation> createAdminOverrideSettings()Returns the builder for the settings used for calls to createAdminOverride. -
createAdminOverrideOperationSettings
public OperationCallSettings.Builder<CreateAdminOverrideRequest,QuotaOverride, createAdminOverrideOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to createAdminOverride. -
updateAdminOverrideSettings
public UnaryCallSettings.Builder<UpdateAdminOverrideRequest,Operation> updateAdminOverrideSettings()Returns the builder for the settings used for calls to updateAdminOverride. -
updateAdminOverrideOperationSettings
public OperationCallSettings.Builder<UpdateAdminOverrideRequest,QuotaOverride, updateAdminOverrideOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to updateAdminOverride. -
deleteAdminOverrideSettings
public UnaryCallSettings.Builder<DeleteAdminOverrideRequest,Operation> deleteAdminOverrideSettings()Returns the builder for the settings used for calls to deleteAdminOverride. -
deleteAdminOverrideOperationSettings
public OperationCallSettings.Builder<DeleteAdminOverrideRequest,com.google.protobuf.Empty, deleteAdminOverrideOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to deleteAdminOverride. -
listAdminOverridesSettings
public PagedCallSettings.Builder<ListAdminOverridesRequest,ListAdminOverridesResponse, listAdminOverridesSettings()ServiceUsageClient.ListAdminOverridesPagedResponse> Returns the builder for the settings used for calls to listAdminOverrides. -
importAdminOverridesSettings
public UnaryCallSettings.Builder<ImportAdminOverridesRequest,Operation> importAdminOverridesSettings()Returns the builder for the settings used for calls to importAdminOverrides. -
importAdminOverridesOperationSettings
public OperationCallSettings.Builder<ImportAdminOverridesRequest,ImportAdminOverridesResponse, importAdminOverridesOperationSettings()ImportAdminOverridesMetadata> Returns the builder for the settings used for calls to importAdminOverrides. -
createConsumerOverrideSettings
public UnaryCallSettings.Builder<CreateConsumerOverrideRequest,Operation> createConsumerOverrideSettings()Returns the builder for the settings used for calls to createConsumerOverride. -
createConsumerOverrideOperationSettings
public OperationCallSettings.Builder<CreateConsumerOverrideRequest,QuotaOverride, createConsumerOverrideOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to createConsumerOverride. -
updateConsumerOverrideSettings
public UnaryCallSettings.Builder<UpdateConsumerOverrideRequest,Operation> updateConsumerOverrideSettings()Returns the builder for the settings used for calls to updateConsumerOverride. -
updateConsumerOverrideOperationSettings
public OperationCallSettings.Builder<UpdateConsumerOverrideRequest,QuotaOverride, updateConsumerOverrideOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to updateConsumerOverride. -
deleteConsumerOverrideSettings
public UnaryCallSettings.Builder<DeleteConsumerOverrideRequest,Operation> deleteConsumerOverrideSettings()Returns the builder for the settings used for calls to deleteConsumerOverride. -
deleteConsumerOverrideOperationSettings
public OperationCallSettings.Builder<DeleteConsumerOverrideRequest,com.google.protobuf.Empty, deleteConsumerOverrideOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to deleteConsumerOverride. -
listConsumerOverridesSettings
public PagedCallSettings.Builder<ListConsumerOverridesRequest,ListConsumerOverridesResponse, listConsumerOverridesSettings()ServiceUsageClient.ListConsumerOverridesPagedResponse> Returns the builder for the settings used for calls to listConsumerOverrides. -
importConsumerOverridesSettings
public UnaryCallSettings.Builder<ImportConsumerOverridesRequest,Operation> importConsumerOverridesSettings()Returns the builder for the settings used for calls to importConsumerOverrides. -
importConsumerOverridesOperationSettings
public OperationCallSettings.Builder<ImportConsumerOverridesRequest,ImportConsumerOverridesResponse, importConsumerOverridesOperationSettings()ImportConsumerOverridesMetadata> Returns the builder for the settings used for calls to importConsumerOverrides. -
generateServiceIdentitySettings
public UnaryCallSettings.Builder<GenerateServiceIdentityRequest,Operation> generateServiceIdentitySettings()Returns the builder for the settings used for calls to generateServiceIdentity. -
generateServiceIdentityOperationSettings
public OperationCallSettings.Builder<GenerateServiceIdentityRequest,ServiceIdentity, generateServiceIdentityOperationSettings()com.google.protobuf.Empty> Returns the builder for the settings used for calls to generateServiceIdentity. -
build
- Specified by:
buildin classClientSettings.Builder<ServiceUsageSettings,ServiceUsageSettings.Builder> - Throws:
IOException
-