Class GlobalForwardingRulesSettings.Builder (1.12.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
NameDescription
stubSettingsGlobalForwardingRulesStubSettings.Builder

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
TypeDescription
GlobalForwardingRulesSettings.Builder

build()

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

deleteOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteGlobalForwardingRuleRequest,Operation,Operation>

deleteSettings()

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

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

Returns
TypeDescription
Builder<DeleteGlobalForwardingRuleRequest,Operation>

getSettings()

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

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

Returns
TypeDescription
Builder<GetGlobalForwardingRuleRequest,ForwardingRule>

getStubSettingsBuilder()

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

insertOperationSettings()

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

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

Returns
TypeDescription
Builder<InsertGlobalForwardingRuleRequest,Operation,Operation>

insertSettings()

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

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

Returns
TypeDescription
Builder<InsertGlobalForwardingRuleRequest,Operation>

listSettings()

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

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

Returns
TypeDescription
Builder<ListGlobalForwardingRulesRequest,ForwardingRuleList,ListPagedResponse>

patchOperationSettings()

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

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

Returns
TypeDescription
Builder<PatchGlobalForwardingRuleRequest,Operation,Operation>

patchSettings()

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

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

Returns
TypeDescription
Builder<PatchGlobalForwardingRuleRequest,Operation>

setLabelsOperationSettings()

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

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

Returns
TypeDescription
Builder<SetLabelsGlobalForwardingRuleRequest,Operation,Operation>

setLabelsSettings()

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

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

Returns
TypeDescription
Builder<SetLabelsGlobalForwardingRuleRequest,Operation>

setTargetOperationSettings()

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

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

Returns
TypeDescription
Builder<SetTargetGlobalForwardingRuleRequest,Operation,Operation>

setTargetSettings()

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

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

Returns
TypeDescription
Builder<SetTargetGlobalForwardingRuleRequest,Operation>