Package k8s.io.api.core.v1
Interface Generated.EmptyDirVolumeSourceOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.EmptyDirVolumeSource,Generated.EmptyDirVolumeSource.Builder
- Enclosing class:
- Generated
public static interface Generated.EmptyDirVolumeSourceOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetMedium()medium represents what type of storage medium should back this directory.com.google.protobuf.ByteStringgetMediumBytes()medium represents what type of storage medium should back this directory.Generated.QuantitygetSizeLimit()sizeLimit is the total amount of local storage required for this EmptyDir volume.Generated.QuantityOrBuildergetSizeLimitOrBuilder()sizeLimit is the total amount of local storage required for this EmptyDir volume.booleanhasMedium()medium represents what type of storage medium should back this directory.booleanhasSizeLimit()sizeLimit is the total amount of local storage required for this EmptyDir volume.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasMedium
boolean hasMedium()
medium represents what type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir +optional
optional string medium = 1;- Returns:
- Whether the medium field is set.
-
getMedium
String getMedium()
medium represents what type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir +optional
optional string medium = 1;- Returns:
- The medium.
-
getMediumBytes
com.google.protobuf.ByteString getMediumBytes()
medium represents what type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir +optional
optional string medium = 1;- Returns:
- The bytes for medium.
-
hasSizeLimit
boolean hasSizeLimit()
sizeLimit is the total amount of local storage required for 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 in a pod. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity sizeLimit = 2;- Returns:
- Whether the sizeLimit field is set.
-
getSizeLimit
Generated.Quantity getSizeLimit()
sizeLimit is the total amount of local storage required for 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 in a pod. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity sizeLimit = 2;- Returns:
- The sizeLimit.
-
getSizeLimitOrBuilder
Generated.QuantityOrBuilder getSizeLimitOrBuilder()
sizeLimit is the total amount of local storage required for 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 in a pod. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity sizeLimit = 2;
-
-