public interface EmptyDirVolumeSourceOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getMedium()
public abstract EmptyDirVolumeSource.Medium getMedium() The medium on which the data is stored. Acceptable values are MEMORY,
DISK, or unset (MEDIUM_UNSPECIFIED). When unset, the default is
currently memory-backed but could change over time.
.google.cloud.run.v2.EmptyDirVolumeSource.Medium medium = 1;
| Returns | |
|---|---|
| Type | Description |
EmptyDirVolumeSource.Medium |
The medium. |
getMediumValue()
public abstract int getMediumValue() The medium on which the data is stored. Acceptable values are MEMORY,
DISK, or unset (MEDIUM_UNSPECIFIED). When unset, the default is
currently memory-backed but could change over time.
.google.cloud.run.v2.EmptyDirVolumeSource.Medium medium = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for medium. |
getSizeLimit()
public abstract String getSizeLimit() Limit on the storage usable by this EmptyDir volume.
The size limit is also applicable for memory medium.
The maximum usage on memory medium EmptyDir would be the minimum value
between the SizeLimit specified here and the sum of memory limits of all
containers. The default is nil which means that the limit is undefined.
For more information, see
Configure in-memory volume
mounts
and the Kubernetes emptyDir volume
documentation.
string size_limit = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The sizeLimit. |
getSizeLimitBytes()
public abstract ByteString getSizeLimitBytes() Limit on the storage usable by this EmptyDir volume.
The size limit is also applicable for memory medium.
The maximum usage on memory medium EmptyDir would be the minimum value
between the SizeLimit specified here and the sum of memory limits of all
containers. The default is nil which means that the limit is undefined.
For more information, see
Configure in-memory volume
mounts
and the Kubernetes emptyDir volume
documentation.
string size_limit = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for sizeLimit. |