Class RuleSetServiceGrpc.RuleSetServiceStub (0.44.0)

public static final class RuleSetServiceGrpc.RuleSetServiceStub extends AbstractAsyncStub<RuleSetServiceGrpc.RuleSetServiceStub>

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

Service to manage customer specific RuleSets.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > RuleSetServiceGrpc.RuleSetServiceStub

Methods

build(Channel channel, CallOptions callOptions)

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

createRuleSet(CreateRuleSetRequest request, StreamObserver<RuleSet> responseObserver)

public void createRuleSet(CreateRuleSetRequest request, StreamObserver<RuleSet> responseObserver)

Creates a ruleset.

Parameters
Name Description
request CreateRuleSetRequest
responseObserver io.grpc.stub.StreamObserver<RuleSet>

deleteRuleSet(DeleteRuleSetRequest request, StreamObserver<Empty> responseObserver)

public void deleteRuleSet(DeleteRuleSetRequest request, StreamObserver<Empty> responseObserver)

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

Parameters
Name Description
request DeleteRuleSetRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

getRuleSet(GetRuleSetRequest request, StreamObserver<RuleSet> responseObserver)

public void getRuleSet(GetRuleSetRequest request, StreamObserver<RuleSet> responseObserver)

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

Parameters
Name Description
request GetRuleSetRequest
responseObserver io.grpc.stub.StreamObserver<RuleSet>

listRuleSets(ListRuleSetsRequest request, StreamObserver<ListRuleSetsResponse> responseObserver)

public void listRuleSets(ListRuleSetsRequest request, StreamObserver<ListRuleSetsResponse> responseObserver)

Lists rulesets.

Parameters
Name Description
request ListRuleSetsRequest
responseObserver io.grpc.stub.StreamObserver<ListRuleSetsResponse>

updateRuleSet(UpdateRuleSetRequest request, StreamObserver<RuleSet> responseObserver)

public void updateRuleSet(UpdateRuleSetRequest request, StreamObserver<RuleSet> responseObserver)

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

Parameters
Name Description
request UpdateRuleSetRequest
responseObserver io.grpc.stub.StreamObserver<RuleSet>