Class CelExpr.CelSelect

  • Enclosing class:
    CelExpr

    @Immutable
    public abstract static class CelExpr.CelSelect
    extends java.lang.Object
    A field selection expression. e.g. `request.auth`.
    • Constructor Detail

      • CelSelect

        public CelSelect()
    • Method Detail

      • operand

        public abstract CelExpr operand()
        Required. The target of the selection expression.

        For example, in the select expression `request.auth`, the `request` portion of the expression is the `operand`.

      • field

        public abstract java.lang.String field()
        Required. The name of the field to select.

        For example, in the select expression `request.auth`, the `auth` portion of the expression would be the `field`.

      • testOnly

        public abstract boolean testOnly()
        Whether the select is to be interpreted as a field presence test.

        This results from the macro `has(request.auth)`.