Package com.google.api.serviceusage.v1
Class ServiceUsageSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<ServiceUsageSettings,ServiceUsageSettings.Builder>
com.google.api.serviceusage.v1.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,BatchEnableServicesResponse, OperationMetadata> Returns the builder for the settings used for calls to batchEnableServices.Returns the builder for the settings used for calls to batchEnableServices.Returns the builder for the settings used for calls to batchGetServices.build()Returns the builder for the settings used for calls to disableService.Returns the builder for the settings used for calls to disableService.Returns the builder for the settings used for calls to enableService.Returns the builder for the settings used for calls to enableService.Returns the builder for the settings used for calls to getService.PagedCallSettings.Builder<ListServicesRequest,ListServicesResponse, ServiceUsageClient.ListServicesPagedResponse> Returns the builder for the settings used for calls to listServices.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
Returns the builder for the settings used for calls to enableService. -
enableServiceOperationSettings
public OperationCallSettings.Builder<EnableServiceRequest,EnableServiceResponse, enableServiceOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to enableService. -
disableServiceSettings
Returns the builder for the settings used for calls to disableService. -
disableServiceOperationSettings
public OperationCallSettings.Builder<DisableServiceRequest,DisableServiceResponse, disableServiceOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to disableService. -
getServiceSettings
Returns the builder for the settings used for calls to getService. -
listServicesSettings
public PagedCallSettings.Builder<ListServicesRequest,ListServicesResponse, listServicesSettings()ServiceUsageClient.ListServicesPagedResponse> Returns the builder for the settings used for calls to listServices. -
batchEnableServicesSettings
public UnaryCallSettings.Builder<BatchEnableServicesRequest,Operation> batchEnableServicesSettings()Returns the builder for the settings used for calls to batchEnableServices. -
batchEnableServicesOperationSettings
public OperationCallSettings.Builder<BatchEnableServicesRequest,BatchEnableServicesResponse, batchEnableServicesOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to batchEnableServices. -
batchGetServicesSettings
public UnaryCallSettings.Builder<BatchGetServicesRequest,BatchGetServicesResponse> batchGetServicesSettings()Returns the builder for the settings used for calls to batchGetServices. -
build
- Specified by:
buildin classClientSettings.Builder<ServiceUsageSettings,ServiceUsageSettings.Builder> - Throws:
IOException
-