Package io.kubernetes.client.proto
Class V1.PersistentVolumeSource
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.kubernetes.client.proto.V1.PersistentVolumeSource
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,V1.PersistentVolumeSourceOrBuilder,Serializable
- Enclosing class:
- V1
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- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classPersistentVolumeSource is similar to VolumeSource but meant for the administrator who creates PVs.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 intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final com.google.protobuf.Parser<V1.PersistentVolumeSource>Deprecated.static final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanAWSElasticBlockStore 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.getCsi()CSI represents storage that is handled by an external CSI driver (Beta feature).CSI represents storage that is handled by an external CSI driver (Beta feature).static V1.PersistentVolumeSourcestatic final com.google.protobuf.Descriptors.DescriptorgetFc()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 and exposed to the pod for its usage.Flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage.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.Glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod.Glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod.HostPath represents a directory on the host.HostPath represents a directory on the host.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.getLocal()Local represents directly-attached storage with node affinity +optionalLocal represents directly-attached storage with node affinity +optionalgetNfs()NFS represents an NFS mount on the host.NFS represents an NFS mount on the host.com.google.protobuf.Parser<V1.PersistentVolumeSource>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 +optionalQuobyte 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.intStorageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod More info: https://examples.k8s.io/volumes/storageos/README.md +optionalStorageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod More info: https://examples.k8s.io/volumes/storageos/README.md +optionalfinal com.google.protobuf.UnknownFieldSetVsphereVolume represents a vSphere volume attached and mounted on kubelets host machine +optionalVsphereVolume represents a vSphere volume attached and mounted on kubelets host machine +optionalbooleanAWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod.booleanAzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.booleanAzureFile represents an Azure File Service mount on the host and bind mount to the pod.booleanCephFS represents a Ceph FS mount on the host that shares a pod's lifetime +optionalbooleanCinder represents a cinder volume attached and mounted on kubelets host machine.booleanhasCsi()CSI represents storage that is handled by an external CSI driver (Beta feature).booleanhasFc()FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.booleanFlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.booleanFlocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage.booleanGCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod.booleanGlusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod.inthashCode()booleanHostPath represents a directory on the host.booleanhasIscsi()ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod.booleanhasLocal()Local represents directly-attached storage with node affinity +optionalbooleanhasNfs()NFS represents an NFS mount on the host.booleanPhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machinebooleanPortworxVolume represents a portworx volume attached and mounted on kubelets host machine +optionalbooleanQuobyte represents a Quobyte mount on the host that shares a pod's lifetime +optionalbooleanhasRbd()RBD represents a Rados Block Device mount on the host that shares a pod's lifetime.booleanScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.booleanStorageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod More info: https://examples.k8s.io/volumes/storageos/README.md +optionalbooleanVsphereVolume represents a vSphere volume attached and mounted on kubelets host machine +optionalprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(V1.PersistentVolumeSource prototype) protected V1.PersistentVolumeSource.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) static V1.PersistentVolumeSourceparseDelimitedFrom(InputStream input) static V1.PersistentVolumeSourceparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1.PersistentVolumeSourceparseFrom(byte[] data) static V1.PersistentVolumeSourceparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1.PersistentVolumeSourceparseFrom(com.google.protobuf.ByteString data) static V1.PersistentVolumeSourceparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1.PersistentVolumeSourceparseFrom(com.google.protobuf.CodedInputStream input) static V1.PersistentVolumeSourceparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1.PersistentVolumeSourceparseFrom(InputStream input) static V1.PersistentVolumeSourceparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1.PersistentVolumeSourceparseFrom(ByteBuffer data) static V1.PersistentVolumeSourceparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<V1.PersistentVolumeSource>parser()voidwriteTo(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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
Field Details
-
GCEPERSISTENTDISK_FIELD_NUMBER
public static final int GCEPERSISTENTDISK_FIELD_NUMBER- See Also:
-
AWSELASTICBLOCKSTORE_FIELD_NUMBER
public static final int AWSELASTICBLOCKSTORE_FIELD_NUMBER- See Also:
-
HOSTPATH_FIELD_NUMBER
public static final int HOSTPATH_FIELD_NUMBER- See Also:
-
GLUSTERFS_FIELD_NUMBER
public static final int GLUSTERFS_FIELD_NUMBER- See Also:
-
NFS_FIELD_NUMBER
public static final int NFS_FIELD_NUMBER- See Also:
-
RBD_FIELD_NUMBER
public static final int RBD_FIELD_NUMBER- See Also:
-
ISCSI_FIELD_NUMBER
public static final int ISCSI_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:
-
FC_FIELD_NUMBER
public static final int FC_FIELD_NUMBER- See Also:
-
FLOCKER_FIELD_NUMBER
public static final int FLOCKER_FIELD_NUMBER- See Also:
-
FLEXVOLUME_FIELD_NUMBER
public static final int FLEXVOLUME_FIELD_NUMBER- See Also:
-
AZUREFILE_FIELD_NUMBER
public static final int AZUREFILE_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:
-
PORTWORXVOLUME_FIELD_NUMBER
public static final int PORTWORXVOLUME_FIELD_NUMBER- See Also:
-
SCALEIO_FIELD_NUMBER
public static final int SCALEIO_FIELD_NUMBER- See Also:
-
LOCAL_FIELD_NUMBER
public static final int LOCAL_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:
-
PARSER
Deprecated.
-
-
Method Details
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasGcePersistentDisk
public boolean hasGcePersistentDisk()GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk +optional
optional .k8s.io.api.core.v1.GCEPersistentDiskVolumeSource gcePersistentDisk = 1;- Specified by:
hasGcePersistentDiskin interfaceV1.PersistentVolumeSourceOrBuilder
-
getGcePersistentDisk
GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk +optional
optional .k8s.io.api.core.v1.GCEPersistentDiskVolumeSource gcePersistentDisk = 1;- Specified by:
getGcePersistentDiskin interfaceV1.PersistentVolumeSourceOrBuilder
-
getGcePersistentDiskOrBuilder
GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk +optional
optional .k8s.io.api.core.v1.GCEPersistentDiskVolumeSource gcePersistentDisk = 1;- Specified by:
getGcePersistentDiskOrBuilderin interfaceV1.PersistentVolumeSourceOrBuilder
-
hasAwsElasticBlockStore
public boolean hasAwsElasticBlockStore()AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore +optional
optional .k8s.io.api.core.v1.AWSElasticBlockStoreVolumeSource awsElasticBlockStore = 2;- Specified by:
hasAwsElasticBlockStorein interfaceV1.PersistentVolumeSourceOrBuilder
-
getAwsElasticBlockStore
AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore +optional
optional .k8s.io.api.core.v1.AWSElasticBlockStoreVolumeSource awsElasticBlockStore = 2;- Specified by:
getAwsElasticBlockStorein interfaceV1.PersistentVolumeSourceOrBuilder
-
getAwsElasticBlockStoreOrBuilder
AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore +optional
optional .k8s.io.api.core.v1.AWSElasticBlockStoreVolumeSource awsElasticBlockStore = 2;- Specified by:
getAwsElasticBlockStoreOrBuilderin interfaceV1.PersistentVolumeSourceOrBuilder
-
hasHostPath
public boolean hasHostPath()HostPath represents a directory on the host. Provisioned by a developer or tester. This is useful for single-node development and testing only! On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath +optional
optional .k8s.io.api.core.v1.HostPathVolumeSource hostPath = 3;- Specified by:
hasHostPathin interfaceV1.PersistentVolumeSourceOrBuilder
-
getHostPath
HostPath represents a directory on the host. Provisioned by a developer or tester. This is useful for single-node development and testing only! On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath +optional
optional .k8s.io.api.core.v1.HostPathVolumeSource hostPath = 3;- Specified by:
getHostPathin interfaceV1.PersistentVolumeSourceOrBuilder
-
getHostPathOrBuilder
HostPath represents a directory on the host. Provisioned by a developer or tester. This is useful for single-node development and testing only! On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath +optional
optional .k8s.io.api.core.v1.HostPathVolumeSource hostPath = 3;- Specified by:
getHostPathOrBuilderin interfaceV1.PersistentVolumeSourceOrBuilder
-
hasGlusterfs
public boolean hasGlusterfs()Glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: https://examples.k8s.io/volumes/glusterfs/README.md +optional
optional .k8s.io.api.core.v1.GlusterfsPersistentVolumeSource glusterfs = 4;- Specified by:
hasGlusterfsin interfaceV1.PersistentVolumeSourceOrBuilder
-
getGlusterfs
Glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: https://examples.k8s.io/volumes/glusterfs/README.md +optional
optional .k8s.io.api.core.v1.GlusterfsPersistentVolumeSource glusterfs = 4;- Specified by:
getGlusterfsin interfaceV1.PersistentVolumeSourceOrBuilder
-
getGlusterfsOrBuilder
Glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: https://examples.k8s.io/volumes/glusterfs/README.md +optional
optional .k8s.io.api.core.v1.GlusterfsPersistentVolumeSource glusterfs = 4;- Specified by:
getGlusterfsOrBuilderin interfaceV1.PersistentVolumeSourceOrBuilder
-
hasNfs
public boolean hasNfs()NFS represents an NFS mount on the host. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs +optional
optional .k8s.io.api.core.v1.NFSVolumeSource nfs = 5;- Specified by:
hasNfsin interfaceV1.PersistentVolumeSourceOrBuilder
-
getNfs
NFS represents an NFS mount on the host. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs +optional
optional .k8s.io.api.core.v1.NFSVolumeSource nfs = 5;- Specified by:
getNfsin interfaceV1.PersistentVolumeSourceOrBuilder
-
getNfsOrBuilder
NFS represents an NFS mount on the host. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs +optional
optional .k8s.io.api.core.v1.NFSVolumeSource nfs = 5;- Specified by:
getNfsOrBuilderin interfaceV1.PersistentVolumeSourceOrBuilder
-
hasRbd
public boolean hasRbd()RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md +optional
optional .k8s.io.api.core.v1.RBDPersistentVolumeSource rbd = 6;- Specified by:
hasRbdin interfaceV1.PersistentVolumeSourceOrBuilder
-
getRbd
RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md +optional
optional .k8s.io.api.core.v1.RBDPersistentVolumeSource rbd = 6;- Specified by:
getRbdin interfaceV1.PersistentVolumeSourceOrBuilder
-
getRbdOrBuilder
RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md +optional
optional .k8s.io.api.core.v1.RBDPersistentVolumeSource rbd = 6;- Specified by:
getRbdOrBuilderin interfaceV1.PersistentVolumeSourceOrBuilder
-
hasIscsi
public boolean hasIscsi()ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. +optional
optional .k8s.io.api.core.v1.ISCSIPersistentVolumeSource iscsi = 7;- Specified by:
hasIscsiin interfaceV1.PersistentVolumeSourceOrBuilder
-
getIscsi
ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. +optional
optional .k8s.io.api.core.v1.ISCSIPersistentVolumeSource iscsi = 7;- Specified by:
getIscsiin interfaceV1.PersistentVolumeSourceOrBuilder
-
getIscsiOrBuilder
ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. +optional
optional .k8s.io.api.core.v1.ISCSIPersistentVolumeSource iscsi = 7;- Specified by:
getIscsiOrBuilderin interfaceV1.PersistentVolumeSourceOrBuilder
-
hasCinder
public boolean hasCinder()Cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md +optional
optional .k8s.io.api.core.v1.CinderPersistentVolumeSource cinder = 8;- Specified by:
hasCinderin interfaceV1.PersistentVolumeSourceOrBuilder
-
getCinder
Cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md +optional
optional .k8s.io.api.core.v1.CinderPersistentVolumeSource cinder = 8;- Specified by:
getCinderin interfaceV1.PersistentVolumeSourceOrBuilder
-
getCinderOrBuilder
Cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md +optional
optional .k8s.io.api.core.v1.CinderPersistentVolumeSource cinder = 8;- Specified by:
getCinderOrBuilderin interfaceV1.PersistentVolumeSourceOrBuilder
-
hasCephfs
public boolean hasCephfs()CephFS represents a Ceph FS mount on the host that shares a pod's lifetime +optional
optional .k8s.io.api.core.v1.CephFSPersistentVolumeSource cephfs = 9;- Specified by:
hasCephfsin interfaceV1.PersistentVolumeSourceOrBuilder
-
getCephfs
CephFS represents a Ceph FS mount on the host that shares a pod's lifetime +optional
optional .k8s.io.api.core.v1.CephFSPersistentVolumeSource cephfs = 9;- Specified by:
getCephfsin interfaceV1.PersistentVolumeSourceOrBuilder
-
getCephfsOrBuilder
CephFS represents a Ceph FS mount on the host that shares a pod's lifetime +optional
optional .k8s.io.api.core.v1.CephFSPersistentVolumeSource cephfs = 9;- Specified by:
getCephfsOrBuilderin interfaceV1.PersistentVolumeSourceOrBuilder
-
hasFc
public boolean hasFc()FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. +optional
optional .k8s.io.api.core.v1.FCVolumeSource fc = 10;- Specified by:
hasFcin interfaceV1.PersistentVolumeSourceOrBuilder
-
getFc
FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. +optional
optional .k8s.io.api.core.v1.FCVolumeSource fc = 10;- Specified by:
getFcin interfaceV1.PersistentVolumeSourceOrBuilder
-
getFcOrBuilder
FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. +optional
optional .k8s.io.api.core.v1.FCVolumeSource fc = 10;- Specified by:
getFcOrBuilderin interfaceV1.PersistentVolumeSourceOrBuilder
-
hasFlocker
public boolean hasFlocker()Flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running +optional
optional .k8s.io.api.core.v1.FlockerVolumeSource flocker = 11;- Specified by:
hasFlockerin interfaceV1.PersistentVolumeSourceOrBuilder
-
getFlocker
Flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running +optional
optional .k8s.io.api.core.v1.FlockerVolumeSource flocker = 11;- Specified by:
getFlockerin interfaceV1.PersistentVolumeSourceOrBuilder
-
getFlockerOrBuilder
Flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running +optional
optional .k8s.io.api.core.v1.FlockerVolumeSource flocker = 11;- Specified by:
getFlockerOrBuilderin interfaceV1.PersistentVolumeSourceOrBuilder
-
hasFlexVolume
public boolean hasFlexVolume()FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. +optional
optional .k8s.io.api.core.v1.FlexPersistentVolumeSource flexVolume = 12;- Specified by:
hasFlexVolumein interfaceV1.PersistentVolumeSourceOrBuilder
-
getFlexVolume
FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. +optional
optional .k8s.io.api.core.v1.FlexPersistentVolumeSource flexVolume = 12;- Specified by:
getFlexVolumein interfaceV1.PersistentVolumeSourceOrBuilder
-
getFlexVolumeOrBuilder
FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. +optional
optional .k8s.io.api.core.v1.FlexPersistentVolumeSource flexVolume = 12;- Specified by:
getFlexVolumeOrBuilderin interfaceV1.PersistentVolumeSourceOrBuilder
-
hasAzureFile
public boolean hasAzureFile()AzureFile represents an Azure File Service mount on the host and bind mount to the pod. +optional
optional .k8s.io.api.core.v1.AzureFilePersistentVolumeSource azureFile = 13;- Specified by:
hasAzureFilein interfaceV1.PersistentVolumeSourceOrBuilder
-
getAzureFile
AzureFile represents an Azure File Service mount on the host and bind mount to the pod. +optional
optional .k8s.io.api.core.v1.AzureFilePersistentVolumeSource azureFile = 13;- Specified by:
getAzureFilein interfaceV1.PersistentVolumeSourceOrBuilder
-
getAzureFileOrBuilder
AzureFile represents an Azure File Service mount on the host and bind mount to the pod. +optional
optional .k8s.io.api.core.v1.AzureFilePersistentVolumeSource azureFile = 13;- Specified by:
getAzureFileOrBuilderin interfaceV1.PersistentVolumeSourceOrBuilder
-
hasVsphereVolume
public boolean hasVsphereVolume()VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine +optional
optional .k8s.io.api.core.v1.VsphereVirtualDiskVolumeSource vsphereVolume = 14;- Specified by:
hasVsphereVolumein interfaceV1.PersistentVolumeSourceOrBuilder
-
getVsphereVolume
VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine +optional
optional .k8s.io.api.core.v1.VsphereVirtualDiskVolumeSource vsphereVolume = 14;- Specified by:
getVsphereVolumein interfaceV1.PersistentVolumeSourceOrBuilder
-
getVsphereVolumeOrBuilder
VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine +optional
optional .k8s.io.api.core.v1.VsphereVirtualDiskVolumeSource vsphereVolume = 14;- Specified by:
getVsphereVolumeOrBuilderin interfaceV1.PersistentVolumeSourceOrBuilder
-
hasQuobyte
public boolean hasQuobyte()Quobyte represents a Quobyte mount on the host that shares a pod's lifetime +optional
optional .k8s.io.api.core.v1.QuobyteVolumeSource quobyte = 15;- Specified by:
hasQuobytein interfaceV1.PersistentVolumeSourceOrBuilder
-
getQuobyte
Quobyte represents a Quobyte mount on the host that shares a pod's lifetime +optional
optional .k8s.io.api.core.v1.QuobyteVolumeSource quobyte = 15;- Specified by:
getQuobytein interfaceV1.PersistentVolumeSourceOrBuilder
-
getQuobyteOrBuilder
Quobyte represents a Quobyte mount on the host that shares a pod's lifetime +optional
optional .k8s.io.api.core.v1.QuobyteVolumeSource quobyte = 15;- Specified by:
getQuobyteOrBuilderin interfaceV1.PersistentVolumeSourceOrBuilder
-
hasAzureDisk
public boolean hasAzureDisk()AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. +optional
optional .k8s.io.api.core.v1.AzureDiskVolumeSource azureDisk = 16;- Specified by:
hasAzureDiskin interfaceV1.PersistentVolumeSourceOrBuilder
-
getAzureDisk
AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. +optional
optional .k8s.io.api.core.v1.AzureDiskVolumeSource azureDisk = 16;- Specified by:
getAzureDiskin interfaceV1.PersistentVolumeSourceOrBuilder
-
getAzureDiskOrBuilder
AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. +optional
optional .k8s.io.api.core.v1.AzureDiskVolumeSource azureDisk = 16;- Specified by:
getAzureDiskOrBuilderin interfaceV1.PersistentVolumeSourceOrBuilder
-
hasPhotonPersistentDisk
public boolean hasPhotonPersistentDisk()PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine
optional .k8s.io.api.core.v1.PhotonPersistentDiskVolumeSource photonPersistentDisk = 17;- Specified by:
hasPhotonPersistentDiskin interfaceV1.PersistentVolumeSourceOrBuilder
-
getPhotonPersistentDisk
PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine
optional .k8s.io.api.core.v1.PhotonPersistentDiskVolumeSource photonPersistentDisk = 17;- Specified by:
getPhotonPersistentDiskin interfaceV1.PersistentVolumeSourceOrBuilder
-
getPhotonPersistentDiskOrBuilder
PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine
optional .k8s.io.api.core.v1.PhotonPersistentDiskVolumeSource photonPersistentDisk = 17;- Specified by:
getPhotonPersistentDiskOrBuilderin interfaceV1.PersistentVolumeSourceOrBuilder
-
hasPortworxVolume
public boolean hasPortworxVolume()PortworxVolume represents a portworx volume attached and mounted on kubelets host machine +optional
optional .k8s.io.api.core.v1.PortworxVolumeSource portworxVolume = 18;- Specified by:
hasPortworxVolumein interfaceV1.PersistentVolumeSourceOrBuilder
-
getPortworxVolume
PortworxVolume represents a portworx volume attached and mounted on kubelets host machine +optional
optional .k8s.io.api.core.v1.PortworxVolumeSource portworxVolume = 18;- Specified by:
getPortworxVolumein interfaceV1.PersistentVolumeSourceOrBuilder
-
getPortworxVolumeOrBuilder
PortworxVolume represents a portworx volume attached and mounted on kubelets host machine +optional
optional .k8s.io.api.core.v1.PortworxVolumeSource portworxVolume = 18;- Specified by:
getPortworxVolumeOrBuilderin interfaceV1.PersistentVolumeSourceOrBuilder
-
hasScaleIO
public boolean hasScaleIO()ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. +optional
optional .k8s.io.api.core.v1.ScaleIOPersistentVolumeSource scaleIO = 19;- Specified by:
hasScaleIOin interfaceV1.PersistentVolumeSourceOrBuilder
-
getScaleIO
ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. +optional
optional .k8s.io.api.core.v1.ScaleIOPersistentVolumeSource scaleIO = 19;- Specified by:
getScaleIOin interfaceV1.PersistentVolumeSourceOrBuilder
-
getScaleIOOrBuilder
ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. +optional
optional .k8s.io.api.core.v1.ScaleIOPersistentVolumeSource scaleIO = 19;- Specified by:
getScaleIOOrBuilderin interfaceV1.PersistentVolumeSourceOrBuilder
-
hasLocal
public boolean hasLocal()Local represents directly-attached storage with node affinity +optional
optional .k8s.io.api.core.v1.LocalVolumeSource local = 20;- Specified by:
hasLocalin interfaceV1.PersistentVolumeSourceOrBuilder
-
getLocal
Local represents directly-attached storage with node affinity +optional
optional .k8s.io.api.core.v1.LocalVolumeSource local = 20;- Specified by:
getLocalin interfaceV1.PersistentVolumeSourceOrBuilder
-
getLocalOrBuilder
Local represents directly-attached storage with node affinity +optional
optional .k8s.io.api.core.v1.LocalVolumeSource local = 20;- Specified by:
getLocalOrBuilderin interfaceV1.PersistentVolumeSourceOrBuilder
-
hasStorageos
public boolean hasStorageos()StorageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod More info: https://examples.k8s.io/volumes/storageos/README.md +optional
optional .k8s.io.api.core.v1.StorageOSPersistentVolumeSource storageos = 21;- Specified by:
hasStorageosin interfaceV1.PersistentVolumeSourceOrBuilder
-
getStorageos
StorageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod More info: https://examples.k8s.io/volumes/storageos/README.md +optional
optional .k8s.io.api.core.v1.StorageOSPersistentVolumeSource storageos = 21;- Specified by:
getStorageosin interfaceV1.PersistentVolumeSourceOrBuilder
-
getStorageosOrBuilder
StorageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod More info: https://examples.k8s.io/volumes/storageos/README.md +optional
optional .k8s.io.api.core.v1.StorageOSPersistentVolumeSource storageos = 21;- Specified by:
getStorageosOrBuilderin interfaceV1.PersistentVolumeSourceOrBuilder
-
hasCsi
public boolean hasCsi()CSI represents storage that is handled by an external CSI driver (Beta feature). +optional
optional .k8s.io.api.core.v1.CSIPersistentVolumeSource csi = 22;- Specified by:
hasCsiin interfaceV1.PersistentVolumeSourceOrBuilder
-
getCsi
CSI represents storage that is handled by an external CSI driver (Beta feature). +optional
optional .k8s.io.api.core.v1.CSIPersistentVolumeSource csi = 22;- Specified by:
getCsiin interfaceV1.PersistentVolumeSourceOrBuilder
-
getCsiOrBuilder
CSI represents storage that is handled by an external CSI driver (Beta feature). +optional
optional .k8s.io.api.core.v1.CSIPersistentVolumeSource csi = 22;- Specified by:
getCsiOrBuilderin interfaceV1.PersistentVolumeSourceOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static V1.PersistentVolumeSource parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1.PersistentVolumeSource parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1.PersistentVolumeSource parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1.PersistentVolumeSource 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.PersistentVolumeSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1.PersistentVolumeSource 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.PersistentVolumeSource parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static V1.PersistentVolumeSource parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static V1.PersistentVolumeSource parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static V1.PersistentVolumeSource parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected V1.PersistentVolumeSource.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-