public static enum Volume.VolumeTypeCase extends Enum<Volume.VolumeTypeCase> implements com.google.protobuf.Internal.EnumLite
| Enum Constant and Description |
|---|
CLOUD_SQL_INSTANCE |
EMPTY_DIR |
GCS |
NFS |
SECRET |
VOLUMETYPE_NOT_SET |
| Modifier and Type | Method and Description |
|---|---|
static Volume.VolumeTypeCase |
forNumber(int value) |
int |
getNumber() |
static Volume.VolumeTypeCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Volume.VolumeTypeCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Volume.VolumeTypeCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Volume.VolumeTypeCase SECRET
public static final Volume.VolumeTypeCase CLOUD_SQL_INSTANCE
public static final Volume.VolumeTypeCase EMPTY_DIR
public static final Volume.VolumeTypeCase NFS
public static final Volume.VolumeTypeCase GCS
public static final Volume.VolumeTypeCase VOLUMETYPE_NOT_SET
public static Volume.VolumeTypeCase[] values()
for (Volume.VolumeTypeCase c : Volume.VolumeTypeCase.values()) System.out.println(c);
public static Volume.VolumeTypeCase 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 null@Deprecated public static Volume.VolumeTypeCase valueOf(int value)
forNumber(int) instead.value - The number of the enum to look for.public static Volume.VolumeTypeCase forNumber(int value)
public int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLiteCopyright © 2025 Google LLC. All rights reserved.