public static enum Image.Status extends Enum<Image.Status> implements com.google.protobuf.ProtocolMessageEnum
[Output Only] The status of the image. An image can be used to create other resources, such as instances, only after the image has been successfully created and the status is set to READY. Possible values are FAILED, PENDING, or READY.Protobuf enum
google.cloud.compute.v1.Image.Status| Enum Constant and Description |
|---|
DELETING
Image is deleting.
|
FAILED
Image creation failed due to an error.
|
PENDING
Image hasn't been created as yet.
|
READY
Image has been successfully created.
|
UNDEFINED_STATUS
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
DELETING_VALUE
Image is deleting.
|
static int |
FAILED_VALUE
Image creation failed due to an error.
|
static int |
PENDING_VALUE
Image hasn't been created as yet.
|
static int |
READY_VALUE
Image has been successfully created.
|
static int |
UNDEFINED_STATUS_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static Image.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<Image.Status> |
internalGetValueMap() |
static Image.Status |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Image.Status |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Image.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Image.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Image.Status UNDEFINED_STATUS
A value indicating that the enum field is not set.
UNDEFINED_STATUS = 0;public static final Image.Status DELETING
Image is deleting.
DELETING = 528602024;public static final Image.Status FAILED
Image creation failed due to an error.
FAILED = 455706685;public static final Image.Status PENDING
Image hasn't been created as yet.
PENDING = 35394935;public static final Image.Status READY
Image has been successfully created.
READY = 77848963;public static final Image.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 DELETING_VALUE
Image is deleting.
DELETING = 528602024;public static final int FAILED_VALUE
Image creation failed due to an error.
FAILED = 455706685;public static final int PENDING_VALUE
Image hasn't been created as yet.
PENDING = 35394935;public static final int READY_VALUE
Image has been successfully created.
READY = 77848963;public static Image.Status[] values()
for (Image.Status c : Image.Status.values()) System.out.println(c);
public static Image.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 Image.Status valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Image.Status forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Image.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 Image.Status valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.