Class RuleSetServiceGrpc.RuleSetServiceImplBase (0.9.0)

public abstract static class RuleSetServiceGrpc.RuleSetServiceImplBase implements BindableService

Service to manage customer specific RuleSets.

Inheritance

java.lang.Object > RuleSetServiceGrpc.RuleSetServiceImplBase

Implements

io.grpc.BindableService

Constructors

RuleSetServiceImplBase()

public RuleSetServiceImplBase()

Methods

bindService()

public final ServerServiceDefinition bindService()
Returns
TypeDescription
io.grpc.ServerServiceDefinition

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>