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| Modifier and Type | Method and Description |
|---|---|
V1beta1Storage.CSIStorageCapacity.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1beta1Storage.CSIStorageCapacity |
build() |
V1beta1Storage.CSIStorageCapacity |
buildPartial() |
V1beta1Storage.CSIStorageCapacity.Builder |
clear() |
V1beta1Storage.CSIStorageCapacity.Builder |
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.
|
V1beta1Storage.CSIStorageCapacity.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
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.
|
V1beta1Storage.CSIStorageCapacity.Builder |
clearMetadata()
Standard object's metadata.
|
V1beta1Storage.CSIStorageCapacity.Builder |
clearNodeTopology()
NodeTopology defines which nodes have access to the storage
for which capacity was reported.
|
V1beta1Storage.CSIStorageCapacity.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1beta1Storage.CSIStorageCapacity.Builder |
clearStorageClassName()
The name of the StorageClass that the reported capacity applies to.
|
V1beta1Storage.CSIStorageCapacity.Builder |
clone() |
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.
|
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.
|
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.
|
V1beta1Storage.CSIStorageCapacity |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
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.
|
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.
|
Meta.ObjectMeta |
getMetadata()
Standard object's metadata.
|
Meta.ObjectMeta.Builder |
getMetadataBuilder()
Standard object's metadata.
|
Meta.ObjectMetaOrBuilder |
getMetadataOrBuilder()
Standard object's metadata.
|
Meta.LabelSelector |
getNodeTopology()
NodeTopology defines which nodes have access to the storage
for which capacity was reported.
|
Meta.LabelSelector.Builder |
getNodeTopologyBuilder()
NodeTopology defines which nodes have access to the storage
for which capacity was reported.
|
Meta.LabelSelectorOrBuilder |
getNodeTopologyOrBuilder()
NodeTopology defines which nodes have access to the storage
for which capacity was reported.
|
String |
getStorageClassName()
The name of the StorageClass that the reported capacity applies to.
|
com.google.protobuf.ByteString |
getStorageClassNameBytes()
The name of the StorageClass that the reported capacity applies to.
|
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.
|
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.
|
boolean |
hasMetadata()
Standard object's metadata.
|
boolean |
hasNodeTopology()
NodeTopology defines which nodes have access to the storage
for which capacity was reported.
|
boolean |
hasStorageClassName()
The name of the StorageClass that the reported capacity applies to.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1beta1Storage.CSIStorageCapacity.Builder |
mergeCapacity(Resource.Quantity value)
Capacity is the value reported by the CSI driver in its GetCapacityResponse
for a GetCapacityRequest with topology and parameters that match the
previous fields.
|
V1beta1Storage.CSIStorageCapacity.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1beta1Storage.CSIStorageCapacity.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1beta1Storage.CSIStorageCapacity.Builder |
mergeFrom(V1beta1Storage.CSIStorageCapacity other) |
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.
|
V1beta1Storage.CSIStorageCapacity.Builder |
mergeMetadata(Meta.ObjectMeta value)
Standard object's metadata.
|
V1beta1Storage.CSIStorageCapacity.Builder |
mergeNodeTopology(Meta.LabelSelector value)
NodeTopology defines which nodes have access to the storage
for which capacity was reported.
|
V1beta1Storage.CSIStorageCapacity.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1beta1Storage.CSIStorageCapacity.Builder |
setCapacity(Resource.Quantity.Builder builderForValue)
Capacity is the value reported by the CSI driver in its GetCapacityResponse
for a GetCapacityRequest with topology and parameters that match the
previous fields.
|
V1beta1Storage.CSIStorageCapacity.Builder |
setCapacity(Resource.Quantity value)
Capacity is the value reported by the CSI driver in its GetCapacityResponse
for a GetCapacityRequest with topology and parameters that match the
previous fields.
|
V1beta1Storage.CSIStorageCapacity.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
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.
|
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.
|
V1beta1Storage.CSIStorageCapacity.Builder |
setMetadata(Meta.ObjectMeta.Builder builderForValue)
Standard object's metadata.
|
V1beta1Storage.CSIStorageCapacity.Builder |
setMetadata(Meta.ObjectMeta value)
Standard object's metadata.
|
V1beta1Storage.CSIStorageCapacity.Builder |
setNodeTopology(Meta.LabelSelector.Builder builderForValue)
NodeTopology defines which nodes have access to the storage
for which capacity was reported.
|
V1beta1Storage.CSIStorageCapacity.Builder |
setNodeTopology(Meta.LabelSelector value)
NodeTopology defines which nodes have access to the storage
for which capacity was reported.
|
V1beta1Storage.CSIStorageCapacity.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1beta1Storage.CSIStorageCapacity.Builder |
setStorageClassName(String value)
The name of the StorageClass that the reported capacity applies to.
|
V1beta1Storage.CSIStorageCapacity.Builder |
setStorageClassNameBytes(com.google.protobuf.ByteString value)
The name of the StorageClass that the reported capacity applies to.
|
V1beta1Storage.CSIStorageCapacity.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Storage.CSIStorageCapacity.Builder>public V1beta1Storage.CSIStorageCapacity.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Storage.CSIStorageCapacity.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Storage.CSIStorageCapacity.Builder>public V1beta1Storage.CSIStorageCapacity getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1beta1Storage.CSIStorageCapacity build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1beta1Storage.CSIStorageCapacity buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1beta1Storage.CSIStorageCapacity.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Storage.CSIStorageCapacity.Builder>public V1beta1Storage.CSIStorageCapacity.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Storage.CSIStorageCapacity.Builder>public V1beta1Storage.CSIStorageCapacity.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Storage.CSIStorageCapacity.Builder>public V1beta1Storage.CSIStorageCapacity.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Storage.CSIStorageCapacity.Builder>public V1beta1Storage.CSIStorageCapacity.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Storage.CSIStorageCapacity.Builder>public V1beta1Storage.CSIStorageCapacity.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Storage.CSIStorageCapacity.Builder>public V1beta1Storage.CSIStorageCapacity.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1beta1Storage.CSIStorageCapacity.Builder>public V1beta1Storage.CSIStorageCapacity.Builder mergeFrom(V1beta1Storage.CSIStorageCapacity other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Storage.CSIStorageCapacity.Builder>public V1beta1Storage.CSIStorageCapacity.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1beta1Storage.CSIStorageCapacity.Builder>IOExceptionpublic 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;hasMetadata in interface V1beta1Storage.CSIStorageCapacityOrBuilderpublic 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;getMetadata in interface V1beta1Storage.CSIStorageCapacityOrBuilderpublic V1beta1Storage.CSIStorageCapacity.Builder setMetadata(Meta.ObjectMeta value)
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;public V1beta1Storage.CSIStorageCapacity.Builder setMetadata(Meta.ObjectMeta.Builder builderForValue)
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;public V1beta1Storage.CSIStorageCapacity.Builder mergeMetadata(Meta.ObjectMeta value)
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;public V1beta1Storage.CSIStorageCapacity.Builder 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;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;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;getMetadataOrBuilder in interface V1beta1Storage.CSIStorageCapacityOrBuilderpublic 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;hasNodeTopology in interface V1beta1Storage.CSIStorageCapacityOrBuilderpublic 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;getNodeTopology in interface V1beta1Storage.CSIStorageCapacityOrBuilderpublic V1beta1Storage.CSIStorageCapacity.Builder setNodeTopology(Meta.LabelSelector value)
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;public V1beta1Storage.CSIStorageCapacity.Builder setNodeTopology(Meta.LabelSelector.Builder builderForValue)
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;public V1beta1Storage.CSIStorageCapacity.Builder mergeNodeTopology(Meta.LabelSelector value)
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;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;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;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;getNodeTopologyOrBuilder in interface V1beta1Storage.CSIStorageCapacityOrBuilderpublic 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;hasStorageClassName in interface V1beta1Storage.CSIStorageCapacityOrBuilderpublic 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;getStorageClassName in interface V1beta1Storage.CSIStorageCapacityOrBuilderpublic 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;getStorageClassNameBytes in interface V1beta1Storage.CSIStorageCapacityOrBuilderpublic 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;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;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;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;hasCapacity in interface V1beta1Storage.CSIStorageCapacityOrBuilderpublic 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;getCapacity in interface V1beta1Storage.CSIStorageCapacityOrBuilderpublic V1beta1Storage.CSIStorageCapacity.Builder setCapacity(Resource.Quantity value)
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;public V1beta1Storage.CSIStorageCapacity.Builder setCapacity(Resource.Quantity.Builder builderForValue)
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;public V1beta1Storage.CSIStorageCapacity.Builder mergeCapacity(Resource.Quantity value)
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;public V1beta1Storage.CSIStorageCapacity.Builder 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;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;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;getCapacityOrBuilder in interface V1beta1Storage.CSIStorageCapacityOrBuilderpublic 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;hasMaximumVolumeSize in interface V1beta1Storage.CSIStorageCapacityOrBuilderpublic 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;getMaximumVolumeSize in interface V1beta1Storage.CSIStorageCapacityOrBuilderpublic 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;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;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;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;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;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;getMaximumVolumeSizeOrBuilder in interface V1beta1Storage.CSIStorageCapacityOrBuilderpublic final V1beta1Storage.CSIStorageCapacity.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Storage.CSIStorageCapacity.Builder>public final V1beta1Storage.CSIStorageCapacity.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Storage.CSIStorageCapacity.Builder>Copyright © 2023. All rights reserved.