Packages

final class Feature extends GeneratedMessageV3 with FeatureOrBuilder

Describes schema-level information about a specific feature.
NextID: 36

Protobuf type tensorflow.metadata.v0.Feature

Source
Feature.java
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Feature
  2. FeatureOrBuilder
  3. GeneratedMessageV3
  4. Serializable
  5. AbstractMessage
  6. Message
  7. MessageOrBuilder
  8. AbstractMessageLite
  9. MessageLite
  10. MessageLiteOrBuilder
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(obj: AnyRef): Boolean
    Definition Classes
    Feature → AbstractMessage → Message → AnyRef → Any
    Annotations
    @Override()
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. def findInitializationErrors(): List[String]
    Definition Classes
    AbstractMessage → MessageOrBuilder
  10. def getAllFields(): Map[FieldDescriptor, AnyRef]
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  11. def getAnnotation(): Annotation

    Additional information about the feature for documentation purpose.
    

    Additional information about the feature for documentation purpose.
    

    optional .tensorflow.metadata.v0.Annotation annotation = 16;

    returns

    The annotation.

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  12. def getAnnotationOrBuilder(): AnnotationOrBuilder

    Additional information about the feature for documentation purpose.
    

    Additional information about the feature for documentation purpose.
    

    optional .tensorflow.metadata.v0.Annotation annotation = 16;

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  13. def getBoolDomain(): BoolDomain

    .tensorflow.metadata.v0.BoolDomain bool_domain = 13;

    .tensorflow.metadata.v0.BoolDomain bool_domain = 13;

    returns

    The boolDomain.

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  14. def getBoolDomainOrBuilder(): BoolDomainOrBuilder

    .tensorflow.metadata.v0.BoolDomain bool_domain = 13;

    .tensorflow.metadata.v0.BoolDomain bool_domain = 13;

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def getDefaultInstanceForType(): Feature
    Definition Classes
    Feature → MessageOrBuilder → MessageLiteOrBuilder
    Annotations
    @Override()
  17. def getDescriptorForType(): Descriptor
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  18. def getDistributionConstraints(): DistributionConstraints

    Constraints on the distribution of the feature values.
    Only supported for StringDomains.
    

    Constraints on the distribution of the feature values.
    Only supported for StringDomains.
    

    optional .tensorflow.metadata.v0.DistributionConstraints distribution_constraints = 15;

    returns

    The distributionConstraints.

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  19. def getDistributionConstraintsOrBuilder(): DistributionConstraintsOrBuilder

    Constraints on the distribution of the feature values.
    Only supported for StringDomains.
    

    Constraints on the distribution of the feature values.
    Only supported for StringDomains.
    

    optional .tensorflow.metadata.v0.DistributionConstraints distribution_constraints = 15;

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  20. def getDomain(): String

    Reference to a domain defined at the schema level.
    

    Reference to a domain defined at the schema level.
    

    string domain = 7;

    returns

    The domain.

    Definition Classes
    FeatureFeatureOrBuilder
  21. def getDomainBytes(): ByteString

    Reference to a domain defined at the schema level.
    

    Reference to a domain defined at the schema level.
    

    string domain = 7;

    returns

    The bytes for domain.

    Definition Classes
    FeatureFeatureOrBuilder
  22. def getDomainInfoCase(): DomainInfoCase
    Definition Classes
    FeatureFeatureOrBuilder
  23. def getDriftComparator(): FeatureComparator

    Tests comparing the distribution between two consecutive spans (e.g. days).
    

    Tests comparing the distribution between two consecutive spans (e.g. days).
    

    optional .tensorflow.metadata.v0.FeatureComparator drift_comparator = 21;

    returns

    The driftComparator.

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  24. def getDriftComparatorOrBuilder(): FeatureComparatorOrBuilder

    Tests comparing the distribution between two consecutive spans (e.g. days).
    

    Tests comparing the distribution between two consecutive spans (e.g. days).
    

    optional .tensorflow.metadata.v0.FeatureComparator drift_comparator = 21;

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  25. def getField(field: FieldDescriptor): AnyRef
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  26. def getFloatDomain(): FloatDomain

    .tensorflow.metadata.v0.FloatDomain float_domain = 10;

    .tensorflow.metadata.v0.FloatDomain float_domain = 10;

    returns

    The floatDomain.

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  27. def getFloatDomainOrBuilder(): FloatDomainOrBuilder

    .tensorflow.metadata.v0.FloatDomain float_domain = 10;

    .tensorflow.metadata.v0.FloatDomain float_domain = 10;

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  28. def getGroupPresence(): FeaturePresenceWithinGroup

    Only used in the context of a "group" context, e.g., inside a sequence.
    

    Only used in the context of a "group" context, e.g., inside a sequence.
    

    .tensorflow.metadata.v0.FeaturePresenceWithinGroup group_presence = 17;

    returns

    The groupPresence.

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  29. def getGroupPresenceOrBuilder(): FeaturePresenceWithinGroupOrBuilder

    Only used in the context of a "group" context, e.g., inside a sequence.
    

    Only used in the context of a "group" context, e.g., inside a sequence.
    

    .tensorflow.metadata.v0.FeaturePresenceWithinGroup group_presence = 17;

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  30. def getImageDomain(): ImageDomain

    .tensorflow.metadata.v0.ImageDomain image_domain = 25;

    .tensorflow.metadata.v0.ImageDomain image_domain = 25;

    returns

    The imageDomain.

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  31. def getImageDomainOrBuilder(): ImageDomainOrBuilder

    .tensorflow.metadata.v0.ImageDomain image_domain = 25;

    .tensorflow.metadata.v0.ImageDomain image_domain = 25;

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  32. def getInEnvironment(index: Int): String

    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_environment) AND
    "foo" is not in not_in_environment.
    See Schema::default_environment.
    

    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_environment) AND
    "foo" is not in not_in_environment.
    See Schema::default_environment.
    

    repeated string in_environment = 20;

    index

    The index of the element to return.

    returns

    The inEnvironment at the given index.

    Definition Classes
    FeatureFeatureOrBuilder
  33. def getInEnvironmentBytes(index: Int): ByteString

    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_environment) AND
    "foo" is not in not_in_environment.
    See Schema::default_environment.
    

    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_environment) AND
    "foo" is not in not_in_environment.
    See Schema::default_environment.
    

    repeated string in_environment = 20;

    index

    The index of the value to return.

    returns

    The bytes of the inEnvironment at the given index.

    Definition Classes
    FeatureFeatureOrBuilder
  34. def getInEnvironmentCount(): Int

    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_environment) AND
    "foo" is not in not_in_environment.
    See Schema::default_environment.
    

    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_environment) AND
    "foo" is not in not_in_environment.
    See Schema::default_environment.
    

    repeated string in_environment = 20;

    returns

    The count of inEnvironment.

    Definition Classes
    FeatureFeatureOrBuilder
  35. def getInEnvironmentList(): ProtocolStringList

    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_environment) AND
    "foo" is not in not_in_environment.
    See Schema::default_environment.
    

    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_environment) AND
    "foo" is not in not_in_environment.
    See Schema::default_environment.
    

    repeated string in_environment = 20;

    returns

    A list containing the inEnvironment.

    Definition Classes
    FeatureFeatureOrBuilder
  36. def getInitializationErrorString(): String
    Definition Classes
    AbstractMessage → MessageOrBuilder
  37. def getIntDomain(): IntDomain

    Inline definitions of domains.
    

    Inline definitions of domains.
    

    .tensorflow.metadata.v0.IntDomain int_domain = 9;

    returns

    The intDomain.

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  38. def getIntDomainOrBuilder(): IntDomainOrBuilder

    Inline definitions of domains.
    

    Inline definitions of domains.
    

    .tensorflow.metadata.v0.IntDomain int_domain = 9;

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  39. def getLifecycleStage(): LifecycleStage

    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.
    

    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

    The lifecycleStage.

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  40. def getMidDomain(): MIDDomain

    .tensorflow.metadata.v0.MIDDomain mid_domain = 26;

    .tensorflow.metadata.v0.MIDDomain mid_domain = 26;

    returns

    The midDomain.

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  41. def getMidDomainOrBuilder(): MIDDomainOrBuilder

    .tensorflow.metadata.v0.MIDDomain mid_domain = 26;

    .tensorflow.metadata.v0.MIDDomain mid_domain = 26;

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  42. def getName(): String

    The name of the feature.
    

    The name of the feature.
    

    optional string name = 1;

    returns

    The name.

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  43. def getNameBytes(): ByteString

    The name of the feature.
    

    The name of the feature.
    

    optional string name = 1;

    returns

    The bytes for name.

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  44. def getNaturalLanguageDomain(): NaturalLanguageDomain

    Supported semantic domains.
    

    Supported semantic domains.
    

    .tensorflow.metadata.v0.NaturalLanguageDomain natural_language_domain = 24;

    returns

    The naturalLanguageDomain.

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  45. def getNaturalLanguageDomainOrBuilder(): NaturalLanguageDomainOrBuilder

    Supported semantic domains.
    

    Supported semantic domains.
    

    .tensorflow.metadata.v0.NaturalLanguageDomain natural_language_domain = 24;

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  46. def getNotInEnvironment(index: Int): String

    List of environments this feature is not present in.
    Should be disjoint from of in_environment.
    See Schema::default_environment and in_environment.
    

    List of environments this feature is not present in.
    Should be disjoint from of in_environment.
    See Schema::default_environment and in_environment.
    

    repeated string not_in_environment = 19;

    index

    The index of the element to return.

    returns

    The notInEnvironment at the given index.

    Definition Classes
    FeatureFeatureOrBuilder
  47. def getNotInEnvironmentBytes(index: Int): ByteString

    List of environments this feature is not present in.
    Should be disjoint from of in_environment.
    See Schema::default_environment and in_environment.
    

    List of environments this feature is not present in.
    Should be disjoint from of in_environment.
    See Schema::default_environment and in_environment.
    

    repeated string not_in_environment = 19;

    index

    The index of the value to return.

    returns

    The bytes of the notInEnvironment at the given index.

    Definition Classes
    FeatureFeatureOrBuilder
  48. def getNotInEnvironmentCount(): Int

    List of environments this feature is not present in.
    Should be disjoint from of in_environment.
    See Schema::default_environment and in_environment.
    

    List of environments this feature is not present in.
    Should be disjoint from of in_environment.
    See Schema::default_environment and in_environment.
    

    repeated string not_in_environment = 19;

    returns

    The count of notInEnvironment.

    Definition Classes
    FeatureFeatureOrBuilder
  49. def getNotInEnvironmentList(): ProtocolStringList

    List of environments this feature is not present in.
    Should be disjoint from of in_environment.
    See Schema::default_environment and in_environment.
    

    List of environments this feature is not present in.
    Should be disjoint from of in_environment.
    See Schema::default_environment and in_environment.
    

    repeated string not_in_environment = 19;

    returns

    A list containing the notInEnvironment.

    Definition Classes
    FeatureFeatureOrBuilder
  50. def getOneofFieldDescriptor(oneof: OneofDescriptor): FieldDescriptor
    Definition Classes
    GeneratedMessageV3 → AbstractMessage → MessageOrBuilder
  51. def getParserForType(): Parser[Feature]
    Definition Classes
    Feature → GeneratedMessageV3 → Message → MessageLite
    Annotations
    @Override()
  52. def getPresence(): FeaturePresence

    Constraints on the presence of this feature in the examples.
    

    Constraints on the presence of this feature in the examples.
    

    .tensorflow.metadata.v0.FeaturePresence presence = 14;

    returns

    The presence.

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  53. def getPresenceConstraintsCase(): PresenceConstraintsCase
    Definition Classes
    FeatureFeatureOrBuilder
  54. def getPresenceOrBuilder(): FeaturePresenceOrBuilder

    Constraints on the presence of this feature in the examples.
    

    Constraints on the presence of this feature in the examples.
    

    .tensorflow.metadata.v0.FeaturePresence presence = 14;

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  55. def getRepeatedField(field: FieldDescriptor, index: Int): AnyRef
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  56. def getRepeatedFieldCount(field: FieldDescriptor): Int
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  57. def getSequenceMetadata(): SequenceMetadata

    This field specifies if this feature could be treated as a sequence
    feature which has meaningful element order.
    

    This field specifies if this feature could be treated as a sequence
    feature which has meaningful element order.
    

    optional .tensorflow.metadata.v0.SequenceMetadata sequence_metadata = 35;

    returns

    The sequenceMetadata.

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  58. def getSequenceMetadataOrBuilder(): SequenceMetadataOrBuilder

    This field specifies if this feature could be treated as a sequence
    feature which has meaningful element order.
    

    This field specifies if this feature could be treated as a sequence
    feature which has meaningful element order.
    

    optional .tensorflow.metadata.v0.SequenceMetadata sequence_metadata = 35;

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  59. def getSerializedSize(): Int
    Definition Classes
    Feature → GeneratedMessageV3 → AbstractMessage → MessageLite
    Annotations
    @Override()
  60. def getShape(): FixedShape

    The feature has a fixed shape corresponding to a multi-dimensional
    tensor.
    

    The feature has a fixed shape corresponding to a multi-dimensional
    tensor.
    

    .tensorflow.metadata.v0.FixedShape shape = 23;

    returns

    The shape.

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  61. def getShapeOrBuilder(): FixedShapeOrBuilder

    The feature has a fixed shape corresponding to a multi-dimensional
    tensor.
    

    The feature has a fixed shape corresponding to a multi-dimensional
    tensor.
    

    .tensorflow.metadata.v0.FixedShape shape = 23;

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  62. def getShapeTypeCase(): ShapeTypeCase
    Definition Classes
    FeatureFeatureOrBuilder
  63. def getSkewComparator(): FeatureComparator

    Tests comparing the distribution to the associated serving data.
    

    Tests comparing the distribution to the associated serving data.
    

    optional .tensorflow.metadata.v0.FeatureComparator skew_comparator = 18;

    returns

    The skewComparator.

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  64. def getSkewComparatorOrBuilder(): FeatureComparatorOrBuilder

    Tests comparing the distribution to the associated serving data.
    

    Tests comparing the distribution to the associated serving data.
    

    optional .tensorflow.metadata.v0.FeatureComparator skew_comparator = 18;

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  65. def getStringDomain(): StringDomain

    .tensorflow.metadata.v0.StringDomain string_domain = 11;

    .tensorflow.metadata.v0.StringDomain string_domain = 11;

    returns

    The stringDomain.

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  66. def getStringDomainOrBuilder(): StringDomainOrBuilder

    .tensorflow.metadata.v0.StringDomain string_domain = 11;

    .tensorflow.metadata.v0.StringDomain string_domain = 11;

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  67. def getStructDomain(): StructDomain

    .tensorflow.metadata.v0.StructDomain struct_domain = 29;

    .tensorflow.metadata.v0.StructDomain struct_domain = 29;

    returns

    The structDomain.

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  68. def getStructDomainOrBuilder(): StructDomainOrBuilder

    .tensorflow.metadata.v0.StructDomain struct_domain = 29;

    .tensorflow.metadata.v0.StructDomain struct_domain = 29;

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  69. def getTimeDomain(): TimeDomain

    .tensorflow.metadata.v0.TimeDomain time_domain = 28;

    .tensorflow.metadata.v0.TimeDomain time_domain = 28;

    returns

    The timeDomain.

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  70. def getTimeDomainOrBuilder(): TimeDomainOrBuilder

    .tensorflow.metadata.v0.TimeDomain time_domain = 28;

    .tensorflow.metadata.v0.TimeDomain time_domain = 28;

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  71. def getTimeOfDayDomain(): TimeOfDayDomain

    .tensorflow.metadata.v0.TimeOfDayDomain time_of_day_domain = 30;

    .tensorflow.metadata.v0.TimeOfDayDomain time_of_day_domain = 30;

    returns

    The timeOfDayDomain.

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  72. def getTimeOfDayDomainOrBuilder(): TimeOfDayDomainOrBuilder

    .tensorflow.metadata.v0.TimeOfDayDomain time_of_day_domain = 30;

    .tensorflow.metadata.v0.TimeOfDayDomain time_of_day_domain = 30;

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  73. def getType(): FeatureType

    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".
    

    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

    The type.

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  74. def getUniqueConstraints(): UniqueConstraints

    Constraints on the number of unique values for a given feature.
    This is supported for string and categorical features only.
    

    Constraints on the number of unique values for a given feature.
    This is supported for string and categorical features only.
    

    optional .tensorflow.metadata.v0.UniqueConstraints unique_constraints = 31;

    returns

    The uniqueConstraints.

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  75. def getUniqueConstraintsOrBuilder(): UniqueConstraintsOrBuilder

    Constraints on the number of unique values for a given feature.
    This is supported for string and categorical features only.
    

    Constraints on the number of unique values for a given feature.
    This is supported for string and categorical features only.
    

    optional .tensorflow.metadata.v0.UniqueConstraints unique_constraints = 31;

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  76. def getUnknownFields(): UnknownFieldSet
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  77. def getUrlDomain(): URLDomain

    .tensorflow.metadata.v0.URLDomain url_domain = 27;

    .tensorflow.metadata.v0.URLDomain url_domain = 27;

    returns

    The urlDomain.

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  78. def getUrlDomainOrBuilder(): URLDomainOrBuilder

    .tensorflow.metadata.v0.URLDomain url_domain = 27;

    .tensorflow.metadata.v0.URLDomain url_domain = 27;

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  79. def getValidationDerivedSource(): DerivedFeatureSource

    If set, indicates that that this feature is derived, and stores metadata
    about its source. If this field is set, this feature should have a
    disabled stage (PLANNED, ALPHA, DEPRECATED, DISABLED, DEBUG_ONLY), or
    lifecycle_stage VALIDATION_DERIVED.
    Experimental and subject to change.
    

    If set, indicates that that this feature is derived, and stores metadata
    about its source. If this field is set, this feature should have a
    disabled stage (PLANNED, ALPHA, DEPRECATED, DISABLED, DEBUG_ONLY), or
    lifecycle_stage VALIDATION_DERIVED.
    Experimental and subject to change.
    

    optional .tensorflow.metadata.v0.DerivedFeatureSource validation_derived_source = 34;

    returns

    The validationDerivedSource.

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  80. def getValidationDerivedSourceOrBuilder(): DerivedFeatureSourceOrBuilder

    If set, indicates that that this feature is derived, and stores metadata
    about its source. If this field is set, this feature should have a
    disabled stage (PLANNED, ALPHA, DEPRECATED, DISABLED, DEBUG_ONLY), or
    lifecycle_stage VALIDATION_DERIVED.
    Experimental and subject to change.
    

    If set, indicates that that this feature is derived, and stores metadata
    about its source. If this field is set, this feature should have a
    disabled stage (PLANNED, ALPHA, DEPRECATED, DISABLED, DEBUG_ONLY), or
    lifecycle_stage VALIDATION_DERIVED.
    Experimental and subject to change.
    

    optional .tensorflow.metadata.v0.DerivedFeatureSource validation_derived_source = 34;

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  81. def getValueCount(): ValueCount

    The feature doesn't have a well defined shape. All we know are limits on
    the minimum and maximum number of values.
    

    The feature doesn't have a well defined shape. All we know are limits on
    the minimum and maximum number of values.
    

    .tensorflow.metadata.v0.ValueCount value_count = 5;

    returns

    The valueCount.

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  82. def getValueCountOrBuilder(): ValueCountOrBuilder

    The feature doesn't have a well defined shape. All we know are limits on
    the minimum and maximum number of values.
    

    The feature doesn't have a well defined shape. All we know are limits on
    the minimum and maximum number of values.
    

    .tensorflow.metadata.v0.ValueCount value_count = 5;

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  83. def getValueCounts(): ValueCountList

    Captures the same information as value_count but for features with
    nested values. A ValueCount is provided for each nest level.
    

    Captures the same information as value_count but for features with
    nested values. A ValueCount is provided for each nest level.
    

    .tensorflow.metadata.v0.ValueCountList value_counts = 32;

    returns

    The valueCounts.

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  84. def getValueCountsOrBuilder(): ValueCountListOrBuilder

    Captures the same information as value_count but for features with
    nested values. A ValueCount is provided for each nest level.
    

    Captures the same information as value_count but for features with
    nested values. A ValueCount is provided for each nest level.
    

    .tensorflow.metadata.v0.ValueCountList value_counts = 32;

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  85. def hasAnnotation(): Boolean

    Additional information about the feature for documentation purpose.
    

    Additional information about the feature for documentation purpose.
    

    optional .tensorflow.metadata.v0.Annotation annotation = 16;

    returns

    Whether the annotation field is set.

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  86. def hasBoolDomain(): Boolean

    .tensorflow.metadata.v0.BoolDomain bool_domain = 13;

    .tensorflow.metadata.v0.BoolDomain bool_domain = 13;

    returns

    Whether the boolDomain field is set.

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  87. def hasDistributionConstraints(): Boolean

    Constraints on the distribution of the feature values.
    Only supported for StringDomains.
    

    Constraints on the distribution of the feature values.
    Only supported for StringDomains.
    

    optional .tensorflow.metadata.v0.DistributionConstraints distribution_constraints = 15;

    returns

    Whether the distributionConstraints field is set.

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  88. def hasDomain(): Boolean

    Reference to a domain defined at the schema level.
    

    Reference to a domain defined at the schema level.
    

    string domain = 7;

    returns

    Whether the domain field is set.

    Definition Classes
    FeatureFeatureOrBuilder
  89. def hasDriftComparator(): Boolean

    Tests comparing the distribution between two consecutive spans (e.g. days).
    

    Tests comparing the distribution between two consecutive spans (e.g. days).
    

    optional .tensorflow.metadata.v0.FeatureComparator drift_comparator = 21;

    returns

    Whether the driftComparator field is set.

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  90. def hasField(field: FieldDescriptor): Boolean
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  91. def hasFloatDomain(): Boolean

    .tensorflow.metadata.v0.FloatDomain float_domain = 10;

    .tensorflow.metadata.v0.FloatDomain float_domain = 10;

    returns

    Whether the floatDomain field is set.

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  92. def hasGroupPresence(): Boolean

    Only used in the context of a "group" context, e.g., inside a sequence.
    

    Only used in the context of a "group" context, e.g., inside a sequence.
    

    .tensorflow.metadata.v0.FeaturePresenceWithinGroup group_presence = 17;

    returns

    Whether the groupPresence field is set.

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  93. def hasImageDomain(): Boolean

    .tensorflow.metadata.v0.ImageDomain image_domain = 25;

    .tensorflow.metadata.v0.ImageDomain image_domain = 25;

    returns

    Whether the imageDomain field is set.

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  94. def hasIntDomain(): Boolean

    Inline definitions of domains.
    

    Inline definitions of domains.
    

    .tensorflow.metadata.v0.IntDomain int_domain = 9;

    returns

    Whether the intDomain field is set.

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  95. def hasLifecycleStage(): Boolean

    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.
    

    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

    Whether the lifecycleStage field is set.

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  96. def hasMidDomain(): Boolean

    .tensorflow.metadata.v0.MIDDomain mid_domain = 26;

    .tensorflow.metadata.v0.MIDDomain mid_domain = 26;

    returns

    Whether the midDomain field is set.

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  97. def hasName(): Boolean

    The name of the feature.
    

    The name of the feature.
    

    optional string name = 1;

    returns

    Whether the name field is set.

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  98. def hasNaturalLanguageDomain(): Boolean

    Supported semantic domains.
    

    Supported semantic domains.
    

    .tensorflow.metadata.v0.NaturalLanguageDomain natural_language_domain = 24;

    returns

    Whether the naturalLanguageDomain field is set.

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  99. def hasOneof(oneof: OneofDescriptor): Boolean
    Definition Classes
    GeneratedMessageV3 → AbstractMessage → MessageOrBuilder
  100. def hasPresence(): Boolean

    Constraints on the presence of this feature in the examples.
    

    Constraints on the presence of this feature in the examples.
    

    .tensorflow.metadata.v0.FeaturePresence presence = 14;

    returns

    Whether the presence field is set.

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  101. def hasSequenceMetadata(): Boolean

    This field specifies if this feature could be treated as a sequence
    feature which has meaningful element order.
    

    This field specifies if this feature could be treated as a sequence
    feature which has meaningful element order.
    

    optional .tensorflow.metadata.v0.SequenceMetadata sequence_metadata = 35;

    returns

    Whether the sequenceMetadata field is set.

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  102. def hasShape(): Boolean

    The feature has a fixed shape corresponding to a multi-dimensional
    tensor.
    

    The feature has a fixed shape corresponding to a multi-dimensional
    tensor.
    

    .tensorflow.metadata.v0.FixedShape shape = 23;

    returns

    Whether the shape field is set.

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  103. def hasSkewComparator(): Boolean

    Tests comparing the distribution to the associated serving data.
    

    Tests comparing the distribution to the associated serving data.
    

    optional .tensorflow.metadata.v0.FeatureComparator skew_comparator = 18;

    returns

    Whether the skewComparator field is set.

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  104. def hasStringDomain(): Boolean

    .tensorflow.metadata.v0.StringDomain string_domain = 11;

    .tensorflow.metadata.v0.StringDomain string_domain = 11;

    returns

    Whether the stringDomain field is set.

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  105. def hasStructDomain(): Boolean

    .tensorflow.metadata.v0.StructDomain struct_domain = 29;

    .tensorflow.metadata.v0.StructDomain struct_domain = 29;

    returns

    Whether the structDomain field is set.

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  106. def hasTimeDomain(): Boolean

    .tensorflow.metadata.v0.TimeDomain time_domain = 28;

    .tensorflow.metadata.v0.TimeDomain time_domain = 28;

    returns

    Whether the timeDomain field is set.

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  107. def hasTimeOfDayDomain(): Boolean

    .tensorflow.metadata.v0.TimeOfDayDomain time_of_day_domain = 30;

    .tensorflow.metadata.v0.TimeOfDayDomain time_of_day_domain = 30;

    returns

    Whether the timeOfDayDomain field is set.

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  108. def hasType(): Boolean

    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".
    

    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

    Whether the type field is set.

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  109. def hasUniqueConstraints(): Boolean

    Constraints on the number of unique values for a given feature.
    This is supported for string and categorical features only.
    

    Constraints on the number of unique values for a given feature.
    This is supported for string and categorical features only.
    

    optional .tensorflow.metadata.v0.UniqueConstraints unique_constraints = 31;

    returns

    Whether the uniqueConstraints field is set.

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  110. def hasUrlDomain(): Boolean

    .tensorflow.metadata.v0.URLDomain url_domain = 27;

    .tensorflow.metadata.v0.URLDomain url_domain = 27;

    returns

    Whether the urlDomain field is set.

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  111. def hasValidationDerivedSource(): Boolean

    If set, indicates that that this feature is derived, and stores metadata
    about its source. If this field is set, this feature should have a
    disabled stage (PLANNED, ALPHA, DEPRECATED, DISABLED, DEBUG_ONLY), or
    lifecycle_stage VALIDATION_DERIVED.
    Experimental and subject to change.
    

    If set, indicates that that this feature is derived, and stores metadata
    about its source. If this field is set, this feature should have a
    disabled stage (PLANNED, ALPHA, DEPRECATED, DISABLED, DEBUG_ONLY), or
    lifecycle_stage VALIDATION_DERIVED.
    Experimental and subject to change.
    

    optional .tensorflow.metadata.v0.DerivedFeatureSource validation_derived_source = 34;

    returns

    Whether the validationDerivedSource field is set.

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  112. def hasValueCount(): Boolean

    The feature doesn't have a well defined shape. All we know are limits on
    the minimum and maximum number of values.
    

    The feature doesn't have a well defined shape. All we know are limits on
    the minimum and maximum number of values.
    

    .tensorflow.metadata.v0.ValueCount value_count = 5;

    returns

    Whether the valueCount field is set.

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  113. def hasValueCounts(): Boolean

    Captures the same information as value_count but for features with
    nested values. A ValueCount is provided for each nest level.
    

    Captures the same information as value_count but for features with
    nested values. A ValueCount is provided for each nest level.
    

    .tensorflow.metadata.v0.ValueCountList value_counts = 32;

    returns

    Whether the valueCounts field is set.

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override()
  114. def hashCode(): Int
    Definition Classes
    Feature → AbstractMessage → Message → AnyRef → Any
    Annotations
    @Override()
  115. def internalGetFieldAccessorTable(): FieldAccessorTable
    Attributes
    protected[v0]
    Definition Classes
    Feature → GeneratedMessageV3
    Annotations
    @Override()
  116. def internalGetMapFieldReflection(fieldNumber: Int): MapFieldReflectionAccessor
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessageV3
  117. final def isInitialized(): Boolean
    Definition Classes
    Feature → GeneratedMessageV3 → AbstractMessage → MessageLiteOrBuilder
    Annotations
    @Override()
  118. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  119. def makeExtensionsImmutable(): Unit
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessageV3
  120. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  121. def newBuilderForType(parent: BuilderParent): Builder
    Attributes
    protected[v0]
    Definition Classes
    Feature → GeneratedMessageV3
    Annotations
    @Override()
  122. def newBuilderForType(): Builder
    Definition Classes
    Feature → Message → MessageLite
    Annotations
    @Override()
  123. def newBuilderForType(parent: BuilderParent): Builder
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessageV3 → AbstractMessage
  124. def newInstance(unused: UnusedPrivateParameter): AnyRef
    Attributes
    protected[v0]
    Definition Classes
    Feature → GeneratedMessageV3
    Annotations
    @Override() @SuppressWarnings()
  125. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  126. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  127. def parseUnknownField(input: CodedInputStream, unknownFields: Builder, extensionRegistry: ExtensionRegistryLite, tag: Int): Boolean
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessageV3
    Annotations
    @throws(classOf[java.io.IOException])
  128. def parseUnknownFieldProto3(input: CodedInputStream, unknownFields: Builder, extensionRegistry: ExtensionRegistryLite, tag: Int): Boolean
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessageV3
    Annotations
    @throws(classOf[java.io.IOException])
  129. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  130. def toBuilder(): Builder
    Definition Classes
    Feature → Message → MessageLite
    Annotations
    @Override()
  131. def toByteArray(): Array[Byte]
    Definition Classes
    AbstractMessageLite → MessageLite
  132. def toByteString(): ByteString
    Definition Classes
    AbstractMessageLite → MessageLite
  133. final def toString(): String
    Definition Classes
    AbstractMessage → Message → AnyRef → Any
  134. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  135. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  136. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  137. def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    AbstractMessageLite → MessageLite
    Annotations
    @throws(classOf[java.io.IOException])
  138. def writeReplace(): AnyRef
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessageV3
    Annotations
    @throws(classOf[java.io.ObjectStreamException])
  139. def writeTo(output: CodedOutputStream): Unit
    Definition Classes
    Feature → GeneratedMessageV3 → AbstractMessage → MessageLite
    Annotations
    @Override()
  140. def writeTo(output: OutputStream): Unit
    Definition Classes
    AbstractMessageLite → MessageLite
    Annotations
    @throws(classOf[java.io.IOException])

