public static enum EmptyDirVolumeSource.Medium extends Enum<EmptyDirVolumeSource.Medium> implements com.google.protobuf.ProtocolMessageEnum
The different types of medium supported for EmptyDir.Protobuf enum
google.cloud.run.v2.EmptyDirVolumeSource.Medium| Enum Constant and Description |
|---|
MEDIUM_UNSPECIFIED
When not specified, falls back to the default implementation which
is currently in memory (this may change over time).
|
MEMORY
Explicitly set the EmptyDir to be in memory.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
MEDIUM_UNSPECIFIED_VALUE
When not specified, falls back to the default implementation which
is currently in memory (this may change over time).
|
static int |
MEMORY_VALUE
Explicitly set the EmptyDir to be in memory.
|
| Modifier and Type | Method and Description |
|---|---|
static EmptyDirVolumeSource.Medium |
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<EmptyDirVolumeSource.Medium> |
internalGetValueMap() |
static EmptyDirVolumeSource.Medium |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static EmptyDirVolumeSource.Medium |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static EmptyDirVolumeSource.Medium |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EmptyDirVolumeSource.Medium[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EmptyDirVolumeSource.Medium MEDIUM_UNSPECIFIED
When not specified, falls back to the default implementation which is currently in memory (this may change over time).
MEDIUM_UNSPECIFIED = 0;public static final EmptyDirVolumeSource.Medium MEMORY
Explicitly set the EmptyDir to be in memory. Uses tmpfs.
MEMORY = 1;public static final EmptyDirVolumeSource.Medium UNRECOGNIZED
public static final int MEDIUM_UNSPECIFIED_VALUE
When not specified, falls back to the default implementation which is currently in memory (this may change over time).
MEDIUM_UNSPECIFIED = 0;public static final int MEMORY_VALUE
Explicitly set the EmptyDir to be in memory. Uses tmpfs.
MEMORY = 1;public static EmptyDirVolumeSource.Medium[] values()
for (EmptyDirVolumeSource.Medium c : EmptyDirVolumeSource.Medium.values()) System.out.println(c);
public static EmptyDirVolumeSource.Medium 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 EmptyDirVolumeSource.Medium valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static EmptyDirVolumeSource.Medium forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<EmptyDirVolumeSource.Medium> 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 EmptyDirVolumeSource.Medium valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.