Class Generated.PersistentVolumeSource.Builder

    • Method Detail

      • getDescriptor

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

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

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

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

        public Generated.PersistentVolumeSource 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.PersistentVolumeSource.Builder>
      • hasGcePersistentDisk

        public boolean hasGcePersistentDisk()
         gcePersistentDisk represents a GCE Disk resource that is attached to a
         kubelet's host machine and then exposed to the pod. Provisioned by an admin.
         Deprecated: GCEPersistentDisk is deprecated. All operations for the in-tree
         gcePersistentDisk type are redirected to the pd.csi.storage.gke.io CSI driver.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
         +optional
         
        optional .k8s.io.api.core.v1.GCEPersistentDiskVolumeSource gcePersistentDisk = 1;
        Specified by:
        hasGcePersistentDisk in interface Generated.PersistentVolumeSourceOrBuilder
        Returns:
        Whether the gcePersistentDisk field is set.
      • getGcePersistentDisk

        public Generated.GCEPersistentDiskVolumeSource getGcePersistentDisk()
         gcePersistentDisk represents a GCE Disk resource that is attached to a
         kubelet's host machine and then exposed to the pod. Provisioned by an admin.
         Deprecated: GCEPersistentDisk is deprecated. All operations for the in-tree
         gcePersistentDisk type are redirected to the pd.csi.storage.gke.io CSI driver.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
         +optional
         
        optional .k8s.io.api.core.v1.GCEPersistentDiskVolumeSource gcePersistentDisk = 1;
        Specified by:
        getGcePersistentDisk in interface Generated.PersistentVolumeSourceOrBuilder
        Returns:
        The gcePersistentDisk.
      • setGcePersistentDisk

        public Generated.PersistentVolumeSource.Builder setGcePersistentDisk​(Generated.GCEPersistentDiskVolumeSource value)
         gcePersistentDisk represents a GCE Disk resource that is attached to a
         kubelet's host machine and then exposed to the pod. Provisioned by an admin.
         Deprecated: GCEPersistentDisk is deprecated. All operations for the in-tree
         gcePersistentDisk type are redirected to the pd.csi.storage.gke.io CSI driver.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
         +optional
         
        optional .k8s.io.api.core.v1.GCEPersistentDiskVolumeSource gcePersistentDisk = 1;
      • setGcePersistentDisk

        public Generated.PersistentVolumeSource.Builder setGcePersistentDisk​(Generated.GCEPersistentDiskVolumeSource.Builder builderForValue)
         gcePersistentDisk represents a GCE Disk resource that is attached to a
         kubelet's host machine and then exposed to the pod. Provisioned by an admin.
         Deprecated: GCEPersistentDisk is deprecated. All operations for the in-tree
         gcePersistentDisk type are redirected to the pd.csi.storage.gke.io CSI driver.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
         +optional
         
        optional .k8s.io.api.core.v1.GCEPersistentDiskVolumeSource gcePersistentDisk = 1;
      • mergeGcePersistentDisk

        public Generated.PersistentVolumeSource.Builder mergeGcePersistentDisk​(Generated.GCEPersistentDiskVolumeSource value)
         gcePersistentDisk represents a GCE Disk resource that is attached to a
         kubelet's host machine and then exposed to the pod. Provisioned by an admin.
         Deprecated: GCEPersistentDisk is deprecated. All operations for the in-tree
         gcePersistentDisk type are redirected to the pd.csi.storage.gke.io CSI driver.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
         +optional
         
        optional .k8s.io.api.core.v1.GCEPersistentDiskVolumeSource gcePersistentDisk = 1;
      • clearGcePersistentDisk

        public Generated.PersistentVolumeSource.Builder clearGcePersistentDisk()
         gcePersistentDisk represents a GCE Disk resource that is attached to a
         kubelet's host machine and then exposed to the pod. Provisioned by an admin.
         Deprecated: GCEPersistentDisk is deprecated. All operations for the in-tree
         gcePersistentDisk type are redirected to the pd.csi.storage.gke.io CSI driver.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
         +optional
         
        optional .k8s.io.api.core.v1.GCEPersistentDiskVolumeSource gcePersistentDisk = 1;
      • getGcePersistentDiskBuilder

        public Generated.GCEPersistentDiskVolumeSource.Builder getGcePersistentDiskBuilder()
         gcePersistentDisk represents a GCE Disk resource that is attached to a
         kubelet's host machine and then exposed to the pod. Provisioned by an admin.
         Deprecated: GCEPersistentDisk is deprecated. All operations for the in-tree
         gcePersistentDisk type are redirected to the pd.csi.storage.gke.io CSI driver.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
         +optional
         
        optional .k8s.io.api.core.v1.GCEPersistentDiskVolumeSource gcePersistentDisk = 1;
      • getGcePersistentDiskOrBuilder

        public Generated.GCEPersistentDiskVolumeSourceOrBuilder getGcePersistentDiskOrBuilder()
         gcePersistentDisk represents a GCE Disk resource that is attached to a
         kubelet's host machine and then exposed to the pod. Provisioned by an admin.
         Deprecated: GCEPersistentDisk is deprecated. All operations for the in-tree
         gcePersistentDisk type are redirected to the pd.csi.storage.gke.io CSI driver.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
         +optional
         
        optional .k8s.io.api.core.v1.GCEPersistentDiskVolumeSource gcePersistentDisk = 1;
        Specified by:
        getGcePersistentDiskOrBuilder in interface Generated.PersistentVolumeSourceOrBuilder
      • hasAwsElasticBlockStore

        public boolean hasAwsElasticBlockStore()
         awsElasticBlockStore represents an AWS Disk resource that is attached to a
         kubelet's host machine and then exposed to the pod.
         Deprecated: AWSElasticBlockStore is deprecated. All operations for the in-tree
         awsElasticBlockStore type are redirected to the ebs.csi.aws.com CSI driver.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
         +optional
         
        optional .k8s.io.api.core.v1.AWSElasticBlockStoreVolumeSource awsElasticBlockStore = 2;
        Specified by:
        hasAwsElasticBlockStore in interface Generated.PersistentVolumeSourceOrBuilder
        Returns:
        Whether the awsElasticBlockStore field is set.
      • getAwsElasticBlockStore

        public Generated.AWSElasticBlockStoreVolumeSource getAwsElasticBlockStore()
         awsElasticBlockStore represents an AWS Disk resource that is attached to a
         kubelet's host machine and then exposed to the pod.
         Deprecated: AWSElasticBlockStore is deprecated. All operations for the in-tree
         awsElasticBlockStore type are redirected to the ebs.csi.aws.com CSI driver.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
         +optional
         
        optional .k8s.io.api.core.v1.AWSElasticBlockStoreVolumeSource awsElasticBlockStore = 2;
        Specified by:
        getAwsElasticBlockStore in interface Generated.PersistentVolumeSourceOrBuilder
        Returns:
        The awsElasticBlockStore.
      • setAwsElasticBlockStore

        public Generated.PersistentVolumeSource.Builder setAwsElasticBlockStore​(Generated.AWSElasticBlockStoreVolumeSource value)
         awsElasticBlockStore represents an AWS Disk resource that is attached to a
         kubelet's host machine and then exposed to the pod.
         Deprecated: AWSElasticBlockStore is deprecated. All operations for the in-tree
         awsElasticBlockStore type are redirected to the ebs.csi.aws.com CSI driver.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
         +optional
         
        optional .k8s.io.api.core.v1.AWSElasticBlockStoreVolumeSource awsElasticBlockStore = 2;
      • setAwsElasticBlockStore

        public Generated.PersistentVolumeSource.Builder setAwsElasticBlockStore​(Generated.AWSElasticBlockStoreVolumeSource.Builder builderForValue)
         awsElasticBlockStore represents an AWS Disk resource that is attached to a
         kubelet's host machine and then exposed to the pod.
         Deprecated: AWSElasticBlockStore is deprecated. All operations for the in-tree
         awsElasticBlockStore type are redirected to the ebs.csi.aws.com CSI driver.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
         +optional
         
        optional .k8s.io.api.core.v1.AWSElasticBlockStoreVolumeSource awsElasticBlockStore = 2;
      • mergeAwsElasticBlockStore

        public Generated.PersistentVolumeSource.Builder mergeAwsElasticBlockStore​(Generated.AWSElasticBlockStoreVolumeSource value)
         awsElasticBlockStore represents an AWS Disk resource that is attached to a
         kubelet's host machine and then exposed to the pod.
         Deprecated: AWSElasticBlockStore is deprecated. All operations for the in-tree
         awsElasticBlockStore type are redirected to the ebs.csi.aws.com CSI driver.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
         +optional
         
        optional .k8s.io.api.core.v1.AWSElasticBlockStoreVolumeSource awsElasticBlockStore = 2;
      • clearAwsElasticBlockStore

        public Generated.PersistentVolumeSource.Builder clearAwsElasticBlockStore()
         awsElasticBlockStore represents an AWS Disk resource that is attached to a
         kubelet's host machine and then exposed to the pod.
         Deprecated: AWSElasticBlockStore is deprecated. All operations for the in-tree
         awsElasticBlockStore type are redirected to the ebs.csi.aws.com CSI driver.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
         +optional
         
        optional .k8s.io.api.core.v1.AWSElasticBlockStoreVolumeSource awsElasticBlockStore = 2;
      • getAwsElasticBlockStoreBuilder

        public Generated.AWSElasticBlockStoreVolumeSource.Builder getAwsElasticBlockStoreBuilder()
         awsElasticBlockStore represents an AWS Disk resource that is attached to a
         kubelet's host machine and then exposed to the pod.
         Deprecated: AWSElasticBlockStore is deprecated. All operations for the in-tree
         awsElasticBlockStore type are redirected to the ebs.csi.aws.com CSI driver.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
         +optional
         
        optional .k8s.io.api.core.v1.AWSElasticBlockStoreVolumeSource awsElasticBlockStore = 2;
      • getAwsElasticBlockStoreOrBuilder

        public Generated.AWSElasticBlockStoreVolumeSourceOrBuilder getAwsElasticBlockStoreOrBuilder()
         awsElasticBlockStore represents an AWS Disk resource that is attached to a
         kubelet's host machine and then exposed to the pod.
         Deprecated: AWSElasticBlockStore is deprecated. All operations for the in-tree
         awsElasticBlockStore type are redirected to the ebs.csi.aws.com CSI driver.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
         +optional
         
        optional .k8s.io.api.core.v1.AWSElasticBlockStoreVolumeSource awsElasticBlockStore = 2;
        Specified by:
        getAwsElasticBlockStoreOrBuilder in interface Generated.PersistentVolumeSourceOrBuilder
      • hasHostPath

        public boolean hasHostPath()
         hostPath represents a directory on the host.
         Provisioned by a developer or tester.
         This is useful for single-node development and testing only!
         On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
         +optional
         
        optional .k8s.io.api.core.v1.HostPathVolumeSource hostPath = 3;
        Specified by:
        hasHostPath in interface Generated.PersistentVolumeSourceOrBuilder
        Returns:
        Whether the hostPath field is set.
      • getHostPath

        public Generated.HostPathVolumeSource getHostPath()
         hostPath represents a directory on the host.
         Provisioned by a developer or tester.
         This is useful for single-node development and testing only!
         On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
         +optional
         
        optional .k8s.io.api.core.v1.HostPathVolumeSource hostPath = 3;
        Specified by:
        getHostPath in interface Generated.PersistentVolumeSourceOrBuilder
        Returns:
        The hostPath.
      • setHostPath

        public Generated.PersistentVolumeSource.Builder setHostPath​(Generated.HostPathVolumeSource value)
         hostPath represents a directory on the host.
         Provisioned by a developer or tester.
         This is useful for single-node development and testing only!
         On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
         +optional
         
        optional .k8s.io.api.core.v1.HostPathVolumeSource hostPath = 3;
      • setHostPath

        public Generated.PersistentVolumeSource.Builder setHostPath​(Generated.HostPathVolumeSource.Builder builderForValue)
         hostPath represents a directory on the host.
         Provisioned by a developer or tester.
         This is useful for single-node development and testing only!
         On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
         +optional
         
        optional .k8s.io.api.core.v1.HostPathVolumeSource hostPath = 3;
      • mergeHostPath

        public Generated.PersistentVolumeSource.Builder mergeHostPath​(Generated.HostPathVolumeSource value)
         hostPath represents a directory on the host.
         Provisioned by a developer or tester.
         This is useful for single-node development and testing only!
         On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
         +optional
         
        optional .k8s.io.api.core.v1.HostPathVolumeSource hostPath = 3;
      • clearHostPath

        public Generated.PersistentVolumeSource.Builder clearHostPath()
         hostPath represents a directory on the host.
         Provisioned by a developer or tester.
         This is useful for single-node development and testing only!
         On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
         +optional
         
        optional .k8s.io.api.core.v1.HostPathVolumeSource hostPath = 3;
      • getHostPathBuilder

        public Generated.HostPathVolumeSource.Builder getHostPathBuilder()
         hostPath represents a directory on the host.
         Provisioned by a developer or tester.
         This is useful for single-node development and testing only!
         On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
         +optional
         
        optional .k8s.io.api.core.v1.HostPathVolumeSource hostPath = 3;
      • getHostPathOrBuilder

        public Generated.HostPathVolumeSourceOrBuilder getHostPathOrBuilder()
         hostPath represents a directory on the host.
         Provisioned by a developer or tester.
         This is useful for single-node development and testing only!
         On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
         +optional
         
        optional .k8s.io.api.core.v1.HostPathVolumeSource hostPath = 3;
        Specified by:
        getHostPathOrBuilder in interface Generated.PersistentVolumeSourceOrBuilder
      • hasGlusterfs

        public boolean hasGlusterfs()
         glusterfs represents a Glusterfs volume that is attached to a host and
         exposed to the pod. Provisioned by an admin.
         Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported.
         More info: https://examples.k8s.io/volumes/glusterfs/README.md
         +optional
         
        optional .k8s.io.api.core.v1.GlusterfsPersistentVolumeSource glusterfs = 4;
        Specified by:
        hasGlusterfs in interface Generated.PersistentVolumeSourceOrBuilder
        Returns:
        Whether the glusterfs field is set.
      • getGlusterfs

        public Generated.GlusterfsPersistentVolumeSource getGlusterfs()
         glusterfs represents a Glusterfs volume that is attached to a host and
         exposed to the pod. Provisioned by an admin.
         Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported.
         More info: https://examples.k8s.io/volumes/glusterfs/README.md
         +optional
         
        optional .k8s.io.api.core.v1.GlusterfsPersistentVolumeSource glusterfs = 4;
        Specified by:
        getGlusterfs in interface Generated.PersistentVolumeSourceOrBuilder
        Returns:
        The glusterfs.
      • setGlusterfs

        public Generated.PersistentVolumeSource.Builder setGlusterfs​(Generated.GlusterfsPersistentVolumeSource value)
         glusterfs represents a Glusterfs volume that is attached to a host and
         exposed to the pod. Provisioned by an admin.
         Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported.
         More info: https://examples.k8s.io/volumes/glusterfs/README.md
         +optional
         
        optional .k8s.io.api.core.v1.GlusterfsPersistentVolumeSource glusterfs = 4;
      • setGlusterfs

        public Generated.PersistentVolumeSource.Builder setGlusterfs​(Generated.GlusterfsPersistentVolumeSource.Builder builderForValue)
         glusterfs represents a Glusterfs volume that is attached to a host and
         exposed to the pod. Provisioned by an admin.
         Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported.
         More info: https://examples.k8s.io/volumes/glusterfs/README.md
         +optional
         
        optional .k8s.io.api.core.v1.GlusterfsPersistentVolumeSource glusterfs = 4;
      • mergeGlusterfs

        public Generated.PersistentVolumeSource.Builder mergeGlusterfs​(Generated.GlusterfsPersistentVolumeSource value)
         glusterfs represents a Glusterfs volume that is attached to a host and
         exposed to the pod. Provisioned by an admin.
         Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported.
         More info: https://examples.k8s.io/volumes/glusterfs/README.md
         +optional
         
        optional .k8s.io.api.core.v1.GlusterfsPersistentVolumeSource glusterfs = 4;
      • clearGlusterfs

        public Generated.PersistentVolumeSource.Builder clearGlusterfs()
         glusterfs represents a Glusterfs volume that is attached to a host and
         exposed to the pod. Provisioned by an admin.
         Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported.
         More info: https://examples.k8s.io/volumes/glusterfs/README.md
         +optional
         
        optional .k8s.io.api.core.v1.GlusterfsPersistentVolumeSource glusterfs = 4;
      • getGlusterfsBuilder

        public Generated.GlusterfsPersistentVolumeSource.Builder getGlusterfsBuilder()
         glusterfs represents a Glusterfs volume that is attached to a host and
         exposed to the pod. Provisioned by an admin.
         Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported.
         More info: https://examples.k8s.io/volumes/glusterfs/README.md
         +optional
         
        optional .k8s.io.api.core.v1.GlusterfsPersistentVolumeSource glusterfs = 4;
      • hasNfs

        public boolean hasNfs()
         nfs represents an NFS mount on the host. Provisioned by an admin.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
         +optional
         
        optional .k8s.io.api.core.v1.NFSVolumeSource nfs = 5;
        Specified by:
        hasNfs in interface Generated.PersistentVolumeSourceOrBuilder
        Returns:
        Whether the nfs field is set.
      • clearNfs

        public Generated.PersistentVolumeSource.Builder clearNfs()
         nfs represents an NFS mount on the host. Provisioned by an admin.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
         +optional
         
        optional .k8s.io.api.core.v1.NFSVolumeSource nfs = 5;
      • getNfsBuilder

        public Generated.NFSVolumeSource.Builder getNfsBuilder()
         nfs represents an NFS mount on the host. Provisioned by an admin.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
         +optional
         
        optional .k8s.io.api.core.v1.NFSVolumeSource nfs = 5;
      • hasRbd

        public boolean hasRbd()
         rbd represents a Rados Block Device mount on the host that shares a pod's lifetime.
         Deprecated: RBD is deprecated and the in-tree rbd type is no longer supported.
         More info: https://examples.k8s.io/volumes/rbd/README.md
         +optional
         
        optional .k8s.io.api.core.v1.RBDPersistentVolumeSource rbd = 6;
        Specified by:
        hasRbd in interface Generated.PersistentVolumeSourceOrBuilder
        Returns:
        Whether the rbd field is set.
      • getRbd

        public Generated.RBDPersistentVolumeSource getRbd()
         rbd represents a Rados Block Device mount on the host that shares a pod's lifetime.
         Deprecated: RBD is deprecated and the in-tree rbd type is no longer supported.
         More info: https://examples.k8s.io/volumes/rbd/README.md
         +optional
         
        optional .k8s.io.api.core.v1.RBDPersistentVolumeSource rbd = 6;
        Specified by:
        getRbd in interface Generated.PersistentVolumeSourceOrBuilder
        Returns:
        The rbd.
      • setRbd

        public Generated.PersistentVolumeSource.Builder setRbd​(Generated.RBDPersistentVolumeSource value)
         rbd represents a Rados Block Device mount on the host that shares a pod's lifetime.
         Deprecated: RBD is deprecated and the in-tree rbd type is no longer supported.
         More info: https://examples.k8s.io/volumes/rbd/README.md
         +optional
         
        optional .k8s.io.api.core.v1.RBDPersistentVolumeSource rbd = 6;
      • setRbd

        public Generated.PersistentVolumeSource.Builder setRbd​(Generated.RBDPersistentVolumeSource.Builder builderForValue)
         rbd represents a Rados Block Device mount on the host that shares a pod's lifetime.
         Deprecated: RBD is deprecated and the in-tree rbd type is no longer supported.
         More info: https://examples.k8s.io/volumes/rbd/README.md
         +optional
         
        optional .k8s.io.api.core.v1.RBDPersistentVolumeSource rbd = 6;
      • mergeRbd

        public Generated.PersistentVolumeSource.Builder mergeRbd​(Generated.RBDPersistentVolumeSource value)
         rbd represents a Rados Block Device mount on the host that shares a pod's lifetime.
         Deprecated: RBD is deprecated and the in-tree rbd type is no longer supported.
         More info: https://examples.k8s.io/volumes/rbd/README.md
         +optional
         
        optional .k8s.io.api.core.v1.RBDPersistentVolumeSource rbd = 6;
      • clearRbd

        public Generated.PersistentVolumeSource.Builder clearRbd()
         rbd represents a Rados Block Device mount on the host that shares a pod's lifetime.
         Deprecated: RBD is deprecated and the in-tree rbd type is no longer supported.
         More info: https://examples.k8s.io/volumes/rbd/README.md
         +optional
         
        optional .k8s.io.api.core.v1.RBDPersistentVolumeSource rbd = 6;
      • getRbdBuilder

        public Generated.RBDPersistentVolumeSource.Builder getRbdBuilder()
         rbd represents a Rados Block Device mount on the host that shares a pod's lifetime.
         Deprecated: RBD is deprecated and the in-tree rbd type is no longer supported.
         More info: https://examples.k8s.io/volumes/rbd/README.md
         +optional
         
        optional .k8s.io.api.core.v1.RBDPersistentVolumeSource rbd = 6;
      • hasIscsi

        public boolean hasIscsi()
         iscsi represents an ISCSI Disk resource that is attached to a
         kubelet's host machine and then exposed to the pod. Provisioned by an admin.
         +optional
         
        optional .k8s.io.api.core.v1.ISCSIPersistentVolumeSource iscsi = 7;
        Specified by:
        hasIscsi in interface Generated.PersistentVolumeSourceOrBuilder
        Returns:
        Whether the iscsi field is set.
      • clearIscsi

        public Generated.PersistentVolumeSource.Builder clearIscsi()
         iscsi represents an ISCSI Disk resource that is attached to a
         kubelet's host machine and then exposed to the pod. Provisioned by an admin.
         +optional
         
        optional .k8s.io.api.core.v1.ISCSIPersistentVolumeSource iscsi = 7;
      • getIscsiBuilder

        public Generated.ISCSIPersistentVolumeSource.Builder getIscsiBuilder()
         iscsi represents an ISCSI Disk resource that is attached to a
         kubelet's host machine and then exposed to the pod. Provisioned by an admin.
         +optional
         
        optional .k8s.io.api.core.v1.ISCSIPersistentVolumeSource iscsi = 7;
      • hasCinder

        public boolean hasCinder()
         cinder represents a cinder volume attached and mounted on kubelets host machine.
         Deprecated: Cinder is deprecated. All operations for the in-tree cinder type
         are redirected to the cinder.csi.openstack.org CSI driver.
         More info: https://examples.k8s.io/mysql-cinder-pd/README.md
         +optional
         
        optional .k8s.io.api.core.v1.CinderPersistentVolumeSource cinder = 8;
        Specified by:
        hasCinder in interface Generated.PersistentVolumeSourceOrBuilder
        Returns:
        Whether the cinder field is set.
      • getCinder

        public Generated.CinderPersistentVolumeSource getCinder()
         cinder represents a cinder volume attached and mounted on kubelets host machine.
         Deprecated: Cinder is deprecated. All operations for the in-tree cinder type
         are redirected to the cinder.csi.openstack.org CSI driver.
         More info: https://examples.k8s.io/mysql-cinder-pd/README.md
         +optional
         
        optional .k8s.io.api.core.v1.CinderPersistentVolumeSource cinder = 8;
        Specified by:
        getCinder in interface Generated.PersistentVolumeSourceOrBuilder
        Returns:
        The cinder.
      • setCinder

        public Generated.PersistentVolumeSource.Builder setCinder​(Generated.CinderPersistentVolumeSource value)
         cinder represents a cinder volume attached and mounted on kubelets host machine.
         Deprecated: Cinder is deprecated. All operations for the in-tree cinder type
         are redirected to the cinder.csi.openstack.org CSI driver.
         More info: https://examples.k8s.io/mysql-cinder-pd/README.md
         +optional
         
        optional .k8s.io.api.core.v1.CinderPersistentVolumeSource cinder = 8;
      • setCinder

        public Generated.PersistentVolumeSource.Builder setCinder​(Generated.CinderPersistentVolumeSource.Builder builderForValue)
         cinder represents a cinder volume attached and mounted on kubelets host machine.
         Deprecated: Cinder is deprecated. All operations for the in-tree cinder type
         are redirected to the cinder.csi.openstack.org CSI driver.
         More info: https://examples.k8s.io/mysql-cinder-pd/README.md
         +optional
         
        optional .k8s.io.api.core.v1.CinderPersistentVolumeSource cinder = 8;
      • mergeCinder

        public Generated.PersistentVolumeSource.Builder mergeCinder​(Generated.CinderPersistentVolumeSource value)
         cinder represents a cinder volume attached and mounted on kubelets host machine.
         Deprecated: Cinder is deprecated. All operations for the in-tree cinder type
         are redirected to the cinder.csi.openstack.org CSI driver.
         More info: https://examples.k8s.io/mysql-cinder-pd/README.md
         +optional
         
        optional .k8s.io.api.core.v1.CinderPersistentVolumeSource cinder = 8;
      • clearCinder

        public Generated.PersistentVolumeSource.Builder clearCinder()
         cinder represents a cinder volume attached and mounted on kubelets host machine.
         Deprecated: Cinder is deprecated. All operations for the in-tree cinder type
         are redirected to the cinder.csi.openstack.org CSI driver.
         More info: https://examples.k8s.io/mysql-cinder-pd/README.md
         +optional
         
        optional .k8s.io.api.core.v1.CinderPersistentVolumeSource cinder = 8;
      • getCinderBuilder

        public Generated.CinderPersistentVolumeSource.Builder getCinderBuilder()
         cinder represents a cinder volume attached and mounted on kubelets host machine.
         Deprecated: Cinder is deprecated. All operations for the in-tree cinder type
         are redirected to the cinder.csi.openstack.org CSI driver.
         More info: https://examples.k8s.io/mysql-cinder-pd/README.md
         +optional
         
        optional .k8s.io.api.core.v1.CinderPersistentVolumeSource cinder = 8;
      • getCinderOrBuilder

        public Generated.CinderPersistentVolumeSourceOrBuilder getCinderOrBuilder()
         cinder represents a cinder volume attached and mounted on kubelets host machine.
         Deprecated: Cinder is deprecated. All operations for the in-tree cinder type
         are redirected to the cinder.csi.openstack.org CSI driver.
         More info: https://examples.k8s.io/mysql-cinder-pd/README.md
         +optional
         
        optional .k8s.io.api.core.v1.CinderPersistentVolumeSource cinder = 8;
        Specified by:
        getCinderOrBuilder in interface Generated.PersistentVolumeSourceOrBuilder
      • hasCephfs

        public boolean hasCephfs()
         cephFS represents a Ceph FS mount on the host that shares a pod's lifetime.
         Deprecated: CephFS is deprecated and the in-tree cephfs type is no longer supported.
         +optional
         
        optional .k8s.io.api.core.v1.CephFSPersistentVolumeSource cephfs = 9;
        Specified by:
        hasCephfs in interface Generated.PersistentVolumeSourceOrBuilder
        Returns:
        Whether the cephfs field is set.
      • clearCephfs

        public Generated.PersistentVolumeSource.Builder clearCephfs()
         cephFS represents a Ceph FS mount on the host that shares a pod's lifetime.
         Deprecated: CephFS is deprecated and the in-tree cephfs type is no longer supported.
         +optional
         
        optional .k8s.io.api.core.v1.CephFSPersistentVolumeSource cephfs = 9;
      • getCephfsBuilder

        public Generated.CephFSPersistentVolumeSource.Builder getCephfsBuilder()
         cephFS represents a Ceph FS mount on the host that shares a pod's lifetime.
         Deprecated: CephFS is deprecated and the in-tree cephfs type is no longer supported.
         +optional
         
        optional .k8s.io.api.core.v1.CephFSPersistentVolumeSource cephfs = 9;
      • hasFc

        public boolean hasFc()
         fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.
         +optional
         
        optional .k8s.io.api.core.v1.FCVolumeSource fc = 10;
        Specified by:
        hasFc in interface Generated.PersistentVolumeSourceOrBuilder
        Returns:
        Whether the fc field is set.
      • clearFc

        public Generated.PersistentVolumeSource.Builder clearFc()
         fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.
         +optional
         
        optional .k8s.io.api.core.v1.FCVolumeSource fc = 10;
      • getFcBuilder

        public Generated.FCVolumeSource.Builder getFcBuilder()
         fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.
         +optional
         
        optional .k8s.io.api.core.v1.FCVolumeSource fc = 10;
      • hasFlocker

        public boolean hasFlocker()
         flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running.
         Deprecated: Flocker is deprecated and the in-tree flocker type is no longer supported.
         +optional
         
        optional .k8s.io.api.core.v1.FlockerVolumeSource flocker = 11;
        Specified by:
        hasFlocker in interface Generated.PersistentVolumeSourceOrBuilder
        Returns:
        Whether the flocker field is set.
      • getFlocker

        public Generated.FlockerVolumeSource getFlocker()
         flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running.
         Deprecated: Flocker is deprecated and the in-tree flocker type is no longer supported.
         +optional
         
        optional .k8s.io.api.core.v1.FlockerVolumeSource flocker = 11;
        Specified by:
        getFlocker in interface Generated.PersistentVolumeSourceOrBuilder
        Returns:
        The flocker.
      • setFlocker

        public Generated.PersistentVolumeSource.Builder setFlocker​(Generated.FlockerVolumeSource value)
         flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running.
         Deprecated: Flocker is deprecated and the in-tree flocker type is no longer supported.
         +optional
         
        optional .k8s.io.api.core.v1.FlockerVolumeSource flocker = 11;
      • setFlocker

        public Generated.PersistentVolumeSource.Builder setFlocker​(Generated.FlockerVolumeSource.Builder builderForValue)
         flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running.
         Deprecated: Flocker is deprecated and the in-tree flocker type is no longer supported.
         +optional
         
        optional .k8s.io.api.core.v1.FlockerVolumeSource flocker = 11;
      • mergeFlocker

        public Generated.PersistentVolumeSource.Builder mergeFlocker​(Generated.FlockerVolumeSource value)
         flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running.
         Deprecated: Flocker is deprecated and the in-tree flocker type is no longer supported.
         +optional
         
        optional .k8s.io.api.core.v1.FlockerVolumeSource flocker = 11;
      • clearFlocker

        public Generated.PersistentVolumeSource.Builder clearFlocker()
         flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running.
         Deprecated: Flocker is deprecated and the in-tree flocker type is no longer supported.
         +optional
         
        optional .k8s.io.api.core.v1.FlockerVolumeSource flocker = 11;
      • getFlockerBuilder

        public Generated.FlockerVolumeSource.Builder getFlockerBuilder()
         flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running.
         Deprecated: Flocker is deprecated and the in-tree flocker type is no longer supported.
         +optional
         
        optional .k8s.io.api.core.v1.FlockerVolumeSource flocker = 11;
      • getFlockerOrBuilder

        public Generated.FlockerVolumeSourceOrBuilder getFlockerOrBuilder()
         flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running.
         Deprecated: Flocker is deprecated and the in-tree flocker type is no longer supported.
         +optional
         
        optional .k8s.io.api.core.v1.FlockerVolumeSource flocker = 11;
        Specified by:
        getFlockerOrBuilder in interface Generated.PersistentVolumeSourceOrBuilder
      • hasFlexVolume

        public boolean hasFlexVolume()
         flexVolume represents a generic volume resource that is
         provisioned/attached using an exec based plugin.
         Deprecated: FlexVolume is deprecated. Consider using a CSIDriver instead.
         +optional
         
        optional .k8s.io.api.core.v1.FlexPersistentVolumeSource flexVolume = 12;
        Specified by:
        hasFlexVolume in interface Generated.PersistentVolumeSourceOrBuilder
        Returns:
        Whether the flexVolume field is set.
      • setFlexVolume

        public Generated.PersistentVolumeSource.Builder setFlexVolume​(Generated.FlexPersistentVolumeSource value)
         flexVolume represents a generic volume resource that is
         provisioned/attached using an exec based plugin.
         Deprecated: FlexVolume is deprecated. Consider using a CSIDriver instead.
         +optional
         
        optional .k8s.io.api.core.v1.FlexPersistentVolumeSource flexVolume = 12;
      • mergeFlexVolume

        public Generated.PersistentVolumeSource.Builder mergeFlexVolume​(Generated.FlexPersistentVolumeSource value)
         flexVolume represents a generic volume resource that is
         provisioned/attached using an exec based plugin.
         Deprecated: FlexVolume is deprecated. Consider using a CSIDriver instead.
         +optional
         
        optional .k8s.io.api.core.v1.FlexPersistentVolumeSource flexVolume = 12;
      • clearFlexVolume

        public Generated.PersistentVolumeSource.Builder clearFlexVolume()
         flexVolume represents a generic volume resource that is
         provisioned/attached using an exec based plugin.
         Deprecated: FlexVolume is deprecated. Consider using a CSIDriver instead.
         +optional
         
        optional .k8s.io.api.core.v1.FlexPersistentVolumeSource flexVolume = 12;
      • getFlexVolumeBuilder

        public Generated.FlexPersistentVolumeSource.Builder getFlexVolumeBuilder()
         flexVolume represents a generic volume resource that is
         provisioned/attached using an exec based plugin.
         Deprecated: FlexVolume is deprecated. Consider using a CSIDriver instead.
         +optional
         
        optional .k8s.io.api.core.v1.FlexPersistentVolumeSource flexVolume = 12;
      • hasAzureFile

        public boolean hasAzureFile()
         azureFile represents an Azure File Service mount on the host and bind mount to the pod.
         Deprecated: AzureFile is deprecated. All operations for the in-tree azureFile type
         are redirected to the file.csi.azure.com CSI driver.
         +optional
         
        optional .k8s.io.api.core.v1.AzureFilePersistentVolumeSource azureFile = 13;
        Specified by:
        hasAzureFile in interface Generated.PersistentVolumeSourceOrBuilder
        Returns:
        Whether the azureFile field is set.
      • getAzureFile

        public Generated.AzureFilePersistentVolumeSource getAzureFile()
         azureFile represents an Azure File Service mount on the host and bind mount to the pod.
         Deprecated: AzureFile is deprecated. All operations for the in-tree azureFile type
         are redirected to the file.csi.azure.com CSI driver.
         +optional
         
        optional .k8s.io.api.core.v1.AzureFilePersistentVolumeSource azureFile = 13;
        Specified by:
        getAzureFile in interface Generated.PersistentVolumeSourceOrBuilder
        Returns:
        The azureFile.
      • setAzureFile

        public Generated.PersistentVolumeSource.Builder setAzureFile​(Generated.AzureFilePersistentVolumeSource value)
         azureFile represents an Azure File Service mount on the host and bind mount to the pod.
         Deprecated: AzureFile is deprecated. All operations for the in-tree azureFile type
         are redirected to the file.csi.azure.com CSI driver.
         +optional
         
        optional .k8s.io.api.core.v1.AzureFilePersistentVolumeSource azureFile = 13;
      • setAzureFile

        public Generated.PersistentVolumeSource.Builder setAzureFile​(Generated.AzureFilePersistentVolumeSource.Builder builderForValue)
         azureFile represents an Azure File Service mount on the host and bind mount to the pod.
         Deprecated: AzureFile is deprecated. All operations for the in-tree azureFile type
         are redirected to the file.csi.azure.com CSI driver.
         +optional
         
        optional .k8s.io.api.core.v1.AzureFilePersistentVolumeSource azureFile = 13;
      • mergeAzureFile

        public Generated.PersistentVolumeSource.Builder mergeAzureFile​(Generated.AzureFilePersistentVolumeSource value)
         azureFile represents an Azure File Service mount on the host and bind mount to the pod.
         Deprecated: AzureFile is deprecated. All operations for the in-tree azureFile type
         are redirected to the file.csi.azure.com CSI driver.
         +optional
         
        optional .k8s.io.api.core.v1.AzureFilePersistentVolumeSource azureFile = 13;
      • clearAzureFile

        public Generated.PersistentVolumeSource.Builder clearAzureFile()
         azureFile represents an Azure File Service mount on the host and bind mount to the pod.
         Deprecated: AzureFile is deprecated. All operations for the in-tree azureFile type
         are redirected to the file.csi.azure.com CSI driver.
         +optional
         
        optional .k8s.io.api.core.v1.AzureFilePersistentVolumeSource azureFile = 13;
      • getAzureFileBuilder

        public Generated.AzureFilePersistentVolumeSource.Builder getAzureFileBuilder()
         azureFile represents an Azure File Service mount on the host and bind mount to the pod.
         Deprecated: AzureFile is deprecated. All operations for the in-tree azureFile type
         are redirected to the file.csi.azure.com CSI driver.
         +optional
         
        optional .k8s.io.api.core.v1.AzureFilePersistentVolumeSource azureFile = 13;
      • hasVsphereVolume

        public boolean hasVsphereVolume()
         vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine.
         Deprecated: VsphereVolume is deprecated. All operations for the in-tree vsphereVolume type
         are redirected to the csi.vsphere.vmware.com CSI driver.
         +optional
         
        optional .k8s.io.api.core.v1.VsphereVirtualDiskVolumeSource vsphereVolume = 14;
        Specified by:
        hasVsphereVolume in interface Generated.PersistentVolumeSourceOrBuilder
        Returns:
        Whether the vsphereVolume field is set.
      • getVsphereVolume

        public Generated.VsphereVirtualDiskVolumeSource getVsphereVolume()
         vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine.
         Deprecated: VsphereVolume is deprecated. All operations for the in-tree vsphereVolume type
         are redirected to the csi.vsphere.vmware.com CSI driver.
         +optional
         
        optional .k8s.io.api.core.v1.VsphereVirtualDiskVolumeSource vsphereVolume = 14;
        Specified by:
        getVsphereVolume in interface Generated.PersistentVolumeSourceOrBuilder
        Returns:
        The vsphereVolume.
      • setVsphereVolume

        public Generated.PersistentVolumeSource.Builder setVsphereVolume​(Generated.VsphereVirtualDiskVolumeSource value)
         vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine.
         Deprecated: VsphereVolume is deprecated. All operations for the in-tree vsphereVolume type
         are redirected to the csi.vsphere.vmware.com CSI driver.
         +optional
         
        optional .k8s.io.api.core.v1.VsphereVirtualDiskVolumeSource vsphereVolume = 14;
      • setVsphereVolume

        public Generated.PersistentVolumeSource.Builder setVsphereVolume​(Generated.VsphereVirtualDiskVolumeSource.Builder builderForValue)
         vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine.
         Deprecated: VsphereVolume is deprecated. All operations for the in-tree vsphereVolume type
         are redirected to the csi.vsphere.vmware.com CSI driver.
         +optional
         
        optional .k8s.io.api.core.v1.VsphereVirtualDiskVolumeSource vsphereVolume = 14;
      • mergeVsphereVolume

        public Generated.PersistentVolumeSource.Builder mergeVsphereVolume​(Generated.VsphereVirtualDiskVolumeSource value)
         vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine.
         Deprecated: VsphereVolume is deprecated. All operations for the in-tree vsphereVolume type
         are redirected to the csi.vsphere.vmware.com CSI driver.
         +optional
         
        optional .k8s.io.api.core.v1.VsphereVirtualDiskVolumeSource vsphereVolume = 14;
      • clearVsphereVolume

        public Generated.PersistentVolumeSource.Builder clearVsphereVolume()
         vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine.
         Deprecated: VsphereVolume is deprecated. All operations for the in-tree vsphereVolume type
         are redirected to the csi.vsphere.vmware.com CSI driver.
         +optional
         
        optional .k8s.io.api.core.v1.VsphereVirtualDiskVolumeSource vsphereVolume = 14;
      • getVsphereVolumeBuilder

        public Generated.VsphereVirtualDiskVolumeSource.Builder getVsphereVolumeBuilder()
         vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine.
         Deprecated: VsphereVolume is deprecated. All operations for the in-tree vsphereVolume type
         are redirected to the csi.vsphere.vmware.com CSI driver.
         +optional
         
        optional .k8s.io.api.core.v1.VsphereVirtualDiskVolumeSource vsphereVolume = 14;
      • hasQuobyte

        public boolean hasQuobyte()
         quobyte represents a Quobyte mount on the host that shares a pod's lifetime.
         Deprecated: Quobyte is deprecated and the in-tree quobyte type is no longer supported.
         +optional
         
        optional .k8s.io.api.core.v1.QuobyteVolumeSource quobyte = 15;
        Specified by:
        hasQuobyte in interface Generated.PersistentVolumeSourceOrBuilder
        Returns:
        Whether the quobyte field is set.
      • getQuobyte

        public Generated.QuobyteVolumeSource getQuobyte()
         quobyte represents a Quobyte mount on the host that shares a pod's lifetime.
         Deprecated: Quobyte is deprecated and the in-tree quobyte type is no longer supported.
         +optional
         
        optional .k8s.io.api.core.v1.QuobyteVolumeSource quobyte = 15;
        Specified by:
        getQuobyte in interface Generated.PersistentVolumeSourceOrBuilder
        Returns:
        The quobyte.
      • setQuobyte

        public Generated.PersistentVolumeSource.Builder setQuobyte​(Generated.QuobyteVolumeSource value)
         quobyte represents a Quobyte mount on the host that shares a pod's lifetime.
         Deprecated: Quobyte is deprecated and the in-tree quobyte type is no longer supported.
         +optional
         
        optional .k8s.io.api.core.v1.QuobyteVolumeSource quobyte = 15;
      • mergeQuobyte

        public Generated.PersistentVolumeSource.Builder mergeQuobyte​(Generated.QuobyteVolumeSource value)
         quobyte represents a Quobyte mount on the host that shares a pod's lifetime.
         Deprecated: Quobyte is deprecated and the in-tree quobyte type is no longer supported.
         +optional
         
        optional .k8s.io.api.core.v1.QuobyteVolumeSource quobyte = 15;
      • clearQuobyte

        public Generated.PersistentVolumeSource.Builder clearQuobyte()
         quobyte represents a Quobyte mount on the host that shares a pod's lifetime.
         Deprecated: Quobyte is deprecated and the in-tree quobyte type is no longer supported.
         +optional
         
        optional .k8s.io.api.core.v1.QuobyteVolumeSource quobyte = 15;
      • getQuobyteBuilder

        public Generated.QuobyteVolumeSource.Builder getQuobyteBuilder()
         quobyte represents a Quobyte mount on the host that shares a pod's lifetime.
         Deprecated: Quobyte is deprecated and the in-tree quobyte type is no longer supported.
         +optional
         
        optional .k8s.io.api.core.v1.QuobyteVolumeSource quobyte = 15;
      • hasAzureDisk

        public boolean hasAzureDisk()
         azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
         Deprecated: AzureDisk is deprecated. All operations for the in-tree azureDisk type
         are redirected to the disk.csi.azure.com CSI driver.
         +optional
         
        optional .k8s.io.api.core.v1.AzureDiskVolumeSource azureDisk = 16;
        Specified by:
        hasAzureDisk in interface Generated.PersistentVolumeSourceOrBuilder
        Returns:
        Whether the azureDisk field is set.
      • getAzureDisk

        public Generated.AzureDiskVolumeSource getAzureDisk()
         azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
         Deprecated: AzureDisk is deprecated. All operations for the in-tree azureDisk type
         are redirected to the disk.csi.azure.com CSI driver.
         +optional
         
        optional .k8s.io.api.core.v1.AzureDiskVolumeSource azureDisk = 16;
        Specified by:
        getAzureDisk in interface Generated.PersistentVolumeSourceOrBuilder
        Returns:
        The azureDisk.
      • setAzureDisk

        public Generated.PersistentVolumeSource.Builder setAzureDisk​(Generated.AzureDiskVolumeSource value)
         azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
         Deprecated: AzureDisk is deprecated. All operations for the in-tree azureDisk type
         are redirected to the disk.csi.azure.com CSI driver.
         +optional
         
        optional .k8s.io.api.core.v1.AzureDiskVolumeSource azureDisk = 16;
      • setAzureDisk

        public Generated.PersistentVolumeSource.Builder setAzureDisk​(Generated.AzureDiskVolumeSource.Builder builderForValue)
         azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
         Deprecated: AzureDisk is deprecated. All operations for the in-tree azureDisk type
         are redirected to the disk.csi.azure.com CSI driver.
         +optional
         
        optional .k8s.io.api.core.v1.AzureDiskVolumeSource azureDisk = 16;
      • mergeAzureDisk

        public Generated.PersistentVolumeSource.Builder mergeAzureDisk​(Generated.AzureDiskVolumeSource value)
         azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
         Deprecated: AzureDisk is deprecated. All operations for the in-tree azureDisk type
         are redirected to the disk.csi.azure.com CSI driver.
         +optional
         
        optional .k8s.io.api.core.v1.AzureDiskVolumeSource azureDisk = 16;
      • clearAzureDisk

        public Generated.PersistentVolumeSource.Builder clearAzureDisk()
         azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
         Deprecated: AzureDisk is deprecated. All operations for the in-tree azureDisk type
         are redirected to the disk.csi.azure.com CSI driver.
         +optional
         
        optional .k8s.io.api.core.v1.AzureDiskVolumeSource azureDisk = 16;
      • getAzureDiskBuilder

        public Generated.AzureDiskVolumeSource.Builder getAzureDiskBuilder()
         azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
         Deprecated: AzureDisk is deprecated. All operations for the in-tree azureDisk type
         are redirected to the disk.csi.azure.com CSI driver.
         +optional
         
        optional .k8s.io.api.core.v1.AzureDiskVolumeSource azureDisk = 16;
      • hasPhotonPersistentDisk

        public boolean hasPhotonPersistentDisk()
         photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine.
         Deprecated: PhotonPersistentDisk is deprecated and the in-tree photonPersistentDisk type is no longer supported.
         
        optional .k8s.io.api.core.v1.PhotonPersistentDiskVolumeSource photonPersistentDisk = 17;
        Specified by:
        hasPhotonPersistentDisk in interface Generated.PersistentVolumeSourceOrBuilder
        Returns:
        Whether the photonPersistentDisk field is set.
      • getPhotonPersistentDisk

        public Generated.PhotonPersistentDiskVolumeSource getPhotonPersistentDisk()
         photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine.
         Deprecated: PhotonPersistentDisk is deprecated and the in-tree photonPersistentDisk type is no longer supported.
         
        optional .k8s.io.api.core.v1.PhotonPersistentDiskVolumeSource photonPersistentDisk = 17;
        Specified by:
        getPhotonPersistentDisk in interface Generated.PersistentVolumeSourceOrBuilder
        Returns:
        The photonPersistentDisk.
      • setPhotonPersistentDisk

        public Generated.PersistentVolumeSource.Builder setPhotonPersistentDisk​(Generated.PhotonPersistentDiskVolumeSource value)
         photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine.
         Deprecated: PhotonPersistentDisk is deprecated and the in-tree photonPersistentDisk type is no longer supported.
         
        optional .k8s.io.api.core.v1.PhotonPersistentDiskVolumeSource photonPersistentDisk = 17;
      • setPhotonPersistentDisk

        public Generated.PersistentVolumeSource.Builder setPhotonPersistentDisk​(Generated.PhotonPersistentDiskVolumeSource.Builder builderForValue)
         photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine.
         Deprecated: PhotonPersistentDisk is deprecated and the in-tree photonPersistentDisk type is no longer supported.
         
        optional .k8s.io.api.core.v1.PhotonPersistentDiskVolumeSource photonPersistentDisk = 17;
      • mergePhotonPersistentDisk

        public Generated.PersistentVolumeSource.Builder mergePhotonPersistentDisk​(Generated.PhotonPersistentDiskVolumeSource value)
         photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine.
         Deprecated: PhotonPersistentDisk is deprecated and the in-tree photonPersistentDisk type is no longer supported.
         
        optional .k8s.io.api.core.v1.PhotonPersistentDiskVolumeSource photonPersistentDisk = 17;
      • clearPhotonPersistentDisk

        public Generated.PersistentVolumeSource.Builder clearPhotonPersistentDisk()
         photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine.
         Deprecated: PhotonPersistentDisk is deprecated and the in-tree photonPersistentDisk type is no longer supported.
         
        optional .k8s.io.api.core.v1.PhotonPersistentDiskVolumeSource photonPersistentDisk = 17;
      • getPhotonPersistentDiskBuilder

        public Generated.PhotonPersistentDiskVolumeSource.Builder getPhotonPersistentDiskBuilder()
         photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine.
         Deprecated: PhotonPersistentDisk is deprecated and the in-tree photonPersistentDisk type is no longer supported.
         
        optional .k8s.io.api.core.v1.PhotonPersistentDiskVolumeSource photonPersistentDisk = 17;
      • hasPortworxVolume

        public boolean hasPortworxVolume()
         portworxVolume represents a portworx volume attached and mounted on kubelets host machine.
         Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type
         are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate
         is on.
         +optional
         
        optional .k8s.io.api.core.v1.PortworxVolumeSource portworxVolume = 18;
        Specified by:
        hasPortworxVolume in interface Generated.PersistentVolumeSourceOrBuilder
        Returns:
        Whether the portworxVolume field is set.
      • getPortworxVolume

        public Generated.PortworxVolumeSource getPortworxVolume()
         portworxVolume represents a portworx volume attached and mounted on kubelets host machine.
         Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type
         are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate
         is on.
         +optional
         
        optional .k8s.io.api.core.v1.PortworxVolumeSource portworxVolume = 18;
        Specified by:
        getPortworxVolume in interface Generated.PersistentVolumeSourceOrBuilder
        Returns:
        The portworxVolume.
      • setPortworxVolume

        public Generated.PersistentVolumeSource.Builder setPortworxVolume​(Generated.PortworxVolumeSource value)
         portworxVolume represents a portworx volume attached and mounted on kubelets host machine.
         Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type
         are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate
         is on.
         +optional
         
        optional .k8s.io.api.core.v1.PortworxVolumeSource portworxVolume = 18;
      • setPortworxVolume

        public Generated.PersistentVolumeSource.Builder setPortworxVolume​(Generated.PortworxVolumeSource.Builder builderForValue)
         portworxVolume represents a portworx volume attached and mounted on kubelets host machine.
         Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type
         are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate
         is on.
         +optional
         
        optional .k8s.io.api.core.v1.PortworxVolumeSource portworxVolume = 18;
      • mergePortworxVolume

        public Generated.PersistentVolumeSource.Builder mergePortworxVolume​(Generated.PortworxVolumeSource value)
         portworxVolume represents a portworx volume attached and mounted on kubelets host machine.
         Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type
         are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate
         is on.
         +optional
         
        optional .k8s.io.api.core.v1.PortworxVolumeSource portworxVolume = 18;
      • clearPortworxVolume

        public Generated.PersistentVolumeSource.Builder clearPortworxVolume()
         portworxVolume represents a portworx volume attached and mounted on kubelets host machine.
         Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type
         are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate
         is on.
         +optional
         
        optional .k8s.io.api.core.v1.PortworxVolumeSource portworxVolume = 18;
      • getPortworxVolumeBuilder

        public Generated.PortworxVolumeSource.Builder getPortworxVolumeBuilder()
         portworxVolume represents a portworx volume attached and mounted on kubelets host machine.
         Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type
         are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate
         is on.
         +optional
         
        optional .k8s.io.api.core.v1.PortworxVolumeSource portworxVolume = 18;
      • getPortworxVolumeOrBuilder

        public Generated.PortworxVolumeSourceOrBuilder getPortworxVolumeOrBuilder()
         portworxVolume represents a portworx volume attached and mounted on kubelets host machine.
         Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type
         are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate
         is on.
         +optional
         
        optional .k8s.io.api.core.v1.PortworxVolumeSource portworxVolume = 18;
        Specified by:
        getPortworxVolumeOrBuilder in interface Generated.PersistentVolumeSourceOrBuilder
      • hasScaleIO

        public boolean hasScaleIO()
         scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.
         Deprecated: ScaleIO is deprecated and the in-tree scaleIO type is no longer supported.
         +optional
         
        optional .k8s.io.api.core.v1.ScaleIOPersistentVolumeSource scaleIO = 19;
        Specified by:
        hasScaleIO in interface Generated.PersistentVolumeSourceOrBuilder
        Returns:
        Whether the scaleIO field is set.
      • clearScaleIO

        public Generated.PersistentVolumeSource.Builder clearScaleIO()
         scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.
         Deprecated: ScaleIO is deprecated and the in-tree scaleIO type is no longer supported.
         +optional
         
        optional .k8s.io.api.core.v1.ScaleIOPersistentVolumeSource scaleIO = 19;
      • getScaleIOBuilder

        public Generated.ScaleIOPersistentVolumeSource.Builder getScaleIOBuilder()
         scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.
         Deprecated: ScaleIO is deprecated and the in-tree scaleIO type is no longer supported.
         +optional
         
        optional .k8s.io.api.core.v1.ScaleIOPersistentVolumeSource scaleIO = 19;
      • hasLocal

        public boolean hasLocal()
         local represents directly-attached storage with node affinity
         +optional
         
        optional .k8s.io.api.core.v1.LocalVolumeSource local = 20;
        Specified by:
        hasLocal in interface Generated.PersistentVolumeSourceOrBuilder
        Returns:
        Whether the local field is set.
      • clearLocal

        public Generated.PersistentVolumeSource.Builder clearLocal()
         local represents directly-attached storage with node affinity
         +optional
         
        optional .k8s.io.api.core.v1.LocalVolumeSource local = 20;
      • getLocalBuilder

        public Generated.LocalVolumeSource.Builder getLocalBuilder()
         local represents directly-attached storage with node affinity
         +optional
         
        optional .k8s.io.api.core.v1.LocalVolumeSource local = 20;
      • hasStorageos

        public boolean hasStorageos()
         storageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod.
         Deprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported.
         More info: https://examples.k8s.io/volumes/storageos/README.md
         +optional
         
        optional .k8s.io.api.core.v1.StorageOSPersistentVolumeSource storageos = 21;
        Specified by:
        hasStorageos in interface Generated.PersistentVolumeSourceOrBuilder
        Returns:
        Whether the storageos field is set.
      • getStorageos

        public Generated.StorageOSPersistentVolumeSource getStorageos()
         storageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod.
         Deprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported.
         More info: https://examples.k8s.io/volumes/storageos/README.md
         +optional
         
        optional .k8s.io.api.core.v1.StorageOSPersistentVolumeSource storageos = 21;
        Specified by:
        getStorageos in interface Generated.PersistentVolumeSourceOrBuilder
        Returns:
        The storageos.
      • setStorageos

        public Generated.PersistentVolumeSource.Builder setStorageos​(Generated.StorageOSPersistentVolumeSource value)
         storageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod.
         Deprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported.
         More info: https://examples.k8s.io/volumes/storageos/README.md
         +optional
         
        optional .k8s.io.api.core.v1.StorageOSPersistentVolumeSource storageos = 21;
      • setStorageos

        public Generated.PersistentVolumeSource.Builder setStorageos​(Generated.StorageOSPersistentVolumeSource.Builder builderForValue)
         storageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod.
         Deprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported.
         More info: https://examples.k8s.io/volumes/storageos/README.md
         +optional
         
        optional .k8s.io.api.core.v1.StorageOSPersistentVolumeSource storageos = 21;
      • mergeStorageos

        public Generated.PersistentVolumeSource.Builder mergeStorageos​(Generated.StorageOSPersistentVolumeSource value)
         storageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod.
         Deprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported.
         More info: https://examples.k8s.io/volumes/storageos/README.md
         +optional
         
        optional .k8s.io.api.core.v1.StorageOSPersistentVolumeSource storageos = 21;
      • clearStorageos

        public Generated.PersistentVolumeSource.Builder clearStorageos()
         storageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod.
         Deprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported.
         More info: https://examples.k8s.io/volumes/storageos/README.md
         +optional
         
        optional .k8s.io.api.core.v1.StorageOSPersistentVolumeSource storageos = 21;
      • getStorageosBuilder

        public Generated.StorageOSPersistentVolumeSource.Builder getStorageosBuilder()
         storageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod.
         Deprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported.
         More info: https://examples.k8s.io/volumes/storageos/README.md
         +optional
         
        optional .k8s.io.api.core.v1.StorageOSPersistentVolumeSource storageos = 21;
      • hasCsi

        public boolean hasCsi()
         csi represents storage that is handled by an external CSI driver.
         +optional
         
        optional .k8s.io.api.core.v1.CSIPersistentVolumeSource csi = 22;
        Specified by:
        hasCsi in interface Generated.PersistentVolumeSourceOrBuilder
        Returns:
        Whether the csi field is set.
      • clearCsi

        public Generated.PersistentVolumeSource.Builder clearCsi()
         csi represents storage that is handled by an external CSI driver.
         +optional
         
        optional .k8s.io.api.core.v1.CSIPersistentVolumeSource csi = 22;
      • getCsiBuilder

        public Generated.CSIPersistentVolumeSource.Builder getCsiBuilder()
         csi represents storage that is handled by an external CSI driver.
         +optional
         
        optional .k8s.io.api.core.v1.CSIPersistentVolumeSource csi = 22;