public static enum VolumeBackup.VolumeBackupFormat extends Enum<VolumeBackup.VolumeBackupFormat> implements com.google.protobuf.ProtocolMessageEnum
Identifies the format used for the volume backup.Protobuf enum
google.cloud.gkebackup.v1.VolumeBackup.VolumeBackupFormat| Enum Constant and Description |
|---|
GCE_PERSISTENT_DISK
Compute Engine Persistent Disk snapshot based volume backup.
|
UNRECOGNIZED |
VOLUME_BACKUP_FORMAT_UNSPECIFIED
Default value, not specified.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
GCE_PERSISTENT_DISK_VALUE
Compute Engine Persistent Disk snapshot based volume backup.
|
static int |
VOLUME_BACKUP_FORMAT_UNSPECIFIED_VALUE
Default value, not specified.
|
| Modifier and Type | Method and Description |
|---|---|
static VolumeBackup.VolumeBackupFormat |
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<VolumeBackup.VolumeBackupFormat> |
internalGetValueMap() |
static VolumeBackup.VolumeBackupFormat |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static VolumeBackup.VolumeBackupFormat |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static VolumeBackup.VolumeBackupFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VolumeBackup.VolumeBackupFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VolumeBackup.VolumeBackupFormat VOLUME_BACKUP_FORMAT_UNSPECIFIED
Default value, not specified.
VOLUME_BACKUP_FORMAT_UNSPECIFIED = 0;public static final VolumeBackup.VolumeBackupFormat GCE_PERSISTENT_DISK
Compute Engine Persistent Disk snapshot based volume backup.
GCE_PERSISTENT_DISK = 1;public static final VolumeBackup.VolumeBackupFormat UNRECOGNIZED
public static final int VOLUME_BACKUP_FORMAT_UNSPECIFIED_VALUE
Default value, not specified.
VOLUME_BACKUP_FORMAT_UNSPECIFIED = 0;public static final int GCE_PERSISTENT_DISK_VALUE
Compute Engine Persistent Disk snapshot based volume backup.
GCE_PERSISTENT_DISK = 1;public static VolumeBackup.VolumeBackupFormat[] values()
for (VolumeBackup.VolumeBackupFormat c : VolumeBackup.VolumeBackupFormat.values()) System.out.println(c);
public static VolumeBackup.VolumeBackupFormat 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 VolumeBackup.VolumeBackupFormat valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static VolumeBackup.VolumeBackupFormat forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<VolumeBackup.VolumeBackupFormat> 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 VolumeBackup.VolumeBackupFormat valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.