Interface Generated.EmptyDirVolumeSourceOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getMedium()
      medium represents what type of storage medium should back this directory.
      com.google.protobuf.ByteString getMediumBytes()
      medium represents what type of storage medium should back this directory.
      Generated.Quantity getSizeLimit()
      sizeLimit is the total amount of local storage required for this EmptyDir volume.
      Generated.QuantityOrBuilder getSizeLimitOrBuilder()
      sizeLimit is the total amount of local storage required for this EmptyDir volume.
      boolean hasMedium()
      medium represents what type of storage medium should back this directory.
      boolean hasSizeLimit()
      sizeLimit is the total amount of local storage required for this EmptyDir volume.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • 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;