Class Generated.VolumeSource.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.VolumeSource.Builder>
      • clear

        public Generated.VolumeSource.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<Generated.VolumeSource.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.VolumeSource.Builder>
      • getDefaultInstanceForType

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

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

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

        public Generated.VolumeSource.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<Generated.VolumeSource.Builder>
      • clearField

        public Generated.VolumeSource.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<Generated.VolumeSource.Builder>
      • clearOneof

        public Generated.VolumeSource.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<Generated.VolumeSource.Builder>
      • setRepeatedField

        public Generated.VolumeSource.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<Generated.VolumeSource.Builder>
      • addRepeatedField

        public Generated.VolumeSource.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<Generated.VolumeSource.Builder>
      • isInitialized

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

        public Generated.VolumeSource.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<Generated.VolumeSource.Builder>
        Throws:
        IOException
      • hasHostPath

        public boolean hasHostPath()
         hostPath represents a pre-existing file or directory on the host
         machine that is directly exposed to the container. This is generally
         used for system agents or other privileged things that are allowed
         to see the host machine. Most containers will NOT need this.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
         ---
         TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not
         mount host directories as read/write.
         +optional
         
        optional .k8s.io.api.core.v1.HostPathVolumeSource hostPath = 1;
        Specified by:
        hasHostPath in interface Generated.VolumeSourceOrBuilder
        Returns:
        Whether the hostPath field is set.
      • getHostPath

        public Generated.HostPathVolumeSource getHostPath()
         hostPath represents a pre-existing file or directory on the host
         machine that is directly exposed to the container. This is generally
         used for system agents or other privileged things that are allowed
         to see the host machine. Most containers will NOT need this.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
         ---
         TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not
         mount host directories as read/write.
         +optional
         
        optional .k8s.io.api.core.v1.HostPathVolumeSource hostPath = 1;
        Specified by:
        getHostPath in interface Generated.VolumeSourceOrBuilder
        Returns:
        The hostPath.
      • setHostPath

        public Generated.VolumeSource.Builder setHostPath​(Generated.HostPathVolumeSource value)
         hostPath represents a pre-existing file or directory on the host
         machine that is directly exposed to the container. This is generally
         used for system agents or other privileged things that are allowed
         to see the host machine. Most containers will NOT need this.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
         ---
         TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not
         mount host directories as read/write.
         +optional
         
        optional .k8s.io.api.core.v1.HostPathVolumeSource hostPath = 1;
      • setHostPath

        public Generated.VolumeSource.Builder setHostPath​(Generated.HostPathVolumeSource.Builder builderForValue)
         hostPath represents a pre-existing file or directory on the host
         machine that is directly exposed to the container. This is generally
         used for system agents or other privileged things that are allowed
         to see the host machine. Most containers will NOT need this.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
         ---
         TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not
         mount host directories as read/write.
         +optional
         
        optional .k8s.io.api.core.v1.HostPathVolumeSource hostPath = 1;
      • mergeHostPath

        public Generated.VolumeSource.Builder mergeHostPath​(Generated.HostPathVolumeSource value)
         hostPath represents a pre-existing file or directory on the host
         machine that is directly exposed to the container. This is generally
         used for system agents or other privileged things that are allowed
         to see the host machine. Most containers will NOT need this.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
         ---
         TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not
         mount host directories as read/write.
         +optional
         
        optional .k8s.io.api.core.v1.HostPathVolumeSource hostPath = 1;
      • clearHostPath

        public Generated.VolumeSource.Builder clearHostPath()
         hostPath represents a pre-existing file or directory on the host
         machine that is directly exposed to the container. This is generally
         used for system agents or other privileged things that are allowed
         to see the host machine. Most containers will NOT need this.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
         ---
         TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not
         mount host directories as read/write.
         +optional
         
        optional .k8s.io.api.core.v1.HostPathVolumeSource hostPath = 1;
      • getHostPathBuilder

        public Generated.HostPathVolumeSource.Builder getHostPathBuilder()
         hostPath represents a pre-existing file or directory on the host
         machine that is directly exposed to the container. This is generally
         used for system agents or other privileged things that are allowed
         to see the host machine. Most containers will NOT need this.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
         ---
         TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not
         mount host directories as read/write.
         +optional
         
        optional .k8s.io.api.core.v1.HostPathVolumeSource hostPath = 1;
      • getHostPathOrBuilder

        public Generated.HostPathVolumeSourceOrBuilder getHostPathOrBuilder()
         hostPath represents a pre-existing file or directory on the host
         machine that is directly exposed to the container. This is generally
         used for system agents or other privileged things that are allowed
         to see the host machine. Most containers will NOT need this.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
         ---
         TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not
         mount host directories as read/write.
         +optional
         
        optional .k8s.io.api.core.v1.HostPathVolumeSource hostPath = 1;
        Specified by:
        getHostPathOrBuilder in interface Generated.VolumeSourceOrBuilder
      • hasEmptyDir

        public boolean hasEmptyDir()
         emptyDir represents a temporary directory that shares a pod's lifetime.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
         +optional
         
        optional .k8s.io.api.core.v1.EmptyDirVolumeSource emptyDir = 2;
        Specified by:
        hasEmptyDir in interface Generated.VolumeSourceOrBuilder
        Returns:
        Whether the emptyDir field is set.
      • getEmptyDir

        public Generated.EmptyDirVolumeSource getEmptyDir()
         emptyDir represents a temporary directory that shares a pod's lifetime.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
         +optional
         
        optional .k8s.io.api.core.v1.EmptyDirVolumeSource emptyDir = 2;
        Specified by:
        getEmptyDir in interface Generated.VolumeSourceOrBuilder
        Returns:
        The emptyDir.
      • setEmptyDir

        public Generated.VolumeSource.Builder setEmptyDir​(Generated.EmptyDirVolumeSource value)
         emptyDir represents a temporary directory that shares a pod's lifetime.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
         +optional
         
        optional .k8s.io.api.core.v1.EmptyDirVolumeSource emptyDir = 2;
      • setEmptyDir

        public Generated.VolumeSource.Builder setEmptyDir​(Generated.EmptyDirVolumeSource.Builder builderForValue)
         emptyDir represents a temporary directory that shares a pod's lifetime.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
         +optional
         
        optional .k8s.io.api.core.v1.EmptyDirVolumeSource emptyDir = 2;
      • mergeEmptyDir

        public Generated.VolumeSource.Builder mergeEmptyDir​(Generated.EmptyDirVolumeSource value)
         emptyDir represents a temporary directory that shares a pod's lifetime.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
         +optional
         
        optional .k8s.io.api.core.v1.EmptyDirVolumeSource emptyDir = 2;
      • clearEmptyDir

        public Generated.VolumeSource.Builder clearEmptyDir()
         emptyDir represents a temporary directory that shares a pod's lifetime.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
         +optional
         
        optional .k8s.io.api.core.v1.EmptyDirVolumeSource emptyDir = 2;
      • getEmptyDirBuilder

        public Generated.EmptyDirVolumeSource.Builder getEmptyDirBuilder()
         emptyDir represents a temporary directory that shares a pod's lifetime.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
         +optional
         
        optional .k8s.io.api.core.v1.EmptyDirVolumeSource emptyDir = 2;
      • 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.
         Deprecated: GCEPersistentDisk is deprecated. All operations for the in-tree
         gcePersistentDisk type are redirected to the pd.csi.storage.gke.io CSI driver.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
         +optional
         
        optional .k8s.io.api.core.v1.GCEPersistentDiskVolumeSource gcePersistentDisk = 3;
        Specified by:
        hasGcePersistentDisk in interface Generated.VolumeSourceOrBuilder
        Returns:
        Whether the gcePersistentDisk field is set.
      • getGcePersistentDisk

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public boolean hasGitRepo()
         gitRepo represents a git repository at a particular revision.
         Deprecated: GitRepo is deprecated. To provision a container with a git repo, mount an
         EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir
         into the Pod's container.
         +optional
         
        optional .k8s.io.api.core.v1.GitRepoVolumeSource gitRepo = 5;
        Specified by:
        hasGitRepo in interface Generated.VolumeSourceOrBuilder
        Returns:
        Whether the gitRepo field is set.
      • getGitRepo

        public Generated.GitRepoVolumeSource getGitRepo()
         gitRepo represents a git repository at a particular revision.
         Deprecated: GitRepo is deprecated. To provision a container with a git repo, mount an
         EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir
         into the Pod's container.
         +optional
         
        optional .k8s.io.api.core.v1.GitRepoVolumeSource gitRepo = 5;
        Specified by:
        getGitRepo in interface Generated.VolumeSourceOrBuilder
        Returns:
        The gitRepo.
      • setGitRepo

        public Generated.VolumeSource.Builder setGitRepo​(Generated.GitRepoVolumeSource value)
         gitRepo represents a git repository at a particular revision.
         Deprecated: GitRepo is deprecated. To provision a container with a git repo, mount an
         EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir
         into the Pod's container.
         +optional
         
        optional .k8s.io.api.core.v1.GitRepoVolumeSource gitRepo = 5;
      • setGitRepo

        public Generated.VolumeSource.Builder setGitRepo​(Generated.GitRepoVolumeSource.Builder builderForValue)
         gitRepo represents a git repository at a particular revision.
         Deprecated: GitRepo is deprecated. To provision a container with a git repo, mount an
         EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir
         into the Pod's container.
         +optional
         
        optional .k8s.io.api.core.v1.GitRepoVolumeSource gitRepo = 5;
      • mergeGitRepo

        public Generated.VolumeSource.Builder mergeGitRepo​(Generated.GitRepoVolumeSource value)
         gitRepo represents a git repository at a particular revision.
         Deprecated: GitRepo is deprecated. To provision a container with a git repo, mount an
         EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir
         into the Pod's container.
         +optional
         
        optional .k8s.io.api.core.v1.GitRepoVolumeSource gitRepo = 5;
      • clearGitRepo

        public Generated.VolumeSource.Builder clearGitRepo()
         gitRepo represents a git repository at a particular revision.
         Deprecated: GitRepo is deprecated. To provision a container with a git repo, mount an
         EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir
         into the Pod's container.
         +optional
         
        optional .k8s.io.api.core.v1.GitRepoVolumeSource gitRepo = 5;
      • getGitRepoBuilder

        public Generated.GitRepoVolumeSource.Builder getGitRepoBuilder()
         gitRepo represents a git repository at a particular revision.
         Deprecated: GitRepo is deprecated. To provision a container with a git repo, mount an
         EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir
         into the Pod's container.
         +optional
         
        optional .k8s.io.api.core.v1.GitRepoVolumeSource gitRepo = 5;
      • getGitRepoOrBuilder

        public Generated.GitRepoVolumeSourceOrBuilder getGitRepoOrBuilder()
         gitRepo represents a git repository at a particular revision.
         Deprecated: GitRepo is deprecated. To provision a container with a git repo, mount an
         EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir
         into the Pod's container.
         +optional
         
        optional .k8s.io.api.core.v1.GitRepoVolumeSource gitRepo = 5;
        Specified by:
        getGitRepoOrBuilder in interface Generated.VolumeSourceOrBuilder
      • hasSecret

        public boolean hasSecret()
         secret represents a secret that should populate this volume.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
         +optional
         
        optional .k8s.io.api.core.v1.SecretVolumeSource secret = 6;
        Specified by:
        hasSecret in interface Generated.VolumeSourceOrBuilder
        Returns:
        Whether the secret field is set.
      • getSecret

        public Generated.SecretVolumeSource getSecret()
         secret represents a secret that should populate this volume.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
         +optional
         
        optional .k8s.io.api.core.v1.SecretVolumeSource secret = 6;
        Specified by:
        getSecret in interface Generated.VolumeSourceOrBuilder
        Returns:
        The secret.
      • setSecret

        public Generated.VolumeSource.Builder setSecret​(Generated.SecretVolumeSource value)
         secret represents a secret that should populate this volume.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
         +optional
         
        optional .k8s.io.api.core.v1.SecretVolumeSource secret = 6;
      • mergeSecret

        public Generated.VolumeSource.Builder mergeSecret​(Generated.SecretVolumeSource value)
         secret represents a secret that should populate this volume.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
         +optional
         
        optional .k8s.io.api.core.v1.SecretVolumeSource secret = 6;
      • clearSecret

        public Generated.VolumeSource.Builder clearSecret()
         secret represents a secret that should populate this volume.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
         +optional
         
        optional .k8s.io.api.core.v1.SecretVolumeSource secret = 6;
      • getSecretBuilder

        public Generated.SecretVolumeSource.Builder getSecretBuilder()
         secret represents a secret that should populate this volume.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
         +optional
         
        optional .k8s.io.api.core.v1.SecretVolumeSource secret = 6;
      • hasNfs

        public boolean hasNfs()
         nfs represents an NFS mount on the host that shares a pod's lifetime
         More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
         +optional
         
        optional .k8s.io.api.core.v1.NFSVolumeSource nfs = 7;
        Specified by:
        hasNfs in interface Generated.VolumeSourceOrBuilder
        Returns:
        Whether the nfs field is set.
      • getNfs

        public Generated.NFSVolumeSource getNfs()
         nfs represents an NFS mount on the host that shares a pod's lifetime
         More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
         +optional
         
        optional .k8s.io.api.core.v1.NFSVolumeSource nfs = 7;
        Specified by:
        getNfs in interface Generated.VolumeSourceOrBuilder
        Returns:
        The nfs.
      • setNfs

        public Generated.VolumeSource.Builder setNfs​(Generated.NFSVolumeSource value)
         nfs represents an NFS mount on the host that shares a pod's lifetime
         More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
         +optional
         
        optional .k8s.io.api.core.v1.NFSVolumeSource nfs = 7;
      • mergeNfs

        public Generated.VolumeSource.Builder mergeNfs​(Generated.NFSVolumeSource value)
         nfs represents an NFS mount on the host that shares a pod's lifetime
         More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
         +optional
         
        optional .k8s.io.api.core.v1.NFSVolumeSource nfs = 7;
      • clearNfs

        public Generated.VolumeSource.Builder clearNfs()
         nfs represents an NFS mount on the host that shares a pod's lifetime
         More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
         +optional
         
        optional .k8s.io.api.core.v1.NFSVolumeSource nfs = 7;
      • getNfsBuilder

        public Generated.NFSVolumeSource.Builder getNfsBuilder()
         nfs represents an NFS mount on the host that shares a pod's lifetime
         More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
         +optional
         
        optional .k8s.io.api.core.v1.NFSVolumeSource nfs = 7;
      • 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.
         More info: https://examples.k8s.io/volumes/iscsi/README.md
         +optional
         
        optional .k8s.io.api.core.v1.ISCSIVolumeSource iscsi = 8;
        Specified by:
        hasIscsi in interface Generated.VolumeSourceOrBuilder
        Returns:
        Whether the iscsi field is set.
      • getIscsi

        public Generated.ISCSIVolumeSource getIscsi()
         iscsi represents an ISCSI Disk resource that is attached to a
         kubelet's host machine and then exposed to the pod.
         More info: https://examples.k8s.io/volumes/iscsi/README.md
         +optional
         
        optional .k8s.io.api.core.v1.ISCSIVolumeSource iscsi = 8;
        Specified by:
        getIscsi in interface Generated.VolumeSourceOrBuilder
        Returns:
        The iscsi.
      • setIscsi

        public Generated.VolumeSource.Builder setIscsi​(Generated.ISCSIVolumeSource value)
         iscsi represents an ISCSI Disk resource that is attached to a
         kubelet's host machine and then exposed to the pod.
         More info: https://examples.k8s.io/volumes/iscsi/README.md
         +optional
         
        optional .k8s.io.api.core.v1.ISCSIVolumeSource iscsi = 8;
      • setIscsi

        public Generated.VolumeSource.Builder setIscsi​(Generated.ISCSIVolumeSource.Builder builderForValue)
         iscsi represents an ISCSI Disk resource that is attached to a
         kubelet's host machine and then exposed to the pod.
         More info: https://examples.k8s.io/volumes/iscsi/README.md
         +optional
         
        optional .k8s.io.api.core.v1.ISCSIVolumeSource iscsi = 8;
      • mergeIscsi

        public Generated.VolumeSource.Builder mergeIscsi​(Generated.ISCSIVolumeSource value)
         iscsi represents an ISCSI Disk resource that is attached to a
         kubelet's host machine and then exposed to the pod.
         More info: https://examples.k8s.io/volumes/iscsi/README.md
         +optional
         
        optional .k8s.io.api.core.v1.ISCSIVolumeSource iscsi = 8;
      • clearIscsi

        public Generated.VolumeSource.Builder clearIscsi()
         iscsi represents an ISCSI Disk resource that is attached to a
         kubelet's host machine and then exposed to the pod.
         More info: https://examples.k8s.io/volumes/iscsi/README.md
         +optional
         
        optional .k8s.io.api.core.v1.ISCSIVolumeSource iscsi = 8;
      • getIscsiBuilder

        public Generated.ISCSIVolumeSource.Builder getIscsiBuilder()
         iscsi represents an ISCSI Disk resource that is attached to a
         kubelet's host machine and then exposed to the pod.
         More info: https://examples.k8s.io/volumes/iscsi/README.md
         +optional
         
        optional .k8s.io.api.core.v1.ISCSIVolumeSource iscsi = 8;
      • hasGlusterfs

        public boolean hasGlusterfs()
         glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.
         Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported.
         More info: https://examples.k8s.io/volumes/glusterfs/README.md
         +optional
         
        optional .k8s.io.api.core.v1.GlusterfsVolumeSource glusterfs = 9;
        Specified by:
        hasGlusterfs in interface Generated.VolumeSourceOrBuilder
        Returns:
        Whether the glusterfs field is set.
      • getGlusterfs

        public Generated.GlusterfsVolumeSource getGlusterfs()
         glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.
         Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported.
         More info: https://examples.k8s.io/volumes/glusterfs/README.md
         +optional
         
        optional .k8s.io.api.core.v1.GlusterfsVolumeSource glusterfs = 9;
        Specified by:
        getGlusterfs in interface Generated.VolumeSourceOrBuilder
        Returns:
        The glusterfs.
      • setGlusterfs

        public Generated.VolumeSource.Builder setGlusterfs​(Generated.GlusterfsVolumeSource value)
         glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.
         Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported.
         More info: https://examples.k8s.io/volumes/glusterfs/README.md
         +optional
         
        optional .k8s.io.api.core.v1.GlusterfsVolumeSource glusterfs = 9;
      • setGlusterfs

        public Generated.VolumeSource.Builder setGlusterfs​(Generated.GlusterfsVolumeSource.Builder builderForValue)
         glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.
         Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported.
         More info: https://examples.k8s.io/volumes/glusterfs/README.md
         +optional
         
        optional .k8s.io.api.core.v1.GlusterfsVolumeSource glusterfs = 9;
      • mergeGlusterfs

        public Generated.VolumeSource.Builder mergeGlusterfs​(Generated.GlusterfsVolumeSource value)
         glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.
         Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported.
         More info: https://examples.k8s.io/volumes/glusterfs/README.md
         +optional
         
        optional .k8s.io.api.core.v1.GlusterfsVolumeSource glusterfs = 9;
      • clearGlusterfs

        public Generated.VolumeSource.Builder clearGlusterfs()
         glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.
         Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported.
         More info: https://examples.k8s.io/volumes/glusterfs/README.md
         +optional
         
        optional .k8s.io.api.core.v1.GlusterfsVolumeSource glusterfs = 9;
      • getGlusterfsBuilder

        public Generated.GlusterfsVolumeSource.Builder getGlusterfsBuilder()
         glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.
         Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported.
         More info: https://examples.k8s.io/volumes/glusterfs/README.md
         +optional
         
        optional .k8s.io.api.core.v1.GlusterfsVolumeSource glusterfs = 9;
      • getGlusterfsOrBuilder

        public Generated.GlusterfsVolumeSourceOrBuilder getGlusterfsOrBuilder()
         glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.
         Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported.
         More info: https://examples.k8s.io/volumes/glusterfs/README.md
         +optional
         
        optional .k8s.io.api.core.v1.GlusterfsVolumeSource glusterfs = 9;
        Specified by:
        getGlusterfsOrBuilder in interface Generated.VolumeSourceOrBuilder
      • hasPersistentVolumeClaim

        public boolean hasPersistentVolumeClaim()
         persistentVolumeClaimVolumeSource represents a reference to a
         PersistentVolumeClaim in the same namespace.
         More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
         +optional
         
        optional .k8s.io.api.core.v1.PersistentVolumeClaimVolumeSource persistentVolumeClaim = 10;
        Specified by:
        hasPersistentVolumeClaim in interface Generated.VolumeSourceOrBuilder
        Returns:
        Whether the persistentVolumeClaim field is set.
      • getPersistentVolumeClaim

        public Generated.PersistentVolumeClaimVolumeSource getPersistentVolumeClaim()
         persistentVolumeClaimVolumeSource represents a reference to a
         PersistentVolumeClaim in the same namespace.
         More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
         +optional
         
        optional .k8s.io.api.core.v1.PersistentVolumeClaimVolumeSource persistentVolumeClaim = 10;
        Specified by:
        getPersistentVolumeClaim in interface Generated.VolumeSourceOrBuilder
        Returns:
        The persistentVolumeClaim.
      • setPersistentVolumeClaim

        public Generated.VolumeSource.Builder setPersistentVolumeClaim​(Generated.PersistentVolumeClaimVolumeSource value)
         persistentVolumeClaimVolumeSource represents a reference to a
         PersistentVolumeClaim in the same namespace.
         More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
         +optional
         
        optional .k8s.io.api.core.v1.PersistentVolumeClaimVolumeSource persistentVolumeClaim = 10;
      • setPersistentVolumeClaim

        public Generated.VolumeSource.Builder setPersistentVolumeClaim​(Generated.PersistentVolumeClaimVolumeSource.Builder builderForValue)
         persistentVolumeClaimVolumeSource represents a reference to a
         PersistentVolumeClaim in the same namespace.
         More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
         +optional
         
        optional .k8s.io.api.core.v1.PersistentVolumeClaimVolumeSource persistentVolumeClaim = 10;
      • mergePersistentVolumeClaim

        public Generated.VolumeSource.Builder mergePersistentVolumeClaim​(Generated.PersistentVolumeClaimVolumeSource value)
         persistentVolumeClaimVolumeSource represents a reference to a
         PersistentVolumeClaim in the same namespace.
         More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
         +optional
         
        optional .k8s.io.api.core.v1.PersistentVolumeClaimVolumeSource persistentVolumeClaim = 10;
      • clearPersistentVolumeClaim

        public Generated.VolumeSource.Builder clearPersistentVolumeClaim()
         persistentVolumeClaimVolumeSource represents a reference to a
         PersistentVolumeClaim in the same namespace.
         More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
         +optional
         
        optional .k8s.io.api.core.v1.PersistentVolumeClaimVolumeSource persistentVolumeClaim = 10;
      • getPersistentVolumeClaimBuilder

        public Generated.PersistentVolumeClaimVolumeSource.Builder getPersistentVolumeClaimBuilder()
         persistentVolumeClaimVolumeSource represents a reference to a
         PersistentVolumeClaim in the same namespace.
         More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
         +optional
         
        optional .k8s.io.api.core.v1.PersistentVolumeClaimVolumeSource persistentVolumeClaim = 10;
      • hasRbd

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

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

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

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

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

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

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

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

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

        public Generated.FlexVolumeSource getFlexVolume()
         flexVolume represents a generic volume resource that is
         provisioned/attached using an exec based plugin.
         Deprecated: FlexVolume is deprecated. Consider using a CSIDriver instead.
         +optional
         
        optional .k8s.io.api.core.v1.FlexVolumeSource flexVolume = 12;
        Specified by:
        getFlexVolume in interface Generated.VolumeSourceOrBuilder
        Returns:
        The flexVolume.
      • setFlexVolume

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public Generated.CephFSVolumeSource getCephfs()
         cephFS represents a Ceph FS mount on the host that shares a pod's lifetime.
         Deprecated: CephFS is deprecated and the in-tree cephfs type is no longer supported.
         +optional
         
        optional .k8s.io.api.core.v1.CephFSVolumeSource cephfs = 14;
        Specified by:
        getCephfs in interface Generated.VolumeSourceOrBuilder
        Returns:
        The cephfs.
      • setCephfs

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

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

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

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

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

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

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

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

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

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

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

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

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

        public boolean hasDownwardAPI()
         downwardAPI represents downward API about the pod that should populate this volume
         +optional
         
        optional .k8s.io.api.core.v1.DownwardAPIVolumeSource downwardAPI = 16;
        Specified by:
        hasDownwardAPI in interface Generated.VolumeSourceOrBuilder
        Returns:
        Whether the downwardAPI field is set.
      • clearDownwardAPI

        public Generated.VolumeSource.Builder clearDownwardAPI()
         downwardAPI represents downward API about the pod that should populate this volume
         +optional
         
        optional .k8s.io.api.core.v1.DownwardAPIVolumeSource downwardAPI = 16;
      • getDownwardAPIBuilder

        public Generated.DownwardAPIVolumeSource.Builder getDownwardAPIBuilder()
         downwardAPI represents downward API about the pod that should populate this volume
         +optional
         
        optional .k8s.io.api.core.v1.DownwardAPIVolumeSource downwardAPI = 16;
      • 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 = 17;
        Specified by:
        hasFc in interface Generated.VolumeSourceOrBuilder
        Returns:
        Whether the fc field is set.
      • getFc

        public Generated.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 = 17;
        Specified by:
        getFc in interface Generated.VolumeSourceOrBuilder
        Returns:
        The fc.
      • clearFc

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

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

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

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

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

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

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

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

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

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

        public boolean hasConfigMap()
         configMap represents a configMap that should populate this volume
         +optional
         
        optional .k8s.io.api.core.v1.ConfigMapVolumeSource configMap = 19;
        Specified by:
        hasConfigMap in interface Generated.VolumeSourceOrBuilder
        Returns:
        Whether the configMap field is set.
      • clearConfigMap

        public Generated.VolumeSource.Builder clearConfigMap()
         configMap represents a configMap that should populate this volume
         +optional
         
        optional .k8s.io.api.core.v1.ConfigMapVolumeSource configMap = 19;
      • getConfigMapBuilder

        public Generated.ConfigMapVolumeSource.Builder getConfigMapBuilder()
         configMap represents a configMap that should populate this volume
         +optional
         
        optional .k8s.io.api.core.v1.ConfigMapVolumeSource configMap = 19;
      • hasVsphereVolume

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public boolean hasProjected()
         projected items for all in one resources secrets, configmaps, and downward API
         
        optional .k8s.io.api.core.v1.ProjectedVolumeSource projected = 26;
        Specified by:
        hasProjected in interface Generated.VolumeSourceOrBuilder
        Returns:
        Whether the projected field is set.
      • clearProjected

        public Generated.VolumeSource.Builder clearProjected()
         projected items for all in one resources secrets, configmaps, and downward API
         
        optional .k8s.io.api.core.v1.ProjectedVolumeSource projected = 26;
      • getProjectedBuilder

        public Generated.ProjectedVolumeSource.Builder getProjectedBuilder()
         projected items for all in one resources secrets, configmaps, and downward API
         
        optional .k8s.io.api.core.v1.ProjectedVolumeSource projected = 26;
      • hasPortworxVolume

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

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

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

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

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

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

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

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

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

        public Generated.ScaleIOVolumeSource getScaleIO()
         scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.
         Deprecated: ScaleIO is deprecated and the in-tree scaleIO type is no longer supported.
         +optional
         
        optional .k8s.io.api.core.v1.ScaleIOVolumeSource scaleIO = 25;
        Specified by:
        getScaleIO in interface Generated.VolumeSourceOrBuilder
        Returns:
        The scaleIO.
      • setScaleIO

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

        public Generated.VolumeSource.Builder setScaleIO​(Generated.ScaleIOVolumeSource.Builder builderForValue)
         scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.
         Deprecated: ScaleIO is deprecated and the in-tree scaleIO type is no longer supported.
         +optional
         
        optional .k8s.io.api.core.v1.ScaleIOVolumeSource scaleIO = 25;
      • mergeScaleIO

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

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

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

        public boolean hasStorageos()
         storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.
         Deprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported.
         +optional
         
        optional .k8s.io.api.core.v1.StorageOSVolumeSource storageos = 27;
        Specified by:
        hasStorageos in interface Generated.VolumeSourceOrBuilder
        Returns:
        Whether the storageos field is set.
      • getStorageos

        public Generated.StorageOSVolumeSource getStorageos()
         storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.
         Deprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported.
         +optional
         
        optional .k8s.io.api.core.v1.StorageOSVolumeSource storageos = 27;
        Specified by:
        getStorageos in interface Generated.VolumeSourceOrBuilder
        Returns:
        The storageos.
      • setStorageos

        public Generated.VolumeSource.Builder setStorageos​(Generated.StorageOSVolumeSource value)
         storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.
         Deprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported.
         +optional
         
        optional .k8s.io.api.core.v1.StorageOSVolumeSource storageos = 27;
      • setStorageos

        public Generated.VolumeSource.Builder setStorageos​(Generated.StorageOSVolumeSource.Builder builderForValue)
         storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.
         Deprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported.
         +optional
         
        optional .k8s.io.api.core.v1.StorageOSVolumeSource storageos = 27;
      • mergeStorageos

        public Generated.VolumeSource.Builder mergeStorageos​(Generated.StorageOSVolumeSource value)
         storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.
         Deprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported.
         +optional
         
        optional .k8s.io.api.core.v1.StorageOSVolumeSource storageos = 27;
      • clearStorageos

        public Generated.VolumeSource.Builder clearStorageos()
         storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.
         Deprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported.
         +optional
         
        optional .k8s.io.api.core.v1.StorageOSVolumeSource storageos = 27;
      • getStorageosBuilder

        public Generated.StorageOSVolumeSource.Builder getStorageosBuilder()
         storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.
         Deprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported.
         +optional
         
        optional .k8s.io.api.core.v1.StorageOSVolumeSource storageos = 27;
      • hasCsi

        public boolean hasCsi()
         csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers.
         +optional
         
        optional .k8s.io.api.core.v1.CSIVolumeSource csi = 28;
        Specified by:
        hasCsi in interface Generated.VolumeSourceOrBuilder
        Returns:
        Whether the csi field is set.
      • getCsi

        public Generated.CSIVolumeSource getCsi()
         csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers.
         +optional
         
        optional .k8s.io.api.core.v1.CSIVolumeSource csi = 28;
        Specified by:
        getCsi in interface Generated.VolumeSourceOrBuilder
        Returns:
        The csi.
      • clearCsi

        public Generated.VolumeSource.Builder clearCsi()
         csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers.
         +optional
         
        optional .k8s.io.api.core.v1.CSIVolumeSource csi = 28;
      • getCsiBuilder

        public Generated.CSIVolumeSource.Builder getCsiBuilder()
         csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers.
         +optional
         
        optional .k8s.io.api.core.v1.CSIVolumeSource csi = 28;
      • hasEphemeral

        public boolean hasEphemeral()
         ephemeral represents a volume that is handled by a cluster storage driver.
         The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts,
         and deleted when the pod is removed.
        
         Use this if:
         a) the volume is only needed while the pod runs,
         b) features of normal volumes like restoring from snapshot or capacity
            tracking are needed,
         c) the storage driver is specified through a storage class, and
         d) the storage driver supports dynamic volume provisioning through
            a PersistentVolumeClaim (see EphemeralVolumeSource for more
            information on the connection between this volume type
            and PersistentVolumeClaim).
        
         Use PersistentVolumeClaim or one of the vendor-specific
         APIs for volumes that persist for longer than the lifecycle
         of an individual pod.
        
         Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to
         be used that way - see the documentation of the driver for
         more information.
        
         A pod can use both types of ephemeral volumes and
         persistent volumes at the same time.
        
         +optional
         
        optional .k8s.io.api.core.v1.EphemeralVolumeSource ephemeral = 29;
        Specified by:
        hasEphemeral in interface Generated.VolumeSourceOrBuilder
        Returns:
        Whether the ephemeral field is set.
      • getEphemeral

        public Generated.EphemeralVolumeSource getEphemeral()
         ephemeral represents a volume that is handled by a cluster storage driver.
         The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts,
         and deleted when the pod is removed.
        
         Use this if:
         a) the volume is only needed while the pod runs,
         b) features of normal volumes like restoring from snapshot or capacity
            tracking are needed,
         c) the storage driver is specified through a storage class, and
         d) the storage driver supports dynamic volume provisioning through
            a PersistentVolumeClaim (see EphemeralVolumeSource for more
            information on the connection between this volume type
            and PersistentVolumeClaim).
        
         Use PersistentVolumeClaim or one of the vendor-specific
         APIs for volumes that persist for longer than the lifecycle
         of an individual pod.
        
         Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to
         be used that way - see the documentation of the driver for
         more information.
        
         A pod can use both types of ephemeral volumes and
         persistent volumes at the same time.
        
         +optional
         
        optional .k8s.io.api.core.v1.EphemeralVolumeSource ephemeral = 29;
        Specified by:
        getEphemeral in interface Generated.VolumeSourceOrBuilder
        Returns:
        The ephemeral.
      • setEphemeral

        public Generated.VolumeSource.Builder setEphemeral​(Generated.EphemeralVolumeSource value)
         ephemeral represents a volume that is handled by a cluster storage driver.
         The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts,
         and deleted when the pod is removed.
        
         Use this if:
         a) the volume is only needed while the pod runs,
         b) features of normal volumes like restoring from snapshot or capacity
            tracking are needed,
         c) the storage driver is specified through a storage class, and
         d) the storage driver supports dynamic volume provisioning through
            a PersistentVolumeClaim (see EphemeralVolumeSource for more
            information on the connection between this volume type
            and PersistentVolumeClaim).
        
         Use PersistentVolumeClaim or one of the vendor-specific
         APIs for volumes that persist for longer than the lifecycle
         of an individual pod.
        
         Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to
         be used that way - see the documentation of the driver for
         more information.
        
         A pod can use both types of ephemeral volumes and
         persistent volumes at the same time.
        
         +optional
         
        optional .k8s.io.api.core.v1.EphemeralVolumeSource ephemeral = 29;
      • setEphemeral

        public Generated.VolumeSource.Builder setEphemeral​(Generated.EphemeralVolumeSource.Builder builderForValue)
         ephemeral represents a volume that is handled by a cluster storage driver.
         The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts,
         and deleted when the pod is removed.
        
         Use this if:
         a) the volume is only needed while the pod runs,
         b) features of normal volumes like restoring from snapshot or capacity
            tracking are needed,
         c) the storage driver is specified through a storage class, and
         d) the storage driver supports dynamic volume provisioning through
            a PersistentVolumeClaim (see EphemeralVolumeSource for more
            information on the connection between this volume type
            and PersistentVolumeClaim).
        
         Use PersistentVolumeClaim or one of the vendor-specific
         APIs for volumes that persist for longer than the lifecycle
         of an individual pod.
        
         Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to
         be used that way - see the documentation of the driver for
         more information.
        
         A pod can use both types of ephemeral volumes and
         persistent volumes at the same time.
        
         +optional
         
        optional .k8s.io.api.core.v1.EphemeralVolumeSource ephemeral = 29;
      • mergeEphemeral

        public Generated.VolumeSource.Builder mergeEphemeral​(Generated.EphemeralVolumeSource value)
         ephemeral represents a volume that is handled by a cluster storage driver.
         The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts,
         and deleted when the pod is removed.
        
         Use this if:
         a) the volume is only needed while the pod runs,
         b) features of normal volumes like restoring from snapshot or capacity
            tracking are needed,
         c) the storage driver is specified through a storage class, and
         d) the storage driver supports dynamic volume provisioning through
            a PersistentVolumeClaim (see EphemeralVolumeSource for more
            information on the connection between this volume type
            and PersistentVolumeClaim).
        
         Use PersistentVolumeClaim or one of the vendor-specific
         APIs for volumes that persist for longer than the lifecycle
         of an individual pod.
        
         Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to
         be used that way - see the documentation of the driver for
         more information.
        
         A pod can use both types of ephemeral volumes and
         persistent volumes at the same time.
        
         +optional
         
        optional .k8s.io.api.core.v1.EphemeralVolumeSource ephemeral = 29;
      • clearEphemeral

        public Generated.VolumeSource.Builder clearEphemeral()
         ephemeral represents a volume that is handled by a cluster storage driver.
         The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts,
         and deleted when the pod is removed.
        
         Use this if:
         a) the volume is only needed while the pod runs,
         b) features of normal volumes like restoring from snapshot or capacity
            tracking are needed,
         c) the storage driver is specified through a storage class, and
         d) the storage driver supports dynamic volume provisioning through
            a PersistentVolumeClaim (see EphemeralVolumeSource for more
            information on the connection between this volume type
            and PersistentVolumeClaim).
        
         Use PersistentVolumeClaim or one of the vendor-specific
         APIs for volumes that persist for longer than the lifecycle
         of an individual pod.
        
         Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to
         be used that way - see the documentation of the driver for
         more information.
        
         A pod can use both types of ephemeral volumes and
         persistent volumes at the same time.
        
         +optional
         
        optional .k8s.io.api.core.v1.EphemeralVolumeSource ephemeral = 29;
      • getEphemeralBuilder

        public Generated.EphemeralVolumeSource.Builder getEphemeralBuilder()
         ephemeral represents a volume that is handled by a cluster storage driver.
         The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts,
         and deleted when the pod is removed.
        
         Use this if:
         a) the volume is only needed while the pod runs,
         b) features of normal volumes like restoring from snapshot or capacity
            tracking are needed,
         c) the storage driver is specified through a storage class, and
         d) the storage driver supports dynamic volume provisioning through
            a PersistentVolumeClaim (see EphemeralVolumeSource for more
            information on the connection between this volume type
            and PersistentVolumeClaim).
        
         Use PersistentVolumeClaim or one of the vendor-specific
         APIs for volumes that persist for longer than the lifecycle
         of an individual pod.
        
         Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to
         be used that way - see the documentation of the driver for
         more information.
        
         A pod can use both types of ephemeral volumes and
         persistent volumes at the same time.
        
         +optional
         
        optional .k8s.io.api.core.v1.EphemeralVolumeSource ephemeral = 29;
      • getEphemeralOrBuilder

        public Generated.EphemeralVolumeSourceOrBuilder getEphemeralOrBuilder()
         ephemeral represents a volume that is handled by a cluster storage driver.
         The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts,
         and deleted when the pod is removed.
        
         Use this if:
         a) the volume is only needed while the pod runs,
         b) features of normal volumes like restoring from snapshot or capacity
            tracking are needed,
         c) the storage driver is specified through a storage class, and
         d) the storage driver supports dynamic volume provisioning through
            a PersistentVolumeClaim (see EphemeralVolumeSource for more
            information on the connection between this volume type
            and PersistentVolumeClaim).
        
         Use PersistentVolumeClaim or one of the vendor-specific
         APIs for volumes that persist for longer than the lifecycle
         of an individual pod.
        
         Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to
         be used that way - see the documentation of the driver for
         more information.
        
         A pod can use both types of ephemeral volumes and
         persistent volumes at the same time.
        
         +optional
         
        optional .k8s.io.api.core.v1.EphemeralVolumeSource ephemeral = 29;
        Specified by:
        getEphemeralOrBuilder in interface Generated.VolumeSourceOrBuilder
      • hasImage

        public boolean hasImage()
         image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine.
         The volume is resolved at pod startup depending on which PullPolicy value is provided:
        
         - Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails.
         - Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present.
         - IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails.
        
         The volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation.
         A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message.
         The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field.
         The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images.
         The volume will be mounted read-only (ro) and non-executable files (noexec).
         Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath).
         The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type.
         +featureGate=ImageVolume
         +optional
         
        optional .k8s.io.api.core.v1.ImageVolumeSource image = 30;
        Specified by:
        hasImage in interface Generated.VolumeSourceOrBuilder
        Returns:
        Whether the image field is set.
      • getImage

        public Generated.ImageVolumeSource getImage()
         image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine.
         The volume is resolved at pod startup depending on which PullPolicy value is provided:
        
         - Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails.
         - Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present.
         - IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails.
        
         The volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation.
         A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message.
         The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field.
         The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images.
         The volume will be mounted read-only (ro) and non-executable files (noexec).
         Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath).
         The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type.
         +featureGate=ImageVolume
         +optional
         
        optional .k8s.io.api.core.v1.ImageVolumeSource image = 30;
        Specified by:
        getImage in interface Generated.VolumeSourceOrBuilder
        Returns:
        The image.
      • setImage

        public Generated.VolumeSource.Builder setImage​(Generated.ImageVolumeSource value)
         image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine.
         The volume is resolved at pod startup depending on which PullPolicy value is provided:
        
         - Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails.
         - Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present.
         - IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails.
        
         The volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation.
         A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message.
         The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field.
         The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images.
         The volume will be mounted read-only (ro) and non-executable files (noexec).
         Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath).
         The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type.
         +featureGate=ImageVolume
         +optional
         
        optional .k8s.io.api.core.v1.ImageVolumeSource image = 30;
      • setImage

        public Generated.VolumeSource.Builder setImage​(Generated.ImageVolumeSource.Builder builderForValue)
         image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine.
         The volume is resolved at pod startup depending on which PullPolicy value is provided:
        
         - Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails.
         - Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present.
         - IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails.
        
         The volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation.
         A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message.
         The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field.
         The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images.
         The volume will be mounted read-only (ro) and non-executable files (noexec).
         Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath).
         The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type.
         +featureGate=ImageVolume
         +optional
         
        optional .k8s.io.api.core.v1.ImageVolumeSource image = 30;
      • mergeImage

        public Generated.VolumeSource.Builder mergeImage​(Generated.ImageVolumeSource value)
         image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine.
         The volume is resolved at pod startup depending on which PullPolicy value is provided:
        
         - Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails.
         - Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present.
         - IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails.
        
         The volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation.
         A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message.
         The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field.
         The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images.
         The volume will be mounted read-only (ro) and non-executable files (noexec).
         Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath).
         The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type.
         +featureGate=ImageVolume
         +optional
         
        optional .k8s.io.api.core.v1.ImageVolumeSource image = 30;
      • clearImage

        public Generated.VolumeSource.Builder clearImage()
         image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine.
         The volume is resolved at pod startup depending on which PullPolicy value is provided:
        
         - Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails.
         - Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present.
         - IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails.
        
         The volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation.
         A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message.
         The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field.
         The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images.
         The volume will be mounted read-only (ro) and non-executable files (noexec).
         Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath).
         The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type.
         +featureGate=ImageVolume
         +optional
         
        optional .k8s.io.api.core.v1.ImageVolumeSource image = 30;
      • getImageBuilder

        public Generated.ImageVolumeSource.Builder getImageBuilder()
         image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine.
         The volume is resolved at pod startup depending on which PullPolicy value is provided:
        
         - Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails.
         - Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present.
         - IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails.
        
         The volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation.
         A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message.
         The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field.
         The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images.
         The volume will be mounted read-only (ro) and non-executable files (noexec).
         Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath).
         The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type.
         +featureGate=ImageVolume
         +optional
         
        optional .k8s.io.api.core.v1.ImageVolumeSource image = 30;
      • getImageOrBuilder

        public Generated.ImageVolumeSourceOrBuilder getImageOrBuilder()
         image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine.
         The volume is resolved at pod startup depending on which PullPolicy value is provided:
        
         - Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails.
         - Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present.
         - IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails.
        
         The volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation.
         A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message.
         The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field.
         The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images.
         The volume will be mounted read-only (ro) and non-executable files (noexec).
         Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath).
         The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type.
         +featureGate=ImageVolume
         +optional
         
        optional .k8s.io.api.core.v1.ImageVolumeSource image = 30;
        Specified by:
        getImageOrBuilder in interface Generated.VolumeSourceOrBuilder
      • setUnknownFields

        public final Generated.VolumeSource.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<Generated.VolumeSource.Builder>
      • mergeUnknownFields

        public final Generated.VolumeSource.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<Generated.VolumeSource.Builder>