public static enum StoragePoolDisk.Status extends Enum<StoragePoolDisk.Status> implements com.google.protobuf.ProtocolMessageEnum
[Output Only] The disk status.Protobuf enum
google.cloud.compute.v1.StoragePoolDisk.Status| Enum Constant and Description |
|---|
CREATING
Disk is provisioning
CREATING = 455564985; |
DELETING
Disk is deleting.
|
FAILED
Disk creation failed.
|
READY
Disk is ready for use.
|
RESTORING
Source data is being copied into the disk.
|
UNAVAILABLE
Disk is currently unavailable and cannot be accessed, attached or detached.
|
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
CREATING = 455564985; |
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 |
UNAVAILABLE_VALUE
Disk is currently unavailable and cannot be accessed, attached or detached.
|
static int |
UNDEFINED_STATUS_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static StoragePoolDisk.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<StoragePoolDisk.Status> |
internalGetValueMap() |
static StoragePoolDisk.Status |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static StoragePoolDisk.Status |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static StoragePoolDisk.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StoragePoolDisk.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StoragePoolDisk.Status UNDEFINED_STATUS
A value indicating that the enum field is not set.
UNDEFINED_STATUS = 0;public static final StoragePoolDisk.Status CREATING
Disk is provisioning
CREATING = 455564985;public static final StoragePoolDisk.Status DELETING
Disk is deleting.
DELETING = 528602024;public static final StoragePoolDisk.Status FAILED
Disk creation failed.
FAILED = 455706685;public static final StoragePoolDisk.Status READY
Disk is ready for use.
READY = 77848963;public static final StoragePoolDisk.Status RESTORING
Source data is being copied into the disk.
RESTORING = 404263851;public static final StoragePoolDisk.Status UNAVAILABLE
Disk is currently unavailable and cannot be accessed, attached or detached.
UNAVAILABLE = 413756464;public static final StoragePoolDisk.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 final int UNAVAILABLE_VALUE
Disk is currently unavailable and cannot be accessed, attached or detached.
UNAVAILABLE = 413756464;public static StoragePoolDisk.Status[] values()
for (StoragePoolDisk.Status c : StoragePoolDisk.Status.values()) System.out.println(c);
public static StoragePoolDisk.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 StoragePoolDisk.Status valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static StoragePoolDisk.Status forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<StoragePoolDisk.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 StoragePoolDisk.Status valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.