Package k8s.io.api.core.v1
Interface Generated.PersistentVolumeClaimTemplateOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.PersistentVolumeClaimTemplate,Generated.PersistentVolumeClaimTemplate.Builder
- Enclosing class:
- Generated
public static interface Generated.PersistentVolumeClaimTemplateOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Generated.ObjectMetagetMetadata()May contain labels and annotations that will be copied into the PVC when creating it.Generated.ObjectMetaOrBuildergetMetadataOrBuilder()May contain labels and annotations that will be copied into the PVC when creating it.Generated.PersistentVolumeClaimSpecgetSpec()The specification for the PersistentVolumeClaim.Generated.PersistentVolumeClaimSpecOrBuildergetSpecOrBuilder()The specification for the PersistentVolumeClaim.booleanhasMetadata()May contain labels and annotations that will be copied into the PVC when creating it.booleanhasSpec()The specification for the PersistentVolumeClaim.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasMetadata
boolean hasMetadata()
May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;- Returns:
- Whether the metadata field is set.
-
getMetadata
Generated.ObjectMeta getMetadata()
May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;- Returns:
- The metadata.
-
getMetadataOrBuilder
Generated.ObjectMetaOrBuilder getMetadataOrBuilder()
May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
-
hasSpec
boolean hasSpec()
The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here.
optional .k8s.io.api.core.v1.PersistentVolumeClaimSpec spec = 2;- Returns:
- Whether the spec field is set.
-
getSpec
Generated.PersistentVolumeClaimSpec getSpec()
The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here.
optional .k8s.io.api.core.v1.PersistentVolumeClaimSpec spec = 2;- Returns:
- The spec.
-
getSpecOrBuilder
Generated.PersistentVolumeClaimSpecOrBuilder getSpecOrBuilder()
The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here.
optional .k8s.io.api.core.v1.PersistentVolumeClaimSpec spec = 2;
-
-