Package dev.cel.expr.conformance.test
Class SimpleTestFile.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<SimpleTestFile.Builder>
dev.cel.expr.conformance.test.SimpleTestFile.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,SimpleTestFileOrBuilder,Cloneable
- Enclosing class:
- SimpleTestFile
public static final class SimpleTestFile.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<SimpleTestFile.Builder>
implements SimpleTestFileOrBuilder
The format of a simple test file, expected to be stored in text format. A file is the unit of granularity for selecting conformance tests, so tests of optional features should be segregated into separate files. Deprecated: Use cel.expr.conformance.test.SuiteProtobuf type
cel.expr.conformance.test.SimpleTestFile-
Method Summary
Modifier and TypeMethodDescriptionaddAllSection(Iterable<? extends SimpleTestSection> values) The contained sections.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addSection(int index, SimpleTestSection value) The contained sections.addSection(int index, SimpleTestSection.Builder builderForValue) The contained sections.addSection(SimpleTestSection value) The contained sections.addSection(SimpleTestSection.Builder builderForValue) The contained sections.The contained sections.addSectionBuilder(int index) The contained sections.build()clear()A description of the file.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Required.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The contained sections.clone()A description of the file.com.google.protobuf.ByteStringA description of the file.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetName()Required.com.google.protobuf.ByteStringRequired.getSection(int index) The contained sections.getSectionBuilder(int index) The contained sections.The contained sections.intThe contained sections.The contained sections.getSectionOrBuilder(int index) The contained sections.List<? extends SimpleTestSectionOrBuilder>The contained sections.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(SimpleTestFile other) final SimpleTestFile.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeSection(int index) The contained sections.setDescription(String value) A description of the file.setDescriptionBytes(com.google.protobuf.ByteString value) A description of the file.Required.setNameBytes(com.google.protobuf.ByteString value) Required.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSection(int index, SimpleTestSection value) The contained sections.setSection(int index, SimpleTestSection.Builder builderForValue) The contained sections.final SimpleTestFile.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<SimpleTestFile.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<SimpleTestFile.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<SimpleTestFile.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<SimpleTestFile.Builder>
-
setField
public SimpleTestFile.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<SimpleTestFile.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SimpleTestFile.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<SimpleTestFile.Builder>
-
setRepeatedField
public SimpleTestFile.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<SimpleTestFile.Builder>
-
addRepeatedField
public SimpleTestFile.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<SimpleTestFile.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SimpleTestFile.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<SimpleTestFile.Builder>
-
mergeFrom
public SimpleTestFile.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<SimpleTestFile.Builder>- Throws:
IOException
-
getName
Required. The name of the file. Should match the filename.
string name = 1;- Specified by:
getNamein interfaceSimpleTestFileOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Required. The name of the file. Should match the filename.
string name = 1;- Specified by:
getNameBytesin interfaceSimpleTestFileOrBuilder- Returns:
- The bytes for name.
-
setName
Required. The name of the file. Should match the filename.
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Required. The name of the file. Should match the filename.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
Required. The name of the file. Should match the filename.
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDescription
A description of the file.
string description = 2;- Specified by:
getDescriptionin interfaceSimpleTestFileOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()A description of the file.
string description = 2;- Specified by:
getDescriptionBytesin interfaceSimpleTestFileOrBuilder- Returns:
- The bytes for description.
-
setDescription
A description of the file.
string description = 2;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
A description of the file.
string description = 2;- Returns:
- This builder for chaining.
-
setDescriptionBytes
A description of the file.
string description = 2;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
getSectionList
The contained sections.
repeated .cel.expr.conformance.test.SimpleTestSection section = 3;- Specified by:
getSectionListin interfaceSimpleTestFileOrBuilder
-
getSectionCount
public int getSectionCount()The contained sections.
repeated .cel.expr.conformance.test.SimpleTestSection section = 3;- Specified by:
getSectionCountin interfaceSimpleTestFileOrBuilder
-
getSection
The contained sections.
repeated .cel.expr.conformance.test.SimpleTestSection section = 3;- Specified by:
getSectionin interfaceSimpleTestFileOrBuilder
-
setSection
The contained sections.
repeated .cel.expr.conformance.test.SimpleTestSection section = 3; -
setSection
The contained sections.
repeated .cel.expr.conformance.test.SimpleTestSection section = 3; -
addSection
The contained sections.
repeated .cel.expr.conformance.test.SimpleTestSection section = 3; -
addSection
The contained sections.
repeated .cel.expr.conformance.test.SimpleTestSection section = 3; -
addSection
The contained sections.
repeated .cel.expr.conformance.test.SimpleTestSection section = 3; -
addSection
The contained sections.
repeated .cel.expr.conformance.test.SimpleTestSection section = 3; -
addAllSection
The contained sections.
repeated .cel.expr.conformance.test.SimpleTestSection section = 3; -
clearSection
The contained sections.
repeated .cel.expr.conformance.test.SimpleTestSection section = 3; -
removeSection
The contained sections.
repeated .cel.expr.conformance.test.SimpleTestSection section = 3; -
getSectionBuilder
The contained sections.
repeated .cel.expr.conformance.test.SimpleTestSection section = 3; -
getSectionOrBuilder
The contained sections.
repeated .cel.expr.conformance.test.SimpleTestSection section = 3;- Specified by:
getSectionOrBuilderin interfaceSimpleTestFileOrBuilder
-
getSectionOrBuilderList
The contained sections.
repeated .cel.expr.conformance.test.SimpleTestSection section = 3;- Specified by:
getSectionOrBuilderListin interfaceSimpleTestFileOrBuilder
-
addSectionBuilder
The contained sections.
repeated .cel.expr.conformance.test.SimpleTestSection section = 3; -
addSectionBuilder
The contained sections.
repeated .cel.expr.conformance.test.SimpleTestSection section = 3; -
getSectionBuilderList
The contained sections.
repeated .cel.expr.conformance.test.SimpleTestSection section = 3; -
setUnknownFields
public final SimpleTestFile.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SimpleTestFile.Builder>
-
mergeUnknownFields
public final SimpleTestFile.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SimpleTestFile.Builder>
-