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

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

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

        public Generated.PersistentVolumeClaimCondition 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.PersistentVolumeClaimCondition.Builder>
      • hasType

        public boolean hasType()
         Type is the type of the condition.
         More info: https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/#:~:text=set%20to%20%27ResizeStarted%27.-,PersistentVolumeClaimCondition,-contains%20details%20about
         
        optional string type = 1;
        Specified by:
        hasType in interface Generated.PersistentVolumeClaimConditionOrBuilder
        Returns:
        Whether the type field is set.
      • getType

        public String getType()
         Type is the type of the condition.
         More info: https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/#:~:text=set%20to%20%27ResizeStarted%27.-,PersistentVolumeClaimCondition,-contains%20details%20about
         
        optional string type = 1;
        Specified by:
        getType in interface Generated.PersistentVolumeClaimConditionOrBuilder
        Returns:
        The type.
      • getTypeBytes

        public com.google.protobuf.ByteString getTypeBytes()
         Type is the type of the condition.
         More info: https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/#:~:text=set%20to%20%27ResizeStarted%27.-,PersistentVolumeClaimCondition,-contains%20details%20about
         
        optional string type = 1;
        Specified by:
        getTypeBytes in interface Generated.PersistentVolumeClaimConditionOrBuilder
        Returns:
        The bytes for type.
      • setType

        public Generated.PersistentVolumeClaimCondition.Builder setType​(String value)
         Type is the type of the condition.
         More info: https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/#:~:text=set%20to%20%27ResizeStarted%27.-,PersistentVolumeClaimCondition,-contains%20details%20about
         
        optional string type = 1;
        Parameters:
        value - The type to set.
        Returns:
        This builder for chaining.
      • clearType

        public Generated.PersistentVolumeClaimCondition.Builder clearType()
         Type is the type of the condition.
         More info: https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/#:~:text=set%20to%20%27ResizeStarted%27.-,PersistentVolumeClaimCondition,-contains%20details%20about
         
        optional string type = 1;
        Returns:
        This builder for chaining.
      • setTypeBytes

        public Generated.PersistentVolumeClaimCondition.Builder setTypeBytes​(com.google.protobuf.ByteString value)
         Type is the type of the condition.
         More info: https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/#:~:text=set%20to%20%27ResizeStarted%27.-,PersistentVolumeClaimCondition,-contains%20details%20about
         
        optional string type = 1;
        Parameters:
        value - The bytes for type to set.
        Returns:
        This builder for chaining.
      • hasStatus

        public boolean hasStatus()
         Status is the status of the condition.
         Can be True, False, Unknown.
         More info: https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/#:~:text=state%20of%20pvc-,conditions.status,-(string)%2C%20required
         
        optional string status = 2;
        Specified by:
        hasStatus in interface Generated.PersistentVolumeClaimConditionOrBuilder
        Returns:
        Whether the status field is set.
      • getStatus

        public String getStatus()
         Status is the status of the condition.
         Can be True, False, Unknown.
         More info: https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/#:~:text=state%20of%20pvc-,conditions.status,-(string)%2C%20required
         
        optional string status = 2;
        Specified by:
        getStatus in interface Generated.PersistentVolumeClaimConditionOrBuilder
        Returns:
        The status.
      • getStatusBytes

        public com.google.protobuf.ByteString getStatusBytes()
         Status is the status of the condition.
         Can be True, False, Unknown.
         More info: https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/#:~:text=state%20of%20pvc-,conditions.status,-(string)%2C%20required
         
        optional string status = 2;
        Specified by:
        getStatusBytes in interface Generated.PersistentVolumeClaimConditionOrBuilder
        Returns:
        The bytes for status.
      • setStatus

        public Generated.PersistentVolumeClaimCondition.Builder setStatus​(String value)
         Status is the status of the condition.
         Can be True, False, Unknown.
         More info: https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/#:~:text=state%20of%20pvc-,conditions.status,-(string)%2C%20required
         
        optional string status = 2;
        Parameters:
        value - The status to set.
        Returns:
        This builder for chaining.
      • clearStatus

        public Generated.PersistentVolumeClaimCondition.Builder clearStatus()
         Status is the status of the condition.
         Can be True, False, Unknown.
         More info: https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/#:~:text=state%20of%20pvc-,conditions.status,-(string)%2C%20required
         
        optional string status = 2;
        Returns:
        This builder for chaining.
      • setStatusBytes

        public Generated.PersistentVolumeClaimCondition.Builder setStatusBytes​(com.google.protobuf.ByteString value)
         Status is the status of the condition.
         Can be True, False, Unknown.
         More info: https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/#:~:text=state%20of%20pvc-,conditions.status,-(string)%2C%20required
         
        optional string status = 2;
        Parameters:
        value - The bytes for status to set.
        Returns:
        This builder for chaining.
      • hasLastProbeTime

        public boolean hasLastProbeTime()
         lastProbeTime is the time we probed the condition.
         +optional
         
        optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastProbeTime = 3;
        Specified by:
        hasLastProbeTime in interface Generated.PersistentVolumeClaimConditionOrBuilder
        Returns:
        Whether the lastProbeTime field is set.
      • getLastProbeTimeBuilder

        public Generated.Time.Builder getLastProbeTimeBuilder()
         lastProbeTime is the time we probed the condition.
         +optional
         
        optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastProbeTime = 3;
      • hasLastTransitionTime

        public boolean hasLastTransitionTime()
         lastTransitionTime is the time the condition transitioned from one status to another.
         +optional
         
        optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 4;
        Specified by:
        hasLastTransitionTime in interface Generated.PersistentVolumeClaimConditionOrBuilder
        Returns:
        Whether the lastTransitionTime field is set.
      • clearLastTransitionTime

        public Generated.PersistentVolumeClaimCondition.Builder clearLastTransitionTime()
         lastTransitionTime is the time the condition transitioned from one status to another.
         +optional
         
        optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 4;
      • getLastTransitionTimeBuilder

        public Generated.Time.Builder getLastTransitionTimeBuilder()
         lastTransitionTime is the time the condition transitioned from one status to another.
         +optional
         
        optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 4;
      • hasReason

        public boolean hasReason()
         reason is a unique, this should be a short, machine understandable string that gives the reason
         for condition's last transition. If it reports "Resizing" that means the underlying
         persistent volume is being resized.
         +optional
         
        optional string reason = 5;
        Specified by:
        hasReason in interface Generated.PersistentVolumeClaimConditionOrBuilder
        Returns:
        Whether the reason field is set.
      • getReason

        public String getReason()
         reason is a unique, this should be a short, machine understandable string that gives the reason
         for condition's last transition. If it reports "Resizing" that means the underlying
         persistent volume is being resized.
         +optional
         
        optional string reason = 5;
        Specified by:
        getReason in interface Generated.PersistentVolumeClaimConditionOrBuilder
        Returns:
        The reason.
      • getReasonBytes

        public com.google.protobuf.ByteString getReasonBytes()
         reason is a unique, this should be a short, machine understandable string that gives the reason
         for condition's last transition. If it reports "Resizing" that means the underlying
         persistent volume is being resized.
         +optional
         
        optional string reason = 5;
        Specified by:
        getReasonBytes in interface Generated.PersistentVolumeClaimConditionOrBuilder
        Returns:
        The bytes for reason.
      • setReason

        public Generated.PersistentVolumeClaimCondition.Builder setReason​(String value)
         reason is a unique, this should be a short, machine understandable string that gives the reason
         for condition's last transition. If it reports "Resizing" that means the underlying
         persistent volume is being resized.
         +optional
         
        optional string reason = 5;
        Parameters:
        value - The reason to set.
        Returns:
        This builder for chaining.
      • clearReason

        public Generated.PersistentVolumeClaimCondition.Builder clearReason()
         reason is a unique, this should be a short, machine understandable string that gives the reason
         for condition's last transition. If it reports "Resizing" that means the underlying
         persistent volume is being resized.
         +optional
         
        optional string reason = 5;
        Returns:
        This builder for chaining.
      • setReasonBytes

        public Generated.PersistentVolumeClaimCondition.Builder setReasonBytes​(com.google.protobuf.ByteString value)
         reason is a unique, this should be a short, machine understandable string that gives the reason
         for condition's last transition. If it reports "Resizing" that means the underlying
         persistent volume is being resized.
         +optional
         
        optional string reason = 5;
        Parameters:
        value - The bytes for reason to set.
        Returns:
        This builder for chaining.
      • getMessageBytes

        public com.google.protobuf.ByteString getMessageBytes()
         message is the human-readable message indicating details about last transition.
         +optional
         
        optional string message = 6;
        Specified by:
        getMessageBytes in interface Generated.PersistentVolumeClaimConditionOrBuilder
        Returns:
        The bytes for message.
      • setMessage

        public Generated.PersistentVolumeClaimCondition.Builder setMessage​(String value)
         message is the human-readable message indicating details about last transition.
         +optional
         
        optional string message = 6;
        Parameters:
        value - The message to set.
        Returns:
        This builder for chaining.
      • clearMessage

        public Generated.PersistentVolumeClaimCondition.Builder clearMessage()
         message is the human-readable message indicating details about last transition.
         +optional
         
        optional string message = 6;
        Returns:
        This builder for chaining.
      • setMessageBytes

        public Generated.PersistentVolumeClaimCondition.Builder setMessageBytes​(com.google.protobuf.ByteString value)
         message is the human-readable message indicating details about last transition.
         +optional
         
        optional string message = 6;
        Parameters:
        value - The bytes for message to set.
        Returns:
        This builder for chaining.