Class Schema.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, SchemaOrBuilder
    Enclosing class:
    Schema

    public static final class Schema.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Schema.Builder>
    implements SchemaOrBuilder
     Message to represent schema information.
     NextID: 14
     
    Protobuf type tensorflow.metadata.v0.Schema
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Schema.Builder>
      • internalGetMutableMapField

        protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
        Overrides:
        internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Schema.Builder>
      • internalGetFieldAccessorTable

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

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

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

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

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

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

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

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

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

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

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

        public Schema.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<Schema.Builder>
      • isInitialized

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

        public Schema.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<Schema.Builder>
        Throws:
        IOException
      • getFeatureList

        public List<Feature> getFeatureList()
         Features described in this schema.
         
        repeated .tensorflow.metadata.v0.Feature feature = 1;
        Specified by:
        getFeatureList in interface SchemaOrBuilder
      • getFeatureCount

        public int getFeatureCount()
         Features described in this schema.
         
        repeated .tensorflow.metadata.v0.Feature feature = 1;
        Specified by:
        getFeatureCount in interface SchemaOrBuilder
      • getFeature

        public Feature getFeature​(int index)
         Features described in this schema.
         
        repeated .tensorflow.metadata.v0.Feature feature = 1;
        Specified by:
        getFeature in interface SchemaOrBuilder
      • setFeature

        public Schema.Builder setFeature​(int index,
                                         Feature value)
         Features described in this schema.
         
        repeated .tensorflow.metadata.v0.Feature feature = 1;
      • setFeature

        public Schema.Builder setFeature​(int index,
                                         Feature.Builder builderForValue)
         Features described in this schema.
         
        repeated .tensorflow.metadata.v0.Feature feature = 1;
      • addFeature

        public Schema.Builder addFeature​(Feature value)
         Features described in this schema.
         
        repeated .tensorflow.metadata.v0.Feature feature = 1;
      • addFeature

        public Schema.Builder addFeature​(int index,
                                         Feature value)
         Features described in this schema.
         
        repeated .tensorflow.metadata.v0.Feature feature = 1;
      • addFeature

        public Schema.Builder addFeature​(Feature.Builder builderForValue)
         Features described in this schema.
         
        repeated .tensorflow.metadata.v0.Feature feature = 1;
      • addFeature

        public Schema.Builder addFeature​(int index,
                                         Feature.Builder builderForValue)
         Features described in this schema.
         
        repeated .tensorflow.metadata.v0.Feature feature = 1;
      • addAllFeature

        public Schema.Builder addAllFeature​(Iterable<? extends Feature> values)
         Features described in this schema.
         
        repeated .tensorflow.metadata.v0.Feature feature = 1;
      • clearFeature

        public Schema.Builder clearFeature()
         Features described in this schema.
         
        repeated .tensorflow.metadata.v0.Feature feature = 1;
      • removeFeature

        public Schema.Builder removeFeature​(int index)
         Features described in this schema.
         
        repeated .tensorflow.metadata.v0.Feature feature = 1;
      • getFeatureBuilder

        public Feature.Builder getFeatureBuilder​(int index)
         Features described in this schema.
         
        repeated .tensorflow.metadata.v0.Feature feature = 1;
      • addFeatureBuilder

        public Feature.Builder addFeatureBuilder()
         Features described in this schema.
         
        repeated .tensorflow.metadata.v0.Feature feature = 1;
      • addFeatureBuilder

        public Feature.Builder addFeatureBuilder​(int index)
         Features described in this schema.
         
        repeated .tensorflow.metadata.v0.Feature feature = 1;
      • getFeatureBuilderList

        public List<Feature.Builder> getFeatureBuilderList()
         Features described in this schema.
         
        repeated .tensorflow.metadata.v0.Feature feature = 1;
      • getSparseFeatureCount

        public int getSparseFeatureCount()
         Sparse features described in this schema.
         
        repeated .tensorflow.metadata.v0.SparseFeature sparse_feature = 6;
        Specified by:
        getSparseFeatureCount in interface SchemaOrBuilder
      • getSparseFeature

        public SparseFeature getSparseFeature​(int index)
         Sparse features described in this schema.
         
        repeated .tensorflow.metadata.v0.SparseFeature sparse_feature = 6;
        Specified by:
        getSparseFeature in interface SchemaOrBuilder
      • setSparseFeature

        public Schema.Builder setSparseFeature​(int index,
                                               SparseFeature value)
         Sparse features described in this schema.
         
        repeated .tensorflow.metadata.v0.SparseFeature sparse_feature = 6;
      • setSparseFeature

        public Schema.Builder setSparseFeature​(int index,
                                               SparseFeature.Builder builderForValue)
         Sparse features described in this schema.
         
        repeated .tensorflow.metadata.v0.SparseFeature sparse_feature = 6;
      • addSparseFeature

        public Schema.Builder addSparseFeature​(SparseFeature value)
         Sparse features described in this schema.
         
        repeated .tensorflow.metadata.v0.SparseFeature sparse_feature = 6;
      • addSparseFeature

        public Schema.Builder addSparseFeature​(int index,
                                               SparseFeature value)
         Sparse features described in this schema.
         
        repeated .tensorflow.metadata.v0.SparseFeature sparse_feature = 6;
      • addSparseFeature

        public Schema.Builder addSparseFeature​(SparseFeature.Builder builderForValue)
         Sparse features described in this schema.
         
        repeated .tensorflow.metadata.v0.SparseFeature sparse_feature = 6;
      • addSparseFeature

        public Schema.Builder addSparseFeature​(int index,
                                               SparseFeature.Builder builderForValue)
         Sparse features described in this schema.
         
        repeated .tensorflow.metadata.v0.SparseFeature sparse_feature = 6;
      • addAllSparseFeature

        public Schema.Builder addAllSparseFeature​(Iterable<? extends SparseFeature> values)
         Sparse features described in this schema.
         
        repeated .tensorflow.metadata.v0.SparseFeature sparse_feature = 6;
      • clearSparseFeature

        public Schema.Builder clearSparseFeature()
         Sparse features described in this schema.
         
        repeated .tensorflow.metadata.v0.SparseFeature sparse_feature = 6;
      • removeSparseFeature

        public Schema.Builder removeSparseFeature​(int index)
         Sparse features described in this schema.
         
        repeated .tensorflow.metadata.v0.SparseFeature sparse_feature = 6;
      • getSparseFeatureBuilder

        public SparseFeature.Builder getSparseFeatureBuilder​(int index)
         Sparse features described in this schema.
         
        repeated .tensorflow.metadata.v0.SparseFeature sparse_feature = 6;
      • addSparseFeatureBuilder

        public SparseFeature.Builder addSparseFeatureBuilder()
         Sparse features described in this schema.
         
        repeated .tensorflow.metadata.v0.SparseFeature sparse_feature = 6;
      • addSparseFeatureBuilder

        public SparseFeature.Builder addSparseFeatureBuilder​(int index)
         Sparse features described in this schema.
         
        repeated .tensorflow.metadata.v0.SparseFeature sparse_feature = 6;
      • getSparseFeatureBuilderList

        public List<SparseFeature.Builder> getSparseFeatureBuilderList()
         Sparse features described in this schema.
         
        repeated .tensorflow.metadata.v0.SparseFeature sparse_feature = 6;
      • getWeightedFeatureCount

        public int getWeightedFeatureCount()
         Weighted features described in this schema.
         
        repeated .tensorflow.metadata.v0.WeightedFeature weighted_feature = 12;
        Specified by:
        getWeightedFeatureCount in interface SchemaOrBuilder
      • getWeightedFeature

        public WeightedFeature getWeightedFeature​(int index)
         Weighted features described in this schema.
         
        repeated .tensorflow.metadata.v0.WeightedFeature weighted_feature = 12;
        Specified by:
        getWeightedFeature in interface SchemaOrBuilder
      • setWeightedFeature

        public Schema.Builder setWeightedFeature​(int index,
                                                 WeightedFeature value)
         Weighted features described in this schema.
         
        repeated .tensorflow.metadata.v0.WeightedFeature weighted_feature = 12;
      • setWeightedFeature

        public Schema.Builder setWeightedFeature​(int index,
                                                 WeightedFeature.Builder builderForValue)
         Weighted features described in this schema.
         
        repeated .tensorflow.metadata.v0.WeightedFeature weighted_feature = 12;
      • addWeightedFeature

        public Schema.Builder addWeightedFeature​(WeightedFeature value)
         Weighted features described in this schema.
         
        repeated .tensorflow.metadata.v0.WeightedFeature weighted_feature = 12;
      • addWeightedFeature

        public Schema.Builder addWeightedFeature​(int index,
                                                 WeightedFeature value)
         Weighted features described in this schema.
         
        repeated .tensorflow.metadata.v0.WeightedFeature weighted_feature = 12;
      • addWeightedFeature

        public Schema.Builder addWeightedFeature​(WeightedFeature.Builder builderForValue)
         Weighted features described in this schema.
         
        repeated .tensorflow.metadata.v0.WeightedFeature weighted_feature = 12;
      • addWeightedFeature

        public Schema.Builder addWeightedFeature​(int index,
                                                 WeightedFeature.Builder builderForValue)
         Weighted features described in this schema.
         
        repeated .tensorflow.metadata.v0.WeightedFeature weighted_feature = 12;
      • addAllWeightedFeature

        public Schema.Builder addAllWeightedFeature​(Iterable<? extends WeightedFeature> values)
         Weighted features described in this schema.
         
        repeated .tensorflow.metadata.v0.WeightedFeature weighted_feature = 12;
      • clearWeightedFeature

        public Schema.Builder clearWeightedFeature()
         Weighted features described in this schema.
         
        repeated .tensorflow.metadata.v0.WeightedFeature weighted_feature = 12;
      • removeWeightedFeature

        public Schema.Builder removeWeightedFeature​(int index)
         Weighted features described in this schema.
         
        repeated .tensorflow.metadata.v0.WeightedFeature weighted_feature = 12;
      • getWeightedFeatureBuilder

        public WeightedFeature.Builder getWeightedFeatureBuilder​(int index)
         Weighted features described in this schema.
         
        repeated .tensorflow.metadata.v0.WeightedFeature weighted_feature = 12;
      • addWeightedFeatureBuilder

        public WeightedFeature.Builder addWeightedFeatureBuilder()
         Weighted features described in this schema.
         
        repeated .tensorflow.metadata.v0.WeightedFeature weighted_feature = 12;
      • addWeightedFeatureBuilder

        public WeightedFeature.Builder addWeightedFeatureBuilder​(int index)
         Weighted features described in this schema.
         
        repeated .tensorflow.metadata.v0.WeightedFeature weighted_feature = 12;
      • getWeightedFeatureBuilderList

        public List<WeightedFeature.Builder> getWeightedFeatureBuilderList()
         Weighted features described in this schema.
         
        repeated .tensorflow.metadata.v0.WeightedFeature weighted_feature = 12;
      • getStringDomainList

        public List<StringDomain> getStringDomainList()
         declared as top-level features in <feature>.
         String domains referenced in the features.
         
        repeated .tensorflow.metadata.v0.StringDomain string_domain = 4;
        Specified by:
        getStringDomainList in interface SchemaOrBuilder
      • getStringDomainCount

        public int getStringDomainCount()
         declared as top-level features in <feature>.
         String domains referenced in the features.
         
        repeated .tensorflow.metadata.v0.StringDomain string_domain = 4;
        Specified by:
        getStringDomainCount in interface SchemaOrBuilder
      • getStringDomain

        public StringDomain getStringDomain​(int index)
         declared as top-level features in <feature>.
         String domains referenced in the features.
         
        repeated .tensorflow.metadata.v0.StringDomain string_domain = 4;
        Specified by:
        getStringDomain in interface SchemaOrBuilder
      • setStringDomain

        public Schema.Builder setStringDomain​(int index,
                                              StringDomain value)
         declared as top-level features in <feature>.
         String domains referenced in the features.
         
        repeated .tensorflow.metadata.v0.StringDomain string_domain = 4;
      • setStringDomain

        public Schema.Builder setStringDomain​(int index,
                                              StringDomain.Builder builderForValue)
         declared as top-level features in <feature>.
         String domains referenced in the features.
         
        repeated .tensorflow.metadata.v0.StringDomain string_domain = 4;
      • addStringDomain

        public Schema.Builder addStringDomain​(StringDomain value)
         declared as top-level features in <feature>.
         String domains referenced in the features.
         
        repeated .tensorflow.metadata.v0.StringDomain string_domain = 4;
      • addStringDomain

        public Schema.Builder addStringDomain​(int index,
                                              StringDomain value)
         declared as top-level features in <feature>.
         String domains referenced in the features.
         
        repeated .tensorflow.metadata.v0.StringDomain string_domain = 4;
      • addStringDomain

        public Schema.Builder addStringDomain​(StringDomain.Builder builderForValue)
         declared as top-level features in <feature>.
         String domains referenced in the features.
         
        repeated .tensorflow.metadata.v0.StringDomain string_domain = 4;
      • addStringDomain

        public Schema.Builder addStringDomain​(int index,
                                              StringDomain.Builder builderForValue)
         declared as top-level features in <feature>.
         String domains referenced in the features.
         
        repeated .tensorflow.metadata.v0.StringDomain string_domain = 4;
      • addAllStringDomain

        public Schema.Builder addAllStringDomain​(Iterable<? extends StringDomain> values)
         declared as top-level features in <feature>.
         String domains referenced in the features.
         
        repeated .tensorflow.metadata.v0.StringDomain string_domain = 4;
      • clearStringDomain

        public Schema.Builder clearStringDomain()
         declared as top-level features in <feature>.
         String domains referenced in the features.
         
        repeated .tensorflow.metadata.v0.StringDomain string_domain = 4;
      • removeStringDomain

        public Schema.Builder removeStringDomain​(int index)
         declared as top-level features in <feature>.
         String domains referenced in the features.
         
        repeated .tensorflow.metadata.v0.StringDomain string_domain = 4;
      • getStringDomainBuilder

        public StringDomain.Builder getStringDomainBuilder​(int index)
         declared as top-level features in <feature>.
         String domains referenced in the features.
         
        repeated .tensorflow.metadata.v0.StringDomain string_domain = 4;
      • getStringDomainOrBuilder

        public StringDomainOrBuilder getStringDomainOrBuilder​(int index)
         declared as top-level features in <feature>.
         String domains referenced in the features.
         
        repeated .tensorflow.metadata.v0.StringDomain string_domain = 4;
        Specified by:
        getStringDomainOrBuilder in interface SchemaOrBuilder
      • addStringDomainBuilder

        public StringDomain.Builder addStringDomainBuilder()
         declared as top-level features in <feature>.
         String domains referenced in the features.
         
        repeated .tensorflow.metadata.v0.StringDomain string_domain = 4;
      • addStringDomainBuilder

        public StringDomain.Builder addStringDomainBuilder​(int index)
         declared as top-level features in <feature>.
         String domains referenced in the features.
         
        repeated .tensorflow.metadata.v0.StringDomain string_domain = 4;
      • getStringDomainBuilderList

        public List<StringDomain.Builder> getStringDomainBuilderList()
         declared as top-level features in <feature>.
         String domains referenced in the features.
         
        repeated .tensorflow.metadata.v0.StringDomain string_domain = 4;
      • getFloatDomainList

        public List<FloatDomain> getFloatDomainList()
         top level float domains that can be reused by features
         
        repeated .tensorflow.metadata.v0.FloatDomain float_domain = 9;
        Specified by:
        getFloatDomainList in interface SchemaOrBuilder
      • getFloatDomainCount

        public int getFloatDomainCount()
         top level float domains that can be reused by features
         
        repeated .tensorflow.metadata.v0.FloatDomain float_domain = 9;
        Specified by:
        getFloatDomainCount in interface SchemaOrBuilder
      • getFloatDomain

        public FloatDomain getFloatDomain​(int index)
         top level float domains that can be reused by features
         
        repeated .tensorflow.metadata.v0.FloatDomain float_domain = 9;
        Specified by:
        getFloatDomain in interface SchemaOrBuilder
      • setFloatDomain

        public Schema.Builder setFloatDomain​(int index,
                                             FloatDomain value)
         top level float domains that can be reused by features
         
        repeated .tensorflow.metadata.v0.FloatDomain float_domain = 9;
      • setFloatDomain

        public Schema.Builder setFloatDomain​(int index,
                                             FloatDomain.Builder builderForValue)
         top level float domains that can be reused by features
         
        repeated .tensorflow.metadata.v0.FloatDomain float_domain = 9;
      • addFloatDomain

        public Schema.Builder addFloatDomain​(FloatDomain value)
         top level float domains that can be reused by features
         
        repeated .tensorflow.metadata.v0.FloatDomain float_domain = 9;
      • addFloatDomain

        public Schema.Builder addFloatDomain​(int index,
                                             FloatDomain value)
         top level float domains that can be reused by features
         
        repeated .tensorflow.metadata.v0.FloatDomain float_domain = 9;
      • addFloatDomain

        public Schema.Builder addFloatDomain​(FloatDomain.Builder builderForValue)
         top level float domains that can be reused by features
         
        repeated .tensorflow.metadata.v0.FloatDomain float_domain = 9;
      • addFloatDomain

        public Schema.Builder addFloatDomain​(int index,
                                             FloatDomain.Builder builderForValue)
         top level float domains that can be reused by features
         
        repeated .tensorflow.metadata.v0.FloatDomain float_domain = 9;
      • addAllFloatDomain

        public Schema.Builder addAllFloatDomain​(Iterable<? extends FloatDomain> values)
         top level float domains that can be reused by features
         
        repeated .tensorflow.metadata.v0.FloatDomain float_domain = 9;
      • clearFloatDomain

        public Schema.Builder clearFloatDomain()
         top level float domains that can be reused by features
         
        repeated .tensorflow.metadata.v0.FloatDomain float_domain = 9;
      • removeFloatDomain

        public Schema.Builder removeFloatDomain​(int index)
         top level float domains that can be reused by features
         
        repeated .tensorflow.metadata.v0.FloatDomain float_domain = 9;
      • getFloatDomainBuilder

        public FloatDomain.Builder getFloatDomainBuilder​(int index)
         top level float domains that can be reused by features
         
        repeated .tensorflow.metadata.v0.FloatDomain float_domain = 9;
      • addFloatDomainBuilder

        public FloatDomain.Builder addFloatDomainBuilder()
         top level float domains that can be reused by features
         
        repeated .tensorflow.metadata.v0.FloatDomain float_domain = 9;
      • addFloatDomainBuilder

        public FloatDomain.Builder addFloatDomainBuilder​(int index)
         top level float domains that can be reused by features
         
        repeated .tensorflow.metadata.v0.FloatDomain float_domain = 9;
      • getFloatDomainBuilderList

        public List<FloatDomain.Builder> getFloatDomainBuilderList()
         top level float domains that can be reused by features
         
        repeated .tensorflow.metadata.v0.FloatDomain float_domain = 9;
      • getIntDomainList

        public List<IntDomain> getIntDomainList()
         top level int domains that can be reused by features
         
        repeated .tensorflow.metadata.v0.IntDomain int_domain = 10;
        Specified by:
        getIntDomainList in interface SchemaOrBuilder
      • getIntDomainCount

        public int getIntDomainCount()
         top level int domains that can be reused by features
         
        repeated .tensorflow.metadata.v0.IntDomain int_domain = 10;
        Specified by:
        getIntDomainCount in interface SchemaOrBuilder
      • getIntDomain

        public IntDomain getIntDomain​(int index)
         top level int domains that can be reused by features
         
        repeated .tensorflow.metadata.v0.IntDomain int_domain = 10;
        Specified by:
        getIntDomain in interface SchemaOrBuilder
      • setIntDomain

        public Schema.Builder setIntDomain​(int index,
                                           IntDomain value)
         top level int domains that can be reused by features
         
        repeated .tensorflow.metadata.v0.IntDomain int_domain = 10;
      • setIntDomain

        public Schema.Builder setIntDomain​(int index,
                                           IntDomain.Builder builderForValue)
         top level int domains that can be reused by features
         
        repeated .tensorflow.metadata.v0.IntDomain int_domain = 10;
      • addIntDomain

        public Schema.Builder addIntDomain​(IntDomain value)
         top level int domains that can be reused by features
         
        repeated .tensorflow.metadata.v0.IntDomain int_domain = 10;
      • addIntDomain

        public Schema.Builder addIntDomain​(int index,
                                           IntDomain value)
         top level int domains that can be reused by features
         
        repeated .tensorflow.metadata.v0.IntDomain int_domain = 10;
      • addIntDomain

        public Schema.Builder addIntDomain​(IntDomain.Builder builderForValue)
         top level int domains that can be reused by features
         
        repeated .tensorflow.metadata.v0.IntDomain int_domain = 10;
      • addIntDomain

        public Schema.Builder addIntDomain​(int index,
                                           IntDomain.Builder builderForValue)
         top level int domains that can be reused by features
         
        repeated .tensorflow.metadata.v0.IntDomain int_domain = 10;
      • addAllIntDomain

        public Schema.Builder addAllIntDomain​(Iterable<? extends IntDomain> values)
         top level int domains that can be reused by features
         
        repeated .tensorflow.metadata.v0.IntDomain int_domain = 10;
      • clearIntDomain

        public Schema.Builder clearIntDomain()
         top level int domains that can be reused by features
         
        repeated .tensorflow.metadata.v0.IntDomain int_domain = 10;
      • removeIntDomain

        public Schema.Builder removeIntDomain​(int index)
         top level int domains that can be reused by features
         
        repeated .tensorflow.metadata.v0.IntDomain int_domain = 10;
      • getIntDomainBuilder

        public IntDomain.Builder getIntDomainBuilder​(int index)
         top level int domains that can be reused by features
         
        repeated .tensorflow.metadata.v0.IntDomain int_domain = 10;
      • addIntDomainBuilder

        public IntDomain.Builder addIntDomainBuilder()
         top level int domains that can be reused by features
         
        repeated .tensorflow.metadata.v0.IntDomain int_domain = 10;
      • addIntDomainBuilder

        public IntDomain.Builder addIntDomainBuilder​(int index)
         top level int domains that can be reused by features
         
        repeated .tensorflow.metadata.v0.IntDomain int_domain = 10;
      • getIntDomainBuilderList

        public List<IntDomain.Builder> getIntDomainBuilderList()
         top level int domains that can be reused by features
         
        repeated .tensorflow.metadata.v0.IntDomain int_domain = 10;
      • getDefaultEnvironmentList

        public com.google.protobuf.ProtocolStringList getDefaultEnvironmentList()
         Default environments for each feature.
         An environment represents both a type of location (e.g. a server or phone)
         and a time (e.g. right before model X is run). In the standard scenario,
         99% of the features should be in the default environments TRAINING,
         SERVING, and the LABEL (or labels) AND WEIGHT is only available at TRAINING
         (not at serving).
         Other possible variations:
         1. There may be TRAINING_MOBILE, SERVING_MOBILE, TRAINING_SERVICE,
            and SERVING_SERVICE.
         2. If one is ensembling three models, where the predictions of the first
            three models are available for the ensemble model, there may be
            TRAINING, SERVING_INITIAL, SERVING_ENSEMBLE.
         See FeatureProto::not_in_environment and FeatureProto::in_environment.
         
        repeated string default_environment = 5;
        Specified by:
        getDefaultEnvironmentList in interface SchemaOrBuilder
        Returns:
        A list containing the defaultEnvironment.
      • getDefaultEnvironmentCount

        public int getDefaultEnvironmentCount()
         Default environments for each feature.
         An environment represents both a type of location (e.g. a server or phone)
         and a time (e.g. right before model X is run). In the standard scenario,
         99% of the features should be in the default environments TRAINING,
         SERVING, and the LABEL (or labels) AND WEIGHT is only available at TRAINING
         (not at serving).
         Other possible variations:
         1. There may be TRAINING_MOBILE, SERVING_MOBILE, TRAINING_SERVICE,
            and SERVING_SERVICE.
         2. If one is ensembling three models, where the predictions of the first
            three models are available for the ensemble model, there may be
            TRAINING, SERVING_INITIAL, SERVING_ENSEMBLE.
         See FeatureProto::not_in_environment and FeatureProto::in_environment.
         
        repeated string default_environment = 5;
        Specified by:
        getDefaultEnvironmentCount in interface SchemaOrBuilder
        Returns:
        The count of defaultEnvironment.
      • getDefaultEnvironment

        public String getDefaultEnvironment​(int index)
         Default environments for each feature.
         An environment represents both a type of location (e.g. a server or phone)
         and a time (e.g. right before model X is run). In the standard scenario,
         99% of the features should be in the default environments TRAINING,
         SERVING, and the LABEL (or labels) AND WEIGHT is only available at TRAINING
         (not at serving).
         Other possible variations:
         1. There may be TRAINING_MOBILE, SERVING_MOBILE, TRAINING_SERVICE,
            and SERVING_SERVICE.
         2. If one is ensembling three models, where the predictions of the first
            three models are available for the ensemble model, there may be
            TRAINING, SERVING_INITIAL, SERVING_ENSEMBLE.
         See FeatureProto::not_in_environment and FeatureProto::in_environment.
         
        repeated string default_environment = 5;
        Specified by:
        getDefaultEnvironment in interface SchemaOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The defaultEnvironment at the given index.
      • getDefaultEnvironmentBytes

        public com.google.protobuf.ByteString getDefaultEnvironmentBytes​(int index)
         Default environments for each feature.
         An environment represents both a type of location (e.g. a server or phone)
         and a time (e.g. right before model X is run). In the standard scenario,
         99% of the features should be in the default environments TRAINING,
         SERVING, and the LABEL (or labels) AND WEIGHT is only available at TRAINING
         (not at serving).
         Other possible variations:
         1. There may be TRAINING_MOBILE, SERVING_MOBILE, TRAINING_SERVICE,
            and SERVING_SERVICE.
         2. If one is ensembling three models, where the predictions of the first
            three models are available for the ensemble model, there may be
            TRAINING, SERVING_INITIAL, SERVING_ENSEMBLE.
         See FeatureProto::not_in_environment and FeatureProto::in_environment.
         
        repeated string default_environment = 5;
        Specified by:
        getDefaultEnvironmentBytes in interface SchemaOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the defaultEnvironment at the given index.
      • setDefaultEnvironment

        public Schema.Builder setDefaultEnvironment​(int index,
                                                    String value)
         Default environments for each feature.
         An environment represents both a type of location (e.g. a server or phone)
         and a time (e.g. right before model X is run). In the standard scenario,
         99% of the features should be in the default environments TRAINING,
         SERVING, and the LABEL (or labels) AND WEIGHT is only available at TRAINING
         (not at serving).
         Other possible variations:
         1. There may be TRAINING_MOBILE, SERVING_MOBILE, TRAINING_SERVICE,
            and SERVING_SERVICE.
         2. If one is ensembling three models, where the predictions of the first
            three models are available for the ensemble model, there may be
            TRAINING, SERVING_INITIAL, SERVING_ENSEMBLE.
         See FeatureProto::not_in_environment and FeatureProto::in_environment.
         
        repeated string default_environment = 5;
        Parameters:
        index - The index to set the value at.
        value - The defaultEnvironment to set.
        Returns:
        This builder for chaining.
      • addDefaultEnvironment

        public Schema.Builder addDefaultEnvironment​(String value)
         Default environments for each feature.
         An environment represents both a type of location (e.g. a server or phone)
         and a time (e.g. right before model X is run). In the standard scenario,
         99% of the features should be in the default environments TRAINING,
         SERVING, and the LABEL (or labels) AND WEIGHT is only available at TRAINING
         (not at serving).
         Other possible variations:
         1. There may be TRAINING_MOBILE, SERVING_MOBILE, TRAINING_SERVICE,
            and SERVING_SERVICE.
         2. If one is ensembling three models, where the predictions of the first
            three models are available for the ensemble model, there may be
            TRAINING, SERVING_INITIAL, SERVING_ENSEMBLE.
         See FeatureProto::not_in_environment and FeatureProto::in_environment.
         
        repeated string default_environment = 5;
        Parameters:
        value - The defaultEnvironment to add.
        Returns:
        This builder for chaining.
      • addAllDefaultEnvironment

        public Schema.Builder addAllDefaultEnvironment​(Iterable<String> values)
         Default environments for each feature.
         An environment represents both a type of location (e.g. a server or phone)
         and a time (e.g. right before model X is run). In the standard scenario,
         99% of the features should be in the default environments TRAINING,
         SERVING, and the LABEL (or labels) AND WEIGHT is only available at TRAINING
         (not at serving).
         Other possible variations:
         1. There may be TRAINING_MOBILE, SERVING_MOBILE, TRAINING_SERVICE,
            and SERVING_SERVICE.
         2. If one is ensembling three models, where the predictions of the first
            three models are available for the ensemble model, there may be
            TRAINING, SERVING_INITIAL, SERVING_ENSEMBLE.
         See FeatureProto::not_in_environment and FeatureProto::in_environment.
         
        repeated string default_environment = 5;
        Parameters:
        values - The defaultEnvironment to add.
        Returns:
        This builder for chaining.
      • clearDefaultEnvironment

        public Schema.Builder clearDefaultEnvironment()
         Default environments for each feature.
         An environment represents both a type of location (e.g. a server or phone)
         and a time (e.g. right before model X is run). In the standard scenario,
         99% of the features should be in the default environments TRAINING,
         SERVING, and the LABEL (or labels) AND WEIGHT is only available at TRAINING
         (not at serving).
         Other possible variations:
         1. There may be TRAINING_MOBILE, SERVING_MOBILE, TRAINING_SERVICE,
            and SERVING_SERVICE.
         2. If one is ensembling three models, where the predictions of the first
            three models are available for the ensemble model, there may be
            TRAINING, SERVING_INITIAL, SERVING_ENSEMBLE.
         See FeatureProto::not_in_environment and FeatureProto::in_environment.
         
        repeated string default_environment = 5;
        Returns:
        This builder for chaining.
      • addDefaultEnvironmentBytes

        public Schema.Builder addDefaultEnvironmentBytes​(com.google.protobuf.ByteString value)
         Default environments for each feature.
         An environment represents both a type of location (e.g. a server or phone)
         and a time (e.g. right before model X is run). In the standard scenario,
         99% of the features should be in the default environments TRAINING,
         SERVING, and the LABEL (or labels) AND WEIGHT is only available at TRAINING
         (not at serving).
         Other possible variations:
         1. There may be TRAINING_MOBILE, SERVING_MOBILE, TRAINING_SERVICE,
            and SERVING_SERVICE.
         2. If one is ensembling three models, where the predictions of the first
            three models are available for the ensemble model, there may be
            TRAINING, SERVING_INITIAL, SERVING_ENSEMBLE.
         See FeatureProto::not_in_environment and FeatureProto::in_environment.
         
        repeated string default_environment = 5;
        Parameters:
        value - The bytes of the defaultEnvironment to add.
        Returns:
        This builder for chaining.
      • hasAnnotation

        public boolean hasAnnotation()
         Additional information about the schema as a whole. Features may also
         be annotated individually.
         
        optional .tensorflow.metadata.v0.Annotation annotation = 8;
        Specified by:
        hasAnnotation in interface SchemaOrBuilder
        Returns:
        Whether the annotation field is set.
      • getAnnotation

        public Annotation getAnnotation()
         Additional information about the schema as a whole. Features may also
         be annotated individually.
         
        optional .tensorflow.metadata.v0.Annotation annotation = 8;
        Specified by:
        getAnnotation in interface SchemaOrBuilder
        Returns:
        The annotation.
      • setAnnotation

        public Schema.Builder setAnnotation​(Annotation value)
         Additional information about the schema as a whole. Features may also
         be annotated individually.
         
        optional .tensorflow.metadata.v0.Annotation annotation = 8;
      • setAnnotation

        public Schema.Builder setAnnotation​(Annotation.Builder builderForValue)
         Additional information about the schema as a whole. Features may also
         be annotated individually.
         
        optional .tensorflow.metadata.v0.Annotation annotation = 8;
      • mergeAnnotation

        public Schema.Builder mergeAnnotation​(Annotation value)
         Additional information about the schema as a whole. Features may also
         be annotated individually.
         
        optional .tensorflow.metadata.v0.Annotation annotation = 8;
      • clearAnnotation

        public Schema.Builder clearAnnotation()
         Additional information about the schema as a whole. Features may also
         be annotated individually.
         
        optional .tensorflow.metadata.v0.Annotation annotation = 8;
      • getAnnotationBuilder

        public Annotation.Builder getAnnotationBuilder()
         Additional information about the schema as a whole. Features may also
         be annotated individually.
         
        optional .tensorflow.metadata.v0.Annotation annotation = 8;
      • getAnnotationOrBuilder

        public AnnotationOrBuilder getAnnotationOrBuilder()
         Additional information about the schema as a whole. Features may also
         be annotated individually.
         
        optional .tensorflow.metadata.v0.Annotation annotation = 8;
        Specified by:
        getAnnotationOrBuilder in interface SchemaOrBuilder
      • hasDatasetConstraints

        public boolean hasDatasetConstraints()
         Dataset-level constraints. This is currently used for specifying
         information about changes in num_examples.
         
        optional .tensorflow.metadata.v0.DatasetConstraints dataset_constraints = 11;
        Specified by:
        hasDatasetConstraints in interface SchemaOrBuilder
        Returns:
        Whether the datasetConstraints field is set.
      • getDatasetConstraints

        public DatasetConstraints getDatasetConstraints()
         Dataset-level constraints. This is currently used for specifying
         information about changes in num_examples.
         
        optional .tensorflow.metadata.v0.DatasetConstraints dataset_constraints = 11;
        Specified by:
        getDatasetConstraints in interface SchemaOrBuilder
        Returns:
        The datasetConstraints.
      • setDatasetConstraints

        public Schema.Builder setDatasetConstraints​(DatasetConstraints value)
         Dataset-level constraints. This is currently used for specifying
         information about changes in num_examples.
         
        optional .tensorflow.metadata.v0.DatasetConstraints dataset_constraints = 11;
      • setDatasetConstraints

        public Schema.Builder setDatasetConstraints​(DatasetConstraints.Builder builderForValue)
         Dataset-level constraints. This is currently used for specifying
         information about changes in num_examples.
         
        optional .tensorflow.metadata.v0.DatasetConstraints dataset_constraints = 11;
      • mergeDatasetConstraints

        public Schema.Builder mergeDatasetConstraints​(DatasetConstraints value)
         Dataset-level constraints. This is currently used for specifying
         information about changes in num_examples.
         
        optional .tensorflow.metadata.v0.DatasetConstraints dataset_constraints = 11;
      • clearDatasetConstraints

        public Schema.Builder clearDatasetConstraints()
         Dataset-level constraints. This is currently used for specifying
         information about changes in num_examples.
         
        optional .tensorflow.metadata.v0.DatasetConstraints dataset_constraints = 11;
      • getDatasetConstraintsBuilder

        public DatasetConstraints.Builder getDatasetConstraintsBuilder()
         Dataset-level constraints. This is currently used for specifying
         information about changes in num_examples.
         
        optional .tensorflow.metadata.v0.DatasetConstraints dataset_constraints = 11;
      • getDatasetConstraintsOrBuilder

        public DatasetConstraintsOrBuilder getDatasetConstraintsOrBuilder()
         Dataset-level constraints. This is currently used for specifying
         information about changes in num_examples.
         
        optional .tensorflow.metadata.v0.DatasetConstraints dataset_constraints = 11;
        Specified by:
        getDatasetConstraintsOrBuilder in interface SchemaOrBuilder
      • getTensorRepresentationGroupCount

        public int getTensorRepresentationGroupCount()
        Description copied from interface: SchemaOrBuilder
         TensorRepresentation groups. The keys are the names of the groups.
         Key "" (empty string) denotes the "default" group, which is what should
         be used when a group name is not provided.
         See the documentation at TensorRepresentationGroup for more info.
         Under development. DO NOT USE.
         
        map<string, .tensorflow.metadata.v0.TensorRepresentationGroup> tensor_representation_group = 13;
        Specified by:
        getTensorRepresentationGroupCount in interface SchemaOrBuilder
      • containsTensorRepresentationGroup

        public boolean containsTensorRepresentationGroup​(String key)
         TensorRepresentation groups. The keys are the names of the groups.
         Key "" (empty string) denotes the "default" group, which is what should
         be used when a group name is not provided.
         See the documentation at TensorRepresentationGroup for more info.
         Under development. DO NOT USE.
         
        map<string, .tensorflow.metadata.v0.TensorRepresentationGroup> tensor_representation_group = 13;
        Specified by:
        containsTensorRepresentationGroup in interface SchemaOrBuilder
      • getTensorRepresentationGroupMap

        public Map<String,​TensorRepresentationGroup> getTensorRepresentationGroupMap()
         TensorRepresentation groups. The keys are the names of the groups.
         Key "" (empty string) denotes the "default" group, which is what should
         be used when a group name is not provided.
         See the documentation at TensorRepresentationGroup for more info.
         Under development. DO NOT USE.
         
        map<string, .tensorflow.metadata.v0.TensorRepresentationGroup> tensor_representation_group = 13;
        Specified by:
        getTensorRepresentationGroupMap in interface SchemaOrBuilder
      • getTensorRepresentationGroupOrDefault

        public TensorRepresentationGroup getTensorRepresentationGroupOrDefault​(String key,
                                                                               TensorRepresentationGroup defaultValue)
         TensorRepresentation groups. The keys are the names of the groups.
         Key "" (empty string) denotes the "default" group, which is what should
         be used when a group name is not provided.
         See the documentation at TensorRepresentationGroup for more info.
         Under development. DO NOT USE.
         
        map<string, .tensorflow.metadata.v0.TensorRepresentationGroup> tensor_representation_group = 13;
        Specified by:
        getTensorRepresentationGroupOrDefault in interface SchemaOrBuilder
      • getTensorRepresentationGroupOrThrow

        public TensorRepresentationGroup getTensorRepresentationGroupOrThrow​(String key)
         TensorRepresentation groups. The keys are the names of the groups.
         Key "" (empty string) denotes the "default" group, which is what should
         be used when a group name is not provided.
         See the documentation at TensorRepresentationGroup for more info.
         Under development. DO NOT USE.
         
        map<string, .tensorflow.metadata.v0.TensorRepresentationGroup> tensor_representation_group = 13;
        Specified by:
        getTensorRepresentationGroupOrThrow in interface SchemaOrBuilder
      • clearTensorRepresentationGroup

        public Schema.Builder clearTensorRepresentationGroup()
      • removeTensorRepresentationGroup

        public Schema.Builder removeTensorRepresentationGroup​(String key)
         TensorRepresentation groups. The keys are the names of the groups.
         Key "" (empty string) denotes the "default" group, which is what should
         be used when a group name is not provided.
         See the documentation at TensorRepresentationGroup for more info.
         Under development. DO NOT USE.
         
        map<string, .tensorflow.metadata.v0.TensorRepresentationGroup> tensor_representation_group = 13;
      • putTensorRepresentationGroup

        public Schema.Builder putTensorRepresentationGroup​(String key,
                                                           TensorRepresentationGroup value)
         TensorRepresentation groups. The keys are the names of the groups.
         Key "" (empty string) denotes the "default" group, which is what should
         be used when a group name is not provided.
         See the documentation at TensorRepresentationGroup for more info.
         Under development. DO NOT USE.
         
        map<string, .tensorflow.metadata.v0.TensorRepresentationGroup> tensor_representation_group = 13;
      • putAllTensorRepresentationGroup

        public Schema.Builder putAllTensorRepresentationGroup​(Map<String,​TensorRepresentationGroup> values)
         TensorRepresentation groups. The keys are the names of the groups.
         Key "" (empty string) denotes the "default" group, which is what should
         be used when a group name is not provided.
         See the documentation at TensorRepresentationGroup for more info.
         Under development. DO NOT USE.
         
        map<string, .tensorflow.metadata.v0.TensorRepresentationGroup> tensor_representation_group = 13;
      • setUnknownFields

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

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