Class RuleSetServiceSettings.Builder (0.14.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
NameDescription
clientContextClientContext

Builder(RuleSetServiceSettings settings)

protected Builder(RuleSetServiceSettings settings)
Parameter
NameDescription
settingsRuleSetServiceSettings

Builder(RuleSetServiceStubSettings.Builder stubSettings)

protected Builder(RuleSetServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsRuleSetServiceStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
RuleSetServiceSettings.Builder

build()

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

createRuleSetSettings()

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

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

Returns
TypeDescription
Builder<CreateRuleSetRequest,RuleSet>

deleteRuleSetSettings()

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

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

Returns
TypeDescription
Builder<DeleteRuleSetRequest,Empty>

getRuleSetSettings()

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

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

Returns
TypeDescription
Builder<GetRuleSetRequest,RuleSet>

getStubSettingsBuilder()

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

listRuleSetsSettings()

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

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

Returns
TypeDescription
Builder<ListRuleSetsRequest,ListRuleSetsResponse,ListRuleSetsPagedResponse>

updateRuleSetSettings()

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

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

Returns
TypeDescription
Builder<UpdateRuleSetRequest,RuleSet>