Class TargetGrpcProxiesSettings.Builder (1.55.0)

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

Builder for TargetGrpcProxiesSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > TargetGrpcProxiesSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(TargetGrpcProxiesSettings settings)

protected Builder(TargetGrpcProxiesSettings settings)
Parameter
Name Description
settings TargetGrpcProxiesSettings

Builder(TargetGrpcProxiesStubSettings.Builder stubSettings)

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

Methods

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

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

build()

public TargetGrpcProxiesSettings build()
Returns
Type Description
TargetGrpcProxiesSettings
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>

getStubSettingsBuilder()

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

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>