dev.cel.expr.ExprOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of runtime Show documentation
Show all versions of runtime Show documentation
Common Expression Language Runtime for Java
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: cel/expr/syntax.proto
package dev.cel.expr;
public interface ExprOrBuilder extends
// @@protoc_insertion_point(interface_extends:cel.expr.Expr)
com.google.protobuf.MessageOrBuilder {
/**
*
* 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;
* @return The id.
*/
long getId();
/**
*
* A constant expression.
*
*
* .cel.expr.Constant const_expr = 3;
* @return Whether the constExpr field is set.
*/
boolean hasConstExpr();
/**
*
* A constant expression.
*
*
* .cel.expr.Constant const_expr = 3;
* @return The constExpr.
*/
dev.cel.expr.Constant getConstExpr();
/**
*
* A constant expression.
*
*
* .cel.expr.Constant const_expr = 3;
*/
dev.cel.expr.ConstantOrBuilder getConstExprOrBuilder();
/**
*
* An identifier expression.
*
*
* .cel.expr.Expr.Ident ident_expr = 4;
* @return Whether the identExpr field is set.
*/
boolean hasIdentExpr();
/**
*
* An identifier expression.
*
*
* .cel.expr.Expr.Ident ident_expr = 4;
* @return The identExpr.
*/
dev.cel.expr.Expr.Ident getIdentExpr();
/**
*
* An identifier expression.
*
*
* .cel.expr.Expr.Ident ident_expr = 4;
*/
dev.cel.expr.Expr.IdentOrBuilder getIdentExprOrBuilder();
/**
*
* A field selection expression, e.g. `request.auth`.
*
*
* .cel.expr.Expr.Select select_expr = 5;
* @return Whether the selectExpr field is set.
*/
boolean hasSelectExpr();
/**
*
* A field selection expression, e.g. `request.auth`.
*
*
* .cel.expr.Expr.Select select_expr = 5;
* @return The selectExpr.
*/
dev.cel.expr.Expr.Select getSelectExpr();
/**
*
* A field selection expression, e.g. `request.auth`.
*
*
* .cel.expr.Expr.Select select_expr = 5;
*/
dev.cel.expr.Expr.SelectOrBuilder getSelectExprOrBuilder();
/**
*
* A call expression, including calls to predefined functions and operators.
*
*
* .cel.expr.Expr.Call call_expr = 6;
* @return Whether the callExpr field is set.
*/
boolean hasCallExpr();
/**
*
* A call expression, including calls to predefined functions and operators.
*
*
* .cel.expr.Expr.Call call_expr = 6;
* @return The callExpr.
*/
dev.cel.expr.Expr.Call getCallExpr();
/**
*
* A call expression, including calls to predefined functions and operators.
*
*
* .cel.expr.Expr.Call call_expr = 6;
*/
dev.cel.expr.Expr.CallOrBuilder getCallExprOrBuilder();
/**
*
* A list creation expression.
*
*
* .cel.expr.Expr.CreateList list_expr = 7;
* @return Whether the listExpr field is set.
*/
boolean hasListExpr();
/**
*
* A list creation expression.
*
*
* .cel.expr.Expr.CreateList list_expr = 7;
* @return The listExpr.
*/
dev.cel.expr.Expr.CreateList getListExpr();
/**
*
* A list creation expression.
*
*
* .cel.expr.Expr.CreateList list_expr = 7;
*/
dev.cel.expr.Expr.CreateListOrBuilder getListExprOrBuilder();
/**
*
* A map or message creation expression.
*
*
* .cel.expr.Expr.CreateStruct struct_expr = 8;
* @return Whether the structExpr field is set.
*/
boolean hasStructExpr();
/**
*
* A map or message creation expression.
*
*
* .cel.expr.Expr.CreateStruct struct_expr = 8;
* @return The structExpr.
*/
dev.cel.expr.Expr.CreateStruct getStructExpr();
/**
*
* A map or message creation expression.
*
*
* .cel.expr.Expr.CreateStruct struct_expr = 8;
*/
dev.cel.expr.Expr.CreateStructOrBuilder getStructExprOrBuilder();
/**
*
* A comprehension expression.
*
*
* .cel.expr.Expr.Comprehension comprehension_expr = 9;
* @return Whether the comprehensionExpr field is set.
*/
boolean hasComprehensionExpr();
/**
*
* A comprehension expression.
*
*
* .cel.expr.Expr.Comprehension comprehension_expr = 9;
* @return The comprehensionExpr.
*/
dev.cel.expr.Expr.Comprehension getComprehensionExpr();
/**
*
* A comprehension expression.
*
*
* .cel.expr.Expr.Comprehension comprehension_expr = 9;
*/
dev.cel.expr.Expr.ComprehensionOrBuilder getComprehensionExprOrBuilder();
public dev.cel.expr.Expr.ExprKindCase getExprKindCase();
}