Enum Hardware.State
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Hardware.State>
- Enclosing class:
- Hardware
public static enum Hardware.State
extends Enum<Hardware.State>
implements com.google.protobuf.ProtocolMessageEnum
Valid states for hardware.Protobuf enum
google.cloud.gdchardwaremanagement.v1alpha.Hardware.State-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionMore information is required from the customer to make progress.Google has initiated building hardware for this Hardware.An error occurred and customer intervention is required.The hardware has been installed.The hardware is being installed.The hardware has been built and is being shipped.State of the Hardware is unspecified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intMore information is required from the customer to make progress.static final intGoogle has initiated building hardware for this Hardware.static final intAn error occurred and customer intervention is required.static final intThe hardware has been installed.static final intThe hardware is being installed.static final intThe hardware has been built and is being shipped.static final intState of the Hardware is unspecified. -
Method Summary
Modifier and TypeMethodDescriptionstatic Hardware.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<Hardware.State>static Hardware.StatevalueOf(int value) Deprecated.static Hardware.StatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static Hardware.StateReturns the enum constant of this type with the specified name.static Hardware.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 Hardware is unspecified.
STATE_UNSPECIFIED = 0; -
ADDITIONAL_INFO_NEEDED
More information is required from the customer to make progress.
ADDITIONAL_INFO_NEEDED = 1; -
BUILDING
Google has initiated building hardware for this Hardware.
BUILDING = 2; -
SHIPPING
The hardware has been built and is being shipped.
SHIPPING = 3; -
INSTALLING
The hardware is being installed.
INSTALLING = 4; -
INSTALLED
The hardware has been installed.
INSTALLED = 5; -
FAILED
An error occurred and customer intervention is required.
FAILED = 6; -
UNRECOGNIZED
-
-
Field Details
-
STATE_UNSPECIFIED_VALUE
public static final int STATE_UNSPECIFIED_VALUEState of the Hardware is unspecified.
STATE_UNSPECIFIED = 0;- See Also:
-
ADDITIONAL_INFO_NEEDED_VALUE
public static final int ADDITIONAL_INFO_NEEDED_VALUEMore information is required from the customer to make progress.
ADDITIONAL_INFO_NEEDED = 1;- See Also:
-
BUILDING_VALUE
public static final int BUILDING_VALUEGoogle has initiated building hardware for this Hardware.
BUILDING = 2;- See Also:
-
SHIPPING_VALUE
public static final int SHIPPING_VALUEThe hardware has been built and is being shipped.
SHIPPING = 3;- See Also:
-
INSTALLING_VALUE
public static final int INSTALLING_VALUEThe hardware is being installed.
INSTALLING = 4;- See Also:
-
INSTALLED_VALUE
public static final int INSTALLED_VALUEThe hardware has been installed.
INSTALLED = 5;- See Also:
-
FAILED_VALUE
public static final int FAILED_VALUEAn error occurred and customer intervention is required.
FAILED = 6;- 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
-