Class Generated.PersistentVolumeClaimCondition

    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • 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
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static Generated.PersistentVolumeClaimCondition parseFrom​(ByteBuffer data,
                                                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                  throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Generated.PersistentVolumeClaimCondition parseFrom​(com.google.protobuf.ByteString data)
                                                                  throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Generated.PersistentVolumeClaimCondition parseFrom​(com.google.protobuf.ByteString data,
                                                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                  throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Generated.PersistentVolumeClaimCondition parseFrom​(byte[] data)
                                                                  throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Generated.PersistentVolumeClaimCondition parseFrom​(byte[] data,
                                                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                  throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • newBuilderForType

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

        protected Generated.PersistentVolumeClaimCondition.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<Generated.PersistentVolumeClaimCondition> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

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