Class V1beta1Storage.CSIStorageCapacity.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Storage.CSIStorageCapacity.Builder>
io.kubernetes.client.proto.V1beta1Storage.CSIStorageCapacity.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, V1beta1Storage.CSIStorageCapacityOrBuilder, Cloneable
Enclosing class:
V1beta1Storage.CSIStorageCapacity

public static final class V1beta1Storage.CSIStorageCapacity.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Storage.CSIStorageCapacity.Builder> implements V1beta1Storage.CSIStorageCapacityOrBuilder
 CSIStorageCapacity stores the result of one CSI GetCapacity call.
 For a given StorageClass, this describes the available capacity in a
 particular topology segment.  This can be used when considering where to
 instantiate new PersistentVolumes.
 For example this can express things like:
 - StorageClass "standard" has "1234 GiB" available in "topology.kubernetes.io/zone=us-east1"
 - StorageClass "localssd" has "10 GiB" available in "kubernetes.io/hostname=knode-abc123"
 The following three cases all imply that no capacity is available for
 a certain combination:
 - no object exists with suitable topology and storage class name
 - such an object exists, but the capacity is unset
 - such an object exists, but the capacity is zero
 The producer of these objects can decide which approach is more suitable.
 They are consumed by the kube-scheduler if the CSIStorageCapacity beta feature gate
 is enabled there and a CSI driver opts into capacity-aware scheduling with
 CSIDriver.StorageCapacity.
 
