Class RegionTargetTcpProxiesStubSettings.Builder (1.24.0)

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

Builder for RegionTargetTcpProxiesStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > RegionTargetTcpProxiesStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(RegionTargetTcpProxiesStubSettings settings)

protected Builder(RegionTargetTcpProxiesStubSettings settings)
Parameter
NameDescription
settingsRegionTargetTcpProxiesStubSettings

Methods

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

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

build()

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

deleteOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteRegionTargetTcpProxyRequest,Operation,Operation>

deleteSettings()

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

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

Returns
TypeDescription
Builder<DeleteRegionTargetTcpProxyRequest,Operation>

getSettings()

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

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

Returns
TypeDescription
Builder<GetRegionTargetTcpProxyRequest,TargetTcpProxy>

insertOperationSettings()

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

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

Returns
TypeDescription
Builder<InsertRegionTargetTcpProxyRequest,Operation,Operation>

insertSettings()

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

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

Returns
TypeDescription
Builder<InsertRegionTargetTcpProxyRequest,Operation>

listSettings()

public PagedCallSettings.Builder<ListRegionTargetTcpProxiesRequest,TargetTcpProxyList,RegionTargetTcpProxiesClient.ListPagedResponse> listSettings()

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

Returns
TypeDescription
Builder<ListRegionTargetTcpProxiesRequest,TargetTcpProxyList,ListPagedResponse>

unaryMethodSettingsBuilders()

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