Package feast.proto.serving
Enum ServingAPIProto.FieldStatus
- java.lang.Object
-
- java.lang.Enum<ServingAPIProto.FieldStatus>
-
- feast.proto.serving.ServingAPIProto.FieldStatus
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ServingAPIProto.FieldStatus>
- Enclosing class:
- ServingAPIProto
public static enum ServingAPIProto.FieldStatus extends Enum<ServingAPIProto.FieldStatus> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumfeast.serving.FieldStatus
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INVALIDStatus is unset for this field.NOT_FOUNDEntity key did not return any values as they do not exist in Feast.NULL_VALUEValues could be found for entity key and age is within max age, but this field value is assigned a value on ingestion into feast.OUTSIDE_MAX_AGEValues could be found for entity key, but field values are outside the maximum allowable range.PRESENTField value is present for this field and age is within max age.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intINVALID_VALUEStatus is unset for this field.static intNOT_FOUND_VALUEEntity key did not return any values as they do not exist in Feast.static intNULL_VALUE_VALUEValues could be found for entity key and age is within max age, but this field value is assigned a value on ingestion into feast.static intOUTSIDE_MAX_AGE_VALUEValues could be found for entity key, but field values are outside the maximum allowable range.static intPRESENT_VALUEField value is present for this field and age is within max age.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ServingAPIProto.FieldStatusforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<ServingAPIProto.FieldStatus>internalGetValueMap()static ServingAPIProto.FieldStatusvalueOf(int value)Deprecated.static ServingAPIProto.FieldStatusvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static ServingAPIProto.FieldStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static ServingAPIProto.FieldStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INVALID
public static final ServingAPIProto.FieldStatus INVALID
Status is unset for this field.
INVALID = 0;
-
PRESENT
public static final ServingAPIProto.FieldStatus PRESENT
Field value is present for this field and age is within max age.
PRESENT = 1;
-
NULL_VALUE
public static final ServingAPIProto.FieldStatus NULL_VALUE
Values could be found for entity key and age is within max age, but this field value is assigned a value on ingestion into feast.
NULL_VALUE = 2;
-
NOT_FOUND
public static final ServingAPIProto.FieldStatus NOT_FOUND
Entity key did not return any values as they do not exist in Feast. This could suggest that the feature values have not yet been ingested into feast or the ingestion failed.
NOT_FOUND = 3;
-
OUTSIDE_MAX_AGE
public static final ServingAPIProto.FieldStatus OUTSIDE_MAX_AGE
Values could be found for entity key, but field values are outside the maximum allowable range.
OUTSIDE_MAX_AGE = 4;
-
UNRECOGNIZED
public static final ServingAPIProto.FieldStatus UNRECOGNIZED
-
-
Field Detail
-
INVALID_VALUE
public static final int INVALID_VALUE
Status is unset for this field.
INVALID = 0;- See Also:
- Constant Field Values
-
PRESENT_VALUE
public static final int PRESENT_VALUE
Field value is present for this field and age is within max age.
PRESENT = 1;- See Also:
- Constant Field Values
-
NULL_VALUE_VALUE
public static final int NULL_VALUE_VALUE
Values could be found for entity key and age is within max age, but this field value is assigned a value on ingestion into feast.
NULL_VALUE = 2;- See Also:
- Constant Field Values
-
NOT_FOUND_VALUE
public static final int NOT_FOUND_VALUE
Entity key did not return any values as they do not exist in Feast. This could suggest that the feature values have not yet been ingested into feast or the ingestion failed.
NOT_FOUND = 3;- See Also:
- Constant Field Values
-
OUTSIDE_MAX_AGE_VALUE
public static final int OUTSIDE_MAX_AGE_VALUE
Values could be found for entity key, but field values are outside the maximum allowable range.
OUTSIDE_MAX_AGE = 4;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static ServingAPIProto.FieldStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ServingAPIProto.FieldStatus c : ServingAPIProto.FieldStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ServingAPIProto.FieldStatus valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static ServingAPIProto.FieldStatus valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
public static ServingAPIProto.FieldStatus forNumber(int value)
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<ServingAPIProto.FieldStatus> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static ServingAPIProto.FieldStatus valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-