Class TargetPoolsSettings.Builder (1.58.0)

public static class TargetPoolsSettings.Builder extends ClientSettings.Builder<TargetPoolsSettings,TargetPoolsSettings.Builder>

Builder for TargetPoolsSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > TargetPoolsSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(TargetPoolsSettings settings)

protected Builder(TargetPoolsSettings settings)
Parameter
Name Description
settings TargetPoolsSettings

Builder(TargetPoolsStubSettings.Builder stubSettings)

protected Builder(TargetPoolsStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings TargetPoolsStubSettings.Builder

Methods

addHealthCheckOperationSettings()

public OperationCallSettings.Builder<AddHealthCheckTargetPoolRequest,Operation,Operation> addHealthCheckOperationSettings()

Returns the builder for the settings used for calls to addHealthCheck.

Returns
Type Description
Builder<AddHealthCheckTargetPoolRequest,Operation,Operation>

addHealthCheckSettings()

public UnaryCallSettings.Builder<AddHealthCheckTargetPoolRequest,Operation> addHealthCheckSettings()

Returns the builder for the settings used for calls to addHealthCheck.

Returns
Type Description
Builder<AddHealthCheckTargetPoolRequest,Operation>

addInstanceOperationSettings()

public OperationCallSettings.Builder<AddInstanceTargetPoolRequest,Operation,Operation> addInstanceOperationSettings()

Returns the builder for the settings used for calls to addInstance.

Returns
Type Description
Builder<AddInstanceTargetPoolRequest,Operation,Operation>

addInstanceSettings()

public UnaryCallSettings.Builder<AddInstanceTargetPoolRequest,Operation> addInstanceSettings()

Returns the builder for the settings used for calls to addInstance.

Returns
Type Description
Builder<AddInstanceTargetPoolRequest,Operation>

aggregatedListSettings()

public PagedCallSettings.Builder<AggregatedListTargetPoolsRequest,TargetPoolAggregatedList,TargetPoolsClient.AggregatedListPagedResponse> aggregatedListSettings()

Returns the builder for the settings used for calls to aggregatedList.

Returns
Type Description
Builder<AggregatedListTargetPoolsRequest,TargetPoolAggregatedList,AggregatedListPagedResponse>

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public TargetPoolsSettings.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.

Parameter
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
TargetPoolsSettings.Builder

build()

public TargetPoolsSettings build()
Returns
Type Description
TargetPoolsSettings
Overrides
Exceptions
Type Description
IOException

deleteOperationSettings()

public OperationCallSettings.Builder<DeleteTargetPoolRequest,Operation,Operation> deleteOperationSettings()

Returns the builder for the settings used for calls to delete.

Returns
Type Description
Builder<DeleteTargetPoolRequest,Operation,Operation>

deleteSettings()

public UnaryCallSettings.Builder<DeleteTargetPoolRequest,Operation> deleteSettings()

Returns the builder for the settings used for calls to delete.

Returns
Type Description
Builder<DeleteTargetPoolRequest,Operation>

getHealthSettings()

public UnaryCallSettings.Builder<GetHealthTargetPoolRequest,TargetPoolInstanceHealth> getHealthSettings()

Returns the builder for the settings used for calls to getHealth.

Returns
Type Description
Builder<GetHealthTargetPoolRequest,TargetPoolInstanceHealth>

getSettings()

public UnaryCallSettings.Builder<GetTargetPoolRequest,TargetPool> getSettings()

Returns the builder for the settings used for calls to get.

Returns
Type Description
Builder<GetTargetPoolRequest,TargetPool>

getStubSettingsBuilder()

public TargetPoolsStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
TargetPoolsStubSettings.Builder

insertOperationSettings()

public OperationCallSettings.Builder<InsertTargetPoolRequest,Operation,Operation> insertOperationSettings()

Returns the builder for the settings used for calls to insert.

Returns
Type Description
Builder<InsertTargetPoolRequest,Operation,Operation>

insertSettings()

public UnaryCallSettings.Builder<InsertTargetPoolRequest,Operation> insertSettings()

Returns the builder for the settings used for calls to insert.

Returns
Type Description
Builder<InsertTargetPoolRequest,Operation>

listSettings()

public PagedCallSettings.Builder<ListTargetPoolsRequest,TargetPoolList,TargetPoolsClient.ListPagedResponse> listSettings()

Returns the builder for the settings used for calls to list.

Returns
Type Description
Builder<ListTargetPoolsRequest,TargetPoolList,ListPagedResponse>

removeHealthCheckOperationSettings()

public OperationCallSettings.Builder<RemoveHealthCheckTargetPoolRequest,Operation,Operation> removeHealthCheckOperationSettings()

Returns the builder for the settings used for calls to removeHealthCheck.

Returns
Type Description
Builder<RemoveHealthCheckTargetPoolRequest,Operation,Operation>

removeHealthCheckSettings()

public UnaryCallSettings.Builder<RemoveHealthCheckTargetPoolRequest,Operation> removeHealthCheckSettings()

Returns the builder for the settings used for calls to removeHealthCheck.

Returns
Type Description
Builder<RemoveHealthCheckTargetPoolRequest,Operation>

removeInstanceOperationSettings()

public OperationCallSettings.Builder<RemoveInstanceTargetPoolRequest,Operation,Operation> removeInstanceOperationSettings()

Returns the builder for the settings used for calls to removeInstance.

Returns
Type Description
Builder<RemoveInstanceTargetPoolRequest,Operation,Operation>

removeInstanceSettings()

public UnaryCallSettings.Builder<RemoveInstanceTargetPoolRequest,Operation> removeInstanceSettings()

Returns the builder for the settings used for calls to removeInstance.

Returns
Type Description
Builder<RemoveInstanceTargetPoolRequest,Operation>

setBackupOperationSettings()

public OperationCallSettings.Builder<SetBackupTargetPoolRequest,Operation,Operation> setBackupOperationSettings()

Returns the builder for the settings used for calls to setBackup.

Returns
Type Description
Builder<SetBackupTargetPoolRequest,Operation,Operation>

setBackupSettings()

public UnaryCallSettings.Builder<SetBackupTargetPoolRequest,Operation> setBackupSettings()

Returns the builder for the settings used for calls to setBackup.

Returns
Type Description
Builder<SetBackupTargetPoolRequest,Operation>

setSecurityPolicyOperationSettings()

public OperationCallSettings.Builder<SetSecurityPolicyTargetPoolRequest,Operation,Operation> setSecurityPolicyOperationSettings()

Returns the builder for the settings used for calls to setSecurityPolicy.

Returns
Type Description
Builder<SetSecurityPolicyTargetPoolRequest,Operation,Operation>

setSecurityPolicySettings()

public UnaryCallSettings.Builder<SetSecurityPolicyTargetPoolRequest,Operation> setSecurityPolicySettings()

Returns the builder for the settings used for calls to setSecurityPolicy.

Returns
Type Description
Builder<SetSecurityPolicyTargetPoolRequest,Operation>