Class Generated.PersistentVolumeSource

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, Generated.PersistentVolumeSourceOrBuilder
    Enclosing class:
    Generated

    public static final class Generated.PersistentVolumeSource
    extends com.google.protobuf.GeneratedMessageV3
    implements Generated.PersistentVolumeSourceOrBuilder
     PersistentVolumeSource is similar to VolumeSource but meant for the
     administrator who creates PVs. Exactly one of its members must be set.
     
    Protobuf type k8s.io.api.core.v1.PersistentVolumeSource
    See Also:
    Serialized Form
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • 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
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static Generated.PersistentVolumeSource parseFrom​(ByteBuffer data,
                                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Generated.PersistentVolumeSource parseFrom​(com.google.protobuf.ByteString data)
                                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Generated.PersistentVolumeSource parseFrom​(com.google.protobuf.ByteString data,
                                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Generated.PersistentVolumeSource parseFrom​(byte[] data)
                                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Generated.PersistentVolumeSource parseFrom​(byte[] data,
                                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • newBuilderForType

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

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

        protected Generated.PersistentVolumeSource.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<Generated.PersistentVolumeSource> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

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