Class TargetTcpProxiesSettings.Builder (1.39.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
NameDescription
clientContextClientContext

Builder(TargetTcpProxiesSettings settings)

protected Builder(TargetTcpProxiesSettings settings)
Parameter
NameDescription
settingsTargetTcpProxiesSettings

Builder(TargetTcpProxiesStubSettings.Builder stubSettings)

protected Builder(TargetTcpProxiesStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsTargetTcpProxiesStubSettings.Builder

Methods

aggregatedListSettings()

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

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

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

build()

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

deleteOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteTargetTcpProxyRequest,Operation,Operation>

deleteSettings()

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

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

Returns
TypeDescription
Builder<DeleteTargetTcpProxyRequest,Operation>

getSettings()

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

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

Returns
TypeDescription
Builder<GetTargetTcpProxyRequest,TargetTcpProxy>

getStubSettingsBuilder()

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

insertOperationSettings()

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

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

Returns
TypeDescription
Builder<InsertTargetTcpProxyRequest,Operation,Operation>

insertSettings()

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

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

Returns
TypeDescription
Builder<InsertTargetTcpProxyRequest,Operation>

listSettings()

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

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

Returns
TypeDescription
Builder<ListTargetTcpProxiesRequest,TargetTcpProxyList,ListPagedResponse>

setBackendServiceOperationSettings()

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

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

Returns
TypeDescription
Builder<SetBackendServiceTargetTcpProxyRequest,Operation,Operation>

setBackendServiceSettings()

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

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

Returns
TypeDescription
Builder<SetBackendServiceTargetTcpProxyRequest,Operation>

setProxyHeaderOperationSettings()

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

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

Returns
TypeDescription
Builder<SetProxyHeaderTargetTcpProxyRequest,Operation,Operation>

setProxyHeaderSettings()

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

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

Returns
TypeDescription
Builder<SetProxyHeaderTargetTcpProxyRequest,Operation>