Class TargetInstancesSettings.Builder (1.23.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
NameDescription
clientContextClientContext

Builder(TargetInstancesSettings settings)

protected Builder(TargetInstancesSettings settings)
Parameter
NameDescription
settingsTargetInstancesSettings

Builder(TargetInstancesStubSettings.Builder stubSettings)

protected Builder(TargetInstancesStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsTargetInstancesStubSettings.Builder

Methods

aggregatedListSettings()

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

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

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

build()

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

deleteOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteTargetInstanceRequest,Operation,Operation>

deleteSettings()

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

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

Returns
TypeDescription
Builder<DeleteTargetInstanceRequest,Operation>

getSettings()

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

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

Returns
TypeDescription
Builder<GetTargetInstanceRequest,TargetInstance>

getStubSettingsBuilder()

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

insertOperationSettings()

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

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

Returns
TypeDescription
Builder<InsertTargetInstanceRequest,Operation,Operation>

insertSettings()

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

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

Returns
TypeDescription
Builder<InsertTargetInstanceRequest,Operation>

listSettings()

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

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

Returns
TypeDescription
Builder<ListTargetInstancesRequest,TargetInstanceList,ListPagedResponse>