Package k8s.io.api.core.v1
Interface Generated.PersistentVolumeClaimVolumeSourceOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.PersistentVolumeClaimVolumeSource,Generated.PersistentVolumeClaimVolumeSource.Builder
- Enclosing class:
- Generated
public static interface Generated.PersistentVolumeClaimVolumeSourceOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetClaimName()claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume.com.google.protobuf.ByteStringgetClaimNameBytes()claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume.booleangetReadOnly()readOnly Will force the ReadOnly setting in VolumeMounts.booleanhasClaimName()claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume.booleanhasReadOnly()readOnly Will force the ReadOnly setting in VolumeMounts.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasClaimName
boolean hasClaimName()
claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
optional string claimName = 1;- Returns:
- Whether the claimName field is set.
-
getClaimName
String getClaimName()
claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
optional string claimName = 1;- Returns:
- The claimName.
-
getClaimNameBytes
com.google.protobuf.ByteString getClaimNameBytes()
claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
optional string claimName = 1;- Returns:
- The bytes for claimName.
-
hasReadOnly
boolean hasReadOnly()
readOnly Will force the ReadOnly setting in VolumeMounts. Default false. +optional
optional bool readOnly = 2;- Returns:
- Whether the readOnly field is set.
-
getReadOnly
boolean getReadOnly()
readOnly Will force the ReadOnly setting in VolumeMounts. Default false. +optional
optional bool readOnly = 2;- Returns:
- The readOnly.
-
-