Package feast.proto.core
Interface FeatureSetProto.FeatureSpecOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FeatureSetProto.FeatureSpec,FeatureSetProto.FeatureSpec.Builder
- Enclosing class:
- FeatureSetProto
public static interface FeatureSetProto.FeatureSpecOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsLabels(String key)Labels for user defined metadata on a featureBoolDomaingetBoolDomain().tensorflow.metadata.v0.BoolDomain bool_domain = 38;BoolDomainOrBuildergetBoolDomainOrBuilder().tensorflow.metadata.v0.BoolDomain bool_domain = 38;StringgetDomain()Reference to a domain defined at the schema level.com.google.protobuf.ByteStringgetDomainBytes()Reference to a domain defined at the schema level.FeatureSetProto.FeatureSpec.DomainInfoCasegetDomainInfoCase()FloatDomaingetFloatDomain().tensorflow.metadata.v0.FloatDomain float_domain = 36;FloatDomainOrBuildergetFloatDomainOrBuilder().tensorflow.metadata.v0.FloatDomain float_domain = 36;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 = 41;ImageDomainOrBuildergetImageDomainOrBuilder().tensorflow.metadata.v0.ImageDomain image_domain = 41;IntDomaingetIntDomain()Inline definitions of domains.IntDomainOrBuildergetIntDomainOrBuilder()Inline definitions of domains.Map<String,String>getLabels()Deprecated.intgetLabelsCount()Labels for user defined metadata on a featureMap<String,String>getLabelsMap()Labels for user defined metadata on a featureStringgetLabelsOrDefault(String key, String defaultValue)Labels for user defined metadata on a featureStringgetLabelsOrThrow(String key)Labels for user defined metadata on a featureMIDDomaingetMidDomain().tensorflow.metadata.v0.MIDDomain mid_domain = 42;MIDDomainOrBuildergetMidDomainOrBuilder().tensorflow.metadata.v0.MIDDomain mid_domain = 42;StringgetName()Name of the feature.com.google.protobuf.ByteStringgetNameBytes()Name of the feature.NaturalLanguageDomaingetNaturalLanguageDomain()Supported semantic domains.NaturalLanguageDomainOrBuildergetNaturalLanguageDomainOrBuilder()Supported semantic domains.FeaturePresencegetPresence()Constraints on the presence of this feature in the examples.FeatureSetProto.FeatureSpec.PresenceConstraintsCasegetPresenceConstraintsCase()FeaturePresenceOrBuildergetPresenceOrBuilder()Constraints on the presence of this feature in the examples.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.FeatureSetProto.FeatureSpec.ShapeTypeCasegetShapeTypeCase()StringDomaingetStringDomain().tensorflow.metadata.v0.StringDomain string_domain = 37;StringDomainOrBuildergetStringDomainOrBuilder().tensorflow.metadata.v0.StringDomain string_domain = 37;StructDomaingetStructDomain().tensorflow.metadata.v0.StructDomain struct_domain = 39;StructDomainOrBuildergetStructDomainOrBuilder().tensorflow.metadata.v0.StructDomain struct_domain = 39;TimeDomaingetTimeDomain().tensorflow.metadata.v0.TimeDomain time_domain = 44;TimeDomainOrBuildergetTimeDomainOrBuilder().tensorflow.metadata.v0.TimeDomain time_domain = 44;TimeOfDayDomaingetTimeOfDayDomain().tensorflow.metadata.v0.TimeOfDayDomain time_of_day_domain = 45;TimeOfDayDomainOrBuildergetTimeOfDayDomainOrBuilder().tensorflow.metadata.v0.TimeOfDayDomain time_of_day_domain = 45;URLDomaingetUrlDomain().tensorflow.metadata.v0.URLDomain url_domain = 43;URLDomainOrBuildergetUrlDomainOrBuilder().tensorflow.metadata.v0.URLDomain url_domain = 43;ValueCountgetValueCount()The feature doesn't have a well defined shape.ValueCountOrBuildergetValueCountOrBuilder()The feature doesn't have a well defined shape.ValueProto.ValueType.EnumgetValueType()Value type of the feature.intgetValueTypeValue()Value type of the feature.booleanhasBoolDomain().tensorflow.metadata.v0.BoolDomain bool_domain = 38;booleanhasFloatDomain().tensorflow.metadata.v0.FloatDomain float_domain = 36;booleanhasGroupPresence()Only used in the context of a "group" context, e.g., inside a sequence.booleanhasImageDomain().tensorflow.metadata.v0.ImageDomain image_domain = 41;booleanhasIntDomain()Inline definitions of domains.booleanhasMidDomain().tensorflow.metadata.v0.MIDDomain mid_domain = 42;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.booleanhasStringDomain().tensorflow.metadata.v0.StringDomain string_domain = 37;booleanhasStructDomain().tensorflow.metadata.v0.StructDomain struct_domain = 39;booleanhasTimeDomain().tensorflow.metadata.v0.TimeDomain time_domain = 44;booleanhasTimeOfDayDomain().tensorflow.metadata.v0.TimeOfDayDomain time_of_day_domain = 45;booleanhasUrlDomain().tensorflow.metadata.v0.URLDomain url_domain = 43;booleanhasValueCount()The feature doesn't have a well defined shape.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Name of the feature.
string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Name of the feature.
string name = 1;- Returns:
- The bytes for name.
-
getValueTypeValue
int getValueTypeValue()
Value type of the feature.
.feast.types.ValueType.Enum value_type = 2;- Returns:
- The enum numeric value on the wire for valueType.
-
getValueType
ValueProto.ValueType.Enum getValueType()
Value type of the feature.
.feast.types.ValueType.Enum value_type = 2;- Returns:
- The valueType.
-
getLabelsCount
int getLabelsCount()
Labels for user defined metadata on a feature
map<string, string> labels = 16;
-
containsLabels
boolean containsLabels(String key)
Labels for user defined metadata on a feature
map<string, string> labels = 16;
-
getLabels
@Deprecated Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.
-
getLabelsMap
Map<String,String> getLabelsMap()
Labels for user defined metadata on a feature
map<string, string> labels = 16;
-
getLabelsOrDefault
String getLabelsOrDefault(String key, String defaultValue)
Labels for user defined metadata on a feature
map<string, string> labels = 16;
-
getLabelsOrThrow
String getLabelsOrThrow(String key)
Labels for user defined metadata on a feature
map<string, string> labels = 16;
-
hasPresence
boolean hasPresence()
Constraints on the presence of this feature in the examples.
.tensorflow.metadata.v0.FeaturePresence presence = 30;- Returns:
- Whether the presence field is set.
-
getPresence
FeaturePresence getPresence()
Constraints on the presence of this feature in the examples.
.tensorflow.metadata.v0.FeaturePresence presence = 30;- Returns:
- The presence.
-
getPresenceOrBuilder
FeaturePresenceOrBuilder getPresenceOrBuilder()
Constraints on the presence of this feature in the examples.
.tensorflow.metadata.v0.FeaturePresence presence = 30;
-
hasGroupPresence
boolean hasGroupPresence()
Only used in the context of a "group" context, e.g., inside a sequence.
.tensorflow.metadata.v0.FeaturePresenceWithinGroup group_presence = 31;- Returns:
- Whether the groupPresence field is set.
-
getGroupPresence
FeaturePresenceWithinGroup getGroupPresence()
Only used in the context of a "group" context, e.g., inside a sequence.
.tensorflow.metadata.v0.FeaturePresenceWithinGroup group_presence = 31;- Returns:
- The groupPresence.
-
getGroupPresenceOrBuilder
FeaturePresenceWithinGroupOrBuilder getGroupPresenceOrBuilder()
Only used in the context of a "group" context, e.g., inside a sequence.
.tensorflow.metadata.v0.FeaturePresenceWithinGroup group_presence = 31;
-
hasShape
boolean hasShape()
The feature has a fixed shape corresponding to a multi-dimensional tensor.
.tensorflow.metadata.v0.FixedShape shape = 32;- Returns:
- Whether the shape field is set.
-
getShape
FixedShape getShape()
The feature has a fixed shape corresponding to a multi-dimensional tensor.
.tensorflow.metadata.v0.FixedShape shape = 32;- Returns:
- The shape.
-
getShapeOrBuilder
FixedShapeOrBuilder getShapeOrBuilder()
The feature has a fixed shape corresponding to a multi-dimensional tensor.
.tensorflow.metadata.v0.FixedShape shape = 32;
-
hasValueCount
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 = 33;- Returns:
- Whether the valueCount field is set.
-
getValueCount
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 = 33;- Returns:
- The valueCount.
-
getValueCountOrBuilder
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 = 33;
-
getDomain
String getDomain()
Reference to a domain defined at the schema level.
string domain = 34;- Returns:
- The domain.
-
getDomainBytes
com.google.protobuf.ByteString getDomainBytes()
Reference to a domain defined at the schema level.
string domain = 34;- Returns:
- The bytes for domain.
-
hasIntDomain
boolean hasIntDomain()
Inline definitions of domains.
.tensorflow.metadata.v0.IntDomain int_domain = 35;- Returns:
- Whether the intDomain field is set.
-
getIntDomain
IntDomain getIntDomain()
Inline definitions of domains.
.tensorflow.metadata.v0.IntDomain int_domain = 35;- Returns:
- The intDomain.
-
getIntDomainOrBuilder
IntDomainOrBuilder getIntDomainOrBuilder()
Inline definitions of domains.
.tensorflow.metadata.v0.IntDomain int_domain = 35;
-
hasFloatDomain
boolean hasFloatDomain()
.tensorflow.metadata.v0.FloatDomain float_domain = 36;- Returns:
- Whether the floatDomain field is set.
-
getFloatDomain
FloatDomain getFloatDomain()
.tensorflow.metadata.v0.FloatDomain float_domain = 36;- Returns:
- The floatDomain.
-
getFloatDomainOrBuilder
FloatDomainOrBuilder getFloatDomainOrBuilder()
.tensorflow.metadata.v0.FloatDomain float_domain = 36;
-
hasStringDomain
boolean hasStringDomain()
.tensorflow.metadata.v0.StringDomain string_domain = 37;- Returns:
- Whether the stringDomain field is set.
-
getStringDomain
StringDomain getStringDomain()
.tensorflow.metadata.v0.StringDomain string_domain = 37;- Returns:
- The stringDomain.
-
getStringDomainOrBuilder
StringDomainOrBuilder getStringDomainOrBuilder()
.tensorflow.metadata.v0.StringDomain string_domain = 37;
-
hasBoolDomain
boolean hasBoolDomain()
.tensorflow.metadata.v0.BoolDomain bool_domain = 38;- Returns:
- Whether the boolDomain field is set.
-
getBoolDomain
BoolDomain getBoolDomain()
.tensorflow.metadata.v0.BoolDomain bool_domain = 38;- Returns:
- The boolDomain.
-
getBoolDomainOrBuilder
BoolDomainOrBuilder getBoolDomainOrBuilder()
.tensorflow.metadata.v0.BoolDomain bool_domain = 38;
-
hasStructDomain
boolean hasStructDomain()
.tensorflow.metadata.v0.StructDomain struct_domain = 39;- Returns:
- Whether the structDomain field is set.
-
getStructDomain
StructDomain getStructDomain()
.tensorflow.metadata.v0.StructDomain struct_domain = 39;- Returns:
- The structDomain.
-
getStructDomainOrBuilder
StructDomainOrBuilder getStructDomainOrBuilder()
.tensorflow.metadata.v0.StructDomain struct_domain = 39;
-
hasNaturalLanguageDomain
boolean hasNaturalLanguageDomain()
Supported semantic domains.
.tensorflow.metadata.v0.NaturalLanguageDomain natural_language_domain = 40;- Returns:
- Whether the naturalLanguageDomain field is set.
-
getNaturalLanguageDomain
NaturalLanguageDomain getNaturalLanguageDomain()
Supported semantic domains.
.tensorflow.metadata.v0.NaturalLanguageDomain natural_language_domain = 40;- Returns:
- The naturalLanguageDomain.
-
getNaturalLanguageDomainOrBuilder
NaturalLanguageDomainOrBuilder getNaturalLanguageDomainOrBuilder()
Supported semantic domains.
.tensorflow.metadata.v0.NaturalLanguageDomain natural_language_domain = 40;
-
hasImageDomain
boolean hasImageDomain()
.tensorflow.metadata.v0.ImageDomain image_domain = 41;- Returns:
- Whether the imageDomain field is set.
-
getImageDomain
ImageDomain getImageDomain()
.tensorflow.metadata.v0.ImageDomain image_domain = 41;- Returns:
- The imageDomain.
-
getImageDomainOrBuilder
ImageDomainOrBuilder getImageDomainOrBuilder()
.tensorflow.metadata.v0.ImageDomain image_domain = 41;
-
hasMidDomain
boolean hasMidDomain()
.tensorflow.metadata.v0.MIDDomain mid_domain = 42;- Returns:
- Whether the midDomain field is set.
-
getMidDomain
MIDDomain getMidDomain()
.tensorflow.metadata.v0.MIDDomain mid_domain = 42;- Returns:
- The midDomain.
-
getMidDomainOrBuilder
MIDDomainOrBuilder getMidDomainOrBuilder()
.tensorflow.metadata.v0.MIDDomain mid_domain = 42;
-
hasUrlDomain
boolean hasUrlDomain()
.tensorflow.metadata.v0.URLDomain url_domain = 43;- Returns:
- Whether the urlDomain field is set.
-
getUrlDomain
URLDomain getUrlDomain()
.tensorflow.metadata.v0.URLDomain url_domain = 43;- Returns:
- The urlDomain.
-
getUrlDomainOrBuilder
URLDomainOrBuilder getUrlDomainOrBuilder()
.tensorflow.metadata.v0.URLDomain url_domain = 43;
-
hasTimeDomain
boolean hasTimeDomain()
.tensorflow.metadata.v0.TimeDomain time_domain = 44;- Returns:
- Whether the timeDomain field is set.
-
getTimeDomain
TimeDomain getTimeDomain()
.tensorflow.metadata.v0.TimeDomain time_domain = 44;- Returns:
- The timeDomain.
-
getTimeDomainOrBuilder
TimeDomainOrBuilder getTimeDomainOrBuilder()
.tensorflow.metadata.v0.TimeDomain time_domain = 44;
-
hasTimeOfDayDomain
boolean hasTimeOfDayDomain()
.tensorflow.metadata.v0.TimeOfDayDomain time_of_day_domain = 45;- Returns:
- Whether the timeOfDayDomain field is set.
-
getTimeOfDayDomain
TimeOfDayDomain getTimeOfDayDomain()
.tensorflow.metadata.v0.TimeOfDayDomain time_of_day_domain = 45;- Returns:
- The timeOfDayDomain.
-
getTimeOfDayDomainOrBuilder
TimeOfDayDomainOrBuilder getTimeOfDayDomainOrBuilder()
.tensorflow.metadata.v0.TimeOfDayDomain time_of_day_domain = 45;
-
getPresenceConstraintsCase
FeatureSetProto.FeatureSpec.PresenceConstraintsCase getPresenceConstraintsCase()
-
getShapeTypeCase
FeatureSetProto.FeatureSpec.ShapeTypeCase getShapeTypeCase()
-
getDomainInfoCase
FeatureSetProto.FeatureSpec.DomainInfoCase getDomainInfoCase()
-
-