Class RuleSetServiceStubSettings.Builder (0.41.0)

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

Builder for RuleSetServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > RuleSetServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(RuleSetServiceStubSettings settings)

protected Builder(RuleSetServiceStubSettings settings)
Parameter
Name Description
settings RuleSetServiceStubSettings

Methods

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

public RuleSetServiceStubSettings.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
RuleSetServiceStubSettings.Builder

build()

public RuleSetServiceStubSettings build()
Returns
Type Description
RuleSetServiceStubSettings
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>

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>

unaryMethodSettingsBuilders()

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

updateRuleSetSettings()

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

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

Returns
Type Description
Builder<UpdateRuleSetRequest,RuleSet>