Package com.google.cloud.compute.v1
Class RegionInstancesSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<RegionInstancesSettings,RegionInstancesSettings.Builder>
-
- com.google.cloud.compute.v1.RegionInstancesSettings.Builder
-
- Enclosing class:
- RegionInstancesSettings
public static class RegionInstancesSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<RegionInstancesSettings,RegionInstancesSettings.Builder>
Builder for RegionInstancesSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(RegionInstancesSettings settings)
protected
Builder(RegionInstancesStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RegionInstancesSettings.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.RegionInstancesSettings
build()
com.google.api.gax.rpc.OperationCallSettings.Builder<BulkInsertRegionInstanceRequest,Operation,Operation>
bulkInsertOperationSettings()
Returns the builder for the settings used for calls to bulkInsert.com.google.api.gax.rpc.UnaryCallSettings.Builder<BulkInsertRegionInstanceRequest,Operation>
bulkInsertSettings()
Returns the builder for the settings used for calls to bulkInsert.RegionInstancesStubSettings.Builder
getStubSettingsBuilder()
-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(RegionInstancesSettings settings)
-
Builder
protected Builder(RegionInstancesStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public RegionInstancesStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public RegionInstancesSettings.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.Note: This method does not support applying settings to streaming methods.
-
bulkInsertSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<BulkInsertRegionInstanceRequest,Operation> bulkInsertSettings()
Returns the builder for the settings used for calls to bulkInsert.
-
bulkInsertOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<BulkInsertRegionInstanceRequest,Operation,Operation> bulkInsertOperationSettings()
Returns the builder for the settings used for calls to bulkInsert.
-
build
public RegionInstancesSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<RegionInstancesSettings,RegionInstancesSettings.Builder>
- Throws:
IOException
-
-