Class FeatureList.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<FeatureList.Builder>
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, 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 type tensorflow.FeatureList
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<FeatureList.Builder>
    • clear

      public FeatureList.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<FeatureList.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<FeatureList.Builder>
    • getDefaultInstanceForType

      public FeatureList getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public FeatureList build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public FeatureList buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public FeatureList.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<FeatureList.Builder>
    • setField

      public FeatureList.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<FeatureList.Builder>
    • clearField

      public FeatureList.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<FeatureList.Builder>
    • clearOneof

      public FeatureList.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<FeatureList.Builder>
    • setRepeatedField

      public FeatureList.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<FeatureList.Builder>
    • addRepeatedField

      public FeatureList.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<FeatureList.Builder>
    • mergeFrom

      public FeatureList.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<FeatureList.Builder>
    • mergeFrom

      public FeatureList.Builder mergeFrom(FeatureList other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<FeatureList.Builder>
    • mergeFrom

      public FeatureList.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<FeatureList.Builder>
      Throws:
      IOException
    • getFeatureList

      public List<Feature> getFeatureList()
      repeated .tensorflow.Feature feature = 1;
      Specified by:
      getFeatureList in interface FeatureListOrBuilder
    • getFeatureCount

      public int getFeatureCount()
      repeated .tensorflow.Feature feature = 1;
      Specified by:
      getFeatureCount in interface FeatureListOrBuilder
    • getFeature

      public Feature getFeature(int index)
      repeated .tensorflow.Feature feature = 1;
      Specified by:
      getFeature in interface FeatureListOrBuilder
    • 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(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:
      getFeatureOrBuilder in interface FeatureListOrBuilder
    • getFeatureOrBuilderList

      public List<? extends FeatureOrBuilder> getFeatureOrBuilderList()
      repeated .tensorflow.Feature feature = 1;
      Specified by:
      getFeatureOrBuilderList in interface FeatureListOrBuilder
    • addFeatureBuilder

      public Feature.Builder addFeatureBuilder()
      repeated .tensorflow.Feature feature = 1;
    • addFeatureBuilder

      public Feature.Builder addFeatureBuilder(int index)
      repeated .tensorflow.Feature feature = 1;
    • getFeatureBuilderList

      public List<Feature.Builder> getFeatureBuilderList()
      repeated .tensorflow.Feature feature = 1;
    • setUnknownFields

      public final FeatureList.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FeatureList.Builder>
    • mergeUnknownFields

      public final FeatureList.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FeatureList.Builder>