java.lang.Object
java.lang.Enum<Order.State>
com.google.cloud.gdchardwaremanagement.v1alpha.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 Details

    • STATE_UNSPECIFIED

      public static final Order.State STATE_UNSPECIFIED
       State of the order is unspecified.
       
      STATE_UNSPECIFIED = 0;
    • DRAFT

      public static final Order.State DRAFT
       Order is being drafted by the customer and has not been submitted yet.
       
      DRAFT = 1;
    • SUBMITTED

      public static final Order.State SUBMITTED
       Order has been submitted to Google.
       
      SUBMITTED = 2;
    • INFO_COMPLETE

      public static final Order.State INFO_COMPLETE
       All information required from the customer for fulfillment of the order
       is complete.
       
      INFO_COMPLETE = 12;
    • ACCEPTED

      public static final Order.State ACCEPTED
       Order has been accepted by Google.
       
      ACCEPTED = 3;
    • ADDITIONAL_INFO_NEEDED

      public static final Order.State ADDITIONAL_INFO_NEEDED
       Order needs more information from the customer.
       
      ADDITIONAL_INFO_NEEDED = 4;
    • BUILDING

      public static final Order.State BUILDING
       Google has initiated building hardware for the order.
       
      BUILDING = 5;
    • SHIPPING

      public static final Order.State SHIPPING
       The hardware has been built and is being shipped.
       
      SHIPPING = 6;
    • INSTALLING

      public static final Order.State INSTALLING
       The hardware is being installed.
       
      INSTALLING = 7;
    • FAILED

      public static final Order.State FAILED
       An error occurred in processing the order and customer intervention is
       required.
       
      FAILED = 8;
    • PARTIALLY_COMPLETED

      public static final Order.State PARTIALLY_COMPLETED
       Order has been partially completed i.e., some hardware have been
       delivered and installed.
       
      PARTIALLY_COMPLETED = 9;
    • COMPLETED

      public static final Order.State COMPLETED
       Order has been completed.
       
      COMPLETED = 10;
    • CANCELLED

      public static final Order.State CANCELLED
       Order has been cancelled.
       
      CANCELLED = 11;
    • UNRECOGNIZED

      public static final Order.State UNRECOGNIZED
  • Field Details

    • STATE_UNSPECIFIED_VALUE

      public static final int STATE_UNSPECIFIED_VALUE
       State of the order is unspecified.
       
      STATE_UNSPECIFIED = 0;
      See Also:
    • DRAFT_VALUE

      public static final int DRAFT_VALUE
       Order is being drafted by the customer and has not been submitted yet.
       
      DRAFT = 1;
      See Also:
    • SUBMITTED_VALUE

      public static final int SUBMITTED_VALUE
       Order has been submitted to Google.
       
      SUBMITTED = 2;
      See Also:
    • INFO_COMPLETE_VALUE

      public static final int INFO_COMPLETE_VALUE
       All information required from the customer for fulfillment of the order
       is complete.
       
      INFO_COMPLETE = 12;
      See Also:
    • ACCEPTED_VALUE

      public static final int ACCEPTED_VALUE
       Order has been accepted by Google.
       
      ACCEPTED = 3;
      See Also:
    • ADDITIONAL_INFO_NEEDED_VALUE

      public static final int ADDITIONAL_INFO_NEEDED_VALUE
       Order needs more information from the customer.
       
      ADDITIONAL_INFO_NEEDED = 4;
      See Also:
    • BUILDING_VALUE

      public static final int BUILDING_VALUE
       Google has initiated building hardware for the order.
       
      BUILDING = 5;
      See Also:
    • SHIPPING_VALUE

      public static final int SHIPPING_VALUE
       The hardware has been built and is being shipped.
       
      SHIPPING = 6;
      See Also:
    • INSTALLING_VALUE

      public static final int INSTALLING_VALUE
       The hardware is being installed.
       
      INSTALLING = 7;
      See Also:
    • FAILED_VALUE

      public static final int FAILED_VALUE
       An error occurred in processing the order and customer intervention is
       required.
       
      FAILED = 8;
      See Also:
    • PARTIALLY_COMPLETED_VALUE

      public static final int PARTIALLY_COMPLETED_VALUE
       Order 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_VALUE
       Order has been completed.
       
      COMPLETED = 10;
      See Also:
    • CANCELLED_VALUE

      public static final int CANCELLED_VALUE
       Order has been cancelled.
       
      CANCELLED = 11;
      See Also:
  • Method Details

    • values

      public static Order.State[] 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 Order.State 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 Order.State 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 Order.State 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<Order.State> 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 Order.State 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