Package dev.cel.expr.conformance.test
Class SimpleTest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<SimpleTest.Builder>
dev.cel.expr.conformance.test.SimpleTest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,SimpleTestOrBuilder,Cloneable
- Enclosing class:
- SimpleTest
public static final class SimpleTest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<SimpleTest.Builder>
implements SimpleTestOrBuilder
A test which should run the given CEL program through parsing, optionally through checking, then evaluation, with the results of the pipeline validated by the given result matcher.Protobuf type
cel.expr.conformance.test.SimpleTest-
Method Summary
Modifier and TypeMethodDescriptionaddAllTypeEnv(Iterable<? extends Decl> values) The type environment to use for the check phase.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addTypeEnv(int index, Decl value) The type environment to use for the check phase.addTypeEnv(int index, Decl.Builder builderForValue) The type environment to use for the check phase.addTypeEnv(Decl value) The type environment to use for the check phase.addTypeEnv(Decl.Builder builderForValue) The type environment to use for the check phase.The type environment to use for the check phase.addTypeEnvBuilder(int index) The type environment to use for the check phase.build()clear()Matches one of several error results.Matches one of several unknown results.Disables the evaluate phase.The container for name resolution.A description of the test.Disables the check phase.Disables all macro expansion in parsing.Matches error evaluation results.Required.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The locale to use for the evaluation phase.Required.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) A result and deduced expression type.The type environment to use for the check phase.Matches unknown evaluation results.A normal value, which must match the evaluation result exactly via value equality semantics.clone()booleancontainsBindings(String key) Variable bindings to use for the eval phase.Matches one of several error results.Matches one of several error results.Matches one of several error results.Matches one of several unknown results.Matches one of several unknown results.Matches one of several unknown results.Deprecated.intVariable bindings to use for the eval phase.Variable bindings to use for the eval phase.getBindingsOrDefault(String key, ExprValue defaultValue) Variable bindings to use for the eval phase.getBindingsOrThrow(String key) Variable bindings to use for the eval phase.booleanDisables the evaluate phase.The container for name resolution.com.google.protobuf.ByteStringThe container for name resolution.A description of the test.com.google.protobuf.ByteStringA description of the test.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanDisables the check phase.booleanDisables all macro expansion in parsing.Matches error evaluation results.Matches error evaluation results.Matches error evaluation results.getExpr()Required.com.google.protobuf.ByteStringRequired.The locale to use for the evaluation phase.com.google.protobuf.ByteStringThe locale to use for the evaluation phase.Deprecated.getName()Required.com.google.protobuf.ByteStringRequired.A result and deduced expression type.A result and deduced expression type.A result and deduced expression type.getTypeEnv(int index) The type environment to use for the check phase.getTypeEnvBuilder(int index) The type environment to use for the check phase.The type environment to use for the check phase.intThe type environment to use for the check phase.The type environment to use for the check phase.getTypeEnvOrBuilder(int index) The type environment to use for the check phase.List<? extends DeclOrBuilder>The type environment to use for the check phase.Matches unknown evaluation results.Matches unknown evaluation results.Matches unknown evaluation results.getValue()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.A normal value, which must match the evaluation result exactly via value equality semantics.booleanMatches one of several error results.booleanMatches one of several unknown results.booleanMatches error evaluation results.booleanA result and deduced expression type.booleanMatches unknown evaluation results.booleanhasValue()A normal value, which must match the evaluation result exactly via value equality semantics.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanMatches one of several error results.Matches one of several unknown results.mergeEvalError(ErrorSet value) Matches error evaluation results.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(SimpleTest other) mergeTypedResult(TypedResult value) A result and deduced expression type.mergeUnknown(UnknownSet value) Matches unknown evaluation results.final SimpleTest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) mergeValue(Value value) A normal value, which must match the evaluation result exactly via value equality semantics.putAllBindings(Map<String, ExprValue> values) Variable bindings to use for the eval phase.putBindings(String key, ExprValue value) Variable bindings to use for the eval phase.Variable bindings to use for the eval phase.removeBindings(String key) Variable bindings to use for the eval phase.removeTypeEnv(int index) The type environment to use for the check phase.setAnyEvalErrors(ErrorSetMatcher value) Matches one of several error results.setAnyEvalErrors(ErrorSetMatcher.Builder builderForValue) Matches one of several error results.setAnyUnknowns(UnknownSetMatcher value) Matches one of several unknown results.setAnyUnknowns(UnknownSetMatcher.Builder builderForValue) Matches one of several unknown results.setCheckOnly(boolean value) Disables the evaluate phase.setContainer(String value) The container for name resolution.setContainerBytes(com.google.protobuf.ByteString value) The container for name resolution.setDescription(String value) A description of the test.setDescriptionBytes(com.google.protobuf.ByteString value) A description of the test.setDisableCheck(boolean value) Disables the check phase.setDisableMacros(boolean value) Disables all macro expansion in parsing.setEvalError(ErrorSet value) Matches error evaluation results.setEvalError(ErrorSet.Builder builderForValue) Matches error evaluation results.Required.setExprBytes(com.google.protobuf.ByteString value) Required.The locale to use for the evaluation phase.setLocaleBytes(com.google.protobuf.ByteString value) The locale to use for the evaluation phase.Required.setNameBytes(com.google.protobuf.ByteString value) Required.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setTypedResult(TypedResult value) A result and deduced expression type.setTypedResult(TypedResult.Builder builderForValue) A result and deduced expression type.setTypeEnv(int index, Decl value) The type environment to use for the check phase.setTypeEnv(int index, Decl.Builder builderForValue) The type environment to use for the check phase.setUnknown(UnknownSet value) Matches unknown evaluation results.setUnknown(UnknownSet.Builder builderForValue) Matches unknown evaluation results.final SimpleTest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) A normal value, which must match the evaluation result exactly via value equality semantics.setValue(Value.Builder builderForValue) A normal value, which must match the evaluation result exactly via value equality semantics.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<SimpleTest.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<SimpleTest.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<SimpleTest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<SimpleTest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<SimpleTest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<SimpleTest.Builder>
-
setField
public SimpleTest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SimpleTest.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SimpleTest.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<SimpleTest.Builder>
-
setRepeatedField
public SimpleTest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SimpleTest.Builder>
-
addRepeatedField
public SimpleTest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SimpleTest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SimpleTest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<SimpleTest.Builder>
-
mergeFrom
public SimpleTest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SimpleTest.Builder>- Throws:
IOException
-
getResultMatcherCase
- Specified by:
getResultMatcherCasein interfaceSimpleTestOrBuilder
-
clearResultMatcher
-
getName
Required. The name of the test, which should be unique in the test file.
string name = 1;- Specified by:
getNamein interfaceSimpleTestOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Required. The name of the test, which should be unique in the test file.
string name = 1;- Specified by:
getNameBytesin interfaceSimpleTestOrBuilder- Returns:
- The bytes for name.
-
setName
Required. The name of the test, which should be unique in the test file.
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Required. The name of the test, which should be unique in the test file.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
Required. The name of the test, which should be unique in the test file.
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDescription
A description of the test.
string description = 2;- Specified by:
getDescriptionin interfaceSimpleTestOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()A description of the test.
string description = 2;- Specified by:
getDescriptionBytesin interfaceSimpleTestOrBuilder- Returns:
- The bytes for description.
-
setDescription
A description of the test.
string description = 2;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
A description of the test.
string description = 2;- Returns:
- This builder for chaining.
-
setDescriptionBytes
A description of the test.
string description = 2;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
getExpr
Required. The text of the CEL expression.
string expr = 3;- Specified by:
getExprin interfaceSimpleTestOrBuilder- Returns:
- The expr.
-
getExprBytes
public com.google.protobuf.ByteString getExprBytes()Required. The text of the CEL expression.
string expr = 3;- Specified by:
getExprBytesin interfaceSimpleTestOrBuilder- Returns:
- The bytes for expr.
-
setExpr
Required. The text of the CEL expression.
string expr = 3;- Parameters:
value- The expr to set.- Returns:
- This builder for chaining.
-
clearExpr
Required. The text of the CEL expression.
string expr = 3;- Returns:
- This builder for chaining.
-
setExprBytes
Required. The text of the CEL expression.
string expr = 3;- Parameters:
value- The bytes for expr to set.- Returns:
- This builder for chaining.
-
getDisableMacros
public boolean getDisableMacros()Disables all macro expansion in parsing.
bool disable_macros = 4;- Specified by:
getDisableMacrosin interfaceSimpleTestOrBuilder- Returns:
- The disableMacros.
-
setDisableMacros
Disables all macro expansion in parsing.
bool disable_macros = 4;- Parameters:
value- The disableMacros to set.- Returns:
- This builder for chaining.
-
clearDisableMacros
Disables all macro expansion in parsing.
bool disable_macros = 4;- Returns:
- This builder for chaining.
-
getDisableCheck
public boolean getDisableCheck()Disables the check phase.
bool disable_check = 5;- Specified by:
getDisableCheckin interfaceSimpleTestOrBuilder- Returns:
- The disableCheck.
-
setDisableCheck
Disables the check phase.
bool disable_check = 5;- Parameters:
value- The disableCheck to set.- Returns:
- This builder for chaining.
-
clearDisableCheck
Disables the check phase.
bool disable_check = 5;- Returns:
- This builder for chaining.
-
getCheckOnly
public boolean getCheckOnly()Disables the evaluate phase.
bool check_only = 15;- Specified by:
getCheckOnlyin interfaceSimpleTestOrBuilder- Returns:
- The checkOnly.
-
setCheckOnly
Disables the evaluate phase.
bool check_only = 15;- Parameters:
value- The checkOnly to set.- Returns:
- This builder for chaining.
-
clearCheckOnly
Disables the evaluate phase.
bool check_only = 15;- Returns:
- This builder for chaining.
-
getTypeEnvList
The type environment to use for the check phase.
repeated .cel.expr.Decl type_env = 6;- Specified by:
getTypeEnvListin interfaceSimpleTestOrBuilder
-
getTypeEnvCount
public int getTypeEnvCount()The type environment to use for the check phase.
repeated .cel.expr.Decl type_env = 6;- Specified by:
getTypeEnvCountin interfaceSimpleTestOrBuilder
-
getTypeEnv
The type environment to use for the check phase.
repeated .cel.expr.Decl type_env = 6;- Specified by:
getTypeEnvin interfaceSimpleTestOrBuilder
-
setTypeEnv
The type environment to use for the check phase.
repeated .cel.expr.Decl type_env = 6; -
setTypeEnv
The type environment to use for the check phase.
repeated .cel.expr.Decl type_env = 6; -
addTypeEnv
The type environment to use for the check phase.
repeated .cel.expr.Decl type_env = 6; -
addTypeEnv
The type environment to use for the check phase.
repeated .cel.expr.Decl type_env = 6; -
addTypeEnv
The type environment to use for the check phase.
repeated .cel.expr.Decl type_env = 6; -
addTypeEnv
The type environment to use for the check phase.
repeated .cel.expr.Decl type_env = 6; -
addAllTypeEnv
The type environment to use for the check phase.
repeated .cel.expr.Decl type_env = 6; -
clearTypeEnv
The type environment to use for the check phase.
repeated .cel.expr.Decl type_env = 6; -
removeTypeEnv
The type environment to use for the check phase.
repeated .cel.expr.Decl type_env = 6; -
getTypeEnvBuilder
The type environment to use for the check phase.
repeated .cel.expr.Decl type_env = 6; -
getTypeEnvOrBuilder
The type environment to use for the check phase.
repeated .cel.expr.Decl type_env = 6;- Specified by:
getTypeEnvOrBuilderin interfaceSimpleTestOrBuilder
-
getTypeEnvOrBuilderList
The type environment to use for the check phase.
repeated .cel.expr.Decl type_env = 6;- Specified by:
getTypeEnvOrBuilderListin interfaceSimpleTestOrBuilder
-
addTypeEnvBuilder
The type environment to use for the check phase.
repeated .cel.expr.Decl type_env = 6; -
addTypeEnvBuilder
The type environment to use for the check phase.
repeated .cel.expr.Decl type_env = 6; -
getTypeEnvBuilderList
The type environment to use for the check phase.
repeated .cel.expr.Decl type_env = 6; -
getContainer
The container for name resolution.
string container = 13;- Specified by:
getContainerin interfaceSimpleTestOrBuilder- Returns:
- The container.
-
getContainerBytes
public com.google.protobuf.ByteString getContainerBytes()The container for name resolution.
string container = 13;- Specified by:
getContainerBytesin interfaceSimpleTestOrBuilder- Returns:
- The bytes for container.
-
setContainer
The container for name resolution.
string container = 13;- Parameters:
value- The container to set.- Returns:
- This builder for chaining.
-
clearContainer
The container for name resolution.
string container = 13;- Returns:
- This builder for chaining.
-
setContainerBytes
The container for name resolution.
string container = 13;- Parameters:
value- The bytes for container to set.- Returns:
- This builder for chaining.
-
getLocale
The locale to use for the evaluation phase.
string locale = 14;- Specified by:
getLocalein interfaceSimpleTestOrBuilder- Returns:
- The locale.
-
getLocaleBytes
public com.google.protobuf.ByteString getLocaleBytes()The locale to use for the evaluation phase.
string locale = 14;- Specified by:
getLocaleBytesin interfaceSimpleTestOrBuilder- Returns:
- The bytes for locale.
-
setLocale
The locale to use for the evaluation phase.
string locale = 14;- Parameters:
value- The locale to set.- Returns:
- This builder for chaining.
-
clearLocale
The locale to use for the evaluation phase.
string locale = 14;- Returns:
- This builder for chaining.
-
setLocaleBytes
The locale to use for the evaluation phase.
string locale = 14;- Parameters:
value- The bytes for locale to set.- Returns:
- This builder for chaining.
-
getBindingsCount
public int getBindingsCount()Description copied from interface:SimpleTestOrBuilderVariable bindings to use for the eval phase.
map<string, .cel.expr.ExprValue> bindings = 7;- Specified by:
getBindingsCountin interfaceSimpleTestOrBuilder
-
containsBindings
Variable bindings to use for the eval phase.
map<string, .cel.expr.ExprValue> bindings = 7;- Specified by:
containsBindingsin interfaceSimpleTestOrBuilder
-
getBindings
Deprecated.UsegetBindingsMap()instead.- Specified by:
getBindingsin interfaceSimpleTestOrBuilder
-
getBindingsMap
Variable bindings to use for the eval phase.
map<string, .cel.expr.ExprValue> bindings = 7;- Specified by:
getBindingsMapin interfaceSimpleTestOrBuilder
-
getBindingsOrDefault
Variable bindings to use for the eval phase.
map<string, .cel.expr.ExprValue> bindings = 7;- Specified by:
getBindingsOrDefaultin interfaceSimpleTestOrBuilder
-
getBindingsOrThrow
Variable bindings to use for the eval phase.
map<string, .cel.expr.ExprValue> bindings = 7;- Specified by:
getBindingsOrThrowin interfaceSimpleTestOrBuilder
-
clearBindings
-
removeBindings
Variable bindings to use for the eval phase.
map<string, .cel.expr.ExprValue> bindings = 7; -
getMutableBindings
Deprecated.Use alternate mutation accessors instead. -
putBindings
Variable bindings to use for the eval phase.
map<string, .cel.expr.ExprValue> bindings = 7; -
putAllBindings
Variable bindings to use for the eval phase.
map<string, .cel.expr.ExprValue> bindings = 7; -
putBindingsBuilderIfAbsent
Variable bindings to use for the eval phase.
map<string, .cel.expr.ExprValue> bindings = 7; -
hasValue
public 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;- Specified by:
hasValuein interfaceSimpleTestOrBuilder- Returns:
- Whether the value field is set.
-
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;- Specified by:
getValuein interfaceSimpleTestOrBuilder- Returns:
- The value.
-
setValue
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; -
setValue
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; -
mergeValue
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; -
clearValue
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; -
getValueBuilder
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; -
getValueOrBuilder
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;- Specified by:
getValueOrBuilderin interfaceSimpleTestOrBuilder
-
hasTypedResult
public boolean hasTypedResult()A result and deduced expression type.
.cel.expr.conformance.test.TypedResult typed_result = 16;- Specified by:
hasTypedResultin interfaceSimpleTestOrBuilder- Returns:
- Whether the typedResult field is set.
-
getTypedResult
A result and deduced expression type.
.cel.expr.conformance.test.TypedResult typed_result = 16;- Specified by:
getTypedResultin interfaceSimpleTestOrBuilder- Returns:
- The typedResult.
-
setTypedResult
A result and deduced expression type.
.cel.expr.conformance.test.TypedResult typed_result = 16; -
setTypedResult
A result and deduced expression type.
.cel.expr.conformance.test.TypedResult typed_result = 16; -
mergeTypedResult
A result and deduced expression type.
.cel.expr.conformance.test.TypedResult typed_result = 16; -
clearTypedResult
A result and deduced expression type.
.cel.expr.conformance.test.TypedResult typed_result = 16; -
getTypedResultBuilder
A result and deduced expression type.
.cel.expr.conformance.test.TypedResult typed_result = 16; -
getTypedResultOrBuilder
A result and deduced expression type.
.cel.expr.conformance.test.TypedResult typed_result = 16;- Specified by:
getTypedResultOrBuilderin interfaceSimpleTestOrBuilder
-
hasEvalError
public boolean hasEvalError()Matches error evaluation results.
.cel.expr.ErrorSet eval_error = 9;- Specified by:
hasEvalErrorin interfaceSimpleTestOrBuilder- Returns:
- Whether the evalError field is set.
-
getEvalError
Matches error evaluation results.
.cel.expr.ErrorSet eval_error = 9;- Specified by:
getEvalErrorin interfaceSimpleTestOrBuilder- Returns:
- The evalError.
-
setEvalError
Matches error evaluation results.
.cel.expr.ErrorSet eval_error = 9; -
setEvalError
Matches error evaluation results.
.cel.expr.ErrorSet eval_error = 9; -
mergeEvalError
Matches error evaluation results.
.cel.expr.ErrorSet eval_error = 9; -
clearEvalError
Matches error evaluation results.
.cel.expr.ErrorSet eval_error = 9; -
getEvalErrorBuilder
Matches error evaluation results.
.cel.expr.ErrorSet eval_error = 9; -
getEvalErrorOrBuilder
Matches error evaluation results.
.cel.expr.ErrorSet eval_error = 9;- Specified by:
getEvalErrorOrBuilderin interfaceSimpleTestOrBuilder
-
hasAnyEvalErrors
public boolean hasAnyEvalErrors()Matches one of several error results. (Using explicit message since oneof can't handle repeated.)
.cel.expr.conformance.test.ErrorSetMatcher any_eval_errors = 10;- Specified by:
hasAnyEvalErrorsin interfaceSimpleTestOrBuilder- Returns:
- Whether the anyEvalErrors field is set.
-
getAnyEvalErrors
Matches one of several error results. (Using explicit message since oneof can't handle repeated.)
.cel.expr.conformance.test.ErrorSetMatcher any_eval_errors = 10;- Specified by:
getAnyEvalErrorsin interfaceSimpleTestOrBuilder- Returns:
- The anyEvalErrors.
-
setAnyEvalErrors
Matches one of several error results. (Using explicit message since oneof can't handle repeated.)
.cel.expr.conformance.test.ErrorSetMatcher any_eval_errors = 10; -
setAnyEvalErrors
Matches one of several error results. (Using explicit message since oneof can't handle repeated.)
.cel.expr.conformance.test.ErrorSetMatcher any_eval_errors = 10; -
mergeAnyEvalErrors
Matches one of several error results. (Using explicit message since oneof can't handle repeated.)
.cel.expr.conformance.test.ErrorSetMatcher any_eval_errors = 10; -
clearAnyEvalErrors
Matches one of several error results. (Using explicit message since oneof can't handle repeated.)
.cel.expr.conformance.test.ErrorSetMatcher any_eval_errors = 10; -
getAnyEvalErrorsBuilder
Matches one of several error results. (Using explicit message since oneof can't handle repeated.)
.cel.expr.conformance.test.ErrorSetMatcher any_eval_errors = 10; -
getAnyEvalErrorsOrBuilder
Matches one of several error results. (Using explicit message since oneof can't handle repeated.)
.cel.expr.conformance.test.ErrorSetMatcher any_eval_errors = 10;- Specified by:
getAnyEvalErrorsOrBuilderin interfaceSimpleTestOrBuilder
-
hasUnknown
public boolean hasUnknown()Matches unknown evaluation results.
.cel.expr.UnknownSet unknown = 11;- Specified by:
hasUnknownin interfaceSimpleTestOrBuilder- Returns:
- Whether the unknown field is set.
-
getUnknown
Matches unknown evaluation results.
.cel.expr.UnknownSet unknown = 11;- Specified by:
getUnknownin interfaceSimpleTestOrBuilder- Returns:
- The unknown.
-
setUnknown
Matches unknown evaluation results.
.cel.expr.UnknownSet unknown = 11; -
setUnknown
Matches unknown evaluation results.
.cel.expr.UnknownSet unknown = 11; -
mergeUnknown
Matches unknown evaluation results.
.cel.expr.UnknownSet unknown = 11; -
clearUnknown
Matches unknown evaluation results.
.cel.expr.UnknownSet unknown = 11; -
getUnknownBuilder
Matches unknown evaluation results.
.cel.expr.UnknownSet unknown = 11; -
getUnknownOrBuilder
Matches unknown evaluation results.
.cel.expr.UnknownSet unknown = 11;- Specified by:
getUnknownOrBuilderin interfaceSimpleTestOrBuilder
-
hasAnyUnknowns
public boolean hasAnyUnknowns()Matches one of several unknown results. (Using explicit message since oneof can't handle repeated.)
.cel.expr.conformance.test.UnknownSetMatcher any_unknowns = 12;- Specified by:
hasAnyUnknownsin interfaceSimpleTestOrBuilder- Returns:
- Whether the anyUnknowns field is set.
-
getAnyUnknowns
Matches one of several unknown results. (Using explicit message since oneof can't handle repeated.)
.cel.expr.conformance.test.UnknownSetMatcher any_unknowns = 12;- Specified by:
getAnyUnknownsin interfaceSimpleTestOrBuilder- Returns:
- The anyUnknowns.
-
setAnyUnknowns
Matches one of several unknown results. (Using explicit message since oneof can't handle repeated.)
.cel.expr.conformance.test.UnknownSetMatcher any_unknowns = 12; -
setAnyUnknowns
Matches one of several unknown results. (Using explicit message since oneof can't handle repeated.)
.cel.expr.conformance.test.UnknownSetMatcher any_unknowns = 12; -
mergeAnyUnknowns
Matches one of several unknown results. (Using explicit message since oneof can't handle repeated.)
.cel.expr.conformance.test.UnknownSetMatcher any_unknowns = 12; -
clearAnyUnknowns
Matches one of several unknown results. (Using explicit message since oneof can't handle repeated.)
.cel.expr.conformance.test.UnknownSetMatcher any_unknowns = 12; -
getAnyUnknownsBuilder
Matches one of several unknown results. (Using explicit message since oneof can't handle repeated.)
.cel.expr.conformance.test.UnknownSetMatcher any_unknowns = 12; -
getAnyUnknownsOrBuilder
Matches one of several unknown results. (Using explicit message since oneof can't handle repeated.)
.cel.expr.conformance.test.UnknownSetMatcher any_unknowns = 12;- Specified by:
getAnyUnknownsOrBuilderin interfaceSimpleTestOrBuilder
-
setUnknownFields
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SimpleTest.Builder>
-
mergeUnknownFields
public final SimpleTest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SimpleTest.Builder>
-