Package io.kubernetes.client.proto
Class V1.VolumeSource
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.kubernetes.client.proto.V1.VolumeSource
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,V1.VolumeSourceOrBuilder
,Serializable
- Enclosing class:
- V1
public static final class V1.VolumeSource
extends com.google.protobuf.GeneratedMessageV3
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
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Represents the source of a volume to mount.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,
BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final com.google.protobuf.Parser<V1.VolumeSource>
Deprecated.static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionboolean
AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod.AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod.AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.AzureFile represents an Azure File Service mount on the host and bind mount to the pod.AzureFile represents an Azure File Service mount on the host and bind mount to the pod.CephFS represents a Ceph FS mount on the host that shares a pod's lifetime +optionalCephFS represents a Ceph FS mount on the host that shares a pod's lifetime +optionalCinder represents a cinder volume attached and mounted on kubelets host machine.Cinder represents a cinder volume attached and mounted on kubelets host machine.ConfigMap represents a configMap that should populate this volume +optionalConfigMap represents a configMap that should populate this volume +optionalgetCsi()
CSI (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature).CSI (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature).static V1.VolumeSource
static final com.google.protobuf.Descriptors.Descriptor
DownwardAPI represents downward API about the pod that should populate this volume +optionalDownwardAPI represents downward API about the pod that should populate this volume +optionalEmptyDir represents a temporary directory that shares a pod's lifetime.EmptyDir represents a temporary directory that shares a pod's lifetime.Ephemeral represents a volume that is handled by a cluster storage driver.Ephemeral represents a volume that is handled by a cluster storage driver.getFc()
FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.Flocker represents a Flocker volume attached to a kubelet's host machine.Flocker represents a Flocker volume attached to a kubelet's host machine.GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod.GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod.GitRepo represents a git repository at a particular revision.GitRepo represents a git repository at a particular revision.Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.HostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container.HostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container.getIscsi()
ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod.ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod.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 +optionalNFS represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs +optionalcom.google.protobuf.Parser<V1.VolumeSource>
PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace.PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace.PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machinePhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machinePortworxVolume represents a portworx volume attached and mounted on kubelets host machine +optionalPortworxVolume represents a portworx volume attached and mounted on kubelets host machine +optionalItems for all in one resources secrets, configmaps, and downward APIItems for all in one resources secrets, configmaps, and downward APIQuobyte represents a Quobyte mount on the host that shares a pod's lifetime +optionalQuobyte represents a Quobyte mount on the host that shares a pod's lifetime +optionalgetRbd()
RBD represents a Rados Block Device mount on the host that shares a pod's lifetime.RBD represents a Rados Block Device mount on the host that shares a pod's lifetime.ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.Secret represents a secret that should populate this volume.Secret represents a secret that should populate this volume.int
StorageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.StorageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.final com.google.protobuf.UnknownFieldSet
VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine +optionalVsphereVolume represents a vSphere volume attached and mounted on kubelets host machine +optionalboolean
AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod.boolean
AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.boolean
AzureFile represents an Azure File Service mount on the host and bind mount to the pod.boolean
CephFS represents a Ceph FS mount on the host that shares a pod's lifetime +optionalboolean
Cinder represents a cinder volume attached and mounted on kubelets host machine.boolean
ConfigMap represents a configMap that should populate this volume +optionalboolean
hasCsi()
CSI (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature).boolean
DownwardAPI represents downward API about the pod that should populate this volume +optionalboolean
EmptyDir represents a temporary directory that shares a pod's lifetime.boolean
Ephemeral represents a volume that is handled by a cluster storage driver.boolean
hasFc()
FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.boolean
FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.boolean
Flocker represents a Flocker volume attached to a kubelet's host machine.boolean
GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod.boolean
GitRepo represents a git repository at a particular revision.boolean
Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.int
hashCode()
boolean
HostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container.boolean
hasIscsi()
ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod.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 +optionalboolean
PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace.boolean
PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machineboolean
PortworxVolume represents a portworx volume attached and mounted on kubelets host machine +optionalboolean
Items for all in one resources secrets, configmaps, and downward APIboolean
Quobyte represents a Quobyte mount on the host that shares a pod's lifetime +optionalboolean
hasRbd()
RBD represents a Rados Block Device mount on the host that shares a pod's lifetime.boolean
ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.boolean
Secret represents a secret that should populate this volume.boolean
StorageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.boolean
VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine +optionalprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
static V1.VolumeSource.Builder
static V1.VolumeSource.Builder
newBuilder
(V1.VolumeSource prototype) protected V1.VolumeSource.Builder
newBuilderForType
(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) static V1.VolumeSource
parseDelimitedFrom
(InputStream input) static V1.VolumeSource
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1.VolumeSource
parseFrom
(byte[] data) static V1.VolumeSource
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1.VolumeSource
parseFrom
(com.google.protobuf.ByteString data) static V1.VolumeSource
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1.VolumeSource
parseFrom
(com.google.protobuf.CodedInputStream input) static V1.VolumeSource
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1.VolumeSource
parseFrom
(InputStream input) static V1.VolumeSource
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1.VolumeSource
parseFrom
(ByteBuffer data) static V1.VolumeSource
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<V1.VolumeSource>
parser()
void
writeTo
(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
Field Details
-
HOSTPATH_FIELD_NUMBER
public static final int HOSTPATH_FIELD_NUMBER- See Also:
-
EMPTYDIR_FIELD_NUMBER
public static final int EMPTYDIR_FIELD_NUMBER- See Also:
-
GCEPERSISTENTDISK_FIELD_NUMBER
public static final int GCEPERSISTENTDISK_FIELD_NUMBER- See Also:
-
AWSELASTICBLOCKSTORE_FIELD_NUMBER
public static final int AWSELASTICBLOCKSTORE_FIELD_NUMBER- See Also:
-
GITREPO_FIELD_NUMBER
public static final int GITREPO_FIELD_NUMBER- See Also:
-
SECRET_FIELD_NUMBER
public static final int SECRET_FIELD_NUMBER- See Also:
-
NFS_FIELD_NUMBER
public static final int NFS_FIELD_NUMBER- See Also:
-
ISCSI_FIELD_NUMBER
public static final int ISCSI_FIELD_NUMBER- See Also:
-
GLUSTERFS_FIELD_NUMBER
public static final int GLUSTERFS_FIELD_NUMBER- See Also:
-
PERSISTENTVOLUMECLAIM_FIELD_NUMBER
public static final int PERSISTENTVOLUMECLAIM_FIELD_NUMBER- See Also:
-
RBD_FIELD_NUMBER
public static final int RBD_FIELD_NUMBER- See Also:
-
FLEXVOLUME_FIELD_NUMBER
public static final int FLEXVOLUME_FIELD_NUMBER- See Also:
-
CINDER_FIELD_NUMBER
public static final int CINDER_FIELD_NUMBER- See Also:
-
CEPHFS_FIELD_NUMBER
public static final int CEPHFS_FIELD_NUMBER- See Also:
-
FLOCKER_FIELD_NUMBER
public static final int FLOCKER_FIELD_NUMBER- See Also:
-
DOWNWARDAPI_FIELD_NUMBER
public static final int DOWNWARDAPI_FIELD_NUMBER- See Also:
-
FC_FIELD_NUMBER
public static final int FC_FIELD_NUMBER- See Also:
-
AZUREFILE_FIELD_NUMBER
public static final int AZUREFILE_FIELD_NUMBER- See Also:
-
CONFIGMAP_FIELD_NUMBER
public static final int CONFIGMAP_FIELD_NUMBER- See Also:
-
VSPHEREVOLUME_FIELD_NUMBER
public static final int VSPHEREVOLUME_FIELD_NUMBER- See Also:
-
QUOBYTE_FIELD_NUMBER
public static final int QUOBYTE_FIELD_NUMBER- See Also:
-
AZUREDISK_FIELD_NUMBER
public static final int AZUREDISK_FIELD_NUMBER- See Also:
-
PHOTONPERSISTENTDISK_FIELD_NUMBER
public static final int PHOTONPERSISTENTDISK_FIELD_NUMBER- See Also:
-
PROJECTED_FIELD_NUMBER
public static final int PROJECTED_FIELD_NUMBER- See Also:
-
PORTWORXVOLUME_FIELD_NUMBER
public static final int PORTWORXVOLUME_FIELD_NUMBER- See Also:
-
SCALEIO_FIELD_NUMBER
public static final int SCALEIO_FIELD_NUMBER- See Also:
-
STORAGEOS_FIELD_NUMBER
public static final int STORAGEOS_FIELD_NUMBER- See Also:
-
CSI_FIELD_NUMBER
public static final int CSI_FIELD_NUMBER- See Also:
-
EPHEMERAL_FIELD_NUMBER
public static final int EPHEMERAL_FIELD_NUMBER- See Also:
-
PARSER
Deprecated.
-
-
Method Details
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
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 interfaceV1.VolumeSourceOrBuilder
-
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 interfaceV1.VolumeSourceOrBuilder
-
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 interfaceV1.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 interfaceV1.VolumeSourceOrBuilder
-
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 interfaceV1.VolumeSourceOrBuilder
-
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 interfaceV1.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 interfaceV1.VolumeSourceOrBuilder
-
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 interfaceV1.VolumeSourceOrBuilder
-
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 interfaceV1.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 interfaceV1.VolumeSourceOrBuilder
-
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 interfaceV1.VolumeSourceOrBuilder
-
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 interfaceV1.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 interfaceV1.VolumeSourceOrBuilder
-
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 interfaceV1.VolumeSourceOrBuilder
-
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 interfaceV1.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 interfaceV1.VolumeSourceOrBuilder
-
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 interfaceV1.VolumeSourceOrBuilder
-
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 interfaceV1.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 interfaceV1.VolumeSourceOrBuilder
-
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 interfaceV1.VolumeSourceOrBuilder
-
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 interfaceV1.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 interfaceV1.VolumeSourceOrBuilder
-
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 interfaceV1.VolumeSourceOrBuilder
-
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 interfaceV1.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 interfaceV1.VolumeSourceOrBuilder
-
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 interfaceV1.VolumeSourceOrBuilder
-
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 interfaceV1.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 interfaceV1.VolumeSourceOrBuilder
-
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 interfaceV1.VolumeSourceOrBuilder
-
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 interfaceV1.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 interfaceV1.VolumeSourceOrBuilder
-
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 interfaceV1.VolumeSourceOrBuilder
-
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 interfaceV1.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 interfaceV1.VolumeSourceOrBuilder
-
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 interfaceV1.VolumeSourceOrBuilder
-
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 interfaceV1.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 interfaceV1.VolumeSourceOrBuilder
-
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 interfaceV1.VolumeSourceOrBuilder
-
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 interfaceV1.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 interfaceV1.VolumeSourceOrBuilder
-
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 interfaceV1.VolumeSourceOrBuilder
-
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 interfaceV1.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 interfaceV1.VolumeSourceOrBuilder
-
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 interfaceV1.VolumeSourceOrBuilder
-
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 interfaceV1.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 interfaceV1.VolumeSourceOrBuilder
-
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 interfaceV1.VolumeSourceOrBuilder
-
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 interfaceV1.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 interfaceV1.VolumeSourceOrBuilder
-
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 interfaceV1.VolumeSourceOrBuilder
-
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 interfaceV1.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 interfaceV1.VolumeSourceOrBuilder
-
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 interfaceV1.VolumeSourceOrBuilder
-
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 interfaceV1.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 interfaceV1.VolumeSourceOrBuilder
-
getConfigMap
ConfigMap represents a configMap that should populate this volume +optional
optional .k8s.io.api.core.v1.ConfigMapVolumeSource configMap = 19;
- Specified by:
getConfigMap
in interfaceV1.VolumeSourceOrBuilder
-
getConfigMapOrBuilder
ConfigMap represents a configMap that should populate this volume +optional
optional .k8s.io.api.core.v1.ConfigMapVolumeSource configMap = 19;
- Specified by:
getConfigMapOrBuilder
in interfaceV1.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 interfaceV1.VolumeSourceOrBuilder
-
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 interfaceV1.VolumeSourceOrBuilder
-
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 interfaceV1.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 interfaceV1.VolumeSourceOrBuilder
-
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 interfaceV1.VolumeSourceOrBuilder
-
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 interfaceV1.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 interfaceV1.VolumeSourceOrBuilder
-
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 interfaceV1.VolumeSourceOrBuilder
-
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 interfaceV1.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 interfaceV1.VolumeSourceOrBuilder
-
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 interfaceV1.VolumeSourceOrBuilder
-
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 interfaceV1.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 interfaceV1.VolumeSourceOrBuilder
-
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 interfaceV1.VolumeSourceOrBuilder
-
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 interfaceV1.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 interfaceV1.VolumeSourceOrBuilder
-
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 interfaceV1.VolumeSourceOrBuilder
-
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 interfaceV1.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 interfaceV1.VolumeSourceOrBuilder
-
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 interfaceV1.VolumeSourceOrBuilder
-
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 interfaceV1.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 interfaceV1.VolumeSourceOrBuilder
-
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 interfaceV1.VolumeSourceOrBuilder
-
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 interfaceV1.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 interfaceV1.VolumeSourceOrBuilder
-
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 interfaceV1.VolumeSourceOrBuilder
-
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 interfaceV1.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 interfaceV1.VolumeSourceOrBuilder
-
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 interfaceV1.VolumeSourceOrBuilder
-
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 interfaceV1.VolumeSourceOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static V1.VolumeSource parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1.VolumeSource parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1.VolumeSource parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1.VolumeSource parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1.VolumeSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1.VolumeSource parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static V1.VolumeSource parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static V1.VolumeSource parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static V1.VolumeSource parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static V1.VolumeSource parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected V1.VolumeSource.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-