Package dev.cel.expr.conformance.test
Interface TypedResultOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TypedResult,TypedResult.Builder
public interface TypedResultOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe deduced type of the expression as reported by the checker.The deduced type of the expression as reported by the checker.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.booleanThe deduced type of the expression as reported by the checker.booleanA normal value, which must match the evaluation result exactly via value equality semantics.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
-
hasResult
boolean hasResult()A normal value, which must match the evaluation result exactly via value equality semantics. This is ignored if the test is `check_only`.
.cel.expr.Value result = 1;- Returns:
- Whether the result field is set.
-
getResult
Value getResult()A normal value, which must match the evaluation result exactly via value equality semantics. This is ignored if the test is `check_only`.
.cel.expr.Value result = 1;- Returns:
- The result.
-
getResultOrBuilder
ValueOrBuilder getResultOrBuilder()A normal value, which must match the evaluation result exactly via value equality semantics. This is ignored if the test is `check_only`.
.cel.expr.Value result = 1; -
hasDeducedType
boolean hasDeducedType()The deduced type of the expression as reported by the checker.
.cel.expr.Type deduced_type = 2;- Returns:
- Whether the deducedType field is set.
-
getDeducedType
Type getDeducedType()The deduced type of the expression as reported by the checker.
.cel.expr.Type deduced_type = 2;- Returns:
- The deducedType.
-
getDeducedTypeOrBuilder
TypeOrBuilder getDeducedTypeOrBuilder()The deduced type of the expression as reported by the checker.
.cel.expr.Type deduced_type = 2;
-