Package com.google.cloud.compute.v1
Class TargetPoolsSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<TargetPoolsSettings,TargetPoolsSettings.Builder>
-
- com.google.cloud.compute.v1.TargetPoolsSettings.Builder
-
- Enclosing class:
- TargetPoolsSettings
public static class TargetPoolsSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<TargetPoolsSettings,TargetPoolsSettings.Builder>
Builder for TargetPoolsSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(TargetPoolsStubSettings.Builder stubSettings)
protected
Builder(TargetPoolsSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.api.gax.rpc.OperationCallSettings.Builder<AddHealthCheckTargetPoolRequest,Operation,Operation>
addHealthCheckOperationSettings()
Returns the builder for the settings used for calls to addHealthCheck.com.google.api.gax.rpc.UnaryCallSettings.Builder<AddHealthCheckTargetPoolRequest,Operation>
addHealthCheckSettings()
Returns the builder for the settings used for calls to addHealthCheck.com.google.api.gax.rpc.OperationCallSettings.Builder<AddInstanceTargetPoolRequest,Operation,Operation>
addInstanceOperationSettings()
Returns the builder for the settings used for calls to addInstance.com.google.api.gax.rpc.UnaryCallSettings.Builder<AddInstanceTargetPoolRequest,Operation>
addInstanceSettings()
Returns the builder for the settings used for calls to addInstance.com.google.api.gax.rpc.PagedCallSettings.Builder<AggregatedListTargetPoolsRequest,TargetPoolAggregatedList,TargetPoolsClient.AggregatedListPagedResponse>
aggregatedListSettings()
Returns the builder for the settings used for calls to aggregatedList.TargetPoolsSettings.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.TargetPoolsSettings
build()
com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteTargetPoolRequest,Operation,Operation>
deleteOperationSettings()
Returns the builder for the settings used for calls to delete.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteTargetPoolRequest,Operation>
deleteSettings()
Returns the builder for the settings used for calls to delete.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetHealthTargetPoolRequest,TargetPoolInstanceHealth>
getHealthSettings()
Returns the builder for the settings used for calls to getHealth.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetTargetPoolRequest,TargetPool>
getSettings()
Returns the builder for the settings used for calls to get.TargetPoolsStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.OperationCallSettings.Builder<InsertTargetPoolRequest,Operation,Operation>
insertOperationSettings()
Returns the builder for the settings used for calls to insert.com.google.api.gax.rpc.UnaryCallSettings.Builder<InsertTargetPoolRequest,Operation>
insertSettings()
Returns the builder for the settings used for calls to insert.com.google.api.gax.rpc.PagedCallSettings.Builder<ListTargetPoolsRequest,TargetPoolList,TargetPoolsClient.ListPagedResponse>
listSettings()
Returns the builder for the settings used for calls to list.com.google.api.gax.rpc.OperationCallSettings.Builder<RemoveHealthCheckTargetPoolRequest,Operation,Operation>
removeHealthCheckOperationSettings()
Returns the builder for the settings used for calls to removeHealthCheck.com.google.api.gax.rpc.UnaryCallSettings.Builder<RemoveHealthCheckTargetPoolRequest,Operation>
removeHealthCheckSettings()
Returns the builder for the settings used for calls to removeHealthCheck.com.google.api.gax.rpc.OperationCallSettings.Builder<RemoveInstanceTargetPoolRequest,Operation,Operation>
removeInstanceOperationSettings()
Returns the builder for the settings used for calls to removeInstance.com.google.api.gax.rpc.UnaryCallSettings.Builder<RemoveInstanceTargetPoolRequest,Operation>
removeInstanceSettings()
Returns the builder for the settings used for calls to removeInstance.com.google.api.gax.rpc.OperationCallSettings.Builder<SetBackupTargetPoolRequest,Operation,Operation>
setBackupOperationSettings()
Returns the builder for the settings used for calls to setBackup.com.google.api.gax.rpc.UnaryCallSettings.Builder<SetBackupTargetPoolRequest,Operation>
setBackupSettings()
Returns the builder for the settings used for calls to setBackup.-
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(TargetPoolsSettings settings)
-
Builder
protected Builder(TargetPoolsStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public TargetPoolsStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public TargetPoolsSettings.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.
-
addHealthCheckSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<AddHealthCheckTargetPoolRequest,Operation> addHealthCheckSettings()
Returns the builder for the settings used for calls to addHealthCheck.
-
addHealthCheckOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<AddHealthCheckTargetPoolRequest,Operation,Operation> addHealthCheckOperationSettings()
Returns the builder for the settings used for calls to addHealthCheck.
-
addInstanceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<AddInstanceTargetPoolRequest,Operation> addInstanceSettings()
Returns the builder for the settings used for calls to addInstance.
-
addInstanceOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<AddInstanceTargetPoolRequest,Operation,Operation> addInstanceOperationSettings()
Returns the builder for the settings used for calls to addInstance.
-
aggregatedListSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<AggregatedListTargetPoolsRequest,TargetPoolAggregatedList,TargetPoolsClient.AggregatedListPagedResponse> aggregatedListSettings()
Returns the builder for the settings used for calls to aggregatedList.
-
deleteSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteTargetPoolRequest,Operation> deleteSettings()
Returns the builder for the settings used for calls to delete.
-
deleteOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteTargetPoolRequest,Operation,Operation> deleteOperationSettings()
Returns the builder for the settings used for calls to delete.
-
getSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetTargetPoolRequest,TargetPool> getSettings()
Returns the builder for the settings used for calls to get.
-
getHealthSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetHealthTargetPoolRequest,TargetPoolInstanceHealth> getHealthSettings()
Returns the builder for the settings used for calls to getHealth.
-
insertSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<InsertTargetPoolRequest,Operation> insertSettings()
Returns the builder for the settings used for calls to insert.
-
insertOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<InsertTargetPoolRequest,Operation,Operation> insertOperationSettings()
Returns the builder for the settings used for calls to insert.
-
listSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListTargetPoolsRequest,TargetPoolList,TargetPoolsClient.ListPagedResponse> listSettings()
Returns the builder for the settings used for calls to list.
-
removeHealthCheckSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<RemoveHealthCheckTargetPoolRequest,Operation> removeHealthCheckSettings()
Returns the builder for the settings used for calls to removeHealthCheck.
-
removeHealthCheckOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<RemoveHealthCheckTargetPoolRequest,Operation,Operation> removeHealthCheckOperationSettings()
Returns the builder for the settings used for calls to removeHealthCheck.
-
removeInstanceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<RemoveInstanceTargetPoolRequest,Operation> removeInstanceSettings()
Returns the builder for the settings used for calls to removeInstance.
-
removeInstanceOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<RemoveInstanceTargetPoolRequest,Operation,Operation> removeInstanceOperationSettings()
Returns the builder for the settings used for calls to removeInstance.
-
setBackupSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetBackupTargetPoolRequest,Operation> setBackupSettings()
Returns the builder for the settings used for calls to setBackup.
-
setBackupOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<SetBackupTargetPoolRequest,Operation,Operation> setBackupOperationSettings()
Returns the builder for the settings used for calls to setBackup.
-
build
public TargetPoolsSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<TargetPoolsSettings,TargetPoolsSettings.Builder>
- Throws:
IOException
-
-