Class ServiceUsageStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<ServiceUsageStubSettings,ServiceUsageStubSettings.Builder>
com.google.api.serviceusage.v1beta1.stub.ServiceUsageStubSettings.Builder
- Enclosing class:
- ServiceUsageStubSettings
public static class ServiceUsageStubSettings.Builder
extends StubSettings.Builder<ServiceUsageStubSettings,ServiceUsageStubSettings.Builder>
Builder for ServiceUsageStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(ServiceUsageStubSettings settings) -
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> Returns the builder for the settings used for calls to batchEnableServices.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> Returns the builder for the settings used for calls to disableService.Deprecated.This method is deprecated and will be removed in the next major version update.OperationCallSettings.Builder<EnableServiceRequest,com.google.protobuf.Empty, OperationMetadata> Returns the builder for the settings used for calls to enableService.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.com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> 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.StubSettings.Builder
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, toString
-
Constructor Details
-
Builder
protected Builder() -
Builder
-
Builder
-
-
Method Details
-
applyToAllUnaryMethods
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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders() -
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
public OperationCallSettings.Builder<EnableServiceRequest,com.google.protobuf.Empty, enableServiceOperationSettings()OperationMetadata> 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
public OperationCallSettings.Builder<DisableServiceRequest,com.google.protobuf.Empty, disableServiceOperationSettings()OperationMetadata> 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
public OperationCallSettings.Builder<BatchEnableServicesRequest,com.google.protobuf.Empty, batchEnableServicesOperationSettings()OperationMetadata> 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 classStubSettings.Builder<ServiceUsageStubSettings,ServiceUsageStubSettings.Builder> - Throws:
IOException
-