Class TargetGrpcProxiesSettings.Builder (1.37.0)

See more code actions.
public static class TargetGrpcProxiesSettings.Builder extends ClientSettings.Builder<TargetGrpcProxiesSettings,TargetGrpcProxiesSettings.Builder>

Builder for TargetGrpcProxiesSettings.

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

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(TargetGrpcProxiesSettings settings)

protected Builder(TargetGrpcProxiesSettings settings)
Parameter
NameDescription
settingsTargetGrpcProxiesSettings

Builder(TargetGrpcProxiesStubSettings.Builder stubSettings)

protected Builder(TargetGrpcProxiesStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsTargetGrpcProxiesStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
TargetGrpcProxiesSettings.Builder

build()

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

deleteOperationSettings()

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

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

deleteSettings()

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

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

getSettings()

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

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

getStubSettingsBuilder()

public TargetGrpcProxiesStubSettings.Builder getStubSettingsBuilder()

insertOperationSettings()

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

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

insertSettings()

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

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

listSettings()

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

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

patchOperationSettings()

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

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

patchSettings()

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

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