public static class ServiceUsageStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<ServiceUsageStubSettings,ServiceUsageStubSettings.Builder>
| Modifier | Constructor and Description |
|---|---|
protected |
Builder() |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
protected |
Builder(ServiceUsageStubSettings settings) |
| Modifier and Type | Method and Description |
|---|---|
ServiceUsageStubSettings.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.
|
ServiceUsageStubSettings |
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.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<ListServicesRequest,ListServicesResponse,ServiceUsageClient.ListServicesPagedResponse> |
listServicesSettings()
Returns the builder for the settings used for calls to listServices.
|
com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
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(ServiceUsageStubSettings settings)
public ServiceUsageStubSettings.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.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 ServiceUsageStubSettings build() throws IOException
build in class com.google.api.gax.rpc.StubSettings.Builder<ServiceUsageStubSettings,ServiceUsageStubSettings.Builder>IOExceptionCopyright © 2025 Google LLC. All rights reserved.