Class Generated.PersistentVolumeClaimStatus.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection​(int number)
        Overrides:
        internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.PersistentVolumeClaimStatus.Builder>
      • internalGetMutableMapFieldReflection

        protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection​(int number)
        Overrides:
        internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.PersistentVolumeClaimStatus.Builder>
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.PersistentVolumeClaimStatus.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.PersistentVolumeClaimStatus.Builder>
      • getDefaultInstanceForType

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

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

        public Generated.PersistentVolumeClaimStatus 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.PersistentVolumeClaimStatus.Builder>
      • setPhase

        public Generated.PersistentVolumeClaimStatus.Builder setPhase​(String value)
         phase represents the current phase of PersistentVolumeClaim.
         +optional
         
        optional string phase = 1;
        Parameters:
        value - The phase to set.
        Returns:
        This builder for chaining.
      • setPhaseBytes

        public Generated.PersistentVolumeClaimStatus.Builder setPhaseBytes​(com.google.protobuf.ByteString value)
         phase represents the current phase of PersistentVolumeClaim.
         +optional
         
        optional string phase = 1;
        Parameters:
        value - The bytes for phase to set.
        Returns:
        This builder for chaining.
      • getAccessModesList

        public com.google.protobuf.ProtocolStringList getAccessModesList()
         accessModes contains the actual access modes the volume backing the PVC has.
         More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
         +optional
         +listType=atomic
         
        repeated string accessModes = 2;
        Specified by:
        getAccessModesList in interface Generated.PersistentVolumeClaimStatusOrBuilder
        Returns:
        A list containing the accessModes.
      • getAccessModesCount

        public int getAccessModesCount()
         accessModes contains the actual access modes the volume backing the PVC has.
         More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
         +optional
         +listType=atomic
         
        repeated string accessModes = 2;
        Specified by:
        getAccessModesCount in interface Generated.PersistentVolumeClaimStatusOrBuilder
        Returns:
        The count of accessModes.
      • getAccessModes

        public String getAccessModes​(int index)
         accessModes contains the actual access modes the volume backing the PVC has.
         More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
         +optional
         +listType=atomic
         
        repeated string accessModes = 2;
        Specified by:
        getAccessModes in interface Generated.PersistentVolumeClaimStatusOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The accessModes at the given index.
      • getAccessModesBytes

        public com.google.protobuf.ByteString getAccessModesBytes​(int index)
         accessModes contains the actual access modes the volume backing the PVC has.
         More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
         +optional
         +listType=atomic
         
        repeated string accessModes = 2;
        Specified by:
        getAccessModesBytes in interface Generated.PersistentVolumeClaimStatusOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the accessModes at the given index.
      • setAccessModes

        public Generated.PersistentVolumeClaimStatus.Builder setAccessModes​(int index,
                                                                            String value)
         accessModes contains the actual access modes the volume backing the PVC has.
         More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
         +optional
         +listType=atomic
         
        repeated string accessModes = 2;
        Parameters:
        index - The index to set the value at.
        value - The accessModes to set.
        Returns:
        This builder for chaining.
      • addAccessModes

        public Generated.PersistentVolumeClaimStatus.Builder addAccessModes​(String value)
         accessModes contains the actual access modes the volume backing the PVC has.
         More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
         +optional
         +listType=atomic
         
        repeated string accessModes = 2;
        Parameters:
        value - The accessModes to add.
        Returns:
        This builder for chaining.
      • addAllAccessModes

        public Generated.PersistentVolumeClaimStatus.Builder addAllAccessModes​(Iterable<String> values)
         accessModes contains the actual access modes the volume backing the PVC has.
         More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
         +optional
         +listType=atomic
         
        repeated string accessModes = 2;
        Parameters:
        values - The accessModes to add.
        Returns:
        This builder for chaining.
      • clearAccessModes

        public Generated.PersistentVolumeClaimStatus.Builder clearAccessModes()
         accessModes contains the actual access modes the volume backing the PVC has.
         More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
         +optional
         +listType=atomic
         
        repeated string accessModes = 2;
        Returns:
        This builder for chaining.
      • addAccessModesBytes

        public Generated.PersistentVolumeClaimStatus.Builder addAccessModesBytes​(com.google.protobuf.ByteString value)
         accessModes contains the actual access modes the volume backing the PVC has.
         More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
         +optional
         +listType=atomic
         
        repeated string accessModes = 2;
        Parameters:
        value - The bytes of the accessModes to add.
        Returns:
        This builder for chaining.
      • putCapacityBuilderIfAbsent

        public Generated.Quantity.Builder putCapacityBuilderIfAbsent​(String key)
         capacity represents the actual resources of the underlying volume.
         +optional
         
        map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> capacity = 3;
      • getConditionsCount

        public int getConditionsCount()
         conditions is the current Condition of persistent volume claim. If underlying persistent volume is being
         resized then the Condition will be set to 'Resizing'.
         +optional
         +patchMergeKey=type
         +patchStrategy=merge
         +listType=map
         +listMapKey=type
         
        repeated .k8s.io.api.core.v1.PersistentVolumeClaimCondition conditions = 4;
        Specified by:
        getConditionsCount in interface Generated.PersistentVolumeClaimStatusOrBuilder
      • getConditions

        public Generated.PersistentVolumeClaimCondition getConditions​(int index)
         conditions is the current Condition of persistent volume claim. If underlying persistent volume is being
         resized then the Condition will be set to 'Resizing'.
         +optional
         +patchMergeKey=type
         +patchStrategy=merge
         +listType=map
         +listMapKey=type
         
        repeated .k8s.io.api.core.v1.PersistentVolumeClaimCondition conditions = 4;
        Specified by:
        getConditions in interface Generated.PersistentVolumeClaimStatusOrBuilder
      • setConditions

        public Generated.PersistentVolumeClaimStatus.Builder setConditions​(int index,
                                                                           Generated.PersistentVolumeClaimCondition value)
         conditions is the current Condition of persistent volume claim. If underlying persistent volume is being
         resized then the Condition will be set to 'Resizing'.
         +optional
         +patchMergeKey=type
         +patchStrategy=merge
         +listType=map
         +listMapKey=type
         
        repeated .k8s.io.api.core.v1.PersistentVolumeClaimCondition conditions = 4;
      • setConditions

        public Generated.PersistentVolumeClaimStatus.Builder setConditions​(int index,
                                                                           Generated.PersistentVolumeClaimCondition.Builder builderForValue)
         conditions is the current Condition of persistent volume claim. If underlying persistent volume is being
         resized then the Condition will be set to 'Resizing'.
         +optional
         +patchMergeKey=type
         +patchStrategy=merge
         +listType=map
         +listMapKey=type
         
        repeated .k8s.io.api.core.v1.PersistentVolumeClaimCondition conditions = 4;
      • addConditions

        public Generated.PersistentVolumeClaimStatus.Builder addConditions​(Generated.PersistentVolumeClaimCondition value)
         conditions is the current Condition of persistent volume claim. If underlying persistent volume is being
         resized then the Condition will be set to 'Resizing'.
         +optional
         +patchMergeKey=type
         +patchStrategy=merge
         +listType=map
         +listMapKey=type
         
        repeated .k8s.io.api.core.v1.PersistentVolumeClaimCondition conditions = 4;
      • addConditions

        public Generated.PersistentVolumeClaimStatus.Builder addConditions​(int index,
                                                                           Generated.PersistentVolumeClaimCondition value)
         conditions is the current Condition of persistent volume claim. If underlying persistent volume is being
         resized then the Condition will be set to 'Resizing'.
         +optional
         +patchMergeKey=type
         +patchStrategy=merge
         +listType=map
         +listMapKey=type
         
        repeated .k8s.io.api.core.v1.PersistentVolumeClaimCondition conditions = 4;
      • addConditions

        public Generated.PersistentVolumeClaimStatus.Builder addConditions​(Generated.PersistentVolumeClaimCondition.Builder builderForValue)
         conditions is the current Condition of persistent volume claim. If underlying persistent volume is being
         resized then the Condition will be set to 'Resizing'.
         +optional
         +patchMergeKey=type
         +patchStrategy=merge
         +listType=map
         +listMapKey=type
         
        repeated .k8s.io.api.core.v1.PersistentVolumeClaimCondition conditions = 4;
      • addConditions

        public Generated.PersistentVolumeClaimStatus.Builder addConditions​(int index,
                                                                           Generated.PersistentVolumeClaimCondition.Builder builderForValue)
         conditions is the current Condition of persistent volume claim. If underlying persistent volume is being
         resized then the Condition will be set to 'Resizing'.
         +optional
         +patchMergeKey=type
         +patchStrategy=merge
         +listType=map
         +listMapKey=type
         
        repeated .k8s.io.api.core.v1.PersistentVolumeClaimCondition conditions = 4;
      • addAllConditions

        public Generated.PersistentVolumeClaimStatus.Builder addAllConditions​(Iterable<? extends Generated.PersistentVolumeClaimCondition> values)
         conditions is the current Condition of persistent volume claim. If underlying persistent volume is being
         resized then the Condition will be set to 'Resizing'.
         +optional
         +patchMergeKey=type
         +patchStrategy=merge
         +listType=map
         +listMapKey=type
         
        repeated .k8s.io.api.core.v1.PersistentVolumeClaimCondition conditions = 4;
      • clearConditions

        public Generated.PersistentVolumeClaimStatus.Builder clearConditions()
         conditions is the current Condition of persistent volume claim. If underlying persistent volume is being
         resized then the Condition will be set to 'Resizing'.
         +optional
         +patchMergeKey=type
         +patchStrategy=merge
         +listType=map
         +listMapKey=type
         
        repeated .k8s.io.api.core.v1.PersistentVolumeClaimCondition conditions = 4;
      • removeConditions

        public Generated.PersistentVolumeClaimStatus.Builder removeConditions​(int index)
         conditions is the current Condition of persistent volume claim. If underlying persistent volume is being
         resized then the Condition will be set to 'Resizing'.
         +optional
         +patchMergeKey=type
         +patchStrategy=merge
         +listType=map
         +listMapKey=type
         
        repeated .k8s.io.api.core.v1.PersistentVolumeClaimCondition conditions = 4;
      • getConditionsBuilder

        public Generated.PersistentVolumeClaimCondition.Builder getConditionsBuilder​(int index)
         conditions is the current Condition of persistent volume claim. If underlying persistent volume is being
         resized then the Condition will be set to 'Resizing'.
         +optional
         +patchMergeKey=type
         +patchStrategy=merge
         +listType=map
         +listMapKey=type
         
        repeated .k8s.io.api.core.v1.PersistentVolumeClaimCondition conditions = 4;
      • addConditionsBuilder

        public Generated.PersistentVolumeClaimCondition.Builder addConditionsBuilder()
         conditions is the current Condition of persistent volume claim. If underlying persistent volume is being
         resized then the Condition will be set to 'Resizing'.
         +optional
         +patchMergeKey=type
         +patchStrategy=merge
         +listType=map
         +listMapKey=type
         
        repeated .k8s.io.api.core.v1.PersistentVolumeClaimCondition conditions = 4;
      • addConditionsBuilder

        public Generated.PersistentVolumeClaimCondition.Builder addConditionsBuilder​(int index)
         conditions is the current Condition of persistent volume claim. If underlying persistent volume is being
         resized then the Condition will be set to 'Resizing'.
         +optional
         +patchMergeKey=type
         +patchStrategy=merge
         +listType=map
         +listMapKey=type
         
        repeated .k8s.io.api.core.v1.PersistentVolumeClaimCondition conditions = 4;
      • getConditionsBuilderList

        public List<Generated.PersistentVolumeClaimCondition.Builder> getConditionsBuilderList()
         conditions is the current Condition of persistent volume claim. If underlying persistent volume is being
         resized then the Condition will be set to 'Resizing'.
         +optional
         +patchMergeKey=type
         +patchStrategy=merge
         +listType=map
         +listMapKey=type
         
        repeated .k8s.io.api.core.v1.PersistentVolumeClaimCondition conditions = 4;
      • getAllocatedResourcesCount

        public int getAllocatedResourcesCount()
        Description copied from interface: Generated.PersistentVolumeClaimStatusOrBuilder
         allocatedResources tracks the resources allocated to a PVC including its capacity.
         Key names follow standard Kubernetes label syntax. Valid values are either:
                * Un-prefixed keys:
                        - storage - the capacity of the volume.
                * Custom resources must use implementation-defined prefixed names such as "example.com/my-custom-resource"
         Apart from above values - keys that are unprefixed or have kubernetes.io prefix are considered
         reserved and hence may not be used.
        
         Capacity reported here may be larger than the actual capacity when a volume expansion operation
         is requested.
         For storage quota, the larger value from allocatedResources and PVC.spec.resources is used.
         If allocatedResources is not set, PVC.spec.resources alone is used for quota calculation.
         If a volume expansion capacity request is lowered, allocatedResources is only
         lowered if there are no expansion operations in progress and if the actual volume capacity
         is equal or lower than the requested capacity.
        
         A controller that receives PVC update with previously unknown resourceName
         should ignore the update for the purpose it was designed. For example - a controller that
         only is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid
         resources associated with PVC.
        
         This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.
         +featureGate=RecoverVolumeExpansionFailure
         +optional
         
        map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> allocatedResources = 5;
        Specified by:
        getAllocatedResourcesCount in interface Generated.PersistentVolumeClaimStatusOrBuilder
      • containsAllocatedResources

        public boolean containsAllocatedResources​(String key)
         allocatedResources tracks the resources allocated to a PVC including its capacity.
         Key names follow standard Kubernetes label syntax. Valid values are either:
                * Un-prefixed keys:
                        - storage - the capacity of the volume.
                * Custom resources must use implementation-defined prefixed names such as "example.com/my-custom-resource"
         Apart from above values - keys that are unprefixed or have kubernetes.io prefix are considered
         reserved and hence may not be used.
        
         Capacity reported here may be larger than the actual capacity when a volume expansion operation
         is requested.
         For storage quota, the larger value from allocatedResources and PVC.spec.resources is used.
         If allocatedResources is not set, PVC.spec.resources alone is used for quota calculation.
         If a volume expansion capacity request is lowered, allocatedResources is only
         lowered if there are no expansion operations in progress and if the actual volume capacity
         is equal or lower than the requested capacity.
        
         A controller that receives PVC update with previously unknown resourceName
         should ignore the update for the purpose it was designed. For example - a controller that
         only is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid
         resources associated with PVC.
        
         This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.
         +featureGate=RecoverVolumeExpansionFailure
         +optional
         
        map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> allocatedResources = 5;
        Specified by:
        containsAllocatedResources in interface Generated.PersistentVolumeClaimStatusOrBuilder
      • getAllocatedResourcesMap

        public Map<String,​Generated.Quantity> getAllocatedResourcesMap()
         allocatedResources tracks the resources allocated to a PVC including its capacity.
         Key names follow standard Kubernetes label syntax. Valid values are either:
                * Un-prefixed keys:
                        - storage - the capacity of the volume.
                * Custom resources must use implementation-defined prefixed names such as "example.com/my-custom-resource"
         Apart from above values - keys that are unprefixed or have kubernetes.io prefix are considered
         reserved and hence may not be used.
        
         Capacity reported here may be larger than the actual capacity when a volume expansion operation
         is requested.
         For storage quota, the larger value from allocatedResources and PVC.spec.resources is used.
         If allocatedResources is not set, PVC.spec.resources alone is used for quota calculation.
         If a volume expansion capacity request is lowered, allocatedResources is only
         lowered if there are no expansion operations in progress and if the actual volume capacity
         is equal or lower than the requested capacity.
        
         A controller that receives PVC update with previously unknown resourceName
         should ignore the update for the purpose it was designed. For example - a controller that
         only is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid
         resources associated with PVC.
        
         This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.
         +featureGate=RecoverVolumeExpansionFailure
         +optional
         
        map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> allocatedResources = 5;
        Specified by:
        getAllocatedResourcesMap in interface Generated.PersistentVolumeClaimStatusOrBuilder
      • getAllocatedResourcesOrDefault

        public Generated.Quantity getAllocatedResourcesOrDefault​(String key,
                                                                 Generated.Quantity defaultValue)
         allocatedResources tracks the resources allocated to a PVC including its capacity.
         Key names follow standard Kubernetes label syntax. Valid values are either:
                * Un-prefixed keys:
                        - storage - the capacity of the volume.
                * Custom resources must use implementation-defined prefixed names such as "example.com/my-custom-resource"
         Apart from above values - keys that are unprefixed or have kubernetes.io prefix are considered
         reserved and hence may not be used.
        
         Capacity reported here may be larger than the actual capacity when a volume expansion operation
         is requested.
         For storage quota, the larger value from allocatedResources and PVC.spec.resources is used.
         If allocatedResources is not set, PVC.spec.resources alone is used for quota calculation.
         If a volume expansion capacity request is lowered, allocatedResources is only
         lowered if there are no expansion operations in progress and if the actual volume capacity
         is equal or lower than the requested capacity.
        
         A controller that receives PVC update with previously unknown resourceName
         should ignore the update for the purpose it was designed. For example - a controller that
         only is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid
         resources associated with PVC.
        
         This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.
         +featureGate=RecoverVolumeExpansionFailure
         +optional
         
        map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> allocatedResources = 5;
        Specified by:
        getAllocatedResourcesOrDefault in interface Generated.PersistentVolumeClaimStatusOrBuilder
      • getAllocatedResourcesOrThrow

        public Generated.Quantity getAllocatedResourcesOrThrow​(String key)
         allocatedResources tracks the resources allocated to a PVC including its capacity.
         Key names follow standard Kubernetes label syntax. Valid values are either:
                * Un-prefixed keys:
                        - storage - the capacity of the volume.
                * Custom resources must use implementation-defined prefixed names such as "example.com/my-custom-resource"
         Apart from above values - keys that are unprefixed or have kubernetes.io prefix are considered
         reserved and hence may not be used.
        
         Capacity reported here may be larger than the actual capacity when a volume expansion operation
         is requested.
         For storage quota, the larger value from allocatedResources and PVC.spec.resources is used.
         If allocatedResources is not set, PVC.spec.resources alone is used for quota calculation.
         If a volume expansion capacity request is lowered, allocatedResources is only
         lowered if there are no expansion operations in progress and if the actual volume capacity
         is equal or lower than the requested capacity.
        
         A controller that receives PVC update with previously unknown resourceName
         should ignore the update for the purpose it was designed. For example - a controller that
         only is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid
         resources associated with PVC.
        
         This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.
         +featureGate=RecoverVolumeExpansionFailure
         +optional
         
        map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> allocatedResources = 5;
        Specified by:
        getAllocatedResourcesOrThrow in interface Generated.PersistentVolumeClaimStatusOrBuilder
      • removeAllocatedResources

        public Generated.PersistentVolumeClaimStatus.Builder removeAllocatedResources​(String key)
         allocatedResources tracks the resources allocated to a PVC including its capacity.
         Key names follow standard Kubernetes label syntax. Valid values are either:
                * Un-prefixed keys:
                        - storage - the capacity of the volume.
                * Custom resources must use implementation-defined prefixed names such as "example.com/my-custom-resource"
         Apart from above values - keys that are unprefixed or have kubernetes.io prefix are considered
         reserved and hence may not be used.
        
         Capacity reported here may be larger than the actual capacity when a volume expansion operation
         is requested.
         For storage quota, the larger value from allocatedResources and PVC.spec.resources is used.
         If allocatedResources is not set, PVC.spec.resources alone is used for quota calculation.
         If a volume expansion capacity request is lowered, allocatedResources is only
         lowered if there are no expansion operations in progress and if the actual volume capacity
         is equal or lower than the requested capacity.
        
         A controller that receives PVC update with previously unknown resourceName
         should ignore the update for the purpose it was designed. For example - a controller that
         only is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid
         resources associated with PVC.
        
         This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.
         +featureGate=RecoverVolumeExpansionFailure
         +optional
         
        map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> allocatedResources = 5;
      • putAllocatedResources

        public Generated.PersistentVolumeClaimStatus.Builder putAllocatedResources​(String key,
                                                                                   Generated.Quantity value)
         allocatedResources tracks the resources allocated to a PVC including its capacity.
         Key names follow standard Kubernetes label syntax. Valid values are either:
                * Un-prefixed keys:
                        - storage - the capacity of the volume.
                * Custom resources must use implementation-defined prefixed names such as "example.com/my-custom-resource"
         Apart from above values - keys that are unprefixed or have kubernetes.io prefix are considered
         reserved and hence may not be used.
        
         Capacity reported here may be larger than the actual capacity when a volume expansion operation
         is requested.
         For storage quota, the larger value from allocatedResources and PVC.spec.resources is used.
         If allocatedResources is not set, PVC.spec.resources alone is used for quota calculation.
         If a volume expansion capacity request is lowered, allocatedResources is only
         lowered if there are no expansion operations in progress and if the actual volume capacity
         is equal or lower than the requested capacity.
        
         A controller that receives PVC update with previously unknown resourceName
         should ignore the update for the purpose it was designed. For example - a controller that
         only is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid
         resources associated with PVC.
        
         This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.
         +featureGate=RecoverVolumeExpansionFailure
         +optional
         
        map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> allocatedResources = 5;
      • putAllAllocatedResources

        public Generated.PersistentVolumeClaimStatus.Builder putAllAllocatedResources​(Map<String,​Generated.Quantity> values)
         allocatedResources tracks the resources allocated to a PVC including its capacity.
         Key names follow standard Kubernetes label syntax. Valid values are either:
                * Un-prefixed keys:
                        - storage - the capacity of the volume.
                * Custom resources must use implementation-defined prefixed names such as "example.com/my-custom-resource"
         Apart from above values - keys that are unprefixed or have kubernetes.io prefix are considered
         reserved and hence may not be used.
        
         Capacity reported here may be larger than the actual capacity when a volume expansion operation
         is requested.
         For storage quota, the larger value from allocatedResources and PVC.spec.resources is used.
         If allocatedResources is not set, PVC.spec.resources alone is used for quota calculation.
         If a volume expansion capacity request is lowered, allocatedResources is only
         lowered if there are no expansion operations in progress and if the actual volume capacity
         is equal or lower than the requested capacity.
        
         A controller that receives PVC update with previously unknown resourceName
         should ignore the update for the purpose it was designed. For example - a controller that
         only is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid
         resources associated with PVC.
        
         This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.
         +featureGate=RecoverVolumeExpansionFailure
         +optional
         
        map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> allocatedResources = 5;
      • putAllocatedResourcesBuilderIfAbsent

        public Generated.Quantity.Builder putAllocatedResourcesBuilderIfAbsent​(String key)
         allocatedResources tracks the resources allocated to a PVC including its capacity.
         Key names follow standard Kubernetes label syntax. Valid values are either:
                * Un-prefixed keys:
                        - storage - the capacity of the volume.
                * Custom resources must use implementation-defined prefixed names such as "example.com/my-custom-resource"
         Apart from above values - keys that are unprefixed or have kubernetes.io prefix are considered
         reserved and hence may not be used.
        
         Capacity reported here may be larger than the actual capacity when a volume expansion operation
         is requested.
         For storage quota, the larger value from allocatedResources and PVC.spec.resources is used.
         If allocatedResources is not set, PVC.spec.resources alone is used for quota calculation.
         If a volume expansion capacity request is lowered, allocatedResources is only
         lowered if there are no expansion operations in progress and if the actual volume capacity
         is equal or lower than the requested capacity.
        
         A controller that receives PVC update with previously unknown resourceName
         should ignore the update for the purpose it was designed. For example - a controller that
         only is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid
         resources associated with PVC.
        
         This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.
         +featureGate=RecoverVolumeExpansionFailure
         +optional
         
        map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> allocatedResources = 5;
      • getAllocatedResourceStatusesCount

        public int getAllocatedResourceStatusesCount()
        Description copied from interface: Generated.PersistentVolumeClaimStatusOrBuilder
         allocatedResourceStatuses stores status of resource being resized for the given PVC.
         Key names follow standard Kubernetes label syntax. Valid values are either:
                * Un-prefixed keys:
                        - storage - the capacity of the volume.
                * Custom resources must use implementation-defined prefixed names such as "example.com/my-custom-resource"
         Apart from above values - keys that are unprefixed or have kubernetes.io prefix are considered
         reserved and hence may not be used.
        
         ClaimResourceStatus can be in any of following states:
                - ControllerResizeInProgress:
                        State set when resize controller starts resizing the volume in control-plane.
                - ControllerResizeFailed:
                        State set when resize has failed in resize controller with a terminal error.
                - NodeResizePending:
                        State set when resize controller has finished resizing the volume but further resizing of
                        volume is needed on the node.
                - NodeResizeInProgress:
                        State set when kubelet starts resizing the volume.
                - NodeResizeFailed:
                        State set when resizing has failed in kubelet with a terminal error. Transient errors don't set
                        NodeResizeFailed.
         For example: if expanding a PVC for more capacity - this field can be one of the following states:
                - pvc.status.allocatedResourceStatus['storage'] = "ControllerResizeInProgress"
              - pvc.status.allocatedResourceStatus['storage'] = "ControllerResizeFailed"
              - pvc.status.allocatedResourceStatus['storage'] = "NodeResizePending"
              - pvc.status.allocatedResourceStatus['storage'] = "NodeResizeInProgress"
              - pvc.status.allocatedResourceStatus['storage'] = "NodeResizeFailed"
         When this field is not set, it means that no resize operation is in progress for the given PVC.
        
         A controller that receives PVC update with previously unknown resourceName or ClaimResourceStatus
         should ignore the update for the purpose it was designed. For example - a controller that
         only is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid
         resources associated with PVC.
        
         This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.
         +featureGate=RecoverVolumeExpansionFailure
         +mapType=granular
         +optional
         
        map<string, string> allocatedResourceStatuses = 7;
        Specified by:
        getAllocatedResourceStatusesCount in interface Generated.PersistentVolumeClaimStatusOrBuilder
      • containsAllocatedResourceStatuses

        public boolean containsAllocatedResourceStatuses​(String key)
         allocatedResourceStatuses stores status of resource being resized for the given PVC.
         Key names follow standard Kubernetes label syntax. Valid values are either:
                * Un-prefixed keys:
                        - storage - the capacity of the volume.
                * Custom resources must use implementation-defined prefixed names such as "example.com/my-custom-resource"
         Apart from above values - keys that are unprefixed or have kubernetes.io prefix are considered
         reserved and hence may not be used.
        
         ClaimResourceStatus can be in any of following states:
                - ControllerResizeInProgress:
                        State set when resize controller starts resizing the volume in control-plane.
                - ControllerResizeFailed:
                        State set when resize has failed in resize controller with a terminal error.
                - NodeResizePending:
                        State set when resize controller has finished resizing the volume but further resizing of
                        volume is needed on the node.
                - NodeResizeInProgress:
                        State set when kubelet starts resizing the volume.
                - NodeResizeFailed:
                        State set when resizing has failed in kubelet with a terminal error. Transient errors don't set
                        NodeResizeFailed.
         For example: if expanding a PVC for more capacity - this field can be one of the following states:
                - pvc.status.allocatedResourceStatus['storage'] = "ControllerResizeInProgress"
              - pvc.status.allocatedResourceStatus['storage'] = "ControllerResizeFailed"
              - pvc.status.allocatedResourceStatus['storage'] = "NodeResizePending"
              - pvc.status.allocatedResourceStatus['storage'] = "NodeResizeInProgress"
              - pvc.status.allocatedResourceStatus['storage'] = "NodeResizeFailed"
         When this field is not set, it means that no resize operation is in progress for the given PVC.
        
         A controller that receives PVC update with previously unknown resourceName or ClaimResourceStatus
         should ignore the update for the purpose it was designed. For example - a controller that
         only is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid
         resources associated with PVC.
        
         This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.
         +featureGate=RecoverVolumeExpansionFailure
         +mapType=granular
         +optional
         
        map<string, string> allocatedResourceStatuses = 7;
        Specified by:
        containsAllocatedResourceStatuses in interface Generated.PersistentVolumeClaimStatusOrBuilder
      • getAllocatedResourceStatusesMap

        public Map<String,​String> getAllocatedResourceStatusesMap()
         allocatedResourceStatuses stores status of resource being resized for the given PVC.
         Key names follow standard Kubernetes label syntax. Valid values are either:
                * Un-prefixed keys:
                        - storage - the capacity of the volume.
                * Custom resources must use implementation-defined prefixed names such as "example.com/my-custom-resource"
         Apart from above values - keys that are unprefixed or have kubernetes.io prefix are considered
         reserved and hence may not be used.
        
         ClaimResourceStatus can be in any of following states:
                - ControllerResizeInProgress:
                        State set when resize controller starts resizing the volume in control-plane.
                - ControllerResizeFailed:
                        State set when resize has failed in resize controller with a terminal error.
                - NodeResizePending:
                        State set when resize controller has finished resizing the volume but further resizing of
                        volume is needed on the node.
                - NodeResizeInProgress:
                        State set when kubelet starts resizing the volume.
                - NodeResizeFailed:
                        State set when resizing has failed in kubelet with a terminal error. Transient errors don't set
                        NodeResizeFailed.
         For example: if expanding a PVC for more capacity - this field can be one of the following states:
                - pvc.status.allocatedResourceStatus['storage'] = "ControllerResizeInProgress"
              - pvc.status.allocatedResourceStatus['storage'] = "ControllerResizeFailed"
              - pvc.status.allocatedResourceStatus['storage'] = "NodeResizePending"
              - pvc.status.allocatedResourceStatus['storage'] = "NodeResizeInProgress"
              - pvc.status.allocatedResourceStatus['storage'] = "NodeResizeFailed"
         When this field is not set, it means that no resize operation is in progress for the given PVC.
        
         A controller that receives PVC update with previously unknown resourceName or ClaimResourceStatus
         should ignore the update for the purpose it was designed. For example - a controller that
         only is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid
         resources associated with PVC.
        
         This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.
         +featureGate=RecoverVolumeExpansionFailure
         +mapType=granular
         +optional
         
        map<string, string> allocatedResourceStatuses = 7;
        Specified by:
        getAllocatedResourceStatusesMap in interface Generated.PersistentVolumeClaimStatusOrBuilder
      • getAllocatedResourceStatusesOrDefault

        public String getAllocatedResourceStatusesOrDefault​(String key,
                                                            String defaultValue)
         allocatedResourceStatuses stores status of resource being resized for the given PVC.
         Key names follow standard Kubernetes label syntax. Valid values are either:
                * Un-prefixed keys:
                        - storage - the capacity of the volume.
                * Custom resources must use implementation-defined prefixed names such as "example.com/my-custom-resource"
         Apart from above values - keys that are unprefixed or have kubernetes.io prefix are considered
         reserved and hence may not be used.
        
         ClaimResourceStatus can be in any of following states:
                - ControllerResizeInProgress:
                        State set when resize controller starts resizing the volume in control-plane.
                - ControllerResizeFailed:
                        State set when resize has failed in resize controller with a terminal error.
                - NodeResizePending:
                        State set when resize controller has finished resizing the volume but further resizing of
                        volume is needed on the node.
                - NodeResizeInProgress:
                        State set when kubelet starts resizing the volume.
                - NodeResizeFailed:
                        State set when resizing has failed in kubelet with a terminal error. Transient errors don't set
                        NodeResizeFailed.
         For example: if expanding a PVC for more capacity - this field can be one of the following states:
                - pvc.status.allocatedResourceStatus['storage'] = "ControllerResizeInProgress"
              - pvc.status.allocatedResourceStatus['storage'] = "ControllerResizeFailed"
              - pvc.status.allocatedResourceStatus['storage'] = "NodeResizePending"
              - pvc.status.allocatedResourceStatus['storage'] = "NodeResizeInProgress"
              - pvc.status.allocatedResourceStatus['storage'] = "NodeResizeFailed"
         When this field is not set, it means that no resize operation is in progress for the given PVC.
        
         A controller that receives PVC update with previously unknown resourceName or ClaimResourceStatus
         should ignore the update for the purpose it was designed. For example - a controller that
         only is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid
         resources associated with PVC.
        
         This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.
         +featureGate=RecoverVolumeExpansionFailure
         +mapType=granular
         +optional
         
        map<string, string> allocatedResourceStatuses = 7;
        Specified by:
        getAllocatedResourceStatusesOrDefault in interface Generated.PersistentVolumeClaimStatusOrBuilder
      • getAllocatedResourceStatusesOrThrow

        public String getAllocatedResourceStatusesOrThrow​(String key)
         allocatedResourceStatuses stores status of resource being resized for the given PVC.
         Key names follow standard Kubernetes label syntax. Valid values are either:
                * Un-prefixed keys:
                        - storage - the capacity of the volume.
                * Custom resources must use implementation-defined prefixed names such as "example.com/my-custom-resource"
         Apart from above values - keys that are unprefixed or have kubernetes.io prefix are considered
         reserved and hence may not be used.
        
         ClaimResourceStatus can be in any of following states:
                - ControllerResizeInProgress:
                        State set when resize controller starts resizing the volume in control-plane.
                - ControllerResizeFailed:
                        State set when resize has failed in resize controller with a terminal error.
                - NodeResizePending:
                        State set when resize controller has finished resizing the volume but further resizing of
                        volume is needed on the node.
                - NodeResizeInProgress:
                        State set when kubelet starts resizing the volume.
                - NodeResizeFailed:
                        State set when resizing has failed in kubelet with a terminal error. Transient errors don't set
                        NodeResizeFailed.
         For example: if expanding a PVC for more capacity - this field can be one of the following states:
                - pvc.status.allocatedResourceStatus['storage'] = "ControllerResizeInProgress"
              - pvc.status.allocatedResourceStatus['storage'] = "ControllerResizeFailed"
              - pvc.status.allocatedResourceStatus['storage'] = "NodeResizePending"
              - pvc.status.allocatedResourceStatus['storage'] = "NodeResizeInProgress"
              - pvc.status.allocatedResourceStatus['storage'] = "NodeResizeFailed"
         When this field is not set, it means that no resize operation is in progress for the given PVC.
        
         A controller that receives PVC update with previously unknown resourceName or ClaimResourceStatus
         should ignore the update for the purpose it was designed. For example - a controller that
         only is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid
         resources associated with PVC.
        
         This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.
         +featureGate=RecoverVolumeExpansionFailure
         +mapType=granular
         +optional
         
        map<string, string> allocatedResourceStatuses = 7;
        Specified by:
        getAllocatedResourceStatusesOrThrow in interface Generated.PersistentVolumeClaimStatusOrBuilder
      • removeAllocatedResourceStatuses

        public Generated.PersistentVolumeClaimStatus.Builder removeAllocatedResourceStatuses​(String key)
         allocatedResourceStatuses stores status of resource being resized for the given PVC.
         Key names follow standard Kubernetes label syntax. Valid values are either:
                * Un-prefixed keys:
                        - storage - the capacity of the volume.
                * Custom resources must use implementation-defined prefixed names such as "example.com/my-custom-resource"
         Apart from above values - keys that are unprefixed or have kubernetes.io prefix are considered
         reserved and hence may not be used.
        
         ClaimResourceStatus can be in any of following states:
                - ControllerResizeInProgress:
                        State set when resize controller starts resizing the volume in control-plane.
                - ControllerResizeFailed:
                        State set when resize has failed in resize controller with a terminal error.
                - NodeResizePending:
                        State set when resize controller has finished resizing the volume but further resizing of
                        volume is needed on the node.
                - NodeResizeInProgress:
                        State set when kubelet starts resizing the volume.
                - NodeResizeFailed:
                        State set when resizing has failed in kubelet with a terminal error. Transient errors don't set
                        NodeResizeFailed.
         For example: if expanding a PVC for more capacity - this field can be one of the following states:
                - pvc.status.allocatedResourceStatus['storage'] = "ControllerResizeInProgress"
              - pvc.status.allocatedResourceStatus['storage'] = "ControllerResizeFailed"
              - pvc.status.allocatedResourceStatus['storage'] = "NodeResizePending"
              - pvc.status.allocatedResourceStatus['storage'] = "NodeResizeInProgress"
              - pvc.status.allocatedResourceStatus['storage'] = "NodeResizeFailed"
         When this field is not set, it means that no resize operation is in progress for the given PVC.
        
         A controller that receives PVC update with previously unknown resourceName or ClaimResourceStatus
         should ignore the update for the purpose it was designed. For example - a controller that
         only is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid
         resources associated with PVC.
        
         This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.
         +featureGate=RecoverVolumeExpansionFailure
         +mapType=granular
         +optional
         
        map<string, string> allocatedResourceStatuses = 7;
      • getMutableAllocatedResourceStatuses

        @Deprecated
        public Map<String,​String> getMutableAllocatedResourceStatuses()
        Deprecated.
        Use alternate mutation accessors instead.
      • putAllocatedResourceStatuses

        public Generated.PersistentVolumeClaimStatus.Builder putAllocatedResourceStatuses​(String key,
                                                                                          String value)
         allocatedResourceStatuses stores status of resource being resized for the given PVC.
         Key names follow standard Kubernetes label syntax. Valid values are either:
                * Un-prefixed keys:
                        - storage - the capacity of the volume.
                * Custom resources must use implementation-defined prefixed names such as "example.com/my-custom-resource"
         Apart from above values - keys that are unprefixed or have kubernetes.io prefix are considered
         reserved and hence may not be used.
        
         ClaimResourceStatus can be in any of following states:
                - ControllerResizeInProgress:
                        State set when resize controller starts resizing the volume in control-plane.
                - ControllerResizeFailed:
                        State set when resize has failed in resize controller with a terminal error.
                - NodeResizePending:
                        State set when resize controller has finished resizing the volume but further resizing of
                        volume is needed on the node.
                - NodeResizeInProgress:
                        State set when kubelet starts resizing the volume.
                - NodeResizeFailed:
                        State set when resizing has failed in kubelet with a terminal error. Transient errors don't set
                        NodeResizeFailed.
         For example: if expanding a PVC for more capacity - this field can be one of the following states:
                - pvc.status.allocatedResourceStatus['storage'] = "ControllerResizeInProgress"
              - pvc.status.allocatedResourceStatus['storage'] = "ControllerResizeFailed"
              - pvc.status.allocatedResourceStatus['storage'] = "NodeResizePending"
              - pvc.status.allocatedResourceStatus['storage'] = "NodeResizeInProgress"
              - pvc.status.allocatedResourceStatus['storage'] = "NodeResizeFailed"
         When this field is not set, it means that no resize operation is in progress for the given PVC.
        
         A controller that receives PVC update with previously unknown resourceName or ClaimResourceStatus
         should ignore the update for the purpose it was designed. For example - a controller that
         only is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid
         resources associated with PVC.
        
         This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.
         +featureGate=RecoverVolumeExpansionFailure
         +mapType=granular
         +optional
         
        map<string, string> allocatedResourceStatuses = 7;
      • putAllAllocatedResourceStatuses

        public Generated.PersistentVolumeClaimStatus.Builder putAllAllocatedResourceStatuses​(Map<String,​String> values)
         allocatedResourceStatuses stores status of resource being resized for the given PVC.
         Key names follow standard Kubernetes label syntax. Valid values are either:
                * Un-prefixed keys:
                        - storage - the capacity of the volume.
                * Custom resources must use implementation-defined prefixed names such as "example.com/my-custom-resource"
         Apart from above values - keys that are unprefixed or have kubernetes.io prefix are considered
         reserved and hence may not be used.
        
         ClaimResourceStatus can be in any of following states:
                - ControllerResizeInProgress:
                        State set when resize controller starts resizing the volume in control-plane.
                - ControllerResizeFailed:
                        State set when resize has failed in resize controller with a terminal error.
                - NodeResizePending:
                        State set when resize controller has finished resizing the volume but further resizing of
                        volume is needed on the node.
                - NodeResizeInProgress:
                        State set when kubelet starts resizing the volume.
                - NodeResizeFailed:
                        State set when resizing has failed in kubelet with a terminal error. Transient errors don't set
                        NodeResizeFailed.
         For example: if expanding a PVC for more capacity - this field can be one of the following states:
                - pvc.status.allocatedResourceStatus['storage'] = "ControllerResizeInProgress"
              - pvc.status.allocatedResourceStatus['storage'] = "ControllerResizeFailed"
              - pvc.status.allocatedResourceStatus['storage'] = "NodeResizePending"
              - pvc.status.allocatedResourceStatus['storage'] = "NodeResizeInProgress"
              - pvc.status.allocatedResourceStatus['storage'] = "NodeResizeFailed"
         When this field is not set, it means that no resize operation is in progress for the given PVC.
        
         A controller that receives PVC update with previously unknown resourceName or ClaimResourceStatus
         should ignore the update for the purpose it was designed. For example - a controller that
         only is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid
         resources associated with PVC.
        
         This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.
         +featureGate=RecoverVolumeExpansionFailure
         +mapType=granular
         +optional
         
        map<string, string> allocatedResourceStatuses = 7;
      • hasCurrentVolumeAttributesClassName

        public boolean hasCurrentVolumeAttributesClassName()
         currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using.
         When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim
         This is a beta field and requires enabling VolumeAttributesClass feature (off by default).
         +featureGate=VolumeAttributesClass
         +optional
         
        optional string currentVolumeAttributesClassName = 8;
        Specified by:
        hasCurrentVolumeAttributesClassName in interface Generated.PersistentVolumeClaimStatusOrBuilder
        Returns:
        Whether the currentVolumeAttributesClassName field is set.
      • getCurrentVolumeAttributesClassName

        public String getCurrentVolumeAttributesClassName()
         currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using.
         When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim
         This is a beta field and requires enabling VolumeAttributesClass feature (off by default).
         +featureGate=VolumeAttributesClass
         +optional
         
        optional string currentVolumeAttributesClassName = 8;
        Specified by:
        getCurrentVolumeAttributesClassName in interface Generated.PersistentVolumeClaimStatusOrBuilder
        Returns:
        The currentVolumeAttributesClassName.
      • getCurrentVolumeAttributesClassNameBytes

        public com.google.protobuf.ByteString getCurrentVolumeAttributesClassNameBytes()
         currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using.
         When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim
         This is a beta field and requires enabling VolumeAttributesClass feature (off by default).
         +featureGate=VolumeAttributesClass
         +optional
         
        optional string currentVolumeAttributesClassName = 8;
        Specified by:
        getCurrentVolumeAttributesClassNameBytes in interface Generated.PersistentVolumeClaimStatusOrBuilder
        Returns:
        The bytes for currentVolumeAttributesClassName.
      • setCurrentVolumeAttributesClassName

        public Generated.PersistentVolumeClaimStatus.Builder setCurrentVolumeAttributesClassName​(String value)
         currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using.
         When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim
         This is a beta field and requires enabling VolumeAttributesClass feature (off by default).
         +featureGate=VolumeAttributesClass
         +optional
         
        optional string currentVolumeAttributesClassName = 8;
        Parameters:
        value - The currentVolumeAttributesClassName to set.
        Returns:
        This builder for chaining.
      • clearCurrentVolumeAttributesClassName

        public Generated.PersistentVolumeClaimStatus.Builder clearCurrentVolumeAttributesClassName()
         currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using.
         When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim
         This is a beta field and requires enabling VolumeAttributesClass feature (off by default).
         +featureGate=VolumeAttributesClass
         +optional
         
        optional string currentVolumeAttributesClassName = 8;
        Returns:
        This builder for chaining.
      • setCurrentVolumeAttributesClassNameBytes

        public Generated.PersistentVolumeClaimStatus.Builder setCurrentVolumeAttributesClassNameBytes​(com.google.protobuf.ByteString value)
         currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using.
         When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim
         This is a beta field and requires enabling VolumeAttributesClass feature (off by default).
         +featureGate=VolumeAttributesClass
         +optional
         
        optional string currentVolumeAttributesClassName = 8;
        Parameters:
        value - The bytes for currentVolumeAttributesClassName to set.
        Returns:
        This builder for chaining.
      • hasModifyVolumeStatus

        public boolean hasModifyVolumeStatus()
         ModifyVolumeStatus represents the status object of ControllerModifyVolume operation.
         When this is unset, there is no ModifyVolume operation being attempted.
         This is a beta field and requires enabling VolumeAttributesClass feature (off by default).
         +featureGate=VolumeAttributesClass
         +optional
         
        optional .k8s.io.api.core.v1.ModifyVolumeStatus modifyVolumeStatus = 9;
        Specified by:
        hasModifyVolumeStatus in interface Generated.PersistentVolumeClaimStatusOrBuilder
        Returns:
        Whether the modifyVolumeStatus field is set.
      • getModifyVolumeStatus

        public Generated.ModifyVolumeStatus getModifyVolumeStatus()
         ModifyVolumeStatus represents the status object of ControllerModifyVolume operation.
         When this is unset, there is no ModifyVolume operation being attempted.
         This is a beta field and requires enabling VolumeAttributesClass feature (off by default).
         +featureGate=VolumeAttributesClass
         +optional
         
        optional .k8s.io.api.core.v1.ModifyVolumeStatus modifyVolumeStatus = 9;
        Specified by:
        getModifyVolumeStatus in interface Generated.PersistentVolumeClaimStatusOrBuilder
        Returns:
        The modifyVolumeStatus.
      • setModifyVolumeStatus

        public Generated.PersistentVolumeClaimStatus.Builder setModifyVolumeStatus​(Generated.ModifyVolumeStatus value)
         ModifyVolumeStatus represents the status object of ControllerModifyVolume operation.
         When this is unset, there is no ModifyVolume operation being attempted.
         This is a beta field and requires enabling VolumeAttributesClass feature (off by default).
         +featureGate=VolumeAttributesClass
         +optional
         
        optional .k8s.io.api.core.v1.ModifyVolumeStatus modifyVolumeStatus = 9;
      • setModifyVolumeStatus

        public Generated.PersistentVolumeClaimStatus.Builder setModifyVolumeStatus​(Generated.ModifyVolumeStatus.Builder builderForValue)
         ModifyVolumeStatus represents the status object of ControllerModifyVolume operation.
         When this is unset, there is no ModifyVolume operation being attempted.
         This is a beta field and requires enabling VolumeAttributesClass feature (off by default).
         +featureGate=VolumeAttributesClass
         +optional
         
        optional .k8s.io.api.core.v1.ModifyVolumeStatus modifyVolumeStatus = 9;
      • mergeModifyVolumeStatus

        public Generated.PersistentVolumeClaimStatus.Builder mergeModifyVolumeStatus​(Generated.ModifyVolumeStatus value)
         ModifyVolumeStatus represents the status object of ControllerModifyVolume operation.
         When this is unset, there is no ModifyVolume operation being attempted.
         This is a beta field and requires enabling VolumeAttributesClass feature (off by default).
         +featureGate=VolumeAttributesClass
         +optional
         
        optional .k8s.io.api.core.v1.ModifyVolumeStatus modifyVolumeStatus = 9;
      • clearModifyVolumeStatus

        public Generated.PersistentVolumeClaimStatus.Builder clearModifyVolumeStatus()
         ModifyVolumeStatus represents the status object of ControllerModifyVolume operation.
         When this is unset, there is no ModifyVolume operation being attempted.
         This is a beta field and requires enabling VolumeAttributesClass feature (off by default).
         +featureGate=VolumeAttributesClass
         +optional
         
        optional .k8s.io.api.core.v1.ModifyVolumeStatus modifyVolumeStatus = 9;
      • getModifyVolumeStatusBuilder

        public Generated.ModifyVolumeStatus.Builder getModifyVolumeStatusBuilder()
         ModifyVolumeStatus represents the status object of ControllerModifyVolume operation.
         When this is unset, there is no ModifyVolume operation being attempted.
         This is a beta field and requires enabling VolumeAttributesClass feature (off by default).
         +featureGate=VolumeAttributesClass
         +optional
         
        optional .k8s.io.api.core.v1.ModifyVolumeStatus modifyVolumeStatus = 9;
      • getModifyVolumeStatusOrBuilder

        public Generated.ModifyVolumeStatusOrBuilder getModifyVolumeStatusOrBuilder()
         ModifyVolumeStatus represents the status object of ControllerModifyVolume operation.
         When this is unset, there is no ModifyVolume operation being attempted.
         This is a beta field and requires enabling VolumeAttributesClass feature (off by default).
         +featureGate=VolumeAttributesClass
         +optional
         
        optional .k8s.io.api.core.v1.ModifyVolumeStatus modifyVolumeStatus = 9;
        Specified by:
        getModifyVolumeStatusOrBuilder in interface Generated.PersistentVolumeClaimStatusOrBuilder