Package feast.proto.core
Interface FeatureSetProto.FeatureSetSpecOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FeatureSetProto.FeatureSetSpec,FeatureSetProto.FeatureSetSpec.Builder
- Enclosing class:
- FeatureSetProto
public static interface FeatureSetProto.FeatureSetSpecOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsLabels(String key)User defined metadataFeatureSetProto.EntitySpecgetEntities(int index)List of entities contained within this featureSet.intgetEntitiesCount()List of entities contained within this featureSet.List<FeatureSetProto.EntitySpec>getEntitiesList()List of entities contained within this featureSet.FeatureSetProto.EntitySpecOrBuildergetEntitiesOrBuilder(int index)List of entities contained within this featureSet.List<? extends FeatureSetProto.EntitySpecOrBuilder>getEntitiesOrBuilderList()List of entities contained within this featureSet.FeatureSetProto.FeatureSpecgetFeatures(int index)List of features contained within this featureSet.intgetFeaturesCount()List of features contained within this featureSet.List<FeatureSetProto.FeatureSpec>getFeaturesList()List of features contained within this featureSet.FeatureSetProto.FeatureSpecOrBuildergetFeaturesOrBuilder(int index)List of features contained within this featureSet.List<? extends FeatureSetProto.FeatureSpecOrBuilder>getFeaturesOrBuilderList()List of features contained within this featureSet.Map<String,String>getLabels()Deprecated.intgetLabelsCount()User defined metadataMap<String,String>getLabelsMap()User defined metadataStringgetLabelsOrDefault(String key, String defaultValue)User defined metadataStringgetLabelsOrThrow(String key)User defined metadatacom.google.protobuf.DurationgetMaxAge()Features in this feature set will only be retrieved if they are found after [time - max_age].com.google.protobuf.DurationOrBuildergetMaxAgeOrBuilder()Features in this feature set will only be retrieved if they are found after [time - max_age].StringgetName()Name of the feature set.com.google.protobuf.ByteStringgetNameBytes()Name of the feature set.StringgetProject()Name of project that this feature set belongs to.com.google.protobuf.ByteStringgetProjectBytes()Name of project that this feature set belongs to.SourceProto.SourcegetSource()Optional.SourceProto.SourceOrBuildergetSourceOrBuilder()Optional.intgetVersion()Read-only self-incrementing version that increases monotonically when changes are made to a feature setbooleanhasMaxAge()Features in this feature set will only be retrieved if they are found after [time - max_age].booleanhasSource()Optional.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getProject
String getProject()
Name of project that this feature set belongs to.
string project = 7;- Returns:
- The project.
-
getProjectBytes
com.google.protobuf.ByteString getProjectBytes()
Name of project that this feature set belongs to.
string project = 7;- Returns:
- The bytes for project.
-
getName
String getName()
Name of the feature set. Must be unique.
string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Name of the feature set. Must be unique.
string name = 1;- Returns:
- The bytes for name.
-
getEntitiesList
List<FeatureSetProto.EntitySpec> getEntitiesList()
List of entities contained within this featureSet. This allows the feature to be used during joins between feature sets. If the featureSet is ingested into a store that supports keys, this value will be made a key.
repeated .feast.core.EntitySpec entities = 3;
-
getEntities
FeatureSetProto.EntitySpec getEntities(int index)
List of entities contained within this featureSet. This allows the feature to be used during joins between feature sets. If the featureSet is ingested into a store that supports keys, this value will be made a key.
repeated .feast.core.EntitySpec entities = 3;
-
getEntitiesCount
int getEntitiesCount()
List of entities contained within this featureSet. This allows the feature to be used during joins between feature sets. If the featureSet is ingested into a store that supports keys, this value will be made a key.
repeated .feast.core.EntitySpec entities = 3;
-
getEntitiesOrBuilderList
List<? extends FeatureSetProto.EntitySpecOrBuilder> getEntitiesOrBuilderList()
List of entities contained within this featureSet. This allows the feature to be used during joins between feature sets. If the featureSet is ingested into a store that supports keys, this value will be made a key.
repeated .feast.core.EntitySpec entities = 3;
-
getEntitiesOrBuilder
FeatureSetProto.EntitySpecOrBuilder getEntitiesOrBuilder(int index)
List of entities contained within this featureSet. This allows the feature to be used during joins between feature sets. If the featureSet is ingested into a store that supports keys, this value will be made a key.
repeated .feast.core.EntitySpec entities = 3;
-
getFeaturesList
List<FeatureSetProto.FeatureSpec> getFeaturesList()
List of features contained within this featureSet.
repeated .feast.core.FeatureSpec features = 4;
-
getFeatures
FeatureSetProto.FeatureSpec getFeatures(int index)
List of features contained within this featureSet.
repeated .feast.core.FeatureSpec features = 4;
-
getFeaturesCount
int getFeaturesCount()
List of features contained within this featureSet.
repeated .feast.core.FeatureSpec features = 4;
-
getFeaturesOrBuilderList
List<? extends FeatureSetProto.FeatureSpecOrBuilder> getFeaturesOrBuilderList()
List of features contained within this featureSet.
repeated .feast.core.FeatureSpec features = 4;
-
getFeaturesOrBuilder
FeatureSetProto.FeatureSpecOrBuilder getFeaturesOrBuilder(int index)
List of features contained within this featureSet.
repeated .feast.core.FeatureSpec features = 4;
-
hasMaxAge
boolean hasMaxAge()
Features in this feature set will only be retrieved if they are found after [time - max_age]. Missing or older feature values will be returned as nulls and indicated to end user
.google.protobuf.Duration max_age = 5;- Returns:
- Whether the maxAge field is set.
-
getMaxAge
com.google.protobuf.Duration getMaxAge()
Features in this feature set will only be retrieved if they are found after [time - max_age]. Missing or older feature values will be returned as nulls and indicated to end user
.google.protobuf.Duration max_age = 5;- Returns:
- The maxAge.
-
getMaxAgeOrBuilder
com.google.protobuf.DurationOrBuilder getMaxAgeOrBuilder()
Features in this feature set will only be retrieved if they are found after [time - max_age]. Missing or older feature values will be returned as nulls and indicated to end user
.google.protobuf.Duration max_age = 5;
-
hasSource
boolean hasSource()
Optional. Source on which feature rows can be found. If not set, source will be set to the default value configured in Feast Core.
.feast.core.Source source = 6;- Returns:
- Whether the source field is set.
-
getSource
SourceProto.Source getSource()
Optional. Source on which feature rows can be found. If not set, source will be set to the default value configured in Feast Core.
.feast.core.Source source = 6;- Returns:
- The source.
-
getSourceOrBuilder
SourceProto.SourceOrBuilder getSourceOrBuilder()
Optional. Source on which feature rows can be found. If not set, source will be set to the default value configured in Feast Core.
.feast.core.Source source = 6;
-
getLabelsCount
int getLabelsCount()
User defined metadata
map<string, string> labels = 8;
-
containsLabels
boolean containsLabels(String key)
User defined metadata
map<string, string> labels = 8;
-
getLabels
@Deprecated Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.
-
getLabelsMap
Map<String,String> getLabelsMap()
User defined metadata
map<string, string> labels = 8;
-
getLabelsOrDefault
String getLabelsOrDefault(String key, String defaultValue)
User defined metadata
map<string, string> labels = 8;
-
getLabelsOrThrow
String getLabelsOrThrow(String key)
User defined metadata
map<string, string> labels = 8;
-
getVersion
int getVersion()
Read-only self-incrementing version that increases monotonically when changes are made to a feature set
int32 version = 9;- Returns:
- The version.
-
-