Class Feature.Builder

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

    public static final class Feature.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Feature.Builder>
    implements FeatureOrBuilder
     Describes schema-level information about a specific feature.
     NextID: 31
     
    Protobuf type tensorflow.metadata.v0.Feature
    • Method Detail

      • 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<Feature.Builder>
      • clear

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

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

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

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

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

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

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

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

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

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

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

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

        public Feature.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<Feature.Builder>
        Throws:
        IOException
      • clearPresenceConstraints

        public Feature.Builder clearPresenceConstraints()
      • hasName

        public boolean hasName()
         The name of the feature.
         
        optional string name = 1;
        Specified by:
        hasName in interface FeatureOrBuilder
        Returns:
        Whether the name field is set.
      • getName

        public String getName()
         The name of the feature.
         
        optional string name = 1;
        Specified by:
        getName in interface FeatureOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         The name of the feature.
         
        optional string name = 1;
        Specified by:
        getNameBytes in interface FeatureOrBuilder
        Returns:
        The bytes for name.
      • setName

        public Feature.Builder setName​(String value)
         The name of the feature.
         
        optional string name = 1;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public Feature.Builder clearName()
         The name of the feature.
         
        optional string name = 1;
        Returns:
        This builder for chaining.
      • setNameBytes

        public Feature.Builder setNameBytes​(com.google.protobuf.ByteString value)
         The name of the feature.
         
        optional string name = 1;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • hasDeprecated

        @Deprecated
        public boolean hasDeprecated()
        Deprecated.
         This field is no longer supported. Instead, use:
         lifecycle_stage: DEPRECATED
         TODO(b/111450258): remove this.
         
        optional bool deprecated = 2 [deprecated = true];
        Specified by:
        hasDeprecated in interface FeatureOrBuilder
        Returns:
        Whether the deprecated field is set.
      • getDeprecated

        @Deprecated
        public boolean getDeprecated()
        Deprecated.
         This field is no longer supported. Instead, use:
         lifecycle_stage: DEPRECATED
         TODO(b/111450258): remove this.
         
        optional bool deprecated = 2 [deprecated = true];
        Specified by:
        getDeprecated in interface FeatureOrBuilder
        Returns:
        The deprecated.
      • setDeprecated

        @Deprecated
        public Feature.Builder setDeprecated​(boolean value)
        Deprecated.
         This field is no longer supported. Instead, use:
         lifecycle_stage: DEPRECATED
         TODO(b/111450258): remove this.
         
        optional bool deprecated = 2 [deprecated = true];
        Parameters:
        value - The deprecated to set.
        Returns:
        This builder for chaining.
      • clearDeprecated

        @Deprecated
        public Feature.Builder clearDeprecated()
        Deprecated.
         This field is no longer supported. Instead, use:
         lifecycle_stage: DEPRECATED
         TODO(b/111450258): remove this.
         
        optional bool deprecated = 2 [deprecated = true];
        Returns:
        This builder for chaining.
      • hasPresence

        public boolean hasPresence()
         Constraints on the presence of this feature in the examples.
         
        optional .tensorflow.metadata.v0.FeaturePresence presence = 14;
        Specified by:
        hasPresence in interface FeatureOrBuilder
        Returns:
        Whether the presence field is set.
      • getPresence

        public FeaturePresence getPresence()
         Constraints on the presence of this feature in the examples.
         
        optional .tensorflow.metadata.v0.FeaturePresence presence = 14;
        Specified by:
        getPresence in interface FeatureOrBuilder
        Returns:
        The presence.
      • setPresence

        public Feature.Builder setPresence​(FeaturePresence value)
         Constraints on the presence of this feature in the examples.
         
        optional .tensorflow.metadata.v0.FeaturePresence presence = 14;
      • setPresence

        public Feature.Builder setPresence​(FeaturePresence.Builder builderForValue)
         Constraints on the presence of this feature in the examples.
         
        optional .tensorflow.metadata.v0.FeaturePresence presence = 14;
      • mergePresence

        public Feature.Builder mergePresence​(FeaturePresence value)
         Constraints on the presence of this feature in the examples.
         
        optional .tensorflow.metadata.v0.FeaturePresence presence = 14;
      • clearPresence

        public Feature.Builder clearPresence()
         Constraints on the presence of this feature in the examples.
         
        optional .tensorflow.metadata.v0.FeaturePresence presence = 14;
      • getPresenceBuilder

        public FeaturePresence.Builder getPresenceBuilder()
         Constraints on the presence of this feature in the examples.
         
        optional .tensorflow.metadata.v0.FeaturePresence presence = 14;
      • hasGroupPresence

        public boolean hasGroupPresence()
         Only used in the context of a "group" context, e.g., inside a sequence.
         
        optional .tensorflow.metadata.v0.FeaturePresenceWithinGroup group_presence = 17;
        Specified by:
        hasGroupPresence in interface FeatureOrBuilder
        Returns:
        Whether the groupPresence field is set.
      • getGroupPresence

        public FeaturePresenceWithinGroup getGroupPresence()
         Only used in the context of a "group" context, e.g., inside a sequence.
         
        optional .tensorflow.metadata.v0.FeaturePresenceWithinGroup group_presence = 17;
        Specified by:
        getGroupPresence in interface FeatureOrBuilder
        Returns:
        The groupPresence.
      • setGroupPresence

        public Feature.Builder setGroupPresence​(FeaturePresenceWithinGroup value)
         Only used in the context of a "group" context, e.g., inside a sequence.
         
        optional .tensorflow.metadata.v0.FeaturePresenceWithinGroup group_presence = 17;
      • setGroupPresence

        public Feature.Builder setGroupPresence​(FeaturePresenceWithinGroup.Builder builderForValue)
         Only used in the context of a "group" context, e.g., inside a sequence.
         
        optional .tensorflow.metadata.v0.FeaturePresenceWithinGroup group_presence = 17;
      • mergeGroupPresence

        public Feature.Builder mergeGroupPresence​(FeaturePresenceWithinGroup value)
         Only used in the context of a "group" context, e.g., inside a sequence.
         
        optional .tensorflow.metadata.v0.FeaturePresenceWithinGroup group_presence = 17;
      • clearGroupPresence

        public Feature.Builder clearGroupPresence()
         Only used in the context of a "group" context, e.g., inside a sequence.
         
        optional .tensorflow.metadata.v0.FeaturePresenceWithinGroup group_presence = 17;
      • getGroupPresenceBuilder

        public FeaturePresenceWithinGroup.Builder getGroupPresenceBuilder()
         Only used in the context of a "group" context, e.g., inside a sequence.
         
        optional .tensorflow.metadata.v0.FeaturePresenceWithinGroup group_presence = 17;
      • hasShape

        public boolean hasShape()
         The feature has a fixed shape corresponding to a multi-dimensional
         tensor.
         
        optional .tensorflow.metadata.v0.FixedShape shape = 23;
        Specified by:
        hasShape in interface FeatureOrBuilder
        Returns:
        Whether the shape field is set.
      • getShape

        public FixedShape getShape()
         The feature has a fixed shape corresponding to a multi-dimensional
         tensor.
         
        optional .tensorflow.metadata.v0.FixedShape shape = 23;
        Specified by:
        getShape in interface FeatureOrBuilder
        Returns:
        The shape.
      • setShape

        public Feature.Builder setShape​(FixedShape value)
         The feature has a fixed shape corresponding to a multi-dimensional
         tensor.
         
        optional .tensorflow.metadata.v0.FixedShape shape = 23;
      • setShape

        public Feature.Builder setShape​(FixedShape.Builder builderForValue)
         The feature has a fixed shape corresponding to a multi-dimensional
         tensor.
         
        optional .tensorflow.metadata.v0.FixedShape shape = 23;
      • mergeShape

        public Feature.Builder mergeShape​(FixedShape value)
         The feature has a fixed shape corresponding to a multi-dimensional
         tensor.
         
        optional .tensorflow.metadata.v0.FixedShape shape = 23;
      • clearShape

        public Feature.Builder clearShape()
         The feature has a fixed shape corresponding to a multi-dimensional
         tensor.
         
        optional .tensorflow.metadata.v0.FixedShape shape = 23;
      • getShapeBuilder

        public FixedShape.Builder getShapeBuilder()
         The feature has a fixed shape corresponding to a multi-dimensional
         tensor.
         
        optional .tensorflow.metadata.v0.FixedShape shape = 23;
      • getShapeOrBuilder

        public FixedShapeOrBuilder getShapeOrBuilder()
         The feature has a fixed shape corresponding to a multi-dimensional
         tensor.
         
        optional .tensorflow.metadata.v0.FixedShape shape = 23;
        Specified by:
        getShapeOrBuilder in interface FeatureOrBuilder
      • hasValueCount

        public boolean hasValueCount()
         The feature doesn't have a well defined shape. All we know are limits on
         the minimum and maximum number of values.
         
        optional .tensorflow.metadata.v0.ValueCount value_count = 5;
        Specified by:
        hasValueCount in interface FeatureOrBuilder
        Returns:
        Whether the valueCount field is set.
      • getValueCount

        public ValueCount getValueCount()
         The feature doesn't have a well defined shape. All we know are limits on
         the minimum and maximum number of values.
         
        optional .tensorflow.metadata.v0.ValueCount value_count = 5;
        Specified by:
        getValueCount in interface FeatureOrBuilder
        Returns:
        The valueCount.
      • setValueCount

        public Feature.Builder setValueCount​(ValueCount value)
         The feature doesn't have a well defined shape. All we know are limits on
         the minimum and maximum number of values.
         
        optional .tensorflow.metadata.v0.ValueCount value_count = 5;
      • setValueCount

        public Feature.Builder setValueCount​(ValueCount.Builder builderForValue)
         The feature doesn't have a well defined shape. All we know are limits on
         the minimum and maximum number of values.
         
        optional .tensorflow.metadata.v0.ValueCount value_count = 5;
      • mergeValueCount

        public Feature.Builder mergeValueCount​(ValueCount value)
         The feature doesn't have a well defined shape. All we know are limits on
         the minimum and maximum number of values.
         
        optional .tensorflow.metadata.v0.ValueCount value_count = 5;
      • clearValueCount

        public Feature.Builder clearValueCount()
         The feature doesn't have a well defined shape. All we know are limits on
         the minimum and maximum number of values.
         
        optional .tensorflow.metadata.v0.ValueCount value_count = 5;
      • getValueCountBuilder

        public ValueCount.Builder getValueCountBuilder()
         The feature doesn't have a well defined shape. All we know are limits on
         the minimum and maximum number of values.
         
        optional .tensorflow.metadata.v0.ValueCount value_count = 5;
      • getValueCountOrBuilder

        public ValueCountOrBuilder getValueCountOrBuilder()
         The feature doesn't have a well defined shape. All we know are limits on
         the minimum and maximum number of values.
         
        optional .tensorflow.metadata.v0.ValueCount value_count = 5;
        Specified by:
        getValueCountOrBuilder in interface FeatureOrBuilder
      • hasType

        public boolean hasType()
         Physical type of the feature's values.
         Note that you can have:
         type: BYTES
         int_domain: {
           min: 0
           max: 3
         }
         This would be a field that is syntactically BYTES (i.e. strings), but
         semantically an int, i.e. it would be "0", "1", "2", or "3".
         
        optional .tensorflow.metadata.v0.FeatureType type = 6;
        Specified by:
        hasType in interface FeatureOrBuilder
        Returns:
        Whether the type field is set.
      • getType

        public FeatureType getType()
         Physical type of the feature's values.
         Note that you can have:
         type: BYTES
         int_domain: {
           min: 0
           max: 3
         }
         This would be a field that is syntactically BYTES (i.e. strings), but
         semantically an int, i.e. it would be "0", "1", "2", or "3".
         
        optional .tensorflow.metadata.v0.FeatureType type = 6;
        Specified by:
        getType in interface FeatureOrBuilder
        Returns:
        The type.
      • setType

        public Feature.Builder setType​(FeatureType value)
         Physical type of the feature's values.
         Note that you can have:
         type: BYTES
         int_domain: {
           min: 0
           max: 3
         }
         This would be a field that is syntactically BYTES (i.e. strings), but
         semantically an int, i.e. it would be "0", "1", "2", or "3".
         
        optional .tensorflow.metadata.v0.FeatureType type = 6;
        Parameters:
        value - The type to set.
        Returns:
        This builder for chaining.
      • clearType

        public Feature.Builder clearType()
         Physical type of the feature's values.
         Note that you can have:
         type: BYTES
         int_domain: {
           min: 0
           max: 3
         }
         This would be a field that is syntactically BYTES (i.e. strings), but
         semantically an int, i.e. it would be "0", "1", "2", or "3".
         
        optional .tensorflow.metadata.v0.FeatureType type = 6;
        Returns:
        This builder for chaining.
      • hasDomain

        public boolean hasDomain()
         Reference to a domain defined at the schema level.
         
        optional string domain = 7;
        Specified by:
        hasDomain in interface FeatureOrBuilder
        Returns:
        Whether the domain field is set.
      • getDomain

        public String getDomain()
         Reference to a domain defined at the schema level.
         
        optional string domain = 7;
        Specified by:
        getDomain in interface FeatureOrBuilder
        Returns:
        The domain.
      • getDomainBytes

        public com.google.protobuf.ByteString getDomainBytes()
         Reference to a domain defined at the schema level.
         
        optional string domain = 7;
        Specified by:
        getDomainBytes in interface FeatureOrBuilder
        Returns:
        The bytes for domain.
      • setDomain

        public Feature.Builder setDomain​(String value)
         Reference to a domain defined at the schema level.
         
        optional string domain = 7;
        Parameters:
        value - The domain to set.
        Returns:
        This builder for chaining.
      • clearDomain

        public Feature.Builder clearDomain()
         Reference to a domain defined at the schema level.
         
        optional string domain = 7;
        Returns:
        This builder for chaining.
      • setDomainBytes

        public Feature.Builder setDomainBytes​(com.google.protobuf.ByteString value)
         Reference to a domain defined at the schema level.
         
        optional string domain = 7;
        Parameters:
        value - The bytes for domain to set.
        Returns:
        This builder for chaining.
      • hasIntDomain

        public boolean hasIntDomain()
         Inline definitions of domains.
         
        optional .tensorflow.metadata.v0.IntDomain int_domain = 9;
        Specified by:
        hasIntDomain in interface FeatureOrBuilder
        Returns:
        Whether the intDomain field is set.
      • getIntDomain

        public IntDomain getIntDomain()
         Inline definitions of domains.
         
        optional .tensorflow.metadata.v0.IntDomain int_domain = 9;
        Specified by:
        getIntDomain in interface FeatureOrBuilder
        Returns:
        The intDomain.
      • setIntDomain

        public Feature.Builder setIntDomain​(IntDomain value)
         Inline definitions of domains.
         
        optional .tensorflow.metadata.v0.IntDomain int_domain = 9;
      • setIntDomain

        public Feature.Builder setIntDomain​(IntDomain.Builder builderForValue)
         Inline definitions of domains.
         
        optional .tensorflow.metadata.v0.IntDomain int_domain = 9;
      • mergeIntDomain

        public Feature.Builder mergeIntDomain​(IntDomain value)
         Inline definitions of domains.
         
        optional .tensorflow.metadata.v0.IntDomain int_domain = 9;
      • clearIntDomain

        public Feature.Builder clearIntDomain()
         Inline definitions of domains.
         
        optional .tensorflow.metadata.v0.IntDomain int_domain = 9;
      • getIntDomainBuilder

        public IntDomain.Builder getIntDomainBuilder()
         Inline definitions of domains.
         
        optional .tensorflow.metadata.v0.IntDomain int_domain = 9;
      • hasFloatDomain

        public boolean hasFloatDomain()
        optional .tensorflow.metadata.v0.FloatDomain float_domain = 10;
        Specified by:
        hasFloatDomain in interface FeatureOrBuilder
        Returns:
        Whether the floatDomain field is set.
      • getFloatDomain

        public FloatDomain getFloatDomain()
        optional .tensorflow.metadata.v0.FloatDomain float_domain = 10;
        Specified by:
        getFloatDomain in interface FeatureOrBuilder
        Returns:
        The floatDomain.
      • setFloatDomain

        public Feature.Builder setFloatDomain​(FloatDomain value)
        optional .tensorflow.metadata.v0.FloatDomain float_domain = 10;
      • mergeFloatDomain

        public Feature.Builder mergeFloatDomain​(FloatDomain value)
        optional .tensorflow.metadata.v0.FloatDomain float_domain = 10;
      • clearFloatDomain

        public Feature.Builder clearFloatDomain()
        optional .tensorflow.metadata.v0.FloatDomain float_domain = 10;
      • getFloatDomainBuilder

        public FloatDomain.Builder getFloatDomainBuilder()
        optional .tensorflow.metadata.v0.FloatDomain float_domain = 10;
      • hasStringDomain

        public boolean hasStringDomain()
        optional .tensorflow.metadata.v0.StringDomain string_domain = 11;
        Specified by:
        hasStringDomain in interface FeatureOrBuilder
        Returns:
        Whether the stringDomain field is set.
      • setStringDomain

        public Feature.Builder setStringDomain​(StringDomain value)
        optional .tensorflow.metadata.v0.StringDomain string_domain = 11;
      • mergeStringDomain

        public Feature.Builder mergeStringDomain​(StringDomain value)
        optional .tensorflow.metadata.v0.StringDomain string_domain = 11;
      • clearStringDomain

        public Feature.Builder clearStringDomain()
        optional .tensorflow.metadata.v0.StringDomain string_domain = 11;
      • getStringDomainBuilder

        public StringDomain.Builder getStringDomainBuilder()
        optional .tensorflow.metadata.v0.StringDomain string_domain = 11;
      • hasBoolDomain

        public boolean hasBoolDomain()
        optional .tensorflow.metadata.v0.BoolDomain bool_domain = 13;
        Specified by:
        hasBoolDomain in interface FeatureOrBuilder
        Returns:
        Whether the boolDomain field is set.
      • getBoolDomain

        public BoolDomain getBoolDomain()
        optional .tensorflow.metadata.v0.BoolDomain bool_domain = 13;
        Specified by:
        getBoolDomain in interface FeatureOrBuilder
        Returns:
        The boolDomain.
      • setBoolDomain

        public Feature.Builder setBoolDomain​(BoolDomain value)
        optional .tensorflow.metadata.v0.BoolDomain bool_domain = 13;
      • mergeBoolDomain

        public Feature.Builder mergeBoolDomain​(BoolDomain value)
        optional .tensorflow.metadata.v0.BoolDomain bool_domain = 13;
      • clearBoolDomain

        public Feature.Builder clearBoolDomain()
        optional .tensorflow.metadata.v0.BoolDomain bool_domain = 13;
      • getBoolDomainBuilder

        public BoolDomain.Builder getBoolDomainBuilder()
        optional .tensorflow.metadata.v0.BoolDomain bool_domain = 13;
      • hasStructDomain

        public boolean hasStructDomain()
        optional .tensorflow.metadata.v0.StructDomain struct_domain = 29;
        Specified by:
        hasStructDomain in interface FeatureOrBuilder
        Returns:
        Whether the structDomain field is set.
      • setStructDomain

        public Feature.Builder setStructDomain​(StructDomain value)
        optional .tensorflow.metadata.v0.StructDomain struct_domain = 29;
      • mergeStructDomain

        public Feature.Builder mergeStructDomain​(StructDomain value)
        optional .tensorflow.metadata.v0.StructDomain struct_domain = 29;
      • clearStructDomain

        public Feature.Builder clearStructDomain()
        optional .tensorflow.metadata.v0.StructDomain struct_domain = 29;
      • getStructDomainBuilder

        public StructDomain.Builder getStructDomainBuilder()
        optional .tensorflow.metadata.v0.StructDomain struct_domain = 29;
      • hasNaturalLanguageDomain

        public boolean hasNaturalLanguageDomain()
         Supported semantic domains.
         
        optional .tensorflow.metadata.v0.NaturalLanguageDomain natural_language_domain = 24;
        Specified by:
        hasNaturalLanguageDomain in interface FeatureOrBuilder
        Returns:
        Whether the naturalLanguageDomain field is set.
      • setNaturalLanguageDomain

        public Feature.Builder setNaturalLanguageDomain​(NaturalLanguageDomain value)
         Supported semantic domains.
         
        optional .tensorflow.metadata.v0.NaturalLanguageDomain natural_language_domain = 24;
      • setNaturalLanguageDomain

        public Feature.Builder setNaturalLanguageDomain​(NaturalLanguageDomain.Builder builderForValue)
         Supported semantic domains.
         
        optional .tensorflow.metadata.v0.NaturalLanguageDomain natural_language_domain = 24;
      • mergeNaturalLanguageDomain

        public Feature.Builder mergeNaturalLanguageDomain​(NaturalLanguageDomain value)
         Supported semantic domains.
         
        optional .tensorflow.metadata.v0.NaturalLanguageDomain natural_language_domain = 24;
      • clearNaturalLanguageDomain

        public Feature.Builder clearNaturalLanguageDomain()
         Supported semantic domains.
         
        optional .tensorflow.metadata.v0.NaturalLanguageDomain natural_language_domain = 24;
      • getNaturalLanguageDomainBuilder

        public NaturalLanguageDomain.Builder getNaturalLanguageDomainBuilder()
         Supported semantic domains.
         
        optional .tensorflow.metadata.v0.NaturalLanguageDomain natural_language_domain = 24;
      • hasImageDomain

        public boolean hasImageDomain()
        optional .tensorflow.metadata.v0.ImageDomain image_domain = 25;
        Specified by:
        hasImageDomain in interface FeatureOrBuilder
        Returns:
        Whether the imageDomain field is set.
      • getImageDomain

        public ImageDomain getImageDomain()
        optional .tensorflow.metadata.v0.ImageDomain image_domain = 25;
        Specified by:
        getImageDomain in interface FeatureOrBuilder
        Returns:
        The imageDomain.
      • setImageDomain

        public Feature.Builder setImageDomain​(ImageDomain value)
        optional .tensorflow.metadata.v0.ImageDomain image_domain = 25;
      • mergeImageDomain

        public Feature.Builder mergeImageDomain​(ImageDomain value)
        optional .tensorflow.metadata.v0.ImageDomain image_domain = 25;
      • clearImageDomain

        public Feature.Builder clearImageDomain()
        optional .tensorflow.metadata.v0.ImageDomain image_domain = 25;
      • getImageDomainBuilder

        public ImageDomain.Builder getImageDomainBuilder()
        optional .tensorflow.metadata.v0.ImageDomain image_domain = 25;
      • hasMidDomain

        public boolean hasMidDomain()
        optional .tensorflow.metadata.v0.MIDDomain mid_domain = 26;
        Specified by:
        hasMidDomain in interface FeatureOrBuilder
        Returns:
        Whether the midDomain field is set.
      • getMidDomain

        public MIDDomain getMidDomain()
        optional .tensorflow.metadata.v0.MIDDomain mid_domain = 26;
        Specified by:
        getMidDomain in interface FeatureOrBuilder
        Returns:
        The midDomain.
      • setMidDomain

        public Feature.Builder setMidDomain​(MIDDomain value)
        optional .tensorflow.metadata.v0.MIDDomain mid_domain = 26;
      • mergeMidDomain

        public Feature.Builder mergeMidDomain​(MIDDomain value)
        optional .tensorflow.metadata.v0.MIDDomain mid_domain = 26;
      • clearMidDomain

        public Feature.Builder clearMidDomain()
        optional .tensorflow.metadata.v0.MIDDomain mid_domain = 26;
      • getMidDomainBuilder

        public MIDDomain.Builder getMidDomainBuilder()
        optional .tensorflow.metadata.v0.MIDDomain mid_domain = 26;
      • hasUrlDomain

        public boolean hasUrlDomain()
        optional .tensorflow.metadata.v0.URLDomain url_domain = 27;
        Specified by:
        hasUrlDomain in interface FeatureOrBuilder
        Returns:
        Whether the urlDomain field is set.
      • getUrlDomain

        public URLDomain getUrlDomain()
        optional .tensorflow.metadata.v0.URLDomain url_domain = 27;
        Specified by:
        getUrlDomain in interface FeatureOrBuilder
        Returns:
        The urlDomain.
      • setUrlDomain

        public Feature.Builder setUrlDomain​(URLDomain value)
        optional .tensorflow.metadata.v0.URLDomain url_domain = 27;
      • mergeUrlDomain

        public Feature.Builder mergeUrlDomain​(URLDomain value)
        optional .tensorflow.metadata.v0.URLDomain url_domain = 27;
      • clearUrlDomain

        public Feature.Builder clearUrlDomain()
        optional .tensorflow.metadata.v0.URLDomain url_domain = 27;
      • getUrlDomainBuilder

        public URLDomain.Builder getUrlDomainBuilder()
        optional .tensorflow.metadata.v0.URLDomain url_domain = 27;
      • hasTimeDomain

        public boolean hasTimeDomain()
        optional .tensorflow.metadata.v0.TimeDomain time_domain = 28;
        Specified by:
        hasTimeDomain in interface FeatureOrBuilder
        Returns:
        Whether the timeDomain field is set.
      • getTimeDomain

        public TimeDomain getTimeDomain()
        optional .tensorflow.metadata.v0.TimeDomain time_domain = 28;
        Specified by:
        getTimeDomain in interface FeatureOrBuilder
        Returns:
        The timeDomain.
      • setTimeDomain

        public Feature.Builder setTimeDomain​(TimeDomain value)
        optional .tensorflow.metadata.v0.TimeDomain time_domain = 28;
      • mergeTimeDomain

        public Feature.Builder mergeTimeDomain​(TimeDomain value)
        optional .tensorflow.metadata.v0.TimeDomain time_domain = 28;
      • clearTimeDomain

        public Feature.Builder clearTimeDomain()
        optional .tensorflow.metadata.v0.TimeDomain time_domain = 28;
      • getTimeDomainBuilder

        public TimeDomain.Builder getTimeDomainBuilder()
        optional .tensorflow.metadata.v0.TimeDomain time_domain = 28;
      • hasTimeOfDayDomain

        public boolean hasTimeOfDayDomain()
        optional .tensorflow.metadata.v0.TimeOfDayDomain time_of_day_domain = 30;
        Specified by:
        hasTimeOfDayDomain in interface FeatureOrBuilder
        Returns:
        Whether the timeOfDayDomain field is set.
      • setTimeOfDayDomain

        public Feature.Builder setTimeOfDayDomain​(TimeOfDayDomain value)
        optional .tensorflow.metadata.v0.TimeOfDayDomain time_of_day_domain = 30;
      • mergeTimeOfDayDomain

        public Feature.Builder mergeTimeOfDayDomain​(TimeOfDayDomain value)
        optional .tensorflow.metadata.v0.TimeOfDayDomain time_of_day_domain = 30;
      • clearTimeOfDayDomain

        public Feature.Builder clearTimeOfDayDomain()
        optional .tensorflow.metadata.v0.TimeOfDayDomain time_of_day_domain = 30;
      • getTimeOfDayDomainBuilder

        public TimeOfDayDomain.Builder getTimeOfDayDomainBuilder()
        optional .tensorflow.metadata.v0.TimeOfDayDomain time_of_day_domain = 30;
      • hasDistributionConstraints

        public boolean hasDistributionConstraints()
         Constraints on the distribution of the feature values.
         Currently only supported for StringDomains.
         TODO(b/69473628): Extend functionality to other domain types.
         
        optional .tensorflow.metadata.v0.DistributionConstraints distribution_constraints = 15;
        Specified by:
        hasDistributionConstraints in interface FeatureOrBuilder
        Returns:
        Whether the distributionConstraints field is set.
      • getDistributionConstraints

        public DistributionConstraints getDistributionConstraints()
         Constraints on the distribution of the feature values.
         Currently only supported for StringDomains.
         TODO(b/69473628): Extend functionality to other domain types.
         
        optional .tensorflow.metadata.v0.DistributionConstraints distribution_constraints = 15;
        Specified by:
        getDistributionConstraints in interface FeatureOrBuilder
        Returns:
        The distributionConstraints.
      • setDistributionConstraints

        public Feature.Builder setDistributionConstraints​(DistributionConstraints value)
         Constraints on the distribution of the feature values.
         Currently only supported for StringDomains.
         TODO(b/69473628): Extend functionality to other domain types.
         
        optional .tensorflow.metadata.v0.DistributionConstraints distribution_constraints = 15;
      • setDistributionConstraints

        public Feature.Builder setDistributionConstraints​(DistributionConstraints.Builder builderForValue)
         Constraints on the distribution of the feature values.
         Currently only supported for StringDomains.
         TODO(b/69473628): Extend functionality to other domain types.
         
        optional .tensorflow.metadata.v0.DistributionConstraints distribution_constraints = 15;
      • mergeDistributionConstraints

        public Feature.Builder mergeDistributionConstraints​(DistributionConstraints value)
         Constraints on the distribution of the feature values.
         Currently only supported for StringDomains.
         TODO(b/69473628): Extend functionality to other domain types.
         
        optional .tensorflow.metadata.v0.DistributionConstraints distribution_constraints = 15;
      • clearDistributionConstraints

        public Feature.Builder clearDistributionConstraints()
         Constraints on the distribution of the feature values.
         Currently only supported for StringDomains.
         TODO(b/69473628): Extend functionality to other domain types.
         
        optional .tensorflow.metadata.v0.DistributionConstraints distribution_constraints = 15;
      • getDistributionConstraintsBuilder

        public DistributionConstraints.Builder getDistributionConstraintsBuilder()
         Constraints on the distribution of the feature values.
         Currently only supported for StringDomains.
         TODO(b/69473628): Extend functionality to other domain types.
         
        optional .tensorflow.metadata.v0.DistributionConstraints distribution_constraints = 15;
      • getDistributionConstraintsOrBuilder

        public DistributionConstraintsOrBuilder getDistributionConstraintsOrBuilder()
         Constraints on the distribution of the feature values.
         Currently only supported for StringDomains.
         TODO(b/69473628): Extend functionality to other domain types.
         
        optional .tensorflow.metadata.v0.DistributionConstraints distribution_constraints = 15;
        Specified by:
        getDistributionConstraintsOrBuilder in interface FeatureOrBuilder
      • hasAnnotation

        public boolean hasAnnotation()
         Additional information about the feature for documentation purpose.
         
        optional .tensorflow.metadata.v0.Annotation annotation = 16;
        Specified by:
        hasAnnotation in interface FeatureOrBuilder
        Returns:
        Whether the annotation field is set.
      • getAnnotation

        public Annotation getAnnotation()
         Additional information about the feature for documentation purpose.
         
        optional .tensorflow.metadata.v0.Annotation annotation = 16;
        Specified by:
        getAnnotation in interface FeatureOrBuilder
        Returns:
        The annotation.
      • setAnnotation

        public Feature.Builder setAnnotation​(Annotation value)
         Additional information about the feature for documentation purpose.
         
        optional .tensorflow.metadata.v0.Annotation annotation = 16;
      • setAnnotation

        public Feature.Builder setAnnotation​(Annotation.Builder builderForValue)
         Additional information about the feature for documentation purpose.
         
        optional .tensorflow.metadata.v0.Annotation annotation = 16;
      • mergeAnnotation

        public Feature.Builder mergeAnnotation​(Annotation value)
         Additional information about the feature for documentation purpose.
         
        optional .tensorflow.metadata.v0.Annotation annotation = 16;
      • clearAnnotation

        public Feature.Builder clearAnnotation()
         Additional information about the feature for documentation purpose.
         
        optional .tensorflow.metadata.v0.Annotation annotation = 16;
      • getAnnotationBuilder

        public Annotation.Builder getAnnotationBuilder()
         Additional information about the feature for documentation purpose.
         
        optional .tensorflow.metadata.v0.Annotation annotation = 16;
      • hasSkewComparator

        public boolean hasSkewComparator()
         Tests comparing the distribution to the associated serving data.
         
        optional .tensorflow.metadata.v0.FeatureComparator skew_comparator = 18;
        Specified by:
        hasSkewComparator in interface FeatureOrBuilder
        Returns:
        Whether the skewComparator field is set.
      • getSkewComparator

        public FeatureComparator getSkewComparator()
         Tests comparing the distribution to the associated serving data.
         
        optional .tensorflow.metadata.v0.FeatureComparator skew_comparator = 18;
        Specified by:
        getSkewComparator in interface FeatureOrBuilder
        Returns:
        The skewComparator.
      • setSkewComparator

        public Feature.Builder setSkewComparator​(FeatureComparator value)
         Tests comparing the distribution to the associated serving data.
         
        optional .tensorflow.metadata.v0.FeatureComparator skew_comparator = 18;
      • setSkewComparator

        public Feature.Builder setSkewComparator​(FeatureComparator.Builder builderForValue)
         Tests comparing the distribution to the associated serving data.
         
        optional .tensorflow.metadata.v0.FeatureComparator skew_comparator = 18;
      • mergeSkewComparator

        public Feature.Builder mergeSkewComparator​(FeatureComparator value)
         Tests comparing the distribution to the associated serving data.
         
        optional .tensorflow.metadata.v0.FeatureComparator skew_comparator = 18;
      • clearSkewComparator

        public Feature.Builder clearSkewComparator()
         Tests comparing the distribution to the associated serving data.
         
        optional .tensorflow.metadata.v0.FeatureComparator skew_comparator = 18;
      • getSkewComparatorBuilder

        public FeatureComparator.Builder getSkewComparatorBuilder()
         Tests comparing the distribution to the associated serving data.
         
        optional .tensorflow.metadata.v0.FeatureComparator skew_comparator = 18;
      • hasDriftComparator

        public boolean hasDriftComparator()
         Tests comparing the distribution between two consecutive spans (e.g. days).
         
        optional .tensorflow.metadata.v0.FeatureComparator drift_comparator = 21;
        Specified by:
        hasDriftComparator in interface FeatureOrBuilder
        Returns:
        Whether the driftComparator field is set.
      • getDriftComparator

        public FeatureComparator getDriftComparator()
         Tests comparing the distribution between two consecutive spans (e.g. days).
         
        optional .tensorflow.metadata.v0.FeatureComparator drift_comparator = 21;
        Specified by:
        getDriftComparator in interface FeatureOrBuilder
        Returns:
        The driftComparator.
      • setDriftComparator

        public Feature.Builder setDriftComparator​(FeatureComparator value)
         Tests comparing the distribution between two consecutive spans (e.g. days).
         
        optional .tensorflow.metadata.v0.FeatureComparator drift_comparator = 21;
      • setDriftComparator

        public Feature.Builder setDriftComparator​(FeatureComparator.Builder builderForValue)
         Tests comparing the distribution between two consecutive spans (e.g. days).
         
        optional .tensorflow.metadata.v0.FeatureComparator drift_comparator = 21;
      • mergeDriftComparator

        public Feature.Builder mergeDriftComparator​(FeatureComparator value)
         Tests comparing the distribution between two consecutive spans (e.g. days).
         
        optional .tensorflow.metadata.v0.FeatureComparator drift_comparator = 21;
      • clearDriftComparator

        public Feature.Builder clearDriftComparator()
         Tests comparing the distribution between two consecutive spans (e.g. days).
         
        optional .tensorflow.metadata.v0.FeatureComparator drift_comparator = 21;
      • getDriftComparatorBuilder

        public FeatureComparator.Builder getDriftComparatorBuilder()
         Tests comparing the distribution between two consecutive spans (e.g. days).
         
        optional .tensorflow.metadata.v0.FeatureComparator drift_comparator = 21;
      • getInEnvironmentList

        public com.google.protobuf.ProtocolStringList getInEnvironmentList()
         List of environments this feature is present in.
         Should be disjoint from not_in_environment.
         This feature is in environment "foo" if:
         ("foo" is in in_environment or default_environments) AND
         "foo" is not in not_in_environment.
         See Schema::default_environments.
         
        repeated string in_environment = 20;
        Specified by:
        getInEnvironmentList in interface FeatureOrBuilder
        Returns:
        A list containing the inEnvironment.
      • getInEnvironmentCount

        public int getInEnvironmentCount()
         List of environments this feature is present in.
         Should be disjoint from not_in_environment.
         This feature is in environment "foo" if:
         ("foo" is in in_environment or default_environments) AND
         "foo" is not in not_in_environment.
         See Schema::default_environments.
         
        repeated string in_environment = 20;
        Specified by:
        getInEnvironmentCount in interface FeatureOrBuilder
        Returns:
        The count of inEnvironment.
      • getInEnvironment

        public String getInEnvironment​(int index)
         List of environments this feature is present in.
         Should be disjoint from not_in_environment.
         This feature is in environment "foo" if:
         ("foo" is in in_environment or default_environments) AND
         "foo" is not in not_in_environment.
         See Schema::default_environments.
         
        repeated string in_environment = 20;
        Specified by:
        getInEnvironment in interface FeatureOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The inEnvironment at the given index.
      • getInEnvironmentBytes

        public com.google.protobuf.ByteString getInEnvironmentBytes​(int index)
         List of environments this feature is present in.
         Should be disjoint from not_in_environment.
         This feature is in environment "foo" if:
         ("foo" is in in_environment or default_environments) AND
         "foo" is not in not_in_environment.
         See Schema::default_environments.
         
        repeated string in_environment = 20;
        Specified by:
        getInEnvironmentBytes in interface FeatureOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the inEnvironment at the given index.
      • setInEnvironment

        public Feature.Builder setInEnvironment​(int index,
                                                String value)
         List of environments this feature is present in.
         Should be disjoint from not_in_environment.
         This feature is in environment "foo" if:
         ("foo" is in in_environment or default_environments) AND
         "foo" is not in not_in_environment.
         See Schema::default_environments.
         
        repeated string in_environment = 20;
        Parameters:
        index - The index to set the value at.
        value - The inEnvironment to set.
        Returns:
        This builder for chaining.
      • addInEnvironment

        public Feature.Builder addInEnvironment​(String value)
         List of environments this feature is present in.
         Should be disjoint from not_in_environment.
         This feature is in environment "foo" if:
         ("foo" is in in_environment or default_environments) AND
         "foo" is not in not_in_environment.
         See Schema::default_environments.
         
        repeated string in_environment = 20;
        Parameters:
        value - The inEnvironment to add.
        Returns:
        This builder for chaining.
      • addAllInEnvironment

        public Feature.Builder addAllInEnvironment​(Iterable<String> values)
         List of environments this feature is present in.
         Should be disjoint from not_in_environment.
         This feature is in environment "foo" if:
         ("foo" is in in_environment or default_environments) AND
         "foo" is not in not_in_environment.
         See Schema::default_environments.
         
        repeated string in_environment = 20;
        Parameters:
        values - The inEnvironment to add.
        Returns:
        This builder for chaining.
      • clearInEnvironment

        public Feature.Builder clearInEnvironment()
         List of environments this feature is present in.
         Should be disjoint from not_in_environment.
         This feature is in environment "foo" if:
         ("foo" is in in_environment or default_environments) AND
         "foo" is not in not_in_environment.
         See Schema::default_environments.
         
        repeated string in_environment = 20;
        Returns:
        This builder for chaining.
      • addInEnvironmentBytes

        public Feature.Builder addInEnvironmentBytes​(com.google.protobuf.ByteString value)
         List of environments this feature is present in.
         Should be disjoint from not_in_environment.
         This feature is in environment "foo" if:
         ("foo" is in in_environment or default_environments) AND
         "foo" is not in not_in_environment.
         See Schema::default_environments.
         
        repeated string in_environment = 20;
        Parameters:
        value - The bytes of the inEnvironment to add.
        Returns:
        This builder for chaining.
      • getNotInEnvironmentList

        public com.google.protobuf.ProtocolStringList getNotInEnvironmentList()
         List of environments this feature is not present in.
         Should be disjoint from of in_environment.
         See Schema::default_environments and in_environment.
         
        repeated string not_in_environment = 19;
        Specified by:
        getNotInEnvironmentList in interface FeatureOrBuilder
        Returns:
        A list containing the notInEnvironment.
      • getNotInEnvironmentCount

        public int getNotInEnvironmentCount()
         List of environments this feature is not present in.
         Should be disjoint from of in_environment.
         See Schema::default_environments and in_environment.
         
        repeated string not_in_environment = 19;
        Specified by:
        getNotInEnvironmentCount in interface FeatureOrBuilder
        Returns:
        The count of notInEnvironment.
      • getNotInEnvironment

        public String getNotInEnvironment​(int index)
         List of environments this feature is not present in.
         Should be disjoint from of in_environment.
         See Schema::default_environments and in_environment.
         
        repeated string not_in_environment = 19;
        Specified by:
        getNotInEnvironment in interface FeatureOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The notInEnvironment at the given index.
      • getNotInEnvironmentBytes

        public com.google.protobuf.ByteString getNotInEnvironmentBytes​(int index)
         List of environments this feature is not present in.
         Should be disjoint from of in_environment.
         See Schema::default_environments and in_environment.
         
        repeated string not_in_environment = 19;
        Specified by:
        getNotInEnvironmentBytes in interface FeatureOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the notInEnvironment at the given index.
      • setNotInEnvironment

        public Feature.Builder setNotInEnvironment​(int index,
                                                   String value)
         List of environments this feature is not present in.
         Should be disjoint from of in_environment.
         See Schema::default_environments and in_environment.
         
        repeated string not_in_environment = 19;
        Parameters:
        index - The index to set the value at.
        value - The notInEnvironment to set.
        Returns:
        This builder for chaining.
      • addNotInEnvironment

        public Feature.Builder addNotInEnvironment​(String value)
         List of environments this feature is not present in.
         Should be disjoint from of in_environment.
         See Schema::default_environments and in_environment.
         
        repeated string not_in_environment = 19;
        Parameters:
        value - The notInEnvironment to add.
        Returns:
        This builder for chaining.
      • addAllNotInEnvironment

        public Feature.Builder addAllNotInEnvironment​(Iterable<String> values)
         List of environments this feature is not present in.
         Should be disjoint from of in_environment.
         See Schema::default_environments and in_environment.
         
        repeated string not_in_environment = 19;
        Parameters:
        values - The notInEnvironment to add.
        Returns:
        This builder for chaining.
      • clearNotInEnvironment

        public Feature.Builder clearNotInEnvironment()
         List of environments this feature is not present in.
         Should be disjoint from of in_environment.
         See Schema::default_environments and in_environment.
         
        repeated string not_in_environment = 19;
        Returns:
        This builder for chaining.
      • addNotInEnvironmentBytes

        public Feature.Builder addNotInEnvironmentBytes​(com.google.protobuf.ByteString value)
         List of environments this feature is not present in.
         Should be disjoint from of in_environment.
         See Schema::default_environments and in_environment.
         
        repeated string not_in_environment = 19;
        Parameters:
        value - The bytes of the notInEnvironment to add.
        Returns:
        This builder for chaining.
      • hasLifecycleStage

        public boolean hasLifecycleStage()
         The lifecycle stage of a feature. It can also apply to its descendants.
         i.e., if a struct is DEPRECATED, its children are implicitly deprecated.
         
        optional .tensorflow.metadata.v0.LifecycleStage lifecycle_stage = 22;
        Specified by:
        hasLifecycleStage in interface FeatureOrBuilder
        Returns:
        Whether the lifecycleStage field is set.
      • getLifecycleStage

        public LifecycleStage getLifecycleStage()
         The lifecycle stage of a feature. It can also apply to its descendants.
         i.e., if a struct is DEPRECATED, its children are implicitly deprecated.
         
        optional .tensorflow.metadata.v0.LifecycleStage lifecycle_stage = 22;
        Specified by:
        getLifecycleStage in interface FeatureOrBuilder
        Returns:
        The lifecycleStage.
      • setLifecycleStage

        public Feature.Builder setLifecycleStage​(LifecycleStage value)
         The lifecycle stage of a feature. It can also apply to its descendants.
         i.e., if a struct is DEPRECATED, its children are implicitly deprecated.
         
        optional .tensorflow.metadata.v0.LifecycleStage lifecycle_stage = 22;
        Parameters:
        value - The lifecycleStage to set.
        Returns:
        This builder for chaining.
      • clearLifecycleStage

        public Feature.Builder clearLifecycleStage()
         The lifecycle stage of a feature. It can also apply to its descendants.
         i.e., if a struct is DEPRECATED, its children are implicitly deprecated.
         
        optional .tensorflow.metadata.v0.LifecycleStage lifecycle_stage = 22;
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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