Package dev.cel.expr.conformance.test
Interface TestOutputOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TestOutput,TestOutput.Builder
public interface TestOutputOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionAn error evaluation result set.An error evaluation result set.An expression to be evaluated using the cel environment configured for the test suite.com.google.protobuf.ByteStringAn expression to be evaluated using the cel environment configured for the test suite.A normal value, which must match the evaluation result exactly via value equality semantics.A normal value, which must match the evaluation result exactly via value equality semantics.An unknown evaluation result.An unknown evaluation result.booleanAn error evaluation result set.booleanAn expression to be evaluated using the cel environment configured for the test suite.booleanA normal value, which must match the evaluation result exactly via value equality semantics.booleanAn unknown evaluation result.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasResultValue
boolean hasResultValue()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 result_value = 8;- Returns:
- Whether the resultValue field is set.
-
getResultValue
Value getResultValue()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 result_value = 8;- Returns:
- The resultValue.
-
getResultValueOrBuilder
ValueOrBuilder getResultValueOrBuilder()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 result_value = 8; -
hasResultExpr
boolean hasResultExpr()An expression to be evaluated using the cel environment configured for the test suite. The result of this expression must match the result of the test case.
string result_expr = 9;- Returns:
- Whether the resultExpr field is set.
-
getResultExpr
String getResultExpr()An expression to be evaluated using the cel environment configured for the test suite. The result of this expression must match the result of the test case.
string result_expr = 9;- Returns:
- The resultExpr.
-
getResultExprBytes
com.google.protobuf.ByteString getResultExprBytes()An expression to be evaluated using the cel environment configured for the test suite. The result of this expression must match the result of the test case.
string result_expr = 9;- Returns:
- The bytes for resultExpr.
-
hasEvalError
boolean hasEvalError()An error evaluation result set. Success if we match all of the errors in the set.
.cel.expr.ErrorSet eval_error = 10;- Returns:
- Whether the evalError field is set.
-
getEvalError
ErrorSet getEvalError()An error evaluation result set. Success if we match all of the errors in the set.
.cel.expr.ErrorSet eval_error = 10;- Returns:
- The evalError.
-
getEvalErrorOrBuilder
ErrorSetOrBuilder getEvalErrorOrBuilder()An error evaluation result set. Success if we match all of the errors in the set.
.cel.expr.ErrorSet eval_error = 10; -
hasUnknown
boolean hasUnknown()An unknown evaluation result.
.cel.expr.UnknownSet unknown = 11;- Returns:
- Whether the unknown field is set.
-
getUnknown
UnknownSet getUnknown()An unknown evaluation result.
.cel.expr.UnknownSet unknown = 11;- Returns:
- The unknown.
-
getUnknownOrBuilder
UnknownSetOrBuilder getUnknownOrBuilder()An unknown evaluation result.
.cel.expr.UnknownSet unknown = 11; -
getResultKindCase
TestOutput.ResultKindCase getResultKindCase()
-