Class V1.VolumeSource.Builder

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

public static final class V1.VolumeSource.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1.VolumeSource.Builder> implements V1.VolumeSourceOrBuilder
 Represents the source of a volume to mount.
 Only one of its members may be specified.
 
Protobuf type k8s.io.api.core.v1.VolumeSource
  • Method Details

    • getDescriptor

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

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

      public V1.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<V1.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<V1.VolumeSource.Builder>
    • getDefaultInstanceForType

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

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

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

      public V1.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<V1.VolumeSource.Builder>
    • setField

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

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

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

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

      public V1.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<V1.VolumeSource.Builder>
    • mergeFrom

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

      public V1.VolumeSource.Builder mergeFrom(V1.VolumeSource other)
    • isInitialized

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

      public V1.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<V1.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 V1.VolumeSourceOrBuilder
    • getHostPath

      public V1.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 V1.VolumeSourceOrBuilder
    • setHostPath

       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 V1.VolumeSource.Builder setHostPath(V1.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 V1.VolumeSource.Builder mergeHostPath(V1.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 V1.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 V1.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 V1.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 V1.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 V1.VolumeSourceOrBuilder
    • getEmptyDir

      public V1.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 V1.VolumeSourceOrBuilder
    • setEmptyDir

       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 V1.VolumeSource.Builder setEmptyDir(V1.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 V1.VolumeSource.Builder mergeEmptyDir(V1.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 V1.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 V1.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;
    • getEmptyDirOrBuilder

      public V1.EmptyDirVolumeSourceOrBuilder getEmptyDirOrBuilder()
       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:
      getEmptyDirOrBuilder in interface V1.VolumeSourceOrBuilder
    • 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.
       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 V1.VolumeSourceOrBuilder
    • getGcePersistentDisk

      public V1.GCEPersistentDiskVolumeSource getGcePersistentDisk()
       GCEPersistentDisk represents a GCE Disk resource that is attached to a
       kubelet's host machine and then exposed to the pod.
       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 V1.VolumeSourceOrBuilder
    • setGcePersistentDisk

      public V1.VolumeSource.Builder setGcePersistentDisk(V1.GCEPersistentDiskVolumeSource value)
       GCEPersistentDisk represents a GCE Disk resource that is attached to a
       kubelet's host machine and then exposed to the pod.
       More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
       +optional
       
      optional .k8s.io.api.core.v1.GCEPersistentDiskVolumeSource gcePersistentDisk = 3;
    • setGcePersistentDisk

      public V1.VolumeSource.Builder setGcePersistentDisk(V1.GCEPersistentDiskVolumeSource.Builder builderForValue)
       GCEPersistentDisk represents a GCE Disk resource that is attached to a
       kubelet's host machine and then exposed to the pod.
       More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
       +optional
       
      optional .k8s.io.api.core.v1.GCEPersistentDiskVolumeSource gcePersistentDisk = 3;
    • mergeGcePersistentDisk

      public V1.VolumeSource.Builder mergeGcePersistentDisk(V1.GCEPersistentDiskVolumeSource value)
       GCEPersistentDisk represents a GCE Disk resource that is attached to a
       kubelet's host machine and then exposed to the pod.
       More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
       +optional
       
      optional .k8s.io.api.core.v1.GCEPersistentDiskVolumeSource gcePersistentDisk = 3;
    • clearGcePersistentDisk

      public V1.VolumeSource.Builder clearGcePersistentDisk()
       GCEPersistentDisk represents a GCE Disk resource that is attached to a
       kubelet's host machine and then exposed to the pod.
       More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
       +optional
       
      optional .k8s.io.api.core.v1.GCEPersistentDiskVolumeSource gcePersistentDisk = 3;
    • getGcePersistentDiskBuilder

      public V1.GCEPersistentDiskVolumeSource.Builder getGcePersistentDiskBuilder()
       GCEPersistentDisk represents a GCE Disk resource that is attached to a
       kubelet's host machine and then exposed to the pod.
       More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
       +optional
       
      optional .k8s.io.api.core.v1.GCEPersistentDiskVolumeSource gcePersistentDisk = 3;
    • getGcePersistentDiskOrBuilder

      public V1.GCEPersistentDiskVolumeSourceOrBuilder getGcePersistentDiskOrBuilder()
       GCEPersistentDisk represents a GCE Disk resource that is attached to a
       kubelet's host machine and then exposed to the pod.
       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 V1.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.
       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 V1.VolumeSourceOrBuilder
    • getAwsElasticBlockStore

      public V1.AWSElasticBlockStoreVolumeSource getAwsElasticBlockStore()
       AWSElasticBlockStore represents an AWS Disk resource that is attached to a
       kubelet's host machine and then exposed to the pod.
       More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
       +optional
       
      optional .k8s.io.api.core.v1.AWSElasticBlockStoreVolumeSource awsElasticBlockStore = 4;
      Specified by:
      getAwsElasticBlockStore in interface V1.VolumeSourceOrBuilder
    • setAwsElasticBlockStore

      public V1.VolumeSource.Builder setAwsElasticBlockStore(V1.AWSElasticBlockStoreVolumeSource value)
       AWSElasticBlockStore represents an AWS Disk resource that is attached to a
       kubelet's host machine and then exposed to the pod.
       More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
       +optional
       
      optional .k8s.io.api.core.v1.AWSElasticBlockStoreVolumeSource awsElasticBlockStore = 4;
    • setAwsElasticBlockStore

      public V1.VolumeSource.Builder setAwsElasticBlockStore(V1.AWSElasticBlockStoreVolumeSource.Builder builderForValue)
       AWSElasticBlockStore represents an AWS Disk resource that is attached to a
       kubelet's host machine and then exposed to the pod.
       More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
       +optional
       
      optional .k8s.io.api.core.v1.AWSElasticBlockStoreVolumeSource awsElasticBlockStore = 4;
    • mergeAwsElasticBlockStore

      public V1.VolumeSource.Builder mergeAwsElasticBlockStore(V1.AWSElasticBlockStoreVolumeSource value)
       AWSElasticBlockStore represents an AWS Disk resource that is attached to a
       kubelet's host machine and then exposed to the pod.
       More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
       +optional
       
      optional .k8s.io.api.core.v1.AWSElasticBlockStoreVolumeSource awsElasticBlockStore = 4;
    • clearAwsElasticBlockStore

      public V1.VolumeSource.Builder clearAwsElasticBlockStore()
       AWSElasticBlockStore represents an AWS Disk resource that is attached to a
       kubelet's host machine and then exposed to the pod.
       More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
       +optional
       
      optional .k8s.io.api.core.v1.AWSElasticBlockStoreVolumeSource awsElasticBlockStore = 4;
    • getAwsElasticBlockStoreBuilder

      public V1.AWSElasticBlockStoreVolumeSource.Builder getAwsElasticBlockStoreBuilder()
       AWSElasticBlockStore represents an AWS Disk resource that is attached to a
       kubelet's host machine and then exposed to the pod.
       More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
       +optional
       
      optional .k8s.io.api.core.v1.AWSElasticBlockStoreVolumeSource awsElasticBlockStore = 4;
    • getAwsElasticBlockStoreOrBuilder

      public V1.AWSElasticBlockStoreVolumeSourceOrBuilder getAwsElasticBlockStoreOrBuilder()
       AWSElasticBlockStore represents an AWS Disk resource that is attached to a
       kubelet's host machine and then exposed to the pod.
       More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
       +optional
       
      optional .k8s.io.api.core.v1.AWSElasticBlockStoreVolumeSource awsElasticBlockStore = 4;
      Specified by:
      getAwsElasticBlockStoreOrBuilder in interface V1.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 V1.VolumeSourceOrBuilder
    • getGitRepo

      public V1.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 V1.VolumeSourceOrBuilder
    • setGitRepo

       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 V1.VolumeSource.Builder setGitRepo(V1.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 V1.VolumeSource.Builder mergeGitRepo(V1.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 V1.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 V1.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 V1.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 V1.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 V1.VolumeSourceOrBuilder
    • getSecret

      public V1.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 V1.VolumeSourceOrBuilder
    • setSecret

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

      public V1.VolumeSource.Builder setSecret(V1.SecretVolumeSource.Builder builderForValue)
       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 V1.VolumeSource.Builder mergeSecret(V1.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 V1.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 V1.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;
    • getSecretOrBuilder

      public V1.SecretVolumeSourceOrBuilder getSecretOrBuilder()
       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:
      getSecretOrBuilder in interface V1.VolumeSourceOrBuilder
    • 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 V1.VolumeSourceOrBuilder
    • getNfs

      public V1.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 V1.VolumeSourceOrBuilder
    • setNfs

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

      public V1.VolumeSource.Builder setNfs(V1.NFSVolumeSource.Builder builderForValue)
       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

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

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

      public V1.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 V1.VolumeSourceOrBuilder
    • setIscsi

       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 V1.VolumeSource.Builder setIscsi(V1.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 V1.VolumeSource.Builder mergeIscsi(V1.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 V1.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 V1.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;
    • getIscsiOrBuilder

      public V1.ISCSIVolumeSourceOrBuilder getIscsiOrBuilder()
       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:
      getIscsiOrBuilder in interface V1.VolumeSourceOrBuilder
    • hasGlusterfs

      public boolean hasGlusterfs()
       Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.
       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 V1.VolumeSourceOrBuilder
    • getGlusterfs

      public V1.GlusterfsVolumeSource getGlusterfs()
       Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.
       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 V1.VolumeSourceOrBuilder
    • setGlusterfs

       Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.
       More info: https://examples.k8s.io/volumes/glusterfs/README.md
       +optional
       
      optional .k8s.io.api.core.v1.GlusterfsVolumeSource glusterfs = 9;
    • setGlusterfs

      public V1.VolumeSource.Builder setGlusterfs(V1.GlusterfsVolumeSource.Builder builderForValue)
       Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.
       More info: https://examples.k8s.io/volumes/glusterfs/README.md
       +optional
       
      optional .k8s.io.api.core.v1.GlusterfsVolumeSource glusterfs = 9;
    • mergeGlusterfs

      public V1.VolumeSource.Builder mergeGlusterfs(V1.GlusterfsVolumeSource value)
       Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.
       More info: https://examples.k8s.io/volumes/glusterfs/README.md
       +optional
       
      optional .k8s.io.api.core.v1.GlusterfsVolumeSource glusterfs = 9;
    • clearGlusterfs

      public V1.VolumeSource.Builder clearGlusterfs()
       Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.
       More info: https://examples.k8s.io/volumes/glusterfs/README.md
       +optional
       
      optional .k8s.io.api.core.v1.GlusterfsVolumeSource glusterfs = 9;
    • getGlusterfsBuilder

      public V1.GlusterfsVolumeSource.Builder getGlusterfsBuilder()
       Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.
       More info: https://examples.k8s.io/volumes/glusterfs/README.md
       +optional
       
      optional .k8s.io.api.core.v1.GlusterfsVolumeSource glusterfs = 9;
    • getGlusterfsOrBuilder

      public V1.GlusterfsVolumeSourceOrBuilder getGlusterfsOrBuilder()
       Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.
       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 V1.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 V1.VolumeSourceOrBuilder
    • getPersistentVolumeClaim

      public V1.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 V1.VolumeSourceOrBuilder
    • setPersistentVolumeClaim

      public V1.VolumeSource.Builder setPersistentVolumeClaim(V1.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 V1.VolumeSource.Builder setPersistentVolumeClaim(V1.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 V1.VolumeSource.Builder mergePersistentVolumeClaim(V1.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 V1.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 V1.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;
    • getPersistentVolumeClaimOrBuilder

      public V1.PersistentVolumeClaimVolumeSourceOrBuilder getPersistentVolumeClaimOrBuilder()
       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:
      getPersistentVolumeClaimOrBuilder in interface V1.VolumeSourceOrBuilder
    • hasRbd

      public boolean hasRbd()
       RBD represents a Rados Block Device mount on the host that shares a pod's lifetime.
       More info: https://examples.k8s.io/volumes/rbd/README.md
       +optional
       
      optional .k8s.io.api.core.v1.RBDVolumeSource rbd = 11;
      Specified by:
      hasRbd in interface V1.VolumeSourceOrBuilder
    • getRbd

      public V1.RBDVolumeSource getRbd()
       RBD represents a Rados Block Device mount on the host that shares a pod's lifetime.
       More info: https://examples.k8s.io/volumes/rbd/README.md
       +optional
       
      optional .k8s.io.api.core.v1.RBDVolumeSource rbd = 11;
      Specified by:
      getRbd in interface V1.VolumeSourceOrBuilder
    • setRbd

       RBD represents a Rados Block Device mount on the host that shares a pod's lifetime.
       More info: https://examples.k8s.io/volumes/rbd/README.md
       +optional
       
      optional .k8s.io.api.core.v1.RBDVolumeSource rbd = 11;
    • setRbd

      public V1.VolumeSource.Builder setRbd(V1.RBDVolumeSource.Builder builderForValue)
       RBD represents a Rados Block Device mount on the host that shares a pod's lifetime.
       More info: https://examples.k8s.io/volumes/rbd/README.md
       +optional
       
      optional .k8s.io.api.core.v1.RBDVolumeSource rbd = 11;
    • mergeRbd

       RBD represents a Rados Block Device mount on the host that shares a pod's lifetime.
       More info: https://examples.k8s.io/volumes/rbd/README.md
       +optional
       
      optional .k8s.io.api.core.v1.RBDVolumeSource rbd = 11;
    • clearRbd

      public V1.VolumeSource.Builder clearRbd()
       RBD represents a Rados Block Device mount on the host that shares a pod's lifetime.
       More info: https://examples.k8s.io/volumes/rbd/README.md
       +optional
       
      optional .k8s.io.api.core.v1.RBDVolumeSource rbd = 11;
    • getRbdBuilder

      public V1.RBDVolumeSource.Builder getRbdBuilder()
       RBD represents a Rados Block Device mount on the host that shares a pod's lifetime.
       More info: https://examples.k8s.io/volumes/rbd/README.md
       +optional
       
      optional .k8s.io.api.core.v1.RBDVolumeSource rbd = 11;
    • getRbdOrBuilder

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

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

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

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

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

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

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

      public V1.FlexVolumeSource.Builder getFlexVolumeBuilder()
       FlexVolume represents a generic volume resource that is
       provisioned/attached using an exec based plugin.
       +optional
       
      optional .k8s.io.api.core.v1.FlexVolumeSource flexVolume = 12;
    • getFlexVolumeOrBuilder

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

      public boolean hasCinder()
       Cinder represents a cinder volume attached and mounted on kubelets host machine.
       More info: https://examples.k8s.io/mysql-cinder-pd/README.md
       +optional
       
      optional .k8s.io.api.core.v1.CinderVolumeSource cinder = 13;
      Specified by:
      hasCinder in interface V1.VolumeSourceOrBuilder
    • getCinder

      public V1.CinderVolumeSource getCinder()
       Cinder represents a cinder volume attached and mounted on kubelets host machine.
       More info: https://examples.k8s.io/mysql-cinder-pd/README.md
       +optional
       
      optional .k8s.io.api.core.v1.CinderVolumeSource cinder = 13;
      Specified by:
      getCinder in interface V1.VolumeSourceOrBuilder
    • setCinder

       Cinder represents a cinder volume attached and mounted on kubelets host machine.
       More info: https://examples.k8s.io/mysql-cinder-pd/README.md
       +optional
       
      optional .k8s.io.api.core.v1.CinderVolumeSource cinder = 13;
    • setCinder

      public V1.VolumeSource.Builder setCinder(V1.CinderVolumeSource.Builder builderForValue)
       Cinder represents a cinder volume attached and mounted on kubelets host machine.
       More info: https://examples.k8s.io/mysql-cinder-pd/README.md
       +optional
       
      optional .k8s.io.api.core.v1.CinderVolumeSource cinder = 13;
    • mergeCinder

      public V1.VolumeSource.Builder mergeCinder(V1.CinderVolumeSource value)
       Cinder represents a cinder volume attached and mounted on kubelets host machine.
       More info: https://examples.k8s.io/mysql-cinder-pd/README.md
       +optional
       
      optional .k8s.io.api.core.v1.CinderVolumeSource cinder = 13;
    • clearCinder

      public V1.VolumeSource.Builder clearCinder()
       Cinder represents a cinder volume attached and mounted on kubelets host machine.
       More info: https://examples.k8s.io/mysql-cinder-pd/README.md
       +optional
       
      optional .k8s.io.api.core.v1.CinderVolumeSource cinder = 13;
    • getCinderBuilder

      public V1.CinderVolumeSource.Builder getCinderBuilder()
       Cinder represents a cinder volume attached and mounted on kubelets host machine.
       More info: https://examples.k8s.io/mysql-cinder-pd/README.md
       +optional
       
      optional .k8s.io.api.core.v1.CinderVolumeSource cinder = 13;
    • getCinderOrBuilder

      public V1.CinderVolumeSourceOrBuilder getCinderOrBuilder()
       Cinder represents a cinder volume attached and mounted on kubelets host machine.
       More info: https://examples.k8s.io/mysql-cinder-pd/README.md
       +optional
       
      optional .k8s.io.api.core.v1.CinderVolumeSource cinder = 13;
      Specified by:
      getCinderOrBuilder in interface V1.VolumeSourceOrBuilder
    • hasCephfs

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

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

       CephFS represents a Ceph FS mount on the host that shares a pod's lifetime
       +optional
       
      optional .k8s.io.api.core.v1.CephFSVolumeSource cephfs = 14;
    • setCephfs

      public V1.VolumeSource.Builder setCephfs(V1.CephFSVolumeSource.Builder builderForValue)
       CephFS represents a Ceph FS mount on the host that shares a pod's lifetime
       +optional
       
      optional .k8s.io.api.core.v1.CephFSVolumeSource cephfs = 14;
    • mergeCephfs

      public V1.VolumeSource.Builder mergeCephfs(V1.CephFSVolumeSource value)
       CephFS represents a Ceph FS mount on the host that shares a pod's lifetime
       +optional
       
      optional .k8s.io.api.core.v1.CephFSVolumeSource cephfs = 14;
    • clearCephfs

      public V1.VolumeSource.Builder clearCephfs()
       CephFS represents a Ceph FS mount on the host that shares a pod's lifetime
       +optional
       
      optional .k8s.io.api.core.v1.CephFSVolumeSource cephfs = 14;
    • getCephfsBuilder

      public V1.CephFSVolumeSource.Builder getCephfsBuilder()
       CephFS represents a Ceph FS mount on the host that shares a pod's lifetime
       +optional
       
      optional .k8s.io.api.core.v1.CephFSVolumeSource cephfs = 14;
    • getCephfsOrBuilder

      public V1.CephFSVolumeSourceOrBuilder getCephfsOrBuilder()
       CephFS represents a Ceph FS mount on the host that shares a pod's lifetime
       +optional
       
      optional .k8s.io.api.core.v1.CephFSVolumeSource cephfs = 14;
      Specified by:
      getCephfsOrBuilder in interface V1.VolumeSourceOrBuilder
    • 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
       +optional
       
      optional .k8s.io.api.core.v1.FlockerVolumeSource flocker = 15;
      Specified by:
      hasFlocker in interface V1.VolumeSourceOrBuilder
    • getFlocker

      public V1.FlockerVolumeSource getFlocker()
       Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running
       +optional
       
      optional .k8s.io.api.core.v1.FlockerVolumeSource flocker = 15;
      Specified by:
      getFlocker in interface V1.VolumeSourceOrBuilder
    • setFlocker

       Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running
       +optional
       
      optional .k8s.io.api.core.v1.FlockerVolumeSource flocker = 15;
    • setFlocker

      public V1.VolumeSource.Builder setFlocker(V1.FlockerVolumeSource.Builder builderForValue)
       Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running
       +optional
       
      optional .k8s.io.api.core.v1.FlockerVolumeSource flocker = 15;
    • mergeFlocker

      public V1.VolumeSource.Builder mergeFlocker(V1.FlockerVolumeSource value)
       Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running
       +optional
       
      optional .k8s.io.api.core.v1.FlockerVolumeSource flocker = 15;
    • clearFlocker

      public V1.VolumeSource.Builder clearFlocker()
       Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running
       +optional
       
      optional .k8s.io.api.core.v1.FlockerVolumeSource flocker = 15;
    • getFlockerBuilder

      public V1.FlockerVolumeSource.Builder getFlockerBuilder()
       Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running
       +optional
       
      optional .k8s.io.api.core.v1.FlockerVolumeSource flocker = 15;
    • getFlockerOrBuilder

      public V1.FlockerVolumeSourceOrBuilder getFlockerOrBuilder()
       Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running
       +optional
       
      optional .k8s.io.api.core.v1.FlockerVolumeSource flocker = 15;
      Specified by:
      getFlockerOrBuilder in interface V1.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 V1.VolumeSourceOrBuilder
    • getDownwardAPI

      public V1.DownwardAPIVolumeSource getDownwardAPI()
       DownwardAPI represents downward API about the pod that should populate this volume
       +optional
       
      optional .k8s.io.api.core.v1.DownwardAPIVolumeSource downwardAPI = 16;
      Specified by:
      getDownwardAPI in interface V1.VolumeSourceOrBuilder
    • setDownwardAPI

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

      public V1.VolumeSource.Builder setDownwardAPI(V1.DownwardAPIVolumeSource.Builder builderForValue)
       DownwardAPI represents downward API about the pod that should populate this volume
       +optional
       
      optional .k8s.io.api.core.v1.DownwardAPIVolumeSource downwardAPI = 16;
    • mergeDownwardAPI

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

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

      public V1.DownwardAPIVolumeSourceOrBuilder getDownwardAPIOrBuilder()
       DownwardAPI represents downward API about the pod that should populate this volume
       +optional
       
      optional .k8s.io.api.core.v1.DownwardAPIVolumeSource downwardAPI = 16;
      Specified by:
      getDownwardAPIOrBuilder in interface V1.VolumeSourceOrBuilder
    • 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 V1.VolumeSourceOrBuilder
    • getFc

      public V1.FCVolumeSource getFc()
       FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.
       +optional
       
      optional .k8s.io.api.core.v1.FCVolumeSource fc = 17;
      Specified by:
      getFc in interface V1.VolumeSourceOrBuilder
    • setFc

       FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.
       +optional
       
      optional .k8s.io.api.core.v1.FCVolumeSource fc = 17;
    • setFc

      public V1.VolumeSource.Builder setFc(V1.FCVolumeSource.Builder builderForValue)
       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;
    • mergeFc

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

      public V1.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 V1.FCVolumeSource.Builder getFcBuilder()
       FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.
       +optional
       
      optional .k8s.io.api.core.v1.FCVolumeSource fc = 17;
    • getFcOrBuilder

      public V1.FCVolumeSourceOrBuilder getFcOrBuilder()
       FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.
       +optional
       
      optional .k8s.io.api.core.v1.FCVolumeSource fc = 17;
      Specified by:
      getFcOrBuilder in interface V1.VolumeSourceOrBuilder
    • hasAzureFile

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

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

       AzureFile represents an Azure File Service mount on the host and bind mount to the pod.
       +optional
       
      optional .k8s.io.api.core.v1.AzureFileVolumeSource azureFile = 18;
    • setAzureFile

      public V1.VolumeSource.Builder setAzureFile(V1.AzureFileVolumeSource.Builder builderForValue)
       AzureFile represents an Azure File Service mount on the host and bind mount to the pod.
       +optional
       
      optional .k8s.io.api.core.v1.AzureFileVolumeSource azureFile = 18;
    • mergeAzureFile

      public V1.VolumeSource.Builder mergeAzureFile(V1.AzureFileVolumeSource value)
       AzureFile represents an Azure File Service mount on the host and bind mount to the pod.
       +optional
       
      optional .k8s.io.api.core.v1.AzureFileVolumeSource azureFile = 18;
    • clearAzureFile

      public V1.VolumeSource.Builder clearAzureFile()
       AzureFile represents an Azure File Service mount on the host and bind mount to the pod.
       +optional
       
      optional .k8s.io.api.core.v1.AzureFileVolumeSource azureFile = 18;
    • getAzureFileBuilder

      public V1.AzureFileVolumeSource.Builder getAzureFileBuilder()
       AzureFile represents an Azure File Service mount on the host and bind mount to the pod.
       +optional
       
      optional .k8s.io.api.core.v1.AzureFileVolumeSource azureFile = 18;
    • getAzureFileOrBuilder

      public V1.AzureFileVolumeSourceOrBuilder getAzureFileOrBuilder()
       AzureFile represents an Azure File Service mount on the host and bind mount to the pod.
       +optional
       
      optional .k8s.io.api.core.v1.AzureFileVolumeSource azureFile = 18;
      Specified by:
      getAzureFileOrBuilder in interface V1.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 V1.VolumeSourceOrBuilder
    • getConfigMap

      public V1.ConfigMapVolumeSource getConfigMap()
       ConfigMap represents a configMap that should populate this volume
       +optional
       
      optional .k8s.io.api.core.v1.ConfigMapVolumeSource configMap = 19;
      Specified by:
      getConfigMap in interface V1.VolumeSourceOrBuilder
    • setConfigMap

       ConfigMap represents a configMap that should populate this volume
       +optional
       
      optional .k8s.io.api.core.v1.ConfigMapVolumeSource configMap = 19;
    • setConfigMap

      public V1.VolumeSource.Builder setConfigMap(V1.ConfigMapVolumeSource.Builder builderForValue)
       ConfigMap represents a configMap that should populate this volume
       +optional
       
      optional .k8s.io.api.core.v1.ConfigMapVolumeSource configMap = 19;
    • mergeConfigMap

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

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

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

      public V1.ConfigMapVolumeSourceOrBuilder getConfigMapOrBuilder()
       ConfigMap represents a configMap that should populate this volume
       +optional
       
      optional .k8s.io.api.core.v1.ConfigMapVolumeSource configMap = 19;
      Specified by:
      getConfigMapOrBuilder in interface V1.VolumeSourceOrBuilder
    • hasVsphereVolume

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

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

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

      public V1.VolumeSource.Builder setVsphereVolume(V1.VsphereVirtualDiskVolumeSource.Builder builderForValue)
       VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine
       +optional
       
      optional .k8s.io.api.core.v1.VsphereVirtualDiskVolumeSource vsphereVolume = 20;
    • mergeVsphereVolume

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

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

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

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

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

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

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

      public V1.VolumeSource.Builder setQuobyte(V1.QuobyteVolumeSource.Builder builderForValue)
       Quobyte represents a Quobyte mount on the host that shares a pod's lifetime
       +optional
       
      optional .k8s.io.api.core.v1.QuobyteVolumeSource quobyte = 21;
    • mergeQuobyte

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

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

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

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

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

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

       AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
       +optional
       
      optional .k8s.io.api.core.v1.AzureDiskVolumeSource azureDisk = 22;
    • setAzureDisk

      public V1.VolumeSource.Builder setAzureDisk(V1.AzureDiskVolumeSource.Builder builderForValue)
       AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
       +optional
       
      optional .k8s.io.api.core.v1.AzureDiskVolumeSource azureDisk = 22;
    • mergeAzureDisk

      public V1.VolumeSource.Builder mergeAzureDisk(V1.AzureDiskVolumeSource value)
       AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
       +optional
       
      optional .k8s.io.api.core.v1.AzureDiskVolumeSource azureDisk = 22;
    • clearAzureDisk

      public V1.VolumeSource.Builder clearAzureDisk()
       AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
       +optional
       
      optional .k8s.io.api.core.v1.AzureDiskVolumeSource azureDisk = 22;
    • getAzureDiskBuilder

      public V1.AzureDiskVolumeSource.Builder getAzureDiskBuilder()
       AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
       +optional
       
      optional .k8s.io.api.core.v1.AzureDiskVolumeSource azureDisk = 22;
    • getAzureDiskOrBuilder

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

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

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

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

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

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

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

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

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

      public boolean hasProjected()
       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 V1.VolumeSourceOrBuilder
    • getProjected

      public V1.ProjectedVolumeSource getProjected()
       Items for all in one resources secrets, configmaps, and downward API
       
      optional .k8s.io.api.core.v1.ProjectedVolumeSource projected = 26;
      Specified by:
      getProjected in interface V1.VolumeSourceOrBuilder
    • setProjected

       Items for all in one resources secrets, configmaps, and downward API
       
      optional .k8s.io.api.core.v1.ProjectedVolumeSource projected = 26;
    • setProjected

      public V1.VolumeSource.Builder setProjected(V1.ProjectedVolumeSource.Builder builderForValue)
       Items for all in one resources secrets, configmaps, and downward API
       
      optional .k8s.io.api.core.v1.ProjectedVolumeSource projected = 26;
    • mergeProjected

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

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

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

      public V1.ProjectedVolumeSourceOrBuilder getProjectedOrBuilder()
       Items for all in one resources secrets, configmaps, and downward API
       
      optional .k8s.io.api.core.v1.ProjectedVolumeSource projected = 26;
      Specified by:
      getProjectedOrBuilder in interface V1.VolumeSourceOrBuilder
    • hasPortworxVolume

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

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

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

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

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

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

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

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

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

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

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

      public V1.VolumeSource.Builder setScaleIO(V1.ScaleIOVolumeSource.Builder builderForValue)
       ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.
       +optional
       
      optional .k8s.io.api.core.v1.ScaleIOVolumeSource scaleIO = 25;
    • mergeScaleIO

      public V1.VolumeSource.Builder mergeScaleIO(V1.ScaleIOVolumeSource value)
       ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.
       +optional
       
      optional .k8s.io.api.core.v1.ScaleIOVolumeSource scaleIO = 25;
    • clearScaleIO

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

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

      public V1.ScaleIOVolumeSourceOrBuilder getScaleIOOrBuilder()
       ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.
       +optional
       
      optional .k8s.io.api.core.v1.ScaleIOVolumeSource scaleIO = 25;
      Specified by:
      getScaleIOOrBuilder in interface V1.VolumeSourceOrBuilder
    • hasStorageos

      public boolean hasStorageos()
       StorageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.
       +optional
       
      optional .k8s.io.api.core.v1.StorageOSVolumeSource storageos = 27;
      Specified by:
      hasStorageos in interface V1.VolumeSourceOrBuilder
    • getStorageos

      public V1.StorageOSVolumeSource getStorageos()
       StorageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.
       +optional
       
      optional .k8s.io.api.core.v1.StorageOSVolumeSource storageos = 27;
      Specified by:
      getStorageos in interface V1.VolumeSourceOrBuilder
    • setStorageos

       StorageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.
       +optional
       
      optional .k8s.io.api.core.v1.StorageOSVolumeSource storageos = 27;
    • setStorageos

      public V1.VolumeSource.Builder setStorageos(V1.StorageOSVolumeSource.Builder builderForValue)
       StorageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.
       +optional
       
      optional .k8s.io.api.core.v1.StorageOSVolumeSource storageos = 27;
    • mergeStorageos

      public V1.VolumeSource.Builder mergeStorageos(V1.StorageOSVolumeSource value)
       StorageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.
       +optional
       
      optional .k8s.io.api.core.v1.StorageOSVolumeSource storageos = 27;
    • clearStorageos

      public V1.VolumeSource.Builder clearStorageos()
       StorageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.
       +optional
       
      optional .k8s.io.api.core.v1.StorageOSVolumeSource storageos = 27;
    • getStorageosBuilder

      public V1.StorageOSVolumeSource.Builder getStorageosBuilder()
       StorageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.
       +optional
       
      optional .k8s.io.api.core.v1.StorageOSVolumeSource storageos = 27;
    • getStorageosOrBuilder

      public V1.StorageOSVolumeSourceOrBuilder getStorageosOrBuilder()
       StorageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.
       +optional
       
      optional .k8s.io.api.core.v1.StorageOSVolumeSource storageos = 27;
      Specified by:
      getStorageosOrBuilder in interface V1.VolumeSourceOrBuilder
    • hasCsi

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

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

       CSI (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature).
       +optional
       
      optional .k8s.io.api.core.v1.CSIVolumeSource csi = 28;
    • setCsi

      public V1.VolumeSource.Builder setCsi(V1.CSIVolumeSource.Builder builderForValue)
       CSI (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature).
       +optional
       
      optional .k8s.io.api.core.v1.CSIVolumeSource csi = 28;
    • mergeCsi

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

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

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

      public V1.CSIVolumeSourceOrBuilder getCsiOrBuilder()
       CSI (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature).
       +optional
       
      optional .k8s.io.api.core.v1.CSIVolumeSource csi = 28;
      Specified by:
      getCsiOrBuilder in interface V1.VolumeSourceOrBuilder
    • 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 V1.VolumeSourceOrBuilder
    • getEphemeral

      public V1.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 V1.VolumeSourceOrBuilder
    • setEphemeral

       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 V1.VolumeSource.Builder setEphemeral(V1.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 V1.VolumeSource.Builder mergeEphemeral(V1.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 V1.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 V1.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 V1.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 V1.VolumeSourceOrBuilder
    • setUnknownFields

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

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