
dev.cel.expr.conformance.SimpleTestOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: cel/expr/conformance/simple.proto
// Protobuf Java Version: 3.25.1
package dev.cel.expr.conformance;
public interface SimpleTestOrBuilder extends
// @@protoc_insertion_point(interface_extends:cel.expr.conformance.SimpleTest)
com.google.protobuf.MessageOrBuilder {
/**
*
* Required. The name of the test, which should be unique in the test file.
*
*
* string name = 1;
* @return The name.
*/
java.lang.String getName();
/**
*
* Required. The name of the test, which should be unique in the test file.
*
*
* string name = 1;
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
*
* A description of the test.
*
*
* string description = 2;
* @return The description.
*/
java.lang.String getDescription();
/**
*
* A description of the test.
*
*
* string description = 2;
* @return The bytes for description.
*/
com.google.protobuf.ByteString
getDescriptionBytes();
/**
*
* Required. The text of the CEL expression.
*
*
* string expr = 3;
* @return The expr.
*/
java.lang.String getExpr();
/**
*
* Required. The text of the CEL expression.
*
*
* string expr = 3;
* @return The bytes for expr.
*/
com.google.protobuf.ByteString
getExprBytes();
/**
*
* Disables all macro expansion in parsing.
*
*
* bool disable_macros = 4;
* @return The disableMacros.
*/
boolean getDisableMacros();
/**
*
* Disables the check phase.
*
*
* bool disable_check = 5;
* @return The disableCheck.
*/
boolean getDisableCheck();
/**
*
* The type environment to use for the check phase.
*
*
* repeated .cel.expr.Decl type_env = 6;
*/
java.util.List
getTypeEnvList();
/**
*
* The type environment to use for the check phase.
*
*
* repeated .cel.expr.Decl type_env = 6;
*/
dev.cel.expr.Decl getTypeEnv(int index);
/**
*
* The type environment to use for the check phase.
*
*
* repeated .cel.expr.Decl type_env = 6;
*/
int getTypeEnvCount();
/**
*
* The type environment to use for the check phase.
*
*
* repeated .cel.expr.Decl type_env = 6;
*/
java.util.List extends dev.cel.expr.DeclOrBuilder>
getTypeEnvOrBuilderList();
/**
*
* The type environment to use for the check phase.
*
*
* repeated .cel.expr.Decl type_env = 6;
*/
dev.cel.expr.DeclOrBuilder getTypeEnvOrBuilder(
int index);
/**
*
* The container for name resolution.
*
*
* string container = 13;
* @return The container.
*/
java.lang.String getContainer();
/**
*
* The container for name resolution.
*
*
* string container = 13;
* @return The bytes for container.
*/
com.google.protobuf.ByteString
getContainerBytes();
/**
*
* The locale to use for the evaluation phase.
*
*
* string locale = 14;
* @return The locale.
*/
java.lang.String getLocale();
/**
*
* The locale to use for the evaluation phase.
*
*
* string locale = 14;
* @return The bytes for locale.
*/
com.google.protobuf.ByteString
getLocaleBytes();
/**
*
* Variable bindings to use for the eval phase.
*
*
* map<string, .cel.expr.ExprValue> bindings = 7;
*/
int getBindingsCount();
/**
*
* Variable bindings to use for the eval phase.
*
*
* map<string, .cel.expr.ExprValue> bindings = 7;
*/
boolean containsBindings(
java.lang.String key);
/**
* Use {@link #getBindingsMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getBindings();
/**
*
* Variable bindings to use for the eval phase.
*
*
* map<string, .cel.expr.ExprValue> bindings = 7;
*/
java.util.Map
getBindingsMap();
/**
*
* Variable bindings to use for the eval phase.
*
*
* map<string, .cel.expr.ExprValue> bindings = 7;
*/
/* nullable */
dev.cel.expr.ExprValue getBindingsOrDefault(
java.lang.String key,
/* nullable */
dev.cel.expr.ExprValue defaultValue);
/**
*
* Variable bindings to use for the eval phase.
*
*
* map<string, .cel.expr.ExprValue> bindings = 7;
*/
dev.cel.expr.ExprValue getBindingsOrThrow(
java.lang.String key);
/**
*
* A normal value, which must match the evaluation result exactly
* via value equality semantics. This coincides with proto equality,
* except for:
* * maps are order-agnostic.
* * a floating point NaN should match any NaN.
*
*
* .cel.expr.Value value = 8;
* @return Whether the value field is set.
*/
boolean hasValue();
/**
*
* A normal value, which must match the evaluation result exactly
* via value equality semantics. This coincides with proto equality,
* except for:
* * maps are order-agnostic.
* * a floating point NaN should match any NaN.
*
*
* .cel.expr.Value value = 8;
* @return The value.
*/
dev.cel.expr.Value getValue();
/**
*
* A normal value, which must match the evaluation result exactly
* via value equality semantics. This coincides with proto equality,
* except for:
* * maps are order-agnostic.
* * a floating point NaN should match any NaN.
*
*
* .cel.expr.Value value = 8;
*/
dev.cel.expr.ValueOrBuilder getValueOrBuilder();
/**
*
* Matches error evaluation results.
*
*
* .cel.expr.ErrorSet eval_error = 9;
* @return Whether the evalError field is set.
*/
boolean hasEvalError();
/**
*
* Matches error evaluation results.
*
*
* .cel.expr.ErrorSet eval_error = 9;
* @return The evalError.
*/
dev.cel.expr.ErrorSet getEvalError();
/**
*
* Matches error evaluation results.
*
*
* .cel.expr.ErrorSet eval_error = 9;
*/
dev.cel.expr.ErrorSetOrBuilder getEvalErrorOrBuilder();
/**
*
* Matches one of several error results.
* (Using explicit message since oneof can't handle repeated.)
*
*
* .cel.expr.conformance.ErrorSetMatcher any_eval_errors = 10;
* @return Whether the anyEvalErrors field is set.
*/
boolean hasAnyEvalErrors();
/**
*
* Matches one of several error results.
* (Using explicit message since oneof can't handle repeated.)
*
*
* .cel.expr.conformance.ErrorSetMatcher any_eval_errors = 10;
* @return The anyEvalErrors.
*/
dev.cel.expr.conformance.ErrorSetMatcher getAnyEvalErrors();
/**
*
* Matches one of several error results.
* (Using explicit message since oneof can't handle repeated.)
*
*
* .cel.expr.conformance.ErrorSetMatcher any_eval_errors = 10;
*/
dev.cel.expr.conformance.ErrorSetMatcherOrBuilder getAnyEvalErrorsOrBuilder();
/**
*
* Matches unknown evaluation results.
*
*
* .cel.expr.UnknownSet unknown = 11;
* @return Whether the unknown field is set.
*/
boolean hasUnknown();
/**
*
* Matches unknown evaluation results.
*
*
* .cel.expr.UnknownSet unknown = 11;
* @return The unknown.
*/
dev.cel.expr.UnknownSet getUnknown();
/**
*
* Matches unknown evaluation results.
*
*
* .cel.expr.UnknownSet unknown = 11;
*/
dev.cel.expr.UnknownSetOrBuilder getUnknownOrBuilder();
/**
*
* Matches one of several unknown results.
* (Using explicit message since oneof can't handle repeated.)
*
*
* .cel.expr.conformance.UnknownSetMatcher any_unknowns = 12;
* @return Whether the anyUnknowns field is set.
*/
boolean hasAnyUnknowns();
/**
*
* Matches one of several unknown results.
* (Using explicit message since oneof can't handle repeated.)
*
*
* .cel.expr.conformance.UnknownSetMatcher any_unknowns = 12;
* @return The anyUnknowns.
*/
dev.cel.expr.conformance.UnknownSetMatcher getAnyUnknowns();
/**
*
* Matches one of several unknown results.
* (Using explicit message since oneof can't handle repeated.)
*
*
* .cel.expr.conformance.UnknownSetMatcher any_unknowns = 12;
*/
dev.cel.expr.conformance.UnknownSetMatcherOrBuilder getAnyUnknownsOrBuilder();
dev.cel.expr.conformance.SimpleTest.ResultMatcherCase getResultMatcherCase();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy