Package com.google.api.expr.v1alpha1
Interface ExprOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Expr
,Expr.Builder
public interface ExprOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionA call expression, including calls to predefined functions and operators.A call expression, including calls to predefined functions and operators.A comprehension expression.A comprehension expression.A literal expression.A literal expression.long
getId()
Required.An identifier expression.An identifier expression.A list creation expression.A list creation expression.A field selection expression, e.g.A field selection expression, e.g.A map or message creation expression.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
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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;
- Returns:
- The id.
-
hasConstExpr
boolean hasConstExpr()A literal expression.
.google.api.expr.v1alpha1.Constant const_expr = 3;
- Returns:
- Whether the constExpr field is set.
-
getConstExpr
Constant getConstExpr()A literal expression.
.google.api.expr.v1alpha1.Constant const_expr = 3;
- Returns:
- The constExpr.
-
getConstExprOrBuilder
ConstantOrBuilder getConstExprOrBuilder()A literal expression.
.google.api.expr.v1alpha1.Constant const_expr = 3;
-
hasIdentExpr
boolean hasIdentExpr()An identifier expression.
.google.api.expr.v1alpha1.Expr.Ident ident_expr = 4;
- Returns:
- Whether the identExpr field is set.
-
getIdentExpr
Expr.Ident getIdentExpr()An identifier expression.
.google.api.expr.v1alpha1.Expr.Ident ident_expr = 4;
- Returns:
- The identExpr.
-
getIdentExprOrBuilder
Expr.IdentOrBuilder getIdentExprOrBuilder()An identifier expression.
.google.api.expr.v1alpha1.Expr.Ident ident_expr = 4;
-
hasSelectExpr
boolean hasSelectExpr()A field selection expression, e.g. `request.auth`.
.google.api.expr.v1alpha1.Expr.Select select_expr = 5;
- 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;
- Returns:
- The selectExpr.
-
getSelectExprOrBuilder
Expr.SelectOrBuilder getSelectExprOrBuilder()A field selection expression, e.g. `request.auth`.
.google.api.expr.v1alpha1.Expr.Select select_expr = 5;
-
hasCallExpr
boolean hasCallExpr()A call expression, including calls to predefined functions and operators.
.google.api.expr.v1alpha1.Expr.Call call_expr = 6;
- 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;
- Returns:
- The callExpr.
-
getCallExprOrBuilder
Expr.CallOrBuilder getCallExprOrBuilder()A call expression, including calls to predefined functions and operators.
.google.api.expr.v1alpha1.Expr.Call call_expr = 6;
-
hasListExpr
boolean hasListExpr()A list creation expression.
.google.api.expr.v1alpha1.Expr.CreateList list_expr = 7;
- Returns:
- Whether the listExpr field is set.
-
getListExpr
Expr.CreateList getListExpr()A list creation expression.
.google.api.expr.v1alpha1.Expr.CreateList list_expr = 7;
- Returns:
- The listExpr.
-
getListExprOrBuilder
Expr.CreateListOrBuilder getListExprOrBuilder()A list creation expression.
.google.api.expr.v1alpha1.Expr.CreateList list_expr = 7;
-
hasStructExpr
boolean hasStructExpr()A map or message creation expression.
.google.api.expr.v1alpha1.Expr.CreateStruct struct_expr = 8;
- 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;
- Returns:
- The structExpr.
-
getStructExprOrBuilder
Expr.CreateStructOrBuilder getStructExprOrBuilder()A map or message creation expression.
.google.api.expr.v1alpha1.Expr.CreateStruct struct_expr = 8;
-
hasComprehensionExpr
boolean hasComprehensionExpr()A comprehension expression.
.google.api.expr.v1alpha1.Expr.Comprehension comprehension_expr = 9;
- Returns:
- Whether the comprehensionExpr field is set.
-
getComprehensionExpr
Expr.Comprehension getComprehensionExpr()A comprehension expression.
.google.api.expr.v1alpha1.Expr.Comprehension comprehension_expr = 9;
- Returns:
- The comprehensionExpr.
-
getComprehensionExprOrBuilder
Expr.ComprehensionOrBuilder getComprehensionExprOrBuilder()A comprehension expression.
.google.api.expr.v1alpha1.Expr.Comprehension comprehension_expr = 9;
-
getExprKindCase
Expr.ExprKindCase getExprKindCase()
-