Class Generated.EmptyDirVolumeSource.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.EmptyDirVolumeSource.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.EmptyDirVolumeSource.Builder>
      • getDefaultInstanceForType

        public Generated.EmptyDirVolumeSource getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public Generated.EmptyDirVolumeSource build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Generated.EmptyDirVolumeSource buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.EmptyDirVolumeSource.Builder>
      • hasMedium

        public 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;
        Specified by:
        hasMedium in interface Generated.EmptyDirVolumeSourceOrBuilder
        Returns:
        Whether the medium field is set.
      • getMedium

        public 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;
        Specified by:
        getMedium in interface Generated.EmptyDirVolumeSourceOrBuilder
        Returns:
        The medium.
      • getMediumBytes

        public 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;
        Specified by:
        getMediumBytes in interface Generated.EmptyDirVolumeSourceOrBuilder
        Returns:
        The bytes for medium.
      • setMedium

        public Generated.EmptyDirVolumeSource.Builder setMedium​(String value)
         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;
        Parameters:
        value - The medium to set.
        Returns:
        This builder for chaining.
      • clearMedium

        public Generated.EmptyDirVolumeSource.Builder clearMedium()
         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:
        This builder for chaining.
      • setMediumBytes

        public Generated.EmptyDirVolumeSource.Builder setMediumBytes​(com.google.protobuf.ByteString value)
         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;
        Parameters:
        value - The bytes for medium to set.
        Returns:
        This builder for chaining.
      • hasSizeLimit

        public 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;
        Specified by:
        hasSizeLimit in interface Generated.EmptyDirVolumeSourceOrBuilder
        Returns:
        Whether the sizeLimit field is set.
      • getSizeLimit

        public 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;
        Specified by:
        getSizeLimit in interface Generated.EmptyDirVolumeSourceOrBuilder
        Returns:
        The sizeLimit.
      • setSizeLimit

        public Generated.EmptyDirVolumeSource.Builder setSizeLimit​(Generated.Quantity value)
         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;
      • setSizeLimit

        public Generated.EmptyDirVolumeSource.Builder setSizeLimit​(Generated.Quantity.Builder builderForValue)
         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;
      • mergeSizeLimit

        public Generated.EmptyDirVolumeSource.Builder mergeSizeLimit​(Generated.Quantity value)
         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;
      • clearSizeLimit

        public Generated.EmptyDirVolumeSource.Builder clearSizeLimit()
         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;
      • getSizeLimitBuilder

        public Generated.Quantity.Builder getSizeLimitBuilder()
         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;
      • getSizeLimitOrBuilder

        public 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;
        Specified by:
        getSizeLimitOrBuilder in interface Generated.EmptyDirVolumeSourceOrBuilder