Package feast.proto.core
Class StreamFeatureViewProto.StreamFeatureViewSpec
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- feast.proto.core.StreamFeatureViewProto.StreamFeatureViewSpec
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,StreamFeatureViewProto.StreamFeatureViewSpecOrBuilder,Serializable
- Enclosing class:
- StreamFeatureViewProto
public static final class StreamFeatureViewProto.StreamFeatureViewSpec extends com.google.protobuf.GeneratedMessageV3 implements StreamFeatureViewProto.StreamFeatureViewSpecOrBuilder
Next available id: 17
Protobuf typefeast.core.StreamFeatureViewSpec- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStreamFeatureViewProto.StreamFeatureViewSpec.BuilderNext available id: 17-
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
Fields Modifier and Type Field Description static intAGGREGATIONS_FIELD_NUMBERstatic intBATCH_SOURCE_FIELD_NUMBERstatic intDESCRIPTION_FIELD_NUMBERstatic intENTITIES_FIELD_NUMBERstatic intENTITY_COLUMNS_FIELD_NUMBERstatic intFEATURES_FIELD_NUMBERstatic intMODE_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intONLINE_FIELD_NUMBERstatic intOWNER_FIELD_NUMBERstatic intPROJECT_FIELD_NUMBERstatic intSTREAM_SOURCE_FIELD_NUMBERstatic intTAGS_FIELD_NUMBERstatic intTIMESTAMP_FIELD_FIELD_NUMBERstatic intTTL_FIELD_NUMBERstatic intUSER_DEFINED_FUNCTION_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsTags(String key)User defined metadatabooleanequals(Object obj)AggregationProto.AggregationgetAggregations(int index)Aggregation definitionsintgetAggregationsCount()Aggregation definitionsList<AggregationProto.Aggregation>getAggregationsList()Aggregation definitionsAggregationProto.AggregationOrBuildergetAggregationsOrBuilder(int index)Aggregation definitionsList<? extends AggregationProto.AggregationOrBuilder>getAggregationsOrBuilderList()Aggregation definitionsDataSourceProto.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.static StreamFeatureViewProto.StreamFeatureViewSpecgetDefaultInstance()StreamFeatureViewProto.StreamFeatureViewSpecgetDefaultInstanceForType()StringgetDescription()Description of the feature view.com.google.protobuf.ByteStringgetDescriptionBytes()Description of the feature view.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()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.com.google.protobuf.ProtocolStringListgetEntitiesList()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.StringgetMode()Mode of executioncom.google.protobuf.ByteStringgetModeBytes()Mode of executionStringgetName()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.com.google.protobuf.Parser<StreamFeatureViewProto.StreamFeatureViewSpec>getParserForType()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.intgetSerializedSize()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 metadataStringgetTimestampField()Timestamp field for aggregationcom.google.protobuf.ByteStringgetTimestampFieldBytes()Timestamp field for aggregationcom.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.com.google.protobuf.UnknownFieldSetgetUnknownFields()OnDemandFeatureViewProto.UserDefinedFunctiongetUserDefinedFunction()Serialized function that is encoded in the streamfeatureviewOnDemandFeatureViewProto.UserDefinedFunctionOrBuildergetUserDefinedFunctionOrBuilder()Serialized function that is encoded in the streamfeatureviewbooleanhasBatchSource()Batch/Offline DataSource where this view can retrieve offline feature data.inthashCode()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.booleanhasUserDefinedFunction()Serialized function that is encoded in the streamfeatureviewprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static StreamFeatureViewProto.StreamFeatureViewSpec.BuildernewBuilder()static StreamFeatureViewProto.StreamFeatureViewSpec.BuildernewBuilder(StreamFeatureViewProto.StreamFeatureViewSpec prototype)StreamFeatureViewProto.StreamFeatureViewSpec.BuildernewBuilderForType()protected StreamFeatureViewProto.StreamFeatureViewSpec.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static StreamFeatureViewProto.StreamFeatureViewSpecparseDelimitedFrom(InputStream input)static StreamFeatureViewProto.StreamFeatureViewSpecparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StreamFeatureViewProto.StreamFeatureViewSpecparseFrom(byte[] data)static StreamFeatureViewProto.StreamFeatureViewSpecparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StreamFeatureViewProto.StreamFeatureViewSpecparseFrom(com.google.protobuf.ByteString data)static StreamFeatureViewProto.StreamFeatureViewSpecparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StreamFeatureViewProto.StreamFeatureViewSpecparseFrom(com.google.protobuf.CodedInputStream input)static StreamFeatureViewProto.StreamFeatureViewSpecparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StreamFeatureViewProto.StreamFeatureViewSpecparseFrom(InputStream input)static StreamFeatureViewProto.StreamFeatureViewSpecparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StreamFeatureViewProto.StreamFeatureViewSpecparseFrom(ByteBuffer data)static StreamFeatureViewProto.StreamFeatureViewSpecparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<StreamFeatureViewProto.StreamFeatureViewSpec>parser()StreamFeatureViewProto.StreamFeatureViewSpec.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, 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
-
PROJECT_FIELD_NUMBER
public static final int PROJECT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENTITIES_FIELD_NUMBER
public static final int ENTITIES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FEATURES_FIELD_NUMBER
public static final int FEATURES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENTITY_COLUMNS_FIELD_NUMBER
public static final int ENTITY_COLUMNS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TAGS_FIELD_NUMBER
public static final int TAGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OWNER_FIELD_NUMBER
public static final int OWNER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TTL_FIELD_NUMBER
public static final int TTL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BATCH_SOURCE_FIELD_NUMBER
public static final int BATCH_SOURCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STREAM_SOURCE_FIELD_NUMBER
public static final int STREAM_SOURCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ONLINE_FIELD_NUMBER
public static final int ONLINE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
USER_DEFINED_FUNCTION_FIELD_NUMBER
public static final int USER_DEFINED_FUNCTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MODE_FIELD_NUMBER
public static final int MODE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AGGREGATIONS_FIELD_NUMBER
public static final int AGGREGATIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TIMESTAMP_FIELD_FIELD_NUMBER
public static final int TIMESTAMP_FIELD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
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()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getName
public String getName()
Name of the feature view. Must be unique. Not updated.
string name = 1;- Specified by:
getNamein interfaceStreamFeatureViewProto.StreamFeatureViewSpecOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Name of the feature view. Must be unique. Not updated.
string name = 1;- Specified by:
getNameBytesin interfaceStreamFeatureViewProto.StreamFeatureViewSpecOrBuilder- Returns:
- The bytes for name.
-
getProject
public String getProject()
Name of Feast project that this feature view belongs to.
string project = 2;- Specified by:
getProjectin interfaceStreamFeatureViewProto.StreamFeatureViewSpecOrBuilder- Returns:
- The project.
-
getProjectBytes
public com.google.protobuf.ByteString getProjectBytes()
Name of Feast project that this feature view belongs to.
string project = 2;- Specified by:
getProjectBytesin interfaceStreamFeatureViewProto.StreamFeatureViewSpecOrBuilder- Returns:
- The bytes for project.
-
getEntitiesList
public com.google.protobuf.ProtocolStringList getEntitiesList()
List of names of entities associated with this feature view.
repeated string entities = 3;- Specified by:
getEntitiesListin interfaceStreamFeatureViewProto.StreamFeatureViewSpecOrBuilder- Returns:
- A list containing the entities.
-
getEntitiesCount
public int getEntitiesCount()
List of names of entities associated with this feature view.
repeated string entities = 3;- Specified by:
getEntitiesCountin interfaceStreamFeatureViewProto.StreamFeatureViewSpecOrBuilder- Returns:
- The count of entities.
-
getEntities
public String getEntities(int index)
List of names of entities associated with this feature view.
repeated string entities = 3;- Specified by:
getEntitiesin interfaceStreamFeatureViewProto.StreamFeatureViewSpecOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The entities at the given index.
-
getEntitiesBytes
public com.google.protobuf.ByteString getEntitiesBytes(int index)
List of names of entities associated with this feature view.
repeated string entities = 3;- Specified by:
getEntitiesBytesin interfaceStreamFeatureViewProto.StreamFeatureViewSpecOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the entities at the given index.
-
getFeaturesList
public List<FeatureProto.FeatureSpecV2> getFeaturesList()
List of specifications for each feature defined as part of this feature view.
repeated .feast.core.FeatureSpecV2 features = 4;- Specified by:
getFeaturesListin interfaceStreamFeatureViewProto.StreamFeatureViewSpecOrBuilder
-
getFeaturesOrBuilderList
public List<? extends FeatureProto.FeatureSpecV2OrBuilder> getFeaturesOrBuilderList()
List of specifications for each feature defined as part of this feature view.
repeated .feast.core.FeatureSpecV2 features = 4;- Specified by:
getFeaturesOrBuilderListin interfaceStreamFeatureViewProto.StreamFeatureViewSpecOrBuilder
-
getFeaturesCount
public int getFeaturesCount()
List of specifications for each feature defined as part of this feature view.
repeated .feast.core.FeatureSpecV2 features = 4;- Specified by:
getFeaturesCountin interfaceStreamFeatureViewProto.StreamFeatureViewSpecOrBuilder
-
getFeatures
public FeatureProto.FeatureSpecV2 getFeatures(int index)
List of specifications for each feature defined as part of this feature view.
repeated .feast.core.FeatureSpecV2 features = 4;- Specified by:
getFeaturesin interfaceStreamFeatureViewProto.StreamFeatureViewSpecOrBuilder
-
getFeaturesOrBuilder
public FeatureProto.FeatureSpecV2OrBuilder getFeaturesOrBuilder(int index)
List of specifications for each feature defined as part of this feature view.
repeated .feast.core.FeatureSpecV2 features = 4;- Specified by:
getFeaturesOrBuilderin interfaceStreamFeatureViewProto.StreamFeatureViewSpecOrBuilder
-
getEntityColumnsList
public List<FeatureProto.FeatureSpecV2> getEntityColumnsList()
List of specifications for each entity defined as part of this feature view.
repeated .feast.core.FeatureSpecV2 entity_columns = 5;- Specified by:
getEntityColumnsListin interfaceStreamFeatureViewProto.StreamFeatureViewSpecOrBuilder
-
getEntityColumnsOrBuilderList
public List<? extends FeatureProto.FeatureSpecV2OrBuilder> getEntityColumnsOrBuilderList()
List of specifications for each entity defined as part of this feature view.
repeated .feast.core.FeatureSpecV2 entity_columns = 5;- Specified by:
getEntityColumnsOrBuilderListin interfaceStreamFeatureViewProto.StreamFeatureViewSpecOrBuilder
-
getEntityColumnsCount
public int getEntityColumnsCount()
List of specifications for each entity defined as part of this feature view.
repeated .feast.core.FeatureSpecV2 entity_columns = 5;- Specified by:
getEntityColumnsCountin interfaceStreamFeatureViewProto.StreamFeatureViewSpecOrBuilder
-
getEntityColumns
public FeatureProto.FeatureSpecV2 getEntityColumns(int index)
List of specifications for each entity defined as part of this feature view.
repeated .feast.core.FeatureSpecV2 entity_columns = 5;- Specified by:
getEntityColumnsin interfaceStreamFeatureViewProto.StreamFeatureViewSpecOrBuilder
-
getEntityColumnsOrBuilder
public FeatureProto.FeatureSpecV2OrBuilder getEntityColumnsOrBuilder(int index)
List of specifications for each entity defined as part of this feature view.
repeated .feast.core.FeatureSpecV2 entity_columns = 5;- Specified by:
getEntityColumnsOrBuilderin interfaceStreamFeatureViewProto.StreamFeatureViewSpecOrBuilder
-
getDescription
public String getDescription()
Description of the feature view.
string description = 6;- Specified by:
getDescriptionin interfaceStreamFeatureViewProto.StreamFeatureViewSpecOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
Description of the feature view.
string description = 6;- Specified by:
getDescriptionBytesin interfaceStreamFeatureViewProto.StreamFeatureViewSpecOrBuilder- Returns:
- The bytes for description.
-
getTagsCount
public int getTagsCount()
Description copied from interface:StreamFeatureViewProto.StreamFeatureViewSpecOrBuilderUser defined metadata
map<string, string> tags = 7;- Specified by:
getTagsCountin interfaceStreamFeatureViewProto.StreamFeatureViewSpecOrBuilder
-
containsTags
public boolean containsTags(String key)
User defined metadata
map<string, string> tags = 7;- Specified by:
containsTagsin interfaceStreamFeatureViewProto.StreamFeatureViewSpecOrBuilder
-
getTags
@Deprecated public Map<String,String> getTags()
Deprecated.UsegetTagsMap()instead.- Specified by:
getTagsin interfaceStreamFeatureViewProto.StreamFeatureViewSpecOrBuilder
-
getTagsMap
public Map<String,String> getTagsMap()
User defined metadata
map<string, string> tags = 7;- Specified by:
getTagsMapin interfaceStreamFeatureViewProto.StreamFeatureViewSpecOrBuilder
-
getTagsOrDefault
public String getTagsOrDefault(String key, String defaultValue)
User defined metadata
map<string, string> tags = 7;- Specified by:
getTagsOrDefaultin interfaceStreamFeatureViewProto.StreamFeatureViewSpecOrBuilder
-
getTagsOrThrow
public String getTagsOrThrow(String key)
User defined metadata
map<string, string> tags = 7;- Specified by:
getTagsOrThrowin interfaceStreamFeatureViewProto.StreamFeatureViewSpecOrBuilder
-
getOwner
public String getOwner()
Owner of the feature view.
string owner = 8;- Specified by:
getOwnerin interfaceStreamFeatureViewProto.StreamFeatureViewSpecOrBuilder- Returns:
- The owner.
-
getOwnerBytes
public com.google.protobuf.ByteString getOwnerBytes()
Owner of the feature view.
string owner = 8;- Specified by:
getOwnerBytesin interfaceStreamFeatureViewProto.StreamFeatureViewSpecOrBuilder- Returns:
- The bytes for owner.
-
hasTtl
public 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 = 9;- Specified by:
hasTtlin interfaceStreamFeatureViewProto.StreamFeatureViewSpecOrBuilder- Returns:
- Whether the ttl field is set.
-
getTtl
public 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 = 9;- Specified by:
getTtlin interfaceStreamFeatureViewProto.StreamFeatureViewSpecOrBuilder- Returns:
- The ttl.
-
getTtlOrBuilder
public 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 = 9;- Specified by:
getTtlOrBuilderin interfaceStreamFeatureViewProto.StreamFeatureViewSpecOrBuilder
-
hasBatchSource
public boolean hasBatchSource()
Batch/Offline DataSource where this view can retrieve offline feature data.
.feast.core.DataSource batch_source = 10;- Specified by:
hasBatchSourcein interfaceStreamFeatureViewProto.StreamFeatureViewSpecOrBuilder- Returns:
- Whether the batchSource field is set.
-
getBatchSource
public DataSourceProto.DataSource getBatchSource()
Batch/Offline DataSource where this view can retrieve offline feature data.
.feast.core.DataSource batch_source = 10;- Specified by:
getBatchSourcein interfaceStreamFeatureViewProto.StreamFeatureViewSpecOrBuilder- Returns:
- The batchSource.
-
getBatchSourceOrBuilder
public DataSourceProto.DataSourceOrBuilder getBatchSourceOrBuilder()
Batch/Offline DataSource where this view can retrieve offline feature data.
.feast.core.DataSource batch_source = 10;- Specified by:
getBatchSourceOrBuilderin interfaceStreamFeatureViewProto.StreamFeatureViewSpecOrBuilder
-
hasStreamSource
public boolean hasStreamSource()
Streaming DataSource from where this view can consume "online" feature data.
.feast.core.DataSource stream_source = 11;- Specified by:
hasStreamSourcein interfaceStreamFeatureViewProto.StreamFeatureViewSpecOrBuilder- Returns:
- Whether the streamSource field is set.
-
getStreamSource
public DataSourceProto.DataSource getStreamSource()
Streaming DataSource from where this view can consume "online" feature data.
.feast.core.DataSource stream_source = 11;- Specified by:
getStreamSourcein interfaceStreamFeatureViewProto.StreamFeatureViewSpecOrBuilder- Returns:
- The streamSource.
-
getStreamSourceOrBuilder
public DataSourceProto.DataSourceOrBuilder getStreamSourceOrBuilder()
Streaming DataSource from where this view can consume "online" feature data.
.feast.core.DataSource stream_source = 11;- Specified by:
getStreamSourceOrBuilderin interfaceStreamFeatureViewProto.StreamFeatureViewSpecOrBuilder
-
getOnline
public boolean getOnline()
Whether these features should be served online or not
bool online = 12;- Specified by:
getOnlinein interfaceStreamFeatureViewProto.StreamFeatureViewSpecOrBuilder- Returns:
- The online.
-
hasUserDefinedFunction
public boolean hasUserDefinedFunction()
Serialized function that is encoded in the streamfeatureview
.feast.core.UserDefinedFunction user_defined_function = 13;- Specified by:
hasUserDefinedFunctionin interfaceStreamFeatureViewProto.StreamFeatureViewSpecOrBuilder- Returns:
- Whether the userDefinedFunction field is set.
-
getUserDefinedFunction
public OnDemandFeatureViewProto.UserDefinedFunction getUserDefinedFunction()
Serialized function that is encoded in the streamfeatureview
.feast.core.UserDefinedFunction user_defined_function = 13;- Specified by:
getUserDefinedFunctionin interfaceStreamFeatureViewProto.StreamFeatureViewSpecOrBuilder- Returns:
- The userDefinedFunction.
-
getUserDefinedFunctionOrBuilder
public OnDemandFeatureViewProto.UserDefinedFunctionOrBuilder getUserDefinedFunctionOrBuilder()
Serialized function that is encoded in the streamfeatureview
.feast.core.UserDefinedFunction user_defined_function = 13;- Specified by:
getUserDefinedFunctionOrBuilderin interfaceStreamFeatureViewProto.StreamFeatureViewSpecOrBuilder
-
getMode
public String getMode()
Mode of execution
string mode = 14;- Specified by:
getModein interfaceStreamFeatureViewProto.StreamFeatureViewSpecOrBuilder- Returns:
- The mode.
-
getModeBytes
public com.google.protobuf.ByteString getModeBytes()
Mode of execution
string mode = 14;- Specified by:
getModeBytesin interfaceStreamFeatureViewProto.StreamFeatureViewSpecOrBuilder- Returns:
- The bytes for mode.
-
getAggregationsList
public List<AggregationProto.Aggregation> getAggregationsList()
Aggregation definitions
repeated .feast.core.Aggregation aggregations = 15;- Specified by:
getAggregationsListin interfaceStreamFeatureViewProto.StreamFeatureViewSpecOrBuilder
-
getAggregationsOrBuilderList
public List<? extends AggregationProto.AggregationOrBuilder> getAggregationsOrBuilderList()
Aggregation definitions
repeated .feast.core.Aggregation aggregations = 15;- Specified by:
getAggregationsOrBuilderListin interfaceStreamFeatureViewProto.StreamFeatureViewSpecOrBuilder
-
getAggregationsCount
public int getAggregationsCount()
Aggregation definitions
repeated .feast.core.Aggregation aggregations = 15;- Specified by:
getAggregationsCountin interfaceStreamFeatureViewProto.StreamFeatureViewSpecOrBuilder
-
getAggregations
public AggregationProto.Aggregation getAggregations(int index)
Aggregation definitions
repeated .feast.core.Aggregation aggregations = 15;- Specified by:
getAggregationsin interfaceStreamFeatureViewProto.StreamFeatureViewSpecOrBuilder
-
getAggregationsOrBuilder
public AggregationProto.AggregationOrBuilder getAggregationsOrBuilder(int index)
Aggregation definitions
repeated .feast.core.Aggregation aggregations = 15;- Specified by:
getAggregationsOrBuilderin interfaceStreamFeatureViewProto.StreamFeatureViewSpecOrBuilder
-
getTimestampField
public String getTimestampField()
Timestamp field for aggregation
string timestamp_field = 16;- Specified by:
getTimestampFieldin interfaceStreamFeatureViewProto.StreamFeatureViewSpecOrBuilder- Returns:
- The timestampField.
-
getTimestampFieldBytes
public com.google.protobuf.ByteString getTimestampFieldBytes()
Timestamp field for aggregation
string timestamp_field = 16;- Specified by:
getTimestampFieldBytesin interfaceStreamFeatureViewProto.StreamFeatureViewSpecOrBuilder- Returns:
- The bytes for timestampField.
-
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 StreamFeatureViewProto.StreamFeatureViewSpec parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamFeatureViewProto.StreamFeatureViewSpec parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamFeatureViewProto.StreamFeatureViewSpec parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamFeatureViewProto.StreamFeatureViewSpec parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamFeatureViewProto.StreamFeatureViewSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamFeatureViewProto.StreamFeatureViewSpec parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamFeatureViewProto.StreamFeatureViewSpec parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static StreamFeatureViewProto.StreamFeatureViewSpec parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static StreamFeatureViewProto.StreamFeatureViewSpec parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static StreamFeatureViewProto.StreamFeatureViewSpec parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static StreamFeatureViewProto.StreamFeatureViewSpec parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static StreamFeatureViewProto.StreamFeatureViewSpec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public StreamFeatureViewProto.StreamFeatureViewSpec.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static StreamFeatureViewProto.StreamFeatureViewSpec.Builder newBuilder()
-
newBuilder
public static StreamFeatureViewProto.StreamFeatureViewSpec.Builder newBuilder(StreamFeatureViewProto.StreamFeatureViewSpec prototype)
-
toBuilder
public StreamFeatureViewProto.StreamFeatureViewSpec.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected StreamFeatureViewProto.StreamFeatureViewSpec.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static StreamFeatureViewProto.StreamFeatureViewSpec getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<StreamFeatureViewProto.StreamFeatureViewSpec> parser()
-
getParserForType
public com.google.protobuf.Parser<StreamFeatureViewProto.StreamFeatureViewSpec> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public StreamFeatureViewProto.StreamFeatureViewSpec getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-