Package feast.proto.core
Enum CoreServiceProto.ApplyFeatureSetResponse.Status
- java.lang.Object
-
- java.lang.Enum<CoreServiceProto.ApplyFeatureSetResponse.Status>
-
- feast.proto.core.CoreServiceProto.ApplyFeatureSetResponse.Status
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<CoreServiceProto.ApplyFeatureSetResponse.Status>
- Enclosing class:
- CoreServiceProto.ApplyFeatureSetResponse
public static enum CoreServiceProto.ApplyFeatureSetResponse.Status extends Enum<CoreServiceProto.ApplyFeatureSetResponse.Status> implements com.google.protobuf.ProtocolMessageEnum
TODO: 0 should correspond to invalid rather than NO_CHANGE
Protobuf enumfeast.core.ApplyFeatureSetResponse.Status
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CREATEDNew feature set createdERRORError occurred while trying to apply changesNO_CHANGELatest feature set is consistent with provided feature setUNRECOGNIZEDUPDATEDChanges detected and updated successfully
-
Field Summary
Fields Modifier and Type Field Description static intCREATED_VALUENew feature set createdstatic intERROR_VALUEError occurred while trying to apply changesstatic intNO_CHANGE_VALUELatest feature set is consistent with provided feature setstatic intUPDATED_VALUEChanges detected and updated successfully
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static CoreServiceProto.ApplyFeatureSetResponse.StatusforNumber(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<CoreServiceProto.ApplyFeatureSetResponse.Status>internalGetValueMap()static CoreServiceProto.ApplyFeatureSetResponse.StatusvalueOf(int value)Deprecated.static CoreServiceProto.ApplyFeatureSetResponse.StatusvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static CoreServiceProto.ApplyFeatureSetResponse.StatusvalueOf(String name)Returns the enum constant of this type with the specified name.static CoreServiceProto.ApplyFeatureSetResponse.Status[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO_CHANGE
public static final CoreServiceProto.ApplyFeatureSetResponse.Status NO_CHANGE
Latest feature set is consistent with provided feature set
NO_CHANGE = 0;
-
CREATED
public static final CoreServiceProto.ApplyFeatureSetResponse.Status CREATED
New feature set created
CREATED = 1;
-
ERROR
public static final CoreServiceProto.ApplyFeatureSetResponse.Status ERROR
Error occurred while trying to apply changes
ERROR = 2;
-
UPDATED
public static final CoreServiceProto.ApplyFeatureSetResponse.Status UPDATED
Changes detected and updated successfully
UPDATED = 3;
-
UNRECOGNIZED
public static final CoreServiceProto.ApplyFeatureSetResponse.Status UNRECOGNIZED
-
-
Field Detail
-
NO_CHANGE_VALUE
public static final int NO_CHANGE_VALUE
Latest feature set is consistent with provided feature set
NO_CHANGE = 0;- See Also:
- Constant Field Values
-
CREATED_VALUE
public static final int CREATED_VALUE
New feature set created
CREATED = 1;- See Also:
- Constant Field Values
-
ERROR_VALUE
public static final int ERROR_VALUE
Error occurred while trying to apply changes
ERROR = 2;- See Also:
- Constant Field Values
-
UPDATED_VALUE
public static final int UPDATED_VALUE
Changes detected and updated successfully
UPDATED = 3;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static CoreServiceProto.ApplyFeatureSetResponse.Status[] 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 (CoreServiceProto.ApplyFeatureSetResponse.Status c : CoreServiceProto.ApplyFeatureSetResponse.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CoreServiceProto.ApplyFeatureSetResponse.Status 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 CoreServiceProto.ApplyFeatureSetResponse.Status 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 CoreServiceProto.ApplyFeatureSetResponse.Status 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<CoreServiceProto.ApplyFeatureSetResponse.Status> 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 CoreServiceProto.ApplyFeatureSetResponse.Status 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
-
-