Package feast.proto.core
Class FeatureSetProto.FeatureSetSpec.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<FeatureSetProto.FeatureSetSpec.Builder>
-
- feast.proto.core.FeatureSetProto.FeatureSetSpec.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,FeatureSetProto.FeatureSetSpecOrBuilder,Cloneable
- Enclosing class:
- FeatureSetProto.FeatureSetSpec
public static final class FeatureSetProto.FeatureSetSpec.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<FeatureSetProto.FeatureSetSpec.Builder> implements FeatureSetProto.FeatureSetSpecOrBuilder
Protobuf typefeast.core.FeatureSetSpec
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description FeatureSetProto.FeatureSetSpec.BuilderaddAllEntities(Iterable<? extends FeatureSetProto.EntitySpec> values)List of entities contained within this featureSet.FeatureSetProto.FeatureSetSpec.BuilderaddAllFeatures(Iterable<? extends FeatureSetProto.FeatureSpec> values)List of features contained within this featureSet.FeatureSetProto.FeatureSetSpec.BuilderaddEntities(int index, FeatureSetProto.EntitySpec value)List of entities contained within this featureSet.FeatureSetProto.FeatureSetSpec.BuilderaddEntities(int index, FeatureSetProto.EntitySpec.Builder builderForValue)List of entities contained within this featureSet.FeatureSetProto.FeatureSetSpec.BuilderaddEntities(FeatureSetProto.EntitySpec value)List of entities contained within this featureSet.FeatureSetProto.FeatureSetSpec.BuilderaddEntities(FeatureSetProto.EntitySpec.Builder builderForValue)List of entities contained within this featureSet.FeatureSetProto.EntitySpec.BuilderaddEntitiesBuilder()List of entities contained within this featureSet.FeatureSetProto.EntitySpec.BuilderaddEntitiesBuilder(int index)List of entities contained within this featureSet.FeatureSetProto.FeatureSetSpec.BuilderaddFeatures(int index, FeatureSetProto.FeatureSpec value)List of features contained within this featureSet.FeatureSetProto.FeatureSetSpec.BuilderaddFeatures(int index, FeatureSetProto.FeatureSpec.Builder builderForValue)List of features contained within this featureSet.FeatureSetProto.FeatureSetSpec.BuilderaddFeatures(FeatureSetProto.FeatureSpec value)List of features contained within this featureSet.FeatureSetProto.FeatureSetSpec.BuilderaddFeatures(FeatureSetProto.FeatureSpec.Builder builderForValue)List of features contained within this featureSet.FeatureSetProto.FeatureSpec.BuilderaddFeaturesBuilder()List of features contained within this featureSet.FeatureSetProto.FeatureSpec.BuilderaddFeaturesBuilder(int index)List of features contained within this featureSet.FeatureSetProto.FeatureSetSpec.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)FeatureSetProto.FeatureSetSpecbuild()FeatureSetProto.FeatureSetSpecbuildPartial()FeatureSetProto.FeatureSetSpec.Builderclear()FeatureSetProto.FeatureSetSpec.BuilderclearEntities()List of entities contained within this featureSet.FeatureSetProto.FeatureSetSpec.BuilderclearFeatures()List of features contained within this featureSet.FeatureSetProto.FeatureSetSpec.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)FeatureSetProto.FeatureSetSpec.BuilderclearLabels()FeatureSetProto.FeatureSetSpec.BuilderclearMaxAge()Features in this feature set will only be retrieved if they are found after [time - max_age].FeatureSetProto.FeatureSetSpec.BuilderclearName()Name of the feature set.FeatureSetProto.FeatureSetSpec.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)FeatureSetProto.FeatureSetSpec.BuilderclearProject()Name of project that this feature set belongs to.FeatureSetProto.FeatureSetSpec.BuilderclearSource()Optional.FeatureSetProto.FeatureSetSpec.BuilderclearVersion()Read-only self-incrementing version that increases monotonically when changes are made to a feature setFeatureSetProto.FeatureSetSpec.Builderclone()booleancontainsLabels(String key)User defined metadataFeatureSetProto.FeatureSetSpecgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()FeatureSetProto.EntitySpecgetEntities(int index)List of entities contained within this featureSet.FeatureSetProto.EntitySpec.BuildergetEntitiesBuilder(int index)List of entities contained within this featureSet.List<FeatureSetProto.EntitySpec.Builder>getEntitiesBuilderList()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.FeatureSetProto.FeatureSpec.BuildergetFeaturesBuilder(int index)List of features contained within this featureSet.List<FeatureSetProto.FeatureSpec.Builder>getFeaturesBuilderList()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.Duration.BuildergetMaxAgeBuilder()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].Map<String,String>getMutableLabels()Deprecated.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.Source.BuildergetSourceBuilder()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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()FeatureSetProto.FeatureSetSpec.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)FeatureSetProto.FeatureSetSpec.BuildermergeFrom(com.google.protobuf.Message other)FeatureSetProto.FeatureSetSpec.BuildermergeFrom(FeatureSetProto.FeatureSetSpec other)FeatureSetProto.FeatureSetSpec.BuildermergeMaxAge(com.google.protobuf.Duration value)Features in this feature set will only be retrieved if they are found after [time - max_age].FeatureSetProto.FeatureSetSpec.BuildermergeSource(SourceProto.Source value)Optional.FeatureSetProto.FeatureSetSpec.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)FeatureSetProto.FeatureSetSpec.BuilderputAllLabels(Map<String,String> values)User defined metadataFeatureSetProto.FeatureSetSpec.BuilderputLabels(String key, String value)User defined metadataFeatureSetProto.FeatureSetSpec.BuilderremoveEntities(int index)List of entities contained within this featureSet.FeatureSetProto.FeatureSetSpec.BuilderremoveFeatures(int index)List of features contained within this featureSet.FeatureSetProto.FeatureSetSpec.BuilderremoveLabels(String key)User defined metadataFeatureSetProto.FeatureSetSpec.BuildersetEntities(int index, FeatureSetProto.EntitySpec value)List of entities contained within this featureSet.FeatureSetProto.FeatureSetSpec.BuildersetEntities(int index, FeatureSetProto.EntitySpec.Builder builderForValue)List of entities contained within this featureSet.FeatureSetProto.FeatureSetSpec.BuildersetFeatures(int index, FeatureSetProto.FeatureSpec value)List of features contained within this featureSet.FeatureSetProto.FeatureSetSpec.BuildersetFeatures(int index, FeatureSetProto.FeatureSpec.Builder builderForValue)List of features contained within this featureSet.FeatureSetProto.FeatureSetSpec.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)FeatureSetProto.FeatureSetSpec.BuildersetMaxAge(com.google.protobuf.Duration value)Features in this feature set will only be retrieved if they are found after [time - max_age].FeatureSetProto.FeatureSetSpec.BuildersetMaxAge(com.google.protobuf.Duration.Builder builderForValue)Features in this feature set will only be retrieved if they are found after [time - max_age].FeatureSetProto.FeatureSetSpec.BuildersetName(String value)Name of the feature set.FeatureSetProto.FeatureSetSpec.BuildersetNameBytes(com.google.protobuf.ByteString value)Name of the feature set.FeatureSetProto.FeatureSetSpec.BuildersetProject(String value)Name of project that this feature set belongs to.FeatureSetProto.FeatureSetSpec.BuildersetProjectBytes(com.google.protobuf.ByteString value)Name of project that this feature set belongs to.FeatureSetProto.FeatureSetSpec.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)FeatureSetProto.FeatureSetSpec.BuildersetSource(SourceProto.Source value)Optional.FeatureSetProto.FeatureSetSpec.BuildersetSource(SourceProto.Source.Builder builderForValue)Optional.FeatureSetProto.FeatureSetSpec.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)FeatureSetProto.FeatureSetSpec.BuildersetVersion(int value)Read-only self-incrementing version that increases monotonically when changes are made to a feature set-
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<FeatureSetProto.FeatureSetSpec.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FeatureSetProto.FeatureSetSpec.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<FeatureSetProto.FeatureSetSpec.Builder>
-
clear
public FeatureSetProto.FeatureSetSpec.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<FeatureSetProto.FeatureSetSpec.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<FeatureSetProto.FeatureSetSpec.Builder>
-
getDefaultInstanceForType
public FeatureSetProto.FeatureSetSpec getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public FeatureSetProto.FeatureSetSpec build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public FeatureSetProto.FeatureSetSpec buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public FeatureSetProto.FeatureSetSpec.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<FeatureSetProto.FeatureSetSpec.Builder>
-
setField
public FeatureSetProto.FeatureSetSpec.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<FeatureSetProto.FeatureSetSpec.Builder>
-
clearField
public FeatureSetProto.FeatureSetSpec.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FeatureSetProto.FeatureSetSpec.Builder>
-
clearOneof
public FeatureSetProto.FeatureSetSpec.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<FeatureSetProto.FeatureSetSpec.Builder>
-
setRepeatedField
public FeatureSetProto.FeatureSetSpec.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<FeatureSetProto.FeatureSetSpec.Builder>
-
addRepeatedField
public FeatureSetProto.FeatureSetSpec.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<FeatureSetProto.FeatureSetSpec.Builder>
-
mergeFrom
public FeatureSetProto.FeatureSetSpec.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FeatureSetProto.FeatureSetSpec.Builder>
-
mergeFrom
public FeatureSetProto.FeatureSetSpec.Builder mergeFrom(FeatureSetProto.FeatureSetSpec other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<FeatureSetProto.FeatureSetSpec.Builder>
-
mergeFrom
public FeatureSetProto.FeatureSetSpec.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<FeatureSetProto.FeatureSetSpec.Builder>- Throws:
IOException
-
getProject
public String getProject()
Name of project that this feature set belongs to.
string project = 7;- Specified by:
getProjectin interfaceFeatureSetProto.FeatureSetSpecOrBuilder- Returns:
- The project.
-
getProjectBytes
public com.google.protobuf.ByteString getProjectBytes()
Name of project that this feature set belongs to.
string project = 7;- Specified by:
getProjectBytesin interfaceFeatureSetProto.FeatureSetSpecOrBuilder- Returns:
- The bytes for project.
-
setProject
public FeatureSetProto.FeatureSetSpec.Builder setProject(String value)
Name of project that this feature set belongs to.
string project = 7;- Parameters:
value- The project to set.- Returns:
- This builder for chaining.
-
clearProject
public FeatureSetProto.FeatureSetSpec.Builder clearProject()
Name of project that this feature set belongs to.
string project = 7;- Returns:
- This builder for chaining.
-
setProjectBytes
public FeatureSetProto.FeatureSetSpec.Builder setProjectBytes(com.google.protobuf.ByteString value)
Name of project that this feature set belongs to.
string project = 7;- Parameters:
value- The bytes for project to set.- Returns:
- This builder for chaining.
-
getName
public String getName()
Name of the feature set. Must be unique.
string name = 1;- Specified by:
getNamein interfaceFeatureSetProto.FeatureSetSpecOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Name of the feature set. Must be unique.
string name = 1;- Specified by:
getNameBytesin interfaceFeatureSetProto.FeatureSetSpecOrBuilder- Returns:
- The bytes for name.
-
setName
public FeatureSetProto.FeatureSetSpec.Builder setName(String value)
Name of the feature set. Must be unique.
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public FeatureSetProto.FeatureSetSpec.Builder clearName()
Name of the feature set. Must be unique.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
public FeatureSetProto.FeatureSetSpec.Builder setNameBytes(com.google.protobuf.ByteString value)
Name of the feature set. Must be unique.
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getEntitiesList
public 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;- Specified by:
getEntitiesListin interfaceFeatureSetProto.FeatureSetSpecOrBuilder
-
getEntitiesCount
public 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;- Specified by:
getEntitiesCountin interfaceFeatureSetProto.FeatureSetSpecOrBuilder
-
getEntities
public 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;- Specified by:
getEntitiesin interfaceFeatureSetProto.FeatureSetSpecOrBuilder
-
setEntities
public FeatureSetProto.FeatureSetSpec.Builder setEntities(int index, FeatureSetProto.EntitySpec value)
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;
-
setEntities
public FeatureSetProto.FeatureSetSpec.Builder setEntities(int index, FeatureSetProto.EntitySpec.Builder builderForValue)
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;
-
addEntities
public FeatureSetProto.FeatureSetSpec.Builder addEntities(FeatureSetProto.EntitySpec value)
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;
-
addEntities
public FeatureSetProto.FeatureSetSpec.Builder addEntities(int index, FeatureSetProto.EntitySpec value)
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;
-
addEntities
public FeatureSetProto.FeatureSetSpec.Builder addEntities(FeatureSetProto.EntitySpec.Builder builderForValue)
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;
-
addEntities
public FeatureSetProto.FeatureSetSpec.Builder addEntities(int index, FeatureSetProto.EntitySpec.Builder builderForValue)
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;
-
addAllEntities
public FeatureSetProto.FeatureSetSpec.Builder addAllEntities(Iterable<? extends FeatureSetProto.EntitySpec> values)
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;
-
clearEntities
public FeatureSetProto.FeatureSetSpec.Builder clearEntities()
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;
-
removeEntities
public FeatureSetProto.FeatureSetSpec.Builder removeEntities(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;
-
getEntitiesBuilder
public FeatureSetProto.EntitySpec.Builder getEntitiesBuilder(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;
-
getEntitiesOrBuilder
public 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;- Specified by:
getEntitiesOrBuilderin interfaceFeatureSetProto.FeatureSetSpecOrBuilder
-
getEntitiesOrBuilderList
public 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;- Specified by:
getEntitiesOrBuilderListin interfaceFeatureSetProto.FeatureSetSpecOrBuilder
-
addEntitiesBuilder
public FeatureSetProto.EntitySpec.Builder addEntitiesBuilder()
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;
-
addEntitiesBuilder
public FeatureSetProto.EntitySpec.Builder addEntitiesBuilder(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;
-
getEntitiesBuilderList
public List<FeatureSetProto.EntitySpec.Builder> getEntitiesBuilderList()
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
public List<FeatureSetProto.FeatureSpec> getFeaturesList()
List of features contained within this featureSet.
repeated .feast.core.FeatureSpec features = 4;- Specified by:
getFeaturesListin interfaceFeatureSetProto.FeatureSetSpecOrBuilder
-
getFeaturesCount
public int getFeaturesCount()
List of features contained within this featureSet.
repeated .feast.core.FeatureSpec features = 4;- Specified by:
getFeaturesCountin interfaceFeatureSetProto.FeatureSetSpecOrBuilder
-
getFeatures
public FeatureSetProto.FeatureSpec getFeatures(int index)
List of features contained within this featureSet.
repeated .feast.core.FeatureSpec features = 4;- Specified by:
getFeaturesin interfaceFeatureSetProto.FeatureSetSpecOrBuilder
-
setFeatures
public FeatureSetProto.FeatureSetSpec.Builder setFeatures(int index, FeatureSetProto.FeatureSpec value)
List of features contained within this featureSet.
repeated .feast.core.FeatureSpec features = 4;
-
setFeatures
public FeatureSetProto.FeatureSetSpec.Builder setFeatures(int index, FeatureSetProto.FeatureSpec.Builder builderForValue)
List of features contained within this featureSet.
repeated .feast.core.FeatureSpec features = 4;
-
addFeatures
public FeatureSetProto.FeatureSetSpec.Builder addFeatures(FeatureSetProto.FeatureSpec value)
List of features contained within this featureSet.
repeated .feast.core.FeatureSpec features = 4;
-
addFeatures
public FeatureSetProto.FeatureSetSpec.Builder addFeatures(int index, FeatureSetProto.FeatureSpec value)
List of features contained within this featureSet.
repeated .feast.core.FeatureSpec features = 4;
-
addFeatures
public FeatureSetProto.FeatureSetSpec.Builder addFeatures(FeatureSetProto.FeatureSpec.Builder builderForValue)
List of features contained within this featureSet.
repeated .feast.core.FeatureSpec features = 4;
-
addFeatures
public FeatureSetProto.FeatureSetSpec.Builder addFeatures(int index, FeatureSetProto.FeatureSpec.Builder builderForValue)
List of features contained within this featureSet.
repeated .feast.core.FeatureSpec features = 4;
-
addAllFeatures
public FeatureSetProto.FeatureSetSpec.Builder addAllFeatures(Iterable<? extends FeatureSetProto.FeatureSpec> values)
List of features contained within this featureSet.
repeated .feast.core.FeatureSpec features = 4;
-
clearFeatures
public FeatureSetProto.FeatureSetSpec.Builder clearFeatures()
List of features contained within this featureSet.
repeated .feast.core.FeatureSpec features = 4;
-
removeFeatures
public FeatureSetProto.FeatureSetSpec.Builder removeFeatures(int index)
List of features contained within this featureSet.
repeated .feast.core.FeatureSpec features = 4;
-
getFeaturesBuilder
public FeatureSetProto.FeatureSpec.Builder getFeaturesBuilder(int index)
List of features contained within this featureSet.
repeated .feast.core.FeatureSpec features = 4;
-
getFeaturesOrBuilder
public FeatureSetProto.FeatureSpecOrBuilder getFeaturesOrBuilder(int index)
List of features contained within this featureSet.
repeated .feast.core.FeatureSpec features = 4;- Specified by:
getFeaturesOrBuilderin interfaceFeatureSetProto.FeatureSetSpecOrBuilder
-
getFeaturesOrBuilderList
public List<? extends FeatureSetProto.FeatureSpecOrBuilder> getFeaturesOrBuilderList()
List of features contained within this featureSet.
repeated .feast.core.FeatureSpec features = 4;- Specified by:
getFeaturesOrBuilderListin interfaceFeatureSetProto.FeatureSetSpecOrBuilder
-
addFeaturesBuilder
public FeatureSetProto.FeatureSpec.Builder addFeaturesBuilder()
List of features contained within this featureSet.
repeated .feast.core.FeatureSpec features = 4;
-
addFeaturesBuilder
public FeatureSetProto.FeatureSpec.Builder addFeaturesBuilder(int index)
List of features contained within this featureSet.
repeated .feast.core.FeatureSpec features = 4;
-
getFeaturesBuilderList
public List<FeatureSetProto.FeatureSpec.Builder> getFeaturesBuilderList()
List of features contained within this featureSet.
repeated .feast.core.FeatureSpec features = 4;
-
hasMaxAge
public 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;- Specified by:
hasMaxAgein interfaceFeatureSetProto.FeatureSetSpecOrBuilder- Returns:
- Whether the maxAge field is set.
-
getMaxAge
public 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;- Specified by:
getMaxAgein interfaceFeatureSetProto.FeatureSetSpecOrBuilder- Returns:
- The maxAge.
-
setMaxAge
public FeatureSetProto.FeatureSetSpec.Builder setMaxAge(com.google.protobuf.Duration value)
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;
-
setMaxAge
public FeatureSetProto.FeatureSetSpec.Builder setMaxAge(com.google.protobuf.Duration.Builder builderForValue)
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;
-
mergeMaxAge
public FeatureSetProto.FeatureSetSpec.Builder mergeMaxAge(com.google.protobuf.Duration value)
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;
-
clearMaxAge
public FeatureSetProto.FeatureSetSpec.Builder clearMaxAge()
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;
-
getMaxAgeBuilder
public com.google.protobuf.Duration.Builder getMaxAgeBuilder()
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;
-
getMaxAgeOrBuilder
public 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;- Specified by:
getMaxAgeOrBuilderin interfaceFeatureSetProto.FeatureSetSpecOrBuilder
-
hasSource
public 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;- Specified by:
hasSourcein interfaceFeatureSetProto.FeatureSetSpecOrBuilder- Returns:
- Whether the source field is set.
-
getSource
public 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;- Specified by:
getSourcein interfaceFeatureSetProto.FeatureSetSpecOrBuilder- Returns:
- The source.
-
setSource
public FeatureSetProto.FeatureSetSpec.Builder setSource(SourceProto.Source value)
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;
-
setSource
public FeatureSetProto.FeatureSetSpec.Builder setSource(SourceProto.Source.Builder builderForValue)
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;
-
mergeSource
public FeatureSetProto.FeatureSetSpec.Builder mergeSource(SourceProto.Source value)
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;
-
clearSource
public FeatureSetProto.FeatureSetSpec.Builder clearSource()
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;
-
getSourceBuilder
public SourceProto.Source.Builder getSourceBuilder()
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;
-
getSourceOrBuilder
public 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;- Specified by:
getSourceOrBuilderin interfaceFeatureSetProto.FeatureSetSpecOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:FeatureSetProto.FeatureSetSpecOrBuilderUser defined metadata
map<string, string> labels = 8;- Specified by:
getLabelsCountin interfaceFeatureSetProto.FeatureSetSpecOrBuilder
-
containsLabels
public boolean containsLabels(String key)
User defined metadata
map<string, string> labels = 8;- Specified by:
containsLabelsin interfaceFeatureSetProto.FeatureSetSpecOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceFeatureSetProto.FeatureSetSpecOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
User defined metadata
map<string, string> labels = 8;- Specified by:
getLabelsMapin interfaceFeatureSetProto.FeatureSetSpecOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
User defined metadata
map<string, string> labels = 8;- Specified by:
getLabelsOrDefaultin interfaceFeatureSetProto.FeatureSetSpecOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
User defined metadata
map<string, string> labels = 8;- Specified by:
getLabelsOrThrowin interfaceFeatureSetProto.FeatureSetSpecOrBuilder
-
clearLabels
public FeatureSetProto.FeatureSetSpec.Builder clearLabels()
-
removeLabels
public FeatureSetProto.FeatureSetSpec.Builder removeLabels(String key)
User defined metadata
map<string, string> labels = 8;
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
public FeatureSetProto.FeatureSetSpec.Builder putLabels(String key, String value)
User defined metadata
map<string, string> labels = 8;
-
putAllLabels
public FeatureSetProto.FeatureSetSpec.Builder putAllLabels(Map<String,String> values)
User defined metadata
map<string, string> labels = 8;
-
getVersion
public int getVersion()
Read-only self-incrementing version that increases monotonically when changes are made to a feature set
int32 version = 9;- Specified by:
getVersionin interfaceFeatureSetProto.FeatureSetSpecOrBuilder- Returns:
- The version.
-
setVersion
public FeatureSetProto.FeatureSetSpec.Builder setVersion(int value)
Read-only self-incrementing version that increases monotonically when changes are made to a feature set
int32 version = 9;- Parameters:
value- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
public FeatureSetProto.FeatureSetSpec.Builder clearVersion()
Read-only self-incrementing version that increases monotonically when changes are made to a feature set
int32 version = 9;- Returns:
- This builder for chaining.
-
setUnknownFields
public final FeatureSetProto.FeatureSetSpec.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<FeatureSetProto.FeatureSetSpec.Builder>
-
mergeUnknownFields
public final FeatureSetProto.FeatureSetSpec.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<FeatureSetProto.FeatureSetSpec.Builder>
-
-