Package dev.cel.expr.conformance.test
Class TestSection.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<TestSection.Builder>
dev.cel.expr.conformance.test.TestSection.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,TestSectionOrBuilder,Cloneable
- Enclosing class:
- TestSection
public static final class TestSection.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<TestSection.Builder>
implements TestSectionOrBuilder
A collection of related test cases.Protobuf type
cel.expr.conformance.test.TestSection-
Method Summary
Modifier and TypeMethodDescriptionaddAllTests(Iterable<? extends TestCase> values) Test cases of the test section.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) Test cases of the test section.addTests(int index, TestCase.Builder builderForValue) Test cases of the test section.Test cases of the test section.addTests(TestCase.Builder builderForValue) Test cases of the test section.Test cases of the test section.addTestsBuilder(int index) Test cases of the test section.build()clear()Description of the test section.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Name of the test section.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Test cases of the test section.clone()Description of the test section.com.google.protobuf.ByteStringDescription of the test section.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetName()Name of the test section.com.google.protobuf.ByteStringName of the test section.getTests(int index) Test cases of the test section.getTestsBuilder(int index) Test cases of the test section.Test cases of the test section.intTest cases of the test section.Test cases of the test section.getTestsOrBuilder(int index) Test cases of the test section.List<? extends TestCaseOrBuilder>Test cases of the test section.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(TestSection other) final TestSection.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeTests(int index) Test cases of the test section.setDescription(String value) Description of the test section.setDescriptionBytes(com.google.protobuf.ByteString value) Description of the test section.Name of the test section.setNameBytes(com.google.protobuf.ByteString value) Name of the test section.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Test cases of the test section.setTests(int index, TestCase.Builder builderForValue) Test cases of the test section.final TestSection.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<TestSection.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<TestSection.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<TestSection.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<TestSection.Builder>
-
setField
public TestSection.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<TestSection.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TestSection.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<TestSection.Builder>
-
setRepeatedField
public TestSection.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<TestSection.Builder>
-
addRepeatedField
public TestSection.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<TestSection.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TestSection.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<TestSection.Builder>
-
mergeFrom
public TestSection.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<TestSection.Builder>- Throws:
IOException
-
getName
Name of the test section.
string name = 1;- Specified by:
getNamein interfaceTestSectionOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Name of the test section.
string name = 1;- Specified by:
getNameBytesin interfaceTestSectionOrBuilder- Returns:
- The bytes for name.
-
setName
Name of the test section.
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Name of the test section.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
Name of the test section.
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDescription
Description of the test section.
string description = 2;- Specified by:
getDescriptionin interfaceTestSectionOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Description of the test section.
string description = 2;- Specified by:
getDescriptionBytesin interfaceTestSectionOrBuilder- Returns:
- The bytes for description.
-
setDescription
Description of the test section.
string description = 2;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
Description of the test section.
string description = 2;- Returns:
- This builder for chaining.
-
setDescriptionBytes
Description of the test section.
string description = 2;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
getTestsList
Test cases of the test section. Each test case represents a test scenario.
repeated .cel.expr.conformance.test.TestCase tests = 3;- Specified by:
getTestsListin interfaceTestSectionOrBuilder
-
getTestsCount
public int getTestsCount()Test cases of the test section. Each test case represents a test scenario.
repeated .cel.expr.conformance.test.TestCase tests = 3;- Specified by:
getTestsCountin interfaceTestSectionOrBuilder
-
getTests
Test cases of the test section. Each test case represents a test scenario.
repeated .cel.expr.conformance.test.TestCase tests = 3;- Specified by:
getTestsin interfaceTestSectionOrBuilder
-
setTests
Test cases of the test section. Each test case represents a test scenario.
repeated .cel.expr.conformance.test.TestCase tests = 3; -
setTests
Test cases of the test section. Each test case represents a test scenario.
repeated .cel.expr.conformance.test.TestCase tests = 3; -
addTests
Test cases of the test section. Each test case represents a test scenario.
repeated .cel.expr.conformance.test.TestCase tests = 3; -
addTests
Test cases of the test section. Each test case represents a test scenario.
repeated .cel.expr.conformance.test.TestCase tests = 3; -
addTests
Test cases of the test section. Each test case represents a test scenario.
repeated .cel.expr.conformance.test.TestCase tests = 3; -
addTests
Test cases of the test section. Each test case represents a test scenario.
repeated .cel.expr.conformance.test.TestCase tests = 3; -
addAllTests
Test cases of the test section. Each test case represents a test scenario.
repeated .cel.expr.conformance.test.TestCase tests = 3; -
clearTests
Test cases of the test section. Each test case represents a test scenario.
repeated .cel.expr.conformance.test.TestCase tests = 3; -
removeTests
Test cases of the test section. Each test case represents a test scenario.
repeated .cel.expr.conformance.test.TestCase tests = 3; -
getTestsBuilder
Test cases of the test section. Each test case represents a test scenario.
repeated .cel.expr.conformance.test.TestCase tests = 3; -
getTestsOrBuilder
Test cases of the test section. Each test case represents a test scenario.
repeated .cel.expr.conformance.test.TestCase tests = 3;- Specified by:
getTestsOrBuilderin interfaceTestSectionOrBuilder
-
getTestsOrBuilderList
Test cases of the test section. Each test case represents a test scenario.
repeated .cel.expr.conformance.test.TestCase tests = 3;- Specified by:
getTestsOrBuilderListin interfaceTestSectionOrBuilder
-
addTestsBuilder
Test cases of the test section. Each test case represents a test scenario.
repeated .cel.expr.conformance.test.TestCase tests = 3; -
addTestsBuilder
Test cases of the test section. Each test case represents a test scenario.
repeated .cel.expr.conformance.test.TestCase tests = 3; -
getTestsBuilderList
Test cases of the test section. Each test case represents a test scenario.
repeated .cel.expr.conformance.test.TestCase tests = 3; -
setUnknownFields
public final TestSection.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TestSection.Builder>
-
mergeUnknownFields
public final TestSection.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TestSection.Builder>
-