Package com.google.cloud.compute.v1
Enum FutureReservationStatusLastKnownGoodState.ProcurementStatus
java.lang.Object
java.lang.Enum<FutureReservationStatusLastKnownGoodState.ProcurementStatus>
com.google.cloud.compute.v1.FutureReservationStatusLastKnownGoodState.ProcurementStatus
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<FutureReservationStatusLastKnownGoodState.ProcurementStatus>
- Enclosing class:
- FutureReservationStatusLastKnownGoodState
public static enum FutureReservationStatusLastKnownGoodState.ProcurementStatus
extends Enum<FutureReservationStatusLastKnownGoodState.ProcurementStatus>
implements com.google.protobuf.ProtocolMessageEnum
Output only. [Output Only] The status of the last known good state for the Future Reservation.Protobuf enum
google.cloud.compute.v1.FutureReservationStatusLastKnownGoodState.ProcurementStatus-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFuture reservation is approved by GCP.Future reservation is cancelled by the customer.Future reservation is committed by the customer.Future reservation is rejected by GCP.Related status for PlanningStatus.Draft.Future reservation failed.Future reservation is partially fulfilled.Future reservation is fulfilled completely.An Amendment to the Future Reservation has been requested.Future reservation is pending approval by GCP.PROCUREMENT_STATUS_UNSPECIFIED = 45807705;Future reservation is being procured by GCP.Future reservation capacity is being provisioned.A value indicating that the enum field is not set. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intFuture reservation is approved by GCP.static final intFuture reservation is cancelled by the customer.static final intFuture reservation is committed by the customer.static final intFuture reservation is rejected by GCP.static final intRelated status for PlanningStatus.Draft.static final intFuture reservation is partially fulfilled.static final intFuture reservation failed.static final intFuture reservation is fulfilled completely.static final intAn Amendment to the Future Reservation has been requested.static final intFuture reservation is pending approval by GCP.static final intPROCUREMENT_STATUS_UNSPECIFIED = 45807705;static final intFuture reservation is being procured by GCP.static final intFuture reservation capacity is being provisioned.static final intA value indicating that the enum field is not set. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<FutureReservationStatusLastKnownGoodState.ProcurementStatus>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.Returns the enum constant of this type with the specified name.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UNDEFINED_PROCUREMENT_STATUS
public static final FutureReservationStatusLastKnownGoodState.ProcurementStatus UNDEFINED_PROCUREMENT_STATUSA value indicating that the enum field is not set.
UNDEFINED_PROCUREMENT_STATUS = 0; -
APPROVED
Future reservation is approved by GCP.
APPROVED = 357258935; -
CANCELLED
Future reservation is cancelled by the customer.
CANCELLED = 41957681; -
COMMITTED
Future reservation is committed by the customer.
COMMITTED = 221710172; -
DECLINED
Future reservation is rejected by GCP.
DECLINED = 277081134; -
DRAFTING
Related status for PlanningStatus.Draft. Transitions to PENDING_APPROVAL upon user submitting FR.
DRAFTING = 477863585; -
FAILED
Future reservation failed. No additional reservations were provided.
FAILED = 455706685; -
FAILED_PARTIALLY_FULFILLED
public static final FutureReservationStatusLastKnownGoodState.ProcurementStatus FAILED_PARTIALLY_FULFILLEDFuture reservation is partially fulfilled. Additional reservations were provided but did not reach total_count reserved instance slots.
FAILED_PARTIALLY_FULFILLED = 14455212; -
FULFILLED
Future reservation is fulfilled completely.
FULFILLED = 409958655; -
PENDING_AMENDMENT_APPROVAL
public static final FutureReservationStatusLastKnownGoodState.ProcurementStatus PENDING_AMENDMENT_APPROVALAn 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; -
PENDING_APPROVAL
Future reservation is pending approval by GCP.
PENDING_APPROVAL = 209692683; -
PROCUREMENT_STATUS_UNSPECIFIED
public static final FutureReservationStatusLastKnownGoodState.ProcurementStatus PROCUREMENT_STATUS_UNSPECIFIEDPROCUREMENT_STATUS_UNSPECIFIED = 45807705; -
PROCURING
Future reservation is being procured by GCP. Beyond this point, Future reservation is locked and no further modifications are allowed.
PROCURING = 95959663; -
PROVISIONING
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; -
UNRECOGNIZED
-
-
Field Details
-
UNDEFINED_PROCUREMENT_STATUS_VALUE
public static final int UNDEFINED_PROCUREMENT_STATUS_VALUEA value indicating that the enum field is not set.
UNDEFINED_PROCUREMENT_STATUS = 0;- See Also:
-
APPROVED_VALUE
public static final int APPROVED_VALUEFuture reservation is approved by GCP.
APPROVED = 357258935;- See Also:
-
CANCELLED_VALUE
public static final int CANCELLED_VALUEFuture reservation is cancelled by the customer.
CANCELLED = 41957681;- See Also:
-
COMMITTED_VALUE
public static final int COMMITTED_VALUEFuture reservation is committed by the customer.
COMMITTED = 221710172;- See Also:
-
DECLINED_VALUE
public static final int DECLINED_VALUEFuture reservation is rejected by GCP.
DECLINED = 277081134;- See Also:
-
DRAFTING_VALUE
public static final int DRAFTING_VALUERelated status for PlanningStatus.Draft. Transitions to PENDING_APPROVAL upon user submitting FR.
DRAFTING = 477863585;- See Also:
-
FAILED_VALUE
public static final int FAILED_VALUEFuture reservation failed. No additional reservations were provided.
FAILED = 455706685;- See Also:
-
FAILED_PARTIALLY_FULFILLED_VALUE
public static final int FAILED_PARTIALLY_FULFILLED_VALUEFuture 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_VALUEFuture reservation is fulfilled completely.
FULFILLED = 409958655;- See Also:
-
PENDING_AMENDMENT_APPROVAL_VALUE
public static final int PENDING_AMENDMENT_APPROVAL_VALUEAn 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_VALUEFuture reservation is pending approval by GCP.
PENDING_APPROVAL = 209692683;- See Also:
-
PROCUREMENT_STATUS_UNSPECIFIED_VALUE
public static final int PROCUREMENT_STATUS_UNSPECIFIED_VALUEPROCUREMENT_STATUS_UNSPECIFIED = 45807705;- See Also:
-
PROCURING_VALUE
public static final int PROCURING_VALUEFuture 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_VALUEFuture 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
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 FutureReservationStatusLastKnownGoodState.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 nameNullPointerException- if the argument is null
-
forNumber
- 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<FutureReservationStatusLastKnownGoodState.ProcurementStatus> 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 com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static FutureReservationStatusLastKnownGoodState.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 nameNullPointerException- if the argument is null
-