public static final class V1.PersistentVolumeSpec.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeSpec.Builder> implements V1.PersistentVolumeSpecOrBuilder
PersistentVolumeSpec is the specification of a persistent volume.Protobuf type
k8s.io.api.core.v1.PersistentVolumeSpec| Modifier and Type | Method and Description |
|---|---|
V1.PersistentVolumeSpec.Builder |
addAccessModes(String value)
AccessModes contains all ways the volume can be mounted.
|
V1.PersistentVolumeSpec.Builder |
addAccessModesBytes(com.google.protobuf.ByteString value)
AccessModes contains all ways the volume can be mounted.
|
V1.PersistentVolumeSpec.Builder |
addAllAccessModes(Iterable<String> values)
AccessModes contains all ways the volume can be mounted.
|
V1.PersistentVolumeSpec.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.PersistentVolumeSpec |
build() |
V1.PersistentVolumeSpec |
buildPartial() |
V1.PersistentVolumeSpec.Builder |
clear() |
V1.PersistentVolumeSpec.Builder |
clearAccessModes()
AccessModes contains all ways the volume can be mounted.
|
V1.PersistentVolumeSpec.Builder |
clearCapacity() |
V1.PersistentVolumeSpec.Builder |
clearClaimRef()
ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim.
|
V1.PersistentVolumeSpec.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1.PersistentVolumeSpec.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1.PersistentVolumeSpec.Builder |
clearPersistentVolumeReclaimPolicy()
What happens to a persistent volume when released from its claim.
|
V1.PersistentVolumeSpec.Builder |
clearPersistentVolumeSource()
The actual volume backing the persistent volume.
|
V1.PersistentVolumeSpec.Builder |
clearStorageClassName()
Name of StorageClass to which this persistent volume belongs.
|
V1.PersistentVolumeSpec.Builder |
clone() |
boolean |
containsCapacity(String key)
A description of the persistent volume's resources and capacity.
|
String |
getAccessModes(int index)
AccessModes contains all ways the volume can be mounted.
|
com.google.protobuf.ByteString |
getAccessModesBytes(int index)
AccessModes contains all ways the volume can be mounted.
|
int |
getAccessModesCount()
AccessModes contains all ways the volume can be mounted.
|
com.google.protobuf.ProtocolStringList |
getAccessModesList()
AccessModes contains all ways the volume can be mounted.
|
Map<String,Resource.Quantity> |
getCapacity()
Deprecated.
|
int |
getCapacityCount()
A description of the persistent volume's resources and capacity.
|
Map<String,Resource.Quantity> |
getCapacityMap()
A description of the persistent volume's resources and capacity.
|
Resource.Quantity |
getCapacityOrDefault(String key,
Resource.Quantity defaultValue)
A description of the persistent volume's resources and capacity.
|
Resource.Quantity |
getCapacityOrThrow(String key)
A description of the persistent volume's resources and capacity.
|
V1.ObjectReference |
getClaimRef()
ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim.
|
V1.ObjectReference.Builder |
getClaimRefBuilder()
ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim.
|
V1.ObjectReferenceOrBuilder |
getClaimRefOrBuilder()
ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim.
|
V1.PersistentVolumeSpec |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Map<String,Resource.Quantity> |
getMutableCapacity()
Deprecated.
|
String |
getPersistentVolumeReclaimPolicy()
What happens to a persistent volume when released from its claim.
|
com.google.protobuf.ByteString |
getPersistentVolumeReclaimPolicyBytes()
What happens to a persistent volume when released from its claim.
|
V1.PersistentVolumeSource |
getPersistentVolumeSource()
The actual volume backing the persistent volume.
|
V1.PersistentVolumeSource.Builder |
getPersistentVolumeSourceBuilder()
The actual volume backing the persistent volume.
|
V1.PersistentVolumeSourceOrBuilder |
getPersistentVolumeSourceOrBuilder()
The actual volume backing the persistent volume.
|
String |
getStorageClassName()
Name of StorageClass to which this persistent volume belongs.
|
com.google.protobuf.ByteString |
getStorageClassNameBytes()
Name of StorageClass to which this persistent volume belongs.
|
boolean |
hasClaimRef()
ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim.
|
boolean |
hasPersistentVolumeReclaimPolicy()
What happens to a persistent volume when released from its claim.
|
boolean |
hasPersistentVolumeSource()
The actual volume backing the persistent volume.
|
boolean |
hasStorageClassName()
Name of StorageClass to which this persistent volume belongs.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
V1.PersistentVolumeSpec.Builder |
mergeClaimRef(V1.ObjectReference value)
ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim.
|
V1.PersistentVolumeSpec.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1.PersistentVolumeSpec.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1.PersistentVolumeSpec.Builder |
mergeFrom(V1.PersistentVolumeSpec other) |
V1.PersistentVolumeSpec.Builder |
mergePersistentVolumeSource(V1.PersistentVolumeSource value)
The actual volume backing the persistent volume.
|
V1.PersistentVolumeSpec.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1.PersistentVolumeSpec.Builder |
putAllCapacity(Map<String,Resource.Quantity> values)
A description of the persistent volume's resources and capacity.
|
V1.PersistentVolumeSpec.Builder |
putCapacity(String key,
Resource.Quantity value)
A description of the persistent volume's resources and capacity.
|
V1.PersistentVolumeSpec.Builder |
removeCapacity(String key)
A description of the persistent volume's resources and capacity.
|
V1.PersistentVolumeSpec.Builder |
setAccessModes(int index,
String value)
AccessModes contains all ways the volume can be mounted.
|
V1.PersistentVolumeSpec.Builder |
setClaimRef(V1.ObjectReference.Builder builderForValue)
ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim.
|
V1.PersistentVolumeSpec.Builder |
setClaimRef(V1.ObjectReference value)
ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim.
|
V1.PersistentVolumeSpec.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.PersistentVolumeSpec.Builder |
setPersistentVolumeReclaimPolicy(String value)
What happens to a persistent volume when released from its claim.
|
V1.PersistentVolumeSpec.Builder |
setPersistentVolumeReclaimPolicyBytes(com.google.protobuf.ByteString value)
What happens to a persistent volume when released from its claim.
|
V1.PersistentVolumeSpec.Builder |
setPersistentVolumeSource(V1.PersistentVolumeSource.Builder builderForValue)
The actual volume backing the persistent volume.
|
V1.PersistentVolumeSpec.Builder |
setPersistentVolumeSource(V1.PersistentVolumeSource value)
The actual volume backing the persistent volume.
|
V1.PersistentVolumeSpec.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1.PersistentVolumeSpec.Builder |
setStorageClassName(String value)
Name of StorageClass to which this persistent volume belongs.
|
V1.PersistentVolumeSpec.Builder |
setStorageClassNameBytes(com.google.protobuf.ByteString value)
Name of StorageClass to which this persistent volume belongs.
|
V1.PersistentVolumeSpec.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeSpec.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeSpec.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeSpec.Builder>public V1.PersistentVolumeSpec.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeSpec.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeSpec.Builder>public V1.PersistentVolumeSpec getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1.PersistentVolumeSpec build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1.PersistentVolumeSpec buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1.PersistentVolumeSpec.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeSpec.Builder>public V1.PersistentVolumeSpec.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeSpec.Builder>public V1.PersistentVolumeSpec.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeSpec.Builder>public V1.PersistentVolumeSpec.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeSpec.Builder>public V1.PersistentVolumeSpec.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeSpec.Builder>public V1.PersistentVolumeSpec.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeSpec.Builder>public V1.PersistentVolumeSpec.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.PersistentVolumeSpec.Builder>public V1.PersistentVolumeSpec.Builder mergeFrom(V1.PersistentVolumeSpec other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeSpec.Builder>public V1.PersistentVolumeSpec.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.PersistentVolumeSpec.Builder>IOExceptionpublic int getCapacityCount()
V1.PersistentVolumeSpecOrBuilderA 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;getCapacityCount in interface V1.PersistentVolumeSpecOrBuilderpublic boolean containsCapacity(String key)
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 in interface V1.PersistentVolumeSpecOrBuilder@Deprecated public Map<String,Resource.Quantity> getCapacity()
getCapacityMap() instead.getCapacity in interface V1.PersistentVolumeSpecOrBuilderpublic 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;getCapacityMap in interface V1.PersistentVolumeSpecOrBuilderpublic Resource.Quantity getCapacityOrDefault(String key, Resource.Quantity defaultValue)
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 in interface V1.PersistentVolumeSpecOrBuilderpublic Resource.Quantity getCapacityOrThrow(String key)
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 in interface V1.PersistentVolumeSpecOrBuilderpublic V1.PersistentVolumeSpec.Builder clearCapacity()
public V1.PersistentVolumeSpec.Builder removeCapacity(String key)
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;@Deprecated public Map<String,Resource.Quantity> getMutableCapacity()
public V1.PersistentVolumeSpec.Builder putCapacity(String key, Resource.Quantity value)
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;public V1.PersistentVolumeSpec.Builder putAllCapacity(Map<String,Resource.Quantity> values)
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;public boolean hasPersistentVolumeSource()
The actual volume backing the persistent volume.
optional .k8s.io.api.core.v1.PersistentVolumeSource persistentVolumeSource = 2;hasPersistentVolumeSource in interface V1.PersistentVolumeSpecOrBuilderpublic V1.PersistentVolumeSource getPersistentVolumeSource()
The actual volume backing the persistent volume.
optional .k8s.io.api.core.v1.PersistentVolumeSource persistentVolumeSource = 2;getPersistentVolumeSource in interface V1.PersistentVolumeSpecOrBuilderpublic V1.PersistentVolumeSpec.Builder setPersistentVolumeSource(V1.PersistentVolumeSource value)
The actual volume backing the persistent volume.
optional .k8s.io.api.core.v1.PersistentVolumeSource persistentVolumeSource = 2;public V1.PersistentVolumeSpec.Builder setPersistentVolumeSource(V1.PersistentVolumeSource.Builder builderForValue)
The actual volume backing the persistent volume.
optional .k8s.io.api.core.v1.PersistentVolumeSource persistentVolumeSource = 2;public V1.PersistentVolumeSpec.Builder mergePersistentVolumeSource(V1.PersistentVolumeSource value)
The actual volume backing the persistent volume.
optional .k8s.io.api.core.v1.PersistentVolumeSource persistentVolumeSource = 2;public V1.PersistentVolumeSpec.Builder clearPersistentVolumeSource()
The actual volume backing the persistent volume.
optional .k8s.io.api.core.v1.PersistentVolumeSource persistentVolumeSource = 2;public V1.PersistentVolumeSource.Builder getPersistentVolumeSourceBuilder()
The actual volume backing the persistent volume.
optional .k8s.io.api.core.v1.PersistentVolumeSource persistentVolumeSource = 2;public V1.PersistentVolumeSourceOrBuilder getPersistentVolumeSourceOrBuilder()
The actual volume backing the persistent volume.
optional .k8s.io.api.core.v1.PersistentVolumeSource persistentVolumeSource = 2;getPersistentVolumeSourceOrBuilder in interface V1.PersistentVolumeSpecOrBuilderpublic com.google.protobuf.ProtocolStringList 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;getAccessModesList in interface V1.PersistentVolumeSpecOrBuilderpublic 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;getAccessModesCount in interface V1.PersistentVolumeSpecOrBuilderpublic String getAccessModes(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;getAccessModes in interface V1.PersistentVolumeSpecOrBuilderpublic 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;getAccessModesBytes in interface V1.PersistentVolumeSpecOrBuilderpublic V1.PersistentVolumeSpec.Builder setAccessModes(int index, String value)
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;public V1.PersistentVolumeSpec.Builder addAccessModes(String value)
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;public V1.PersistentVolumeSpec.Builder addAllAccessModes(Iterable<String> values)
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;public V1.PersistentVolumeSpec.Builder clearAccessModes()
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;public V1.PersistentVolumeSpec.Builder addAccessModesBytes(com.google.protobuf.ByteString value)
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;public 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;hasClaimRef in interface V1.PersistentVolumeSpecOrBuilderpublic 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;getClaimRef in interface V1.PersistentVolumeSpecOrBuilderpublic V1.PersistentVolumeSpec.Builder setClaimRef(V1.ObjectReference value)
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;public V1.PersistentVolumeSpec.Builder setClaimRef(V1.ObjectReference.Builder builderForValue)
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;public V1.PersistentVolumeSpec.Builder mergeClaimRef(V1.ObjectReference value)
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;public V1.PersistentVolumeSpec.Builder clearClaimRef()
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;public V1.ObjectReference.Builder getClaimRefBuilder()
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;public 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;getClaimRefOrBuilder in interface V1.PersistentVolumeSpecOrBuilderpublic boolean hasPersistentVolumeReclaimPolicy()
What happens to a persistent volume when released from its claim. Valid options are Retain (default) and Recycle. Recycling must be supported by the volume plugin underlying this persistent volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming +optional
optional string persistentVolumeReclaimPolicy = 5;hasPersistentVolumeReclaimPolicy in interface V1.PersistentVolumeSpecOrBuilderpublic String getPersistentVolumeReclaimPolicy()
What happens to a persistent volume when released from its claim. Valid options are Retain (default) and Recycle. Recycling must be supported by the volume plugin underlying this persistent volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming +optional
optional string persistentVolumeReclaimPolicy = 5;getPersistentVolumeReclaimPolicy in interface V1.PersistentVolumeSpecOrBuilderpublic com.google.protobuf.ByteString getPersistentVolumeReclaimPolicyBytes()
What happens to a persistent volume when released from its claim. Valid options are Retain (default) and Recycle. Recycling must be supported by the volume plugin underlying this persistent volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming +optional
optional string persistentVolumeReclaimPolicy = 5;getPersistentVolumeReclaimPolicyBytes in interface V1.PersistentVolumeSpecOrBuilderpublic V1.PersistentVolumeSpec.Builder setPersistentVolumeReclaimPolicy(String value)
What happens to a persistent volume when released from its claim. Valid options are Retain (default) and Recycle. Recycling must be supported by the volume plugin underlying this persistent volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming +optional
optional string persistentVolumeReclaimPolicy = 5;public V1.PersistentVolumeSpec.Builder clearPersistentVolumeReclaimPolicy()
What happens to a persistent volume when released from its claim. Valid options are Retain (default) and Recycle. Recycling must be supported by the volume plugin underlying this persistent volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming +optional
optional string persistentVolumeReclaimPolicy = 5;public V1.PersistentVolumeSpec.Builder setPersistentVolumeReclaimPolicyBytes(com.google.protobuf.ByteString value)
What happens to a persistent volume when released from its claim. Valid options are Retain (default) and Recycle. Recycling must be supported by the volume plugin underlying this persistent volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming +optional
optional string persistentVolumeReclaimPolicy = 5;public 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;hasStorageClassName in interface V1.PersistentVolumeSpecOrBuilderpublic 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;getStorageClassName in interface V1.PersistentVolumeSpecOrBuilderpublic 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;getStorageClassNameBytes in interface V1.PersistentVolumeSpecOrBuilderpublic V1.PersistentVolumeSpec.Builder setStorageClassName(String value)
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;public V1.PersistentVolumeSpec.Builder clearStorageClassName()
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;public V1.PersistentVolumeSpec.Builder setStorageClassNameBytes(com.google.protobuf.ByteString value)
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;public final V1.PersistentVolumeSpec.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeSpec.Builder>public final V1.PersistentVolumeSpec.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeSpec.Builder>Copyright © 2018. All rights reserved.