public static final class V1.PersistentVolumeSource extends com.google.protobuf.GeneratedMessageV3 implements V1.PersistentVolumeSourceOrBuilder
PersistentVolumeSource is similar to VolumeSource but meant for the administrator who creates PVs. Exactly one of its members must be set.Protobuf type
k8s.io.api.core.v1.PersistentVolumeSource| Modifier and Type | Class and Description |
|---|---|
static class |
V1.PersistentVolumeSource.Builder
PersistentVolumeSource is similar to VolumeSource but meant for the
administrator who creates PVs.
|
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| Modifier and Type | Field and Description |
|---|---|
static int |
AWSELASTICBLOCKSTORE_FIELD_NUMBER |
static int |
AZUREDISK_FIELD_NUMBER |
static int |
AZUREFILE_FIELD_NUMBER |
static int |
CEPHFS_FIELD_NUMBER |
static int |
CINDER_FIELD_NUMBER |
static int |
CSI_FIELD_NUMBER |
static int |
FC_FIELD_NUMBER |
static int |
FLEXVOLUME_FIELD_NUMBER |
static int |
FLOCKER_FIELD_NUMBER |
static int |
GCEPERSISTENTDISK_FIELD_NUMBER |
static int |
GLUSTERFS_FIELD_NUMBER |
static int |
HOSTPATH_FIELD_NUMBER |
static int |
ISCSI_FIELD_NUMBER |
static int |
LOCAL_FIELD_NUMBER |
static int |
NFS_FIELD_NUMBER |
static com.google.protobuf.Parser<V1.PersistentVolumeSource> |
PARSER
Deprecated.
|
static int |
PHOTONPERSISTENTDISK_FIELD_NUMBER |
static int |
PORTWORXVOLUME_FIELD_NUMBER |
static int |
QUOBYTE_FIELD_NUMBER |
static int |
RBD_FIELD_NUMBER |
static int |
SCALEIO_FIELD_NUMBER |
static int |
STORAGEOS_FIELD_NUMBER |
static int |
VSPHEREVOLUME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
V1.AWSElasticBlockStoreVolumeSource |
getAwsElasticBlockStore()
AWSElasticBlockStore represents an AWS Disk resource that is attached to a
kubelet's host machine and then exposed to the pod.
|
V1.AWSElasticBlockStoreVolumeSourceOrBuilder |
getAwsElasticBlockStoreOrBuilder()
AWSElasticBlockStore represents an AWS Disk resource that is attached to a
kubelet's host machine and then exposed to the pod.
|
V1.AzureDiskVolumeSource |
getAzureDisk()
AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
|
V1.AzureDiskVolumeSourceOrBuilder |
getAzureDiskOrBuilder()
AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
|
V1.AzureFilePersistentVolumeSource |
getAzureFile()
AzureFile represents an Azure File Service mount on the host and bind mount to the pod.
|
V1.AzureFilePersistentVolumeSourceOrBuilder |
getAzureFileOrBuilder()
AzureFile represents an Azure File Service mount on the host and bind mount to the pod.
|
V1.CephFSPersistentVolumeSource |
getCephfs()
CephFS represents a Ceph FS mount on the host that shares a pod's lifetime
+optional
|
V1.CephFSPersistentVolumeSourceOrBuilder |
getCephfsOrBuilder()
CephFS represents a Ceph FS mount on the host that shares a pod's lifetime
+optional
|
V1.CinderPersistentVolumeSource |
getCinder()
Cinder represents a cinder volume attached and mounted on kubelets host machine
More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
+optional
|
V1.CinderPersistentVolumeSourceOrBuilder |
getCinderOrBuilder()
Cinder represents a cinder volume attached and mounted on kubelets host machine
More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
+optional
|
V1.CSIPersistentVolumeSource |
getCsi()
CSI represents storage that handled by an external CSI driver (Beta feature).
|
V1.CSIPersistentVolumeSourceOrBuilder |
getCsiOrBuilder()
CSI represents storage that handled by an external CSI driver (Beta feature).
|
static V1.PersistentVolumeSource |
getDefaultInstance() |
V1.PersistentVolumeSource |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
V1.FCVolumeSource |
getFc()
FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.
|
V1.FCVolumeSourceOrBuilder |
getFcOrBuilder()
FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.
|
V1.FlexPersistentVolumeSource |
getFlexVolume()
FlexVolume represents a generic volume resource that is
provisioned/attached using an exec based plugin.
|
V1.FlexPersistentVolumeSourceOrBuilder |
getFlexVolumeOrBuilder()
FlexVolume represents a generic volume resource that is
provisioned/attached using an exec based plugin.
|
V1.FlockerVolumeSource |
getFlocker()
Flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage.
|
V1.FlockerVolumeSourceOrBuilder |
getFlockerOrBuilder()
Flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage.
|
V1.GCEPersistentDiskVolumeSource |
getGcePersistentDisk()
GCEPersistentDisk represents a GCE Disk resource that is attached to a
kubelet's host machine and then exposed to the pod.
|
V1.GCEPersistentDiskVolumeSourceOrBuilder |
getGcePersistentDiskOrBuilder()
GCEPersistentDisk represents a GCE Disk resource that is attached to a
kubelet's host machine and then exposed to the pod.
|
V1.GlusterfsPersistentVolumeSource |
getGlusterfs()
Glusterfs represents a Glusterfs volume that is attached to a host and
exposed to the pod.
|
V1.GlusterfsPersistentVolumeSourceOrBuilder |
getGlusterfsOrBuilder()
Glusterfs represents a Glusterfs volume that is attached to a host and
exposed to the pod.
|
V1.HostPathVolumeSource |
getHostPath()
HostPath represents a directory on the host.
|
V1.HostPathVolumeSourceOrBuilder |
getHostPathOrBuilder()
HostPath represents a directory on the host.
|
V1.ISCSIPersistentVolumeSource |
getIscsi()
ISCSI represents an ISCSI Disk resource that is attached to a
kubelet's host machine and then exposed to the pod.
|
V1.ISCSIPersistentVolumeSourceOrBuilder |
getIscsiOrBuilder()
ISCSI represents an ISCSI Disk resource that is attached to a
kubelet's host machine and then exposed to the pod.
|
V1.LocalVolumeSource |
getLocal()
Local represents directly-attached storage with node affinity
+optional
|
V1.LocalVolumeSourceOrBuilder |
getLocalOrBuilder()
Local represents directly-attached storage with node affinity
+optional
|
V1.NFSVolumeSource |
getNfs()
NFS represents an NFS mount on the host.
|
V1.NFSVolumeSourceOrBuilder |
getNfsOrBuilder()
NFS represents an NFS mount on the host.
|
com.google.protobuf.Parser<V1.PersistentVolumeSource> |
getParserForType() |
V1.PhotonPersistentDiskVolumeSource |
getPhotonPersistentDisk()
PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine
|
V1.PhotonPersistentDiskVolumeSourceOrBuilder |
getPhotonPersistentDiskOrBuilder()
PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine
|
V1.PortworxVolumeSource |
getPortworxVolume()
PortworxVolume represents a portworx volume attached and mounted on kubelets host machine
+optional
|
V1.PortworxVolumeSourceOrBuilder |
getPortworxVolumeOrBuilder()
PortworxVolume represents a portworx volume attached and mounted on kubelets host machine
+optional
|
V1.QuobyteVolumeSource |
getQuobyte()
Quobyte represents a Quobyte mount on the host that shares a pod's lifetime
+optional
|
V1.QuobyteVolumeSourceOrBuilder |
getQuobyteOrBuilder()
Quobyte represents a Quobyte mount on the host that shares a pod's lifetime
+optional
|
V1.RBDPersistentVolumeSource |
getRbd()
RBD represents a Rados Block Device mount on the host that shares a pod's lifetime.
|
V1.RBDPersistentVolumeSourceOrBuilder |
getRbdOrBuilder()
RBD represents a Rados Block Device mount on the host that shares a pod's lifetime.
|
V1.ScaleIOPersistentVolumeSource |
getScaleIO()
ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.
|
V1.ScaleIOPersistentVolumeSourceOrBuilder |
getScaleIOOrBuilder()
ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.
|
int |
getSerializedSize() |
V1.StorageOSPersistentVolumeSource |
getStorageos()
StorageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod
More info: https://releases.k8s.io/HEAD/examples/volumes/storageos/README.md
+optional
|
V1.StorageOSPersistentVolumeSourceOrBuilder |
getStorageosOrBuilder()
StorageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod
More info: https://releases.k8s.io/HEAD/examples/volumes/storageos/README.md
+optional
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
V1.VsphereVirtualDiskVolumeSource |
getVsphereVolume()
VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine
+optional
|
V1.VsphereVirtualDiskVolumeSourceOrBuilder |
getVsphereVolumeOrBuilder()
VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine
+optional
|
boolean |
hasAwsElasticBlockStore()
AWSElasticBlockStore represents an AWS Disk resource that is attached to a
kubelet's host machine and then exposed to the pod.
|
boolean |
hasAzureDisk()
AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
|
boolean |
hasAzureFile()
AzureFile represents an Azure File Service mount on the host and bind mount to the pod.
|
boolean |
hasCephfs()
CephFS represents a Ceph FS mount on the host that shares a pod's lifetime
+optional
|
boolean |
hasCinder()
Cinder represents a cinder volume attached and mounted on kubelets host machine
More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
+optional
|
boolean |
hasCsi()
CSI represents storage that handled by an external CSI driver (Beta feature).
|
boolean |
hasFc()
FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.
|
boolean |
hasFlexVolume()
FlexVolume represents a generic volume resource that is
provisioned/attached using an exec based plugin.
|
boolean |
hasFlocker()
Flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage.
|
boolean |
hasGcePersistentDisk()
GCEPersistentDisk represents a GCE Disk resource that is attached to a
kubelet's host machine and then exposed to the pod.
|
boolean |
hasGlusterfs()
Glusterfs represents a Glusterfs volume that is attached to a host and
exposed to the pod.
|
int |
hashCode() |
boolean |
hasHostPath()
HostPath represents a directory on the host.
|
boolean |
hasIscsi()
ISCSI represents an ISCSI Disk resource that is attached to a
kubelet's host machine and then exposed to the pod.
|
boolean |
hasLocal()
Local represents directly-attached storage with node affinity
+optional
|
boolean |
hasNfs()
NFS represents an NFS mount on the host.
|
boolean |
hasPhotonPersistentDisk()
PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine
|
boolean |
hasPortworxVolume()
PortworxVolume represents a portworx volume attached and mounted on kubelets host machine
+optional
|
boolean |
hasQuobyte()
Quobyte represents a Quobyte mount on the host that shares a pod's lifetime
+optional
|
boolean |
hasRbd()
RBD represents a Rados Block Device mount on the host that shares a pod's lifetime.
|
boolean |
hasScaleIO()
ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.
|
boolean |
hasStorageos()
StorageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod
More info: https://releases.k8s.io/HEAD/examples/volumes/storageos/README.md
+optional
|
boolean |
hasVsphereVolume()
VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine
+optional
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static V1.PersistentVolumeSource.Builder |
newBuilder() |
static V1.PersistentVolumeSource.Builder |
newBuilder(V1.PersistentVolumeSource prototype) |
V1.PersistentVolumeSource.Builder |
newBuilderForType() |
protected V1.PersistentVolumeSource.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static V1.PersistentVolumeSource |
parseDelimitedFrom(InputStream input) |
static V1.PersistentVolumeSource |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.PersistentVolumeSource |
parseFrom(byte[] data) |
static V1.PersistentVolumeSource |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.PersistentVolumeSource |
parseFrom(ByteBuffer data) |
static V1.PersistentVolumeSource |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.PersistentVolumeSource |
parseFrom(com.google.protobuf.ByteString data) |
static V1.PersistentVolumeSource |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.PersistentVolumeSource |
parseFrom(com.google.protobuf.CodedInputStream input) |
static V1.PersistentVolumeSource |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.PersistentVolumeSource |
parseFrom(InputStream input) |
static V1.PersistentVolumeSource |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<V1.PersistentVolumeSource> |
parser() |
V1.PersistentVolumeSource.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int GCEPERSISTENTDISK_FIELD_NUMBER
public static final int AWSELASTICBLOCKSTORE_FIELD_NUMBER
public static final int HOSTPATH_FIELD_NUMBER
public static final int GLUSTERFS_FIELD_NUMBER
public static final int NFS_FIELD_NUMBER
public static final int RBD_FIELD_NUMBER
public static final int ISCSI_FIELD_NUMBER
public static final int CINDER_FIELD_NUMBER
public static final int CEPHFS_FIELD_NUMBER
public static final int FC_FIELD_NUMBER
public static final int FLOCKER_FIELD_NUMBER
public static final int FLEXVOLUME_FIELD_NUMBER
public static final int AZUREFILE_FIELD_NUMBER
public static final int VSPHEREVOLUME_FIELD_NUMBER
public static final int QUOBYTE_FIELD_NUMBER
public static final int AZUREDISK_FIELD_NUMBER
public static final int PHOTONPERSISTENTDISK_FIELD_NUMBER
public static final int PORTWORXVOLUME_FIELD_NUMBER
public static final int SCALEIO_FIELD_NUMBER
public static final int LOCAL_FIELD_NUMBER
public static final int STORAGEOS_FIELD_NUMBER
public static final int CSI_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<V1.PersistentVolumeSource> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasGcePersistentDisk()
GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk +optional
optional .k8s.io.api.core.v1.GCEPersistentDiskVolumeSource gcePersistentDisk = 1;
hasGcePersistentDisk in interface V1.PersistentVolumeSourceOrBuilderpublic V1.GCEPersistentDiskVolumeSource getGcePersistentDisk()
GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk +optional
optional .k8s.io.api.core.v1.GCEPersistentDiskVolumeSource gcePersistentDisk = 1;
getGcePersistentDisk in interface V1.PersistentVolumeSourceOrBuilderpublic V1.GCEPersistentDiskVolumeSourceOrBuilder getGcePersistentDiskOrBuilder()
GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk +optional
optional .k8s.io.api.core.v1.GCEPersistentDiskVolumeSource gcePersistentDisk = 1;
getGcePersistentDiskOrBuilder in interface V1.PersistentVolumeSourceOrBuilderpublic boolean hasAwsElasticBlockStore()
AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore +optional
optional .k8s.io.api.core.v1.AWSElasticBlockStoreVolumeSource awsElasticBlockStore = 2;
hasAwsElasticBlockStore in interface V1.PersistentVolumeSourceOrBuilderpublic V1.AWSElasticBlockStoreVolumeSource getAwsElasticBlockStore()
AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore +optional
optional .k8s.io.api.core.v1.AWSElasticBlockStoreVolumeSource awsElasticBlockStore = 2;
getAwsElasticBlockStore in interface V1.PersistentVolumeSourceOrBuilderpublic V1.AWSElasticBlockStoreVolumeSourceOrBuilder getAwsElasticBlockStoreOrBuilder()
AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore +optional
optional .k8s.io.api.core.v1.AWSElasticBlockStoreVolumeSource awsElasticBlockStore = 2;
getAwsElasticBlockStoreOrBuilder in interface V1.PersistentVolumeSourceOrBuilderpublic boolean hasHostPath()
HostPath represents a directory on the host. Provisioned by a developer or tester. This is useful for single-node development and testing only! On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath +optional
optional .k8s.io.api.core.v1.HostPathVolumeSource hostPath = 3;hasHostPath in interface V1.PersistentVolumeSourceOrBuilderpublic V1.HostPathVolumeSource getHostPath()
HostPath represents a directory on the host. Provisioned by a developer or tester. This is useful for single-node development and testing only! On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath +optional
optional .k8s.io.api.core.v1.HostPathVolumeSource hostPath = 3;getHostPath in interface V1.PersistentVolumeSourceOrBuilderpublic V1.HostPathVolumeSourceOrBuilder getHostPathOrBuilder()
HostPath represents a directory on the host. Provisioned by a developer or tester. This is useful for single-node development and testing only! On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath +optional
optional .k8s.io.api.core.v1.HostPathVolumeSource hostPath = 3;getHostPathOrBuilder in interface V1.PersistentVolumeSourceOrBuilderpublic boolean hasGlusterfs()
Glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md +optional
optional .k8s.io.api.core.v1.GlusterfsPersistentVolumeSource glusterfs = 4;hasGlusterfs in interface V1.PersistentVolumeSourceOrBuilderpublic V1.GlusterfsPersistentVolumeSource getGlusterfs()
Glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md +optional
optional .k8s.io.api.core.v1.GlusterfsPersistentVolumeSource glusterfs = 4;getGlusterfs in interface V1.PersistentVolumeSourceOrBuilderpublic V1.GlusterfsPersistentVolumeSourceOrBuilder getGlusterfsOrBuilder()
Glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md +optional
optional .k8s.io.api.core.v1.GlusterfsPersistentVolumeSource glusterfs = 4;getGlusterfsOrBuilder in interface V1.PersistentVolumeSourceOrBuilderpublic boolean hasNfs()
NFS represents an NFS mount on the host. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs +optional
optional .k8s.io.api.core.v1.NFSVolumeSource nfs = 5;hasNfs in interface V1.PersistentVolumeSourceOrBuilderpublic V1.NFSVolumeSource getNfs()
NFS represents an NFS mount on the host. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs +optional
optional .k8s.io.api.core.v1.NFSVolumeSource nfs = 5;getNfs in interface V1.PersistentVolumeSourceOrBuilderpublic V1.NFSVolumeSourceOrBuilder getNfsOrBuilder()
NFS represents an NFS mount on the host. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs +optional
optional .k8s.io.api.core.v1.NFSVolumeSource nfs = 5;getNfsOrBuilder in interface V1.PersistentVolumeSourceOrBuilderpublic boolean hasRbd()
RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md +optional
optional .k8s.io.api.core.v1.RBDPersistentVolumeSource rbd = 6;hasRbd in interface V1.PersistentVolumeSourceOrBuilderpublic V1.RBDPersistentVolumeSource getRbd()
RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md +optional
optional .k8s.io.api.core.v1.RBDPersistentVolumeSource rbd = 6;getRbd in interface V1.PersistentVolumeSourceOrBuilderpublic V1.RBDPersistentVolumeSourceOrBuilder getRbdOrBuilder()
RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md +optional
optional .k8s.io.api.core.v1.RBDPersistentVolumeSource rbd = 6;getRbdOrBuilder in interface V1.PersistentVolumeSourceOrBuilderpublic boolean hasIscsi()
ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. +optional
optional .k8s.io.api.core.v1.ISCSIPersistentVolumeSource iscsi = 7;hasIscsi in interface V1.PersistentVolumeSourceOrBuilderpublic V1.ISCSIPersistentVolumeSource getIscsi()
ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. +optional
optional .k8s.io.api.core.v1.ISCSIPersistentVolumeSource iscsi = 7;getIscsi in interface V1.PersistentVolumeSourceOrBuilderpublic V1.ISCSIPersistentVolumeSourceOrBuilder getIscsiOrBuilder()
ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. +optional
optional .k8s.io.api.core.v1.ISCSIPersistentVolumeSource iscsi = 7;getIscsiOrBuilder in interface V1.PersistentVolumeSourceOrBuilderpublic boolean hasCinder()
Cinder represents a cinder volume attached and mounted on kubelets host machine More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md +optional
optional .k8s.io.api.core.v1.CinderPersistentVolumeSource cinder = 8;hasCinder in interface V1.PersistentVolumeSourceOrBuilderpublic V1.CinderPersistentVolumeSource getCinder()
Cinder represents a cinder volume attached and mounted on kubelets host machine More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md +optional
optional .k8s.io.api.core.v1.CinderPersistentVolumeSource cinder = 8;getCinder in interface V1.PersistentVolumeSourceOrBuilderpublic V1.CinderPersistentVolumeSourceOrBuilder getCinderOrBuilder()
Cinder represents a cinder volume attached and mounted on kubelets host machine More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md +optional
optional .k8s.io.api.core.v1.CinderPersistentVolumeSource cinder = 8;getCinderOrBuilder in interface V1.PersistentVolumeSourceOrBuilderpublic boolean hasCephfs()
CephFS represents a Ceph FS mount on the host that shares a pod's lifetime +optional
optional .k8s.io.api.core.v1.CephFSPersistentVolumeSource cephfs = 9;hasCephfs in interface V1.PersistentVolumeSourceOrBuilderpublic V1.CephFSPersistentVolumeSource getCephfs()
CephFS represents a Ceph FS mount on the host that shares a pod's lifetime +optional
optional .k8s.io.api.core.v1.CephFSPersistentVolumeSource cephfs = 9;getCephfs in interface V1.PersistentVolumeSourceOrBuilderpublic V1.CephFSPersistentVolumeSourceOrBuilder getCephfsOrBuilder()
CephFS represents a Ceph FS mount on the host that shares a pod's lifetime +optional
optional .k8s.io.api.core.v1.CephFSPersistentVolumeSource cephfs = 9;getCephfsOrBuilder in interface V1.PersistentVolumeSourceOrBuilderpublic boolean hasFc()
FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. +optional
optional .k8s.io.api.core.v1.FCVolumeSource fc = 10;hasFc in interface V1.PersistentVolumeSourceOrBuilderpublic V1.FCVolumeSource getFc()
FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. +optional
optional .k8s.io.api.core.v1.FCVolumeSource fc = 10;getFc in interface V1.PersistentVolumeSourceOrBuilderpublic V1.FCVolumeSourceOrBuilder getFcOrBuilder()
FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. +optional
optional .k8s.io.api.core.v1.FCVolumeSource fc = 10;getFcOrBuilder in interface V1.PersistentVolumeSourceOrBuilderpublic boolean hasFlocker()
Flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running +optional
optional .k8s.io.api.core.v1.FlockerVolumeSource flocker = 11;hasFlocker in interface V1.PersistentVolumeSourceOrBuilderpublic V1.FlockerVolumeSource getFlocker()
Flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running +optional
optional .k8s.io.api.core.v1.FlockerVolumeSource flocker = 11;getFlocker in interface V1.PersistentVolumeSourceOrBuilderpublic V1.FlockerVolumeSourceOrBuilder getFlockerOrBuilder()
Flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running +optional
optional .k8s.io.api.core.v1.FlockerVolumeSource flocker = 11;getFlockerOrBuilder in interface V1.PersistentVolumeSourceOrBuilderpublic boolean hasFlexVolume()
FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. +optional
optional .k8s.io.api.core.v1.FlexPersistentVolumeSource flexVolume = 12;hasFlexVolume in interface V1.PersistentVolumeSourceOrBuilderpublic V1.FlexPersistentVolumeSource getFlexVolume()
FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. +optional
optional .k8s.io.api.core.v1.FlexPersistentVolumeSource flexVolume = 12;getFlexVolume in interface V1.PersistentVolumeSourceOrBuilderpublic V1.FlexPersistentVolumeSourceOrBuilder getFlexVolumeOrBuilder()
FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. +optional
optional .k8s.io.api.core.v1.FlexPersistentVolumeSource flexVolume = 12;getFlexVolumeOrBuilder in interface V1.PersistentVolumeSourceOrBuilderpublic boolean hasAzureFile()
AzureFile represents an Azure File Service mount on the host and bind mount to the pod. +optional
optional .k8s.io.api.core.v1.AzureFilePersistentVolumeSource azureFile = 13;hasAzureFile in interface V1.PersistentVolumeSourceOrBuilderpublic V1.AzureFilePersistentVolumeSource getAzureFile()
AzureFile represents an Azure File Service mount on the host and bind mount to the pod. +optional
optional .k8s.io.api.core.v1.AzureFilePersistentVolumeSource azureFile = 13;getAzureFile in interface V1.PersistentVolumeSourceOrBuilderpublic V1.AzureFilePersistentVolumeSourceOrBuilder getAzureFileOrBuilder()
AzureFile represents an Azure File Service mount on the host and bind mount to the pod. +optional
optional .k8s.io.api.core.v1.AzureFilePersistentVolumeSource azureFile = 13;getAzureFileOrBuilder in interface V1.PersistentVolumeSourceOrBuilderpublic boolean hasVsphereVolume()
VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine +optional
optional .k8s.io.api.core.v1.VsphereVirtualDiskVolumeSource vsphereVolume = 14;
hasVsphereVolume in interface V1.PersistentVolumeSourceOrBuilderpublic V1.VsphereVirtualDiskVolumeSource getVsphereVolume()
VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine +optional
optional .k8s.io.api.core.v1.VsphereVirtualDiskVolumeSource vsphereVolume = 14;
getVsphereVolume in interface V1.PersistentVolumeSourceOrBuilderpublic V1.VsphereVirtualDiskVolumeSourceOrBuilder getVsphereVolumeOrBuilder()
VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine +optional
optional .k8s.io.api.core.v1.VsphereVirtualDiskVolumeSource vsphereVolume = 14;
getVsphereVolumeOrBuilder in interface V1.PersistentVolumeSourceOrBuilderpublic boolean hasQuobyte()
Quobyte represents a Quobyte mount on the host that shares a pod's lifetime +optional
optional .k8s.io.api.core.v1.QuobyteVolumeSource quobyte = 15;hasQuobyte in interface V1.PersistentVolumeSourceOrBuilderpublic V1.QuobyteVolumeSource getQuobyte()
Quobyte represents a Quobyte mount on the host that shares a pod's lifetime +optional
optional .k8s.io.api.core.v1.QuobyteVolumeSource quobyte = 15;getQuobyte in interface V1.PersistentVolumeSourceOrBuilderpublic V1.QuobyteVolumeSourceOrBuilder getQuobyteOrBuilder()
Quobyte represents a Quobyte mount on the host that shares a pod's lifetime +optional
optional .k8s.io.api.core.v1.QuobyteVolumeSource quobyte = 15;getQuobyteOrBuilder in interface V1.PersistentVolumeSourceOrBuilderpublic boolean hasAzureDisk()
AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. +optional
optional .k8s.io.api.core.v1.AzureDiskVolumeSource azureDisk = 16;hasAzureDisk in interface V1.PersistentVolumeSourceOrBuilderpublic V1.AzureDiskVolumeSource getAzureDisk()
AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. +optional
optional .k8s.io.api.core.v1.AzureDiskVolumeSource azureDisk = 16;getAzureDisk in interface V1.PersistentVolumeSourceOrBuilderpublic V1.AzureDiskVolumeSourceOrBuilder getAzureDiskOrBuilder()
AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. +optional
optional .k8s.io.api.core.v1.AzureDiskVolumeSource azureDisk = 16;getAzureDiskOrBuilder in interface V1.PersistentVolumeSourceOrBuilderpublic boolean hasPhotonPersistentDisk()
PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine
optional .k8s.io.api.core.v1.PhotonPersistentDiskVolumeSource photonPersistentDisk = 17;
hasPhotonPersistentDisk in interface V1.PersistentVolumeSourceOrBuilderpublic V1.PhotonPersistentDiskVolumeSource getPhotonPersistentDisk()
PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine
optional .k8s.io.api.core.v1.PhotonPersistentDiskVolumeSource photonPersistentDisk = 17;
getPhotonPersistentDisk in interface V1.PersistentVolumeSourceOrBuilderpublic V1.PhotonPersistentDiskVolumeSourceOrBuilder getPhotonPersistentDiskOrBuilder()
PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine
optional .k8s.io.api.core.v1.PhotonPersistentDiskVolumeSource photonPersistentDisk = 17;
getPhotonPersistentDiskOrBuilder in interface V1.PersistentVolumeSourceOrBuilderpublic boolean hasPortworxVolume()
PortworxVolume represents a portworx volume attached and mounted on kubelets host machine +optional
optional .k8s.io.api.core.v1.PortworxVolumeSource portworxVolume = 18;hasPortworxVolume in interface V1.PersistentVolumeSourceOrBuilderpublic V1.PortworxVolumeSource getPortworxVolume()
PortworxVolume represents a portworx volume attached and mounted on kubelets host machine +optional
optional .k8s.io.api.core.v1.PortworxVolumeSource portworxVolume = 18;getPortworxVolume in interface V1.PersistentVolumeSourceOrBuilderpublic V1.PortworxVolumeSourceOrBuilder getPortworxVolumeOrBuilder()
PortworxVolume represents a portworx volume attached and mounted on kubelets host machine +optional
optional .k8s.io.api.core.v1.PortworxVolumeSource portworxVolume = 18;getPortworxVolumeOrBuilder in interface V1.PersistentVolumeSourceOrBuilderpublic boolean hasScaleIO()
ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. +optional
optional .k8s.io.api.core.v1.ScaleIOPersistentVolumeSource scaleIO = 19;hasScaleIO in interface V1.PersistentVolumeSourceOrBuilderpublic V1.ScaleIOPersistentVolumeSource getScaleIO()
ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. +optional
optional .k8s.io.api.core.v1.ScaleIOPersistentVolumeSource scaleIO = 19;getScaleIO in interface V1.PersistentVolumeSourceOrBuilderpublic V1.ScaleIOPersistentVolumeSourceOrBuilder getScaleIOOrBuilder()
ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. +optional
optional .k8s.io.api.core.v1.ScaleIOPersistentVolumeSource scaleIO = 19;getScaleIOOrBuilder in interface V1.PersistentVolumeSourceOrBuilderpublic boolean hasLocal()
Local represents directly-attached storage with node affinity +optional
optional .k8s.io.api.core.v1.LocalVolumeSource local = 20;hasLocal in interface V1.PersistentVolumeSourceOrBuilderpublic V1.LocalVolumeSource getLocal()
Local represents directly-attached storage with node affinity +optional
optional .k8s.io.api.core.v1.LocalVolumeSource local = 20;getLocal in interface V1.PersistentVolumeSourceOrBuilderpublic V1.LocalVolumeSourceOrBuilder getLocalOrBuilder()
Local represents directly-attached storage with node affinity +optional
optional .k8s.io.api.core.v1.LocalVolumeSource local = 20;getLocalOrBuilder in interface V1.PersistentVolumeSourceOrBuilderpublic boolean hasStorageos()
StorageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod More info: https://releases.k8s.io/HEAD/examples/volumes/storageos/README.md +optional
optional .k8s.io.api.core.v1.StorageOSPersistentVolumeSource storageos = 21;hasStorageos in interface V1.PersistentVolumeSourceOrBuilderpublic V1.StorageOSPersistentVolumeSource getStorageos()
StorageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod More info: https://releases.k8s.io/HEAD/examples/volumes/storageos/README.md +optional
optional .k8s.io.api.core.v1.StorageOSPersistentVolumeSource storageos = 21;getStorageos in interface V1.PersistentVolumeSourceOrBuilderpublic V1.StorageOSPersistentVolumeSourceOrBuilder getStorageosOrBuilder()
StorageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod More info: https://releases.k8s.io/HEAD/examples/volumes/storageos/README.md +optional
optional .k8s.io.api.core.v1.StorageOSPersistentVolumeSource storageos = 21;getStorageosOrBuilder in interface V1.PersistentVolumeSourceOrBuilderpublic boolean hasCsi()
CSI represents storage that handled by an external CSI driver (Beta feature). +optional
optional .k8s.io.api.core.v1.CSIPersistentVolumeSource csi = 22;hasCsi in interface V1.PersistentVolumeSourceOrBuilderpublic V1.CSIPersistentVolumeSource getCsi()
CSI represents storage that handled by an external CSI driver (Beta feature). +optional
optional .k8s.io.api.core.v1.CSIPersistentVolumeSource csi = 22;getCsi in interface V1.PersistentVolumeSourceOrBuilderpublic V1.CSIPersistentVolumeSourceOrBuilder getCsiOrBuilder()
CSI represents storage that handled by an external CSI driver (Beta feature). +optional
optional .k8s.io.api.core.v1.CSIPersistentVolumeSource csi = 22;getCsiOrBuilder in interface V1.PersistentVolumeSourceOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static V1.PersistentVolumeSource parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.PersistentVolumeSource parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.PersistentVolumeSource parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.PersistentVolumeSource parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.PersistentVolumeSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.PersistentVolumeSource parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.PersistentVolumeSource parseFrom(InputStream input) throws IOException
IOExceptionpublic static V1.PersistentVolumeSource parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1.PersistentVolumeSource parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static V1.PersistentVolumeSource parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1.PersistentVolumeSource parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static V1.PersistentVolumeSource parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic V1.PersistentVolumeSource.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static V1.PersistentVolumeSource.Builder newBuilder()
public static V1.PersistentVolumeSource.Builder newBuilder(V1.PersistentVolumeSource prototype)
public V1.PersistentVolumeSource.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected V1.PersistentVolumeSource.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static V1.PersistentVolumeSource getDefaultInstance()
public static com.google.protobuf.Parser<V1.PersistentVolumeSource> parser()
public com.google.protobuf.Parser<V1.PersistentVolumeSource> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public V1.PersistentVolumeSource getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2020. All rights reserved.