public static class ServiceUsageSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<ServiceUsageSettings,ServiceUsageSettings.Builder>
| Modifier | Constructor and Description |
|---|---|
protected |
Builder() |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
protected |
Builder(ServiceUsageSettings settings) |
protected |
Builder(ServiceUsageStubSettings.Builder stubSettings) |
| Modifier and Type | Method and Description |
|---|---|
ServiceUsageSettings.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.
|
com.google.api.gax.rpc.OperationCallSettings.Builder<BatchEnableServicesRequest,BatchEnableServicesResponse,OperationMetadata> |
batchEnableServicesOperationSettings()
Returns the builder for the settings used for calls to batchEnableServices.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<BatchEnableServicesRequest,com.google.longrunning.Operation> |
batchEnableServicesSettings()
Returns the builder for the settings used for calls to batchEnableServices.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<BatchGetServicesRequest,BatchGetServicesResponse> |
batchGetServicesSettings()
Returns the builder for the settings used for calls to batchGetServices.
|
ServiceUsageSettings |
build() |
com.google.api.gax.rpc.OperationCallSettings.Builder<DisableServiceRequest,DisableServiceResponse,OperationMetadata> |
disableServiceOperationSettings()
Returns the builder for the settings used for calls to disableService.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<DisableServiceRequest,com.google.longrunning.Operation> |
disableServiceSettings()
Returns the builder for the settings used for calls to disableService.
|
com.google.api.gax.rpc.OperationCallSettings.Builder<EnableServiceRequest,EnableServiceResponse,OperationMetadata> |
enableServiceOperationSettings()
Returns the builder for the settings used for calls to enableService.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<EnableServiceRequest,com.google.longrunning.Operation> |
enableServiceSettings()
Returns the builder for the settings used for calls to enableService.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetServiceRequest,Service> |
getServiceSettings()
Returns the builder for the settings used for calls to getService.
|
ServiceUsageStubSettings.Builder |
getStubSettingsBuilder() |
com.google.api.gax.rpc.PagedCallSettings.Builder<ListServicesRequest,ListServicesResponse,ServiceUsageClient.ListServicesPagedResponse> |
listServicesSettings()
Returns the builder for the settings used for calls to listServices.
|
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, toStringprotected Builder()
throws IOException
IOExceptionprotected Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(ServiceUsageSettings settings)
protected Builder(ServiceUsageStubSettings.Builder stubSettings)
public ServiceUsageStubSettings.Builder getStubSettingsBuilder()
public ServiceUsageSettings.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.api.gax.rpc.UnaryCallSettings.Builder<EnableServiceRequest,com.google.longrunning.Operation> enableServiceSettings()
public com.google.api.gax.rpc.OperationCallSettings.Builder<EnableServiceRequest,EnableServiceResponse,OperationMetadata> enableServiceOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DisableServiceRequest,com.google.longrunning.Operation> disableServiceSettings()
public com.google.api.gax.rpc.OperationCallSettings.Builder<DisableServiceRequest,DisableServiceResponse,OperationMetadata> disableServiceOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetServiceRequest,Service> getServiceSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListServicesRequest,ListServicesResponse,ServiceUsageClient.ListServicesPagedResponse> listServicesSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<BatchEnableServicesRequest,com.google.longrunning.Operation> batchEnableServicesSettings()
public com.google.api.gax.rpc.OperationCallSettings.Builder<BatchEnableServicesRequest,BatchEnableServicesResponse,OperationMetadata> batchEnableServicesOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<BatchGetServicesRequest,BatchGetServicesResponse> batchGetServicesSettings()
public ServiceUsageSettings build() throws IOException
build in class com.google.api.gax.rpc.ClientSettings.Builder<ServiceUsageSettings,ServiceUsageSettings.Builder>IOExceptionCopyright © 2025 Google LLC. All rights reserved.