Class ForwardingRulesSettings.Builder (1.59.0)

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

Builder for ForwardingRulesSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > ForwardingRulesSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ForwardingRulesSettings settings)

protected Builder(ForwardingRulesSettings settings)
Parameter
Name Description
settings ForwardingRulesSettings

Builder(ForwardingRulesStubSettings.Builder stubSettings)

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

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

build()

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

getStubSettingsBuilder()

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

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>