Class TargetTcpProxiesStubSettings.Builder (1.23.0)

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

Builder for TargetTcpProxiesStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > TargetTcpProxiesStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(TargetTcpProxiesStubSettings settings)

protected Builder(TargetTcpProxiesStubSettings settings)
Parameter
NameDescription
settingsTargetTcpProxiesStubSettings

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

build()

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

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>

unaryMethodSettingsBuilders()

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