Interface ExprOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
All Known Implementing Classes:
Expr, Expr.Builder

public interface ExprOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
  • Method Details

    • getId

      int getId()
       Required. An id assigned to this node by the parser which is unique in a
       given expression tree. This is used to associate type information and other
       attributes to a node in the parse tree.
       
      int32 id = 2 [json_name = "id"];
      Returns:
      The id.
    • hasLiteralExpr

      boolean hasLiteralExpr()
       A literal expression.
       
      .google.api.expr.v1beta1.Literal literal_expr = 3 [json_name = "literalExpr"];
      Returns:
      Whether the literalExpr field is set.
    • getLiteralExpr

      Literal getLiteralExpr()
       A literal expression.
       
      .google.api.expr.v1beta1.Literal literal_expr = 3 [json_name = "literalExpr"];
      Returns:
      The literalExpr.
    • hasIdentExpr

      boolean hasIdentExpr()
       An identifier expression.
       
      .google.api.expr.v1beta1.Expr.Ident ident_expr = 4 [json_name = "identExpr"];
      Returns:
      Whether the identExpr field is set.
    • getIdentExpr

      Expr.Ident getIdentExpr()
       An identifier expression.
       
      .google.api.expr.v1beta1.Expr.Ident ident_expr = 4 [json_name = "identExpr"];
      Returns:
      The identExpr.
    • hasSelectExpr

      boolean hasSelectExpr()
       A field selection expression, e.g. `request.auth`.
       
      .google.api.expr.v1beta1.Expr.Select select_expr = 5 [json_name = "selectExpr"];
      Returns:
      Whether the selectExpr field is set.
    • getSelectExpr

      Expr.Select getSelectExpr()
       A field selection expression, e.g. `request.auth`.
       
      .google.api.expr.v1beta1.Expr.Select select_expr = 5 [json_name = "selectExpr"];
      Returns:
      The selectExpr.
    • hasCallExpr

      boolean hasCallExpr()
       A call expression, including calls to predefined functions and operators.
       
      .google.api.expr.v1beta1.Expr.Call call_expr = 6 [json_name = "callExpr"];
      Returns:
      Whether the callExpr field is set.
    • getCallExpr

      Expr.Call getCallExpr()
       A call expression, including calls to predefined functions and operators.
       
      .google.api.expr.v1beta1.Expr.Call call_expr = 6 [json_name = "callExpr"];
      Returns:
      The callExpr.
    • hasListExpr

      boolean hasListExpr()
       A list creation expression.
       
      .google.api.expr.v1beta1.Expr.CreateList list_expr = 7 [json_name = "listExpr"];
      Returns:
      Whether the listExpr field is set.
    • getListExpr

      Expr.CreateList getListExpr()
       A list creation expression.
       
      .google.api.expr.v1beta1.Expr.CreateList list_expr = 7 [json_name = "listExpr"];
      Returns:
      The listExpr.
    • hasStructExpr

      boolean hasStructExpr()
       A map or object creation expression.
       
      .google.api.expr.v1beta1.Expr.CreateStruct struct_expr = 8 [json_name = "structExpr"];
      Returns:
      Whether the structExpr field is set.
    • getStructExpr

      Expr.CreateStruct getStructExpr()
       A map or object creation expression.
       
      .google.api.expr.v1beta1.Expr.CreateStruct struct_expr = 8 [json_name = "structExpr"];
      Returns:
      The structExpr.
    • hasComprehensionExpr

      boolean hasComprehensionExpr()
       A comprehension expression.
       
      .google.api.expr.v1beta1.Expr.Comprehension comprehension_expr = 9 [json_name = "comprehensionExpr"];
      Returns:
      Whether the comprehensionExpr field is set.
    • getComprehensionExpr

      Expr.Comprehension getComprehensionExpr()
       A comprehension expression.
       
      .google.api.expr.v1beta1.Expr.Comprehension comprehension_expr = 9 [json_name = "comprehensionExpr"];
      Returns:
      The comprehensionExpr.
    • getExprKindCase

      Expr.ExprKindCase getExprKindCase()