Class V1.PersistentVolumeSource.Builder

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

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

    • 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<V1.PersistentVolumeSource.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<V1.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<V1.PersistentVolumeSource.Builder>
    • getDefaultInstanceForType

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

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

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

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeSource.Builder>
    • setField

      public V1.PersistentVolumeSource.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeSource.Builder>
    • clearField

      public V1.PersistentVolumeSource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeSource.Builder>
    • clearOneof

      public V1.PersistentVolumeSource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeSource.Builder>
    • setRepeatedField

      public V1.PersistentVolumeSource.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeSource.Builder>
    • addRepeatedField

      public V1.PersistentVolumeSource.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeSource.Builder>
    • mergeFrom

      public V1.PersistentVolumeSource.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.PersistentVolumeSource.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeSource.Builder>
    • mergeFrom

      public V1.PersistentVolumeSource.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.PersistentVolumeSource.Builder>
      Throws:
      IOException
    • 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
    • setGcePersistentDisk

       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;
    • setGcePersistentDisk

      public V1.PersistentVolumeSource.Builder setGcePersistentDisk(V1.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.
       More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
       +optional
       
      optional .k8s.io.api.core.v1.GCEPersistentDiskVolumeSource gcePersistentDisk = 1;
    • mergeGcePersistentDisk

       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;
    • clearGcePersistentDisk

      public V1.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.
       More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
       +optional
       
      optional .k8s.io.api.core.v1.GCEPersistentDiskVolumeSource gcePersistentDisk = 1;
    • getGcePersistentDiskBuilder

      public V1.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.
       More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
       +optional
       
      optional .k8s.io.api.core.v1.GCEPersistentDiskVolumeSource gcePersistentDisk = 1;
    • 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
    • setAwsElasticBlockStore

       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;
    • setAwsElasticBlockStore

      public V1.PersistentVolumeSource.Builder setAwsElasticBlockStore(V1.AWSElasticBlockStoreVolumeSource.Builder builderForValue)
       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;
    • mergeAwsElasticBlockStore

       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;
    • clearAwsElasticBlockStore

      public V1.PersistentVolumeSource.Builder clearAwsElasticBlockStore()
       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;
    • getAwsElasticBlockStoreBuilder

      public V1.AWSElasticBlockStoreVolumeSource.Builder getAwsElasticBlockStoreBuilder()
       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;
    • 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
    • setHostPath

       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

       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

       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 V1.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 V1.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 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
    • setGlusterfs

       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;
    • setGlusterfs

       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;
    • mergeGlusterfs

       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;
    • clearGlusterfs

      public V1.PersistentVolumeSource.Builder clearGlusterfs()
       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;
    • getGlusterfsBuilder

      public V1.GlusterfsPersistentVolumeSource.Builder getGlusterfsBuilder()
       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;
    • 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
    • setNfs

       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;
    • setNfs

       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;
    • mergeNfs

       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;
    • 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 V1.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;
    • 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
    • setRbd

       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;
    • setRbd

       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;
    • mergeRbd

       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;
    • clearRbd

       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;
    • getRbdBuilder

      public V1.RBDPersistentVolumeSource.Builder getRbdBuilder()
       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;
    • 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
    • setIscsi

       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;
    • setIscsi

       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;
    • mergeIscsi

       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;
    • clearIscsi

      public V1.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 V1.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;
    • 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
    • setCinder

       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;
    • setCinder

       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;
    • mergeCinder

       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;
    • clearCinder

      public V1.PersistentVolumeSource.Builder clearCinder()
       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;
    • getCinderBuilder

      public V1.CinderPersistentVolumeSource.Builder getCinderBuilder()
       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;
    • 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
    • setCephfs

       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;
    • setCephfs

       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;
    • mergeCephfs

       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;
    • clearCephfs

      public V1.PersistentVolumeSource.Builder clearCephfs()
       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;
    • getCephfsBuilder

      public V1.CephFSPersistentVolumeSource.Builder getCephfsBuilder()
       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;
    • 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
    • setFc

       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;
    • setFc

       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;
    • mergeFc

       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;
    • 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 V1.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;
    • 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
    • setFlocker

       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;
    • setFlocker

       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;
    • mergeFlocker

       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;
    • clearFlocker

      public V1.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
       +optional
       
      optional .k8s.io.api.core.v1.FlockerVolumeSource flocker = 11;
    • getFlockerBuilder

      public V1.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
       +optional
       
      optional .k8s.io.api.core.v1.FlockerVolumeSource flocker = 11;
    • 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
    • setFlexVolume

       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;
    • setFlexVolume

       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;
    • mergeFlexVolume

       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;
    • clearFlexVolume

      public V1.PersistentVolumeSource.Builder clearFlexVolume()
       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;
    • getFlexVolumeBuilder

      public V1.FlexPersistentVolumeSource.Builder getFlexVolumeBuilder()
       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;
    • 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
    • setAzureFile

       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;
    • setAzureFile

       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;
    • mergeAzureFile

       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;
    • clearAzureFile

      public V1.PersistentVolumeSource.Builder clearAzureFile()
       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;
    • getAzureFileBuilder

      public V1.AzureFilePersistentVolumeSource.Builder getAzureFileBuilder()
       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;
    • 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
    • setVsphereVolume

       VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine
       +optional
       
      optional .k8s.io.api.core.v1.VsphereVirtualDiskVolumeSource vsphereVolume = 14;
    • setVsphereVolume

       VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine
       +optional
       
      optional .k8s.io.api.core.v1.VsphereVirtualDiskVolumeSource vsphereVolume = 14;
    • mergeVsphereVolume

       VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine
       +optional
       
      optional .k8s.io.api.core.v1.VsphereVirtualDiskVolumeSource vsphereVolume = 14;
    • clearVsphereVolume

      public V1.PersistentVolumeSource.Builder clearVsphereVolume()
       VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine
       +optional
       
      optional .k8s.io.api.core.v1.VsphereVirtualDiskVolumeSource vsphereVolume = 14;
    • getVsphereVolumeBuilder

      public V1.VsphereVirtualDiskVolumeSource.Builder getVsphereVolumeBuilder()
       VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine
       +optional
       
      optional .k8s.io.api.core.v1.VsphereVirtualDiskVolumeSource vsphereVolume = 14;
    • 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
    • setQuobyte

       Quobyte represents a Quobyte mount on the host that shares a pod's lifetime
       +optional
       
      optional .k8s.io.api.core.v1.QuobyteVolumeSource quobyte = 15;
    • setQuobyte

       Quobyte represents a Quobyte mount on the host that shares a pod's lifetime
       +optional
       
      optional .k8s.io.api.core.v1.QuobyteVolumeSource quobyte = 15;
    • mergeQuobyte

       Quobyte represents a Quobyte mount on the host that shares a pod's lifetime
       +optional
       
      optional .k8s.io.api.core.v1.QuobyteVolumeSource quobyte = 15;
    • clearQuobyte

      public V1.PersistentVolumeSource.Builder clearQuobyte()
       Quobyte represents a Quobyte mount on the host that shares a pod's lifetime
       +optional
       
      optional .k8s.io.api.core.v1.QuobyteVolumeSource quobyte = 15;
    • getQuobyteBuilder

      public V1.QuobyteVolumeSource.Builder getQuobyteBuilder()
       Quobyte represents a Quobyte mount on the host that shares a pod's lifetime
       +optional
       
      optional .k8s.io.api.core.v1.QuobyteVolumeSource quobyte = 15;
    • 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
    • setAzureDisk

       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;
    • setAzureDisk

       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;
    • mergeAzureDisk

       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;
    • clearAzureDisk

      public V1.PersistentVolumeSource.Builder clearAzureDisk()
       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;
    • getAzureDiskBuilder

      public V1.AzureDiskVolumeSource.Builder getAzureDiskBuilder()
       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;
    • 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
    • setPhotonPersistentDisk

       PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine
       
      optional .k8s.io.api.core.v1.PhotonPersistentDiskVolumeSource photonPersistentDisk = 17;
    • setPhotonPersistentDisk

      public V1.PersistentVolumeSource.Builder setPhotonPersistentDisk(V1.PhotonPersistentDiskVolumeSource.Builder builderForValue)
       PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine
       
      optional .k8s.io.api.core.v1.PhotonPersistentDiskVolumeSource photonPersistentDisk = 17;
    • mergePhotonPersistentDisk

       PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine
       
      optional .k8s.io.api.core.v1.PhotonPersistentDiskVolumeSource photonPersistentDisk = 17;
    • clearPhotonPersistentDisk

      public V1.PersistentVolumeSource.Builder clearPhotonPersistentDisk()
       PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine
       
      optional .k8s.io.api.core.v1.PhotonPersistentDiskVolumeSource photonPersistentDisk = 17;
    • getPhotonPersistentDiskBuilder

      public V1.PhotonPersistentDiskVolumeSource.Builder getPhotonPersistentDiskBuilder()
       PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine
       
      optional .k8s.io.api.core.v1.PhotonPersistentDiskVolumeSource photonPersistentDisk = 17;
    • 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
    • setPortworxVolume

       PortworxVolume represents a portworx volume attached and mounted on kubelets host machine
       +optional
       
      optional .k8s.io.api.core.v1.PortworxVolumeSource portworxVolume = 18;
    • setPortworxVolume

      public V1.PersistentVolumeSource.Builder setPortworxVolume(V1.PortworxVolumeSource.Builder builderForValue)
       PortworxVolume represents a portworx volume attached and mounted on kubelets host machine
       +optional
       
      optional .k8s.io.api.core.v1.PortworxVolumeSource portworxVolume = 18;
    • mergePortworxVolume

      public V1.PersistentVolumeSource.Builder mergePortworxVolume(V1.PortworxVolumeSource value)
       PortworxVolume represents a portworx volume attached and mounted on kubelets host machine
       +optional
       
      optional .k8s.io.api.core.v1.PortworxVolumeSource portworxVolume = 18;
    • clearPortworxVolume

      public V1.PersistentVolumeSource.Builder clearPortworxVolume()
       PortworxVolume represents a portworx volume attached and mounted on kubelets host machine
       +optional
       
      optional .k8s.io.api.core.v1.PortworxVolumeSource portworxVolume = 18;
    • getPortworxVolumeBuilder

      public V1.PortworxVolumeSource.Builder getPortworxVolumeBuilder()
       PortworxVolume represents a portworx volume attached and mounted on kubelets host machine
       +optional
       
      optional .k8s.io.api.core.v1.PortworxVolumeSource portworxVolume = 18;
    • 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
    • setScaleIO

       ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.
       +optional
       
      optional .k8s.io.api.core.v1.ScaleIOPersistentVolumeSource scaleIO = 19;
    • setScaleIO

       ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.
       +optional
       
      optional .k8s.io.api.core.v1.ScaleIOPersistentVolumeSource scaleIO = 19;
    • mergeScaleIO

       ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.
       +optional
       
      optional .k8s.io.api.core.v1.ScaleIOPersistentVolumeSource scaleIO = 19;
    • clearScaleIO

      public V1.PersistentVolumeSource.Builder clearScaleIO()
       ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.
       +optional
       
      optional .k8s.io.api.core.v1.ScaleIOPersistentVolumeSource scaleIO = 19;
    • getScaleIOBuilder

      public V1.ScaleIOPersistentVolumeSource.Builder getScaleIOBuilder()
       ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.
       +optional
       
      optional .k8s.io.api.core.v1.ScaleIOPersistentVolumeSource scaleIO = 19;
    • 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
    • setLocal

       Local represents directly-attached storage with node affinity
       +optional
       
      optional .k8s.io.api.core.v1.LocalVolumeSource local = 20;
    • setLocal

       Local represents directly-attached storage with node affinity
       +optional
       
      optional .k8s.io.api.core.v1.LocalVolumeSource local = 20;
    • mergeLocal

       Local represents directly-attached storage with node affinity
       +optional
       
      optional .k8s.io.api.core.v1.LocalVolumeSource local = 20;
    • clearLocal

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

      public V1.LocalVolumeSource.Builder getLocalBuilder()
       Local represents directly-attached storage with node affinity
       +optional
       
      optional .k8s.io.api.core.v1.LocalVolumeSource local = 20;
    • 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
    • setStorageos

       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;
    • setStorageos

       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;
    • mergeStorageos

       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;
    • clearStorageos

      public V1.PersistentVolumeSource.Builder clearStorageos()
       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;
    • getStorageosBuilder

      public V1.StorageOSPersistentVolumeSource.Builder getStorageosBuilder()
       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;
    • 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
    • setCsi

       CSI represents storage that is handled by an external CSI driver (Beta feature).
       +optional
       
      optional .k8s.io.api.core.v1.CSIPersistentVolumeSource csi = 22;
    • setCsi

       CSI represents storage that is handled by an external CSI driver (Beta feature).
       +optional
       
      optional .k8s.io.api.core.v1.CSIPersistentVolumeSource csi = 22;
    • mergeCsi

       CSI represents storage that is handled by an external CSI driver (Beta feature).
       +optional
       
      optional .k8s.io.api.core.v1.CSIPersistentVolumeSource csi = 22;
    • clearCsi

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

      public V1.CSIPersistentVolumeSource.Builder getCsiBuilder()
       CSI represents storage that is handled by an external CSI driver (Beta feature).
       +optional
       
      optional .k8s.io.api.core.v1.CSIPersistentVolumeSource csi = 22;
    • 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
    • setUnknownFields

      public final V1.PersistentVolumeSource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeSource.Builder>
    • mergeUnknownFields

      public final V1.PersistentVolumeSource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeSource.Builder>