Class GlobalForwardingRulesSettings.Builder (1.9.1)

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

Builder for GlobalForwardingRulesSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > GlobalForwardingRulesSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(GlobalForwardingRulesSettings settings)

protected Builder(GlobalForwardingRulesSettings settings)
Parameter
NameDescription
settingsGlobalForwardingRulesSettings

Builder(GlobalForwardingRulesStubSettings.Builder stubSettings)

protected Builder(GlobalForwardingRulesStubSettings.Builder stubSettings)
Parameter

Methods

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

public GlobalForwardingRulesSettings.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

build()

public GlobalForwardingRulesSettings build()
Returns Overrides Exceptions
TypeDescription
IOException

deleteOperationSettings()

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

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

Returns

deleteSettings()

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

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

Returns

getSettings()

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

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

Returns

getStubSettingsBuilder()

public GlobalForwardingRulesStubSettings.Builder getStubSettingsBuilder()
Returns

insertOperationSettings()

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

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

Returns

insertSettings()

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

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

Returns

listSettings()

public PagedCallSettings.Builder<ListGlobalForwardingRulesRequest,ForwardingRuleList,GlobalForwardingRulesClient.ListPagedResponse> listSettings()

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

Returns

patchOperationSettings()

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

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

Returns

patchSettings()

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

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

Returns

setLabelsOperationSettings()

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

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

Returns

setLabelsSettings()

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

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

Returns

setTargetOperationSettings()

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

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

Returns

setTargetSettings()

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

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

Returns