Package feast.proto.core
Interface FeatureViewProto.FeatureViewSpecOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FeatureViewProto.FeatureViewSpec,FeatureViewProto.FeatureViewSpec.Builder
- Enclosing class:
- FeatureViewProto
public static interface FeatureViewProto.FeatureViewSpecOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsTags(String key)User defined metadataDataSourceProto.DataSourcegetBatchSource()Batch/Offline DataSource where this view can retrieve offline feature data.DataSourceProto.DataSourceOrBuildergetBatchSourceOrBuilder()Batch/Offline DataSource where this view can retrieve offline feature data.StringgetDescription()Description of the feature view.com.google.protobuf.ByteStringgetDescriptionBytes()Description of the feature view.StringgetEntities(int index)List of names of entities associated with this feature view.com.google.protobuf.ByteStringgetEntitiesBytes(int index)List of names of entities associated with this feature view.intgetEntitiesCount()List of names of entities associated with this feature view.List<String>getEntitiesList()List of names of entities associated with this feature view.FeatureProto.FeatureSpecV2getEntityColumns(int index)List of specifications for each entity defined as part of this feature view.intgetEntityColumnsCount()List of specifications for each entity defined as part of this feature view.List<FeatureProto.FeatureSpecV2>getEntityColumnsList()List of specifications for each entity defined as part of this feature view.FeatureProto.FeatureSpecV2OrBuildergetEntityColumnsOrBuilder(int index)List of specifications for each entity defined as part of this feature view.List<? extends FeatureProto.FeatureSpecV2OrBuilder>getEntityColumnsOrBuilderList()List of specifications for each entity defined as part of this feature view.FeatureProto.FeatureSpecV2getFeatures(int index)List of specifications for each feature defined as part of this feature view.intgetFeaturesCount()List of specifications for each feature defined as part of this feature view.List<FeatureProto.FeatureSpecV2>getFeaturesList()List of specifications for each feature defined as part of this feature view.FeatureProto.FeatureSpecV2OrBuildergetFeaturesOrBuilder(int index)List of specifications for each feature defined as part of this feature view.List<? extends FeatureProto.FeatureSpecV2OrBuilder>getFeaturesOrBuilderList()List of specifications for each feature defined as part of this feature view.StringgetName()Name of the feature view.com.google.protobuf.ByteStringgetNameBytes()Name of the feature view.booleangetOnline()Whether these features should be served online or notStringgetOwner()Owner of the feature view.com.google.protobuf.ByteStringgetOwnerBytes()Owner of the feature view.StringgetProject()Name of Feast project that this feature view belongs to.com.google.protobuf.ByteStringgetProjectBytes()Name of Feast project that this feature view belongs to.DataSourceProto.DataSourcegetStreamSource()Streaming DataSource from where this view can consume "online" feature data.DataSourceProto.DataSourceOrBuildergetStreamSourceOrBuilder()Streaming DataSource from where this view can consume "online" feature data.Map<String,String>getTags()Deprecated.intgetTagsCount()User defined metadataMap<String,String>getTagsMap()User defined metadataStringgetTagsOrDefault(String key, String defaultValue)User defined metadataStringgetTagsOrThrow(String key)User defined metadatacom.google.protobuf.DurationgetTtl()Features in this feature view can only be retrieved from online serving younger than ttl.com.google.protobuf.DurationOrBuildergetTtlOrBuilder()Features in this feature view can only be retrieved from online serving younger than ttl.booleanhasBatchSource()Batch/Offline DataSource where this view can retrieve offline feature data.booleanhasStreamSource()Streaming DataSource from where this view can consume "online" feature data.booleanhasTtl()Features in this feature view can only be retrieved from online serving younger than ttl.-
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 view. Must be unique. Not updated.
string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Name of the feature view. Must be unique. Not updated.
string name = 1;- Returns:
- The bytes for name.
-
getProject
String getProject()
Name of Feast project that this feature view belongs to.
string project = 2;- Returns:
- The project.
-
getProjectBytes
com.google.protobuf.ByteString getProjectBytes()
Name of Feast project that this feature view belongs to.
string project = 2;- Returns:
- The bytes for project.
-
getEntitiesList
List<String> getEntitiesList()
List of names of entities associated with this feature view.
repeated string entities = 3;- Returns:
- A list containing the entities.
-
getEntitiesCount
int getEntitiesCount()
List of names of entities associated with this feature view.
repeated string entities = 3;- Returns:
- The count of entities.
-
getEntities
String getEntities(int index)
List of names of entities associated with this feature view.
repeated string entities = 3;- Parameters:
index- The index of the element to return.- Returns:
- The entities at the given index.
-
getEntitiesBytes
com.google.protobuf.ByteString getEntitiesBytes(int index)
List of names of entities associated with this feature view.
repeated string entities = 3;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the entities at the given index.
-
getFeaturesList
List<FeatureProto.FeatureSpecV2> getFeaturesList()
List of specifications for each feature defined as part of this feature view.
repeated .feast.core.FeatureSpecV2 features = 4;
-
getFeatures
FeatureProto.FeatureSpecV2 getFeatures(int index)
List of specifications for each feature defined as part of this feature view.
repeated .feast.core.FeatureSpecV2 features = 4;
-
getFeaturesCount
int getFeaturesCount()
List of specifications for each feature defined as part of this feature view.
repeated .feast.core.FeatureSpecV2 features = 4;
-
getFeaturesOrBuilderList
List<? extends FeatureProto.FeatureSpecV2OrBuilder> getFeaturesOrBuilderList()
List of specifications for each feature defined as part of this feature view.
repeated .feast.core.FeatureSpecV2 features = 4;
-
getFeaturesOrBuilder
FeatureProto.FeatureSpecV2OrBuilder getFeaturesOrBuilder(int index)
List of specifications for each feature defined as part of this feature view.
repeated .feast.core.FeatureSpecV2 features = 4;
-
getEntityColumnsList
List<FeatureProto.FeatureSpecV2> getEntityColumnsList()
List of specifications for each entity defined as part of this feature view.
repeated .feast.core.FeatureSpecV2 entity_columns = 12;
-
getEntityColumns
FeatureProto.FeatureSpecV2 getEntityColumns(int index)
List of specifications for each entity defined as part of this feature view.
repeated .feast.core.FeatureSpecV2 entity_columns = 12;
-
getEntityColumnsCount
int getEntityColumnsCount()
List of specifications for each entity defined as part of this feature view.
repeated .feast.core.FeatureSpecV2 entity_columns = 12;
-
getEntityColumnsOrBuilderList
List<? extends FeatureProto.FeatureSpecV2OrBuilder> getEntityColumnsOrBuilderList()
List of specifications for each entity defined as part of this feature view.
repeated .feast.core.FeatureSpecV2 entity_columns = 12;
-
getEntityColumnsOrBuilder
FeatureProto.FeatureSpecV2OrBuilder getEntityColumnsOrBuilder(int index)
List of specifications for each entity defined as part of this feature view.
repeated .feast.core.FeatureSpecV2 entity_columns = 12;
-
getDescription
String getDescription()
Description of the feature view.
string description = 10;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
Description of the feature view.
string description = 10;- Returns:
- The bytes for description.
-
getTagsCount
int getTagsCount()
User defined metadata
map<string, string> tags = 5;
-
containsTags
boolean containsTags(String key)
User defined metadata
map<string, string> tags = 5;
-
getTags
@Deprecated Map<String,String> getTags()
Deprecated.UsegetTagsMap()instead.
-
getTagsOrDefault
String getTagsOrDefault(String key, String defaultValue)
User defined metadata
map<string, string> tags = 5;
-
getTagsOrThrow
String getTagsOrThrow(String key)
User defined metadata
map<string, string> tags = 5;
-
getOwner
String getOwner()
Owner of the feature view.
string owner = 11;- Returns:
- The owner.
-
getOwnerBytes
com.google.protobuf.ByteString getOwnerBytes()
Owner of the feature view.
string owner = 11;- Returns:
- The bytes for owner.
-
hasTtl
boolean hasTtl()
Features in this feature view can only be retrieved from online serving younger than ttl. Ttl is measured as the duration of time between the feature's event timestamp and when the feature is retrieved Feature values outside ttl will be returned as unset values and indicated to end user
.google.protobuf.Duration ttl = 6;- Returns:
- Whether the ttl field is set.
-
getTtl
com.google.protobuf.Duration getTtl()
Features in this feature view can only be retrieved from online serving younger than ttl. Ttl is measured as the duration of time between the feature's event timestamp and when the feature is retrieved Feature values outside ttl will be returned as unset values and indicated to end user
.google.protobuf.Duration ttl = 6;- Returns:
- The ttl.
-
getTtlOrBuilder
com.google.protobuf.DurationOrBuilder getTtlOrBuilder()
Features in this feature view can only be retrieved from online serving younger than ttl. Ttl is measured as the duration of time between the feature's event timestamp and when the feature is retrieved Feature values outside ttl will be returned as unset values and indicated to end user
.google.protobuf.Duration ttl = 6;
-
hasBatchSource
boolean hasBatchSource()
Batch/Offline DataSource where this view can retrieve offline feature data.
.feast.core.DataSource batch_source = 7;- Returns:
- Whether the batchSource field is set.
-
getBatchSource
DataSourceProto.DataSource getBatchSource()
Batch/Offline DataSource where this view can retrieve offline feature data.
.feast.core.DataSource batch_source = 7;- Returns:
- The batchSource.
-
getBatchSourceOrBuilder
DataSourceProto.DataSourceOrBuilder getBatchSourceOrBuilder()
Batch/Offline DataSource where this view can retrieve offline feature data.
.feast.core.DataSource batch_source = 7;
-
hasStreamSource
boolean hasStreamSource()
Streaming DataSource from where this view can consume "online" feature data.
.feast.core.DataSource stream_source = 9;- Returns:
- Whether the streamSource field is set.
-
getStreamSource
DataSourceProto.DataSource getStreamSource()
Streaming DataSource from where this view can consume "online" feature data.
.feast.core.DataSource stream_source = 9;- Returns:
- The streamSource.
-
getStreamSourceOrBuilder
DataSourceProto.DataSourceOrBuilder getStreamSourceOrBuilder()
Streaming DataSource from where this view can consume "online" feature data.
.feast.core.DataSource stream_source = 9;
-
getOnline
boolean getOnline()
Whether these features should be served online or not
bool online = 8;- Returns:
- The online.
-
-