Class TargetTcpProxiesSettings.Builder (1.64.0)

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

Builder for TargetTcpProxiesSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > TargetTcpProxiesSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(TargetTcpProxiesSettings settings)

protected Builder(TargetTcpProxiesSettings settings)
Parameter
Name Description
settings TargetTcpProxiesSettings

Builder(TargetTcpProxiesStubSettings.Builder stubSettings)

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

Methods

aggregatedListSettings()

public PagedCallSettings.Builder<AggregatedListTargetTcpProxiesRequest,TargetTcpProxyAggregatedList,TargetTcpProxiesClient.AggregatedListPagedResponse> aggregatedListSettings()

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

Returns
Type Description
Builder<AggregatedListTargetTcpProxiesRequest,TargetTcpProxyAggregatedList,AggregatedListPagedResponse>

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

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

build()

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

deleteOperationSettings()

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

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

Returns
Type Description
Builder<DeleteTargetTcpProxyRequest,Operation,Operation>

deleteSettings()

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

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

Returns
Type Description
Builder<DeleteTargetTcpProxyRequest,Operation>

getSettings()

public UnaryCallSettings.Builder<GetTargetTcpProxyRequest,TargetTcpProxy> getSettings()

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

Returns
Type Description
Builder<GetTargetTcpProxyRequest,TargetTcpProxy>

getStubSettingsBuilder()

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

insertOperationSettings()

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

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

Returns
Type Description
Builder<InsertTargetTcpProxyRequest,Operation,Operation>

insertSettings()

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

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

Returns
Type Description
Builder<InsertTargetTcpProxyRequest,Operation>

listSettings()

public PagedCallSettings.Builder<ListTargetTcpProxiesRequest,TargetTcpProxyList,TargetTcpProxiesClient.ListPagedResponse> listSettings()

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

Returns
Type Description
Builder<ListTargetTcpProxiesRequest,TargetTcpProxyList,ListPagedResponse>

setBackendServiceOperationSettings()

public OperationCallSettings.Builder<SetBackendServiceTargetTcpProxyRequest,Operation,Operation> setBackendServiceOperationSettings()

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

Returns
Type Description
Builder<SetBackendServiceTargetTcpProxyRequest,Operation,Operation>

setBackendServiceSettings()

public UnaryCallSettings.Builder<SetBackendServiceTargetTcpProxyRequest,Operation> setBackendServiceSettings()

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

Returns
Type Description
Builder<SetBackendServiceTargetTcpProxyRequest,Operation>

setProxyHeaderOperationSettings()

public OperationCallSettings.Builder<SetProxyHeaderTargetTcpProxyRequest,Operation,Operation> setProxyHeaderOperationSettings()

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

Returns
Type Description
Builder<SetProxyHeaderTargetTcpProxyRequest,Operation,Operation>

setProxyHeaderSettings()

public UnaryCallSettings.Builder<SetProxyHeaderTargetTcpProxyRequest,Operation> setProxyHeaderSettings()

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

Returns
Type Description
Builder<SetProxyHeaderTargetTcpProxyRequest,Operation>