Class RuleSetServiceGrpc.RuleSetServiceFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<RuleSetServiceGrpc.RuleSetServiceFutureStub>
-
- com.google.cloud.contentwarehouse.v1.RuleSetServiceGrpc.RuleSetServiceFutureStub
-
- Enclosing class:
- RuleSetServiceGrpc
public static final class RuleSetServiceGrpc.RuleSetServiceFutureStub extends io.grpc.stub.AbstractFutureStub<RuleSetServiceGrpc.RuleSetServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service RuleSetService.Service to manage customer specific RuleSets.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected RuleSetServiceGrpc.RuleSetServiceFutureStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
com.google.common.util.concurrent.ListenableFuture<RuleSet>
createRuleSet(CreateRuleSetRequest request)
Creates a ruleset.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
deleteRuleSet(DeleteRuleSetRequest request)
Deletes a ruleset.com.google.common.util.concurrent.ListenableFuture<RuleSet>
getRuleSet(GetRuleSetRequest request)
Gets a ruleset.com.google.common.util.concurrent.ListenableFuture<ListRuleSetsResponse>
listRuleSets(ListRuleSetsRequest request)
Lists rulesets.com.google.common.util.concurrent.ListenableFuture<RuleSet>
updateRuleSet(UpdateRuleSetRequest request)
Updates a ruleset.
-
-
-
Method Detail
-
build
protected RuleSetServiceGrpc.RuleSetServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<RuleSetServiceGrpc.RuleSetServiceFutureStub>
-
createRuleSet
public com.google.common.util.concurrent.ListenableFuture<RuleSet> createRuleSet(CreateRuleSetRequest request)
Creates a ruleset.
-
getRuleSet
public com.google.common.util.concurrent.ListenableFuture<RuleSet> getRuleSet(GetRuleSetRequest request)
Gets a ruleset. Returns NOT_FOUND if the ruleset does not exist.
-
updateRuleSet
public com.google.common.util.concurrent.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.
-
deleteRuleSet
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteRuleSet(DeleteRuleSetRequest request)
Deletes a ruleset. Returns NOT_FOUND if the document does not exist.
-
listRuleSets
public com.google.common.util.concurrent.ListenableFuture<ListRuleSetsResponse> listRuleSets(ListRuleSetsRequest request)
Lists rulesets.
-
-