Class RuleSetServiceGrpc.RuleSetServiceBlockingStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<RuleSetServiceGrpc.RuleSetServiceBlockingStub>
-
- com.google.cloud.contentwarehouse.v1.RuleSetServiceGrpc.RuleSetServiceBlockingStub
-
- Enclosing class:
- RuleSetServiceGrpc
public static final class RuleSetServiceGrpc.RuleSetServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub<RuleSetServiceGrpc.RuleSetServiceBlockingStub>
A stub to allow clients to do synchronous 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.RuleSetServiceBlockingStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
RuleSet
createRuleSet(CreateRuleSetRequest request)
Creates a ruleset.com.google.protobuf.Empty
deleteRuleSet(DeleteRuleSetRequest request)
Deletes a ruleset.RuleSet
getRuleSet(GetRuleSetRequest request)
Gets a ruleset.ListRuleSetsResponse
listRuleSets(ListRuleSetsRequest request)
Lists rulesets.RuleSet
updateRuleSet(UpdateRuleSetRequest request)
Updates a ruleset.
-
-
-
Method Detail
-
build
protected RuleSetServiceGrpc.RuleSetServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<RuleSetServiceGrpc.RuleSetServiceBlockingStub>
-
createRuleSet
public RuleSet createRuleSet(CreateRuleSetRequest request)
Creates a ruleset.
-
getRuleSet
public RuleSet getRuleSet(GetRuleSetRequest request)
Gets a ruleset. Returns NOT_FOUND if the ruleset does not exist.
-
updateRuleSet
public 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.protobuf.Empty deleteRuleSet(DeleteRuleSetRequest request)
Deletes a ruleset. Returns NOT_FOUND if the document does not exist.
-
listRuleSets
public ListRuleSetsResponse listRuleSets(ListRuleSetsRequest request)
Lists rulesets.
-
-