Class TargetGrpcProxiesStubSettings.Builder (1.27.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
NameDescription
clientContextClientContext

Builder(TargetGrpcProxiesStubSettings settings)

protected Builder(TargetGrpcProxiesStubSettings settings)
Parameter
NameDescription
settingsTargetGrpcProxiesStubSettings

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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
TargetGrpcProxiesStubSettings.Builder

build()

public TargetGrpcProxiesStubSettings build()
Returns
TypeDescription
TargetGrpcProxiesStubSettings
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>

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>

unaryMethodSettingsBuilders()

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