Class FeatureLists.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<FeatureLists.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<FeatureLists.Builder>
org.tensorflow.example.FeatureLists.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, FeatureListsOrBuilder
Enclosing class:
FeatureLists

public static final class FeatureLists.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<FeatureLists.Builder> implements FeatureListsOrBuilder
Protobuf type tensorflow.FeatureLists
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<FeatureLists.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<FeatureLists.Builder>
    • internalGetFieldAccessorTable

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

      public FeatureLists.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<FeatureLists.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<FeatureLists.Builder>
    • getDefaultInstanceForType

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

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

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

      public FeatureLists.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<FeatureLists.Builder>
    • setField

      public FeatureLists.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<FeatureLists.Builder>
    • clearField

      public FeatureLists.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<FeatureLists.Builder>
    • clearOneof

      public FeatureLists.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<FeatureLists.Builder>
    • setRepeatedField

      public FeatureLists.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<FeatureLists.Builder>
    • addRepeatedField

      public FeatureLists.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<FeatureLists.Builder>
    • mergeFrom

      public FeatureLists.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<FeatureLists.Builder>
    • mergeFrom

      public FeatureLists.Builder mergeFrom(FeatureLists other)
    • isInitialized

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

      public FeatureLists.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<FeatureLists.Builder>
      Throws:
      IOException
    • getFeatureListCount

      public int getFeatureListCount()
      Description copied from interface: FeatureListsOrBuilder
       Map from feature name to feature list.
       
      map<string, .tensorflow.FeatureList> feature_list = 1;
      Specified by:
      getFeatureListCount in interface FeatureListsOrBuilder
    • containsFeatureList

      public boolean containsFeatureList(String key)
       Map from feature name to feature list.
       
      map<string, .tensorflow.FeatureList> feature_list = 1;
      Specified by:
      containsFeatureList in interface FeatureListsOrBuilder
    • getFeatureList

      @Deprecated public Map<String,FeatureList> getFeatureList()
      Deprecated.
      Use getFeatureListMap() instead.
      Specified by:
      getFeatureList in interface FeatureListsOrBuilder
    • getFeatureListMap

      public Map<String,FeatureList> getFeatureListMap()
       Map from feature name to feature list.
       
      map<string, .tensorflow.FeatureList> feature_list = 1;
      Specified by:
      getFeatureListMap in interface FeatureListsOrBuilder
    • getFeatureListOrDefault

      public FeatureList getFeatureListOrDefault(String key, FeatureList defaultValue)
       Map from feature name to feature list.
       
      map<string, .tensorflow.FeatureList> feature_list = 1;
      Specified by:
      getFeatureListOrDefault in interface FeatureListsOrBuilder
    • getFeatureListOrThrow

      public FeatureList getFeatureListOrThrow(String key)
       Map from feature name to feature list.
       
      map<string, .tensorflow.FeatureList> feature_list = 1;
      Specified by:
      getFeatureListOrThrow in interface FeatureListsOrBuilder
    • clearFeatureList

      public FeatureLists.Builder clearFeatureList()
    • removeFeatureList

      public FeatureLists.Builder removeFeatureList(String key)
       Map from feature name to feature list.
       
      map<string, .tensorflow.FeatureList> feature_list = 1;
    • getMutableFeatureList

      @Deprecated public Map<String,FeatureList> getMutableFeatureList()
      Deprecated.
      Use alternate mutation accessors instead.
    • putFeatureList

      public FeatureLists.Builder putFeatureList(String key, FeatureList value)
       Map from feature name to feature list.
       
      map<string, .tensorflow.FeatureList> feature_list = 1;
    • putAllFeatureList

      public FeatureLists.Builder putAllFeatureList(Map<String,FeatureList> values)
       Map from feature name to feature list.
       
      map<string, .tensorflow.FeatureList> feature_list = 1;
    • putFeatureListBuilderIfAbsent

      public FeatureList.Builder putFeatureListBuilderIfAbsent(String key)
       Map from feature name to feature list.
       
      map<string, .tensorflow.FeatureList> feature_list = 1;
    • setUnknownFields

      public final FeatureLists.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<FeatureLists.Builder>
    • mergeUnknownFields

      public final FeatureLists.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<FeatureLists.Builder>