Class CelVarDecl


  • public abstract class CelVarDecl
    extends java.lang.Object
    Abstract representation of a CEL variable declaration.
    • Constructor Detail

      • CelVarDecl

        public CelVarDecl()
    • Method Detail

      • name

        public abstract java.lang.String name()
        Fully qualified variable name.
      • type

        public abstract CelType type()
        The type of the variable.
      • newVarDeclaration

        @CheckReturnValue
        public static CelVarDecl newVarDeclaration​(java.lang.String name,
                                                   CelType type)
        Create a new CelVarDecl with a given name and type.
      • celVarToDecl

        public static Decl celVarToDecl​(CelVarDecl varDecl)
        Converts a CelVarDecl to a protobuf equivalent form Decl