Class GlobalForwardingRulesStubSettings.Builder (1.50.0)

public static class GlobalForwardingRulesStubSettings.Builder extends StubSettings.Builder<GlobalForwardingRulesStubSettings,GlobalForwardingRulesStubSettings.Builder>

Builder for GlobalForwardingRulesStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > GlobalForwardingRulesStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(GlobalForwardingRulesStubSettings settings)

protected Builder(GlobalForwardingRulesStubSettings settings)
Parameter
NameDescription
settingsGlobalForwardingRulesStubSettings

Methods

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

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

build()

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

deleteOperationSettings()

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

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

deleteSettings()

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

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

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
TypeDescription
String
Overrides

getSettings()

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

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

insertOperationSettings()

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

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

insertSettings()

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

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

listSettings()

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

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

patchOperationSettings()

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

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

patchSettings()

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

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

setLabelsOperationSettings()

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

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

setLabelsSettings()

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

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

setTargetOperationSettings()

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

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

setTargetSettings()

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

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

unaryMethodSettingsBuilders()

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