Enum Order.State
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Order.State>
- Enclosing class:
- Order
public static enum Order.State
extends Enum<Order.State>
implements com.google.protobuf.ProtocolMessageEnum
Valid states of an order.Protobuf enum
google.cloud.gdchardwaremanagement.v1alpha.Order.State-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionOrder has been accepted by Google.Order needs more information from the customer.Google has initiated building hardware for the order.Order has been cancelled.Order has been completed.Order is being drafted by the customer and has not been submitted yet.An error occurred in processing the order and customer intervention is required.All information required from the customer for fulfillment of the order is complete.The hardware is being installed.Order has been partially completed i.e., some hardware have been delivered and installed.The hardware has been built and is being shipped.State of the order is unspecified.Order has been submitted to Google. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intOrder has been accepted by Google.static final intOrder needs more information from the customer.static final intGoogle has initiated building hardware for the order.static final intOrder has been cancelled.static final intOrder has been completed.static final intOrder is being drafted by the customer and has not been submitted yet.static final intAn error occurred in processing the order and customer intervention is required.static final intAll information required from the customer for fulfillment of the order is complete.static final intThe hardware is being installed.static final intOrder has been partially completed i.e., some hardware have been delivered and installed.static final intThe hardware has been built and is being shipped.static final intState of the order is unspecified.static final intOrder has been submitted to Google. -
Method Summary
Modifier and TypeMethodDescriptionstatic Order.StateforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Order.State>static Order.StatevalueOf(int value) Deprecated.static Order.StatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static Order.StateReturns the enum constant of this type with the specified name.static Order.State[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
STATE_UNSPECIFIED
State of the order is unspecified.
STATE_UNSPECIFIED = 0; -
DRAFT
Order is being drafted by the customer and has not been submitted yet.
DRAFT = 1; -
SUBMITTED
Order has been submitted to Google.
SUBMITTED = 2; -
INFO_COMPLETE
All information required from the customer for fulfillment of the order is complete.
INFO_COMPLETE = 12; -
ACCEPTED
Order has been accepted by Google.
ACCEPTED = 3; -
ADDITIONAL_INFO_NEEDED
Order needs more information from the customer.
ADDITIONAL_INFO_NEEDED = 4; -
BUILDING
Google has initiated building hardware for the order.
BUILDING = 5; -
SHIPPING
The hardware has been built and is being shipped.
SHIPPING = 6; -
INSTALLING
The hardware is being installed.
INSTALLING = 7; -
FAILED
An error occurred in processing the order and customer intervention is required.
FAILED = 8; -
PARTIALLY_COMPLETED
Order has been partially completed i.e., some hardware have been delivered and installed.
PARTIALLY_COMPLETED = 9; -
COMPLETED
Order has been completed.
COMPLETED = 10; -
CANCELLED
Order has been cancelled.
CANCELLED = 11; -
UNRECOGNIZED
-
-
Field Details
-
STATE_UNSPECIFIED_VALUE
public static final int STATE_UNSPECIFIED_VALUEState of the order is unspecified.
STATE_UNSPECIFIED = 0;- See Also:
-
DRAFT_VALUE
public static final int DRAFT_VALUEOrder is being drafted by the customer and has not been submitted yet.
DRAFT = 1;- See Also:
-
SUBMITTED_VALUE
public static final int SUBMITTED_VALUEOrder has been submitted to Google.
SUBMITTED = 2;- See Also:
-
INFO_COMPLETE_VALUE
public static final int INFO_COMPLETE_VALUEAll information required from the customer for fulfillment of the order is complete.
INFO_COMPLETE = 12;- See Also:
-
ACCEPTED_VALUE
public static final int ACCEPTED_VALUEOrder has been accepted by Google.
ACCEPTED = 3;- See Also:
-
ADDITIONAL_INFO_NEEDED_VALUE
public static final int ADDITIONAL_INFO_NEEDED_VALUEOrder needs more information from the customer.
ADDITIONAL_INFO_NEEDED = 4;- See Also:
-
BUILDING_VALUE
public static final int BUILDING_VALUEGoogle has initiated building hardware for the order.
BUILDING = 5;- See Also:
-
SHIPPING_VALUE
public static final int SHIPPING_VALUEThe hardware has been built and is being shipped.
SHIPPING = 6;- See Also:
-
INSTALLING_VALUE
public static final int INSTALLING_VALUEThe hardware is being installed.
INSTALLING = 7;- See Also:
-
FAILED_VALUE
public static final int FAILED_VALUEAn error occurred in processing the order and customer intervention is required.
FAILED = 8;- See Also:
-
PARTIALLY_COMPLETED_VALUE
public static final int PARTIALLY_COMPLETED_VALUEOrder has been partially completed i.e., some hardware have been delivered and installed.
PARTIALLY_COMPLETED = 9;- See Also:
-
COMPLETED_VALUE
public static final int COMPLETED_VALUEOrder has been completed.
COMPLETED = 10;- See Also:
-
CANCELLED_VALUE
public static final int CANCELLED_VALUEOrder has been cancelled.
CANCELLED = 11;- 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.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
-
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
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
-