Package com.google.api.expr.v1alpha1
Interface ExprOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Expr
,Expr.Builder
public interface ExprOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionA call expression, including calls to predefined functions and operators.A comprehension expression.A literal expression.long
getId()
Required.An identifier expression.A list creation expression.A field selection expression, e.g.A map or message creation expression.boolean
A call expression, including calls to predefined functions and operators.boolean
A comprehension expression.boolean
A literal expression.boolean
An identifier expression.boolean
A list creation expression.boolean
A field selection expression, e.g.boolean
A map or message creation expression.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getId
long 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.
int64 id = 2 [json_name = "id"];
- Returns:
- The id.
-
hasConstExpr
boolean hasConstExpr()A literal expression.
.google.api.expr.v1alpha1.Constant const_expr = 3 [json_name = "constExpr"];
- Returns:
- Whether the constExpr field is set.
-
getConstExpr
Constant getConstExpr()A literal expression.
.google.api.expr.v1alpha1.Constant const_expr = 3 [json_name = "constExpr"];
- Returns:
- The constExpr.
-
hasIdentExpr
boolean hasIdentExpr()An identifier expression.
.google.api.expr.v1alpha1.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.v1alpha1.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.v1alpha1.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.v1alpha1.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.v1alpha1.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.v1alpha1.Expr.Call call_expr = 6 [json_name = "callExpr"];
- Returns:
- The callExpr.
-
hasListExpr
boolean hasListExpr()A list creation expression.
.google.api.expr.v1alpha1.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.v1alpha1.Expr.CreateList list_expr = 7 [json_name = "listExpr"];
- Returns:
- The listExpr.
-
hasStructExpr
boolean hasStructExpr()A map or message creation expression.
.google.api.expr.v1alpha1.Expr.CreateStruct struct_expr = 8 [json_name = "structExpr"];
- Returns:
- Whether the structExpr field is set.
-
getStructExpr
Expr.CreateStruct getStructExpr()A map or message creation expression.
.google.api.expr.v1alpha1.Expr.CreateStruct struct_expr = 8 [json_name = "structExpr"];
- Returns:
- The structExpr.
-
hasComprehensionExpr
boolean hasComprehensionExpr()A comprehension expression.
.google.api.expr.v1alpha1.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.v1alpha1.Expr.Comprehension comprehension_expr = 9 [json_name = "comprehensionExpr"];
- Returns:
- The comprehensionExpr.
-
getExprKindCase
Expr.ExprKindCase getExprKindCase()
-