Package namespace.cloud.compute.v1beta
Enum Class Compute.InstanceMetadata.Status
java.lang.Object
java.lang.Enum<Compute.InstanceMetadata.Status>
namespace.cloud.compute.v1beta.Compute.InstanceMetadata.Status
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Compute.InstanceMetadata.Status>,Constable
- Enclosing class:
Compute.InstanceMetadata
public static enum Compute.InstanceMetadata.Status
extends Enum<Compute.InstanceMetadata.Status>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
namespace.cloud.compute.v1beta.InstanceMetadata.Status-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCREATING = 2;DESTROYED = 4;DESTROYING = 5;ERROR = 8;PENDING = 1;RUNNING = 3;STATUS_UNKNOWN = 0;SUSPENDED = 7;SUSPENDING = 6; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intCREATING = 2;static final intDESTROYED = 4;static final intDESTROYING = 5;static final intERROR = 8;static final intPENDING = 1;static final intRUNNING = 3;static final intSTATUS_UNKNOWN = 0;static final intSUSPENDED = 7;static final intSUSPENDING = 6; -
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<Compute.InstanceMetadata.Status> valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.static Compute.InstanceMetadata.Status[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STATUS_UNKNOWN
STATUS_UNKNOWN = 0; -
PENDING
PENDING = 1; -
CREATING
CREATING = 2; -
RUNNING
RUNNING = 3; -
DESTROYED
DESTROYED = 4; -
DESTROYING
DESTROYING = 5; -
SUSPENDING
SUSPENDING = 6; -
SUSPENDED
SUSPENDED = 7; -
ERROR
ERROR = 8; -
UNRECOGNIZED
-
-
Field Details
-
STATUS_UNKNOWN_VALUE
public static final int STATUS_UNKNOWN_VALUESTATUS_UNKNOWN = 0;- See Also:
-
PENDING_VALUE
public static final int PENDING_VALUEPENDING = 1;- See Also:
-
CREATING_VALUE
public static final int CREATING_VALUECREATING = 2;- See Also:
-
RUNNING_VALUE
public static final int RUNNING_VALUERUNNING = 3;- See Also:
-
DESTROYED_VALUE
public static final int DESTROYED_VALUEDESTROYED = 4;- See Also:
-
DESTROYING_VALUE
public static final int DESTROYING_VALUEDESTROYING = 5;- See Also:
-
SUSPENDING_VALUE
public static final int SUSPENDING_VALUESUSPENDING = 6;- See Also:
-
SUSPENDED_VALUE
public static final int SUSPENDED_VALUESUSPENDED = 7;- See Also:
-
ERROR_VALUE
public static final int ERROR_VALUEERROR = 8;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class 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 class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class 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<Compute.InstanceMetadata.Status> 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 Compute.InstanceMetadata.Status valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-