Class RuleSetServiceGrpc.RuleSetServiceBlockingStub (0.45.0)

public static final class RuleSetServiceGrpc.RuleSetServiceBlockingStub extends AbstractBlockingStub<RuleSetServiceGrpc.RuleSetServiceBlockingStub>

A stub to allow clients to do synchronous rpc calls to service RuleSetService.

Service to manage customer specific RuleSets.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > RuleSetServiceGrpc.RuleSetServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

protected RuleSetServiceGrpc.RuleSetServiceBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
RuleSetServiceGrpc.RuleSetServiceBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createRuleSet(CreateRuleSetRequest request)

public RuleSet createRuleSet(CreateRuleSetRequest request)

Creates a ruleset.

Parameter
Name Description
request CreateRuleSetRequest
Returns
Type Description
RuleSet

deleteRuleSet(DeleteRuleSetRequest request)

public Empty deleteRuleSet(DeleteRuleSetRequest request)

Deletes a ruleset. Returns NOT_FOUND if the document does not exist.

Parameter
Name Description
request DeleteRuleSetRequest
Returns
Type Description
Empty

getRuleSet(GetRuleSetRequest request)

public RuleSet getRuleSet(GetRuleSetRequest request)

Gets a ruleset. Returns NOT_FOUND if the ruleset does not exist.

Parameter
Name Description
request GetRuleSetRequest
Returns
Type Description
RuleSet

listRuleSets(ListRuleSetsRequest request)

public ListRuleSetsResponse listRuleSets(ListRuleSetsRequest request)

Lists rulesets.

Parameter
Name Description
request ListRuleSetsRequest
Returns
Type Description
ListRuleSetsResponse

updateRuleSet(UpdateRuleSetRequest request)

public RuleSet updateRuleSet(UpdateRuleSetRequest request)

Updates a ruleset. Returns INVALID_ARGUMENT if the name of the ruleset is non-empty and does not equal the existing name.

Parameter
Name Description
request UpdateRuleSetRequest
Returns
Type Description
RuleSet