Interface V1.PersistentVolumeClaimTemplateOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
V1.PersistentVolumeClaimTemplate, V1.PersistentVolumeClaimTemplate.Builder
Enclosing class:
V1

public static interface V1.PersistentVolumeClaimTemplateOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    May contain labels and annotations that will be copied into the PVC when creating it.
    May contain labels and annotations that will be copied into the PVC when creating it.
    The specification for the PersistentVolumeClaim.
    The specification for the PersistentVolumeClaim.
    boolean
    May contain labels and annotations that will be copied into the PVC when creating it.
    boolean
    The specification for the PersistentVolumeClaim.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • 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;
    • getMetadata

      Meta.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;
    • getMetadataOrBuilder

      Meta.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;
    • 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;
    • 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;