Class TargetInstancesStubSettings.Builder (1.21.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
NameDescription
clientContextClientContext

Builder(TargetInstancesStubSettings settings)

protected Builder(TargetInstancesStubSettings settings)
Parameter
NameDescription
settingsTargetInstancesStubSettings

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

build()

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

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>

unaryMethodSettingsBuilders()

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