public static enum StoragePool.State extends Enum<StoragePool.State> implements com.google.protobuf.ProtocolMessageEnum
[Output Only] The status of storage pool creation. - CREATING: Storage pool is provisioning. storagePool. - FAILED: Storage pool creation failed. - READY: Storage pool is ready for use. - DELETING: Storage pool is deleting.Protobuf enum
google.cloud.compute.v1.StoragePool.State| Enum Constant and Description |
|---|
CREATING
StoragePool is provisioning
CREATING = 455564985; |
DELETING
StoragePool is deleting.
|
FAILED
StoragePool creation failed.
|
READY
StoragePool is ready for use.
|
UNDEFINED_STATE
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CREATING_VALUE
StoragePool is provisioning
CREATING = 455564985; |
static int |
DELETING_VALUE
StoragePool is deleting.
|
static int |
FAILED_VALUE
StoragePool creation failed.
|
static int |
READY_VALUE
StoragePool is ready for use.
|
static int |
UNDEFINED_STATE_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static StoragePool.State |
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<StoragePool.State> |
internalGetValueMap() |
static StoragePool.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static StoragePool.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static StoragePool.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StoragePool.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StoragePool.State UNDEFINED_STATE
A value indicating that the enum field is not set.
UNDEFINED_STATE = 0;public static final StoragePool.State CREATING
StoragePool is provisioning
CREATING = 455564985;public static final StoragePool.State DELETING
StoragePool is deleting.
DELETING = 528602024;public static final StoragePool.State FAILED
StoragePool creation failed.
FAILED = 455706685;public static final StoragePool.State READY
StoragePool is ready for use.
READY = 77848963;public static final StoragePool.State UNRECOGNIZED
public static final int UNDEFINED_STATE_VALUE
A value indicating that the enum field is not set.
UNDEFINED_STATE = 0;public static final int CREATING_VALUE
StoragePool is provisioning
CREATING = 455564985;public static final int DELETING_VALUE
StoragePool is deleting.
DELETING = 528602024;public static final int FAILED_VALUE
StoragePool creation failed.
FAILED = 455706685;public static final int READY_VALUE
StoragePool is ready for use.
READY = 77848963;public static StoragePool.State[] values()
for (StoragePool.State c : StoragePool.State.values()) System.out.println(c);
public static StoragePool.State 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 StoragePool.State valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static StoragePool.State forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<StoragePool.State> 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 StoragePool.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.