Package io.kubernetes.client.proto
Class V1.PersistentVolumeSpec.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeSpec.Builder>
io.kubernetes.client.proto.V1.PersistentVolumeSpec.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,V1.PersistentVolumeSpecOrBuilder,Cloneable
- Enclosing class:
- V1.PersistentVolumeSpec
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-
Method Summary
Modifier and TypeMethodDescriptionaddAccessModes(String value) AccessModes contains all ways the volume can be mounted.addAccessModesBytes(com.google.protobuf.ByteString value) AccessModes contains all ways the volume can be mounted.addAllAccessModes(Iterable<String> values) AccessModes contains all ways the volume can be mounted.addAllMountOptions(Iterable<String> values) A list of mount options, e.g.addMountOptions(String value) A list of mount options, e.g.addMountOptionsBytes(com.google.protobuf.ByteString value) A list of mount options, e.g.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()AccessModes contains all ways the volume can be mounted.ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) A list of mount options, e.g.NodeAffinity defines constraints that limit what nodes this volume can be accessed from.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) What happens to a persistent volume when released from its claim.The actual volume backing the persistent volume.Name 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.clone()booleancontainsCapacity(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.com.google.protobuf.ProtocolStringListAccessModes 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.ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetMountOptions(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.com.google.protobuf.ProtocolStringListA list of mount options, e.g.Deprecated.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.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.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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldinternalGetMapField(int number) protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number) final booleanmergeClaimRef(V1.ObjectReference value) ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(V1.PersistentVolumeSpec other) NodeAffinity defines constraints that limit what nodes this volume can be accessed from.The actual volume backing the persistent volume.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) putAllCapacity(Map<String, Resource.Quantity> values) A description of the persistent volume's resources and capacity.putCapacity(String key, Resource.Quantity value) A description of the persistent volume's resources and capacity.removeCapacity(String key) A description of the persistent volume's resources and capacity.setAccessModes(int index, String value) AccessModes contains all ways the volume can be mounted.setClaimRef(V1.ObjectReference value) ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim.setClaimRef(V1.ObjectReference.Builder builderForValue) ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim.setMountOptions(int index, String value) A list of mount options, e.g.NodeAffinity defines constraints that limit what nodes this volume can be accessed from.setNodeAffinity(V1.VolumeNodeAffinity.Builder builderForValue) NodeAffinity defines constraints that limit what nodes this volume can be accessed from.What happens to a persistent volume when released from its claim.setPersistentVolumeReclaimPolicyBytes(com.google.protobuf.ByteString value) What happens to a persistent volume when released from its claim.The actual volume backing the persistent volume.setPersistentVolumeSource(V1.PersistentVolumeSource.Builder builderForValue) The actual volume backing the persistent volume.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setStorageClassName(String value) Name of StorageClass to which this persistent volume belongs.setStorageClassNameBytes(com.google.protobuf.ByteString value) Name of StorageClass to which this persistent volume belongs.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setVolumeMode(String value) volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state.setVolumeModeBytes(com.google.protobuf.ByteString value) volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number) - Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeSpec.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number) - Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeSpec.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeSpec.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeSpec.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeSpec.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeSpec.Builder>
-
setField
public V1.PersistentVolumeSpec.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeSpec.Builder>
-
clearField
public V1.PersistentVolumeSpec.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeSpec.Builder>
-
clearOneof
public V1.PersistentVolumeSpec.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeSpec.Builder>
-
setRepeatedField
public V1.PersistentVolumeSpec.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeSpec.Builder>
-
addRepeatedField
public V1.PersistentVolumeSpec.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeSpec.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<V1.PersistentVolumeSpec.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeSpec.Builder>
-
mergeFrom
public V1.PersistentVolumeSpec.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<V1.PersistentVolumeSpec.Builder>- Throws:
IOException
-
getCapacityCount
public int getCapacityCount()Description copied from interface: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;- Specified by:
getCapacityCountin interfaceV1.PersistentVolumeSpecOrBuilder
-
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;- Specified by:
containsCapacityin interfaceV1.PersistentVolumeSpecOrBuilder
-
getCapacity
Deprecated.UsegetCapacityMap()instead.- Specified by:
getCapacityin interfaceV1.PersistentVolumeSpecOrBuilder
-
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;- Specified by:
getCapacityMapin interfaceV1.PersistentVolumeSpecOrBuilder
-
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;- Specified by:
getCapacityOrDefaultin interfaceV1.PersistentVolumeSpecOrBuilder
-
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;- Specified by:
getCapacityOrThrowin interfaceV1.PersistentVolumeSpecOrBuilder
-
clearCapacity
-
removeCapacity
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; -
getMutableCapacity
Deprecated.Use alternate mutation accessors instead. -
putCapacity
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; -
putAllCapacity
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
public boolean hasPersistentVolumeSource()The actual volume backing the persistent volume.
optional .k8s.io.api.core.v1.PersistentVolumeSource persistentVolumeSource = 2;- Specified by:
hasPersistentVolumeSourcein interfaceV1.PersistentVolumeSpecOrBuilder
-
getPersistentVolumeSource
The actual volume backing the persistent volume.
optional .k8s.io.api.core.v1.PersistentVolumeSource persistentVolumeSource = 2;- Specified by:
getPersistentVolumeSourcein interfaceV1.PersistentVolumeSpecOrBuilder
-
setPersistentVolumeSource
The actual volume backing the persistent volume.
optional .k8s.io.api.core.v1.PersistentVolumeSource persistentVolumeSource = 2; -
setPersistentVolumeSource
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; -
mergePersistentVolumeSource
The actual volume backing the persistent volume.
optional .k8s.io.api.core.v1.PersistentVolumeSource persistentVolumeSource = 2; -
clearPersistentVolumeSource
The actual volume backing the persistent volume.
optional .k8s.io.api.core.v1.PersistentVolumeSource persistentVolumeSource = 2; -
getPersistentVolumeSourceBuilder
The actual volume backing the persistent volume.
optional .k8s.io.api.core.v1.PersistentVolumeSource persistentVolumeSource = 2; -
getPersistentVolumeSourceOrBuilder
The actual volume backing the persistent volume.
optional .k8s.io.api.core.v1.PersistentVolumeSource persistentVolumeSource = 2;- Specified by:
getPersistentVolumeSourceOrBuilderin interfaceV1.PersistentVolumeSpecOrBuilder
-
getAccessModesList
public 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;- Specified by:
getAccessModesListin interfaceV1.PersistentVolumeSpecOrBuilder
-
getAccessModesCount
public 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;- Specified by:
getAccessModesCountin interfaceV1.PersistentVolumeSpecOrBuilder
-
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;- Specified by:
getAccessModesin interfaceV1.PersistentVolumeSpecOrBuilder
-
getAccessModesBytes
public 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;- Specified by:
getAccessModesBytesin interfaceV1.PersistentVolumeSpecOrBuilder
-
setAccessModes
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; -
addAccessModes
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; -
addAllAccessModes
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; -
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; -
addAccessModesBytes
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
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;- Specified by:
hasClaimRefin interfaceV1.PersistentVolumeSpecOrBuilder
-
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;- Specified by:
getClaimRefin interfaceV1.PersistentVolumeSpecOrBuilder
-
setClaimRef
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; -
setClaimRef
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; -
mergeClaimRef
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; -
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; -
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; -
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;- Specified by:
getClaimRefOrBuilderin interfaceV1.PersistentVolumeSpecOrBuilder
-
hasPersistentVolumeReclaimPolicy
public 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;- Specified by:
hasPersistentVolumeReclaimPolicyin interfaceV1.PersistentVolumeSpecOrBuilder
-
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;- Specified by:
getPersistentVolumeReclaimPolicyin interfaceV1.PersistentVolumeSpecOrBuilder
-
getPersistentVolumeReclaimPolicyBytes
public 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;- Specified by:
getPersistentVolumeReclaimPolicyBytesin interfaceV1.PersistentVolumeSpecOrBuilder
-
setPersistentVolumeReclaimPolicy
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; -
clearPersistentVolumeReclaimPolicy
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; -
setPersistentVolumeReclaimPolicyBytes
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 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
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;- Specified by:
hasStorageClassNamein interfaceV1.PersistentVolumeSpecOrBuilder
-
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;- Specified by:
getStorageClassNamein interfaceV1.PersistentVolumeSpecOrBuilder
-
getStorageClassNameBytes
public 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;- Specified by:
getStorageClassNameBytesin interfaceV1.PersistentVolumeSpecOrBuilder
-
setStorageClassName
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; -
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; -
setStorageClassNameBytes
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; -
getMountOptionsList
public com.google.protobuf.ProtocolStringList 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;- Specified by:
getMountOptionsListin interfaceV1.PersistentVolumeSpecOrBuilder
-
getMountOptionsCount
public 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;- Specified by:
getMountOptionsCountin interfaceV1.PersistentVolumeSpecOrBuilder
-
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;- Specified by:
getMountOptionsin interfaceV1.PersistentVolumeSpecOrBuilder
-
getMountOptionsBytes
public 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;- Specified by:
getMountOptionsBytesin interfaceV1.PersistentVolumeSpecOrBuilder
-
setMountOptions
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; -
addMountOptions
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; -
addAllMountOptions
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; -
clearMountOptions
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; -
addMountOptionsBytes
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
public 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;- Specified by:
hasVolumeModein interfaceV1.PersistentVolumeSpecOrBuilder
-
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;- Specified by:
getVolumeModein interfaceV1.PersistentVolumeSpecOrBuilder
-
getVolumeModeBytes
public 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;- Specified by:
getVolumeModeBytesin interfaceV1.PersistentVolumeSpecOrBuilder
-
setVolumeMode
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; -
clearVolumeMode
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; -
setVolumeModeBytes
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
public 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;- Specified by:
hasNodeAffinityin interfaceV1.PersistentVolumeSpecOrBuilder
-
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;- Specified by:
getNodeAffinityin interfaceV1.PersistentVolumeSpecOrBuilder
-
setNodeAffinity
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; -
setNodeAffinity
public V1.PersistentVolumeSpec.Builder setNodeAffinity(V1.VolumeNodeAffinity.Builder builderForValue) 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; -
mergeNodeAffinity
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; -
clearNodeAffinity
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; -
getNodeAffinityBuilder
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
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;- Specified by:
getNodeAffinityOrBuilderin interfaceV1.PersistentVolumeSpecOrBuilder
-
setUnknownFields
public final V1.PersistentVolumeSpec.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeSpec.Builder>
-
mergeUnknownFields
public final V1.PersistentVolumeSpec.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeSpec.Builder>
-