Package flyteidl.core

Enum Catalog.CatalogReservation.Status

    • 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;
    • 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
      • value

        private final int value
    • Constructor Detail

      • Status

        private Status​(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 name
        NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.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 name
        NullPointerException - 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.
      • getValueDescriptor

        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
        Specified by:
        getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.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 name
        NullPointerException - if the argument is null