dev.cel.expr.CheckedExprOrBuilder 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
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: cel/expr/checked.proto
// Protobuf Java Version: 4.28.2
package dev.cel.expr;
public interface CheckedExprOrBuilder extends
// @@protoc_insertion_point(interface_extends:cel.expr.CheckedExpr)
com.google.protobuf.MessageOrBuilder {
/**
*
* A map from expression ids to resolved references.
*
* The following entries are in this table:
*
* - An Ident or Select expression is represented here if it resolves to a
* declaration. For instance, if `a.b.c` is represented by
* `select(select(id(a), b), c)`, and `a.b` resolves to a declaration,
* while `c` is a field selection, then the reference is attached to the
* nested select expression (but not to the id or or the outer select).
* In turn, if `a` resolves to a declaration and `b.c` are field selections,
* the reference is attached to the ident expression.
* - Every Call expression has an entry here, identifying the function being
* called.
* - Every CreateStruct expression for a message has an entry, identifying
* the message.
*
*
* map<int64, .cel.expr.Reference> reference_map = 2;
*/
int getReferenceMapCount();
/**
*
* A map from expression ids to resolved references.
*
* The following entries are in this table:
*
* - An Ident or Select expression is represented here if it resolves to a
* declaration. For instance, if `a.b.c` is represented by
* `select(select(id(a), b), c)`, and `a.b` resolves to a declaration,
* while `c` is a field selection, then the reference is attached to the
* nested select expression (but not to the id or or the outer select).
* In turn, if `a` resolves to a declaration and `b.c` are field selections,
* the reference is attached to the ident expression.
* - Every Call expression has an entry here, identifying the function being
* called.
* - Every CreateStruct expression for a message has an entry, identifying
* the message.
*
*
* map<int64, .cel.expr.Reference> reference_map = 2;
*/
boolean containsReferenceMap(
long key);
/**
* Use {@link #getReferenceMapMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getReferenceMap();
/**
*
* A map from expression ids to resolved references.
*
* The following entries are in this table:
*
* - An Ident or Select expression is represented here if it resolves to a
* declaration. For instance, if `a.b.c` is represented by
* `select(select(id(a), b), c)`, and `a.b` resolves to a declaration,
* while `c` is a field selection, then the reference is attached to the
* nested select expression (but not to the id or or the outer select).
* In turn, if `a` resolves to a declaration and `b.c` are field selections,
* the reference is attached to the ident expression.
* - Every Call expression has an entry here, identifying the function being
* called.
* - Every CreateStruct expression for a message has an entry, identifying
* the message.
*
*
* map<int64, .cel.expr.Reference> reference_map = 2;
*/
java.util.Map
getReferenceMapMap();
/**
*
* A map from expression ids to resolved references.
*
* The following entries are in this table:
*
* - An Ident or Select expression is represented here if it resolves to a
* declaration. For instance, if `a.b.c` is represented by
* `select(select(id(a), b), c)`, and `a.b` resolves to a declaration,
* while `c` is a field selection, then the reference is attached to the
* nested select expression (but not to the id or or the outer select).
* In turn, if `a` resolves to a declaration and `b.c` are field selections,
* the reference is attached to the ident expression.
* - Every Call expression has an entry here, identifying the function being
* called.
* - Every CreateStruct expression for a message has an entry, identifying
* the message.
*
*
* map<int64, .cel.expr.Reference> reference_map = 2;
*/
/* nullable */
dev.cel.expr.Reference getReferenceMapOrDefault(
long key,
/* nullable */
dev.cel.expr.Reference defaultValue);
/**
*
* A map from expression ids to resolved references.
*
* The following entries are in this table:
*
* - An Ident or Select expression is represented here if it resolves to a
* declaration. For instance, if `a.b.c` is represented by
* `select(select(id(a), b), c)`, and `a.b` resolves to a declaration,
* while `c` is a field selection, then the reference is attached to the
* nested select expression (but not to the id or or the outer select).
* In turn, if `a` resolves to a declaration and `b.c` are field selections,
* the reference is attached to the ident expression.
* - Every Call expression has an entry here, identifying the function being
* called.
* - Every CreateStruct expression for a message has an entry, identifying
* the message.
*
*
* map<int64, .cel.expr.Reference> reference_map = 2;
*/
dev.cel.expr.Reference getReferenceMapOrThrow(
long key);
/**
*
* A map from expression ids to types.
*
* Every expression node which has a type different than DYN has a mapping
* here. If an expression has type DYN, it is omitted from this map to save
* space.
*
*
* map<int64, .cel.expr.Type> type_map = 3;
*/
int getTypeMapCount();
/**
*
* A map from expression ids to types.
*
* Every expression node which has a type different than DYN has a mapping
* here. If an expression has type DYN, it is omitted from this map to save
* space.
*
*
* map<int64, .cel.expr.Type> type_map = 3;
*/
boolean containsTypeMap(
long key);
/**
* Use {@link #getTypeMapMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getTypeMap();
/**
*
* A map from expression ids to types.
*
* Every expression node which has a type different than DYN has a mapping
* here. If an expression has type DYN, it is omitted from this map to save
* space.
*
*
* map<int64, .cel.expr.Type> type_map = 3;
*/
java.util.Map
getTypeMapMap();
/**
*
* A map from expression ids to types.
*
* Every expression node which has a type different than DYN has a mapping
* here. If an expression has type DYN, it is omitted from this map to save
* space.
*
*
* map<int64, .cel.expr.Type> type_map = 3;
*/
/* nullable */
dev.cel.expr.Type getTypeMapOrDefault(
long key,
/* nullable */
dev.cel.expr.Type defaultValue);
/**
*
* A map from expression ids to types.
*
* Every expression node which has a type different than DYN has a mapping
* here. If an expression has type DYN, it is omitted from this map to save
* space.
*
*
* map<int64, .cel.expr.Type> type_map = 3;
*/
dev.cel.expr.Type getTypeMapOrThrow(
long key);
/**
*
* The source info derived from input that generated the parsed `expr` and
* any optimizations made during the type-checking pass.
*
*
* .cel.expr.SourceInfo source_info = 5;
* @return Whether the sourceInfo field is set.
*/
boolean hasSourceInfo();
/**
*
* The source info derived from input that generated the parsed `expr` and
* any optimizations made during the type-checking pass.
*
*
* .cel.expr.SourceInfo source_info = 5;
* @return The sourceInfo.
*/
dev.cel.expr.SourceInfo getSourceInfo();
/**
*
* The source info derived from input that generated the parsed `expr` and
* any optimizations made during the type-checking pass.
*
*
* .cel.expr.SourceInfo source_info = 5;
*/
dev.cel.expr.SourceInfoOrBuilder getSourceInfoOrBuilder();
/**
*
* The expr version indicates the major / minor version number of the `expr`
* representation.
*
* The most common reason for a version change will be to indicate to the CEL
* runtimes that transformations have been performed on the expr during static
* analysis. In some cases, this will save the runtime the work of applying
* the same or similar transformations prior to evaluation.
*
*
* string expr_version = 6;
* @return The exprVersion.
*/
java.lang.String getExprVersion();
/**
*
* The expr version indicates the major / minor version number of the `expr`
* representation.
*
* The most common reason for a version change will be to indicate to the CEL
* runtimes that transformations have been performed on the expr during static
* analysis. In some cases, this will save the runtime the work of applying
* the same or similar transformations prior to evaluation.
*
*
* string expr_version = 6;
* @return The bytes for exprVersion.
*/
com.google.protobuf.ByteString
getExprVersionBytes();
/**
*
* The checked expression. Semantically equivalent to the parsed `expr`, but
* may have structural differences.
*
*
* .cel.expr.Expr expr = 4;
* @return Whether the expr field is set.
*/
boolean hasExpr();
/**
*
* The checked expression. Semantically equivalent to the parsed `expr`, but
* may have structural differences.
*
*
* .cel.expr.Expr expr = 4;
* @return The expr.
*/
dev.cel.expr.Expr getExpr();
/**
*
* The checked expression. Semantically equivalent to the parsed `expr`, but
* may have structural differences.
*
*
* .cel.expr.Expr expr = 4;
*/
dev.cel.expr.ExprOrBuilder getExprOrBuilder();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy