Enum CelExprVisitor.ComprehensionArg

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<CelExprVisitor.ComprehensionArg>
    Enclosing class:
    CelExprVisitor

    public static enum CelExprVisitor.ComprehensionArg
    extends java.lang.Enum<CelExprVisitor.ComprehensionArg>
    ComprehensionArg specifies the arg ordinal values for comprehension arguments, where the ordinal of the enum maps to the ordinal of the argument in the comprehension expression.
    • Method Detail

      • values

        public static CelExprVisitor.ComprehensionArg[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (CelExprVisitor.ComprehensionArg c : CelExprVisitor.ComprehensionArg.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static CelExprVisitor.ComprehensionArg valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null