Class TargetGrpcProxiesStubSettings.Builder (1.58.0)

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

Builder for TargetGrpcProxiesStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > TargetGrpcProxiesStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(TargetGrpcProxiesStubSettings settings)

protected Builder(TargetGrpcProxiesStubSettings settings)
Parameter
Name Description
settings TargetGrpcProxiesStubSettings

Methods

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

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

build()

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

deleteOperationSettings()

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

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

Returns
Type Description
Builder<DeleteTargetGrpcProxyRequest,Operation,Operation>

deleteSettings()

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

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

Returns
Type Description
Builder<DeleteTargetGrpcProxyRequest,Operation>

getSettings()

public UnaryCallSettings.Builder<GetTargetGrpcProxyRequest,TargetGrpcProxy> getSettings()

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

Returns
Type Description
Builder<GetTargetGrpcProxyRequest,TargetGrpcProxy>

insertOperationSettings()

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

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

Returns
Type Description
Builder<InsertTargetGrpcProxyRequest,Operation,Operation>

insertSettings()

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

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

Returns
Type Description
Builder<InsertTargetGrpcProxyRequest,Operation>

listSettings()

public PagedCallSettings.Builder<ListTargetGrpcProxiesRequest,TargetGrpcProxyList,TargetGrpcProxiesClient.ListPagedResponse> listSettings()

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

Returns
Type Description
Builder<ListTargetGrpcProxiesRequest,TargetGrpcProxyList,ListPagedResponse>

patchOperationSettings()

public OperationCallSettings.Builder<PatchTargetGrpcProxyRequest,Operation,Operation> patchOperationSettings()

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

Returns
Type Description
Builder<PatchTargetGrpcProxyRequest,Operation,Operation>

patchSettings()

public UnaryCallSettings.Builder<PatchTargetGrpcProxyRequest,Operation> patchSettings()

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

Returns
Type Description
Builder<PatchTargetGrpcProxyRequest,Operation>

unaryMethodSettingsBuilders()

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