Interface ConformanceServiceGrpc.AsyncService

All Known Implementing Classes:
ConformanceServiceGrpc.ConformanceServiceImplBase
Enclosing class:
ConformanceServiceGrpc

public static interface ConformanceServiceGrpc.AsyncService
 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.
 
  • Method Summary

    Modifier and Type
    Method
    Description
    default 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.
    default void
    eval(EvalRequest request, io.grpc.stub.StreamObserver<EvalResponse> responseObserver)
    Evaluates a parsed or annotation CEL representation given values of external bindings.
    default void
    parse(ParseRequest request, io.grpc.stub.StreamObserver<ParseResponse> responseObserver)
    Transforms CEL source text into a parsed representation.
  • Method Details

    • parse

      default void parse(ParseRequest request, io.grpc.stub.StreamObserver<ParseResponse> responseObserver)
       Transforms CEL source text into a parsed representation.
       
    • check

      default 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

      default void eval(EvalRequest request, io.grpc.stub.StreamObserver<EvalResponse> responseObserver)
       Evaluates a parsed or annotation CEL representation given
       values of external bindings.