Package feast.proto.core
Class FeatureViewProto.FeatureViewSpec.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<FeatureViewProto.FeatureViewSpec.Builder>
-
- feast.proto.core.FeatureViewProto.FeatureViewSpec.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,FeatureViewProto.FeatureViewSpecOrBuilder,Cloneable
- Enclosing class:
- FeatureViewProto.FeatureViewSpec
public static final class FeatureViewProto.FeatureViewSpec.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<FeatureViewProto.FeatureViewSpec.Builder> implements FeatureViewProto.FeatureViewSpecOrBuilder
Next available id: 12 TODO(adchia): refactor common fields from this and ODFV into separate metadata proto
Protobuf typefeast.core.FeatureViewSpec
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description FeatureViewProto.FeatureViewSpec.BuilderaddAllEntities(Iterable<String> values)List names of entities to associate with the Features defined in this Feature View.FeatureViewProto.FeatureViewSpec.BuilderaddAllFeatures(Iterable<? extends FeatureProto.FeatureSpecV2> values)List of specifications for each field defined as part of this feature view.FeatureViewProto.FeatureViewSpec.BuilderaddEntities(String value)List names of entities to associate with the Features defined in this Feature View.FeatureViewProto.FeatureViewSpec.BuilderaddEntitiesBytes(com.google.protobuf.ByteString value)List names of entities to associate with the Features defined in this Feature View.FeatureViewProto.FeatureViewSpec.BuilderaddFeatures(int index, FeatureProto.FeatureSpecV2 value)List of specifications for each field defined as part of this feature view.FeatureViewProto.FeatureViewSpec.BuilderaddFeatures(int index, FeatureProto.FeatureSpecV2.Builder builderForValue)List of specifications for each field defined as part of this feature view.FeatureViewProto.FeatureViewSpec.BuilderaddFeatures(FeatureProto.FeatureSpecV2 value)List of specifications for each field defined as part of this feature view.FeatureViewProto.FeatureViewSpec.BuilderaddFeatures(FeatureProto.FeatureSpecV2.Builder builderForValue)List of specifications for each field defined as part of this feature view.FeatureProto.FeatureSpecV2.BuilderaddFeaturesBuilder()List of specifications for each field defined as part of this feature view.FeatureProto.FeatureSpecV2.BuilderaddFeaturesBuilder(int index)List of specifications for each field defined as part of this feature view.FeatureViewProto.FeatureViewSpec.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)FeatureViewProto.FeatureViewSpecbuild()FeatureViewProto.FeatureViewSpecbuildPartial()FeatureViewProto.FeatureViewSpec.Builderclear()FeatureViewProto.FeatureViewSpec.BuilderclearBatchSource()Batch/Offline DataSource where this view can retrieve offline feature data.FeatureViewProto.FeatureViewSpec.BuilderclearDescription()Description of the feature view.FeatureViewProto.FeatureViewSpec.BuilderclearEntities()List names of entities to associate with the Features defined in this Feature View.FeatureViewProto.FeatureViewSpec.BuilderclearFeatures()List of specifications for each field defined as part of this feature view.FeatureViewProto.FeatureViewSpec.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)FeatureViewProto.FeatureViewSpec.BuilderclearName()Name of the feature view.FeatureViewProto.FeatureViewSpec.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)FeatureViewProto.FeatureViewSpec.BuilderclearOnline()Whether these features should be served online or notFeatureViewProto.FeatureViewSpec.BuilderclearOwner()Owner of the feature view.FeatureViewProto.FeatureViewSpec.BuilderclearProject()Name of Feast project that this feature view belongs to.FeatureViewProto.FeatureViewSpec.BuilderclearStreamSource()Streaming DataSource from where this view can consume "online" feature data.FeatureViewProto.FeatureViewSpec.BuilderclearTags()FeatureViewProto.FeatureViewSpec.BuilderclearTtl()Features in this feature view can only be retrieved from online serving younger than ttl.FeatureViewProto.FeatureViewSpec.Builderclone()booleancontainsTags(String key)User defined metadataDataSourceProto.DataSourcegetBatchSource()Batch/Offline DataSource where this view can retrieve offline feature data.DataSourceProto.DataSource.BuildergetBatchSourceBuilder()Batch/Offline DataSource where this view can retrieve offline feature data.DataSourceProto.DataSourceOrBuildergetBatchSourceOrBuilder()Batch/Offline DataSource where this view can retrieve offline feature data.FeatureViewProto.FeatureViewSpecgetDefaultInstanceForType()StringgetDescription()Description of the feature view.com.google.protobuf.ByteStringgetDescriptionBytes()Description of the feature view.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetEntities(int index)List names of entities to associate with the Features defined in this Feature View.com.google.protobuf.ByteStringgetEntitiesBytes(int index)List names of entities to associate with the Features defined in this Feature View.intgetEntitiesCount()List names of entities to associate with the Features defined in this Feature View.com.google.protobuf.ProtocolStringListgetEntitiesList()List names of entities to associate with the Features defined in this Feature View.FeatureProto.FeatureSpecV2getFeatures(int index)List of specifications for each field defined as part of this feature view.FeatureProto.FeatureSpecV2.BuildergetFeaturesBuilder(int index)List of specifications for each field defined as part of this feature view.List<FeatureProto.FeatureSpecV2.Builder>getFeaturesBuilderList()List of specifications for each field defined as part of this feature view.intgetFeaturesCount()List of specifications for each field defined as part of this feature view.List<FeatureProto.FeatureSpecV2>getFeaturesList()List of specifications for each field defined as part of this feature view.FeatureProto.FeatureSpecV2OrBuildergetFeaturesOrBuilder(int index)List of specifications for each field defined as part of this feature view.List<? extends FeatureProto.FeatureSpecV2OrBuilder>getFeaturesOrBuilderList()List of specifications for each field defined as part of this feature view.Map<String,String>getMutableTags()Deprecated.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.DataSource.BuildergetStreamSourceBuilder()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.Duration.BuildergetTtlBuilder()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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()FeatureViewProto.FeatureViewSpec.BuildermergeBatchSource(DataSourceProto.DataSource value)Batch/Offline DataSource where this view can retrieve offline feature data.FeatureViewProto.FeatureViewSpec.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)FeatureViewProto.FeatureViewSpec.BuildermergeFrom(com.google.protobuf.Message other)FeatureViewProto.FeatureViewSpec.BuildermergeFrom(FeatureViewProto.FeatureViewSpec other)FeatureViewProto.FeatureViewSpec.BuildermergeStreamSource(DataSourceProto.DataSource value)Streaming DataSource from where this view can consume "online" feature data.FeatureViewProto.FeatureViewSpec.BuildermergeTtl(com.google.protobuf.Duration value)Features in this feature view can only be retrieved from online serving younger than ttl.FeatureViewProto.FeatureViewSpec.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)FeatureViewProto.FeatureViewSpec.BuilderputAllTags(Map<String,String> values)User defined metadataFeatureViewProto.FeatureViewSpec.BuilderputTags(String key, String value)User defined metadataFeatureViewProto.FeatureViewSpec.BuilderremoveFeatures(int index)List of specifications for each field defined as part of this feature view.FeatureViewProto.FeatureViewSpec.BuilderremoveTags(String key)User defined metadataFeatureViewProto.FeatureViewSpec.BuildersetBatchSource(DataSourceProto.DataSource value)Batch/Offline DataSource where this view can retrieve offline feature data.FeatureViewProto.FeatureViewSpec.BuildersetBatchSource(DataSourceProto.DataSource.Builder builderForValue)Batch/Offline DataSource where this view can retrieve offline feature data.FeatureViewProto.FeatureViewSpec.BuildersetDescription(String value)Description of the feature view.FeatureViewProto.FeatureViewSpec.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)Description of the feature view.FeatureViewProto.FeatureViewSpec.BuildersetEntities(int index, String value)List names of entities to associate with the Features defined in this Feature View.FeatureViewProto.FeatureViewSpec.BuildersetFeatures(int index, FeatureProto.FeatureSpecV2 value)List of specifications for each field defined as part of this feature view.FeatureViewProto.FeatureViewSpec.BuildersetFeatures(int index, FeatureProto.FeatureSpecV2.Builder builderForValue)List of specifications for each field defined as part of this feature view.FeatureViewProto.FeatureViewSpec.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)FeatureViewProto.FeatureViewSpec.BuildersetName(String value)Name of the feature view.FeatureViewProto.FeatureViewSpec.BuildersetNameBytes(com.google.protobuf.ByteString value)Name of the feature view.FeatureViewProto.FeatureViewSpec.BuildersetOnline(boolean value)Whether these features should be served online or notFeatureViewProto.FeatureViewSpec.BuildersetOwner(String value)Owner of the feature view.FeatureViewProto.FeatureViewSpec.BuildersetOwnerBytes(com.google.protobuf.ByteString value)Owner of the feature view.FeatureViewProto.FeatureViewSpec.BuildersetProject(String value)Name of Feast project that this feature view belongs to.FeatureViewProto.FeatureViewSpec.BuildersetProjectBytes(com.google.protobuf.ByteString value)Name of Feast project that this feature view belongs to.FeatureViewProto.FeatureViewSpec.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)FeatureViewProto.FeatureViewSpec.BuildersetStreamSource(DataSourceProto.DataSource value)Streaming DataSource from where this view can consume "online" feature data.FeatureViewProto.FeatureViewSpec.BuildersetStreamSource(DataSourceProto.DataSource.Builder builderForValue)Streaming DataSource from where this view can consume "online" feature data.FeatureViewProto.FeatureViewSpec.BuildersetTtl(com.google.protobuf.Duration value)Features in this feature view can only be retrieved from online serving younger than ttl.FeatureViewProto.FeatureViewSpec.BuildersetTtl(com.google.protobuf.Duration.Builder builderForValue)Features in this feature view can only be retrieved from online serving younger than ttl.FeatureViewProto.FeatureViewSpec.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
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.Builder<FeatureViewProto.FeatureViewSpec.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FeatureViewProto.FeatureViewSpec.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<FeatureViewProto.FeatureViewSpec.Builder>
-
clear
public FeatureViewProto.FeatureViewSpec.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<FeatureViewProto.FeatureViewSpec.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<FeatureViewProto.FeatureViewSpec.Builder>
-
getDefaultInstanceForType
public FeatureViewProto.FeatureViewSpec getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public FeatureViewProto.FeatureViewSpec build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public FeatureViewProto.FeatureViewSpec buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public FeatureViewProto.FeatureViewSpec.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<FeatureViewProto.FeatureViewSpec.Builder>
-
setField
public FeatureViewProto.FeatureViewSpec.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FeatureViewProto.FeatureViewSpec.Builder>
-
clearField
public FeatureViewProto.FeatureViewSpec.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FeatureViewProto.FeatureViewSpec.Builder>
-
clearOneof
public FeatureViewProto.FeatureViewSpec.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<FeatureViewProto.FeatureViewSpec.Builder>
-
setRepeatedField
public FeatureViewProto.FeatureViewSpec.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FeatureViewProto.FeatureViewSpec.Builder>
-
addRepeatedField
public FeatureViewProto.FeatureViewSpec.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FeatureViewProto.FeatureViewSpec.Builder>
-
mergeFrom
public FeatureViewProto.FeatureViewSpec.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FeatureViewProto.FeatureViewSpec.Builder>
-
mergeFrom
public FeatureViewProto.FeatureViewSpec.Builder mergeFrom(FeatureViewProto.FeatureViewSpec other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<FeatureViewProto.FeatureViewSpec.Builder>
-
mergeFrom
public FeatureViewProto.FeatureViewSpec.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FeatureViewProto.FeatureViewSpec.Builder>- Throws:
IOException
-
getName
public String getName()
Name of the feature view. Must be unique. Not updated.
string name = 1;- Specified by:
getNamein interfaceFeatureViewProto.FeatureViewSpecOrBuilder- 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 interfaceFeatureViewProto.FeatureViewSpecOrBuilder- Returns:
- The bytes for name.
-
setName
public FeatureViewProto.FeatureViewSpec.Builder setName(String value)
Name of the feature view. Must be unique. Not updated.
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public FeatureViewProto.FeatureViewSpec.Builder clearName()
Name of the feature view. Must be unique. Not updated.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
public FeatureViewProto.FeatureViewSpec.Builder setNameBytes(com.google.protobuf.ByteString value)
Name of the feature view. Must be unique. Not updated.
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getProject
public String getProject()
Name of Feast project that this feature view belongs to.
string project = 2;- Specified by:
getProjectin interfaceFeatureViewProto.FeatureViewSpecOrBuilder- 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 interfaceFeatureViewProto.FeatureViewSpecOrBuilder- Returns:
- The bytes for project.
-
setProject
public FeatureViewProto.FeatureViewSpec.Builder setProject(String value)
Name of Feast project that this feature view belongs to.
string project = 2;- Parameters:
value- The project to set.- Returns:
- This builder for chaining.
-
clearProject
public FeatureViewProto.FeatureViewSpec.Builder clearProject()
Name of Feast project that this feature view belongs to.
string project = 2;- Returns:
- This builder for chaining.
-
setProjectBytes
public FeatureViewProto.FeatureViewSpec.Builder setProjectBytes(com.google.protobuf.ByteString value)
Name of Feast project that this feature view belongs to.
string project = 2;- Parameters:
value- The bytes for project to set.- Returns:
- This builder for chaining.
-
getEntitiesList
public com.google.protobuf.ProtocolStringList getEntitiesList()
List names of entities to associate with the Features defined in this Feature View. Not updatable.
repeated string entities = 3;- Specified by:
getEntitiesListin interfaceFeatureViewProto.FeatureViewSpecOrBuilder- Returns:
- A list containing the entities.
-
getEntitiesCount
public int getEntitiesCount()
List names of entities to associate with the Features defined in this Feature View. Not updatable.
repeated string entities = 3;- Specified by:
getEntitiesCountin interfaceFeatureViewProto.FeatureViewSpecOrBuilder- Returns:
- The count of entities.
-
getEntities
public String getEntities(int index)
List names of entities to associate with the Features defined in this Feature View. Not updatable.
repeated string entities = 3;- Specified by:
getEntitiesin interfaceFeatureViewProto.FeatureViewSpecOrBuilder- 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 names of entities to associate with the Features defined in this Feature View. Not updatable.
repeated string entities = 3;- Specified by:
getEntitiesBytesin interfaceFeatureViewProto.FeatureViewSpecOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the entities at the given index.
-
setEntities
public FeatureViewProto.FeatureViewSpec.Builder setEntities(int index, String value)
List names of entities to associate with the Features defined in this Feature View. Not updatable.
repeated string entities = 3;- Parameters:
index- The index to set the value at.value- The entities to set.- Returns:
- This builder for chaining.
-
addEntities
public FeatureViewProto.FeatureViewSpec.Builder addEntities(String value)
List names of entities to associate with the Features defined in this Feature View. Not updatable.
repeated string entities = 3;- Parameters:
value- The entities to add.- Returns:
- This builder for chaining.
-
addAllEntities
public FeatureViewProto.FeatureViewSpec.Builder addAllEntities(Iterable<String> values)
List names of entities to associate with the Features defined in this Feature View. Not updatable.
repeated string entities = 3;- Parameters:
values- The entities to add.- Returns:
- This builder for chaining.
-
clearEntities
public FeatureViewProto.FeatureViewSpec.Builder clearEntities()
List names of entities to associate with the Features defined in this Feature View. Not updatable.
repeated string entities = 3;- Returns:
- This builder for chaining.
-
addEntitiesBytes
public FeatureViewProto.FeatureViewSpec.Builder addEntitiesBytes(com.google.protobuf.ByteString value)
List names of entities to associate with the Features defined in this Feature View. Not updatable.
repeated string entities = 3;- Parameters:
value- The bytes of the entities to add.- Returns:
- This builder for chaining.
-
getFeaturesList
public List<FeatureProto.FeatureSpecV2> getFeaturesList()
List of specifications for each field defined as part of this feature view.
repeated .feast.core.FeatureSpecV2 features = 4;- Specified by:
getFeaturesListin interfaceFeatureViewProto.FeatureViewSpecOrBuilder
-
getFeaturesCount
public int getFeaturesCount()
List of specifications for each field defined as part of this feature view.
repeated .feast.core.FeatureSpecV2 features = 4;- Specified by:
getFeaturesCountin interfaceFeatureViewProto.FeatureViewSpecOrBuilder
-
getFeatures
public FeatureProto.FeatureSpecV2 getFeatures(int index)
List of specifications for each field defined as part of this feature view.
repeated .feast.core.FeatureSpecV2 features = 4;- Specified by:
getFeaturesin interfaceFeatureViewProto.FeatureViewSpecOrBuilder
-
setFeatures
public FeatureViewProto.FeatureViewSpec.Builder setFeatures(int index, FeatureProto.FeatureSpecV2 value)
List of specifications for each field defined as part of this feature view.
repeated .feast.core.FeatureSpecV2 features = 4;
-
setFeatures
public FeatureViewProto.FeatureViewSpec.Builder setFeatures(int index, FeatureProto.FeatureSpecV2.Builder builderForValue)
List of specifications for each field defined as part of this feature view.
repeated .feast.core.FeatureSpecV2 features = 4;
-
addFeatures
public FeatureViewProto.FeatureViewSpec.Builder addFeatures(FeatureProto.FeatureSpecV2 value)
List of specifications for each field defined as part of this feature view.
repeated .feast.core.FeatureSpecV2 features = 4;
-
addFeatures
public FeatureViewProto.FeatureViewSpec.Builder addFeatures(int index, FeatureProto.FeatureSpecV2 value)
List of specifications for each field defined as part of this feature view.
repeated .feast.core.FeatureSpecV2 features = 4;
-
addFeatures
public FeatureViewProto.FeatureViewSpec.Builder addFeatures(FeatureProto.FeatureSpecV2.Builder builderForValue)
List of specifications for each field defined as part of this feature view.
repeated .feast.core.FeatureSpecV2 features = 4;
-
addFeatures
public FeatureViewProto.FeatureViewSpec.Builder addFeatures(int index, FeatureProto.FeatureSpecV2.Builder builderForValue)
List of specifications for each field defined as part of this feature view.
repeated .feast.core.FeatureSpecV2 features = 4;
-
addAllFeatures
public FeatureViewProto.FeatureViewSpec.Builder addAllFeatures(Iterable<? extends FeatureProto.FeatureSpecV2> values)
List of specifications for each field defined as part of this feature view.
repeated .feast.core.FeatureSpecV2 features = 4;
-
clearFeatures
public FeatureViewProto.FeatureViewSpec.Builder clearFeatures()
List of specifications for each field defined as part of this feature view.
repeated .feast.core.FeatureSpecV2 features = 4;
-
removeFeatures
public FeatureViewProto.FeatureViewSpec.Builder removeFeatures(int index)
List of specifications for each field defined as part of this feature view.
repeated .feast.core.FeatureSpecV2 features = 4;
-
getFeaturesBuilder
public FeatureProto.FeatureSpecV2.Builder getFeaturesBuilder(int index)
List of specifications for each field defined as part of this feature view.
repeated .feast.core.FeatureSpecV2 features = 4;
-
getFeaturesOrBuilder
public FeatureProto.FeatureSpecV2OrBuilder getFeaturesOrBuilder(int index)
List of specifications for each field defined as part of this feature view.
repeated .feast.core.FeatureSpecV2 features = 4;- Specified by:
getFeaturesOrBuilderin interfaceFeatureViewProto.FeatureViewSpecOrBuilder
-
getFeaturesOrBuilderList
public List<? extends FeatureProto.FeatureSpecV2OrBuilder> getFeaturesOrBuilderList()
List of specifications for each field defined as part of this feature view.
repeated .feast.core.FeatureSpecV2 features = 4;- Specified by:
getFeaturesOrBuilderListin interfaceFeatureViewProto.FeatureViewSpecOrBuilder
-
addFeaturesBuilder
public FeatureProto.FeatureSpecV2.Builder addFeaturesBuilder()
List of specifications for each field defined as part of this feature view.
repeated .feast.core.FeatureSpecV2 features = 4;
-
addFeaturesBuilder
public FeatureProto.FeatureSpecV2.Builder addFeaturesBuilder(int index)
List of specifications for each field defined as part of this feature view.
repeated .feast.core.FeatureSpecV2 features = 4;
-
getFeaturesBuilderList
public List<FeatureProto.FeatureSpecV2.Builder> getFeaturesBuilderList()
List of specifications for each field defined as part of this feature view.
repeated .feast.core.FeatureSpecV2 features = 4;
-
getDescription
public String getDescription()
Description of the feature view.
string description = 10;- Specified by:
getDescriptionin interfaceFeatureViewProto.FeatureViewSpecOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
Description of the feature view.
string description = 10;- Specified by:
getDescriptionBytesin interfaceFeatureViewProto.FeatureViewSpecOrBuilder- Returns:
- The bytes for description.
-
setDescription
public FeatureViewProto.FeatureViewSpec.Builder setDescription(String value)
Description of the feature view.
string description = 10;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public FeatureViewProto.FeatureViewSpec.Builder clearDescription()
Description of the feature view.
string description = 10;- Returns:
- This builder for chaining.
-
setDescriptionBytes
public FeatureViewProto.FeatureViewSpec.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Description of the feature view.
string description = 10;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
getTagsCount
public int getTagsCount()
Description copied from interface:FeatureViewProto.FeatureViewSpecOrBuilderUser defined metadata
map<string, string> tags = 5;- Specified by:
getTagsCountin interfaceFeatureViewProto.FeatureViewSpecOrBuilder
-
containsTags
public boolean containsTags(String key)
User defined metadata
map<string, string> tags = 5;- Specified by:
containsTagsin interfaceFeatureViewProto.FeatureViewSpecOrBuilder
-
getTags
@Deprecated public Map<String,String> getTags()
Deprecated.UsegetTagsMap()instead.- Specified by:
getTagsin interfaceFeatureViewProto.FeatureViewSpecOrBuilder
-
getTagsMap
public Map<String,String> getTagsMap()
User defined metadata
map<string, string> tags = 5;- Specified by:
getTagsMapin interfaceFeatureViewProto.FeatureViewSpecOrBuilder
-
getTagsOrDefault
public String getTagsOrDefault(String key, String defaultValue)
User defined metadata
map<string, string> tags = 5;- Specified by:
getTagsOrDefaultin interfaceFeatureViewProto.FeatureViewSpecOrBuilder
-
getTagsOrThrow
public String getTagsOrThrow(String key)
User defined metadata
map<string, string> tags = 5;- Specified by:
getTagsOrThrowin interfaceFeatureViewProto.FeatureViewSpecOrBuilder
-
clearTags
public FeatureViewProto.FeatureViewSpec.Builder clearTags()
-
removeTags
public FeatureViewProto.FeatureViewSpec.Builder removeTags(String key)
User defined metadata
map<string, string> tags = 5;
-
getMutableTags
@Deprecated public Map<String,String> getMutableTags()
Deprecated.Use alternate mutation accessors instead.
-
putTags
public FeatureViewProto.FeatureViewSpec.Builder putTags(String key, String value)
User defined metadata
map<string, string> tags = 5;
-
putAllTags
public FeatureViewProto.FeatureViewSpec.Builder putAllTags(Map<String,String> values)
User defined metadata
map<string, string> tags = 5;
-
getOwner
public String getOwner()
Owner of the feature view.
string owner = 11;- Specified by:
getOwnerin interfaceFeatureViewProto.FeatureViewSpecOrBuilder- Returns:
- The owner.
-
getOwnerBytes
public com.google.protobuf.ByteString getOwnerBytes()
Owner of the feature view.
string owner = 11;- Specified by:
getOwnerBytesin interfaceFeatureViewProto.FeatureViewSpecOrBuilder- Returns:
- The bytes for owner.
-
setOwner
public FeatureViewProto.FeatureViewSpec.Builder setOwner(String value)
Owner of the feature view.
string owner = 11;- Parameters:
value- The owner to set.- Returns:
- This builder for chaining.
-
clearOwner
public FeatureViewProto.FeatureViewSpec.Builder clearOwner()
Owner of the feature view.
string owner = 11;- Returns:
- This builder for chaining.
-
setOwnerBytes
public FeatureViewProto.FeatureViewSpec.Builder setOwnerBytes(com.google.protobuf.ByteString value)
Owner of the feature view.
string owner = 11;- Parameters:
value- The bytes for owner to set.- Returns:
- This builder for chaining.
-
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 = 6;- Specified by:
hasTtlin interfaceFeatureViewProto.FeatureViewSpecOrBuilder- 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 = 6;- Specified by:
getTtlin interfaceFeatureViewProto.FeatureViewSpecOrBuilder- Returns:
- The ttl.
-
setTtl
public FeatureViewProto.FeatureViewSpec.Builder setTtl(com.google.protobuf.Duration value)
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;
-
setTtl
public FeatureViewProto.FeatureViewSpec.Builder setTtl(com.google.protobuf.Duration.Builder builderForValue)
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;
-
mergeTtl
public FeatureViewProto.FeatureViewSpec.Builder mergeTtl(com.google.protobuf.Duration value)
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;
-
clearTtl
public FeatureViewProto.FeatureViewSpec.Builder clearTtl()
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;
-
getTtlBuilder
public com.google.protobuf.Duration.Builder getTtlBuilder()
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;
-
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 = 6;- Specified by:
getTtlOrBuilderin interfaceFeatureViewProto.FeatureViewSpecOrBuilder
-
hasBatchSource
public boolean hasBatchSource()
Batch/Offline DataSource where this view can retrieve offline feature data.
.feast.core.DataSource batch_source = 7;- Specified by:
hasBatchSourcein interfaceFeatureViewProto.FeatureViewSpecOrBuilder- 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 = 7;- Specified by:
getBatchSourcein interfaceFeatureViewProto.FeatureViewSpecOrBuilder- Returns:
- The batchSource.
-
setBatchSource
public FeatureViewProto.FeatureViewSpec.Builder setBatchSource(DataSourceProto.DataSource value)
Batch/Offline DataSource where this view can retrieve offline feature data.
.feast.core.DataSource batch_source = 7;
-
setBatchSource
public FeatureViewProto.FeatureViewSpec.Builder setBatchSource(DataSourceProto.DataSource.Builder builderForValue)
Batch/Offline DataSource where this view can retrieve offline feature data.
.feast.core.DataSource batch_source = 7;
-
mergeBatchSource
public FeatureViewProto.FeatureViewSpec.Builder mergeBatchSource(DataSourceProto.DataSource value)
Batch/Offline DataSource where this view can retrieve offline feature data.
.feast.core.DataSource batch_source = 7;
-
clearBatchSource
public FeatureViewProto.FeatureViewSpec.Builder clearBatchSource()
Batch/Offline DataSource where this view can retrieve offline feature data.
.feast.core.DataSource batch_source = 7;
-
getBatchSourceBuilder
public DataSourceProto.DataSource.Builder getBatchSourceBuilder()
Batch/Offline DataSource where this view can retrieve offline feature data.
.feast.core.DataSource batch_source = 7;
-
getBatchSourceOrBuilder
public DataSourceProto.DataSourceOrBuilder getBatchSourceOrBuilder()
Batch/Offline DataSource where this view can retrieve offline feature data.
.feast.core.DataSource batch_source = 7;- Specified by:
getBatchSourceOrBuilderin interfaceFeatureViewProto.FeatureViewSpecOrBuilder
-
hasStreamSource
public boolean hasStreamSource()
Streaming DataSource from where this view can consume "online" feature data.
.feast.core.DataSource stream_source = 9;- Specified by:
hasStreamSourcein interfaceFeatureViewProto.FeatureViewSpecOrBuilder- 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 = 9;- Specified by:
getStreamSourcein interfaceFeatureViewProto.FeatureViewSpecOrBuilder- Returns:
- The streamSource.
-
setStreamSource
public FeatureViewProto.FeatureViewSpec.Builder setStreamSource(DataSourceProto.DataSource value)
Streaming DataSource from where this view can consume "online" feature data.
.feast.core.DataSource stream_source = 9;
-
setStreamSource
public FeatureViewProto.FeatureViewSpec.Builder setStreamSource(DataSourceProto.DataSource.Builder builderForValue)
Streaming DataSource from where this view can consume "online" feature data.
.feast.core.DataSource stream_source = 9;
-
mergeStreamSource
public FeatureViewProto.FeatureViewSpec.Builder mergeStreamSource(DataSourceProto.DataSource value)
Streaming DataSource from where this view can consume "online" feature data.
.feast.core.DataSource stream_source = 9;
-
clearStreamSource
public FeatureViewProto.FeatureViewSpec.Builder clearStreamSource()
Streaming DataSource from where this view can consume "online" feature data.
.feast.core.DataSource stream_source = 9;
-
getStreamSourceBuilder
public DataSourceProto.DataSource.Builder getStreamSourceBuilder()
Streaming DataSource from where this view can consume "online" feature data.
.feast.core.DataSource stream_source = 9;
-
getStreamSourceOrBuilder
public DataSourceProto.DataSourceOrBuilder getStreamSourceOrBuilder()
Streaming DataSource from where this view can consume "online" feature data.
.feast.core.DataSource stream_source = 9;- Specified by:
getStreamSourceOrBuilderin interfaceFeatureViewProto.FeatureViewSpecOrBuilder
-
getOnline
public boolean getOnline()
Whether these features should be served online or not
bool online = 8;- Specified by:
getOnlinein interfaceFeatureViewProto.FeatureViewSpecOrBuilder- Returns:
- The online.
-
setOnline
public FeatureViewProto.FeatureViewSpec.Builder setOnline(boolean value)
Whether these features should be served online or not
bool online = 8;- Parameters:
value- The online to set.- Returns:
- This builder for chaining.
-
clearOnline
public FeatureViewProto.FeatureViewSpec.Builder clearOnline()
Whether these features should be served online or not
bool online = 8;- Returns:
- This builder for chaining.
-
setUnknownFields
public final FeatureViewProto.FeatureViewSpec.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<FeatureViewProto.FeatureViewSpec.Builder>
-
mergeUnknownFields
public final FeatureViewProto.FeatureViewSpec.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<FeatureViewProto.FeatureViewSpec.Builder>
-
-