Class ForwardingRulesSettings.Builder (1.22.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
NameDescription
clientContextClientContext

Builder(ForwardingRulesSettings settings)

protected Builder(ForwardingRulesSettings settings)
Parameter
NameDescription
settingsForwardingRulesSettings

Builder(ForwardingRulesStubSettings.Builder stubSettings)

protected Builder(ForwardingRulesStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsForwardingRulesStubSettings.Builder

Methods

aggregatedListSettings()

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

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

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

build()

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

deleteOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteForwardingRuleRequest,Operation,Operation>

deleteSettings()

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

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

Returns
TypeDescription
Builder<DeleteForwardingRuleRequest,Operation>

getSettings()

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

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

Returns
TypeDescription
Builder<GetForwardingRuleRequest,ForwardingRule>

getStubSettingsBuilder()

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

insertOperationSettings()

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

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

Returns
TypeDescription
Builder<InsertForwardingRuleRequest,Operation,Operation>

insertSettings()

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

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

Returns
TypeDescription
Builder<InsertForwardingRuleRequest,Operation>

listSettings()

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

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

Returns
TypeDescription
Builder<ListForwardingRulesRequest,ForwardingRuleList,ListPagedResponse>

patchOperationSettings()

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

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

Returns
TypeDescription
Builder<PatchForwardingRuleRequest,Operation,Operation>

patchSettings()

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

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

Returns
TypeDescription
Builder<PatchForwardingRuleRequest,Operation>

setLabelsOperationSettings()

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

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

Returns
TypeDescription
Builder<SetLabelsForwardingRuleRequest,Operation,Operation>

setLabelsSettings()

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

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

Returns
TypeDescription
Builder<SetLabelsForwardingRuleRequest,Operation>

setTargetOperationSettings()

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

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

Returns
TypeDescription
Builder<SetTargetForwardingRuleRequest,Operation,Operation>

setTargetSettings()

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

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

Returns
TypeDescription
Builder<SetTargetForwardingRuleRequest,Operation>