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 class
PersistentVolumeSource 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 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.PersistentVolumeSource>
Deprecated.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.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.PersistentVolumeSource
static final com.google.protobuf.Descriptors.Descriptor
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 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.int
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 +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.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
hasCsi()
CSI represents storage that is 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
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 and exposed to the pod for its usage.boolean
GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod.boolean
Glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod.int
hashCode()
boolean
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 +optionalboolean
hasNfs()
NFS represents an NFS mount on the host.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
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
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 +optionalboolean
VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine +optionalprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
newBuilder
(V1.PersistentVolumeSource prototype) 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
(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 V1.PersistentVolumeSource
parseFrom
(ByteBuffer data) static V1.PersistentVolumeSource
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<V1.PersistentVolumeSource>
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
-
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:
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
-
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:
hasGcePersistentDisk
in 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:
getGcePersistentDisk
in 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:
getGcePersistentDiskOrBuilder
in 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:
hasAwsElasticBlockStore
in 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:
getAwsElasticBlockStore
in 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:
getAwsElasticBlockStoreOrBuilder
in 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:
hasHostPath
in 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:
getHostPath
in 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:
getHostPathOrBuilder
in 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:
hasGlusterfs
in 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:
getGlusterfs
in 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:
getGlusterfsOrBuilder
in 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:
hasNfs
in 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:
getNfs
in 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:
getNfsOrBuilder
in 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:
hasRbd
in 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:
getRbd
in 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:
getRbdOrBuilder
in 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:
hasIscsi
in 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:
getIscsi
in 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:
getIscsiOrBuilder
in 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:
hasCinder
in 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:
getCinder
in 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:
getCinderOrBuilder
in 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:
hasCephfs
in 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:
getCephfs
in 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:
getCephfsOrBuilder
in 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:
hasFc
in 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:
getFc
in 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:
getFcOrBuilder
in 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:
hasFlocker
in 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:
getFlocker
in 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:
getFlockerOrBuilder
in 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:
hasFlexVolume
in 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:
getFlexVolume
in 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:
getFlexVolumeOrBuilder
in 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:
hasAzureFile
in 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:
getAzureFile
in 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:
getAzureFileOrBuilder
in 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:
hasVsphereVolume
in 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:
getVsphereVolume
in 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:
getVsphereVolumeOrBuilder
in 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:
hasQuobyte
in 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:
getQuobyte
in 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:
getQuobyteOrBuilder
in 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:
hasAzureDisk
in 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:
getAzureDisk
in 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:
getAzureDiskOrBuilder
in 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:
hasPhotonPersistentDisk
in 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:
getPhotonPersistentDisk
in 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:
getPhotonPersistentDiskOrBuilder
in 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:
hasPortworxVolume
in 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:
getPortworxVolume
in 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:
getPortworxVolumeOrBuilder
in 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:
hasScaleIO
in 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:
getScaleIO
in 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:
getScaleIOOrBuilder
in 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:
hasLocal
in interfaceV1.PersistentVolumeSourceOrBuilder
-
getLocal
Local represents directly-attached storage with node affinity +optional
optional .k8s.io.api.core.v1.LocalVolumeSource local = 20;
- Specified by:
getLocal
in interfaceV1.PersistentVolumeSourceOrBuilder
-
getLocalOrBuilder
Local represents directly-attached storage with node affinity +optional
optional .k8s.io.api.core.v1.LocalVolumeSource local = 20;
- Specified by:
getLocalOrBuilder
in 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:
hasStorageos
in 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:
getStorageos
in 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:
getStorageosOrBuilder
in 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:
hasCsi
in 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:
getCsi
in 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:
getCsiOrBuilder
in interfaceV1.PersistentVolumeSourceOrBuilder
-
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.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:
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.PersistentVolumeSource.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
-