Enum FutureReservationStatus.ProcurementStatus

java.lang.Object
java.lang.Enum<FutureReservationStatus.ProcurementStatus>
com.google.cloud.compute.v1.FutureReservationStatus.ProcurementStatus
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<FutureReservationStatus.ProcurementStatus>
Enclosing class:
FutureReservationStatus

public static enum FutureReservationStatus.ProcurementStatus extends Enum<FutureReservationStatus.ProcurementStatus> implements com.google.protobuf.ProtocolMessageEnum
 Output only. Current state of this Future Reservation
 
Protobuf enum google.cloud.compute.v1.FutureReservationStatus.ProcurementStatus
  • Enum Constant Details

  • Field Details

    • UNDEFINED_PROCUREMENT_STATUS_VALUE

      public static final int UNDEFINED_PROCUREMENT_STATUS_VALUE
       A value indicating that the enum field is not set.
       
      UNDEFINED_PROCUREMENT_STATUS = 0;
      See Also:
    • APPROVED_VALUE

      public static final int APPROVED_VALUE
       Future reservation is approved by GCP.
       
      APPROVED = 357258935;
      See Also:
    • CANCELLED_VALUE

      public static final int CANCELLED_VALUE
       Future reservation is cancelled by the customer.
       
      CANCELLED = 41957681;
      See Also:
    • COMMITTED_VALUE

      public static final int COMMITTED_VALUE
       Future reservation is committed by the customer.
       
      COMMITTED = 221710172;
      See Also:
    • DECLINED_VALUE

      public static final int DECLINED_VALUE
       Future reservation is rejected by GCP.
       
      DECLINED = 277081134;
      See Also:
    • DRAFTING_VALUE

      public static final int DRAFTING_VALUE
       Related status for PlanningStatus.Draft. Transitions to
       PENDING_APPROVAL upon user submitting FR.
       
      DRAFTING = 477863585;
      See Also:
    • FAILED_VALUE

      public static final int FAILED_VALUE
       Future reservation failed. No additional reservations were provided.
       
      FAILED = 455706685;
      See Also:
    • FAILED_PARTIALLY_FULFILLED_VALUE

      public static final int FAILED_PARTIALLY_FULFILLED_VALUE
       Future reservation is partially fulfilled. Additional reservations were
       provided but did not reach total_count reserved instance slots.
       
      FAILED_PARTIALLY_FULFILLED = 14455212;
      See Also:
    • FULFILLED_VALUE

      public static final int FULFILLED_VALUE
       Future reservation is fulfilled completely.
       
      FULFILLED = 409958655;
      See Also:
    • PENDING_AMENDMENT_APPROVAL_VALUE

      public static final int PENDING_AMENDMENT_APPROVAL_VALUE
       An Amendment to the Future Reservation has been requested. If the
       Amendment is declined, the Future Reservation will be restored to the
       last known good state.
       
      PENDING_AMENDMENT_APPROVAL = 510150429;
      See Also:
    • PENDING_APPROVAL_VALUE

      public static final int PENDING_APPROVAL_VALUE
       Future reservation is pending approval by GCP.
       
      PENDING_APPROVAL = 209692683;
      See Also:
    • PROCUREMENT_STATUS_UNSPECIFIED_VALUE

      public static final int PROCUREMENT_STATUS_UNSPECIFIED_VALUE
      PROCUREMENT_STATUS_UNSPECIFIED = 45807705;
      See Also:
    • PROCURING_VALUE

      public static final int PROCURING_VALUE
       Future reservation is being procured by GCP. Beyond this point, Future
       reservation is locked and no further modifications are allowed.
       
      PROCURING = 95959663;
      See Also:
    • PROVISIONING_VALUE

      public static final int PROVISIONING_VALUE
       Future reservation capacity is being provisioned. This state will be
       entered after start_time, while reservations are being created to
       provide total_count reserved instance slots. This state will not
       persist past start_time + 24h.
       
      PROVISIONING = 290896621;
      See Also:
  • Method Details

    • values

      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static FutureReservationStatus.ProcurementStatus 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 FutureReservationStatus.ProcurementStatus 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 FutureReservationStatus.ProcurementStatus 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<FutureReservationStatus.ProcurementStatus> internalGetValueMap()
    • 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 com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static FutureReservationStatus.ProcurementStatus 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