Class RuleSetServiceGrpc.RuleSetServiceBlockingStub (0.14.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
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
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
NameDescription
requestCreateRuleSetRequest
Returns
TypeDescription
RuleSet

deleteRuleSet(DeleteRuleSetRequest request)

public Empty deleteRuleSet(DeleteRuleSetRequest request)

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

Parameter
NameDescription
requestDeleteRuleSetRequest
Returns
TypeDescription
Empty

getRuleSet(GetRuleSetRequest request)

public RuleSet getRuleSet(GetRuleSetRequest request)

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

Parameter
NameDescription
requestGetRuleSetRequest
Returns
TypeDescription
RuleSet

listRuleSets(ListRuleSetsRequest request)

public ListRuleSetsResponse listRuleSets(ListRuleSetsRequest request)

Lists rulesets.

Parameter
NameDescription
requestListRuleSetsRequest
Returns
TypeDescription
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
NameDescription
requestUpdateRuleSetRequest
Returns
TypeDescription
RuleSet