Class TargetInstancesSettings.Builder (1.57.0)

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

Builder for TargetInstancesSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > TargetInstancesSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(TargetInstancesSettings settings)

protected Builder(TargetInstancesSettings settings)
Parameter
Name Description
settings TargetInstancesSettings

Builder(TargetInstancesStubSettings.Builder stubSettings)

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

Methods

aggregatedListSettings()

public PagedCallSettings.Builder<AggregatedListTargetInstancesRequest,TargetInstanceAggregatedList,TargetInstancesClient.AggregatedListPagedResponse> aggregatedListSettings()

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

Returns
Type Description
Builder<AggregatedListTargetInstancesRequest,TargetInstanceAggregatedList,AggregatedListPagedResponse>

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

public TargetInstancesSettings.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
TargetInstancesSettings.Builder

build()

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

deleteOperationSettings()

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

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

Returns
Type Description
Builder<DeleteTargetInstanceRequest,Operation,Operation>

deleteSettings()

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

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

Returns
Type Description
Builder<DeleteTargetInstanceRequest,Operation>

getSettings()

public UnaryCallSettings.Builder<GetTargetInstanceRequest,TargetInstance> getSettings()

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

Returns
Type Description
Builder<GetTargetInstanceRequest,TargetInstance>

getStubSettingsBuilder()

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

insertOperationSettings()

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

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

Returns
Type Description
Builder<InsertTargetInstanceRequest,Operation,Operation>

insertSettings()

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

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

Returns
Type Description
Builder<InsertTargetInstanceRequest,Operation>

listSettings()

public PagedCallSettings.Builder<ListTargetInstancesRequest,TargetInstanceList,TargetInstancesClient.ListPagedResponse> listSettings()

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

Returns
Type Description
Builder<ListTargetInstancesRequest,TargetInstanceList,ListPagedResponse>

setSecurityPolicyOperationSettings()

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

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

Returns
Type Description
Builder<SetSecurityPolicyTargetInstanceRequest,Operation,Operation>

setSecurityPolicySettings()

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

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

Returns
Type Description
Builder<SetSecurityPolicyTargetInstanceRequest,Operation>