public static enum InstantSnapshot.Status extends Enum<InstantSnapshot.Status> implements com.google.protobuf.ProtocolMessageEnum
[Output Only] The status of the instantSnapshot. This can be CREATING, DELETING, FAILED, or READY.Protobuf enum
google.cloud.compute.v1.InstantSnapshot.Status| Enum Constant and Description |
|---|
CREATING
InstantSnapshot creation is in progress.
|
DELETING
InstantSnapshot is currently being deleted.
|
FAILED
InstantSnapshot creation failed.
|
READY
InstantSnapshot has been created successfully.
|
UNAVAILABLE
InstantSnapshot is currently unavailable and cannot be used for Disk restoration
UNAVAILABLE = 413756464; |
UNDEFINED_STATUS
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CREATING_VALUE
InstantSnapshot creation is in progress.
|
static int |
DELETING_VALUE
InstantSnapshot is currently being deleted.
|
static int |
FAILED_VALUE
InstantSnapshot creation failed.
|
static int |
READY_VALUE
InstantSnapshot has been created successfully.
|
static int |
UNAVAILABLE_VALUE
InstantSnapshot is currently unavailable and cannot be used for Disk restoration
UNAVAILABLE = 413756464; |
static int |
UNDEFINED_STATUS_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static InstantSnapshot.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<InstantSnapshot.Status> |
internalGetValueMap() |
static InstantSnapshot.Status |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static InstantSnapshot.Status |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static InstantSnapshot.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InstantSnapshot.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InstantSnapshot.Status UNDEFINED_STATUS
A value indicating that the enum field is not set.
UNDEFINED_STATUS = 0;public static final InstantSnapshot.Status CREATING
InstantSnapshot creation is in progress.
CREATING = 455564985;public static final InstantSnapshot.Status DELETING
InstantSnapshot is currently being deleted.
DELETING = 528602024;public static final InstantSnapshot.Status FAILED
InstantSnapshot creation failed.
FAILED = 455706685;public static final InstantSnapshot.Status READY
InstantSnapshot has been created successfully.
READY = 77848963;public static final InstantSnapshot.Status UNAVAILABLE
InstantSnapshot is currently unavailable and cannot be used for Disk restoration
UNAVAILABLE = 413756464;public static final InstantSnapshot.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
InstantSnapshot creation is in progress.
CREATING = 455564985;public static final int DELETING_VALUE
InstantSnapshot is currently being deleted.
DELETING = 528602024;public static final int FAILED_VALUE
InstantSnapshot creation failed.
FAILED = 455706685;public static final int READY_VALUE
InstantSnapshot has been created successfully.
READY = 77848963;public static final int UNAVAILABLE_VALUE
InstantSnapshot is currently unavailable and cannot be used for Disk restoration
UNAVAILABLE = 413756464;public static InstantSnapshot.Status[] values()
for (InstantSnapshot.Status c : InstantSnapshot.Status.values()) System.out.println(c);
public static InstantSnapshot.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 InstantSnapshot.Status valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static InstantSnapshot.Status forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<InstantSnapshot.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 InstantSnapshot.Status valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.