Class TargetPoolsSettings.Builder (1.33.0)

See more code actions.
public static class TargetPoolsSettings.Builder extends ClientSettings.Builder<TargetPoolsSettings,TargetPoolsSettings.Builder>

Builder for TargetPoolsSettings.

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

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(TargetPoolsSettings settings)

protected Builder(TargetPoolsSettings settings)
Parameter
NameDescription
settingsTargetPoolsSettings

Builder(TargetPoolsStubSettings.Builder stubSettings)

protected Builder(TargetPoolsStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsTargetPoolsStubSettings.Builder

Methods

addHealthCheckOperationSettings()

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

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

addHealthCheckSettings()

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

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

addInstanceOperationSettings()

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

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

addInstanceSettings()

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

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

aggregatedListSettings()

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

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

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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
TargetPoolsSettings.Builder

build()

public TargetPoolsSettings build()
Returns
TypeDescription
TargetPoolsSettings
Overrides
Exceptions
TypeDescription
IOException

deleteOperationSettings()

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

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

deleteSettings()

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

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

getHealthSettings()

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

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

getSettings()

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

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

Returns
TypeDescription
Builder<GetTargetPoolRequest,TargetPool>

getStubSettingsBuilder()

public TargetPoolsStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
TargetPoolsStubSettings.Builder

insertOperationSettings()

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

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

insertSettings()

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

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

listSettings()

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

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

removeHealthCheckOperationSettings()

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

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

removeHealthCheckSettings()

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

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

removeInstanceOperationSettings()

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

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

removeInstanceSettings()

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

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

setBackupOperationSettings()

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

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

setBackupSettings()

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

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