Class Generated.PersistentVolumeClaim.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.PersistentVolumeClaim.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.PersistentVolumeClaim.Builder>
      • getDefaultInstanceForType

        public Generated.PersistentVolumeClaim getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public Generated.PersistentVolumeClaim build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Generated.PersistentVolumeClaim buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.PersistentVolumeClaim.Builder>
      • hasMetadata

        public boolean hasMetadata()
         Standard object's metadata.
         More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
         +optional
         
        optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
        Specified by:
        hasMetadata in interface Generated.PersistentVolumeClaimOrBuilder
        Returns:
        Whether the metadata field is set.
      • getMetadata

        public Generated.ObjectMeta getMetadata()
         Standard object's metadata.
         More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
         +optional
         
        optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
        Specified by:
        getMetadata in interface Generated.PersistentVolumeClaimOrBuilder
        Returns:
        The metadata.
      • setMetadata

        public Generated.PersistentVolumeClaim.Builder setMetadata​(Generated.ObjectMeta value)
         Standard object's metadata.
         More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
         +optional
         
        optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
      • setMetadata

        public Generated.PersistentVolumeClaim.Builder setMetadata​(Generated.ObjectMeta.Builder builderForValue)
         Standard object's metadata.
         More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
         +optional
         
        optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
      • mergeMetadata

        public Generated.PersistentVolumeClaim.Builder mergeMetadata​(Generated.ObjectMeta value)
         Standard object's metadata.
         More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
         +optional
         
        optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
      • clearMetadata

        public Generated.PersistentVolumeClaim.Builder clearMetadata()
         Standard object's metadata.
         More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
         +optional
         
        optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
      • getMetadataBuilder

        public Generated.ObjectMeta.Builder getMetadataBuilder()
         Standard object's metadata.
         More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
         +optional
         
        optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
      • hasSpec

        public boolean hasSpec()
         spec defines the desired characteristics of a volume requested by a pod author.
         More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
         +optional
         
        optional .k8s.io.api.core.v1.PersistentVolumeClaimSpec spec = 2;
        Specified by:
        hasSpec in interface Generated.PersistentVolumeClaimOrBuilder
        Returns:
        Whether the spec field is set.
      • getSpec

        public Generated.PersistentVolumeClaimSpec getSpec()
         spec defines the desired characteristics of a volume requested by a pod author.
         More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
         +optional
         
        optional .k8s.io.api.core.v1.PersistentVolumeClaimSpec spec = 2;
        Specified by:
        getSpec in interface Generated.PersistentVolumeClaimOrBuilder
        Returns:
        The spec.
      • clearSpec

        public Generated.PersistentVolumeClaim.Builder clearSpec()
         spec defines the desired characteristics of a volume requested by a pod author.
         More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
         +optional
         
        optional .k8s.io.api.core.v1.PersistentVolumeClaimSpec spec = 2;
      • getSpecBuilder

        public Generated.PersistentVolumeClaimSpec.Builder getSpecBuilder()
         spec defines the desired characteristics of a volume requested by a pod author.
         More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
         +optional
         
        optional .k8s.io.api.core.v1.PersistentVolumeClaimSpec spec = 2;
      • hasStatus

        public boolean hasStatus()
         status represents the current information/status of a persistent volume claim.
         Read-only.
         More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
         +optional
         
        optional .k8s.io.api.core.v1.PersistentVolumeClaimStatus status = 3;
        Specified by:
        hasStatus in interface Generated.PersistentVolumeClaimOrBuilder
        Returns:
        Whether the status field is set.
      • getStatus

        public Generated.PersistentVolumeClaimStatus getStatus()
         status represents the current information/status of a persistent volume claim.
         Read-only.
         More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
         +optional
         
        optional .k8s.io.api.core.v1.PersistentVolumeClaimStatus status = 3;
        Specified by:
        getStatus in interface Generated.PersistentVolumeClaimOrBuilder
        Returns:
        The status.
      • setStatus

        public Generated.PersistentVolumeClaim.Builder setStatus​(Generated.PersistentVolumeClaimStatus value)
         status represents the current information/status of a persistent volume claim.
         Read-only.
         More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
         +optional
         
        optional .k8s.io.api.core.v1.PersistentVolumeClaimStatus status = 3;
      • mergeStatus

        public Generated.PersistentVolumeClaim.Builder mergeStatus​(Generated.PersistentVolumeClaimStatus value)
         status represents the current information/status of a persistent volume claim.
         Read-only.
         More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
         +optional
         
        optional .k8s.io.api.core.v1.PersistentVolumeClaimStatus status = 3;
      • clearStatus

        public Generated.PersistentVolumeClaim.Builder clearStatus()
         status represents the current information/status of a persistent volume claim.
         Read-only.
         More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
         +optional
         
        optional .k8s.io.api.core.v1.PersistentVolumeClaimStatus status = 3;
      • getStatusBuilder

        public Generated.PersistentVolumeClaimStatus.Builder getStatusBuilder()
         status represents the current information/status of a persistent volume claim.
         Read-only.
         More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
         +optional
         
        optional .k8s.io.api.core.v1.PersistentVolumeClaimStatus status = 3;