public final class VolumeSource extends com.google.protobuf.GeneratedMessageV3 implements VolumeSourceOrBuilder
Represents the source of a volume to mount. Only one of its members may be specified.Protobuf type
appscode.kubernetes.v1beta2.VolumeSource| Modifier and Type | Class and Description |
|---|---|
static class |
VolumeSource.Builder
Represents the source of a volume to mount.
|
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| Modifier and Type | Field and Description |
|---|---|
static int |
AWSELASTICBLOCKSTORE_FIELD_NUMBER |
static int |
AZUREDISK_FIELD_NUMBER |
static int |
AZUREFILE_FIELD_NUMBER |
static int |
CEPHFS_FIELD_NUMBER |
static int |
CINDER_FIELD_NUMBER |
static int |
CONFIGMAP_FIELD_NUMBER |
static int |
DOWNWARDAPI_FIELD_NUMBER |
static int |
EMPTYDIR_FIELD_NUMBER |
static int |
FC_FIELD_NUMBER |
static int |
FLEXVOLUME_FIELD_NUMBER |
static int |
FLOCKER_FIELD_NUMBER |
static int |
GCEPERSISTENTDISK_FIELD_NUMBER |
static int |
GITREPO_FIELD_NUMBER |
static int |
GLUSTERFS_FIELD_NUMBER |
static int |
HOSTPATH_FIELD_NUMBER |
static int |
ISCSI_FIELD_NUMBER |
static int |
NFS_FIELD_NUMBER |
static int |
PERSISTENTVOLUMECLAIM_FIELD_NUMBER |
static int |
PHOTONPERSISTENTDISK_FIELD_NUMBER |
static int |
QUOBYTE_FIELD_NUMBER |
static int |
RBD_FIELD_NUMBER |
static int |
SECRET_FIELD_NUMBER |
static int |
VSPHEREVOLUME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
AWSElasticBlockStoreVolumeSource |
getAwsElasticBlockStore()
AWSElasticBlockStore represents an AWS Disk resource that is attached to a
kubelet's host machine and then exposed to the pod.
|
AWSElasticBlockStoreVolumeSourceOrBuilder |
getAwsElasticBlockStoreOrBuilder()
AWSElasticBlockStore represents an AWS Disk resource that is attached to a
kubelet's host machine and then exposed to the pod.
|
AzureDiskVolumeSource |
getAzureDisk()
AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
|
AzureDiskVolumeSourceOrBuilder |
getAzureDiskOrBuilder()
AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
|
AzureFileVolumeSource |
getAzureFile()
AzureFile represents an Azure File Service mount on the host and bind mount to the pod.
|
AzureFileVolumeSourceOrBuilder |
getAzureFileOrBuilder()
AzureFile represents an Azure File Service mount on the host and bind mount to the pod.
|
CephFSVolumeSource |
getCephfs()
CephFS represents a Ceph FS mount on the host that shares a pod's lifetime
+optional
|
CephFSVolumeSourceOrBuilder |
getCephfsOrBuilder()
CephFS represents a Ceph FS mount on the host that shares a pod's lifetime
+optional
|
CinderVolumeSource |
getCinder()
Cinder represents a cinder volume attached and mounted on kubelets host machine
More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
+optional
|
CinderVolumeSourceOrBuilder |
getCinderOrBuilder()
Cinder represents a cinder volume attached and mounted on kubelets host machine
More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
+optional
|
ConfigMapVolumeSource |
getConfigMap()
ConfigMap represents a configMap that should populate this volume
+optional
|
ConfigMapVolumeSourceOrBuilder |
getConfigMapOrBuilder()
ConfigMap represents a configMap that should populate this volume
+optional
|
static VolumeSource |
getDefaultInstance() |
VolumeSource |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
DownwardAPIVolumeSource |
getDownwardAPI()
DownwardAPI represents downward API about the pod that should populate this volume
+optional
|
DownwardAPIVolumeSourceOrBuilder |
getDownwardAPIOrBuilder()
DownwardAPI represents downward API about the pod that should populate this volume
+optional
|
EmptyDirVolumeSource |
getEmptyDir()
EmptyDir represents a temporary directory that shares a pod's lifetime.
|
EmptyDirVolumeSourceOrBuilder |
getEmptyDirOrBuilder()
EmptyDir represents a temporary directory that shares a pod's lifetime.
|
FCVolumeSource |
getFc()
FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.
|
FCVolumeSourceOrBuilder |
getFcOrBuilder()
FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.
|
FlexVolumeSource |
getFlexVolume()
FlexVolume represents a generic volume resource that is
provisioned/attached using an exec based plugin.
|
FlexVolumeSourceOrBuilder |
getFlexVolumeOrBuilder()
FlexVolume represents a generic volume resource that is
provisioned/attached using an exec based plugin.
|
FlockerVolumeSource |
getFlocker()
Flocker represents a Flocker volume attached to a kubelet's host machine.
|
FlockerVolumeSourceOrBuilder |
getFlockerOrBuilder()
Flocker represents a Flocker volume attached to a kubelet's host machine.
|
GCEPersistentDiskVolumeSource |
getGcePersistentDisk()
GCEPersistentDisk represents a GCE Disk resource that is attached to a
kubelet's host machine and then exposed to the pod.
|
GCEPersistentDiskVolumeSourceOrBuilder |
getGcePersistentDiskOrBuilder()
GCEPersistentDisk represents a GCE Disk resource that is attached to a
kubelet's host machine and then exposed to the pod.
|
GitRepoVolumeSource |
getGitRepo()
GitRepo represents a git repository at a particular revision.
|
GitRepoVolumeSourceOrBuilder |
getGitRepoOrBuilder()
GitRepo represents a git repository at a particular revision.
|
GlusterfsVolumeSource |
getGlusterfs()
Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.
|
GlusterfsVolumeSourceOrBuilder |
getGlusterfsOrBuilder()
Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.
|
HostPathVolumeSource |
getHostPath()
HostPath represents a pre-existing file or directory on the host
machine that is directly exposed to the container.
|
HostPathVolumeSourceOrBuilder |
getHostPathOrBuilder()
HostPath represents a pre-existing file or directory on the host
machine that is directly exposed to the container.
|
ISCSIVolumeSource |
getIscsi()
ISCSI represents an ISCSI Disk resource that is attached to a
kubelet's host machine and then exposed to the pod.
|
ISCSIVolumeSourceOrBuilder |
getIscsiOrBuilder()
ISCSI represents an ISCSI Disk resource that is attached to a
kubelet's host machine and then exposed to the pod.
|
NFSVolumeSource |
getNfs()
NFS represents an NFS mount on the host that shares a pod's lifetime
More info: http://kubernetes.io/docs/user-guide/volumes#nfs
+optional
|
NFSVolumeSourceOrBuilder |
getNfsOrBuilder()
NFS represents an NFS mount on the host that shares a pod's lifetime
More info: http://kubernetes.io/docs/user-guide/volumes#nfs
+optional
|
com.google.protobuf.Parser<VolumeSource> |
getParserForType() |
PersistentVolumeClaimVolumeSource |
getPersistentVolumeClaim()
PersistentVolumeClaimVolumeSource represents a reference to a
PersistentVolumeClaim in the same namespace.
|
PersistentVolumeClaimVolumeSourceOrBuilder |
getPersistentVolumeClaimOrBuilder()
PersistentVolumeClaimVolumeSource represents a reference to a
PersistentVolumeClaim in the same namespace.
|
PhotonPersistentDiskVolumeSource |
getPhotonPersistentDisk()
PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine
|
PhotonPersistentDiskVolumeSourceOrBuilder |
getPhotonPersistentDiskOrBuilder()
PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine
|
QuobyteVolumeSource |
getQuobyte()
Quobyte represents a Quobyte mount on the host that shares a pod's lifetime
+optional
|
QuobyteVolumeSourceOrBuilder |
getQuobyteOrBuilder()
Quobyte represents a Quobyte mount on the host that shares a pod's lifetime
+optional
|
RBDVolumeSource |
getRbd()
RBD represents a Rados Block Device mount on the host that shares a pod's lifetime.
|
RBDVolumeSourceOrBuilder |
getRbdOrBuilder()
RBD represents a Rados Block Device mount on the host that shares a pod's lifetime.
|
SecretVolumeSource |
getSecret()
Secret represents a secret that should populate this volume.
|
SecretVolumeSourceOrBuilder |
getSecretOrBuilder()
Secret represents a secret that should populate this volume.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
VsphereVirtualDiskVolumeSource |
getVsphereVolume()
VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine
+optional
|
VsphereVirtualDiskVolumeSourceOrBuilder |
getVsphereVolumeOrBuilder()
VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine
+optional
|
boolean |
hasAwsElasticBlockStore()
AWSElasticBlockStore represents an AWS Disk resource that is attached to a
kubelet's host machine and then exposed to the pod.
|
boolean |
hasAzureDisk()
AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
|
boolean |
hasAzureFile()
AzureFile represents an Azure File Service mount on the host and bind mount to the pod.
|
boolean |
hasCephfs()
CephFS represents a Ceph FS mount on the host that shares a pod's lifetime
+optional
|
boolean |
hasCinder()
Cinder represents a cinder volume attached and mounted on kubelets host machine
More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
+optional
|
boolean |
hasConfigMap()
ConfigMap represents a configMap that should populate this volume
+optional
|
boolean |
hasDownwardAPI()
DownwardAPI represents downward API about the pod that should populate this volume
+optional
|
boolean |
hasEmptyDir()
EmptyDir represents a temporary directory that shares a pod's lifetime.
|
boolean |
hasFc()
FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.
|
boolean |
hasFlexVolume()
FlexVolume represents a generic volume resource that is
provisioned/attached using an exec based plugin.
|
boolean |
hasFlocker()
Flocker represents a Flocker volume attached to a kubelet's host machine.
|
boolean |
hasGcePersistentDisk()
GCEPersistentDisk represents a GCE Disk resource that is attached to a
kubelet's host machine and then exposed to the pod.
|
boolean |
hasGitRepo()
GitRepo represents a git repository at a particular revision.
|
boolean |
hasGlusterfs()
Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.
|
int |
hashCode() |
boolean |
hasHostPath()
HostPath represents a pre-existing file or directory on the host
machine that is directly exposed to the container.
|
boolean |
hasIscsi()
ISCSI represents an ISCSI Disk resource that is attached to a
kubelet's host machine and then exposed to the pod.
|
boolean |
hasNfs()
NFS represents an NFS mount on the host that shares a pod's lifetime
More info: http://kubernetes.io/docs/user-guide/volumes#nfs
+optional
|
boolean |
hasPersistentVolumeClaim()
PersistentVolumeClaimVolumeSource represents a reference to a
PersistentVolumeClaim in the same namespace.
|
boolean |
hasPhotonPersistentDisk()
PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine
|
boolean |
hasQuobyte()
Quobyte represents a Quobyte mount on the host that shares a pod's lifetime
+optional
|
boolean |
hasRbd()
RBD represents a Rados Block Device mount on the host that shares a pod's lifetime.
|
boolean |
hasSecret()
Secret represents a secret that should populate this volume.
|
boolean |
hasVsphereVolume()
VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine
+optional
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static VolumeSource.Builder |
newBuilder() |
static VolumeSource.Builder |
newBuilder(VolumeSource prototype) |
VolumeSource.Builder |
newBuilderForType() |
protected VolumeSource.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static VolumeSource |
parseDelimitedFrom(java.io.InputStream input) |
static VolumeSource |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VolumeSource |
parseFrom(byte[] data) |
static VolumeSource |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VolumeSource |
parseFrom(com.google.protobuf.ByteString data) |
static VolumeSource |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VolumeSource |
parseFrom(com.google.protobuf.CodedInputStream input) |
static VolumeSource |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VolumeSource |
parseFrom(java.io.InputStream input) |
static VolumeSource |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<VolumeSource> |
parser() |
VolumeSource.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int HOSTPATH_FIELD_NUMBER
public static final int EMPTYDIR_FIELD_NUMBER
public static final int GCEPERSISTENTDISK_FIELD_NUMBER
public static final int AWSELASTICBLOCKSTORE_FIELD_NUMBER
public static final int GITREPO_FIELD_NUMBER
public static final int SECRET_FIELD_NUMBER
public static final int NFS_FIELD_NUMBER
public static final int ISCSI_FIELD_NUMBER
public static final int GLUSTERFS_FIELD_NUMBER
public static final int PERSISTENTVOLUMECLAIM_FIELD_NUMBER
public static final int RBD_FIELD_NUMBER
public static final int FLEXVOLUME_FIELD_NUMBER
public static final int CINDER_FIELD_NUMBER
public static final int CEPHFS_FIELD_NUMBER
public static final int FLOCKER_FIELD_NUMBER
public static final int DOWNWARDAPI_FIELD_NUMBER
public static final int FC_FIELD_NUMBER
public static final int AZUREFILE_FIELD_NUMBER
public static final int CONFIGMAP_FIELD_NUMBER
public static final int VSPHEREVOLUME_FIELD_NUMBER
public static final int QUOBYTE_FIELD_NUMBER
public static final int AZUREDISK_FIELD_NUMBER
public static final int PHOTONPERSISTENTDISK_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean 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: http://kubernetes.io/docs/user-guide/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 .appscode.kubernetes.v1beta2.HostPathVolumeSource hostPath = 1;hasHostPath in interface VolumeSourceOrBuilderpublic 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: http://kubernetes.io/docs/user-guide/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 .appscode.kubernetes.v1beta2.HostPathVolumeSource hostPath = 1;getHostPath in interface VolumeSourceOrBuilderpublic 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: http://kubernetes.io/docs/user-guide/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 .appscode.kubernetes.v1beta2.HostPathVolumeSource hostPath = 1;getHostPathOrBuilder in interface VolumeSourceOrBuilderpublic boolean hasEmptyDir()
EmptyDir represents a temporary directory that shares a pod's lifetime. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir +optional
optional .appscode.kubernetes.v1beta2.EmptyDirVolumeSource emptyDir = 2;hasEmptyDir in interface VolumeSourceOrBuilderpublic EmptyDirVolumeSource getEmptyDir()
EmptyDir represents a temporary directory that shares a pod's lifetime. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir +optional
optional .appscode.kubernetes.v1beta2.EmptyDirVolumeSource emptyDir = 2;getEmptyDir in interface VolumeSourceOrBuilderpublic EmptyDirVolumeSourceOrBuilder getEmptyDirOrBuilder()
EmptyDir represents a temporary directory that shares a pod's lifetime. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir +optional
optional .appscode.kubernetes.v1beta2.EmptyDirVolumeSource emptyDir = 2;getEmptyDirOrBuilder in interface VolumeSourceOrBuilderpublic boolean hasGcePersistentDisk()
GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk +optional
optional .appscode.kubernetes.v1beta2.GCEPersistentDiskVolumeSource gcePersistentDisk = 3;hasGcePersistentDisk in interface VolumeSourceOrBuilderpublic GCEPersistentDiskVolumeSource getGcePersistentDisk()
GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk +optional
optional .appscode.kubernetes.v1beta2.GCEPersistentDiskVolumeSource gcePersistentDisk = 3;getGcePersistentDisk in interface VolumeSourceOrBuilderpublic GCEPersistentDiskVolumeSourceOrBuilder getGcePersistentDiskOrBuilder()
GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk +optional
optional .appscode.kubernetes.v1beta2.GCEPersistentDiskVolumeSource gcePersistentDisk = 3;getGcePersistentDiskOrBuilder in interface VolumeSourceOrBuilderpublic 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: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore +optional
optional .appscode.kubernetes.v1beta2.AWSElasticBlockStoreVolumeSource awsElasticBlockStore = 4;hasAwsElasticBlockStore in interface VolumeSourceOrBuilderpublic AWSElasticBlockStoreVolumeSource getAwsElasticBlockStore()
AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore +optional
optional .appscode.kubernetes.v1beta2.AWSElasticBlockStoreVolumeSource awsElasticBlockStore = 4;getAwsElasticBlockStore in interface VolumeSourceOrBuilderpublic AWSElasticBlockStoreVolumeSourceOrBuilder getAwsElasticBlockStoreOrBuilder()
AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore +optional
optional .appscode.kubernetes.v1beta2.AWSElasticBlockStoreVolumeSource awsElasticBlockStore = 4;getAwsElasticBlockStoreOrBuilder in interface VolumeSourceOrBuilderpublic boolean hasGitRepo()
GitRepo represents a git repository at a particular revision. +optional
optional .appscode.kubernetes.v1beta2.GitRepoVolumeSource gitRepo = 5;hasGitRepo in interface VolumeSourceOrBuilderpublic GitRepoVolumeSource getGitRepo()
GitRepo represents a git repository at a particular revision. +optional
optional .appscode.kubernetes.v1beta2.GitRepoVolumeSource gitRepo = 5;getGitRepo in interface VolumeSourceOrBuilderpublic GitRepoVolumeSourceOrBuilder getGitRepoOrBuilder()
GitRepo represents a git repository at a particular revision. +optional
optional .appscode.kubernetes.v1beta2.GitRepoVolumeSource gitRepo = 5;getGitRepoOrBuilder in interface VolumeSourceOrBuilderpublic boolean hasSecret()
Secret represents a secret that should populate this volume. More info: http://kubernetes.io/docs/user-guide/volumes#secrets +optional
optional .appscode.kubernetes.v1beta2.SecretVolumeSource secret = 6;hasSecret in interface VolumeSourceOrBuilderpublic SecretVolumeSource getSecret()
Secret represents a secret that should populate this volume. More info: http://kubernetes.io/docs/user-guide/volumes#secrets +optional
optional .appscode.kubernetes.v1beta2.SecretVolumeSource secret = 6;getSecret in interface VolumeSourceOrBuilderpublic SecretVolumeSourceOrBuilder getSecretOrBuilder()
Secret represents a secret that should populate this volume. More info: http://kubernetes.io/docs/user-guide/volumes#secrets +optional
optional .appscode.kubernetes.v1beta2.SecretVolumeSource secret = 6;getSecretOrBuilder in interface VolumeSourceOrBuilderpublic boolean hasNfs()
NFS represents an NFS mount on the host that shares a pod's lifetime More info: http://kubernetes.io/docs/user-guide/volumes#nfs +optional
optional .appscode.kubernetes.v1beta2.NFSVolumeSource nfs = 7;hasNfs in interface VolumeSourceOrBuilderpublic NFSVolumeSource getNfs()
NFS represents an NFS mount on the host that shares a pod's lifetime More info: http://kubernetes.io/docs/user-guide/volumes#nfs +optional
optional .appscode.kubernetes.v1beta2.NFSVolumeSource nfs = 7;getNfs in interface VolumeSourceOrBuilderpublic NFSVolumeSourceOrBuilder getNfsOrBuilder()
NFS represents an NFS mount on the host that shares a pod's lifetime More info: http://kubernetes.io/docs/user-guide/volumes#nfs +optional
optional .appscode.kubernetes.v1beta2.NFSVolumeSource nfs = 7;getNfsOrBuilder in interface VolumeSourceOrBuilderpublic 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: http://releases.k8s.io/HEAD/examples/volumes/iscsi/README.md +optional
optional .appscode.kubernetes.v1beta2.ISCSIVolumeSource iscsi = 8;hasIscsi in interface VolumeSourceOrBuilderpublic 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: http://releases.k8s.io/HEAD/examples/volumes/iscsi/README.md +optional
optional .appscode.kubernetes.v1beta2.ISCSIVolumeSource iscsi = 8;getIscsi in interface VolumeSourceOrBuilderpublic 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: http://releases.k8s.io/HEAD/examples/volumes/iscsi/README.md +optional
optional .appscode.kubernetes.v1beta2.ISCSIVolumeSource iscsi = 8;getIscsiOrBuilder in interface VolumeSourceOrBuilderpublic boolean hasGlusterfs()
Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md +optional
optional .appscode.kubernetes.v1beta2.GlusterfsVolumeSource glusterfs = 9;hasGlusterfs in interface VolumeSourceOrBuilderpublic GlusterfsVolumeSource getGlusterfs()
Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md +optional
optional .appscode.kubernetes.v1beta2.GlusterfsVolumeSource glusterfs = 9;getGlusterfs in interface VolumeSourceOrBuilderpublic GlusterfsVolumeSourceOrBuilder getGlusterfsOrBuilder()
Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md +optional
optional .appscode.kubernetes.v1beta2.GlusterfsVolumeSource glusterfs = 9;getGlusterfsOrBuilder in interface VolumeSourceOrBuilderpublic boolean hasPersistentVolumeClaim()
PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims +optional
optional .appscode.kubernetes.v1beta2.PersistentVolumeClaimVolumeSource persistentVolumeClaim = 10;hasPersistentVolumeClaim in interface VolumeSourceOrBuilderpublic PersistentVolumeClaimVolumeSource getPersistentVolumeClaim()
PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims +optional
optional .appscode.kubernetes.v1beta2.PersistentVolumeClaimVolumeSource persistentVolumeClaim = 10;getPersistentVolumeClaim in interface VolumeSourceOrBuilderpublic PersistentVolumeClaimVolumeSourceOrBuilder getPersistentVolumeClaimOrBuilder()
PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims +optional
optional .appscode.kubernetes.v1beta2.PersistentVolumeClaimVolumeSource persistentVolumeClaim = 10;getPersistentVolumeClaimOrBuilder in interface VolumeSourceOrBuilderpublic boolean hasRbd()
RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md +optional
optional .appscode.kubernetes.v1beta2.RBDVolumeSource rbd = 11;hasRbd in interface VolumeSourceOrBuilderpublic RBDVolumeSource getRbd()
RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md +optional
optional .appscode.kubernetes.v1beta2.RBDVolumeSource rbd = 11;getRbd in interface VolumeSourceOrBuilderpublic RBDVolumeSourceOrBuilder getRbdOrBuilder()
RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md +optional
optional .appscode.kubernetes.v1beta2.RBDVolumeSource rbd = 11;getRbdOrBuilder in interface VolumeSourceOrBuilderpublic boolean hasFlexVolume()
FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. This is an alpha feature and may change in future. +optional
optional .appscode.kubernetes.v1beta2.FlexVolumeSource flexVolume = 12;hasFlexVolume in interface VolumeSourceOrBuilderpublic FlexVolumeSource getFlexVolume()
FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. This is an alpha feature and may change in future. +optional
optional .appscode.kubernetes.v1beta2.FlexVolumeSource flexVolume = 12;getFlexVolume in interface VolumeSourceOrBuilderpublic FlexVolumeSourceOrBuilder getFlexVolumeOrBuilder()
FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. This is an alpha feature and may change in future. +optional
optional .appscode.kubernetes.v1beta2.FlexVolumeSource flexVolume = 12;getFlexVolumeOrBuilder in interface VolumeSourceOrBuilderpublic boolean hasCinder()
Cinder represents a cinder volume attached and mounted on kubelets host machine More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md +optional
optional .appscode.kubernetes.v1beta2.CinderVolumeSource cinder = 13;hasCinder in interface VolumeSourceOrBuilderpublic CinderVolumeSource getCinder()
Cinder represents a cinder volume attached and mounted on kubelets host machine More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md +optional
optional .appscode.kubernetes.v1beta2.CinderVolumeSource cinder = 13;getCinder in interface VolumeSourceOrBuilderpublic CinderVolumeSourceOrBuilder getCinderOrBuilder()
Cinder represents a cinder volume attached and mounted on kubelets host machine More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md +optional
optional .appscode.kubernetes.v1beta2.CinderVolumeSource cinder = 13;getCinderOrBuilder in interface VolumeSourceOrBuilderpublic boolean hasCephfs()
CephFS represents a Ceph FS mount on the host that shares a pod's lifetime +optional
optional .appscode.kubernetes.v1beta2.CephFSVolumeSource cephfs = 14;hasCephfs in interface VolumeSourceOrBuilderpublic CephFSVolumeSource getCephfs()
CephFS represents a Ceph FS mount on the host that shares a pod's lifetime +optional
optional .appscode.kubernetes.v1beta2.CephFSVolumeSource cephfs = 14;getCephfs in interface VolumeSourceOrBuilderpublic CephFSVolumeSourceOrBuilder getCephfsOrBuilder()
CephFS represents a Ceph FS mount on the host that shares a pod's lifetime +optional
optional .appscode.kubernetes.v1beta2.CephFSVolumeSource cephfs = 14;getCephfsOrBuilder in interface VolumeSourceOrBuilderpublic boolean hasFlocker()
Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running +optional
optional .appscode.kubernetes.v1beta2.FlockerVolumeSource flocker = 15;hasFlocker in interface VolumeSourceOrBuilderpublic FlockerVolumeSource getFlocker()
Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running +optional
optional .appscode.kubernetes.v1beta2.FlockerVolumeSource flocker = 15;getFlocker in interface VolumeSourceOrBuilderpublic FlockerVolumeSourceOrBuilder getFlockerOrBuilder()
Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running +optional
optional .appscode.kubernetes.v1beta2.FlockerVolumeSource flocker = 15;getFlockerOrBuilder in interface VolumeSourceOrBuilderpublic boolean hasDownwardAPI()
DownwardAPI represents downward API about the pod that should populate this volume +optional
optional .appscode.kubernetes.v1beta2.DownwardAPIVolumeSource downwardAPI = 16;hasDownwardAPI in interface VolumeSourceOrBuilderpublic DownwardAPIVolumeSource getDownwardAPI()
DownwardAPI represents downward API about the pod that should populate this volume +optional
optional .appscode.kubernetes.v1beta2.DownwardAPIVolumeSource downwardAPI = 16;getDownwardAPI in interface VolumeSourceOrBuilderpublic DownwardAPIVolumeSourceOrBuilder getDownwardAPIOrBuilder()
DownwardAPI represents downward API about the pod that should populate this volume +optional
optional .appscode.kubernetes.v1beta2.DownwardAPIVolumeSource downwardAPI = 16;getDownwardAPIOrBuilder in interface VolumeSourceOrBuilderpublic 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 .appscode.kubernetes.v1beta2.FCVolumeSource fc = 17;hasFc in interface VolumeSourceOrBuilderpublic 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 .appscode.kubernetes.v1beta2.FCVolumeSource fc = 17;getFc in interface VolumeSourceOrBuilderpublic 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 .appscode.kubernetes.v1beta2.FCVolumeSource fc = 17;getFcOrBuilder in interface VolumeSourceOrBuilderpublic boolean hasAzureFile()
AzureFile represents an Azure File Service mount on the host and bind mount to the pod. +optional
optional .appscode.kubernetes.v1beta2.AzureFileVolumeSource azureFile = 18;hasAzureFile in interface VolumeSourceOrBuilderpublic AzureFileVolumeSource getAzureFile()
AzureFile represents an Azure File Service mount on the host and bind mount to the pod. +optional
optional .appscode.kubernetes.v1beta2.AzureFileVolumeSource azureFile = 18;getAzureFile in interface VolumeSourceOrBuilderpublic AzureFileVolumeSourceOrBuilder getAzureFileOrBuilder()
AzureFile represents an Azure File Service mount on the host and bind mount to the pod. +optional
optional .appscode.kubernetes.v1beta2.AzureFileVolumeSource azureFile = 18;getAzureFileOrBuilder in interface VolumeSourceOrBuilderpublic boolean hasConfigMap()
ConfigMap represents a configMap that should populate this volume +optional
optional .appscode.kubernetes.v1beta2.ConfigMapVolumeSource configMap = 19;hasConfigMap in interface VolumeSourceOrBuilderpublic ConfigMapVolumeSource getConfigMap()
ConfigMap represents a configMap that should populate this volume +optional
optional .appscode.kubernetes.v1beta2.ConfigMapVolumeSource configMap = 19;getConfigMap in interface VolumeSourceOrBuilderpublic ConfigMapVolumeSourceOrBuilder getConfigMapOrBuilder()
ConfigMap represents a configMap that should populate this volume +optional
optional .appscode.kubernetes.v1beta2.ConfigMapVolumeSource configMap = 19;getConfigMapOrBuilder in interface VolumeSourceOrBuilderpublic boolean hasVsphereVolume()
VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine +optional
optional .appscode.kubernetes.v1beta2.VsphereVirtualDiskVolumeSource vsphereVolume = 20;hasVsphereVolume in interface VolumeSourceOrBuilderpublic VsphereVirtualDiskVolumeSource getVsphereVolume()
VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine +optional
optional .appscode.kubernetes.v1beta2.VsphereVirtualDiskVolumeSource vsphereVolume = 20;getVsphereVolume in interface VolumeSourceOrBuilderpublic VsphereVirtualDiskVolumeSourceOrBuilder getVsphereVolumeOrBuilder()
VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine +optional
optional .appscode.kubernetes.v1beta2.VsphereVirtualDiskVolumeSource vsphereVolume = 20;getVsphereVolumeOrBuilder in interface VolumeSourceOrBuilderpublic boolean hasQuobyte()
Quobyte represents a Quobyte mount on the host that shares a pod's lifetime +optional
optional .appscode.kubernetes.v1beta2.QuobyteVolumeSource quobyte = 21;hasQuobyte in interface VolumeSourceOrBuilderpublic QuobyteVolumeSource getQuobyte()
Quobyte represents a Quobyte mount on the host that shares a pod's lifetime +optional
optional .appscode.kubernetes.v1beta2.QuobyteVolumeSource quobyte = 21;getQuobyte in interface VolumeSourceOrBuilderpublic QuobyteVolumeSourceOrBuilder getQuobyteOrBuilder()
Quobyte represents a Quobyte mount on the host that shares a pod's lifetime +optional
optional .appscode.kubernetes.v1beta2.QuobyteVolumeSource quobyte = 21;getQuobyteOrBuilder in interface VolumeSourceOrBuilderpublic boolean hasAzureDisk()
AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. +optional
optional .appscode.kubernetes.v1beta2.AzureDiskVolumeSource azureDisk = 22;hasAzureDisk in interface VolumeSourceOrBuilderpublic AzureDiskVolumeSource getAzureDisk()
AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. +optional
optional .appscode.kubernetes.v1beta2.AzureDiskVolumeSource azureDisk = 22;getAzureDisk in interface VolumeSourceOrBuilderpublic AzureDiskVolumeSourceOrBuilder getAzureDiskOrBuilder()
AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. +optional
optional .appscode.kubernetes.v1beta2.AzureDiskVolumeSource azureDisk = 22;getAzureDiskOrBuilder in interface VolumeSourceOrBuilderpublic boolean hasPhotonPersistentDisk()
PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine
optional .appscode.kubernetes.v1beta2.PhotonPersistentDiskVolumeSource photonPersistentDisk = 23;hasPhotonPersistentDisk in interface VolumeSourceOrBuilderpublic PhotonPersistentDiskVolumeSource getPhotonPersistentDisk()
PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine
optional .appscode.kubernetes.v1beta2.PhotonPersistentDiskVolumeSource photonPersistentDisk = 23;getPhotonPersistentDisk in interface VolumeSourceOrBuilderpublic PhotonPersistentDiskVolumeSourceOrBuilder getPhotonPersistentDiskOrBuilder()
PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine
optional .appscode.kubernetes.v1beta2.PhotonPersistentDiskVolumeSource photonPersistentDisk = 23;getPhotonPersistentDiskOrBuilder in interface VolumeSourceOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static VolumeSource parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VolumeSource parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VolumeSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VolumeSource parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VolumeSource parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static VolumeSource parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static VolumeSource parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static VolumeSource parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static VolumeSource parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static VolumeSource parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic VolumeSource.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static VolumeSource.Builder newBuilder()
public static VolumeSource.Builder newBuilder(VolumeSource prototype)
public VolumeSource.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected VolumeSource.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static VolumeSource getDefaultInstance()
public static com.google.protobuf.Parser<VolumeSource> parser()
public com.google.protobuf.Parser<VolumeSource> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public VolumeSource getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder