Class ConformanceServiceGrpc.ConformanceServiceStub

  • Enclosing class:
    ConformanceServiceGrpc

    public static final class ConformanceServiceGrpc.ConformanceServiceStub
    extends io.grpc.stub.AbstractAsyncStub<ConformanceServiceGrpc.ConformanceServiceStub>
     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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected ConformanceServiceGrpc.ConformanceServiceStub build​(io.grpc.Channel channel, io.grpc.CallOptions callOptions)  
      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.
      void eval​(EvalRequest request, io.grpc.stub.StreamObserver<EvalResponse> responseObserver)
      Evaluates a parsed or annotation CEL representation given values of external bindings.
      void parse​(ParseRequest request, io.grpc.stub.StreamObserver<ParseResponse> responseObserver)
      Transforms CEL source text into a parsed representation.
      • Methods inherited from class io.grpc.stub.AbstractAsyncStub

        newStub, newStub
      • Methods inherited from class io.grpc.stub.AbstractStub

        getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.