Package feast.proto.core
Interface FeatureProto.FeatureSpecV2OrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FeatureProto.FeatureSpecV2,FeatureProto.FeatureSpecV2.Builder
- Enclosing class:
- FeatureProto
public static interface FeatureProto.FeatureSpecV2OrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsLabels(String key)Labels for user defined metadata on a featureMap<String,String>getLabels()Deprecated.intgetLabelsCount()Labels for user defined metadata on a featureMap<String,String>getLabelsMap()Labels for user defined metadata on a featureStringgetLabelsOrDefault(String key, String defaultValue)Labels for user defined metadata on a featureStringgetLabelsOrThrow(String key)Labels for user defined metadata on a featureStringgetName()Name of the feature.com.google.protobuf.ByteStringgetNameBytes()Name of the feature.ValueProto.ValueType.EnumgetValueType()Value type of the feature.intgetValueTypeValue()Value type of the feature.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Name of the feature. Not updatable.
string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Name of the feature. Not updatable.
string name = 1;- Returns:
- The bytes for name.
-
getValueTypeValue
int getValueTypeValue()
Value type of the feature. Not updatable.
.feast.types.ValueType.Enum value_type = 2;- Returns:
- The enum numeric value on the wire for valueType.
-
getValueType
ValueProto.ValueType.Enum getValueType()
Value type of the feature. Not updatable.
.feast.types.ValueType.Enum value_type = 2;- Returns:
- The valueType.
-
getLabelsCount
int getLabelsCount()
Labels for user defined metadata on a feature
map<string, string> labels = 3;
-
containsLabels
boolean containsLabels(String key)
Labels for user defined metadata on a feature
map<string, string> labels = 3;
-
getLabels
@Deprecated Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.
-
getLabelsMap
Map<String,String> getLabelsMap()
Labels for user defined metadata on a feature
map<string, string> labels = 3;
-
getLabelsOrDefault
String getLabelsOrDefault(String key, String defaultValue)
Labels for user defined metadata on a feature
map<string, string> labels = 3;
-
-