Package org.tensorflow.example
Class FeatureList.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<FeatureList.Builder>
-
- org.tensorflow.example.FeatureList.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable,FeatureListOrBuilder
- Enclosing class:
- FeatureList
public static final class FeatureList.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<FeatureList.Builder> implements FeatureListOrBuilder
Containers for sequential data. A FeatureList contains lists of Features. These may hold zero or more Feature values. FeatureLists are organized into categories by name. The FeatureLists message contains the mapping from name to FeatureList.
Protobuf typetensorflow.FeatureList
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FeatureList.BuilderaddAllFeature(java.lang.Iterable<? extends Feature> values)repeated .tensorflow.Feature feature = 1;FeatureList.BuilderaddFeature(int index, Feature value)repeated .tensorflow.Feature feature = 1;FeatureList.BuilderaddFeature(int index, Feature.Builder builderForValue)repeated .tensorflow.Feature feature = 1;FeatureList.BuilderaddFeature(Feature value)repeated .tensorflow.Feature feature = 1;FeatureList.BuilderaddFeature(Feature.Builder builderForValue)repeated .tensorflow.Feature feature = 1;Feature.BuilderaddFeatureBuilder()repeated .tensorflow.Feature feature = 1;Feature.BuilderaddFeatureBuilder(int index)repeated .tensorflow.Feature feature = 1;FeatureList.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)FeatureListbuild()FeatureListbuildPartial()FeatureList.Builderclear()FeatureList.BuilderclearFeature()repeated .tensorflow.Feature feature = 1;FeatureList.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)FeatureList.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)FeatureList.Builderclone()FeatureListgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()FeaturegetFeature(int index)repeated .tensorflow.Feature feature = 1;Feature.BuildergetFeatureBuilder(int index)repeated .tensorflow.Feature feature = 1;java.util.List<Feature.Builder>getFeatureBuilderList()repeated .tensorflow.Feature feature = 1;intgetFeatureCount()repeated .tensorflow.Feature feature = 1;java.util.List<Feature>getFeatureList()repeated .tensorflow.Feature feature = 1;FeatureOrBuildergetFeatureOrBuilder(int index)repeated .tensorflow.Feature feature = 1;java.util.List<? extends FeatureOrBuilder>getFeatureOrBuilderList()repeated .tensorflow.Feature feature = 1;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()FeatureList.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)FeatureList.BuildermergeFrom(com.google.protobuf.Message other)FeatureList.BuildermergeFrom(FeatureList other)FeatureList.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)FeatureList.BuilderremoveFeature(int index)repeated .tensorflow.Feature feature = 1;FeatureList.BuildersetFeature(int index, Feature value)repeated .tensorflow.Feature feature = 1;FeatureList.BuildersetFeature(int index, Feature.Builder builderForValue)repeated .tensorflow.Feature feature = 1;FeatureList.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)FeatureList.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)FeatureList.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
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<FeatureList.Builder>
-
clear
public FeatureList.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<FeatureList.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<FeatureList.Builder>
-
getDefaultInstanceForType
public FeatureList getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public FeatureList build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public FeatureList buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public FeatureList.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<FeatureList.Builder>
-
setField
public FeatureList.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FeatureList.Builder>
-
clearField
public FeatureList.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FeatureList.Builder>
-
clearOneof
public FeatureList.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<FeatureList.Builder>
-
setRepeatedField
public FeatureList.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FeatureList.Builder>
-
addRepeatedField
public FeatureList.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FeatureList.Builder>
-
mergeFrom
public FeatureList.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FeatureList.Builder>
-
mergeFrom
public FeatureList.Builder mergeFrom(FeatureList other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<FeatureList.Builder>
-
mergeFrom
public FeatureList.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FeatureList.Builder>- Throws:
java.io.IOException
-
getFeatureList
public java.util.List<Feature> getFeatureList()
repeated .tensorflow.Feature feature = 1;- Specified by:
getFeatureListin interfaceFeatureListOrBuilder
-
getFeatureCount
public int getFeatureCount()
repeated .tensorflow.Feature feature = 1;- Specified by:
getFeatureCountin interfaceFeatureListOrBuilder
-
getFeature
public Feature getFeature(int index)
repeated .tensorflow.Feature feature = 1;- Specified by:
getFeaturein interfaceFeatureListOrBuilder
-
setFeature
public FeatureList.Builder setFeature(int index, Feature value)
repeated .tensorflow.Feature feature = 1;
-
setFeature
public FeatureList.Builder setFeature(int index, Feature.Builder builderForValue)
repeated .tensorflow.Feature feature = 1;
-
addFeature
public FeatureList.Builder addFeature(Feature value)
repeated .tensorflow.Feature feature = 1;
-
addFeature
public FeatureList.Builder addFeature(int index, Feature value)
repeated .tensorflow.Feature feature = 1;
-
addFeature
public FeatureList.Builder addFeature(Feature.Builder builderForValue)
repeated .tensorflow.Feature feature = 1;
-
addFeature
public FeatureList.Builder addFeature(int index, Feature.Builder builderForValue)
repeated .tensorflow.Feature feature = 1;
-
addAllFeature
public FeatureList.Builder addAllFeature(java.lang.Iterable<? extends Feature> values)
repeated .tensorflow.Feature feature = 1;
-
clearFeature
public FeatureList.Builder clearFeature()
repeated .tensorflow.Feature feature = 1;
-
removeFeature
public FeatureList.Builder removeFeature(int index)
repeated .tensorflow.Feature feature = 1;
-
getFeatureBuilder
public Feature.Builder getFeatureBuilder(int index)
repeated .tensorflow.Feature feature = 1;
-
getFeatureOrBuilder
public FeatureOrBuilder getFeatureOrBuilder(int index)
repeated .tensorflow.Feature feature = 1;- Specified by:
getFeatureOrBuilderin interfaceFeatureListOrBuilder
-
getFeatureOrBuilderList
public java.util.List<? extends FeatureOrBuilder> getFeatureOrBuilderList()
repeated .tensorflow.Feature feature = 1;- Specified by:
getFeatureOrBuilderListin interfaceFeatureListOrBuilder
-
addFeatureBuilder
public Feature.Builder addFeatureBuilder()
repeated .tensorflow.Feature feature = 1;
-
addFeatureBuilder
public Feature.Builder addFeatureBuilder(int index)
repeated .tensorflow.Feature feature = 1;
-
getFeatureBuilderList
public java.util.List<Feature.Builder> getFeatureBuilderList()
repeated .tensorflow.Feature feature = 1;
-
setUnknownFields
public final FeatureList.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<FeatureList.Builder>
-
mergeUnknownFields
public final FeatureList.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<FeatureList.Builder>
-
-