Class TargetGrpcProxiesSettings.Builder (1.9.1)

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

Returns
TypeDescription
Builder<DeleteTargetGrpcProxyRequest,Operation,Operation>

deleteSettings()

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

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

Returns
TypeDescription
Builder<DeleteTargetGrpcProxyRequest,Operation>

getSettings()

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

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

Returns
TypeDescription
Builder<GetTargetGrpcProxyRequest,TargetGrpcProxy>

getStubSettingsBuilder()

public TargetGrpcProxiesStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
TargetGrpcProxiesStubSettings.Builder

insertOperationSettings()

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

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

Returns
TypeDescription
Builder<InsertTargetGrpcProxyRequest,Operation,Operation>

insertSettings()

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

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

Returns
TypeDescription
Builder<InsertTargetGrpcProxyRequest,Operation>

listSettings()

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

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

Returns
TypeDescription
Builder<ListTargetGrpcProxiesRequest,TargetGrpcProxyList,ListPagedResponse>

patchOperationSettings()

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

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

Returns
TypeDescription
Builder<PatchTargetGrpcProxyRequest,Operation,Operation>

patchSettings()

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

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

Returns
TypeDescription
Builder<PatchTargetGrpcProxyRequest,Operation>