Class RuleSetServiceGrpc.RuleSetServiceStub (0.30.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
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
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
NameDescription
requestCreateRuleSetRequest
responseObserverio.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
NameDescription
requestDeleteRuleSetRequest
responseObserverio.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
NameDescription
requestGetRuleSetRequest
responseObserverio.grpc.stub.StreamObserver<RuleSet>

listRuleSets(ListRuleSetsRequest request, StreamObserver<ListRuleSetsResponse> responseObserver)

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

Lists rulesets.

Parameters
NameDescription
requestListRuleSetsRequest
responseObserverio.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
NameDescription
requestUpdateRuleSetRequest
responseObserverio.grpc.stub.StreamObserver<RuleSet>