Package io.kubernetes.client.proto
Interface V1.PersistentVolumeSpecOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
V1.PersistentVolumeSpec,V1.PersistentVolumeSpec.Builder
- Enclosing class:
- V1
public static interface V1.PersistentVolumeSpecOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsCapacity(String key) A description of the persistent volume's resources and capacity.getAccessModes(int index) AccessModes contains all ways the volume can be mounted.com.google.protobuf.ByteStringgetAccessModesBytes(int index) AccessModes contains all ways the volume can be mounted.intAccessModes contains all ways the volume can be mounted.AccessModes contains all ways the volume can be mounted.Deprecated.intA description of the persistent volume's resources and capacity.A description of the persistent volume's resources and capacity.getCapacityOrDefault(String key, Resource.Quantity defaultValue) A description of the persistent volume's resources and capacity.getCapacityOrThrow(String key) A description of the persistent volume's resources and capacity.ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim.ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim.getMountOptions(int index) A list of mount options, e.g.com.google.protobuf.ByteStringgetMountOptionsBytes(int index) A list of mount options, e.g.intA list of mount options, e.g.A list of mount options, e.g.NodeAffinity defines constraints that limit what nodes this volume can be accessed from.NodeAffinity defines constraints that limit what nodes this volume can be accessed from.What happens to a persistent volume when released from its claim.com.google.protobuf.ByteStringWhat happens to a persistent volume when released from its claim.The actual volume backing the persistent volume.The actual volume backing the persistent volume.Name of StorageClass to which this persistent volume belongs.com.google.protobuf.ByteStringName of StorageClass to which this persistent volume belongs.volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state.com.google.protobuf.ByteStringvolumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state.booleanClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim.booleanNodeAffinity defines constraints that limit what nodes this volume can be accessed from.booleanWhat happens to a persistent volume when released from its claim.booleanThe actual volume backing the persistent volume.booleanName of StorageClass to which this persistent volume belongs.booleanvolumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getCapacityCount
int getCapacityCount()A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> capacity = 1; -
containsCapacity
A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> capacity = 1; -
getCapacity
Deprecated.UsegetCapacityMap()instead. -
getCapacityMap
Map<String,Resource.Quantity> getCapacityMap()A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> capacity = 1; -
getCapacityOrDefault
A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> capacity = 1; -
getCapacityOrThrow
A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> capacity = 1; -
hasPersistentVolumeSource
boolean hasPersistentVolumeSource()The actual volume backing the persistent volume.
optional .k8s.io.api.core.v1.PersistentVolumeSource persistentVolumeSource = 2; -
getPersistentVolumeSource
V1.PersistentVolumeSource getPersistentVolumeSource()The actual volume backing the persistent volume.
optional .k8s.io.api.core.v1.PersistentVolumeSource persistentVolumeSource = 2; -
getPersistentVolumeSourceOrBuilder
V1.PersistentVolumeSourceOrBuilder getPersistentVolumeSourceOrBuilder()The actual volume backing the persistent volume.
optional .k8s.io.api.core.v1.PersistentVolumeSource persistentVolumeSource = 2; -
getAccessModesList
AccessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes +optional
repeated string accessModes = 3; -
getAccessModesCount
int getAccessModesCount()AccessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes +optional
repeated string accessModes = 3; -
getAccessModes
AccessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes +optional
repeated string accessModes = 3; -
getAccessModesBytes
com.google.protobuf.ByteString getAccessModesBytes(int index) AccessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes +optional
repeated string accessModes = 3; -
hasClaimRef
boolean hasClaimRef()ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding +optional
optional .k8s.io.api.core.v1.ObjectReference claimRef = 4; -
getClaimRef
V1.ObjectReference getClaimRef()ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding +optional
optional .k8s.io.api.core.v1.ObjectReference claimRef = 4; -
getClaimRefOrBuilder
V1.ObjectReferenceOrBuilder getClaimRefOrBuilder()ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding +optional
optional .k8s.io.api.core.v1.ObjectReference claimRef = 4; -
hasPersistentVolumeReclaimPolicy
boolean hasPersistentVolumeReclaimPolicy()What happens to a persistent volume when released from its claim. Valid options are Retain (default for manually created PersistentVolumes), Delete (default for dynamically provisioned PersistentVolumes), and Recycle (deprecated). Recycle must be supported by the volume plugin underlying this PersistentVolume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming +optional
optional string persistentVolumeReclaimPolicy = 5; -
getPersistentVolumeReclaimPolicy
String getPersistentVolumeReclaimPolicy()What happens to a persistent volume when released from its claim. Valid options are Retain (default for manually created PersistentVolumes), Delete (default for dynamically provisioned PersistentVolumes), and Recycle (deprecated). Recycle must be supported by the volume plugin underlying this PersistentVolume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming +optional
optional string persistentVolumeReclaimPolicy = 5; -
getPersistentVolumeReclaimPolicyBytes
com.google.protobuf.ByteString getPersistentVolumeReclaimPolicyBytes()What happens to a persistent volume when released from its claim. Valid options are Retain (default for manually created PersistentVolumes), Delete (default for dynamically provisioned PersistentVolumes), and Recycle (deprecated). Recycle must be supported by the volume plugin underlying this PersistentVolume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming +optional
optional string persistentVolumeReclaimPolicy = 5; -
hasStorageClassName
boolean hasStorageClassName()Name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass. +optional
optional string storageClassName = 6; -
getStorageClassName
String getStorageClassName()Name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass. +optional
optional string storageClassName = 6; -
getStorageClassNameBytes
com.google.protobuf.ByteString getStorageClassNameBytes()Name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass. +optional
optional string storageClassName = 6; -
getMountOptionsList
A list of mount options, e.g. ["ro", "soft"]. Not validated - mount will simply fail if one is invalid. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options +optional
repeated string mountOptions = 7; -
getMountOptionsCount
int getMountOptionsCount()A list of mount options, e.g. ["ro", "soft"]. Not validated - mount will simply fail if one is invalid. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options +optional
repeated string mountOptions = 7; -
getMountOptions
A list of mount options, e.g. ["ro", "soft"]. Not validated - mount will simply fail if one is invalid. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options +optional
repeated string mountOptions = 7; -
getMountOptionsBytes
com.google.protobuf.ByteString getMountOptionsBytes(int index) A list of mount options, e.g. ["ro", "soft"]. Not validated - mount will simply fail if one is invalid. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options +optional
repeated string mountOptions = 7; -
hasVolumeMode
boolean hasVolumeMode()volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec. +optional
optional string volumeMode = 8; -
getVolumeMode
String getVolumeMode()volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec. +optional
optional string volumeMode = 8; -
getVolumeModeBytes
com.google.protobuf.ByteString getVolumeModeBytes()volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec. +optional
optional string volumeMode = 8; -
hasNodeAffinity
boolean hasNodeAffinity()NodeAffinity defines constraints that limit what nodes this volume can be accessed from. This field influences the scheduling of pods that use this volume. +optional
optional .k8s.io.api.core.v1.VolumeNodeAffinity nodeAffinity = 9; -
getNodeAffinity
V1.VolumeNodeAffinity getNodeAffinity()NodeAffinity defines constraints that limit what nodes this volume can be accessed from. This field influences the scheduling of pods that use this volume. +optional
optional .k8s.io.api.core.v1.VolumeNodeAffinity nodeAffinity = 9; -
getNodeAffinityOrBuilder
V1.VolumeNodeAffinityOrBuilder getNodeAffinityOrBuilder()NodeAffinity defines constraints that limit what nodes this volume can be accessed from. This field influences the scheduling of pods that use this volume. +optional
optional .k8s.io.api.core.v1.VolumeNodeAffinity nodeAffinity = 9;
-