- 2.53.0 (latest)
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.7
- 2.2.8
public static class ServiceUsageStubSettings.Builder extends StubSettings.Builder<ServiceUsageStubSettings,ServiceUsageStubSettings.Builder>
Builder for ServiceUsageStubSettings.
Constructors
Builder()
protected Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Name | Description |
clientContext | ClientContext |
Builder(ServiceUsageStubSettings settings)
protected Builder(ServiceUsageStubSettings settings)
Name | Description |
settings | ServiceUsageStubSettings |
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public ServiceUsageStubSettings.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.
Name | Description |
settingsUpdater | ApiFunction<Builder<?,?>,java.lang.Void> |
Type | Description |
ServiceUsageStubSettings.Builder |
batchEnableServicesOperationSettings()
public OperationCallSettings.Builder<BatchEnableServicesRequest,Empty,OperationMetadata> batchEnableServicesOperationSettings()
Returns the builder for the settings used for calls to batchEnableServices.
Type | Description |
Builder<BatchEnableServicesRequest,Empty,OperationMetadata> |
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.
Type | Description |
Builder<BatchEnableServicesRequest,Operation> |
build()
public ServiceUsageStubSettings build()
Type | Description |
ServiceUsageStubSettings |
Type | Description |
IOException |
createAdminOverrideOperationSettings()
public OperationCallSettings.Builder<CreateAdminOverrideRequest,QuotaOverride,OperationMetadata> createAdminOverrideOperationSettings()
Returns the builder for the settings used for calls to createAdminOverride.
Type | Description |
Builder<CreateAdminOverrideRequest,QuotaOverride,OperationMetadata> |
createAdminOverrideSettings()
public UnaryCallSettings.Builder<CreateAdminOverrideRequest,Operation> createAdminOverrideSettings()
Returns the builder for the settings used for calls to createAdminOverride.
Type | Description |
Builder<CreateAdminOverrideRequest,Operation> |
createConsumerOverrideOperationSettings()
public OperationCallSettings.Builder<CreateConsumerOverrideRequest,QuotaOverride,OperationMetadata> createConsumerOverrideOperationSettings()
Returns the builder for the settings used for calls to createConsumerOverride.
Type | Description |
Builder<CreateConsumerOverrideRequest,QuotaOverride,OperationMetadata> |
createConsumerOverrideSettings()
public UnaryCallSettings.Builder<CreateConsumerOverrideRequest,Operation> createConsumerOverrideSettings()
Returns the builder for the settings used for calls to createConsumerOverride.
Type | Description |
Builder<CreateConsumerOverrideRequest,Operation> |
deleteAdminOverrideOperationSettings()
public OperationCallSettings.Builder<DeleteAdminOverrideRequest,Empty,OperationMetadata> deleteAdminOverrideOperationSettings()
Returns the builder for the settings used for calls to deleteAdminOverride.
Type | Description |
Builder<DeleteAdminOverrideRequest,Empty,OperationMetadata> |
deleteAdminOverrideSettings()
public UnaryCallSettings.Builder<DeleteAdminOverrideRequest,Operation> deleteAdminOverrideSettings()
Returns the builder for the settings used for calls to deleteAdminOverride.
Type | Description |
Builder<DeleteAdminOverrideRequest,Operation> |
deleteConsumerOverrideOperationSettings()
public OperationCallSettings.Builder<DeleteConsumerOverrideRequest,Empty,OperationMetadata> deleteConsumerOverrideOperationSettings()
Returns the builder for the settings used for calls to deleteConsumerOverride.
Type | Description |
Builder<DeleteConsumerOverrideRequest,Empty,OperationMetadata> |
deleteConsumerOverrideSettings()
public UnaryCallSettings.Builder<DeleteConsumerOverrideRequest,Operation> deleteConsumerOverrideSettings()
Returns the builder for the settings used for calls to deleteConsumerOverride.
Type | Description |
Builder<DeleteConsumerOverrideRequest,Operation> |
disableServiceOperationSettings()
public OperationCallSettings.Builder<DisableServiceRequest,Empty,OperationMetadata> disableServiceOperationSettings()
Returns the builder for the settings used for calls to disableService.
Type | Description |
Builder<DisableServiceRequest,Empty,OperationMetadata> |
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.
Type | Description |
Builder<DisableServiceRequest,Operation> |
enableServiceOperationSettings()
public OperationCallSettings.Builder<EnableServiceRequest,Empty,OperationMetadata> enableServiceOperationSettings()
Returns the builder for the settings used for calls to enableService.
Type | Description |
Builder<EnableServiceRequest,Empty,OperationMetadata> |
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.
Type | Description |
Builder<EnableServiceRequest,Operation> |
generateServiceIdentityOperationSettings()
public OperationCallSettings.Builder<GenerateServiceIdentityRequest,ServiceIdentity,Empty> generateServiceIdentityOperationSettings()
Returns the builder for the settings used for calls to generateServiceIdentity.
Type | Description |
Builder<GenerateServiceIdentityRequest,ServiceIdentity,Empty> |
generateServiceIdentitySettings()
public UnaryCallSettings.Builder<GenerateServiceIdentityRequest,Operation> generateServiceIdentitySettings()
Returns the builder for the settings used for calls to generateServiceIdentity.
Type | Description |
Builder<GenerateServiceIdentityRequest,Operation> |
getConsumerQuotaLimitSettings()
public UnaryCallSettings.Builder<GetConsumerQuotaLimitRequest,ConsumerQuotaLimit> getConsumerQuotaLimitSettings()
Returns the builder for the settings used for calls to getConsumerQuotaLimit.
Type | Description |
Builder<GetConsumerQuotaLimitRequest,ConsumerQuotaLimit> |
getConsumerQuotaMetricSettings()
public UnaryCallSettings.Builder<GetConsumerQuotaMetricRequest,ConsumerQuotaMetric> getConsumerQuotaMetricSettings()
Returns the builder for the settings used for calls to getConsumerQuotaMetric.
Type | Description |
Builder<GetConsumerQuotaMetricRequest,ConsumerQuotaMetric> |
getServiceSettings() (deprecated)
public UnaryCallSettings.Builder<GetServiceRequest,Service> 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.
Type | Description |
Builder<GetServiceRequest,Service> |
importAdminOverridesOperationSettings()
public OperationCallSettings.Builder<ImportAdminOverridesRequest,ImportAdminOverridesResponse,ImportAdminOverridesMetadata> importAdminOverridesOperationSettings()
Returns the builder for the settings used for calls to importAdminOverrides.
Type | Description |
Builder<ImportAdminOverridesRequest,ImportAdminOverridesResponse,ImportAdminOverridesMetadata> |
importAdminOverridesSettings()
public UnaryCallSettings.Builder<ImportAdminOverridesRequest,Operation> importAdminOverridesSettings()
Returns the builder for the settings used for calls to importAdminOverrides.
Type | Description |
Builder<ImportAdminOverridesRequest,Operation> |
importConsumerOverridesOperationSettings()
public OperationCallSettings.Builder<ImportConsumerOverridesRequest,ImportConsumerOverridesResponse,ImportConsumerOverridesMetadata> importConsumerOverridesOperationSettings()
Returns the builder for the settings used for calls to importConsumerOverrides.
Type | Description |
Builder<ImportConsumerOverridesRequest,ImportConsumerOverridesResponse,ImportConsumerOverridesMetadata> |
importConsumerOverridesSettings()
public UnaryCallSettings.Builder<ImportConsumerOverridesRequest,Operation> importConsumerOverridesSettings()
Returns the builder for the settings used for calls to importConsumerOverrides.
Type | Description |
Builder<ImportConsumerOverridesRequest,Operation> |
listAdminOverridesSettings()
public PagedCallSettings.Builder<ListAdminOverridesRequest,ListAdminOverridesResponse,ServiceUsageClient.ListAdminOverridesPagedResponse> listAdminOverridesSettings()
Returns the builder for the settings used for calls to listAdminOverrides.
Type | Description |
Builder<ListAdminOverridesRequest,ListAdminOverridesResponse,ListAdminOverridesPagedResponse> |
listConsumerOverridesSettings()
public PagedCallSettings.Builder<ListConsumerOverridesRequest,ListConsumerOverridesResponse,ServiceUsageClient.ListConsumerOverridesPagedResponse> listConsumerOverridesSettings()
Returns the builder for the settings used for calls to listConsumerOverrides.
Type | Description |
Builder<ListConsumerOverridesRequest,ListConsumerOverridesResponse,ListConsumerOverridesPagedResponse> |
listConsumerQuotaMetricsSettings()
public PagedCallSettings.Builder<ListConsumerQuotaMetricsRequest,ListConsumerQuotaMetricsResponse,ServiceUsageClient.ListConsumerQuotaMetricsPagedResponse> listConsumerQuotaMetricsSettings()
Returns the builder for the settings used for calls to listConsumerQuotaMetrics.
Type | Description |
Builder<ListConsumerQuotaMetricsRequest,ListConsumerQuotaMetricsResponse,ListConsumerQuotaMetricsPagedResponse> |
listServicesSettings() (deprecated)
public PagedCallSettings.Builder<ListServicesRequest,ListServicesResponse,ServiceUsageClient.ListServicesPagedResponse> listServicesSettings()
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.
Type | Description |
Builder<ListServicesRequest,ListServicesResponse,ListServicesPagedResponse> |
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Type | Description |
com.google.common.collect.ImmutableList<Builder<?,?>> |
updateAdminOverrideOperationSettings()
public OperationCallSettings.Builder<UpdateAdminOverrideRequest,QuotaOverride,OperationMetadata> updateAdminOverrideOperationSettings()
Returns the builder for the settings used for calls to updateAdminOverride.
Type | Description |
Builder<UpdateAdminOverrideRequest,QuotaOverride,OperationMetadata> |
updateAdminOverrideSettings()
public UnaryCallSettings.Builder<UpdateAdminOverrideRequest,Operation> updateAdminOverrideSettings()
Returns the builder for the settings used for calls to updateAdminOverride.
Type | Description |
Builder<UpdateAdminOverrideRequest,Operation> |
updateConsumerOverrideOperationSettings()
public OperationCallSettings.Builder<UpdateConsumerOverrideRequest,QuotaOverride,OperationMetadata> updateConsumerOverrideOperationSettings()
Returns the builder for the settings used for calls to updateConsumerOverride.
Type | Description |
Builder<UpdateConsumerOverrideRequest,QuotaOverride,OperationMetadata> |
updateConsumerOverrideSettings()
public UnaryCallSettings.Builder<UpdateConsumerOverrideRequest,Operation> updateConsumerOverrideSettings()
Returns the builder for the settings used for calls to updateConsumerOverride.
Type | Description |
Builder<UpdateConsumerOverrideRequest,Operation> |