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
- Alphabetic
- By Inheritance
- Feature
- FeatureOrBuilder
- GeneratedMessageV3
- Serializable
- AbstractMessage
- Message
- MessageOrBuilder
- AbstractMessageLite
- MessageLite
- MessageLiteOrBuilder
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(obj: AnyRef): Boolean
- Definition Classes
- Feature → AbstractMessage → Message → AnyRef → Any
- Annotations
- @Override()
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def findInitializationErrors(): List[String]
- Definition Classes
- AbstractMessage → MessageOrBuilder
- def getAllFields(): Map[FieldDescriptor, AnyRef]
- Definition Classes
- GeneratedMessageV3 → MessageOrBuilder
- 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
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- 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
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- def getBoolDomain(): BoolDomain
.tensorflow.metadata.v0.BoolDomain bool_domain = 13;
.tensorflow.metadata.v0.BoolDomain bool_domain = 13;
- returns
The boolDomain.
- Definition Classes
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- def getBoolDomainOrBuilder(): BoolDomainOrBuilder
.tensorflow.metadata.v0.BoolDomain bool_domain = 13;
.tensorflow.metadata.v0.BoolDomain bool_domain = 13;
- Definition Classes
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getDefaultInstanceForType(): Feature
- Definition Classes
- Feature → MessageOrBuilder → MessageLiteOrBuilder
- Annotations
- @Override()
- def getDescriptorForType(): Descriptor
- Definition Classes
- GeneratedMessageV3 → MessageOrBuilder
- 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
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- 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
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- 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
- Feature → FeatureOrBuilder
- 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
- Feature → FeatureOrBuilder
- def getDomainInfoCase(): DomainInfoCase
- Definition Classes
- Feature → FeatureOrBuilder
- 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
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- 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
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- def getField(field: FieldDescriptor): AnyRef
- Definition Classes
- GeneratedMessageV3 → MessageOrBuilder
- def getFloatDomain(): FloatDomain
.tensorflow.metadata.v0.FloatDomain float_domain = 10;
.tensorflow.metadata.v0.FloatDomain float_domain = 10;
- returns
The floatDomain.
- Definition Classes
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- def getFloatDomainOrBuilder(): FloatDomainOrBuilder
.tensorflow.metadata.v0.FloatDomain float_domain = 10;
.tensorflow.metadata.v0.FloatDomain float_domain = 10;
- Definition Classes
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- 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
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- 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
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- def getImageDomain(): ImageDomain
.tensorflow.metadata.v0.ImageDomain image_domain = 25;
.tensorflow.metadata.v0.ImageDomain image_domain = 25;
- returns
The imageDomain.
- Definition Classes
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- def getImageDomainOrBuilder(): ImageDomainOrBuilder
.tensorflow.metadata.v0.ImageDomain image_domain = 25;
.tensorflow.metadata.v0.ImageDomain image_domain = 25;
- Definition Classes
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- 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
- Feature → FeatureOrBuilder
- 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
- Feature → FeatureOrBuilder
- 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
- Feature → FeatureOrBuilder
- 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
- Feature → FeatureOrBuilder
- def getInitializationErrorString(): String
- Definition Classes
- AbstractMessage → MessageOrBuilder
- def getIntDomain(): IntDomain
Inline definitions of domains.
Inline definitions of domains.
.tensorflow.metadata.v0.IntDomain int_domain = 9;
- returns
The intDomain.
- Definition Classes
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- def getIntDomainOrBuilder(): IntDomainOrBuilder
Inline definitions of domains.
Inline definitions of domains.
.tensorflow.metadata.v0.IntDomain int_domain = 9;
- Definition Classes
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- 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
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- def getMidDomain(): MIDDomain
.tensorflow.metadata.v0.MIDDomain mid_domain = 26;
.tensorflow.metadata.v0.MIDDomain mid_domain = 26;
- returns
The midDomain.
- Definition Classes
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- def getMidDomainOrBuilder(): MIDDomainOrBuilder
.tensorflow.metadata.v0.MIDDomain mid_domain = 26;
.tensorflow.metadata.v0.MIDDomain mid_domain = 26;
- Definition Classes
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- def getName(): String
The name of the feature.
The name of the feature.
optional string name = 1;
- returns
The name.
- Definition Classes
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- def getNameBytes(): ByteString
The name of the feature.
The name of the feature.
optional string name = 1;
- returns
The bytes for name.
- Definition Classes
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- def getNaturalLanguageDomain(): NaturalLanguageDomain
Supported semantic domains.
Supported semantic domains.
.tensorflow.metadata.v0.NaturalLanguageDomain natural_language_domain = 24;
- returns
The naturalLanguageDomain.
- Definition Classes
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- def getNaturalLanguageDomainOrBuilder(): NaturalLanguageDomainOrBuilder
Supported semantic domains.
Supported semantic domains.
.tensorflow.metadata.v0.NaturalLanguageDomain natural_language_domain = 24;
- Definition Classes
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- 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
- Feature → FeatureOrBuilder
- 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
- Feature → FeatureOrBuilder
- 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
- Feature → FeatureOrBuilder
- 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
- Feature → FeatureOrBuilder
- def getOneofFieldDescriptor(oneof: OneofDescriptor): FieldDescriptor
- Definition Classes
- GeneratedMessageV3 → AbstractMessage → MessageOrBuilder
- def getParserForType(): Parser[Feature]
- Definition Classes
- Feature → GeneratedMessageV3 → Message → MessageLite
- Annotations
- @Override()
- 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
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- def getPresenceConstraintsCase(): PresenceConstraintsCase
- Definition Classes
- Feature → FeatureOrBuilder
- 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
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- def getRepeatedField(field: FieldDescriptor, index: Int): AnyRef
- Definition Classes
- GeneratedMessageV3 → MessageOrBuilder
- def getRepeatedFieldCount(field: FieldDescriptor): Int
- Definition Classes
- GeneratedMessageV3 → MessageOrBuilder
- 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
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- 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
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- def getSerializedSize(): Int
- Definition Classes
- Feature → GeneratedMessageV3 → AbstractMessage → MessageLite
- Annotations
- @Override()
- 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
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- 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
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- def getShapeTypeCase(): ShapeTypeCase
- Definition Classes
- Feature → FeatureOrBuilder
- 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
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- 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
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- def getStringDomain(): StringDomain
.tensorflow.metadata.v0.StringDomain string_domain = 11;
.tensorflow.metadata.v0.StringDomain string_domain = 11;
- returns
The stringDomain.
- Definition Classes
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- def getStringDomainOrBuilder(): StringDomainOrBuilder
.tensorflow.metadata.v0.StringDomain string_domain = 11;
.tensorflow.metadata.v0.StringDomain string_domain = 11;
- Definition Classes
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- def getStructDomain(): StructDomain
.tensorflow.metadata.v0.StructDomain struct_domain = 29;
.tensorflow.metadata.v0.StructDomain struct_domain = 29;
- returns
The structDomain.
- Definition Classes
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- def getStructDomainOrBuilder(): StructDomainOrBuilder
.tensorflow.metadata.v0.StructDomain struct_domain = 29;
.tensorflow.metadata.v0.StructDomain struct_domain = 29;
- Definition Classes
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- def getTimeDomain(): TimeDomain
.tensorflow.metadata.v0.TimeDomain time_domain = 28;
.tensorflow.metadata.v0.TimeDomain time_domain = 28;
- returns
The timeDomain.
- Definition Classes
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- def getTimeDomainOrBuilder(): TimeDomainOrBuilder
.tensorflow.metadata.v0.TimeDomain time_domain = 28;
.tensorflow.metadata.v0.TimeDomain time_domain = 28;
- Definition Classes
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- 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
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- def getTimeOfDayDomainOrBuilder(): TimeOfDayDomainOrBuilder
.tensorflow.metadata.v0.TimeOfDayDomain time_of_day_domain = 30;
.tensorflow.metadata.v0.TimeOfDayDomain time_of_day_domain = 30;
- Definition Classes
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- 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
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- 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
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- 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
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- def getUnknownFields(): UnknownFieldSet
- Definition Classes
- GeneratedMessageV3 → MessageOrBuilder
- def getUrlDomain(): URLDomain
.tensorflow.metadata.v0.URLDomain url_domain = 27;
.tensorflow.metadata.v0.URLDomain url_domain = 27;
- returns
The urlDomain.
- Definition Classes
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- def getUrlDomainOrBuilder(): URLDomainOrBuilder
.tensorflow.metadata.v0.URLDomain url_domain = 27;
.tensorflow.metadata.v0.URLDomain url_domain = 27;
- Definition Classes
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- 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
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- 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
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- 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
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- 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
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- 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
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- 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
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- 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
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- 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
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- 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
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- 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
- Feature → FeatureOrBuilder
- 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
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- def hasField(field: FieldDescriptor): Boolean
- Definition Classes
- GeneratedMessageV3 → MessageOrBuilder
- 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
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- 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
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- 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
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- 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
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- 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
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- 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
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- 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
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- 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
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- def hasOneof(oneof: OneofDescriptor): Boolean
- Definition Classes
- GeneratedMessageV3 → AbstractMessage → MessageOrBuilder
- 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
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- 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
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- 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
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- 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
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- 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
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- 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
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- 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
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- 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
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- 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
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- 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
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- 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
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- 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
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- 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
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- 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
- Feature → FeatureOrBuilder
- Annotations
- @Override()
- def hashCode(): Int
- Definition Classes
- Feature → AbstractMessage → Message → AnyRef → Any
- Annotations
- @Override()
- def internalGetFieldAccessorTable(): FieldAccessorTable
- def internalGetMapFieldReflection(fieldNumber: Int): MapFieldReflectionAccessor
- Attributes
- protected[protobuf]
- Definition Classes
- GeneratedMessageV3
- final def isInitialized(): Boolean
- Definition Classes
- Feature → GeneratedMessageV3 → AbstractMessage → MessageLiteOrBuilder
- Annotations
- @Override()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def makeExtensionsImmutable(): Unit
- Attributes
- protected[protobuf]
- Definition Classes
- GeneratedMessageV3
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newBuilderForType(parent: BuilderParent): Builder
- def newBuilderForType(): Builder
- Definition Classes
- Feature → Message → MessageLite
- Annotations
- @Override()
- def newBuilderForType(parent: BuilderParent): Builder
- Attributes
- protected[protobuf]
- Definition Classes
- GeneratedMessageV3 → AbstractMessage
- def newInstance(unused: UnusedPrivateParameter): AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def parseUnknownField(input: CodedInputStream, unknownFields: Builder, extensionRegistry: ExtensionRegistryLite, tag: Int): Boolean
- Attributes
- protected[protobuf]
- Definition Classes
- GeneratedMessageV3
- Annotations
- @throws(classOf[java.io.IOException])
- def parseUnknownFieldProto3(input: CodedInputStream, unknownFields: Builder, extensionRegistry: ExtensionRegistryLite, tag: Int): Boolean
- Attributes
- protected[protobuf]
- Definition Classes
- GeneratedMessageV3
- Annotations
- @throws(classOf[java.io.IOException])
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toBuilder(): Builder
- Definition Classes
- Feature → Message → MessageLite
- Annotations
- @Override()
- def toByteArray(): Array[Byte]
- Definition Classes
- AbstractMessageLite → MessageLite
- def toByteString(): ByteString
- Definition Classes
- AbstractMessageLite → MessageLite
- final def toString(): String
- Definition Classes
- AbstractMessage → Message → AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- AbstractMessageLite → MessageLite
- Annotations
- @throws(classOf[java.io.IOException])
- def writeReplace(): AnyRef
- Attributes
- protected[protobuf]
- Definition Classes
- GeneratedMessageV3
- Annotations
- @throws(classOf[java.io.ObjectStreamException])
- def writeTo(output: CodedOutputStream): Unit
- Definition Classes
- Feature → GeneratedMessageV3 → AbstractMessage → MessageLite
- Annotations
- @Override()
- def writeTo(output: OutputStream): Unit
- Definition Classes
- AbstractMessageLite → MessageLite
- Annotations
- @throws(classOf[java.io.IOException])
Deprecated Value Members
- 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
- Feature → FeatureOrBuilder
- Annotations
- @Override() @Deprecated
- Deprecated
- 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
- Feature → FeatureOrBuilder
- Annotations
- @Override() @Deprecated
- Deprecated
- def internalGetMapField(fieldNumber: Int): MapField[_ <: AnyRef, _ <: AnyRef]
- Attributes
- protected[protobuf]
- Definition Classes
- GeneratedMessageV3
- Annotations
- @Deprecated
- Deprecated
- def mergeFromAndMakeImmutableInternal(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): Unit
- Attributes
- protected[protobuf]
- Definition Classes
- GeneratedMessageV3
- Annotations
- @throws(classOf[com.google.protobuf.InvalidProtocolBufferException]) @Deprecated
- Deprecated