Package com.google.cloud.compute.v1.stub
Class TargetPoolsStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<TargetPoolsStubSettings,TargetPoolsStubSettings.Builder>
-
- com.google.cloud.compute.v1.stub.TargetPoolsStubSettings.Builder
-
- Enclosing class:
- TargetPoolsStubSettings
public static class TargetPoolsStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<TargetPoolsStubSettings,TargetPoolsStubSettings.Builder>
Builder for TargetPoolsStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(TargetPoolsStubSettings 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.TargetPoolsStubSettings.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.TargetPoolsStubSettings
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.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.com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
-
Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder()
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(TargetPoolsStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public TargetPoolsStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
-
addHealthCheckSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<AddHealthCheckTargetPoolRequest,Operation> addHealthCheckSettings()
Returns the builder for the settings used for calls to addHealthCheck.
-
addHealthCheckOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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 TargetPoolsStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<TargetPoolsStubSettings,TargetPoolsStubSettings.Builder>
- Throws:
IOException
-
-