Class Generated.EphemeralVolumeSource.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.EphemeralVolumeSource.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.EphemeralVolumeSource.Builder>
      • getDefaultInstanceForType

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

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

        public Generated.EphemeralVolumeSource 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.EphemeralVolumeSource.Builder>
      • hasVolumeClaimTemplate

        public boolean hasVolumeClaimTemplate()
         Will be used to create a stand-alone PVC to provision the volume.
         The pod in which this EphemeralVolumeSource is embedded will be the
         owner of the PVC, i.e. the PVC will be deleted together with the
         pod.  The name of the PVC will be `<pod name>-<volume name>` where
         `<volume name>` is the name from the `PodSpec.Volumes` array
         entry. Pod validation will reject the pod if the concatenated name
         is not valid for a PVC (for example, too long).
        
         An existing PVC with that name that is not owned by the pod
         will *not* be used for the pod to avoid using an unrelated
         volume by mistake. Starting the pod is then blocked until
         the unrelated PVC is removed. If such a pre-created PVC is
         meant to be used by the pod, the PVC has to updated with an
         owner reference to the pod once the pod exists. Normally
         this should not be necessary, but it may be useful when
         manually reconstructing a broken cluster.
        
         This field is read-only and no changes will be made by Kubernetes
         to the PVC after it has been created.
        
         Required, must not be nil.
         
        optional .k8s.io.api.core.v1.PersistentVolumeClaimTemplate volumeClaimTemplate = 1;
        Specified by:
        hasVolumeClaimTemplate in interface Generated.EphemeralVolumeSourceOrBuilder
        Returns:
        Whether the volumeClaimTemplate field is set.
      • getVolumeClaimTemplate

        public Generated.PersistentVolumeClaimTemplate getVolumeClaimTemplate()
         Will be used to create a stand-alone PVC to provision the volume.
         The pod in which this EphemeralVolumeSource is embedded will be the
         owner of the PVC, i.e. the PVC will be deleted together with the
         pod.  The name of the PVC will be `<pod name>-<volume name>` where
         `<volume name>` is the name from the `PodSpec.Volumes` array
         entry. Pod validation will reject the pod if the concatenated name
         is not valid for a PVC (for example, too long).
        
         An existing PVC with that name that is not owned by the pod
         will *not* be used for the pod to avoid using an unrelated
         volume by mistake. Starting the pod is then blocked until
         the unrelated PVC is removed. If such a pre-created PVC is
         meant to be used by the pod, the PVC has to updated with an
         owner reference to the pod once the pod exists. Normally
         this should not be necessary, but it may be useful when
         manually reconstructing a broken cluster.
        
         This field is read-only and no changes will be made by Kubernetes
         to the PVC after it has been created.
        
         Required, must not be nil.
         
        optional .k8s.io.api.core.v1.PersistentVolumeClaimTemplate volumeClaimTemplate = 1;
        Specified by:
        getVolumeClaimTemplate in interface Generated.EphemeralVolumeSourceOrBuilder
        Returns:
        The volumeClaimTemplate.
      • setVolumeClaimTemplate

        public Generated.EphemeralVolumeSource.Builder setVolumeClaimTemplate​(Generated.PersistentVolumeClaimTemplate value)
         Will be used to create a stand-alone PVC to provision the volume.
         The pod in which this EphemeralVolumeSource is embedded will be the
         owner of the PVC, i.e. the PVC will be deleted together with the
         pod.  The name of the PVC will be `<pod name>-<volume name>` where
         `<volume name>` is the name from the `PodSpec.Volumes` array
         entry. Pod validation will reject the pod if the concatenated name
         is not valid for a PVC (for example, too long).
        
         An existing PVC with that name that is not owned by the pod
         will *not* be used for the pod to avoid using an unrelated
         volume by mistake. Starting the pod is then blocked until
         the unrelated PVC is removed. If such a pre-created PVC is
         meant to be used by the pod, the PVC has to updated with an
         owner reference to the pod once the pod exists. Normally
         this should not be necessary, but it may be useful when
         manually reconstructing a broken cluster.
        
         This field is read-only and no changes will be made by Kubernetes
         to the PVC after it has been created.
        
         Required, must not be nil.
         
        optional .k8s.io.api.core.v1.PersistentVolumeClaimTemplate volumeClaimTemplate = 1;
      • setVolumeClaimTemplate

        public Generated.EphemeralVolumeSource.Builder setVolumeClaimTemplate​(Generated.PersistentVolumeClaimTemplate.Builder builderForValue)
         Will be used to create a stand-alone PVC to provision the volume.
         The pod in which this EphemeralVolumeSource is embedded will be the
         owner of the PVC, i.e. the PVC will be deleted together with the
         pod.  The name of the PVC will be `<pod name>-<volume name>` where
         `<volume name>` is the name from the `PodSpec.Volumes` array
         entry. Pod validation will reject the pod if the concatenated name
         is not valid for a PVC (for example, too long).
        
         An existing PVC with that name that is not owned by the pod
         will *not* be used for the pod to avoid using an unrelated
         volume by mistake. Starting the pod is then blocked until
         the unrelated PVC is removed. If such a pre-created PVC is
         meant to be used by the pod, the PVC has to updated with an
         owner reference to the pod once the pod exists. Normally
         this should not be necessary, but it may be useful when
         manually reconstructing a broken cluster.
        
         This field is read-only and no changes will be made by Kubernetes
         to the PVC after it has been created.
        
         Required, must not be nil.
         
        optional .k8s.io.api.core.v1.PersistentVolumeClaimTemplate volumeClaimTemplate = 1;
      • mergeVolumeClaimTemplate

        public Generated.EphemeralVolumeSource.Builder mergeVolumeClaimTemplate​(Generated.PersistentVolumeClaimTemplate value)
         Will be used to create a stand-alone PVC to provision the volume.
         The pod in which this EphemeralVolumeSource is embedded will be the
         owner of the PVC, i.e. the PVC will be deleted together with the
         pod.  The name of the PVC will be `<pod name>-<volume name>` where
         `<volume name>` is the name from the `PodSpec.Volumes` array
         entry. Pod validation will reject the pod if the concatenated name
         is not valid for a PVC (for example, too long).
        
         An existing PVC with that name that is not owned by the pod
         will *not* be used for the pod to avoid using an unrelated
         volume by mistake. Starting the pod is then blocked until
         the unrelated PVC is removed. If such a pre-created PVC is
         meant to be used by the pod, the PVC has to updated with an
         owner reference to the pod once the pod exists. Normally
         this should not be necessary, but it may be useful when
         manually reconstructing a broken cluster.
        
         This field is read-only and no changes will be made by Kubernetes
         to the PVC after it has been created.
        
         Required, must not be nil.
         
        optional .k8s.io.api.core.v1.PersistentVolumeClaimTemplate volumeClaimTemplate = 1;
      • clearVolumeClaimTemplate

        public Generated.EphemeralVolumeSource.Builder clearVolumeClaimTemplate()
         Will be used to create a stand-alone PVC to provision the volume.
         The pod in which this EphemeralVolumeSource is embedded will be the
         owner of the PVC, i.e. the PVC will be deleted together with the
         pod.  The name of the PVC will be `<pod name>-<volume name>` where
         `<volume name>` is the name from the `PodSpec.Volumes` array
         entry. Pod validation will reject the pod if the concatenated name
         is not valid for a PVC (for example, too long).
        
         An existing PVC with that name that is not owned by the pod
         will *not* be used for the pod to avoid using an unrelated
         volume by mistake. Starting the pod is then blocked until
         the unrelated PVC is removed. If such a pre-created PVC is
         meant to be used by the pod, the PVC has to updated with an
         owner reference to the pod once the pod exists. Normally
         this should not be necessary, but it may be useful when
         manually reconstructing a broken cluster.
        
         This field is read-only and no changes will be made by Kubernetes
         to the PVC after it has been created.
        
         Required, must not be nil.
         
        optional .k8s.io.api.core.v1.PersistentVolumeClaimTemplate volumeClaimTemplate = 1;
      • getVolumeClaimTemplateBuilder

        public Generated.PersistentVolumeClaimTemplate.Builder getVolumeClaimTemplateBuilder()
         Will be used to create a stand-alone PVC to provision the volume.
         The pod in which this EphemeralVolumeSource is embedded will be the
         owner of the PVC, i.e. the PVC will be deleted together with the
         pod.  The name of the PVC will be `<pod name>-<volume name>` where
         `<volume name>` is the name from the `PodSpec.Volumes` array
         entry. Pod validation will reject the pod if the concatenated name
         is not valid for a PVC (for example, too long).
        
         An existing PVC with that name that is not owned by the pod
         will *not* be used for the pod to avoid using an unrelated
         volume by mistake. Starting the pod is then blocked until
         the unrelated PVC is removed. If such a pre-created PVC is
         meant to be used by the pod, the PVC has to updated with an
         owner reference to the pod once the pod exists. Normally
         this should not be necessary, but it may be useful when
         manually reconstructing a broken cluster.
        
         This field is read-only and no changes will be made by Kubernetes
         to the PVC after it has been created.
        
         Required, must not be nil.
         
        optional .k8s.io.api.core.v1.PersistentVolumeClaimTemplate volumeClaimTemplate = 1;
      • getVolumeClaimTemplateOrBuilder

        public Generated.PersistentVolumeClaimTemplateOrBuilder getVolumeClaimTemplateOrBuilder()
         Will be used to create a stand-alone PVC to provision the volume.
         The pod in which this EphemeralVolumeSource is embedded will be the
         owner of the PVC, i.e. the PVC will be deleted together with the
         pod.  The name of the PVC will be `<pod name>-<volume name>` where
         `<volume name>` is the name from the `PodSpec.Volumes` array
         entry. Pod validation will reject the pod if the concatenated name
         is not valid for a PVC (for example, too long).
        
         An existing PVC with that name that is not owned by the pod
         will *not* be used for the pod to avoid using an unrelated
         volume by mistake. Starting the pod is then blocked until
         the unrelated PVC is removed. If such a pre-created PVC is
         meant to be used by the pod, the PVC has to updated with an
         owner reference to the pod once the pod exists. Normally
         this should not be necessary, but it may be useful when
         manually reconstructing a broken cluster.
        
         This field is read-only and no changes will be made by Kubernetes
         to the PVC after it has been created.
        
         Required, must not be nil.
         
        optional .k8s.io.api.core.v1.PersistentVolumeClaimTemplate volumeClaimTemplate = 1;
        Specified by:
        getVolumeClaimTemplateOrBuilder in interface Generated.EphemeralVolumeSourceOrBuilder