Package flyteidl.admin
Enum Event.EventFailureReason.ReasonCase
- java.lang.Object
-
- java.lang.Enum<Event.EventFailureReason.ReasonCase>
-
- flyteidl.admin.Event.EventFailureReason.ReasonCase
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,Serializable,Comparable<Event.EventFailureReason.ReasonCase>
- Enclosing class:
- Event.EventFailureReason
public static enum Event.EventFailureReason.ReasonCase extends Enum<Event.EventFailureReason.ReasonCase> implements com.google.protobuf.Internal.EnumLite
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALREADY_IN_TERMINAL_STATEINCOMPATIBLE_CLUSTERREASON_NOT_SET
-
Field Summary
Fields Modifier and Type Field Description private intvalue
-
Constructor Summary
Constructors Modifier Constructor Description privateReasonCase(int value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Event.EventFailureReason.ReasonCaseforNumber(int value)intgetNumber()static Event.EventFailureReason.ReasonCasevalueOf(int value)Deprecated.static Event.EventFailureReason.ReasonCasevalueOf(String name)Returns the enum constant of this type with the specified name.static Event.EventFailureReason.ReasonCase[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALREADY_IN_TERMINAL_STATE
public static final Event.EventFailureReason.ReasonCase ALREADY_IN_TERMINAL_STATE
-
INCOMPATIBLE_CLUSTER
public static final Event.EventFailureReason.ReasonCase INCOMPATIBLE_CLUSTER
-
REASON_NOT_SET
public static final Event.EventFailureReason.ReasonCase REASON_NOT_SET
-
-
Method Detail
-
values
public static Event.EventFailureReason.ReasonCase[] 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 (Event.EventFailureReason.ReasonCase c : Event.EventFailureReason.ReasonCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Event.EventFailureReason.ReasonCase 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
-
valueOf
@Deprecated public static Event.EventFailureReason.ReasonCase 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 Event.EventFailureReason.ReasonCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite
-
-