Class TargetPoolsStubSettings.Builder (1.9.1)

See more code actions.
public static class TargetPoolsStubSettings.Builder extends StubSettings.Builder<TargetPoolsStubSettings,TargetPoolsStubSettings.Builder>

Builder for TargetPoolsStubSettings.

java.lang.Object > StubSettings.Builder > TargetPoolsStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(TargetPoolsStubSettings settings)

protected Builder(TargetPoolsStubSettings settings)
Parameter
NameDescription
settingsTargetPoolsStubSettings

Methods

addHealthCheckOperationSettings()

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

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

Returns

addHealthCheckSettings()

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

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

Returns

addInstanceOperationSettings()

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

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

Returns

addInstanceSettings()

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

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

Returns

aggregatedListSettings()

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

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

Returns

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

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

build()

public TargetPoolsStubSettings build()
Returns Overrides Exceptions
TypeDescription
IOException

deleteOperationSettings()

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

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

Returns

deleteSettings()

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

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

Returns

getHealthSettings()

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

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

Returns

getSettings()

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

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

Returns

insertOperationSettings()

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

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

Returns

insertSettings()

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

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

Returns

listSettings()

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

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

Returns

removeHealthCheckOperationSettings()

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

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

Returns

removeHealthCheckSettings()

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

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

Returns

removeInstanceOperationSettings()

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

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

Returns

removeInstanceSettings()

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

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

Returns

setBackupOperationSettings()

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

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

Returns

setBackupSettings()

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

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

Returns

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
com.google.common.collect.ImmutableList<Builder<?,?>>