Package com.google.api.expr.v1alpha1
Class ConformanceServiceGrpc.ConformanceServiceImplBase
- java.lang.Object
-
- com.google.api.expr.v1alpha1.ConformanceServiceGrpc.ConformanceServiceImplBase
-
- All Implemented Interfaces:
io.grpc.BindableService
- Enclosing class:
- ConformanceServiceGrpc
public abstract static class ConformanceServiceGrpc.ConformanceServiceImplBase extends java.lang.Object implements io.grpc.BindableServiceAccess 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.
-
-
Constructor Summary
Constructors Constructor Description ConformanceServiceImplBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.grpc.ServerServiceDefinitionbindService()voidcheck(CheckRequest request, io.grpc.stub.StreamObserver<CheckResponse> responseObserver)Runs static checks on a parsed CEL representation and return an annotated representation, or a set of issues.voideval(EvalRequest request, io.grpc.stub.StreamObserver<EvalResponse> responseObserver)Evaluates a parsed or annotation CEL representation given values of external bindings.voidparse(ParseRequest request, io.grpc.stub.StreamObserver<ParseResponse> responseObserver)Transforms CEL source text into a parsed representation.
-
-
-
Method Detail
-
parse
public void parse(ParseRequest request, io.grpc.stub.StreamObserver<ParseResponse> responseObserver)
Transforms CEL source text into a parsed representation.
-
check
public void check(CheckRequest request, io.grpc.stub.StreamObserver<CheckResponse> responseObserver)
Runs static checks on a parsed CEL representation and return an annotated representation, or a set of issues.
-
eval
public void eval(EvalRequest request, io.grpc.stub.StreamObserver<EvalResponse> responseObserver)
Evaluates a parsed or annotation CEL representation given values of external bindings.
-
bindService
public final io.grpc.ServerServiceDefinition bindService()
- Specified by:
bindServicein interfaceio.grpc.BindableService
-
-