Class TargetInstancesStubSettings.Builder (1.54.0)

public static class TargetInstancesStubSettings.Builder extends StubSettings.Builder<TargetInstancesStubSettings,TargetInstancesStubSettings.Builder>

Builder for TargetInstancesStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > TargetInstancesStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(TargetInstancesStubSettings settings)

protected Builder(TargetInstancesStubSettings settings)
Parameter
Name Description
settings TargetInstancesStubSettings

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 TargetInstancesStubSettings.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
TargetInstancesStubSettings.Builder

build()

public TargetInstancesStubSettings build()
Returns
Type Description
TargetInstancesStubSettings
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>

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>

unaryMethodSettingsBuilders()

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