Class V1.PersistentVolumeSource

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.kubernetes.client.proto.V1.PersistentVolumeSource
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, V1.PersistentVolumeSourceOrBuilder, Serializable
Enclosing class:
V1

public static final class V1.PersistentVolumeSource extends com.google.protobuf.GeneratedMessageV3 implements V1.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:
  • Field Details

  • Method Details

    • getUnknownFields

      public final com.google.protobuf.UnknownFieldSet getUnknownFields()
      Specified by:
      getUnknownFields in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getUnknownFields 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.
       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 V1.PersistentVolumeSourceOrBuilder
    • getGcePersistentDisk

      public V1.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.
       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 V1.PersistentVolumeSourceOrBuilder
    • getGcePersistentDiskOrBuilder

      public V1.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.
       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 V1.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.
       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 V1.PersistentVolumeSourceOrBuilder
    • getAwsElasticBlockStore

      public V1.AWSElasticBlockStoreVolumeSource getAwsElasticBlockStore()
       AWSElasticBlockStore represents an AWS Disk resource that is attached to a
       kubelet's host machine and then exposed to the pod.
       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 V1.PersistentVolumeSourceOrBuilder
    • getAwsElasticBlockStoreOrBuilder

      public V1.AWSElasticBlockStoreVolumeSourceOrBuilder getAwsElasticBlockStoreOrBuilder()
       AWSElasticBlockStore represents an AWS Disk resource that is attached to a
       kubelet's host machine and then exposed to the pod.
       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 V1.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 V1.PersistentVolumeSourceOrBuilder
    • getHostPath

      public V1.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 V1.PersistentVolumeSourceOrBuilder
    • getHostPathOrBuilder

      public V1.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 V1.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.
       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 V1.PersistentVolumeSourceOrBuilder
    • getGlusterfs

      public V1.GlusterfsPersistentVolumeSource getGlusterfs()
       Glusterfs represents a Glusterfs volume that is attached to a host and
       exposed to the pod. Provisioned by an admin.
       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 V1.PersistentVolumeSourceOrBuilder
    • getGlusterfsOrBuilder

      public V1.GlusterfsPersistentVolumeSourceOrBuilder getGlusterfsOrBuilder()
       Glusterfs represents a Glusterfs volume that is attached to a host and
       exposed to the pod. Provisioned by an admin.
       More info: https://examples.k8s.io/volumes/glusterfs/README.md
       +optional
       
      optional .k8s.io.api.core.v1.GlusterfsPersistentVolumeSource glusterfs = 4;
      Specified by:
      getGlusterfsOrBuilder in interface V1.PersistentVolumeSourceOrBuilder
    • 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 V1.PersistentVolumeSourceOrBuilder
    • getNfs

      public V1.NFSVolumeSource getNfs()
       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:
      getNfs in interface V1.PersistentVolumeSourceOrBuilder
    • getNfsOrBuilder

      public V1.NFSVolumeSourceOrBuilder getNfsOrBuilder()
       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:
      getNfsOrBuilder in interface V1.PersistentVolumeSourceOrBuilder
    • hasRbd

      public boolean hasRbd()
       RBD represents a Rados Block Device mount on the host that shares a pod's lifetime.
       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 V1.PersistentVolumeSourceOrBuilder
    • getRbd

       RBD represents a Rados Block Device mount on the host that shares a pod's lifetime.
       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 V1.PersistentVolumeSourceOrBuilder
    • getRbdOrBuilder

      public V1.RBDPersistentVolumeSourceOrBuilder getRbdOrBuilder()
       RBD represents a Rados Block Device mount on the host that shares a pod's lifetime.
       More info: https://examples.k8s.io/volumes/rbd/README.md
       +optional
       
      optional .k8s.io.api.core.v1.RBDPersistentVolumeSource rbd = 6;
      Specified by:
      getRbdOrBuilder in interface V1.PersistentVolumeSourceOrBuilder
    • 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 V1.PersistentVolumeSourceOrBuilder
    • getIscsi

      public V1.ISCSIPersistentVolumeSource getIscsi()
       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:
      getIscsi in interface V1.PersistentVolumeSourceOrBuilder
    • getIscsiOrBuilder

      public V1.ISCSIPersistentVolumeSourceOrBuilder getIscsiOrBuilder()
       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:
      getIscsiOrBuilder in interface V1.PersistentVolumeSourceOrBuilder
    • hasCinder

      public boolean hasCinder()
       Cinder represents a cinder volume attached and mounted on kubelets host machine.
       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 V1.PersistentVolumeSourceOrBuilder
    • getCinder

      public V1.CinderPersistentVolumeSource getCinder()
       Cinder represents a cinder volume attached and mounted on kubelets host machine.
       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 V1.PersistentVolumeSourceOrBuilder
    • getCinderOrBuilder

      public V1.CinderPersistentVolumeSourceOrBuilder getCinderOrBuilder()
       Cinder represents a cinder volume attached and mounted on kubelets host machine.
       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 V1.PersistentVolumeSourceOrBuilder
    • hasCephfs

      public boolean hasCephfs()
       CephFS represents a Ceph FS mount on the host that shares a pod's lifetime
       +optional
       
      optional .k8s.io.api.core.v1.CephFSPersistentVolumeSource cephfs = 9;
      Specified by:
      hasCephfs in interface V1.PersistentVolumeSourceOrBuilder
    • getCephfs

      public V1.CephFSPersistentVolumeSource getCephfs()
       CephFS represents a Ceph FS mount on the host that shares a pod's lifetime
       +optional
       
      optional .k8s.io.api.core.v1.CephFSPersistentVolumeSource cephfs = 9;
      Specified by:
      getCephfs in interface V1.PersistentVolumeSourceOrBuilder
    • getCephfsOrBuilder

      public V1.CephFSPersistentVolumeSourceOrBuilder getCephfsOrBuilder()
       CephFS represents a Ceph FS mount on the host that shares a pod's lifetime
       +optional
       
      optional .k8s.io.api.core.v1.CephFSPersistentVolumeSource cephfs = 9;
      Specified by:
      getCephfsOrBuilder in interface V1.PersistentVolumeSourceOrBuilder
    • 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 V1.PersistentVolumeSourceOrBuilder
    • getFc

      public V1.FCVolumeSource getFc()
       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:
      getFc in interface V1.PersistentVolumeSourceOrBuilder
    • getFcOrBuilder

      public V1.FCVolumeSourceOrBuilder getFcOrBuilder()
       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:
      getFcOrBuilder in interface V1.PersistentVolumeSourceOrBuilder
    • 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
       +optional
       
      optional .k8s.io.api.core.v1.FlockerVolumeSource flocker = 11;
      Specified by:
      hasFlocker in interface V1.PersistentVolumeSourceOrBuilder
    • getFlocker

      public V1.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
       +optional
       
      optional .k8s.io.api.core.v1.FlockerVolumeSource flocker = 11;
      Specified by:
      getFlocker in interface V1.PersistentVolumeSourceOrBuilder
    • getFlockerOrBuilder

      public V1.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
       +optional
       
      optional .k8s.io.api.core.v1.FlockerVolumeSource flocker = 11;
      Specified by:
      getFlockerOrBuilder in interface V1.PersistentVolumeSourceOrBuilder
    • hasFlexVolume

      public boolean hasFlexVolume()
       FlexVolume represents a generic volume resource that is
       provisioned/attached using an exec based plugin.
       +optional
       
      optional .k8s.io.api.core.v1.FlexPersistentVolumeSource flexVolume = 12;
      Specified by:
      hasFlexVolume in interface V1.PersistentVolumeSourceOrBuilder
    • getFlexVolume

      public V1.FlexPersistentVolumeSource getFlexVolume()
       FlexVolume represents a generic volume resource that is
       provisioned/attached using an exec based plugin.
       +optional
       
      optional .k8s.io.api.core.v1.FlexPersistentVolumeSource flexVolume = 12;
      Specified by:
      getFlexVolume in interface V1.PersistentVolumeSourceOrBuilder
    • getFlexVolumeOrBuilder

      public V1.FlexPersistentVolumeSourceOrBuilder getFlexVolumeOrBuilder()
       FlexVolume represents a generic volume resource that is
       provisioned/attached using an exec based plugin.
       +optional
       
      optional .k8s.io.api.core.v1.FlexPersistentVolumeSource flexVolume = 12;
      Specified by:
      getFlexVolumeOrBuilder in interface V1.PersistentVolumeSourceOrBuilder
    • hasAzureFile

      public boolean hasAzureFile()
       AzureFile represents an Azure File Service mount on the host and bind mount to the pod.
       +optional
       
      optional .k8s.io.api.core.v1.AzureFilePersistentVolumeSource azureFile = 13;
      Specified by:
      hasAzureFile in interface V1.PersistentVolumeSourceOrBuilder
    • getAzureFile

      public V1.AzureFilePersistentVolumeSource getAzureFile()
       AzureFile represents an Azure File Service mount on the host and bind mount to the pod.
       +optional
       
      optional .k8s.io.api.core.v1.AzureFilePersistentVolumeSource azureFile = 13;
      Specified by:
      getAzureFile in interface V1.PersistentVolumeSourceOrBuilder
    • getAzureFileOrBuilder

      public V1.AzureFilePersistentVolumeSourceOrBuilder getAzureFileOrBuilder()
       AzureFile represents an Azure File Service mount on the host and bind mount to the pod.
       +optional
       
      optional .k8s.io.api.core.v1.AzureFilePersistentVolumeSource azureFile = 13;
      Specified by:
      getAzureFileOrBuilder in interface V1.PersistentVolumeSourceOrBuilder
    • hasVsphereVolume

      public boolean hasVsphereVolume()
       VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine
       +optional
       
      optional .k8s.io.api.core.v1.VsphereVirtualDiskVolumeSource vsphereVolume = 14;
      Specified by:
      hasVsphereVolume in interface V1.PersistentVolumeSourceOrBuilder
    • getVsphereVolume

      public V1.VsphereVirtualDiskVolumeSource getVsphereVolume()
       VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine
       +optional
       
      optional .k8s.io.api.core.v1.VsphereVirtualDiskVolumeSource vsphereVolume = 14;
      Specified by:
      getVsphereVolume in interface V1.PersistentVolumeSourceOrBuilder
    • getVsphereVolumeOrBuilder

      public V1.VsphereVirtualDiskVolumeSourceOrBuilder getVsphereVolumeOrBuilder()
       VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine
       +optional
       
      optional .k8s.io.api.core.v1.VsphereVirtualDiskVolumeSource vsphereVolume = 14;
      Specified by:
      getVsphereVolumeOrBuilder in interface V1.PersistentVolumeSourceOrBuilder
    • hasQuobyte

      public boolean hasQuobyte()
       Quobyte represents a Quobyte mount on the host that shares a pod's lifetime
       +optional
       
      optional .k8s.io.api.core.v1.QuobyteVolumeSource quobyte = 15;
      Specified by:
      hasQuobyte in interface V1.PersistentVolumeSourceOrBuilder
    • getQuobyte

      public V1.QuobyteVolumeSource getQuobyte()
       Quobyte represents a Quobyte mount on the host that shares a pod's lifetime
       +optional
       
      optional .k8s.io.api.core.v1.QuobyteVolumeSource quobyte = 15;
      Specified by:
      getQuobyte in interface V1.PersistentVolumeSourceOrBuilder
    • getQuobyteOrBuilder

      public V1.QuobyteVolumeSourceOrBuilder getQuobyteOrBuilder()
       Quobyte represents a Quobyte mount on the host that shares a pod's lifetime
       +optional
       
      optional .k8s.io.api.core.v1.QuobyteVolumeSource quobyte = 15;
      Specified by:
      getQuobyteOrBuilder in interface V1.PersistentVolumeSourceOrBuilder
    • hasAzureDisk

      public boolean hasAzureDisk()
       AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
       +optional
       
      optional .k8s.io.api.core.v1.AzureDiskVolumeSource azureDisk = 16;
      Specified by:
      hasAzureDisk in interface V1.PersistentVolumeSourceOrBuilder
    • getAzureDisk

      public V1.AzureDiskVolumeSource getAzureDisk()
       AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
       +optional
       
      optional .k8s.io.api.core.v1.AzureDiskVolumeSource azureDisk = 16;
      Specified by:
      getAzureDisk in interface V1.PersistentVolumeSourceOrBuilder
    • getAzureDiskOrBuilder

      public V1.AzureDiskVolumeSourceOrBuilder getAzureDiskOrBuilder()
       AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
       +optional
       
      optional .k8s.io.api.core.v1.AzureDiskVolumeSource azureDisk = 16;
      Specified by:
      getAzureDiskOrBuilder in interface V1.PersistentVolumeSourceOrBuilder
    • hasPhotonPersistentDisk

      public boolean hasPhotonPersistentDisk()
       PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine
       
      optional .k8s.io.api.core.v1.PhotonPersistentDiskVolumeSource photonPersistentDisk = 17;
      Specified by:
      hasPhotonPersistentDisk in interface V1.PersistentVolumeSourceOrBuilder
    • getPhotonPersistentDisk

      public V1.PhotonPersistentDiskVolumeSource getPhotonPersistentDisk()
       PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine
       
      optional .k8s.io.api.core.v1.PhotonPersistentDiskVolumeSource photonPersistentDisk = 17;
      Specified by:
      getPhotonPersistentDisk in interface V1.PersistentVolumeSourceOrBuilder
    • getPhotonPersistentDiskOrBuilder

      public V1.PhotonPersistentDiskVolumeSourceOrBuilder getPhotonPersistentDiskOrBuilder()
       PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine
       
      optional .k8s.io.api.core.v1.PhotonPersistentDiskVolumeSource photonPersistentDisk = 17;
      Specified by:
      getPhotonPersistentDiskOrBuilder in interface V1.PersistentVolumeSourceOrBuilder
    • hasPortworxVolume

      public boolean hasPortworxVolume()
       PortworxVolume represents a portworx volume attached and mounted on kubelets host machine
       +optional
       
      optional .k8s.io.api.core.v1.PortworxVolumeSource portworxVolume = 18;
      Specified by:
      hasPortworxVolume in interface V1.PersistentVolumeSourceOrBuilder
    • getPortworxVolume

      public V1.PortworxVolumeSource getPortworxVolume()
       PortworxVolume represents a portworx volume attached and mounted on kubelets host machine
       +optional
       
      optional .k8s.io.api.core.v1.PortworxVolumeSource portworxVolume = 18;
      Specified by:
      getPortworxVolume in interface V1.PersistentVolumeSourceOrBuilder
    • getPortworxVolumeOrBuilder

      public V1.PortworxVolumeSourceOrBuilder getPortworxVolumeOrBuilder()
       PortworxVolume represents a portworx volume attached and mounted on kubelets host machine
       +optional
       
      optional .k8s.io.api.core.v1.PortworxVolumeSource portworxVolume = 18;
      Specified by:
      getPortworxVolumeOrBuilder in interface V1.PersistentVolumeSourceOrBuilder
    • hasScaleIO

      public boolean hasScaleIO()
       ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.
       +optional
       
      optional .k8s.io.api.core.v1.ScaleIOPersistentVolumeSource scaleIO = 19;
      Specified by:
      hasScaleIO in interface V1.PersistentVolumeSourceOrBuilder
    • getScaleIO

      public V1.ScaleIOPersistentVolumeSource getScaleIO()
       ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.
       +optional
       
      optional .k8s.io.api.core.v1.ScaleIOPersistentVolumeSource scaleIO = 19;
      Specified by:
      getScaleIO in interface V1.PersistentVolumeSourceOrBuilder
    • getScaleIOOrBuilder

      public V1.ScaleIOPersistentVolumeSourceOrBuilder getScaleIOOrBuilder()
       ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.
       +optional
       
      optional .k8s.io.api.core.v1.ScaleIOPersistentVolumeSource scaleIO = 19;
      Specified by:
      getScaleIOOrBuilder in interface V1.PersistentVolumeSourceOrBuilder
    • 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 V1.PersistentVolumeSourceOrBuilder
    • getLocal

      public V1.LocalVolumeSource getLocal()
       Local represents directly-attached storage with node affinity
       +optional
       
      optional .k8s.io.api.core.v1.LocalVolumeSource local = 20;
      Specified by:
      getLocal in interface V1.PersistentVolumeSourceOrBuilder
    • getLocalOrBuilder

      public V1.LocalVolumeSourceOrBuilder getLocalOrBuilder()
       Local represents directly-attached storage with node affinity
       +optional
       
      optional .k8s.io.api.core.v1.LocalVolumeSource local = 20;
      Specified by:
      getLocalOrBuilder in interface V1.PersistentVolumeSourceOrBuilder
    • hasStorageos

      public boolean hasStorageos()
       StorageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod
       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 V1.PersistentVolumeSourceOrBuilder
    • getStorageos

      public V1.StorageOSPersistentVolumeSource getStorageos()
       StorageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod
       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 V1.PersistentVolumeSourceOrBuilder
    • getStorageosOrBuilder

      public V1.StorageOSPersistentVolumeSourceOrBuilder getStorageosOrBuilder()
       StorageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod
       More info: https://examples.k8s.io/volumes/storageos/README.md
       +optional
       
      optional .k8s.io.api.core.v1.StorageOSPersistentVolumeSource storageos = 21;
      Specified by:
      getStorageosOrBuilder in interface V1.PersistentVolumeSourceOrBuilder
    • hasCsi

      public boolean hasCsi()
       CSI represents storage that is handled by an external CSI driver (Beta feature).
       +optional
       
      optional .k8s.io.api.core.v1.CSIPersistentVolumeSource csi = 22;
      Specified by:
      hasCsi in interface V1.PersistentVolumeSourceOrBuilder
    • getCsi

       CSI represents storage that is handled by an external CSI driver (Beta feature).
       +optional
       
      optional .k8s.io.api.core.v1.CSIPersistentVolumeSource csi = 22;
      Specified by:
      getCsi in interface V1.PersistentVolumeSourceOrBuilder
    • getCsiOrBuilder

      public V1.CSIPersistentVolumeSourceOrBuilder getCsiOrBuilder()
       CSI represents storage that is handled by an external CSI driver (Beta feature).
       +optional
       
      optional .k8s.io.api.core.v1.CSIPersistentVolumeSource csi = 22;
      Specified by:
      getCsiOrBuilder in interface V1.PersistentVolumeSourceOrBuilder
    • 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 V1.PersistentVolumeSource parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

      public static V1.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 V1.PersistentVolumeSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

      public static V1.PersistentVolumeSource parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static V1.PersistentVolumeSource parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static V1.PersistentVolumeSource parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static V1.PersistentVolumeSource parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static V1.PersistentVolumeSource parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static V1.PersistentVolumeSource parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static V1.PersistentVolumeSource.Builder newBuilder()
    • newBuilder

      public static V1.PersistentVolumeSource.Builder newBuilder(V1.PersistentVolumeSource prototype)
    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected V1.PersistentVolumeSource.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static V1.PersistentVolumeSource getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<V1.PersistentVolumeSource> parser()
    • getParserForType

      public com.google.protobuf.Parser<V1.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 V1.PersistentVolumeSource getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder