Package dev.cel.expr.conformance.test
Class TestSuite.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<TestSuite.Builder>
dev.cel.expr.conformance.test.TestSuite.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,TestSuiteOrBuilder,Cloneable
- Enclosing class:
- TestSuite
public static final class TestSuite.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<TestSuite.Builder>
implements TestSuiteOrBuilder
A test suite is a collection of tests designed to evaluate the correctness of a CEL policy, a CEL expression or the conformance of a CEL implementation to the standard specification.Protobuf type
cel.expr.conformance.test.TestSuite-
Method Summary
Modifier and TypeMethodDescriptionaddAllSections(Iterable<? extends TestSection> values) Test sections of the test suite.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addSections(int index, TestSection value) Test sections of the test suite.addSections(int index, TestSection.Builder builderForValue) Test sections of the test suite.addSections(TestSection value) Test sections of the test suite.addSections(TestSection.Builder builderForValue) Test sections of the test suite.Test sections of the test suite.addSectionsBuilder(int index) Test sections of the test suite.build()clear()Description of the test suite.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The name of the test suite.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Test sections of the test suite.clone()Description of the test suite.com.google.protobuf.ByteStringDescription of the test suite.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetName()The name of the test suite.com.google.protobuf.ByteStringThe name of the test suite.getSections(int index) Test sections of the test suite.getSectionsBuilder(int index) Test sections of the test suite.Test sections of the test suite.intTest sections of the test suite.Test sections of the test suite.getSectionsOrBuilder(int index) Test sections of the test suite.List<? extends TestSectionOrBuilder>Test sections of the test suite.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) final TestSuite.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeSections(int index) Test sections of the test suite.setDescription(String value) Description of the test suite.setDescriptionBytes(com.google.protobuf.ByteString value) Description of the test suite.The name of the test suite.setNameBytes(com.google.protobuf.ByteString value) The name of the test suite.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSections(int index, TestSection value) Test sections of the test suite.setSections(int index, TestSection.Builder builderForValue) Test sections of the test suite.final TestSuite.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, 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() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<TestSuite.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<TestSuite.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<TestSuite.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<TestSuite.Builder>
-
setField
public TestSuite.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<TestSuite.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TestSuite.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<TestSuite.Builder>
-
setRepeatedField
public TestSuite.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<TestSuite.Builder>
-
addRepeatedField
public TestSuite.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<TestSuite.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TestSuite.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<TestSuite.Builder>
-
mergeFrom
public TestSuite.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<TestSuite.Builder>- Throws:
IOException
-
getName
The name of the test suite.
string name = 1;- Specified by:
getNamein interfaceTestSuiteOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()The name of the test suite.
string name = 1;- Specified by:
getNameBytesin interfaceTestSuiteOrBuilder- Returns:
- The bytes for name.
-
setName
The name of the test suite.
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
The name of the test suite.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
The name of the test suite.
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDescription
Description of the test suite.
string description = 2;- Specified by:
getDescriptionin interfaceTestSuiteOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Description of the test suite.
string description = 2;- Specified by:
getDescriptionBytesin interfaceTestSuiteOrBuilder- Returns:
- The bytes for description.
-
setDescription
Description of the test suite.
string description = 2;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
Description of the test suite.
string description = 2;- Returns:
- This builder for chaining.
-
setDescriptionBytes
Description of the test suite.
string description = 2;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
getSectionsList
Test sections of the test suite. Each section represents a behavior to be tested.
repeated .cel.expr.conformance.test.TestSection sections = 3;- Specified by:
getSectionsListin interfaceTestSuiteOrBuilder
-
getSectionsCount
public int getSectionsCount()Test sections of the test suite. Each section represents a behavior to be tested.
repeated .cel.expr.conformance.test.TestSection sections = 3;- Specified by:
getSectionsCountin interfaceTestSuiteOrBuilder
-
getSections
Test sections of the test suite. Each section represents a behavior to be tested.
repeated .cel.expr.conformance.test.TestSection sections = 3;- Specified by:
getSectionsin interfaceTestSuiteOrBuilder
-
setSections
Test sections of the test suite. Each section represents a behavior to be tested.
repeated .cel.expr.conformance.test.TestSection sections = 3; -
setSections
Test sections of the test suite. Each section represents a behavior to be tested.
repeated .cel.expr.conformance.test.TestSection sections = 3; -
addSections
Test sections of the test suite. Each section represents a behavior to be tested.
repeated .cel.expr.conformance.test.TestSection sections = 3; -
addSections
Test sections of the test suite. Each section represents a behavior to be tested.
repeated .cel.expr.conformance.test.TestSection sections = 3; -
addSections
Test sections of the test suite. Each section represents a behavior to be tested.
repeated .cel.expr.conformance.test.TestSection sections = 3; -
addSections
Test sections of the test suite. Each section represents a behavior to be tested.
repeated .cel.expr.conformance.test.TestSection sections = 3; -
addAllSections
Test sections of the test suite. Each section represents a behavior to be tested.
repeated .cel.expr.conformance.test.TestSection sections = 3; -
clearSections
Test sections of the test suite. Each section represents a behavior to be tested.
repeated .cel.expr.conformance.test.TestSection sections = 3; -
removeSections
Test sections of the test suite. Each section represents a behavior to be tested.
repeated .cel.expr.conformance.test.TestSection sections = 3; -
getSectionsBuilder
Test sections of the test suite. Each section represents a behavior to be tested.
repeated .cel.expr.conformance.test.TestSection sections = 3; -
getSectionsOrBuilder
Test sections of the test suite. Each section represents a behavior to be tested.
repeated .cel.expr.conformance.test.TestSection sections = 3;- Specified by:
getSectionsOrBuilderin interfaceTestSuiteOrBuilder
-
getSectionsOrBuilderList
Test sections of the test suite. Each section represents a behavior to be tested.
repeated .cel.expr.conformance.test.TestSection sections = 3;- Specified by:
getSectionsOrBuilderListin interfaceTestSuiteOrBuilder
-
addSectionsBuilder
Test sections of the test suite. Each section represents a behavior to be tested.
repeated .cel.expr.conformance.test.TestSection sections = 3; -
addSectionsBuilder
Test sections of the test suite. Each section represents a behavior to be tested.
repeated .cel.expr.conformance.test.TestSection sections = 3; -
getSectionsBuilderList
Test sections of the test suite. Each section represents a behavior to be tested.
repeated .cel.expr.conformance.test.TestSection sections = 3; -
setUnknownFields
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TestSuite.Builder>
-
mergeUnknownFields
public final TestSuite.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TestSuite.Builder>
-