public static enum Disk.Status extends Enum<Disk.Status> implements com.google.protobuf.ProtocolMessageEnum
[Output Only] The status of disk creation. - CREATING: Disk is provisioning. - RESTORING: Source data is being copied into the disk. - FAILED: Disk creation failed. - READY: Disk is ready for use. - DELETING: Disk is deleting.Protobuf enum
google.cloud.compute.v1.Disk.Status| Enum Constant and Description |
|---|
CREATING
Disk is provisioning
|
DELETING
Disk is deleting.
|
FAILED
Disk creation failed.
|
READY
Disk is ready for use.
|
RESTORING
Source data is being copied into the disk.
|
UNDEFINED_STATUS
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CREATING_VALUE
Disk is provisioning
|
static int |
DELETING_VALUE
Disk is deleting.
|
static int |
FAILED_VALUE
Disk creation failed.
|
static int |
READY_VALUE
Disk is ready for use.
|
static int |
RESTORING_VALUE
Source data is being copied into the disk.
|
static int |
UNDEFINED_STATUS_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static Disk.Status |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<Disk.Status> |
internalGetValueMap() |
static Disk.Status |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Disk.Status |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Disk.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Disk.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Disk.Status UNDEFINED_STATUS
A value indicating that the enum field is not set.
UNDEFINED_STATUS = 0;public static final Disk.Status CREATING
Disk is provisioning
CREATING = 455564985;public static final Disk.Status DELETING
Disk is deleting.
DELETING = 528602024;public static final Disk.Status FAILED
Disk creation failed.
FAILED = 455706685;public static final Disk.Status READY
Disk is ready for use.
READY = 77848963;public static final Disk.Status RESTORING
Source data is being copied into the disk.
RESTORING = 404263851;public static final Disk.Status UNRECOGNIZED
public static final int UNDEFINED_STATUS_VALUE
A value indicating that the enum field is not set.
UNDEFINED_STATUS = 0;public static final int CREATING_VALUE
Disk is provisioning
CREATING = 455564985;public static final int DELETING_VALUE
Disk is deleting.
DELETING = 528602024;public static final int FAILED_VALUE
Disk creation failed.
FAILED = 455706685;public static final int READY_VALUE
Disk is ready for use.
READY = 77848963;public static final int RESTORING_VALUE
Source data is being copied into the disk.
RESTORING = 404263851;public static Disk.Status[] values()
for (Disk.Status c : Disk.Status.values()) System.out.println(c);
public static Disk.Status valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Disk.Status valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Disk.Status forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Disk.Status> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Disk.Status valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.