Package dev.cel.expr.conformance
Class ConformanceServiceGrpc.ConformanceServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<ConformanceServiceGrpc.ConformanceServiceFutureStub>
dev.cel.expr.conformance.ConformanceServiceGrpc.ConformanceServiceFutureStub
- Enclosing class:
- ConformanceServiceGrpc
public static final class ConformanceServiceGrpc.ConformanceServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<ConformanceServiceGrpc.ConformanceServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service ConformanceService.
Access a CEL implementation from another process or machine. A CEL implementation is decomposed as a parser, a static checker, and an evaluator. Every CEL implementation is expected to provide a server for this API. The API will be used for conformance testing and other utilities.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<CheckResponse>check(CheckRequest request) Runs static checks on a parsed CEL representation and return an annotated representation, or a set of issues.com.google.common.util.concurrent.ListenableFuture<EvalResponse>eval(EvalRequest request) Evaluates a parsed or annotation CEL representation given values of external bindings.com.google.common.util.concurrent.ListenableFuture<ParseResponse>parse(ParseRequest request) Transforms CEL source text into a parsed representation.Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
-
Method Details
-
build
protected ConformanceServiceGrpc.ConformanceServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<ConformanceServiceGrpc.ConformanceServiceFutureStub>
-
parse
public com.google.common.util.concurrent.ListenableFuture<ParseResponse> parse(ParseRequest request) Transforms CEL source text into a parsed representation.
-
check
public com.google.common.util.concurrent.ListenableFuture<CheckResponse> check(CheckRequest request) Runs static checks on a parsed CEL representation and return an annotated representation, or a set of issues.
-
eval
Evaluates a parsed or annotation CEL representation given values of external bindings.
-