Package dev.cel.expr.conformance.test
Interface InputValueOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
InputValue,InputValue.Builder
public interface InputValueOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetExpr()An expression which evaluates to the value of the variable binding.com.google.protobuf.ByteStringAn expression which evaluates to the value of the variable binding.getValue()A simple literal value for a variable bindingA simple literal value for a variable bindingbooleanhasExpr()An expression which evaluates to the value of the variable binding.booleanhasValue()A simple literal value for a variable bindingMethods 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
-
hasValue
boolean hasValue()A simple literal value for a variable binding
.cel.expr.Value value = 1;- Returns:
- Whether the value field is set.
-
getValue
Value getValue()A simple literal value for a variable binding
.cel.expr.Value value = 1;- Returns:
- The value.
-
getValueOrBuilder
ValueOrBuilder getValueOrBuilder()A simple literal value for a variable binding
.cel.expr.Value value = 1; -
hasExpr
boolean hasExpr()An expression which evaluates to the value of the variable binding. The expression is evaluated using the same runtime environment as the one used for evaluating the expression under test.
string expr = 2;- Returns:
- Whether the expr field is set.
-
getExpr
String getExpr()An expression which evaluates to the value of the variable binding. The expression is evaluated using the same runtime environment as the one used for evaluating the expression under test.
string expr = 2;- Returns:
- The expr.
-
getExprBytes
com.google.protobuf.ByteString getExprBytes()An expression which evaluates to the value of the variable binding. The expression is evaluated using the same runtime environment as the one used for evaluating the expression under test.
string expr = 2;- Returns:
- The bytes for expr.
-
getKindCase
InputValue.KindCase getKindCase()
-