Class RuleSetServiceGrpc.RuleSetServiceFutureStub (0.26.0)

public static final class RuleSetServiceGrpc.RuleSetServiceFutureStub extends AbstractFutureStub<RuleSetServiceGrpc.RuleSetServiceFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service RuleSetService.

Service to manage customer specific RuleSets.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > RuleSetServiceGrpc.RuleSetServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected RuleSetServiceGrpc.RuleSetServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
RuleSetServiceGrpc.RuleSetServiceFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createRuleSet(CreateRuleSetRequest request)

public ListenableFuture<RuleSet> createRuleSet(CreateRuleSetRequest request)

Creates a ruleset.

Parameter
NameDescription
requestCreateRuleSetRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<RuleSet>

deleteRuleSet(DeleteRuleSetRequest request)

public ListenableFuture<Empty> deleteRuleSet(DeleteRuleSetRequest request)

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

Parameter
NameDescription
requestDeleteRuleSetRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Empty>

getRuleSet(GetRuleSetRequest request)

public ListenableFuture<RuleSet> getRuleSet(GetRuleSetRequest request)

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

Parameter
NameDescription
requestGetRuleSetRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<RuleSet>

listRuleSets(ListRuleSetsRequest request)

public ListenableFuture<ListRuleSetsResponse> listRuleSets(ListRuleSetsRequest request)

Lists rulesets.

Parameter
NameDescription
requestListRuleSetsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListRuleSetsResponse>

updateRuleSet(UpdateRuleSetRequest request)

public ListenableFuture<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
com.google.common.util.concurrent.ListenableFuture<RuleSet>