public interface FeatureOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
Annotation |
getAnnotation()
Additional information about the feature for documentation purpose.
|
AnnotationOrBuilder |
getAnnotationOrBuilder()
Additional information about the feature for documentation purpose.
|
BoolDomain |
getBoolDomain()
optional .tensorflow.metadata.v0.BoolDomain bool_domain = 13; |
BoolDomainOrBuilder |
getBoolDomainOrBuilder()
optional .tensorflow.metadata.v0.BoolDomain bool_domain = 13; |
boolean |
getDeprecated()
Deprecated.
|
DistributionConstraints |
getDistributionConstraints()
Constraints on the distribution of the feature values.
|
DistributionConstraintsOrBuilder |
getDistributionConstraintsOrBuilder()
Constraints on the distribution of the feature values.
|
String |
getDomain()
Reference to a domain defined at the schema level.
|
com.google.protobuf.ByteString |
getDomainBytes()
Reference to a domain defined at the schema level.
|
Feature.DomainInfoCase |
getDomainInfoCase() |
FeatureComparator |
getDriftComparator()
Tests comparing the distribution between two consecutive spans (e.g.
|
FeatureComparatorOrBuilder |
getDriftComparatorOrBuilder()
Tests comparing the distribution between two consecutive spans (e.g.
|
FloatDomain |
getFloatDomain()
optional .tensorflow.metadata.v0.FloatDomain float_domain = 10; |
FloatDomainOrBuilder |
getFloatDomainOrBuilder()
optional .tensorflow.metadata.v0.FloatDomain float_domain = 10; |
FeaturePresenceWithinGroup |
getGroupPresence()
Only used in the context of a "group" context, e.g., inside a sequence.
|
FeaturePresenceWithinGroupOrBuilder |
getGroupPresenceOrBuilder()
Only used in the context of a "group" context, e.g., inside a sequence.
|
ImageDomain |
getImageDomain()
optional .tensorflow.metadata.v0.ImageDomain image_domain = 25; |
ImageDomainOrBuilder |
getImageDomainOrBuilder()
optional .tensorflow.metadata.v0.ImageDomain image_domain = 25; |
String |
getInEnvironment(int index)
List of environments this feature is present in.
|
com.google.protobuf.ByteString |
getInEnvironmentBytes(int index)
List of environments this feature is present in.
|
int |
getInEnvironmentCount()
List of environments this feature is present in.
|
List<String> |
getInEnvironmentList()
List of environments this feature is present in.
|
IntDomain |
getIntDomain()
Inline definitions of domains.
|
IntDomainOrBuilder |
getIntDomainOrBuilder()
Inline definitions of domains.
|
LifecycleStage |
getLifecycleStage()
The lifecycle stage of a feature.
|
MIDDomain |
getMidDomain()
optional .tensorflow.metadata.v0.MIDDomain mid_domain = 26; |
MIDDomainOrBuilder |
getMidDomainOrBuilder()
optional .tensorflow.metadata.v0.MIDDomain mid_domain = 26; |
String |
getName()
The name of the feature.
|
com.google.protobuf.ByteString |
getNameBytes()
The name of the feature.
|
NaturalLanguageDomain |
getNaturalLanguageDomain()
Supported semantic domains.
|
NaturalLanguageDomainOrBuilder |
getNaturalLanguageDomainOrBuilder()
Supported semantic domains.
|
String |
getNotInEnvironment(int index)
List of environments this feature is not present in.
|
com.google.protobuf.ByteString |
getNotInEnvironmentBytes(int index)
List of environments this feature is not present in.
|
int |
getNotInEnvironmentCount()
List of environments this feature is not present in.
|
List<String> |
getNotInEnvironmentList()
List of environments this feature is not present in.
|
FeaturePresence |
getPresence()
Constraints on the presence of this feature in the examples.
|
Feature.PresenceConstraintsCase |
getPresenceConstraintsCase() |
FeaturePresenceOrBuilder |
getPresenceOrBuilder()
Constraints on the presence of this feature in the examples.
|
FixedShape |
getShape()
The feature has a fixed shape corresponding to a multi-dimensional
tensor.
|
FixedShapeOrBuilder |
getShapeOrBuilder()
The feature has a fixed shape corresponding to a multi-dimensional
tensor.
|
Feature.ShapeTypeCase |
getShapeTypeCase() |
FeatureComparator |
getSkewComparator()
Tests comparing the distribution to the associated serving data.
|
FeatureComparatorOrBuilder |
getSkewComparatorOrBuilder()
Tests comparing the distribution to the associated serving data.
|
StringDomain |
getStringDomain()
optional .tensorflow.metadata.v0.StringDomain string_domain = 11; |
StringDomainOrBuilder |
getStringDomainOrBuilder()
optional .tensorflow.metadata.v0.StringDomain string_domain = 11; |
StructDomain |
getStructDomain()
optional .tensorflow.metadata.v0.StructDomain struct_domain = 29; |
StructDomainOrBuilder |
getStructDomainOrBuilder()
optional .tensorflow.metadata.v0.StructDomain struct_domain = 29; |
TimeDomain |
getTimeDomain()
optional .tensorflow.metadata.v0.TimeDomain time_domain = 28; |
TimeDomainOrBuilder |
getTimeDomainOrBuilder()
optional .tensorflow.metadata.v0.TimeDomain time_domain = 28; |
TimeOfDayDomain |
getTimeOfDayDomain()
optional .tensorflow.metadata.v0.TimeOfDayDomain time_of_day_domain = 30; |
TimeOfDayDomainOrBuilder |
getTimeOfDayDomainOrBuilder()
optional .tensorflow.metadata.v0.TimeOfDayDomain time_of_day_domain = 30; |
FeatureType |
getType()
Physical type of the feature's values.
|
URLDomain |
getUrlDomain()
optional .tensorflow.metadata.v0.URLDomain url_domain = 27; |
URLDomainOrBuilder |
getUrlDomainOrBuilder()
optional .tensorflow.metadata.v0.URLDomain url_domain = 27; |
ValueCount |
getValueCount()
The feature doesn't have a well defined shape.
|
ValueCountOrBuilder |
getValueCountOrBuilder()
The feature doesn't have a well defined shape.
|
boolean |
hasAnnotation()
Additional information about the feature for documentation purpose.
|
boolean |
hasBoolDomain()
optional .tensorflow.metadata.v0.BoolDomain bool_domain = 13; |
boolean |
hasDeprecated()
Deprecated.
|
boolean |
hasDistributionConstraints()
Constraints on the distribution of the feature values.
|
boolean |
hasDomain()
Reference to a domain defined at the schema level.
|
boolean |
hasDriftComparator()
Tests comparing the distribution between two consecutive spans (e.g.
|
boolean |
hasFloatDomain()
optional .tensorflow.metadata.v0.FloatDomain float_domain = 10; |
boolean |
hasGroupPresence()
Only used in the context of a "group" context, e.g., inside a sequence.
|
boolean |
hasImageDomain()
optional .tensorflow.metadata.v0.ImageDomain image_domain = 25; |
boolean |
hasIntDomain()
Inline definitions of domains.
|
boolean |
hasLifecycleStage()
The lifecycle stage of a feature.
|
boolean |
hasMidDomain()
optional .tensorflow.metadata.v0.MIDDomain mid_domain = 26; |
boolean |
hasName()
The name of the feature.
|
boolean |
hasNaturalLanguageDomain()
Supported semantic domains.
|
boolean |
hasPresence()
Constraints on the presence of this feature in the examples.
|
boolean |
hasShape()
The feature has a fixed shape corresponding to a multi-dimensional
tensor.
|
boolean |
hasSkewComparator()
Tests comparing the distribution to the associated serving data.
|
boolean |
hasStringDomain()
optional .tensorflow.metadata.v0.StringDomain string_domain = 11; |
boolean |
hasStructDomain()
optional .tensorflow.metadata.v0.StructDomain struct_domain = 29; |
boolean |
hasTimeDomain()
optional .tensorflow.metadata.v0.TimeDomain time_domain = 28; |
boolean |
hasTimeOfDayDomain()
optional .tensorflow.metadata.v0.TimeOfDayDomain time_of_day_domain = 30; |
boolean |
hasType()
Physical type of the feature's values.
|
boolean |
hasUrlDomain()
optional .tensorflow.metadata.v0.URLDomain url_domain = 27; |
boolean |
hasValueCount()
The feature doesn't have a well defined shape.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasName()
The name of the feature.
optional string name = 1;String getName()
The name of the feature.
optional string name = 1;com.google.protobuf.ByteString getNameBytes()
The name of the feature.
optional string name = 1;@Deprecated boolean hasDeprecated()
This field is no longer supported. Instead, use: lifecycle_stage: DEPRECATED TODO(b/111450258): remove this.
optional bool deprecated = 2 [deprecated = true];@Deprecated boolean getDeprecated()
This field is no longer supported. Instead, use: lifecycle_stage: DEPRECATED TODO(b/111450258): remove this.
optional bool deprecated = 2 [deprecated = true];boolean hasPresence()
Constraints on the presence of this feature in the examples.
optional .tensorflow.metadata.v0.FeaturePresence presence = 14;FeaturePresence getPresence()
Constraints on the presence of this feature in the examples.
optional .tensorflow.metadata.v0.FeaturePresence presence = 14;FeaturePresenceOrBuilder getPresenceOrBuilder()
Constraints on the presence of this feature in the examples.
optional .tensorflow.metadata.v0.FeaturePresence presence = 14;boolean hasGroupPresence()
Only used in the context of a "group" context, e.g., inside a sequence.
optional .tensorflow.metadata.v0.FeaturePresenceWithinGroup group_presence = 17;FeaturePresenceWithinGroup getGroupPresence()
Only used in the context of a "group" context, e.g., inside a sequence.
optional .tensorflow.metadata.v0.FeaturePresenceWithinGroup group_presence = 17;FeaturePresenceWithinGroupOrBuilder getGroupPresenceOrBuilder()
Only used in the context of a "group" context, e.g., inside a sequence.
optional .tensorflow.metadata.v0.FeaturePresenceWithinGroup group_presence = 17;boolean hasShape()
The feature has a fixed shape corresponding to a multi-dimensional tensor.
optional .tensorflow.metadata.v0.FixedShape shape = 23;FixedShape getShape()
The feature has a fixed shape corresponding to a multi-dimensional tensor.
optional .tensorflow.metadata.v0.FixedShape shape = 23;FixedShapeOrBuilder getShapeOrBuilder()
The feature has a fixed shape corresponding to a multi-dimensional tensor.
optional .tensorflow.metadata.v0.FixedShape shape = 23;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;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;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;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;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;boolean hasDomain()
Reference to a domain defined at the schema level.
optional string domain = 7;String getDomain()
Reference to a domain defined at the schema level.
optional string domain = 7;com.google.protobuf.ByteString getDomainBytes()
Reference to a domain defined at the schema level.
optional string domain = 7;boolean hasIntDomain()
Inline definitions of domains.
optional .tensorflow.metadata.v0.IntDomain int_domain = 9;IntDomain getIntDomain()
Inline definitions of domains.
optional .tensorflow.metadata.v0.IntDomain int_domain = 9;IntDomainOrBuilder getIntDomainOrBuilder()
Inline definitions of domains.
optional .tensorflow.metadata.v0.IntDomain int_domain = 9;boolean hasFloatDomain()
optional .tensorflow.metadata.v0.FloatDomain float_domain = 10;FloatDomain getFloatDomain()
optional .tensorflow.metadata.v0.FloatDomain float_domain = 10;FloatDomainOrBuilder getFloatDomainOrBuilder()
optional .tensorflow.metadata.v0.FloatDomain float_domain = 10;boolean hasStringDomain()
optional .tensorflow.metadata.v0.StringDomain string_domain = 11;StringDomain getStringDomain()
optional .tensorflow.metadata.v0.StringDomain string_domain = 11;StringDomainOrBuilder getStringDomainOrBuilder()
optional .tensorflow.metadata.v0.StringDomain string_domain = 11;boolean hasBoolDomain()
optional .tensorflow.metadata.v0.BoolDomain bool_domain = 13;BoolDomain getBoolDomain()
optional .tensorflow.metadata.v0.BoolDomain bool_domain = 13;BoolDomainOrBuilder getBoolDomainOrBuilder()
optional .tensorflow.metadata.v0.BoolDomain bool_domain = 13;boolean hasStructDomain()
optional .tensorflow.metadata.v0.StructDomain struct_domain = 29;StructDomain getStructDomain()
optional .tensorflow.metadata.v0.StructDomain struct_domain = 29;StructDomainOrBuilder getStructDomainOrBuilder()
optional .tensorflow.metadata.v0.StructDomain struct_domain = 29;boolean hasNaturalLanguageDomain()
Supported semantic domains.
optional .tensorflow.metadata.v0.NaturalLanguageDomain natural_language_domain = 24;NaturalLanguageDomain getNaturalLanguageDomain()
Supported semantic domains.
optional .tensorflow.metadata.v0.NaturalLanguageDomain natural_language_domain = 24;NaturalLanguageDomainOrBuilder getNaturalLanguageDomainOrBuilder()
Supported semantic domains.
optional .tensorflow.metadata.v0.NaturalLanguageDomain natural_language_domain = 24;boolean hasImageDomain()
optional .tensorflow.metadata.v0.ImageDomain image_domain = 25;ImageDomain getImageDomain()
optional .tensorflow.metadata.v0.ImageDomain image_domain = 25;ImageDomainOrBuilder getImageDomainOrBuilder()
optional .tensorflow.metadata.v0.ImageDomain image_domain = 25;boolean hasMidDomain()
optional .tensorflow.metadata.v0.MIDDomain mid_domain = 26;MIDDomain getMidDomain()
optional .tensorflow.metadata.v0.MIDDomain mid_domain = 26;MIDDomainOrBuilder getMidDomainOrBuilder()
optional .tensorflow.metadata.v0.MIDDomain mid_domain = 26;boolean hasUrlDomain()
optional .tensorflow.metadata.v0.URLDomain url_domain = 27;URLDomain getUrlDomain()
optional .tensorflow.metadata.v0.URLDomain url_domain = 27;URLDomainOrBuilder getUrlDomainOrBuilder()
optional .tensorflow.metadata.v0.URLDomain url_domain = 27;boolean hasTimeDomain()
optional .tensorflow.metadata.v0.TimeDomain time_domain = 28;TimeDomain getTimeDomain()
optional .tensorflow.metadata.v0.TimeDomain time_domain = 28;TimeDomainOrBuilder getTimeDomainOrBuilder()
optional .tensorflow.metadata.v0.TimeDomain time_domain = 28;boolean hasTimeOfDayDomain()
optional .tensorflow.metadata.v0.TimeOfDayDomain time_of_day_domain = 30;TimeOfDayDomain getTimeOfDayDomain()
optional .tensorflow.metadata.v0.TimeOfDayDomain time_of_day_domain = 30;TimeOfDayDomainOrBuilder getTimeOfDayDomainOrBuilder()
optional .tensorflow.metadata.v0.TimeOfDayDomain time_of_day_domain = 30;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;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;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;boolean hasAnnotation()
Additional information about the feature for documentation purpose.
optional .tensorflow.metadata.v0.Annotation annotation = 16;Annotation getAnnotation()
Additional information about the feature for documentation purpose.
optional .tensorflow.metadata.v0.Annotation annotation = 16;AnnotationOrBuilder getAnnotationOrBuilder()
Additional information about the feature for documentation purpose.
optional .tensorflow.metadata.v0.Annotation annotation = 16;boolean hasSkewComparator()
Tests comparing the distribution to the associated serving data.
optional .tensorflow.metadata.v0.FeatureComparator skew_comparator = 18;FeatureComparator getSkewComparator()
Tests comparing the distribution to the associated serving data.
optional .tensorflow.metadata.v0.FeatureComparator skew_comparator = 18;FeatureComparatorOrBuilder getSkewComparatorOrBuilder()
Tests comparing the distribution to the associated serving data.
optional .tensorflow.metadata.v0.FeatureComparator skew_comparator = 18;boolean hasDriftComparator()
Tests comparing the distribution between two consecutive spans (e.g. days).
optional .tensorflow.metadata.v0.FeatureComparator drift_comparator = 21;FeatureComparator getDriftComparator()
Tests comparing the distribution between two consecutive spans (e.g. days).
optional .tensorflow.metadata.v0.FeatureComparator drift_comparator = 21;FeatureComparatorOrBuilder getDriftComparatorOrBuilder()
Tests comparing the distribution between two consecutive spans (e.g. days).
optional .tensorflow.metadata.v0.FeatureComparator drift_comparator = 21;List<String> 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;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;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;index - The index of the element to return.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;index - The index of the value to return.List<String> 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;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;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;index - The index of the element to return.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;index - The index of the value to return.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;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;Feature.PresenceConstraintsCase getPresenceConstraintsCase()
Feature.ShapeTypeCase getShapeTypeCase()
Feature.DomainInfoCase getDomainInfoCase()
Copyright © 2020 Gojek. All rights reserved.