Class ForwardingRulesStubSettings.Builder (1.7.2)

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
NameDescription
clientContextClientContext

Builder(ForwardingRulesStubSettings settings)

protected Builder(ForwardingRulesStubSettings settings)
Parameter
NameDescription
settingsForwardingRulesStubSettings

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

build()

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

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>

unaryMethodSettingsBuilders()

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