Package dev.cel.expr

Interface Expr.SelectOrBuilder

    • Method Detail

      • hasOperand

        boolean hasOperand()
         Required. The target of the selection expression.
         For example, in the select expression `request.auth`, the `request`
         portion of the expression is the `operand`.
         
        .cel.expr.Expr operand = 1;
        Returns:
        Whether the operand field is set.
      • getOperand

        Expr getOperand()
         Required. The target of the selection expression.
         For example, in the select expression `request.auth`, the `request`
         portion of the expression is the `operand`.
         
        .cel.expr.Expr operand = 1;
        Returns:
        The operand.
      • getOperandOrBuilder

        ExprOrBuilder getOperandOrBuilder()
         Required. The target of the selection expression.
         For example, in the select expression `request.auth`, the `request`
         portion of the expression is the `operand`.
         
        .cel.expr.Expr operand = 1;
      • getField

        java.lang.String getField()
         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`.
         
        string field = 2;
        Returns:
        The field.
      • getFieldBytes

        ByteString getFieldBytes()
         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`.
         
        string field = 2;
        Returns:
        The bytes for field.
      • getTestOnly

        boolean getTestOnly()
         Whether the select is to be interpreted as a field presence test.
         This results from the macro `has(request.auth)`.
         
        bool test_only = 3;
        Returns:
        The testOnly.