Class Generated.PodCondition

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, Generated.PodConditionOrBuilder
    Enclosing class:
    Generated

    public static final class Generated.PodCondition
    extends com.google.protobuf.GeneratedMessageV3
    implements Generated.PodConditionOrBuilder
     PodCondition contains details for the current condition of this pod.
     
    Protobuf type k8s.io.api.core.v1.PodCondition
    See Also:
    Serialized Form
    • 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/concepts/workloads/pods/pod-lifecycle#pod-conditions
         
        optional string type = 1;
        Specified by:
        hasType in interface Generated.PodConditionOrBuilder
        Returns:
        Whether the type field is set.
      • getType

        public String getType()
         Type is the type of the condition.
         More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
         
        optional string type = 1;
        Specified by:
        getType in interface Generated.PodConditionOrBuilder
        Returns:
        The type.
      • getTypeBytes

        public com.google.protobuf.ByteString getTypeBytes()
         Type is the type of the condition.
         More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
         
        optional string type = 1;
        Specified by:
        getTypeBytes in interface Generated.PodConditionOrBuilder
        Returns:
        The bytes for type.
      • hasObservedGeneration

        public boolean hasObservedGeneration()
         If set, this represents the .metadata.generation that the pod condition was set based upon.
         This is an alpha field. Enable PodObservedGenerationTracking to be able to use this field.
         +featureGate=PodObservedGenerationTracking
         +optional
         
        optional int64 observedGeneration = 7;
        Specified by:
        hasObservedGeneration in interface Generated.PodConditionOrBuilder
        Returns:
        Whether the observedGeneration field is set.
      • getObservedGeneration

        public long getObservedGeneration()
         If set, this represents the .metadata.generation that the pod condition was set based upon.
         This is an alpha field. Enable PodObservedGenerationTracking to be able to use this field.
         +featureGate=PodObservedGenerationTracking
         +optional
         
        optional int64 observedGeneration = 7;
        Specified by:
        getObservedGeneration in interface Generated.PodConditionOrBuilder
        Returns:
        The observedGeneration.
      • hasStatus

        public boolean hasStatus()
         Status is the status of the condition.
         Can be True, False, Unknown.
         More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
         
        optional string status = 2;
        Specified by:
        hasStatus in interface Generated.PodConditionOrBuilder
        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/concepts/workloads/pods/pod-lifecycle#pod-conditions
         
        optional string status = 2;
        Specified by:
        getStatus in interface Generated.PodConditionOrBuilder
        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/concepts/workloads/pods/pod-lifecycle#pod-conditions
         
        optional string status = 2;
        Specified by:
        getStatusBytes in interface Generated.PodConditionOrBuilder
        Returns:
        The bytes for status.
      • hasLastProbeTime

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

        public boolean hasLastTransitionTime()
         Last 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.PodConditionOrBuilder
        Returns:
        Whether the lastTransitionTime field is set.
      • getLastTransitionTime

        public Generated.Time getLastTransitionTime()
         Last time the condition transitioned from one status to another.
         +optional
         
        optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 4;
        Specified by:
        getLastTransitionTime in interface Generated.PodConditionOrBuilder
        Returns:
        The lastTransitionTime.
      • hasReason

        public boolean hasReason()
         Unique, one-word, CamelCase reason for the condition's last transition.
         +optional
         
        optional string reason = 5;
        Specified by:
        hasReason in interface Generated.PodConditionOrBuilder
        Returns:
        Whether the reason field is set.
      • getReason

        public String getReason()
         Unique, one-word, CamelCase reason for the condition's last transition.
         +optional
         
        optional string reason = 5;
        Specified by:
        getReason in interface Generated.PodConditionOrBuilder
        Returns:
        The reason.
      • getReasonBytes

        public com.google.protobuf.ByteString getReasonBytes()
         Unique, one-word, CamelCase reason for the condition's last transition.
         +optional
         
        optional string reason = 5;
        Specified by:
        getReasonBytes in interface Generated.PodConditionOrBuilder
        Returns:
        The bytes for reason.
      • hasMessage

        public boolean hasMessage()
         Human-readable message indicating details about last transition.
         +optional
         
        optional string message = 6;
        Specified by:
        hasMessage in interface Generated.PodConditionOrBuilder
        Returns:
        Whether the message field is set.
      • getMessage

        public String getMessage()
         Human-readable message indicating details about last transition.
         +optional
         
        optional string message = 6;
        Specified by:
        getMessage in interface Generated.PodConditionOrBuilder
        Returns:
        The message.
      • getMessageBytes

        public com.google.protobuf.ByteString getMessageBytes()
         Human-readable message indicating details about last transition.
         +optional
         
        optional string message = 6;
        Specified by:
        getMessageBytes in interface Generated.PodConditionOrBuilder
        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.PodCondition parseFrom​(ByteBuffer data)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

        public static Generated.PodCondition 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.PodCondition parseFrom​(byte[] data)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

        public com.google.protobuf.Parser<Generated.PodCondition> 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.PodCondition getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder