Class RuleSetServiceSettings.Builder (0.42.0)

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

Builder for RuleSetServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > RuleSetServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(RuleSetServiceSettings settings)

protected Builder(RuleSetServiceSettings settings)
Parameter
Name Description
settings RuleSetServiceSettings

Builder(RuleSetServiceStubSettings.Builder stubSettings)

protected Builder(RuleSetServiceStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings RuleSetServiceStubSettings.Builder

Methods

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

public RuleSetServiceSettings.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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
RuleSetServiceSettings.Builder

build()

public RuleSetServiceSettings build()
Returns
Type Description
RuleSetServiceSettings
Overrides
Exceptions
Type Description
IOException

createRuleSetSettings()

public UnaryCallSettings.Builder<CreateRuleSetRequest,RuleSet> createRuleSetSettings()

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

Returns
Type Description
Builder<CreateRuleSetRequest,RuleSet>

deleteRuleSetSettings()

public UnaryCallSettings.Builder<DeleteRuleSetRequest,Empty> deleteRuleSetSettings()

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

Returns
Type Description
Builder<DeleteRuleSetRequest,Empty>

getRuleSetSettings()

public UnaryCallSettings.Builder<GetRuleSetRequest,RuleSet> getRuleSetSettings()

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

Returns
Type Description
Builder<GetRuleSetRequest,RuleSet>

getStubSettingsBuilder()

public RuleSetServiceStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
RuleSetServiceStubSettings.Builder

listRuleSetsSettings()

public PagedCallSettings.Builder<ListRuleSetsRequest,ListRuleSetsResponse,RuleSetServiceClient.ListRuleSetsPagedResponse> listRuleSetsSettings()

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

Returns
Type Description
Builder<ListRuleSetsRequest,ListRuleSetsResponse,ListRuleSetsPagedResponse>

updateRuleSetSettings()

public UnaryCallSettings.Builder<UpdateRuleSetRequest,RuleSet> updateRuleSetSettings()

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

Returns
Type Description
Builder<UpdateRuleSetRequest,RuleSet>