Package k8s.io.api.core.v1
Class Generated.VolumeSource
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- k8s.io.api.core.v1.Generated.VolumeSource
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,Generated.VolumeSourceOrBuilder
- Enclosing class:
- Generated
public static final class Generated.VolumeSource extends com.google.protobuf.GeneratedMessageV3 implements Generated.VolumeSourceOrBuilder
Represents the source of a volume to mount. Only one of its members may be specified.
Protobuf typek8s.io.api.core.v1.VolumeSource- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGenerated.VolumeSource.BuilderRepresents the source of a volume to mount.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Generated.AWSElasticBlockStoreVolumeSourcegetAwsElasticBlockStore()awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod.Generated.AWSElasticBlockStoreVolumeSourceOrBuildergetAwsElasticBlockStoreOrBuilder()awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod.Generated.AzureDiskVolumeSourcegetAzureDisk()azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.Generated.AzureDiskVolumeSourceOrBuildergetAzureDiskOrBuilder()azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.Generated.AzureFileVolumeSourcegetAzureFile()azureFile represents an Azure File Service mount on the host and bind mount to the pod.Generated.AzureFileVolumeSourceOrBuildergetAzureFileOrBuilder()azureFile represents an Azure File Service mount on the host and bind mount to the pod.Generated.CephFSVolumeSourcegetCephfs()cephFS represents a Ceph FS mount on the host that shares a pod's lifetime.Generated.CephFSVolumeSourceOrBuildergetCephfsOrBuilder()cephFS represents a Ceph FS mount on the host that shares a pod's lifetime.Generated.CinderVolumeSourcegetCinder()cinder represents a cinder volume attached and mounted on kubelets host machine.Generated.CinderVolumeSourceOrBuildergetCinderOrBuilder()cinder represents a cinder volume attached and mounted on kubelets host machine.Generated.ConfigMapVolumeSourcegetConfigMap()configMap represents a configMap that should populate this volume +optionalGenerated.ConfigMapVolumeSourceOrBuildergetConfigMapOrBuilder()configMap represents a configMap that should populate this volume +optionalGenerated.CSIVolumeSourcegetCsi()csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers.Generated.CSIVolumeSourceOrBuildergetCsiOrBuilder()csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers.static Generated.VolumeSourcegetDefaultInstance()Generated.VolumeSourcegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()Generated.DownwardAPIVolumeSourcegetDownwardAPI()downwardAPI represents downward API about the pod that should populate this volume +optionalGenerated.DownwardAPIVolumeSourceOrBuildergetDownwardAPIOrBuilder()downwardAPI represents downward API about the pod that should populate this volume +optionalGenerated.EmptyDirVolumeSourcegetEmptyDir()emptyDir represents a temporary directory that shares a pod's lifetime.Generated.EmptyDirVolumeSourceOrBuildergetEmptyDirOrBuilder()emptyDir represents a temporary directory that shares a pod's lifetime.Generated.EphemeralVolumeSourcegetEphemeral()ephemeral represents a volume that is handled by a cluster storage driver.Generated.EphemeralVolumeSourceOrBuildergetEphemeralOrBuilder()ephemeral represents a volume that is handled by a cluster storage driver.Generated.FCVolumeSourcegetFc()fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.Generated.FCVolumeSourceOrBuildergetFcOrBuilder()fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.Generated.FlexVolumeSourcegetFlexVolume()flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.Generated.FlexVolumeSourceOrBuildergetFlexVolumeOrBuilder()flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.Generated.FlockerVolumeSourcegetFlocker()flocker represents a Flocker volume attached to a kubelet's host machine.Generated.FlockerVolumeSourceOrBuildergetFlockerOrBuilder()flocker represents a Flocker volume attached to a kubelet's host machine.Generated.GCEPersistentDiskVolumeSourcegetGcePersistentDisk()gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod.Generated.GCEPersistentDiskVolumeSourceOrBuildergetGcePersistentDiskOrBuilder()gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod.Generated.GitRepoVolumeSourcegetGitRepo()gitRepo represents a git repository at a particular revision.Generated.GitRepoVolumeSourceOrBuildergetGitRepoOrBuilder()gitRepo represents a git repository at a particular revision.Generated.GlusterfsVolumeSourcegetGlusterfs()glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.Generated.GlusterfsVolumeSourceOrBuildergetGlusterfsOrBuilder()glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.Generated.HostPathVolumeSourcegetHostPath()hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container.Generated.HostPathVolumeSourceOrBuildergetHostPathOrBuilder()hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container.Generated.ImageVolumeSourcegetImage()image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine.Generated.ImageVolumeSourceOrBuildergetImageOrBuilder()image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine.Generated.ISCSIVolumeSourcegetIscsi()iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod.Generated.ISCSIVolumeSourceOrBuildergetIscsiOrBuilder()iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod.Generated.NFSVolumeSourcegetNfs()nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs +optionalGenerated.NFSVolumeSourceOrBuildergetNfsOrBuilder()nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs +optionalcom.google.protobuf.Parser<Generated.VolumeSource>getParserForType()Generated.PersistentVolumeClaimVolumeSourcegetPersistentVolumeClaim()persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace.Generated.PersistentVolumeClaimVolumeSourceOrBuildergetPersistentVolumeClaimOrBuilder()persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace.Generated.PhotonPersistentDiskVolumeSourcegetPhotonPersistentDisk()photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine.Generated.PhotonPersistentDiskVolumeSourceOrBuildergetPhotonPersistentDiskOrBuilder()photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine.Generated.PortworxVolumeSourcegetPortworxVolume()portworxVolume represents a portworx volume attached and mounted on kubelets host machine.Generated.PortworxVolumeSourceOrBuildergetPortworxVolumeOrBuilder()portworxVolume represents a portworx volume attached and mounted on kubelets host machine.Generated.ProjectedVolumeSourcegetProjected()projected items for all in one resources secrets, configmaps, and downward APIGenerated.ProjectedVolumeSourceOrBuildergetProjectedOrBuilder()projected items for all in one resources secrets, configmaps, and downward APIGenerated.QuobyteVolumeSourcegetQuobyte()quobyte represents a Quobyte mount on the host that shares a pod's lifetime.Generated.QuobyteVolumeSourceOrBuildergetQuobyteOrBuilder()quobyte represents a Quobyte mount on the host that shares a pod's lifetime.Generated.RBDVolumeSourcegetRbd()rbd represents a Rados Block Device mount on the host that shares a pod's lifetime.Generated.RBDVolumeSourceOrBuildergetRbdOrBuilder()rbd represents a Rados Block Device mount on the host that shares a pod's lifetime.Generated.ScaleIOVolumeSourcegetScaleIO()scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.Generated.ScaleIOVolumeSourceOrBuildergetScaleIOOrBuilder()scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.Generated.SecretVolumeSourcegetSecret()secret represents a secret that should populate this volume.Generated.SecretVolumeSourceOrBuildergetSecretOrBuilder()secret represents a secret that should populate this volume.intgetSerializedSize()Generated.StorageOSVolumeSourcegetStorageos()storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.Generated.StorageOSVolumeSourceOrBuildergetStorageosOrBuilder()storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.Generated.VsphereVirtualDiskVolumeSourcegetVsphereVolume()vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine.Generated.VsphereVirtualDiskVolumeSourceOrBuildergetVsphereVolumeOrBuilder()vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine.booleanhasAwsElasticBlockStore()awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod.booleanhasAzureDisk()azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.booleanhasAzureFile()azureFile represents an Azure File Service mount on the host and bind mount to the pod.booleanhasCephfs()cephFS represents a Ceph FS mount on the host that shares a pod's lifetime.booleanhasCinder()cinder represents a cinder volume attached and mounted on kubelets host machine.booleanhasConfigMap()configMap represents a configMap that should populate this volume +optionalbooleanhasCsi()csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers.booleanhasDownwardAPI()downwardAPI represents downward API about the pod that should populate this volume +optionalbooleanhasEmptyDir()emptyDir represents a temporary directory that shares a pod's lifetime.booleanhasEphemeral()ephemeral represents a volume that is handled by a cluster storage driver.booleanhasFc()fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.booleanhasFlexVolume()flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.booleanhasFlocker()flocker represents a Flocker volume attached to a kubelet's host machine.booleanhasGcePersistentDisk()gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod.booleanhasGitRepo()gitRepo represents a git repository at a particular revision.booleanhasGlusterfs()glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.inthashCode()booleanhasHostPath()hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container.booleanhasImage()image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine.booleanhasIscsi()iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod.booleanhasNfs()nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs +optionalbooleanhasPersistentVolumeClaim()persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace.booleanhasPhotonPersistentDisk()photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine.booleanhasPortworxVolume()portworxVolume represents a portworx volume attached and mounted on kubelets host machine.booleanhasProjected()projected items for all in one resources secrets, configmaps, and downward APIbooleanhasQuobyte()quobyte represents a Quobyte mount on the host that shares a pod's lifetime.booleanhasRbd()rbd represents a Rados Block Device mount on the host that shares a pod's lifetime.booleanhasScaleIO()scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.booleanhasSecret()secret represents a secret that should populate this volume.booleanhasStorageos()storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.booleanhasVsphereVolume()vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Generated.VolumeSource.BuildernewBuilder()static Generated.VolumeSource.BuildernewBuilder(Generated.VolumeSource prototype)Generated.VolumeSource.BuildernewBuilderForType()protected Generated.VolumeSource.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Generated.VolumeSourceparseDelimitedFrom(InputStream input)static Generated.VolumeSourceparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.VolumeSourceparseFrom(byte[] data)static Generated.VolumeSourceparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.VolumeSourceparseFrom(com.google.protobuf.ByteString data)static Generated.VolumeSourceparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.VolumeSourceparseFrom(com.google.protobuf.CodedInputStream input)static Generated.VolumeSourceparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.VolumeSourceparseFrom(InputStream input)static Generated.VolumeSourceparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.VolumeSourceparseFrom(ByteBuffer data)static Generated.VolumeSourceparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Generated.VolumeSource>parser()Generated.VolumeSource.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, 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
-
-
-
-
Field Detail
-
HOSTPATH_FIELD_NUMBER
public static final int HOSTPATH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EMPTYDIR_FIELD_NUMBER
public static final int EMPTYDIR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GCEPERSISTENTDISK_FIELD_NUMBER
public static final int GCEPERSISTENTDISK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AWSELASTICBLOCKSTORE_FIELD_NUMBER
public static final int AWSELASTICBLOCKSTORE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GITREPO_FIELD_NUMBER
public static final int GITREPO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SECRET_FIELD_NUMBER
public static final int SECRET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NFS_FIELD_NUMBER
public static final int NFS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ISCSI_FIELD_NUMBER
public static final int ISCSI_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GLUSTERFS_FIELD_NUMBER
public static final int GLUSTERFS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PERSISTENTVOLUMECLAIM_FIELD_NUMBER
public static final int PERSISTENTVOLUMECLAIM_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RBD_FIELD_NUMBER
public static final int RBD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FLEXVOLUME_FIELD_NUMBER
public static final int FLEXVOLUME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CINDER_FIELD_NUMBER
public static final int CINDER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CEPHFS_FIELD_NUMBER
public static final int CEPHFS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FLOCKER_FIELD_NUMBER
public static final int FLOCKER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DOWNWARDAPI_FIELD_NUMBER
public static final int DOWNWARDAPI_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FC_FIELD_NUMBER
public static final int FC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AZUREFILE_FIELD_NUMBER
public static final int AZUREFILE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONFIGMAP_FIELD_NUMBER
public static final int CONFIGMAP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VSPHEREVOLUME_FIELD_NUMBER
public static final int VSPHEREVOLUME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
QUOBYTE_FIELD_NUMBER
public static final int QUOBYTE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AZUREDISK_FIELD_NUMBER
public static final int AZUREDISK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PHOTONPERSISTENTDISK_FIELD_NUMBER
public static final int PHOTONPERSISTENTDISK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROJECTED_FIELD_NUMBER
public static final int PROJECTED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PORTWORXVOLUME_FIELD_NUMBER
public static final int PORTWORXVOLUME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SCALEIO_FIELD_NUMBER
public static final int SCALEIO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STORAGEOS_FIELD_NUMBER
public static final int STORAGEOS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CSI_FIELD_NUMBER
public static final int CSI_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EPHEMERAL_FIELD_NUMBER
public static final int EPHEMERAL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IMAGE_FIELD_NUMBER
public static final int IMAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<Generated.VolumeSource> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein 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
-
hasHostPath
public boolean hasHostPath()
hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not mount host directories as read/write. +optional
optional .k8s.io.api.core.v1.HostPathVolumeSource hostPath = 1;- Specified by:
hasHostPathin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- Whether the hostPath field is set.
-
getHostPath
public Generated.HostPathVolumeSource getHostPath()
hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not mount host directories as read/write. +optional
optional .k8s.io.api.core.v1.HostPathVolumeSource hostPath = 1;- Specified by:
getHostPathin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- The hostPath.
-
getHostPathOrBuilder
public Generated.HostPathVolumeSourceOrBuilder getHostPathOrBuilder()
hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not mount host directories as read/write. +optional
optional .k8s.io.api.core.v1.HostPathVolumeSource hostPath = 1;- Specified by:
getHostPathOrBuilderin interfaceGenerated.VolumeSourceOrBuilder
-
hasEmptyDir
public boolean hasEmptyDir()
emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir +optional
optional .k8s.io.api.core.v1.EmptyDirVolumeSource emptyDir = 2;- Specified by:
hasEmptyDirin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- Whether the emptyDir field is set.
-
getEmptyDir
public Generated.EmptyDirVolumeSource getEmptyDir()
emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir +optional
optional .k8s.io.api.core.v1.EmptyDirVolumeSource emptyDir = 2;- Specified by:
getEmptyDirin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- The emptyDir.
-
getEmptyDirOrBuilder
public Generated.EmptyDirVolumeSourceOrBuilder getEmptyDirOrBuilder()
emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir +optional
optional .k8s.io.api.core.v1.EmptyDirVolumeSource emptyDir = 2;- Specified by:
getEmptyDirOrBuilderin interfaceGenerated.VolumeSourceOrBuilder
-
hasGcePersistentDisk
public boolean hasGcePersistentDisk()
gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Deprecated: GCEPersistentDisk is deprecated. All operations for the in-tree gcePersistentDisk type are redirected to the pd.csi.storage.gke.io CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk +optional
optional .k8s.io.api.core.v1.GCEPersistentDiskVolumeSource gcePersistentDisk = 3;- Specified by:
hasGcePersistentDiskin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- Whether the gcePersistentDisk field is set.
-
getGcePersistentDisk
public Generated.GCEPersistentDiskVolumeSource getGcePersistentDisk()
gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Deprecated: GCEPersistentDisk is deprecated. All operations for the in-tree gcePersistentDisk type are redirected to the pd.csi.storage.gke.io CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk +optional
optional .k8s.io.api.core.v1.GCEPersistentDiskVolumeSource gcePersistentDisk = 3;- Specified by:
getGcePersistentDiskin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- The gcePersistentDisk.
-
getGcePersistentDiskOrBuilder
public Generated.GCEPersistentDiskVolumeSourceOrBuilder getGcePersistentDiskOrBuilder()
gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Deprecated: GCEPersistentDisk is deprecated. All operations for the in-tree gcePersistentDisk type are redirected to the pd.csi.storage.gke.io CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk +optional
optional .k8s.io.api.core.v1.GCEPersistentDiskVolumeSource gcePersistentDisk = 3;- Specified by:
getGcePersistentDiskOrBuilderin interfaceGenerated.VolumeSourceOrBuilder
-
hasAwsElasticBlockStore
public boolean hasAwsElasticBlockStore()
awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Deprecated: AWSElasticBlockStore is deprecated. All operations for the in-tree awsElasticBlockStore type are redirected to the ebs.csi.aws.com CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore +optional
optional .k8s.io.api.core.v1.AWSElasticBlockStoreVolumeSource awsElasticBlockStore = 4;- Specified by:
hasAwsElasticBlockStorein interfaceGenerated.VolumeSourceOrBuilder- Returns:
- Whether the awsElasticBlockStore field is set.
-
getAwsElasticBlockStore
public Generated.AWSElasticBlockStoreVolumeSource getAwsElasticBlockStore()
awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Deprecated: AWSElasticBlockStore is deprecated. All operations for the in-tree awsElasticBlockStore type are redirected to the ebs.csi.aws.com CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore +optional
optional .k8s.io.api.core.v1.AWSElasticBlockStoreVolumeSource awsElasticBlockStore = 4;- Specified by:
getAwsElasticBlockStorein interfaceGenerated.VolumeSourceOrBuilder- Returns:
- The awsElasticBlockStore.
-
getAwsElasticBlockStoreOrBuilder
public Generated.AWSElasticBlockStoreVolumeSourceOrBuilder getAwsElasticBlockStoreOrBuilder()
awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Deprecated: AWSElasticBlockStore is deprecated. All operations for the in-tree awsElasticBlockStore type are redirected to the ebs.csi.aws.com CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore +optional
optional .k8s.io.api.core.v1.AWSElasticBlockStoreVolumeSource awsElasticBlockStore = 4;- Specified by:
getAwsElasticBlockStoreOrBuilderin interfaceGenerated.VolumeSourceOrBuilder
-
hasGitRepo
public boolean hasGitRepo()
gitRepo represents a git repository at a particular revision. Deprecated: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. +optional
optional .k8s.io.api.core.v1.GitRepoVolumeSource gitRepo = 5;- Specified by:
hasGitRepoin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- Whether the gitRepo field is set.
-
getGitRepo
public Generated.GitRepoVolumeSource getGitRepo()
gitRepo represents a git repository at a particular revision. Deprecated: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. +optional
optional .k8s.io.api.core.v1.GitRepoVolumeSource gitRepo = 5;- Specified by:
getGitRepoin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- The gitRepo.
-
getGitRepoOrBuilder
public Generated.GitRepoVolumeSourceOrBuilder getGitRepoOrBuilder()
gitRepo represents a git repository at a particular revision. Deprecated: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. +optional
optional .k8s.io.api.core.v1.GitRepoVolumeSource gitRepo = 5;- Specified by:
getGitRepoOrBuilderin interfaceGenerated.VolumeSourceOrBuilder
-
hasSecret
public boolean hasSecret()
secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret +optional
optional .k8s.io.api.core.v1.SecretVolumeSource secret = 6;- Specified by:
hasSecretin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- Whether the secret field is set.
-
getSecret
public Generated.SecretVolumeSource getSecret()
secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret +optional
optional .k8s.io.api.core.v1.SecretVolumeSource secret = 6;- Specified by:
getSecretin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- The secret.
-
getSecretOrBuilder
public Generated.SecretVolumeSourceOrBuilder getSecretOrBuilder()
secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret +optional
optional .k8s.io.api.core.v1.SecretVolumeSource secret = 6;- Specified by:
getSecretOrBuilderin interfaceGenerated.VolumeSourceOrBuilder
-
hasNfs
public boolean hasNfs()
nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs +optional
optional .k8s.io.api.core.v1.NFSVolumeSource nfs = 7;- Specified by:
hasNfsin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- Whether the nfs field is set.
-
getNfs
public Generated.NFSVolumeSource getNfs()
nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs +optional
optional .k8s.io.api.core.v1.NFSVolumeSource nfs = 7;- Specified by:
getNfsin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- The nfs.
-
getNfsOrBuilder
public Generated.NFSVolumeSourceOrBuilder getNfsOrBuilder()
nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs +optional
optional .k8s.io.api.core.v1.NFSVolumeSource nfs = 7;- Specified by:
getNfsOrBuilderin interfaceGenerated.VolumeSourceOrBuilder
-
hasIscsi
public boolean hasIscsi()
iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md +optional
optional .k8s.io.api.core.v1.ISCSIVolumeSource iscsi = 8;- Specified by:
hasIscsiin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- Whether the iscsi field is set.
-
getIscsi
public Generated.ISCSIVolumeSource getIscsi()
iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md +optional
optional .k8s.io.api.core.v1.ISCSIVolumeSource iscsi = 8;- Specified by:
getIscsiin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- The iscsi.
-
getIscsiOrBuilder
public Generated.ISCSIVolumeSourceOrBuilder getIscsiOrBuilder()
iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md +optional
optional .k8s.io.api.core.v1.ISCSIVolumeSource iscsi = 8;- Specified by:
getIscsiOrBuilderin interfaceGenerated.VolumeSourceOrBuilder
-
hasGlusterfs
public boolean hasGlusterfs()
glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported. More info: https://examples.k8s.io/volumes/glusterfs/README.md +optional
optional .k8s.io.api.core.v1.GlusterfsVolumeSource glusterfs = 9;- Specified by:
hasGlusterfsin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- Whether the glusterfs field is set.
-
getGlusterfs
public Generated.GlusterfsVolumeSource getGlusterfs()
glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported. More info: https://examples.k8s.io/volumes/glusterfs/README.md +optional
optional .k8s.io.api.core.v1.GlusterfsVolumeSource glusterfs = 9;- Specified by:
getGlusterfsin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- The glusterfs.
-
getGlusterfsOrBuilder
public Generated.GlusterfsVolumeSourceOrBuilder getGlusterfsOrBuilder()
glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported. More info: https://examples.k8s.io/volumes/glusterfs/README.md +optional
optional .k8s.io.api.core.v1.GlusterfsVolumeSource glusterfs = 9;- Specified by:
getGlusterfsOrBuilderin interfaceGenerated.VolumeSourceOrBuilder
-
hasPersistentVolumeClaim
public boolean hasPersistentVolumeClaim()
persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims +optional
optional .k8s.io.api.core.v1.PersistentVolumeClaimVolumeSource persistentVolumeClaim = 10;- Specified by:
hasPersistentVolumeClaimin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- Whether the persistentVolumeClaim field is set.
-
getPersistentVolumeClaim
public Generated.PersistentVolumeClaimVolumeSource getPersistentVolumeClaim()
persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims +optional
optional .k8s.io.api.core.v1.PersistentVolumeClaimVolumeSource persistentVolumeClaim = 10;- Specified by:
getPersistentVolumeClaimin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- The persistentVolumeClaim.
-
getPersistentVolumeClaimOrBuilder
public Generated.PersistentVolumeClaimVolumeSourceOrBuilder getPersistentVolumeClaimOrBuilder()
persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims +optional
optional .k8s.io.api.core.v1.PersistentVolumeClaimVolumeSource persistentVolumeClaim = 10;- Specified by:
getPersistentVolumeClaimOrBuilderin interfaceGenerated.VolumeSourceOrBuilder
-
hasRbd
public boolean hasRbd()
rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. Deprecated: RBD is deprecated and the in-tree rbd type is no longer supported. More info: https://examples.k8s.io/volumes/rbd/README.md +optional
optional .k8s.io.api.core.v1.RBDVolumeSource rbd = 11;- Specified by:
hasRbdin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- Whether the rbd field is set.
-
getRbd
public Generated.RBDVolumeSource getRbd()
rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. Deprecated: RBD is deprecated and the in-tree rbd type is no longer supported. More info: https://examples.k8s.io/volumes/rbd/README.md +optional
optional .k8s.io.api.core.v1.RBDVolumeSource rbd = 11;- Specified by:
getRbdin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- The rbd.
-
getRbdOrBuilder
public Generated.RBDVolumeSourceOrBuilder getRbdOrBuilder()
rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. Deprecated: RBD is deprecated and the in-tree rbd type is no longer supported. More info: https://examples.k8s.io/volumes/rbd/README.md +optional
optional .k8s.io.api.core.v1.RBDVolumeSource rbd = 11;- Specified by:
getRbdOrBuilderin interfaceGenerated.VolumeSourceOrBuilder
-
hasFlexVolume
public boolean hasFlexVolume()
flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. Deprecated: FlexVolume is deprecated. Consider using a CSIDriver instead. +optional
optional .k8s.io.api.core.v1.FlexVolumeSource flexVolume = 12;- Specified by:
hasFlexVolumein interfaceGenerated.VolumeSourceOrBuilder- Returns:
- Whether the flexVolume field is set.
-
getFlexVolume
public Generated.FlexVolumeSource getFlexVolume()
flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. Deprecated: FlexVolume is deprecated. Consider using a CSIDriver instead. +optional
optional .k8s.io.api.core.v1.FlexVolumeSource flexVolume = 12;- Specified by:
getFlexVolumein interfaceGenerated.VolumeSourceOrBuilder- Returns:
- The flexVolume.
-
getFlexVolumeOrBuilder
public Generated.FlexVolumeSourceOrBuilder getFlexVolumeOrBuilder()
flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. Deprecated: FlexVolume is deprecated. Consider using a CSIDriver instead. +optional
optional .k8s.io.api.core.v1.FlexVolumeSource flexVolume = 12;- Specified by:
getFlexVolumeOrBuilderin interfaceGenerated.VolumeSourceOrBuilder
-
hasCinder
public boolean hasCinder()
cinder represents a cinder volume attached and mounted on kubelets host machine. Deprecated: Cinder is deprecated. All operations for the in-tree cinder type are redirected to the cinder.csi.openstack.org CSI driver. More info: https://examples.k8s.io/mysql-cinder-pd/README.md +optional
optional .k8s.io.api.core.v1.CinderVolumeSource cinder = 13;- Specified by:
hasCinderin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- Whether the cinder field is set.
-
getCinder
public Generated.CinderVolumeSource getCinder()
cinder represents a cinder volume attached and mounted on kubelets host machine. Deprecated: Cinder is deprecated. All operations for the in-tree cinder type are redirected to the cinder.csi.openstack.org CSI driver. More info: https://examples.k8s.io/mysql-cinder-pd/README.md +optional
optional .k8s.io.api.core.v1.CinderVolumeSource cinder = 13;- Specified by:
getCinderin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- The cinder.
-
getCinderOrBuilder
public Generated.CinderVolumeSourceOrBuilder getCinderOrBuilder()
cinder represents a cinder volume attached and mounted on kubelets host machine. Deprecated: Cinder is deprecated. All operations for the in-tree cinder type are redirected to the cinder.csi.openstack.org CSI driver. More info: https://examples.k8s.io/mysql-cinder-pd/README.md +optional
optional .k8s.io.api.core.v1.CinderVolumeSource cinder = 13;- Specified by:
getCinderOrBuilderin interfaceGenerated.VolumeSourceOrBuilder
-
hasCephfs
public boolean hasCephfs()
cephFS represents a Ceph FS mount on the host that shares a pod's lifetime. Deprecated: CephFS is deprecated and the in-tree cephfs type is no longer supported. +optional
optional .k8s.io.api.core.v1.CephFSVolumeSource cephfs = 14;- Specified by:
hasCephfsin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- Whether the cephfs field is set.
-
getCephfs
public Generated.CephFSVolumeSource getCephfs()
cephFS represents a Ceph FS mount on the host that shares a pod's lifetime. Deprecated: CephFS is deprecated and the in-tree cephfs type is no longer supported. +optional
optional .k8s.io.api.core.v1.CephFSVolumeSource cephfs = 14;- Specified by:
getCephfsin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- The cephfs.
-
getCephfsOrBuilder
public Generated.CephFSVolumeSourceOrBuilder getCephfsOrBuilder()
cephFS represents a Ceph FS mount on the host that shares a pod's lifetime. Deprecated: CephFS is deprecated and the in-tree cephfs type is no longer supported. +optional
optional .k8s.io.api.core.v1.CephFSVolumeSource cephfs = 14;- Specified by:
getCephfsOrBuilderin interfaceGenerated.VolumeSourceOrBuilder
-
hasFlocker
public boolean hasFlocker()
flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running. Deprecated: Flocker is deprecated and the in-tree flocker type is no longer supported. +optional
optional .k8s.io.api.core.v1.FlockerVolumeSource flocker = 15;- Specified by:
hasFlockerin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- Whether the flocker field is set.
-
getFlocker
public Generated.FlockerVolumeSource getFlocker()
flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running. Deprecated: Flocker is deprecated and the in-tree flocker type is no longer supported. +optional
optional .k8s.io.api.core.v1.FlockerVolumeSource flocker = 15;- Specified by:
getFlockerin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- The flocker.
-
getFlockerOrBuilder
public Generated.FlockerVolumeSourceOrBuilder getFlockerOrBuilder()
flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running. Deprecated: Flocker is deprecated and the in-tree flocker type is no longer supported. +optional
optional .k8s.io.api.core.v1.FlockerVolumeSource flocker = 15;- Specified by:
getFlockerOrBuilderin interfaceGenerated.VolumeSourceOrBuilder
-
hasDownwardAPI
public boolean hasDownwardAPI()
downwardAPI represents downward API about the pod that should populate this volume +optional
optional .k8s.io.api.core.v1.DownwardAPIVolumeSource downwardAPI = 16;- Specified by:
hasDownwardAPIin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- Whether the downwardAPI field is set.
-
getDownwardAPI
public Generated.DownwardAPIVolumeSource getDownwardAPI()
downwardAPI represents downward API about the pod that should populate this volume +optional
optional .k8s.io.api.core.v1.DownwardAPIVolumeSource downwardAPI = 16;- Specified by:
getDownwardAPIin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- The downwardAPI.
-
getDownwardAPIOrBuilder
public Generated.DownwardAPIVolumeSourceOrBuilder getDownwardAPIOrBuilder()
downwardAPI represents downward API about the pod that should populate this volume +optional
optional .k8s.io.api.core.v1.DownwardAPIVolumeSource downwardAPI = 16;- Specified by:
getDownwardAPIOrBuilderin interfaceGenerated.VolumeSourceOrBuilder
-
hasFc
public boolean hasFc()
fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. +optional
optional .k8s.io.api.core.v1.FCVolumeSource fc = 17;- Specified by:
hasFcin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- Whether the fc field is set.
-
getFc
public Generated.FCVolumeSource getFc()
fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. +optional
optional .k8s.io.api.core.v1.FCVolumeSource fc = 17;- Specified by:
getFcin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- The fc.
-
getFcOrBuilder
public Generated.FCVolumeSourceOrBuilder getFcOrBuilder()
fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. +optional
optional .k8s.io.api.core.v1.FCVolumeSource fc = 17;- Specified by:
getFcOrBuilderin interfaceGenerated.VolumeSourceOrBuilder
-
hasAzureFile
public boolean hasAzureFile()
azureFile represents an Azure File Service mount on the host and bind mount to the pod. Deprecated: AzureFile is deprecated. All operations for the in-tree azureFile type are redirected to the file.csi.azure.com CSI driver. +optional
optional .k8s.io.api.core.v1.AzureFileVolumeSource azureFile = 18;- Specified by:
hasAzureFilein interfaceGenerated.VolumeSourceOrBuilder- Returns:
- Whether the azureFile field is set.
-
getAzureFile
public Generated.AzureFileVolumeSource getAzureFile()
azureFile represents an Azure File Service mount on the host and bind mount to the pod. Deprecated: AzureFile is deprecated. All operations for the in-tree azureFile type are redirected to the file.csi.azure.com CSI driver. +optional
optional .k8s.io.api.core.v1.AzureFileVolumeSource azureFile = 18;- Specified by:
getAzureFilein interfaceGenerated.VolumeSourceOrBuilder- Returns:
- The azureFile.
-
getAzureFileOrBuilder
public Generated.AzureFileVolumeSourceOrBuilder getAzureFileOrBuilder()
azureFile represents an Azure File Service mount on the host and bind mount to the pod. Deprecated: AzureFile is deprecated. All operations for the in-tree azureFile type are redirected to the file.csi.azure.com CSI driver. +optional
optional .k8s.io.api.core.v1.AzureFileVolumeSource azureFile = 18;- Specified by:
getAzureFileOrBuilderin interfaceGenerated.VolumeSourceOrBuilder
-
hasConfigMap
public boolean hasConfigMap()
configMap represents a configMap that should populate this volume +optional
optional .k8s.io.api.core.v1.ConfigMapVolumeSource configMap = 19;- Specified by:
hasConfigMapin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- Whether the configMap field is set.
-
getConfigMap
public Generated.ConfigMapVolumeSource getConfigMap()
configMap represents a configMap that should populate this volume +optional
optional .k8s.io.api.core.v1.ConfigMapVolumeSource configMap = 19;- Specified by:
getConfigMapin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- The configMap.
-
getConfigMapOrBuilder
public Generated.ConfigMapVolumeSourceOrBuilder getConfigMapOrBuilder()
configMap represents a configMap that should populate this volume +optional
optional .k8s.io.api.core.v1.ConfigMapVolumeSource configMap = 19;- Specified by:
getConfigMapOrBuilderin interfaceGenerated.VolumeSourceOrBuilder
-
hasVsphereVolume
public boolean hasVsphereVolume()
vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine. Deprecated: VsphereVolume is deprecated. All operations for the in-tree vsphereVolume type are redirected to the csi.vsphere.vmware.com CSI driver. +optional
optional .k8s.io.api.core.v1.VsphereVirtualDiskVolumeSource vsphereVolume = 20;- Specified by:
hasVsphereVolumein interfaceGenerated.VolumeSourceOrBuilder- Returns:
- Whether the vsphereVolume field is set.
-
getVsphereVolume
public Generated.VsphereVirtualDiskVolumeSource getVsphereVolume()
vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine. Deprecated: VsphereVolume is deprecated. All operations for the in-tree vsphereVolume type are redirected to the csi.vsphere.vmware.com CSI driver. +optional
optional .k8s.io.api.core.v1.VsphereVirtualDiskVolumeSource vsphereVolume = 20;- Specified by:
getVsphereVolumein interfaceGenerated.VolumeSourceOrBuilder- Returns:
- The vsphereVolume.
-
getVsphereVolumeOrBuilder
public Generated.VsphereVirtualDiskVolumeSourceOrBuilder getVsphereVolumeOrBuilder()
vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine. Deprecated: VsphereVolume is deprecated. All operations for the in-tree vsphereVolume type are redirected to the csi.vsphere.vmware.com CSI driver. +optional
optional .k8s.io.api.core.v1.VsphereVirtualDiskVolumeSource vsphereVolume = 20;- Specified by:
getVsphereVolumeOrBuilderin interfaceGenerated.VolumeSourceOrBuilder
-
hasQuobyte
public boolean hasQuobyte()
quobyte represents a Quobyte mount on the host that shares a pod's lifetime. Deprecated: Quobyte is deprecated and the in-tree quobyte type is no longer supported. +optional
optional .k8s.io.api.core.v1.QuobyteVolumeSource quobyte = 21;- Specified by:
hasQuobytein interfaceGenerated.VolumeSourceOrBuilder- Returns:
- Whether the quobyte field is set.
-
getQuobyte
public Generated.QuobyteVolumeSource getQuobyte()
quobyte represents a Quobyte mount on the host that shares a pod's lifetime. Deprecated: Quobyte is deprecated and the in-tree quobyte type is no longer supported. +optional
optional .k8s.io.api.core.v1.QuobyteVolumeSource quobyte = 21;- Specified by:
getQuobytein interfaceGenerated.VolumeSourceOrBuilder- Returns:
- The quobyte.
-
getQuobyteOrBuilder
public Generated.QuobyteVolumeSourceOrBuilder getQuobyteOrBuilder()
quobyte represents a Quobyte mount on the host that shares a pod's lifetime. Deprecated: Quobyte is deprecated and the in-tree quobyte type is no longer supported. +optional
optional .k8s.io.api.core.v1.QuobyteVolumeSource quobyte = 21;- Specified by:
getQuobyteOrBuilderin interfaceGenerated.VolumeSourceOrBuilder
-
hasAzureDisk
public boolean hasAzureDisk()
azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. Deprecated: AzureDisk is deprecated. All operations for the in-tree azureDisk type are redirected to the disk.csi.azure.com CSI driver. +optional
optional .k8s.io.api.core.v1.AzureDiskVolumeSource azureDisk = 22;- Specified by:
hasAzureDiskin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- Whether the azureDisk field is set.
-
getAzureDisk
public Generated.AzureDiskVolumeSource getAzureDisk()
azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. Deprecated: AzureDisk is deprecated. All operations for the in-tree azureDisk type are redirected to the disk.csi.azure.com CSI driver. +optional
optional .k8s.io.api.core.v1.AzureDiskVolumeSource azureDisk = 22;- Specified by:
getAzureDiskin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- The azureDisk.
-
getAzureDiskOrBuilder
public Generated.AzureDiskVolumeSourceOrBuilder getAzureDiskOrBuilder()
azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. Deprecated: AzureDisk is deprecated. All operations for the in-tree azureDisk type are redirected to the disk.csi.azure.com CSI driver. +optional
optional .k8s.io.api.core.v1.AzureDiskVolumeSource azureDisk = 22;- Specified by:
getAzureDiskOrBuilderin interfaceGenerated.VolumeSourceOrBuilder
-
hasPhotonPersistentDisk
public boolean hasPhotonPersistentDisk()
photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine. Deprecated: PhotonPersistentDisk is deprecated and the in-tree photonPersistentDisk type is no longer supported.
optional .k8s.io.api.core.v1.PhotonPersistentDiskVolumeSource photonPersistentDisk = 23;- Specified by:
hasPhotonPersistentDiskin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- Whether the photonPersistentDisk field is set.
-
getPhotonPersistentDisk
public Generated.PhotonPersistentDiskVolumeSource getPhotonPersistentDisk()
photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine. Deprecated: PhotonPersistentDisk is deprecated and the in-tree photonPersistentDisk type is no longer supported.
optional .k8s.io.api.core.v1.PhotonPersistentDiskVolumeSource photonPersistentDisk = 23;- Specified by:
getPhotonPersistentDiskin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- The photonPersistentDisk.
-
getPhotonPersistentDiskOrBuilder
public Generated.PhotonPersistentDiskVolumeSourceOrBuilder getPhotonPersistentDiskOrBuilder()
photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine. Deprecated: PhotonPersistentDisk is deprecated and the in-tree photonPersistentDisk type is no longer supported.
optional .k8s.io.api.core.v1.PhotonPersistentDiskVolumeSource photonPersistentDisk = 23;- Specified by:
getPhotonPersistentDiskOrBuilderin interfaceGenerated.VolumeSourceOrBuilder
-
hasProjected
public boolean hasProjected()
projected items for all in one resources secrets, configmaps, and downward API
optional .k8s.io.api.core.v1.ProjectedVolumeSource projected = 26;- Specified by:
hasProjectedin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- Whether the projected field is set.
-
getProjected
public Generated.ProjectedVolumeSource getProjected()
projected items for all in one resources secrets, configmaps, and downward API
optional .k8s.io.api.core.v1.ProjectedVolumeSource projected = 26;- Specified by:
getProjectedin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- The projected.
-
getProjectedOrBuilder
public Generated.ProjectedVolumeSourceOrBuilder getProjectedOrBuilder()
projected items for all in one resources secrets, configmaps, and downward API
optional .k8s.io.api.core.v1.ProjectedVolumeSource projected = 26;- Specified by:
getProjectedOrBuilderin interfaceGenerated.VolumeSourceOrBuilder
-
hasPortworxVolume
public boolean hasPortworxVolume()
portworxVolume represents a portworx volume attached and mounted on kubelets host machine. Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate is on. +optional
optional .k8s.io.api.core.v1.PortworxVolumeSource portworxVolume = 24;- Specified by:
hasPortworxVolumein interfaceGenerated.VolumeSourceOrBuilder- Returns:
- Whether the portworxVolume field is set.
-
getPortworxVolume
public Generated.PortworxVolumeSource getPortworxVolume()
portworxVolume represents a portworx volume attached and mounted on kubelets host machine. Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate is on. +optional
optional .k8s.io.api.core.v1.PortworxVolumeSource portworxVolume = 24;- Specified by:
getPortworxVolumein interfaceGenerated.VolumeSourceOrBuilder- Returns:
- The portworxVolume.
-
getPortworxVolumeOrBuilder
public Generated.PortworxVolumeSourceOrBuilder getPortworxVolumeOrBuilder()
portworxVolume represents a portworx volume attached and mounted on kubelets host machine. Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate is on. +optional
optional .k8s.io.api.core.v1.PortworxVolumeSource portworxVolume = 24;- Specified by:
getPortworxVolumeOrBuilderin interfaceGenerated.VolumeSourceOrBuilder
-
hasScaleIO
public boolean hasScaleIO()
scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. Deprecated: ScaleIO is deprecated and the in-tree scaleIO type is no longer supported. +optional
optional .k8s.io.api.core.v1.ScaleIOVolumeSource scaleIO = 25;- Specified by:
hasScaleIOin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- Whether the scaleIO field is set.
-
getScaleIO
public Generated.ScaleIOVolumeSource getScaleIO()
scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. Deprecated: ScaleIO is deprecated and the in-tree scaleIO type is no longer supported. +optional
optional .k8s.io.api.core.v1.ScaleIOVolumeSource scaleIO = 25;- Specified by:
getScaleIOin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- The scaleIO.
-
getScaleIOOrBuilder
public Generated.ScaleIOVolumeSourceOrBuilder getScaleIOOrBuilder()
scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. Deprecated: ScaleIO is deprecated and the in-tree scaleIO type is no longer supported. +optional
optional .k8s.io.api.core.v1.ScaleIOVolumeSource scaleIO = 25;- Specified by:
getScaleIOOrBuilderin interfaceGenerated.VolumeSourceOrBuilder
-
hasStorageos
public boolean hasStorageos()
storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. Deprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported. +optional
optional .k8s.io.api.core.v1.StorageOSVolumeSource storageos = 27;- Specified by:
hasStorageosin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- Whether the storageos field is set.
-
getStorageos
public Generated.StorageOSVolumeSource getStorageos()
storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. Deprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported. +optional
optional .k8s.io.api.core.v1.StorageOSVolumeSource storageos = 27;- Specified by:
getStorageosin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- The storageos.
-
getStorageosOrBuilder
public Generated.StorageOSVolumeSourceOrBuilder getStorageosOrBuilder()
storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. Deprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported. +optional
optional .k8s.io.api.core.v1.StorageOSVolumeSource storageos = 27;- Specified by:
getStorageosOrBuilderin interfaceGenerated.VolumeSourceOrBuilder
-
hasCsi
public boolean hasCsi()
csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers. +optional
optional .k8s.io.api.core.v1.CSIVolumeSource csi = 28;- Specified by:
hasCsiin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- Whether the csi field is set.
-
getCsi
public Generated.CSIVolumeSource getCsi()
csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers. +optional
optional .k8s.io.api.core.v1.CSIVolumeSource csi = 28;- Specified by:
getCsiin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- The csi.
-
getCsiOrBuilder
public Generated.CSIVolumeSourceOrBuilder getCsiOrBuilder()
csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers. +optional
optional .k8s.io.api.core.v1.CSIVolumeSource csi = 28;- Specified by:
getCsiOrBuilderin interfaceGenerated.VolumeSourceOrBuilder
-
hasEphemeral
public boolean hasEphemeral()
ephemeral represents a volume that is handled by a cluster storage driver. The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts, and deleted when the pod is removed. Use this if: a) the volume is only needed while the pod runs, b) features of normal volumes like restoring from snapshot or capacity tracking are needed, c) the storage driver is specified through a storage class, and d) the storage driver supports dynamic volume provisioning through a PersistentVolumeClaim (see EphemeralVolumeSource for more information on the connection between this volume type and PersistentVolumeClaim). Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod. Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. A pod can use both types of ephemeral volumes and persistent volumes at the same time. +optionaloptional .k8s.io.api.core.v1.EphemeralVolumeSource ephemeral = 29;- Specified by:
hasEphemeralin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- Whether the ephemeral field is set.
-
getEphemeral
public Generated.EphemeralVolumeSource getEphemeral()
ephemeral represents a volume that is handled by a cluster storage driver. The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts, and deleted when the pod is removed. Use this if: a) the volume is only needed while the pod runs, b) features of normal volumes like restoring from snapshot or capacity tracking are needed, c) the storage driver is specified through a storage class, and d) the storage driver supports dynamic volume provisioning through a PersistentVolumeClaim (see EphemeralVolumeSource for more information on the connection between this volume type and PersistentVolumeClaim). Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod. Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. A pod can use both types of ephemeral volumes and persistent volumes at the same time. +optionaloptional .k8s.io.api.core.v1.EphemeralVolumeSource ephemeral = 29;- Specified by:
getEphemeralin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- The ephemeral.
-
getEphemeralOrBuilder
public Generated.EphemeralVolumeSourceOrBuilder getEphemeralOrBuilder()
ephemeral represents a volume that is handled by a cluster storage driver. The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts, and deleted when the pod is removed. Use this if: a) the volume is only needed while the pod runs, b) features of normal volumes like restoring from snapshot or capacity tracking are needed, c) the storage driver is specified through a storage class, and d) the storage driver supports dynamic volume provisioning through a PersistentVolumeClaim (see EphemeralVolumeSource for more information on the connection between this volume type and PersistentVolumeClaim). Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod. Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. A pod can use both types of ephemeral volumes and persistent volumes at the same time. +optionaloptional .k8s.io.api.core.v1.EphemeralVolumeSource ephemeral = 29;- Specified by:
getEphemeralOrBuilderin interfaceGenerated.VolumeSourceOrBuilder
-
hasImage
public boolean hasImage()
image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine. The volume is resolved at pod startup depending on which PullPolicy value is provided: - Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. - Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. - IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails. The volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation. A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message. The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field. The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images. The volume will be mounted read-only (ro) and non-executable files (noexec). Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath). The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type. +featureGate=ImageVolume +optional
optional .k8s.io.api.core.v1.ImageVolumeSource image = 30;- Specified by:
hasImagein interfaceGenerated.VolumeSourceOrBuilder- Returns:
- Whether the image field is set.
-
getImage
public Generated.ImageVolumeSource getImage()
image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine. The volume is resolved at pod startup depending on which PullPolicy value is provided: - Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. - Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. - IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails. The volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation. A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message. The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field. The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images. The volume will be mounted read-only (ro) and non-executable files (noexec). Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath). The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type. +featureGate=ImageVolume +optional
optional .k8s.io.api.core.v1.ImageVolumeSource image = 30;- Specified by:
getImagein interfaceGenerated.VolumeSourceOrBuilder- Returns:
- The image.
-
getImageOrBuilder
public Generated.ImageVolumeSourceOrBuilder getImageOrBuilder()
image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine. The volume is resolved at pod startup depending on which PullPolicy value is provided: - Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. - Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. - IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails. The volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation. A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message. The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field. The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images. The volume will be mounted read-only (ro) and non-executable files (noexec). Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath). The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type. +featureGate=ImageVolume +optional
optional .k8s.io.api.core.v1.ImageVolumeSource image = 30;- Specified by:
getImageOrBuilderin interfaceGenerated.VolumeSourceOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- 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
public boolean equals(Object obj)
- 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 Generated.VolumeSource parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.VolumeSource parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.VolumeSource parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.VolumeSource parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.VolumeSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.VolumeSource parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.VolumeSource parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.VolumeSource parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.VolumeSource parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.VolumeSource parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.VolumeSource parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.VolumeSource parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Generated.VolumeSource.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Generated.VolumeSource.Builder newBuilder()
-
newBuilder
public static Generated.VolumeSource.Builder newBuilder(Generated.VolumeSource prototype)
-
toBuilder
public Generated.VolumeSource.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Generated.VolumeSource.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Generated.VolumeSource getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Generated.VolumeSource> parser()
-
getParserForType
public com.google.protobuf.Parser<Generated.VolumeSource> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Generated.VolumeSource getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-