Class ServiceUsageStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<ServiceUsageStubSettings,ServiceUsageStubSettings.Builder>
com.google.api.serviceusage.v1.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,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.com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> 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
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 classStubSettings.Builder<ServiceUsageStubSettings,ServiceUsageStubSettings.Builder> - Throws:
IOException
-