Package org.tensorflow.metadata.v0
Class Feature
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- org.tensorflow.metadata.v0.Feature
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,FeatureOrBuilder
public final class Feature extends com.google.protobuf.GeneratedMessageV3 implements FeatureOrBuilder
Describes schema-level information about a specific feature. NextID: 31
Protobuf typetensorflow.metadata.v0.Feature- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFeature.BuilderDescribes schema-level information about a specific feature.static classFeature.DomainInfoCasestatic classFeature.PresenceConstraintsCasestatic classFeature.ShapeTypeCase-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object obj)AnnotationgetAnnotation()Additional information about the feature for documentation purpose.AnnotationOrBuildergetAnnotationOrBuilder()Additional information about the feature for documentation purpose.BoolDomaingetBoolDomain().tensorflow.metadata.v0.BoolDomain bool_domain = 13;BoolDomainOrBuildergetBoolDomainOrBuilder().tensorflow.metadata.v0.BoolDomain bool_domain = 13;static FeaturegetDefaultInstance()FeaturegetDefaultInstanceForType()booleangetDeprecated()Deprecated.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()DistributionConstraintsgetDistributionConstraints()Constraints on the distribution of the feature values.DistributionConstraintsOrBuildergetDistributionConstraintsOrBuilder()Constraints on the distribution of the feature values.StringgetDomain()Reference to a domain defined at the schema level.com.google.protobuf.ByteStringgetDomainBytes()Reference to a domain defined at the schema level.Feature.DomainInfoCasegetDomainInfoCase()FeatureComparatorgetDriftComparator()Tests comparing the distribution between two consecutive spans (e.g.FeatureComparatorOrBuildergetDriftComparatorOrBuilder()Tests comparing the distribution between two consecutive spans (e.g.FloatDomaingetFloatDomain().tensorflow.metadata.v0.FloatDomain float_domain = 10;FloatDomainOrBuildergetFloatDomainOrBuilder().tensorflow.metadata.v0.FloatDomain float_domain = 10;FeaturePresenceWithinGroupgetGroupPresence()Only used in the context of a "group" context, e.g., inside a sequence.FeaturePresenceWithinGroupOrBuildergetGroupPresenceOrBuilder()Only used in the context of a "group" context, e.g., inside a sequence.ImageDomaingetImageDomain().tensorflow.metadata.v0.ImageDomain image_domain = 25;ImageDomainOrBuildergetImageDomainOrBuilder().tensorflow.metadata.v0.ImageDomain image_domain = 25;StringgetInEnvironment(int index)List of environments this feature is present in.com.google.protobuf.ByteStringgetInEnvironmentBytes(int index)List of environments this feature is present in.intgetInEnvironmentCount()List of environments this feature is present in.com.google.protobuf.ProtocolStringListgetInEnvironmentList()List of environments this feature is present in.IntDomaingetIntDomain()Inline definitions of domains.IntDomainOrBuildergetIntDomainOrBuilder()Inline definitions of domains.LifecycleStagegetLifecycleStage()The lifecycle stage of a feature.MIDDomaingetMidDomain().tensorflow.metadata.v0.MIDDomain mid_domain = 26;MIDDomainOrBuildergetMidDomainOrBuilder().tensorflow.metadata.v0.MIDDomain mid_domain = 26;StringgetName()The name of the feature.com.google.protobuf.ByteStringgetNameBytes()The name of the feature.NaturalLanguageDomaingetNaturalLanguageDomain()Supported semantic domains.NaturalLanguageDomainOrBuildergetNaturalLanguageDomainOrBuilder()Supported semantic domains.StringgetNotInEnvironment(int index)List of environments this feature is not present in.com.google.protobuf.ByteStringgetNotInEnvironmentBytes(int index)List of environments this feature is not present in.intgetNotInEnvironmentCount()List of environments this feature is not present in.com.google.protobuf.ProtocolStringListgetNotInEnvironmentList()List of environments this feature is not present in.com.google.protobuf.Parser<Feature>getParserForType()FeaturePresencegetPresence()Constraints on the presence of this feature in the examples.Feature.PresenceConstraintsCasegetPresenceConstraintsCase()FeaturePresenceOrBuildergetPresenceOrBuilder()Constraints on the presence of this feature in the examples.intgetSerializedSize()FixedShapegetShape()The feature has a fixed shape corresponding to a multi-dimensional tensor.FixedShapeOrBuildergetShapeOrBuilder()The feature has a fixed shape corresponding to a multi-dimensional tensor.Feature.ShapeTypeCasegetShapeTypeCase()FeatureComparatorgetSkewComparator()Tests comparing the distribution to the associated serving data.FeatureComparatorOrBuildergetSkewComparatorOrBuilder()Tests comparing the distribution to the associated serving data.StringDomaingetStringDomain().tensorflow.metadata.v0.StringDomain string_domain = 11;StringDomainOrBuildergetStringDomainOrBuilder().tensorflow.metadata.v0.StringDomain string_domain = 11;StructDomaingetStructDomain().tensorflow.metadata.v0.StructDomain struct_domain = 29;StructDomainOrBuildergetStructDomainOrBuilder().tensorflow.metadata.v0.StructDomain struct_domain = 29;TimeDomaingetTimeDomain().tensorflow.metadata.v0.TimeDomain time_domain = 28;TimeDomainOrBuildergetTimeDomainOrBuilder().tensorflow.metadata.v0.TimeDomain time_domain = 28;TimeOfDayDomaingetTimeOfDayDomain().tensorflow.metadata.v0.TimeOfDayDomain time_of_day_domain = 30;TimeOfDayDomainOrBuildergetTimeOfDayDomainOrBuilder().tensorflow.metadata.v0.TimeOfDayDomain time_of_day_domain = 30;FeatureTypegetType()Physical type of the feature's values.com.google.protobuf.UnknownFieldSetgetUnknownFields()URLDomaingetUrlDomain().tensorflow.metadata.v0.URLDomain url_domain = 27;URLDomainOrBuildergetUrlDomainOrBuilder().tensorflow.metadata.v0.URLDomain url_domain = 27;ValueCountgetValueCount()The feature doesn't have a well defined shape.ValueCountOrBuildergetValueCountOrBuilder()The feature doesn't have a well defined shape.booleanhasAnnotation()Additional information about the feature for documentation purpose.booleanhasBoolDomain().tensorflow.metadata.v0.BoolDomain bool_domain = 13;booleanhasDeprecated()Deprecated.booleanhasDistributionConstraints()Constraints on the distribution of the feature values.booleanhasDomain()Reference to a domain defined at the schema level.booleanhasDriftComparator()Tests comparing the distribution between two consecutive spans (e.g.booleanhasFloatDomain().tensorflow.metadata.v0.FloatDomain float_domain = 10;booleanhasGroupPresence()Only used in the context of a "group" context, e.g., inside a sequence.inthashCode()booleanhasImageDomain().tensorflow.metadata.v0.ImageDomain image_domain = 25;booleanhasIntDomain()Inline definitions of domains.booleanhasLifecycleStage()The lifecycle stage of a feature.booleanhasMidDomain().tensorflow.metadata.v0.MIDDomain mid_domain = 26;booleanhasName()The name of the feature.booleanhasNaturalLanguageDomain()Supported semantic domains.booleanhasPresence()Constraints on the presence of this feature in the examples.booleanhasShape()The feature has a fixed shape corresponding to a multi-dimensional tensor.booleanhasSkewComparator()Tests comparing the distribution to the associated serving data.booleanhasStringDomain().tensorflow.metadata.v0.StringDomain string_domain = 11;booleanhasStructDomain().tensorflow.metadata.v0.StructDomain struct_domain = 29;booleanhasTimeDomain().tensorflow.metadata.v0.TimeDomain time_domain = 28;booleanhasTimeOfDayDomain().tensorflow.metadata.v0.TimeOfDayDomain time_of_day_domain = 30;booleanhasType()Physical type of the feature's values.booleanhasUrlDomain().tensorflow.metadata.v0.URLDomain url_domain = 27;booleanhasValueCount()The feature doesn't have a well defined shape.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Feature.BuildernewBuilder()static Feature.BuildernewBuilder(Feature prototype)Feature.BuildernewBuilderForType()protected Feature.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static FeatureparseDelimitedFrom(InputStream input)static FeatureparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static FeatureparseFrom(byte[] data)static FeatureparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static FeatureparseFrom(com.google.protobuf.ByteString data)static FeatureparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static FeatureparseFrom(com.google.protobuf.CodedInputStream input)static FeatureparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static FeatureparseFrom(InputStream input)static FeatureparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static FeatureparseFrom(ByteBuffer data)static FeatureparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Feature>parser()Feature.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DEPRECATED_FIELD_NUMBER
public static final int DEPRECATED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRESENCE_FIELD_NUMBER
public static final int PRESENCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GROUP_PRESENCE_FIELD_NUMBER
public static final int GROUP_PRESENCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SHAPE_FIELD_NUMBER
public static final int SHAPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VALUE_COUNT_FIELD_NUMBER
public static final int VALUE_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DOMAIN_FIELD_NUMBER
public static final int DOMAIN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INT_DOMAIN_FIELD_NUMBER
public static final int INT_DOMAIN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FLOAT_DOMAIN_FIELD_NUMBER
public static final int FLOAT_DOMAIN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STRING_DOMAIN_FIELD_NUMBER
public static final int STRING_DOMAIN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BOOL_DOMAIN_FIELD_NUMBER
public static final int BOOL_DOMAIN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STRUCT_DOMAIN_FIELD_NUMBER
public static final int STRUCT_DOMAIN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NATURAL_LANGUAGE_DOMAIN_FIELD_NUMBER
public static final int NATURAL_LANGUAGE_DOMAIN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IMAGE_DOMAIN_FIELD_NUMBER
public static final int IMAGE_DOMAIN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MID_DOMAIN_FIELD_NUMBER
public static final int MID_DOMAIN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
URL_DOMAIN_FIELD_NUMBER
public static final int URL_DOMAIN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TIME_DOMAIN_FIELD_NUMBER
public static final int TIME_DOMAIN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TIME_OF_DAY_DOMAIN_FIELD_NUMBER
public static final int TIME_OF_DAY_DOMAIN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISTRIBUTION_CONSTRAINTS_FIELD_NUMBER
public static final int DISTRIBUTION_CONSTRAINTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ANNOTATION_FIELD_NUMBER
public static final int ANNOTATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SKEW_COMPARATOR_FIELD_NUMBER
public static final int SKEW_COMPARATOR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DRIFT_COMPARATOR_FIELD_NUMBER
public static final int DRIFT_COMPARATOR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IN_ENVIRONMENT_FIELD_NUMBER
public static final int IN_ENVIRONMENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NOT_IN_ENVIRONMENT_FIELD_NUMBER
public static final int NOT_IN_ENVIRONMENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LIFECYCLE_STAGE_FIELD_NUMBER
public static final int LIFECYCLE_STAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<Feature> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getPresenceConstraintsCase
public Feature.PresenceConstraintsCase getPresenceConstraintsCase()
- Specified by:
getPresenceConstraintsCasein interfaceFeatureOrBuilder
-
getShapeTypeCase
public Feature.ShapeTypeCase getShapeTypeCase()
- Specified by:
getShapeTypeCasein interfaceFeatureOrBuilder
-
getDomainInfoCase
public Feature.DomainInfoCase getDomainInfoCase()
- Specified by:
getDomainInfoCasein interfaceFeatureOrBuilder
-
hasName
public boolean hasName()
The name of the feature.
optional string name = 1;- Specified by:
hasNamein interfaceFeatureOrBuilder- Returns:
- Whether the name field is set.
-
getName
public String getName()
The name of the feature.
optional string name = 1;- Specified by:
getNamein interfaceFeatureOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The name of the feature.
optional string name = 1;- Specified by:
getNameBytesin interfaceFeatureOrBuilder- Returns:
- The bytes for name.
-
hasDeprecated
@Deprecated public boolean hasDeprecated()
Deprecated.This field is no longer supported. Instead, use: lifecycle_stage: DEPRECATED TODO(b/111450258): remove this.
optional bool deprecated = 2 [deprecated = true];- Specified by:
hasDeprecatedin interfaceFeatureOrBuilder- Returns:
- Whether the deprecated field is set.
-
getDeprecated
@Deprecated public boolean getDeprecated()
Deprecated.This field is no longer supported. Instead, use: lifecycle_stage: DEPRECATED TODO(b/111450258): remove this.
optional bool deprecated = 2 [deprecated = true];- Specified by:
getDeprecatedin interfaceFeatureOrBuilder- Returns:
- The deprecated.
-
hasPresence
public boolean hasPresence()
Constraints on the presence of this feature in the examples.
.tensorflow.metadata.v0.FeaturePresence presence = 14;- Specified by:
hasPresencein interfaceFeatureOrBuilder- Returns:
- Whether the presence field is set.
-
getPresence
public FeaturePresence getPresence()
Constraints on the presence of this feature in the examples.
.tensorflow.metadata.v0.FeaturePresence presence = 14;- Specified by:
getPresencein interfaceFeatureOrBuilder- Returns:
- The presence.
-
getPresenceOrBuilder
public FeaturePresenceOrBuilder getPresenceOrBuilder()
Constraints on the presence of this feature in the examples.
.tensorflow.metadata.v0.FeaturePresence presence = 14;- Specified by:
getPresenceOrBuilderin interfaceFeatureOrBuilder
-
hasGroupPresence
public boolean hasGroupPresence()
Only used in the context of a "group" context, e.g., inside a sequence.
.tensorflow.metadata.v0.FeaturePresenceWithinGroup group_presence = 17;- Specified by:
hasGroupPresencein interfaceFeatureOrBuilder- Returns:
- Whether the groupPresence field is set.
-
getGroupPresence
public FeaturePresenceWithinGroup getGroupPresence()
Only used in the context of a "group" context, e.g., inside a sequence.
.tensorflow.metadata.v0.FeaturePresenceWithinGroup group_presence = 17;- Specified by:
getGroupPresencein interfaceFeatureOrBuilder- Returns:
- The groupPresence.
-
getGroupPresenceOrBuilder
public FeaturePresenceWithinGroupOrBuilder getGroupPresenceOrBuilder()
Only used in the context of a "group" context, e.g., inside a sequence.
.tensorflow.metadata.v0.FeaturePresenceWithinGroup group_presence = 17;- Specified by:
getGroupPresenceOrBuilderin interfaceFeatureOrBuilder
-
hasShape
public boolean hasShape()
The feature has a fixed shape corresponding to a multi-dimensional tensor.
.tensorflow.metadata.v0.FixedShape shape = 23;- Specified by:
hasShapein interfaceFeatureOrBuilder- Returns:
- Whether the shape field is set.
-
getShape
public FixedShape getShape()
The feature has a fixed shape corresponding to a multi-dimensional tensor.
.tensorflow.metadata.v0.FixedShape shape = 23;- Specified by:
getShapein interfaceFeatureOrBuilder- Returns:
- The shape.
-
getShapeOrBuilder
public FixedShapeOrBuilder getShapeOrBuilder()
The feature has a fixed shape corresponding to a multi-dimensional tensor.
.tensorflow.metadata.v0.FixedShape shape = 23;- Specified by:
getShapeOrBuilderin interfaceFeatureOrBuilder
-
hasValueCount
public boolean hasValueCount()
The feature doesn't have a well defined shape. All we know are limits on the minimum and maximum number of values.
.tensorflow.metadata.v0.ValueCount value_count = 5;- Specified by:
hasValueCountin interfaceFeatureOrBuilder- Returns:
- Whether the valueCount field is set.
-
getValueCount
public ValueCount getValueCount()
The feature doesn't have a well defined shape. All we know are limits on the minimum and maximum number of values.
.tensorflow.metadata.v0.ValueCount value_count = 5;- Specified by:
getValueCountin interfaceFeatureOrBuilder- Returns:
- The valueCount.
-
getValueCountOrBuilder
public ValueCountOrBuilder getValueCountOrBuilder()
The feature doesn't have a well defined shape. All we know are limits on the minimum and maximum number of values.
.tensorflow.metadata.v0.ValueCount value_count = 5;- Specified by:
getValueCountOrBuilderin interfaceFeatureOrBuilder
-
hasType
public boolean hasType()
Physical type of the feature's values. Note that you can have: type: BYTES int_domain: { min: 0 max: 3 } This would be a field that is syntactically BYTES (i.e. strings), but semantically an int, i.e. it would be "0", "1", "2", or "3".optional .tensorflow.metadata.v0.FeatureType type = 6;- Specified by:
hasTypein interfaceFeatureOrBuilder- Returns:
- Whether the type field is set.
-
getType
public FeatureType getType()
Physical type of the feature's values. Note that you can have: type: BYTES int_domain: { min: 0 max: 3 } This would be a field that is syntactically BYTES (i.e. strings), but semantically an int, i.e. it would be "0", "1", "2", or "3".optional .tensorflow.metadata.v0.FeatureType type = 6;- Specified by:
getTypein interfaceFeatureOrBuilder- Returns:
- The type.
-
hasDomain
public boolean hasDomain()
Reference to a domain defined at the schema level.
string domain = 7;- Specified by:
hasDomainin interfaceFeatureOrBuilder- Returns:
- Whether the domain field is set.
-
getDomain
public String getDomain()
Reference to a domain defined at the schema level.
string domain = 7;- Specified by:
getDomainin interfaceFeatureOrBuilder- Returns:
- The domain.
-
getDomainBytes
public com.google.protobuf.ByteString getDomainBytes()
Reference to a domain defined at the schema level.
string domain = 7;- Specified by:
getDomainBytesin interfaceFeatureOrBuilder- Returns:
- The bytes for domain.
-
hasIntDomain
public boolean hasIntDomain()
Inline definitions of domains.
.tensorflow.metadata.v0.IntDomain int_domain = 9;- Specified by:
hasIntDomainin interfaceFeatureOrBuilder- Returns:
- Whether the intDomain field is set.
-
getIntDomain
public IntDomain getIntDomain()
Inline definitions of domains.
.tensorflow.metadata.v0.IntDomain int_domain = 9;- Specified by:
getIntDomainin interfaceFeatureOrBuilder- Returns:
- The intDomain.
-
getIntDomainOrBuilder
public IntDomainOrBuilder getIntDomainOrBuilder()
Inline definitions of domains.
.tensorflow.metadata.v0.IntDomain int_domain = 9;- Specified by:
getIntDomainOrBuilderin interfaceFeatureOrBuilder
-
hasFloatDomain
public boolean hasFloatDomain()
.tensorflow.metadata.v0.FloatDomain float_domain = 10;- Specified by:
hasFloatDomainin interfaceFeatureOrBuilder- Returns:
- Whether the floatDomain field is set.
-
getFloatDomain
public FloatDomain getFloatDomain()
.tensorflow.metadata.v0.FloatDomain float_domain = 10;- Specified by:
getFloatDomainin interfaceFeatureOrBuilder- Returns:
- The floatDomain.
-
getFloatDomainOrBuilder
public FloatDomainOrBuilder getFloatDomainOrBuilder()
.tensorflow.metadata.v0.FloatDomain float_domain = 10;- Specified by:
getFloatDomainOrBuilderin interfaceFeatureOrBuilder
-
hasStringDomain
public boolean hasStringDomain()
.tensorflow.metadata.v0.StringDomain string_domain = 11;- Specified by:
hasStringDomainin interfaceFeatureOrBuilder- Returns:
- Whether the stringDomain field is set.
-
getStringDomain
public StringDomain getStringDomain()
.tensorflow.metadata.v0.StringDomain string_domain = 11;- Specified by:
getStringDomainin interfaceFeatureOrBuilder- Returns:
- The stringDomain.
-
getStringDomainOrBuilder
public StringDomainOrBuilder getStringDomainOrBuilder()
.tensorflow.metadata.v0.StringDomain string_domain = 11;- Specified by:
getStringDomainOrBuilderin interfaceFeatureOrBuilder
-
hasBoolDomain
public boolean hasBoolDomain()
.tensorflow.metadata.v0.BoolDomain bool_domain = 13;- Specified by:
hasBoolDomainin interfaceFeatureOrBuilder- Returns:
- Whether the boolDomain field is set.
-
getBoolDomain
public BoolDomain getBoolDomain()
.tensorflow.metadata.v0.BoolDomain bool_domain = 13;- Specified by:
getBoolDomainin interfaceFeatureOrBuilder- Returns:
- The boolDomain.
-
getBoolDomainOrBuilder
public BoolDomainOrBuilder getBoolDomainOrBuilder()
.tensorflow.metadata.v0.BoolDomain bool_domain = 13;- Specified by:
getBoolDomainOrBuilderin interfaceFeatureOrBuilder
-
hasStructDomain
public boolean hasStructDomain()
.tensorflow.metadata.v0.StructDomain struct_domain = 29;- Specified by:
hasStructDomainin interfaceFeatureOrBuilder- Returns:
- Whether the structDomain field is set.
-
getStructDomain
public StructDomain getStructDomain()
.tensorflow.metadata.v0.StructDomain struct_domain = 29;- Specified by:
getStructDomainin interfaceFeatureOrBuilder- Returns:
- The structDomain.
-
getStructDomainOrBuilder
public StructDomainOrBuilder getStructDomainOrBuilder()
.tensorflow.metadata.v0.StructDomain struct_domain = 29;- Specified by:
getStructDomainOrBuilderin interfaceFeatureOrBuilder
-
hasNaturalLanguageDomain
public boolean hasNaturalLanguageDomain()
Supported semantic domains.
.tensorflow.metadata.v0.NaturalLanguageDomain natural_language_domain = 24;- Specified by:
hasNaturalLanguageDomainin interfaceFeatureOrBuilder- Returns:
- Whether the naturalLanguageDomain field is set.
-
getNaturalLanguageDomain
public NaturalLanguageDomain getNaturalLanguageDomain()
Supported semantic domains.
.tensorflow.metadata.v0.NaturalLanguageDomain natural_language_domain = 24;- Specified by:
getNaturalLanguageDomainin interfaceFeatureOrBuilder- Returns:
- The naturalLanguageDomain.
-
getNaturalLanguageDomainOrBuilder
public NaturalLanguageDomainOrBuilder getNaturalLanguageDomainOrBuilder()
Supported semantic domains.
.tensorflow.metadata.v0.NaturalLanguageDomain natural_language_domain = 24;- Specified by:
getNaturalLanguageDomainOrBuilderin interfaceFeatureOrBuilder
-
hasImageDomain
public boolean hasImageDomain()
.tensorflow.metadata.v0.ImageDomain image_domain = 25;- Specified by:
hasImageDomainin interfaceFeatureOrBuilder- Returns:
- Whether the imageDomain field is set.
-
getImageDomain
public ImageDomain getImageDomain()
.tensorflow.metadata.v0.ImageDomain image_domain = 25;- Specified by:
getImageDomainin interfaceFeatureOrBuilder- Returns:
- The imageDomain.
-
getImageDomainOrBuilder
public ImageDomainOrBuilder getImageDomainOrBuilder()
.tensorflow.metadata.v0.ImageDomain image_domain = 25;- Specified by:
getImageDomainOrBuilderin interfaceFeatureOrBuilder
-
hasMidDomain
public boolean hasMidDomain()
.tensorflow.metadata.v0.MIDDomain mid_domain = 26;- Specified by:
hasMidDomainin interfaceFeatureOrBuilder- Returns:
- Whether the midDomain field is set.
-
getMidDomain
public MIDDomain getMidDomain()
.tensorflow.metadata.v0.MIDDomain mid_domain = 26;- Specified by:
getMidDomainin interfaceFeatureOrBuilder- Returns:
- The midDomain.
-
getMidDomainOrBuilder
public MIDDomainOrBuilder getMidDomainOrBuilder()
.tensorflow.metadata.v0.MIDDomain mid_domain = 26;- Specified by:
getMidDomainOrBuilderin interfaceFeatureOrBuilder
-
hasUrlDomain
public boolean hasUrlDomain()
.tensorflow.metadata.v0.URLDomain url_domain = 27;- Specified by:
hasUrlDomainin interfaceFeatureOrBuilder- Returns:
- Whether the urlDomain field is set.
-
getUrlDomain
public URLDomain getUrlDomain()
.tensorflow.metadata.v0.URLDomain url_domain = 27;- Specified by:
getUrlDomainin interfaceFeatureOrBuilder- Returns:
- The urlDomain.
-
getUrlDomainOrBuilder
public URLDomainOrBuilder getUrlDomainOrBuilder()
.tensorflow.metadata.v0.URLDomain url_domain = 27;- Specified by:
getUrlDomainOrBuilderin interfaceFeatureOrBuilder
-
hasTimeDomain
public boolean hasTimeDomain()
.tensorflow.metadata.v0.TimeDomain time_domain = 28;- Specified by:
hasTimeDomainin interfaceFeatureOrBuilder- Returns:
- Whether the timeDomain field is set.
-
getTimeDomain
public TimeDomain getTimeDomain()
.tensorflow.metadata.v0.TimeDomain time_domain = 28;- Specified by:
getTimeDomainin interfaceFeatureOrBuilder- Returns:
- The timeDomain.
-
getTimeDomainOrBuilder
public TimeDomainOrBuilder getTimeDomainOrBuilder()
.tensorflow.metadata.v0.TimeDomain time_domain = 28;- Specified by:
getTimeDomainOrBuilderin interfaceFeatureOrBuilder
-
hasTimeOfDayDomain
public boolean hasTimeOfDayDomain()
.tensorflow.metadata.v0.TimeOfDayDomain time_of_day_domain = 30;- Specified by:
hasTimeOfDayDomainin interfaceFeatureOrBuilder- Returns:
- Whether the timeOfDayDomain field is set.
-
getTimeOfDayDomain
public TimeOfDayDomain getTimeOfDayDomain()
.tensorflow.metadata.v0.TimeOfDayDomain time_of_day_domain = 30;- Specified by:
getTimeOfDayDomainin interfaceFeatureOrBuilder- Returns:
- The timeOfDayDomain.
-
getTimeOfDayDomainOrBuilder
public TimeOfDayDomainOrBuilder getTimeOfDayDomainOrBuilder()
.tensorflow.metadata.v0.TimeOfDayDomain time_of_day_domain = 30;- Specified by:
getTimeOfDayDomainOrBuilderin interfaceFeatureOrBuilder
-
hasDistributionConstraints
public boolean hasDistributionConstraints()
Constraints on the distribution of the feature values. Currently only supported for StringDomains. TODO(b/69473628): Extend functionality to other domain types.
optional .tensorflow.metadata.v0.DistributionConstraints distribution_constraints = 15;- Specified by:
hasDistributionConstraintsin interfaceFeatureOrBuilder- Returns:
- Whether the distributionConstraints field is set.
-
getDistributionConstraints
public DistributionConstraints getDistributionConstraints()
Constraints on the distribution of the feature values. Currently only supported for StringDomains. TODO(b/69473628): Extend functionality to other domain types.
optional .tensorflow.metadata.v0.DistributionConstraints distribution_constraints = 15;- Specified by:
getDistributionConstraintsin interfaceFeatureOrBuilder- Returns:
- The distributionConstraints.
-
getDistributionConstraintsOrBuilder
public DistributionConstraintsOrBuilder getDistributionConstraintsOrBuilder()
Constraints on the distribution of the feature values. Currently only supported for StringDomains. TODO(b/69473628): Extend functionality to other domain types.
optional .tensorflow.metadata.v0.DistributionConstraints distribution_constraints = 15;- Specified by:
getDistributionConstraintsOrBuilderin interfaceFeatureOrBuilder
-
hasAnnotation
public boolean hasAnnotation()
Additional information about the feature for documentation purpose.
optional .tensorflow.metadata.v0.Annotation annotation = 16;- Specified by:
hasAnnotationin interfaceFeatureOrBuilder- Returns:
- Whether the annotation field is set.
-
getAnnotation
public Annotation getAnnotation()
Additional information about the feature for documentation purpose.
optional .tensorflow.metadata.v0.Annotation annotation = 16;- Specified by:
getAnnotationin interfaceFeatureOrBuilder- Returns:
- The annotation.
-
getAnnotationOrBuilder
public AnnotationOrBuilder getAnnotationOrBuilder()
Additional information about the feature for documentation purpose.
optional .tensorflow.metadata.v0.Annotation annotation = 16;- Specified by:
getAnnotationOrBuilderin interfaceFeatureOrBuilder
-
hasSkewComparator
public boolean hasSkewComparator()
Tests comparing the distribution to the associated serving data.
optional .tensorflow.metadata.v0.FeatureComparator skew_comparator = 18;- Specified by:
hasSkewComparatorin interfaceFeatureOrBuilder- Returns:
- Whether the skewComparator field is set.
-
getSkewComparator
public FeatureComparator getSkewComparator()
Tests comparing the distribution to the associated serving data.
optional .tensorflow.metadata.v0.FeatureComparator skew_comparator = 18;- Specified by:
getSkewComparatorin interfaceFeatureOrBuilder- Returns:
- The skewComparator.
-
getSkewComparatorOrBuilder
public FeatureComparatorOrBuilder getSkewComparatorOrBuilder()
Tests comparing the distribution to the associated serving data.
optional .tensorflow.metadata.v0.FeatureComparator skew_comparator = 18;- Specified by:
getSkewComparatorOrBuilderin interfaceFeatureOrBuilder
-
hasDriftComparator
public boolean hasDriftComparator()
Tests comparing the distribution between two consecutive spans (e.g. days).
optional .tensorflow.metadata.v0.FeatureComparator drift_comparator = 21;- Specified by:
hasDriftComparatorin interfaceFeatureOrBuilder- Returns:
- Whether the driftComparator field is set.
-
getDriftComparator
public FeatureComparator getDriftComparator()
Tests comparing the distribution between two consecutive spans (e.g. days).
optional .tensorflow.metadata.v0.FeatureComparator drift_comparator = 21;- Specified by:
getDriftComparatorin interfaceFeatureOrBuilder- Returns:
- The driftComparator.
-
getDriftComparatorOrBuilder
public FeatureComparatorOrBuilder getDriftComparatorOrBuilder()
Tests comparing the distribution between two consecutive spans (e.g. days).
optional .tensorflow.metadata.v0.FeatureComparator drift_comparator = 21;- Specified by:
getDriftComparatorOrBuilderin interfaceFeatureOrBuilder
-
getInEnvironmentList
public com.google.protobuf.ProtocolStringList getInEnvironmentList()
List of environments this feature is present in. Should be disjoint from not_in_environment. This feature is in environment "foo" if: ("foo" is in in_environment or default_environments) AND "foo" is not in not_in_environment. See Schema::default_environments.repeated string in_environment = 20;- Specified by:
getInEnvironmentListin interfaceFeatureOrBuilder- Returns:
- A list containing the inEnvironment.
-
getInEnvironmentCount
public int getInEnvironmentCount()
List of environments this feature is present in. Should be disjoint from not_in_environment. This feature is in environment "foo" if: ("foo" is in in_environment or default_environments) AND "foo" is not in not_in_environment. See Schema::default_environments.repeated string in_environment = 20;- Specified by:
getInEnvironmentCountin interfaceFeatureOrBuilder- Returns:
- The count of inEnvironment.
-
getInEnvironment
public String getInEnvironment(int index)
List of environments this feature is present in. Should be disjoint from not_in_environment. This feature is in environment "foo" if: ("foo" is in in_environment or default_environments) AND "foo" is not in not_in_environment. See Schema::default_environments.repeated string in_environment = 20;- Specified by:
getInEnvironmentin interfaceFeatureOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The inEnvironment at the given index.
-
getInEnvironmentBytes
public com.google.protobuf.ByteString getInEnvironmentBytes(int index)
List of environments this feature is present in. Should be disjoint from not_in_environment. This feature is in environment "foo" if: ("foo" is in in_environment or default_environments) AND "foo" is not in not_in_environment. See Schema::default_environments.repeated string in_environment = 20;- Specified by:
getInEnvironmentBytesin interfaceFeatureOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the inEnvironment at the given index.
-
getNotInEnvironmentList
public com.google.protobuf.ProtocolStringList getNotInEnvironmentList()
List of environments this feature is not present in. Should be disjoint from of in_environment. See Schema::default_environments and in_environment.
repeated string not_in_environment = 19;- Specified by:
getNotInEnvironmentListin interfaceFeatureOrBuilder- Returns:
- A list containing the notInEnvironment.
-
getNotInEnvironmentCount
public int getNotInEnvironmentCount()
List of environments this feature is not present in. Should be disjoint from of in_environment. See Schema::default_environments and in_environment.
repeated string not_in_environment = 19;- Specified by:
getNotInEnvironmentCountin interfaceFeatureOrBuilder- Returns:
- The count of notInEnvironment.
-
getNotInEnvironment
public String getNotInEnvironment(int index)
List of environments this feature is not present in. Should be disjoint from of in_environment. See Schema::default_environments and in_environment.
repeated string not_in_environment = 19;- Specified by:
getNotInEnvironmentin interfaceFeatureOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The notInEnvironment at the given index.
-
getNotInEnvironmentBytes
public com.google.protobuf.ByteString getNotInEnvironmentBytes(int index)
List of environments this feature is not present in. Should be disjoint from of in_environment. See Schema::default_environments and in_environment.
repeated string not_in_environment = 19;- Specified by:
getNotInEnvironmentBytesin interfaceFeatureOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the notInEnvironment at the given index.
-
hasLifecycleStage
public boolean hasLifecycleStage()
The lifecycle stage of a feature. It can also apply to its descendants. i.e., if a struct is DEPRECATED, its children are implicitly deprecated.
optional .tensorflow.metadata.v0.LifecycleStage lifecycle_stage = 22;- Specified by:
hasLifecycleStagein interfaceFeatureOrBuilder- Returns:
- Whether the lifecycleStage field is set.
-
getLifecycleStage
public LifecycleStage getLifecycleStage()
The lifecycle stage of a feature. It can also apply to its descendants. i.e., if a struct is DEPRECATED, its children are implicitly deprecated.
optional .tensorflow.metadata.v0.LifecycleStage lifecycle_stage = 22;- Specified by:
getLifecycleStagein interfaceFeatureOrBuilder- Returns:
- The lifecycleStage.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Feature parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Feature parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Feature parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Feature parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Feature parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Feature parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Feature parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Feature parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Feature parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Feature parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Feature parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Feature parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Feature.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Feature.Builder newBuilder()
-
newBuilder
public static Feature.Builder newBuilder(Feature prototype)
-
toBuilder
public Feature.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Feature.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Feature getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Feature> parser()
-
getParserForType
public com.google.protobuf.Parser<Feature> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Feature getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-