Package flyteidl.core
Enum Execution.ExecutionError.ErrorKind
- java.lang.Object
-
- java.lang.Enum<Execution.ExecutionError.ErrorKind>
-
- flyteidl.core.Execution.ExecutionError.ErrorKind
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Execution.ExecutionError.ErrorKind>
- Enclosing class:
- Execution.ExecutionError
public static enum Execution.ExecutionError.ErrorKind extends Enum<Execution.ExecutionError.ErrorKind> implements com.google.protobuf.ProtocolMessageEnum
Error type: System or User
Protobuf enumflyteidl.core.ExecutionError.ErrorKind
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SYSTEMSYSTEM = 2;UNKNOWNUNKNOWN = 0;UNRECOGNIZEDUSERUSER = 1;
-
Field Summary
Fields Modifier and Type Field Description private static com.google.protobuf.Internal.EnumLiteMap<Execution.ExecutionError.ErrorKind>internalValueMapstatic intSYSTEM_VALUESYSTEM = 2;static intUNKNOWN_VALUEUNKNOWN = 0;static intUSER_VALUEUSER = 1;private intvalueprivate static Execution.ExecutionError.ErrorKind[]VALUES
-
Constructor Summary
Constructors Modifier Constructor Description privateErrorKind(int value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Execution.ExecutionError.ErrorKindforNumber(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<Execution.ExecutionError.ErrorKind>internalGetValueMap()static Execution.ExecutionError.ErrorKindvalueOf(int value)Deprecated.static Execution.ExecutionError.ErrorKindvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static Execution.ExecutionError.ErrorKindvalueOf(String name)Returns the enum constant of this type with the specified name.static Execution.ExecutionError.ErrorKind[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final Execution.ExecutionError.ErrorKind UNKNOWN
UNKNOWN = 0;
-
USER
public static final Execution.ExecutionError.ErrorKind USER
USER = 1;
-
SYSTEM
public static final Execution.ExecutionError.ErrorKind SYSTEM
SYSTEM = 2;
-
UNRECOGNIZED
public static final Execution.ExecutionError.ErrorKind UNRECOGNIZED
-
-
Field Detail
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUE
UNKNOWN = 0;- See Also:
- Constant Field Values
-
USER_VALUE
public static final int USER_VALUE
USER = 1;- See Also:
- Constant Field Values
-
SYSTEM_VALUE
public static final int SYSTEM_VALUE
SYSTEM = 2;- See Also:
- Constant Field Values
-
internalValueMap
private static final com.google.protobuf.Internal.EnumLiteMap<Execution.ExecutionError.ErrorKind> internalValueMap
-
VALUES
private static final Execution.ExecutionError.ErrorKind[] VALUES
-
value
private final int value
-
-
Method Detail
-
values
public static Execution.ExecutionError.ErrorKind[] 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 (Execution.ExecutionError.ErrorKind c : Execution.ExecutionError.ErrorKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Execution.ExecutionError.ErrorKind 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 Execution.ExecutionError.ErrorKind 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 Execution.ExecutionError.ErrorKind 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<Execution.ExecutionError.ErrorKind> 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 Execution.ExecutionError.ErrorKind 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
-
-