Package flyteidl.core
Enum Catalog.CatalogReservation.Status
- java.lang.Object
-
- java.lang.Enum<Catalog.CatalogReservation.Status>
-
- flyteidl.core.Catalog.CatalogReservation.Status
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Catalog.CatalogReservation.Status>
- Enclosing class:
- Catalog.CatalogReservation
public static enum Catalog.CatalogReservation.Status extends Enum<Catalog.CatalogReservation.Status> implements com.google.protobuf.ProtocolMessageEnum
Indicates the status of a catalog reservation operation.
Protobuf enumflyteidl.core.CatalogReservation.Status
-
-
Enum Constant Summary
Enum Constants Enum Constant Description RESERVATION_ACQUIREDUsed to indicate that a reservation was successfully acquired or extendedRESERVATION_DISABLEDUsed to indicate that reservations are disabledRESERVATION_EXISTSUsed to indicate that an active reservation currently existsRESERVATION_FAILUREUsed to indicate that a reservation operation resulted in failureRESERVATION_RELEASEDUsed to indicate that the reservation has been successfully releasedUNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description private static com.google.protobuf.Internal.EnumLiteMap<Catalog.CatalogReservation.Status>internalValueMapstatic intRESERVATION_ACQUIRED_VALUEUsed to indicate that a reservation was successfully acquired or extendedstatic intRESERVATION_DISABLED_VALUEUsed to indicate that reservations are disabledstatic intRESERVATION_EXISTS_VALUEUsed to indicate that an active reservation currently existsstatic intRESERVATION_FAILURE_VALUEUsed to indicate that a reservation operation resulted in failurestatic intRESERVATION_RELEASED_VALUEUsed to indicate that the reservation has been successfully releasedprivate intvalueprivate static Catalog.CatalogReservation.Status[]VALUES
-
Constructor Summary
Constructors Modifier Constructor Description privateStatus(int value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Catalog.CatalogReservation.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<Catalog.CatalogReservation.Status>internalGetValueMap()static Catalog.CatalogReservation.StatusvalueOf(int value)Deprecated.static Catalog.CatalogReservation.StatusvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static Catalog.CatalogReservation.StatusvalueOf(String name)Returns the enum constant of this type with the specified name.static Catalog.CatalogReservation.Status[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RESERVATION_DISABLED
public static final Catalog.CatalogReservation.Status RESERVATION_DISABLED
Used to indicate that reservations are disabled
RESERVATION_DISABLED = 0;
-
RESERVATION_ACQUIRED
public static final Catalog.CatalogReservation.Status RESERVATION_ACQUIRED
Used to indicate that a reservation was successfully acquired or extended
RESERVATION_ACQUIRED = 1;
-
RESERVATION_EXISTS
public static final Catalog.CatalogReservation.Status RESERVATION_EXISTS
Used to indicate that an active reservation currently exists
RESERVATION_EXISTS = 2;
-
RESERVATION_RELEASED
public static final Catalog.CatalogReservation.Status RESERVATION_RELEASED
Used to indicate that the reservation has been successfully released
RESERVATION_RELEASED = 3;
-
RESERVATION_FAILURE
public static final Catalog.CatalogReservation.Status RESERVATION_FAILURE
Used to indicate that a reservation operation resulted in failure
RESERVATION_FAILURE = 4;
-
UNRECOGNIZED
public static final Catalog.CatalogReservation.Status UNRECOGNIZED
-
-
Field Detail
-
RESERVATION_DISABLED_VALUE
public static final int RESERVATION_DISABLED_VALUE
Used to indicate that reservations are disabled
RESERVATION_DISABLED = 0;- See Also:
- Constant Field Values
-
RESERVATION_ACQUIRED_VALUE
public static final int RESERVATION_ACQUIRED_VALUE
Used to indicate that a reservation was successfully acquired or extended
RESERVATION_ACQUIRED = 1;- See Also:
- Constant Field Values
-
RESERVATION_EXISTS_VALUE
public static final int RESERVATION_EXISTS_VALUE
Used to indicate that an active reservation currently exists
RESERVATION_EXISTS = 2;- See Also:
- Constant Field Values
-
RESERVATION_RELEASED_VALUE
public static final int RESERVATION_RELEASED_VALUE
Used to indicate that the reservation has been successfully released
RESERVATION_RELEASED = 3;- See Also:
- Constant Field Values
-
RESERVATION_FAILURE_VALUE
public static final int RESERVATION_FAILURE_VALUE
Used to indicate that a reservation operation resulted in failure
RESERVATION_FAILURE = 4;- See Also:
- Constant Field Values
-
internalValueMap
private static final com.google.protobuf.Internal.EnumLiteMap<Catalog.CatalogReservation.Status> internalValueMap
-
VALUES
private static final Catalog.CatalogReservation.Status[] VALUES
-
value
private final int value
-
-
Method Detail
-
values
public static Catalog.CatalogReservation.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 (Catalog.CatalogReservation.Status c : Catalog.CatalogReservation.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 Catalog.CatalogReservation.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 Catalog.CatalogReservation.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 Catalog.CatalogReservation.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<Catalog.CatalogReservation.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 Catalog.CatalogReservation.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
-
-