Deprecated Value Members

  1. def getDeprecated(): Boolean

    This field is no longer supported. Instead, use:
    lifecycle_stage: DEPRECATED
    TODO(b/111450258): remove this.
    

    This field is no longer supported. Instead, use:
    lifecycle_stage: DEPRECATED
    TODO(b/111450258): remove this.
    

    optional bool deprecated = 2 [deprecated = true];

    returns

    The deprecated.

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override() @Deprecated
    Deprecated
  2. def hasDeprecated(): Boolean

    This field is no longer supported. Instead, use:
    lifecycle_stage: DEPRECATED
    TODO(b/111450258): remove this.
    

    This field is no longer supported. Instead, use:
    lifecycle_stage: DEPRECATED
    TODO(b/111450258): remove this.
    

    optional bool deprecated = 2 [deprecated = true];

    returns

    Whether the deprecated field is set.

    Definition Classes
    FeatureFeatureOrBuilder
    Annotations
    @Override() @Deprecated
    Deprecated
  3. def internalGetMapField(fieldNumber: Int): MapField[_ <: AnyRef, _ <: AnyRef]
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessageV3
    Annotations
    @Deprecated
    Deprecated
  4. def mergeFromAndMakeImmutableInternal(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): Unit
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessageV3
    Annotations
    @throws(classOf[com.google.protobuf.InvalidProtocolBufferException]) @Deprecated
    Deprecated

Inherited from FeatureOrBuilder

Inherited from GeneratedMessageV3

Inherited from Serializable

Inherited from AbstractMessage

Inherited from Message

Inherited from MessageOrBuilder

Inherited from AbstractMessageLite[MessageType, BuilderType]

Inherited from MessageLite

Inherited from MessageLiteOrBuilder

Inherited from AnyRef

Inherited from Any

Ungrouped