Class RuleSetServiceGrpc.RuleSetServiceFutureStub (0.42.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
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request CreateRuleSetRequest
Returns
Type Description
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
Name Description
request DeleteRuleSetRequest
Returns
Type Description
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
Name Description
request GetRuleSetRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<RuleSet>

listRuleSets(ListRuleSetsRequest request)

public ListenableFuture<ListRuleSetsResponse> listRuleSets(ListRuleSetsRequest request)

Lists rulesets.

Parameter
Name Description
request ListRuleSetsRequest
Returns
Type Description
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
Name Description
request UpdateRuleSetRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<RuleSet>