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