Protobuf type k8s.io.api.storage.v1beta1.CSIStorageCapacity
  • Method Details

    • 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<V1beta1Storage.CSIStorageCapacity.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Storage.CSIStorageCapacity.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<V1beta1Storage.CSIStorageCapacity.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public V1beta1Storage.CSIStorageCapacity buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Storage.CSIStorageCapacity.Builder>
    • setField

      public V1beta1Storage.CSIStorageCapacity.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Storage.CSIStorageCapacity.Builder>
    • clearField

      public V1beta1Storage.CSIStorageCapacity.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Storage.CSIStorageCapacity.Builder>
    • clearOneof

      public V1beta1Storage.CSIStorageCapacity.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Storage.CSIStorageCapacity.Builder>
    • setRepeatedField

      public V1beta1Storage.CSIStorageCapacity.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Storage.CSIStorageCapacity.Builder>
    • addRepeatedField

      public V1beta1Storage.CSIStorageCapacity.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Storage.CSIStorageCapacity.Builder>
    • mergeFrom

      public V1beta1Storage.CSIStorageCapacity.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1beta1Storage.CSIStorageCapacity.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Storage.CSIStorageCapacity.Builder>
    • mergeFrom

      public V1beta1Storage.CSIStorageCapacity.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1beta1Storage.CSIStorageCapacity.Builder>
      Throws:
      IOException
    • hasMetadata

      public boolean hasMetadata()
       Standard object's metadata. The name has no particular meaning. It must be
       be a DNS subdomain (dots allowed, 253 characters). To ensure that
       there are no conflicts with other CSI drivers on the cluster, the recommendation
       is to use csisc-<uuid>, a generated name, or a reverse-domain name which ends
       with the unique CSI driver name.
       Objects are namespaced.
       More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
      Specified by:
      hasMetadata in interface V1beta1Storage.CSIStorageCapacityOrBuilder
    • getMetadata

      public Meta.ObjectMeta getMetadata()
       Standard object's metadata. The name has no particular meaning. It must be
       be a DNS subdomain (dots allowed, 253 characters). To ensure that
       there are no conflicts with other CSI drivers on the cluster, the recommendation
       is to use csisc-<uuid>, a generated name, or a reverse-domain name which ends
       with the unique CSI driver name.
       Objects are namespaced.
       More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
      Specified by:
      getMetadata in interface V1beta1Storage.CSIStorageCapacityOrBuilder
    • setMetadata

       Standard object's metadata. The name has no particular meaning. It must be
       be a DNS subdomain (dots allowed, 253 characters). To ensure that
       there are no conflicts with other CSI drivers on the cluster, the recommendation
       is to use csisc-<uuid>, a generated name, or a reverse-domain name which ends
       with the unique CSI driver name.
       Objects are namespaced.
       More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
    • setMetadata

       Standard object's metadata. The name has no particular meaning. It must be
       be a DNS subdomain (dots allowed, 253 characters). To ensure that
       there are no conflicts with other CSI drivers on the cluster, the recommendation
       is to use csisc-<uuid>, a generated name, or a reverse-domain name which ends
       with the unique CSI driver name.
       Objects are namespaced.
       More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
    • mergeMetadata

       Standard object's metadata. The name has no particular meaning. It must be
       be a DNS subdomain (dots allowed, 253 characters). To ensure that
       there are no conflicts with other CSI drivers on the cluster, the recommendation
       is to use csisc-<uuid>, a generated name, or a reverse-domain name which ends
       with the unique CSI driver name.
       Objects are namespaced.
       More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
    • clearMetadata

       Standard object's metadata. The name has no particular meaning. It must be
       be a DNS subdomain (dots allowed, 253 characters). To ensure that
       there are no conflicts with other CSI drivers on the cluster, the recommendation
       is to use csisc-<uuid>, a generated name, or a reverse-domain name which ends
       with the unique CSI driver name.
       Objects are namespaced.
       More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
    • getMetadataBuilder

      public Meta.ObjectMeta.Builder getMetadataBuilder()
       Standard object's metadata. The name has no particular meaning. It must be
       be a DNS subdomain (dots allowed, 253 characters). To ensure that
       there are no conflicts with other CSI drivers on the cluster, the recommendation
       is to use csisc-<uuid>, a generated name, or a reverse-domain name which ends
       with the unique CSI driver name.
       Objects are namespaced.
       More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
    • getMetadataOrBuilder

      public Meta.ObjectMetaOrBuilder getMetadataOrBuilder()
       Standard object's metadata. The name has no particular meaning. It must be
       be a DNS subdomain (dots allowed, 253 characters). To ensure that
       there are no conflicts with other CSI drivers on the cluster, the recommendation
       is to use csisc-<uuid>, a generated name, or a reverse-domain name which ends
       with the unique CSI driver name.
       Objects are namespaced.
       More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
      Specified by:
      getMetadataOrBuilder in interface V1beta1Storage.CSIStorageCapacityOrBuilder
    • hasNodeTopology

      public boolean hasNodeTopology()
       NodeTopology defines which nodes have access to the storage
       for which capacity was reported. If not set, the storage is
       not accessible from any node in the cluster. If empty, the
       storage is accessible from all nodes. This field is
       immutable.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector nodeTopology = 2;
      Specified by:
      hasNodeTopology in interface V1beta1Storage.CSIStorageCapacityOrBuilder
    • getNodeTopology

      public Meta.LabelSelector getNodeTopology()
       NodeTopology defines which nodes have access to the storage
       for which capacity was reported. If not set, the storage is
       not accessible from any node in the cluster. If empty, the
       storage is accessible from all nodes. This field is
       immutable.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector nodeTopology = 2;
      Specified by:
      getNodeTopology in interface V1beta1Storage.CSIStorageCapacityOrBuilder
    • setNodeTopology

       NodeTopology defines which nodes have access to the storage
       for which capacity was reported. If not set, the storage is
       not accessible from any node in the cluster. If empty, the
       storage is accessible from all nodes. This field is
       immutable.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector nodeTopology = 2;
    • setNodeTopology

       NodeTopology defines which nodes have access to the storage
       for which capacity was reported. If not set, the storage is
       not accessible from any node in the cluster. If empty, the
       storage is accessible from all nodes. This field is
       immutable.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector nodeTopology = 2;
    • mergeNodeTopology

       NodeTopology defines which nodes have access to the storage
       for which capacity was reported. If not set, the storage is
       not accessible from any node in the cluster. If empty, the
       storage is accessible from all nodes. This field is
       immutable.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector nodeTopology = 2;
    • clearNodeTopology

      public V1beta1Storage.CSIStorageCapacity.Builder clearNodeTopology()
       NodeTopology defines which nodes have access to the storage
       for which capacity was reported. If not set, the storage is
       not accessible from any node in the cluster. If empty, the
       storage is accessible from all nodes. This field is
       immutable.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector nodeTopology = 2;
    • getNodeTopologyBuilder

      public Meta.LabelSelector.Builder getNodeTopologyBuilder()
       NodeTopology defines which nodes have access to the storage
       for which capacity was reported. If not set, the storage is
       not accessible from any node in the cluster. If empty, the
       storage is accessible from all nodes. This field is
       immutable.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector nodeTopology = 2;
    • getNodeTopologyOrBuilder

      public Meta.LabelSelectorOrBuilder getNodeTopologyOrBuilder()
       NodeTopology defines which nodes have access to the storage
       for which capacity was reported. If not set, the storage is
       not accessible from any node in the cluster. If empty, the
       storage is accessible from all nodes. This field is
       immutable.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector nodeTopology = 2;
      Specified by:
      getNodeTopologyOrBuilder in interface V1beta1Storage.CSIStorageCapacityOrBuilder
    • hasStorageClassName

      public boolean hasStorageClassName()
       The name of the StorageClass that the reported capacity applies to.
       It must meet the same requirements as the name of a StorageClass
       object (non-empty, DNS subdomain). If that object no longer exists,
       the CSIStorageCapacity object is obsolete and should be removed by its
       creator.
       This field is immutable.
       
      optional string storageClassName = 3;
      Specified by:
      hasStorageClassName in interface V1beta1Storage.CSIStorageCapacityOrBuilder
    • getStorageClassName

      public String getStorageClassName()
       The name of the StorageClass that the reported capacity applies to.
       It must meet the same requirements as the name of a StorageClass
       object (non-empty, DNS subdomain). If that object no longer exists,
       the CSIStorageCapacity object is obsolete and should be removed by its
       creator.
       This field is immutable.
       
      optional string storageClassName = 3;
      Specified by:
      getStorageClassName in interface V1beta1Storage.CSIStorageCapacityOrBuilder
    • getStorageClassNameBytes

      public com.google.protobuf.ByteString getStorageClassNameBytes()
       The name of the StorageClass that the reported capacity applies to.
       It must meet the same requirements as the name of a StorageClass
       object (non-empty, DNS subdomain). If that object no longer exists,
       the CSIStorageCapacity object is obsolete and should be removed by its
       creator.
       This field is immutable.
       
      optional string storageClassName = 3;
      Specified by:
      getStorageClassNameBytes in interface V1beta1Storage.CSIStorageCapacityOrBuilder
    • setStorageClassName

      public V1beta1Storage.CSIStorageCapacity.Builder setStorageClassName(String value)
       The name of the StorageClass that the reported capacity applies to.
       It must meet the same requirements as the name of a StorageClass
       object (non-empty, DNS subdomain). If that object no longer exists,
       the CSIStorageCapacity object is obsolete and should be removed by its
       creator.
       This field is immutable.
       
      optional string storageClassName = 3;
    • clearStorageClassName

      public V1beta1Storage.CSIStorageCapacity.Builder clearStorageClassName()
       The name of the StorageClass that the reported capacity applies to.
       It must meet the same requirements as the name of a StorageClass
       object (non-empty, DNS subdomain). If that object no longer exists,
       the CSIStorageCapacity object is obsolete and should be removed by its
       creator.
       This field is immutable.
       
      optional string storageClassName = 3;
    • setStorageClassNameBytes

      public V1beta1Storage.CSIStorageCapacity.Builder setStorageClassNameBytes(com.google.protobuf.ByteString value)
       The name of the StorageClass that the reported capacity applies to.
       It must meet the same requirements as the name of a StorageClass
       object (non-empty, DNS subdomain). If that object no longer exists,
       the CSIStorageCapacity object is obsolete and should be removed by its
       creator.
       This field is immutable.
       
      optional string storageClassName = 3;
    • hasCapacity

      public boolean hasCapacity()
       Capacity is the value reported by the CSI driver in its GetCapacityResponse
       for a GetCapacityRequest with topology and parameters that match the
       previous fields.
       The semantic is currently (CSI spec 1.2) defined as:
       The available capacity, in bytes, of the storage that can be used
       to provision volumes. If not set, that information is currently
       unavailable and treated like zero capacity.
       +optional
       
      optional .k8s.io.apimachinery.pkg.api.resource.Quantity capacity = 4;
      Specified by:
      hasCapacity in interface V1beta1Storage.CSIStorageCapacityOrBuilder
    • getCapacity

      public Resource.Quantity getCapacity()
       Capacity is the value reported by the CSI driver in its GetCapacityResponse
       for a GetCapacityRequest with topology and parameters that match the
       previous fields.
       The semantic is currently (CSI spec 1.2) defined as:
       The available capacity, in bytes, of the storage that can be used
       to provision volumes. If not set, that information is currently
       unavailable and treated like zero capacity.
       +optional
       
      optional .k8s.io.apimachinery.pkg.api.resource.Quantity capacity = 4;
      Specified by:
      getCapacity in interface V1beta1Storage.CSIStorageCapacityOrBuilder
    • setCapacity

       Capacity is the value reported by the CSI driver in its GetCapacityResponse
       for a GetCapacityRequest with topology and parameters that match the
       previous fields.
       The semantic is currently (CSI spec 1.2) defined as:
       The available capacity, in bytes, of the storage that can be used
       to provision volumes. If not set, that information is currently
       unavailable and treated like zero capacity.
       +optional
       
      optional .k8s.io.apimachinery.pkg.api.resource.Quantity capacity = 4;
    • setCapacity

       Capacity is the value reported by the CSI driver in its GetCapacityResponse
       for a GetCapacityRequest with topology and parameters that match the
       previous fields.
       The semantic is currently (CSI spec 1.2) defined as:
       The available capacity, in bytes, of the storage that can be used
       to provision volumes. If not set, that information is currently
       unavailable and treated like zero capacity.
       +optional
       
      optional .k8s.io.apimachinery.pkg.api.resource.Quantity capacity = 4;
    • mergeCapacity

       Capacity is the value reported by the CSI driver in its GetCapacityResponse
       for a GetCapacityRequest with topology and parameters that match the
       previous fields.
       The semantic is currently (CSI spec 1.2) defined as:
       The available capacity, in bytes, of the storage that can be used
       to provision volumes. If not set, that information is currently
       unavailable and treated like zero capacity.
       +optional
       
      optional .k8s.io.apimachinery.pkg.api.resource.Quantity capacity = 4;
    • clearCapacity

       Capacity is the value reported by the CSI driver in its GetCapacityResponse
       for a GetCapacityRequest with topology and parameters that match the
       previous fields.
       The semantic is currently (CSI spec 1.2) defined as:
       The available capacity, in bytes, of the storage that can be used
       to provision volumes. If not set, that information is currently
       unavailable and treated like zero capacity.
       +optional
       
      optional .k8s.io.apimachinery.pkg.api.resource.Quantity capacity = 4;
    • getCapacityBuilder

      public Resource.Quantity.Builder getCapacityBuilder()
       Capacity is the value reported by the CSI driver in its GetCapacityResponse
       for a GetCapacityRequest with topology and parameters that match the
       previous fields.
       The semantic is currently (CSI spec 1.2) defined as:
       The available capacity, in bytes, of the storage that can be used
       to provision volumes. If not set, that information is currently
       unavailable and treated like zero capacity.
       +optional
       
      optional .k8s.io.apimachinery.pkg.api.resource.Quantity capacity = 4;
    • getCapacityOrBuilder

      public Resource.QuantityOrBuilder getCapacityOrBuilder()
       Capacity is the value reported by the CSI driver in its GetCapacityResponse
       for a GetCapacityRequest with topology and parameters that match the
       previous fields.
       The semantic is currently (CSI spec 1.2) defined as:
       The available capacity, in bytes, of the storage that can be used
       to provision volumes. If not set, that information is currently
       unavailable and treated like zero capacity.
       +optional
       
      optional .k8s.io.apimachinery.pkg.api.resource.Quantity capacity = 4;
      Specified by:
      getCapacityOrBuilder in interface V1beta1Storage.CSIStorageCapacityOrBuilder
    • hasMaximumVolumeSize

      public boolean hasMaximumVolumeSize()
       MaximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse
       for a GetCapacityRequest with topology and parameters that match the
       previous fields.
       This is defined since CSI spec 1.4.0 as the largest size
       that may be used in a
       CreateVolumeRequest.capacity_range.required_bytes field to
       create a volume with the same parameters as those in
       GetCapacityRequest. The corresponding value in the Kubernetes
       API is ResourceRequirements.Requests in a volume claim.
       +optional
       
      optional .k8s.io.apimachinery.pkg.api.resource.Quantity maximumVolumeSize = 5;
      Specified by:
      hasMaximumVolumeSize in interface V1beta1Storage.CSIStorageCapacityOrBuilder
    • getMaximumVolumeSize

      public Resource.Quantity getMaximumVolumeSize()
       MaximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse
       for a GetCapacityRequest with topology and parameters that match the
       previous fields.
       This is defined since CSI spec 1.4.0 as the largest size
       that may be used in a
       CreateVolumeRequest.capacity_range.required_bytes field to
       create a volume with the same parameters as those in
       GetCapacityRequest. The corresponding value in the Kubernetes
       API is ResourceRequirements.Requests in a volume claim.
       +optional
       
      optional .k8s.io.apimachinery.pkg.api.resource.Quantity maximumVolumeSize = 5;
      Specified by:
      getMaximumVolumeSize in interface V1beta1Storage.CSIStorageCapacityOrBuilder
    • setMaximumVolumeSize

      public V1beta1Storage.CSIStorageCapacity.Builder setMaximumVolumeSize(Resource.Quantity value)
       MaximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse
       for a GetCapacityRequest with topology and parameters that match the
       previous fields.
       This is defined since CSI spec 1.4.0 as the largest size
       that may be used in a
       CreateVolumeRequest.capacity_range.required_bytes field to
       create a volume with the same parameters as those in
       GetCapacityRequest. The corresponding value in the Kubernetes
       API is ResourceRequirements.Requests in a volume claim.
       +optional
       
      optional .k8s.io.apimachinery.pkg.api.resource.Quantity maximumVolumeSize = 5;
    • setMaximumVolumeSize

      public V1beta1Storage.CSIStorageCapacity.Builder setMaximumVolumeSize(Resource.Quantity.Builder builderForValue)
       MaximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse
       for a GetCapacityRequest with topology and parameters that match the
       previous fields.
       This is defined since CSI spec 1.4.0 as the largest size
       that may be used in a
       CreateVolumeRequest.capacity_range.required_bytes field to
       create a volume with the same parameters as those in
       GetCapacityRequest. The corresponding value in the Kubernetes
       API is ResourceRequirements.Requests in a volume claim.
       +optional
       
      optional .k8s.io.apimachinery.pkg.api.resource.Quantity maximumVolumeSize = 5;
    • mergeMaximumVolumeSize

      public V1beta1Storage.CSIStorageCapacity.Builder mergeMaximumVolumeSize(Resource.Quantity value)
       MaximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse
       for a GetCapacityRequest with topology and parameters that match the
       previous fields.
       This is defined since CSI spec 1.4.0 as the largest size
       that may be used in a
       CreateVolumeRequest.capacity_range.required_bytes field to
       create a volume with the same parameters as those in
       GetCapacityRequest. The corresponding value in the Kubernetes
       API is ResourceRequirements.Requests in a volume claim.
       +optional
       
      optional .k8s.io.apimachinery.pkg.api.resource.Quantity maximumVolumeSize = 5;
    • clearMaximumVolumeSize

      public V1beta1Storage.CSIStorageCapacity.Builder clearMaximumVolumeSize()
       MaximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse
       for a GetCapacityRequest with topology and parameters that match the
       previous fields.
       This is defined since CSI spec 1.4.0 as the largest size
       that may be used in a
       CreateVolumeRequest.capacity_range.required_bytes field to
       create a volume with the same parameters as those in
       GetCapacityRequest. The corresponding value in the Kubernetes
       API is ResourceRequirements.Requests in a volume claim.
       +optional
       
      optional .k8s.io.apimachinery.pkg.api.resource.Quantity maximumVolumeSize = 5;
    • getMaximumVolumeSizeBuilder

      public Resource.Quantity.Builder getMaximumVolumeSizeBuilder()
       MaximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse
       for a GetCapacityRequest with topology and parameters that match the
       previous fields.
       This is defined since CSI spec 1.4.0 as the largest size
       that may be used in a
       CreateVolumeRequest.capacity_range.required_bytes field to
       create a volume with the same parameters as those in
       GetCapacityRequest. The corresponding value in the Kubernetes
       API is ResourceRequirements.Requests in a volume claim.
       +optional
       
      optional .k8s.io.apimachinery.pkg.api.resource.Quantity maximumVolumeSize = 5;
    • getMaximumVolumeSizeOrBuilder

      public Resource.QuantityOrBuilder getMaximumVolumeSizeOrBuilder()
       MaximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse
       for a GetCapacityRequest with topology and parameters that match the
       previous fields.
       This is defined since CSI spec 1.4.0 as the largest size
       that may be used in a
       CreateVolumeRequest.capacity_range.required_bytes field to
       create a volume with the same parameters as those in
       GetCapacityRequest. The corresponding value in the Kubernetes
       API is ResourceRequirements.Requests in a volume claim.
       +optional
       
      optional .k8s.io.apimachinery.pkg.api.resource.Quantity maximumVolumeSize = 5;
      Specified by:
      getMaximumVolumeSizeOrBuilder in interface V1beta1Storage.CSIStorageCapacityOrBuilder
    • setUnknownFields

      public final V1beta1Storage.CSIStorageCapacity.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Storage.CSIStorageCapacity.Builder>
    • mergeUnknownFields

      public final V1beta1Storage.CSIStorageCapacity.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Storage.CSIStorageCapacity.Builder>