Class RuleSetServiceStubSettings.Builder (0.12.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
NameDescription
clientContextClientContext

Builder(RuleSetServiceStubSettings settings)

protected Builder(RuleSetServiceStubSettings settings)
Parameter
NameDescription
settingsRuleSetServiceStubSettings

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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
RuleSetServiceStubSettings.Builder

build()

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

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
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
TypeDescription
Builder<UpdateRuleSetRequest,RuleSet>