public static enum Snapshot.SnapshotType extends Enum<Snapshot.SnapshotType> implements com.google.protobuf.ProtocolMessageEnum
Indicates the type of the snapshot.Protobuf enum
google.cloud.compute.v1.Snapshot.SnapshotType| Enum Constant and Description |
|---|
ARCHIVE
ARCHIVE = 506752162; |
STANDARD
STANDARD = 484642493; |
UNDEFINED_SNAPSHOT_TYPE
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ARCHIVE_VALUE
ARCHIVE = 506752162; |
static int |
STANDARD_VALUE
STANDARD = 484642493; |
static int |
UNDEFINED_SNAPSHOT_TYPE_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static Snapshot.SnapshotType |
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.SnapshotType> |
internalGetValueMap() |
static Snapshot.SnapshotType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Snapshot.SnapshotType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Snapshot.SnapshotType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Snapshot.SnapshotType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Snapshot.SnapshotType UNDEFINED_SNAPSHOT_TYPE
A value indicating that the enum field is not set.
UNDEFINED_SNAPSHOT_TYPE = 0;public static final Snapshot.SnapshotType ARCHIVE
ARCHIVE = 506752162;public static final Snapshot.SnapshotType STANDARD
STANDARD = 484642493;public static final Snapshot.SnapshotType UNRECOGNIZED
public static final int UNDEFINED_SNAPSHOT_TYPE_VALUE
A value indicating that the enum field is not set.
UNDEFINED_SNAPSHOT_TYPE = 0;public static final int ARCHIVE_VALUE
ARCHIVE = 506752162;public static final int STANDARD_VALUE
STANDARD = 484642493;public static Snapshot.SnapshotType[] values()
for (Snapshot.SnapshotType c : Snapshot.SnapshotType.values()) System.out.println(c);
public static Snapshot.SnapshotType 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.SnapshotType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Snapshot.SnapshotType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Snapshot.SnapshotType> 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.SnapshotType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.