Class ForwardingRulesStubSettings.Builder (1.53.0)

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

Builder for ForwardingRulesStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > ForwardingRulesStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ForwardingRulesStubSettings settings)

protected Builder(ForwardingRulesStubSettings settings)
Parameter
Name Description
settings ForwardingRulesStubSettings

Methods

aggregatedListSettings()

public PagedCallSettings.Builder<AggregatedListForwardingRulesRequest,ForwardingRuleAggregatedList,ForwardingRulesClient.AggregatedListPagedResponse> aggregatedListSettings()

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

Returns
Type Description
Builder<AggregatedListForwardingRulesRequest,ForwardingRuleAggregatedList,AggregatedListPagedResponse>

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

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

build()

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

deleteOperationSettings()

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

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

Returns
Type Description
Builder<DeleteForwardingRuleRequest,Operation,Operation>

deleteSettings()

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

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

Returns
Type Description
Builder<DeleteForwardingRuleRequest,Operation>

getSettings()

public UnaryCallSettings.Builder<GetForwardingRuleRequest,ForwardingRule> getSettings()

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

Returns
Type Description
Builder<GetForwardingRuleRequest,ForwardingRule>

insertOperationSettings()

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

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

Returns
Type Description
Builder<InsertForwardingRuleRequest,Operation,Operation>

insertSettings()

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

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

Returns
Type Description
Builder<InsertForwardingRuleRequest,Operation>

listSettings()

public PagedCallSettings.Builder<ListForwardingRulesRequest,ForwardingRuleList,ForwardingRulesClient.ListPagedResponse> listSettings()

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

Returns
Type Description
Builder<ListForwardingRulesRequest,ForwardingRuleList,ListPagedResponse>

patchOperationSettings()

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

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

Returns
Type Description
Builder<PatchForwardingRuleRequest,Operation,Operation>

patchSettings()

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

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

Returns
Type Description
Builder<PatchForwardingRuleRequest,Operation>

setLabelsOperationSettings()

public OperationCallSettings.Builder<SetLabelsForwardingRuleRequest,Operation,Operation> setLabelsOperationSettings()

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

Returns
Type Description
Builder<SetLabelsForwardingRuleRequest,Operation,Operation>

setLabelsSettings()

public UnaryCallSettings.Builder<SetLabelsForwardingRuleRequest,Operation> setLabelsSettings()

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

Returns
Type Description
Builder<SetLabelsForwardingRuleRequest,Operation>

setTargetOperationSettings()

public OperationCallSettings.Builder<SetTargetForwardingRuleRequest,Operation,Operation> setTargetOperationSettings()

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

Returns
Type Description
Builder<SetTargetForwardingRuleRequest,Operation,Operation>

setTargetSettings()

public UnaryCallSettings.Builder<SetTargetForwardingRuleRequest,Operation> setTargetSettings()

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

Returns
Type Description
Builder<SetTargetForwardingRuleRequest,Operation>

unaryMethodSettingsBuilders()

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