Class KubernetesPodData.PodCondition

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
ai.chalk.protos.chalk.kubernetes.v1.KubernetesPodData.PodCondition
All Implemented Interfaces:
KubernetesPodData.PodConditionOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
KubernetesPodData

public static final class KubernetesPodData.PodCondition extends com.google.protobuf.GeneratedMessageV3 implements KubernetesPodData.PodConditionOrBuilder
 PodCondition contains details for the current condition of this pod.
 
Protobuf type chalk.kubernetes.v1.KubernetesPodData.PodCondition
See Also:
  • Field Details

    • TYPE_FIELD_NUMBER

      public static final int TYPE_FIELD_NUMBER
      See Also:
    • STATUS_FIELD_NUMBER

      public static final int STATUS_FIELD_NUMBER
      See Also:
    • LAST_PROBE_TIME_FIELD_NUMBER

      public static final int LAST_PROBE_TIME_FIELD_NUMBER
      See Also:
    • LAST_TRANSITION_TIME_FIELD_NUMBER

      public static final int LAST_TRANSITION_TIME_FIELD_NUMBER
      See Also:
    • REASON_FIELD_NUMBER

      public static final int REASON_FIELD_NUMBER
      See Also:
    • MESSAGE_FIELD_NUMBER

      public static final int MESSAGE_FIELD_NUMBER
      See Also:
  • Method Details

    • 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
    • getType

      public String getType()
       Type is the type of the condition.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
       
      string type = 1 [json_name = "type"];
      Specified by:
      getType in interface KubernetesPodData.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
       
      string type = 1 [json_name = "type"];
      Specified by:
      getTypeBytes in interface KubernetesPodData.PodConditionOrBuilder
      Returns:
      The bytes for type.
    • 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
       
      string status = 2 [json_name = "status"];
      Specified by:
      getStatus in interface KubernetesPodData.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
       
      string status = 2 [json_name = "status"];
      Specified by:
      getStatusBytes in interface KubernetesPodData.PodConditionOrBuilder
      Returns:
      The bytes for status.
    • getLastProbeTime

      public long getLastProbeTime()
       Last time we probed the condition.
       +optional
       
      int64 last_probe_time = 3 [json_name = "lastProbeTime"];
      Specified by:
      getLastProbeTime in interface KubernetesPodData.PodConditionOrBuilder
      Returns:
      The lastProbeTime.
    • getLastTransitionTime

      public long getLastTransitionTime()
       Last time the condition transitioned from one status to another.
       +optional
       
      int64 last_transition_time = 4 [json_name = "lastTransitionTime"];
      Specified by:
      getLastTransitionTime in interface KubernetesPodData.PodConditionOrBuilder
      Returns:
      The lastTransitionTime.
    • hasReason

      public boolean hasReason()
       Unique, one-word, CamelCase reason for the condition's last transition.
       +optional
       
      optional string reason = 5 [json_name = "reason"];
      Specified by:
      hasReason in interface KubernetesPodData.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 [json_name = "reason"];
      Specified by:
      getReason in interface KubernetesPodData.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 [json_name = "reason"];
      Specified by:
      getReasonBytes in interface KubernetesPodData.PodConditionOrBuilder
      Returns:
      The bytes for reason.
    • hasMessage

      public boolean hasMessage()
       Human-readable message indicating details about last transition.
       +optional
       
      optional string message = 6 [json_name = "message"];
      Specified by:
      hasMessage in interface KubernetesPodData.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 [json_name = "message"];
      Specified by:
      getMessage in interface KubernetesPodData.PodConditionOrBuilder
      Returns:
      The message.
    • getMessageBytes

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

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

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

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

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

      public static KubernetesPodData.PodCondition parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static KubernetesPodData.PodCondition parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static KubernetesPodData.PodCondition parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static KubernetesPodData.PodCondition parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static KubernetesPodData.PodCondition parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static KubernetesPodData.PodCondition parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static KubernetesPodData.PodCondition.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected KubernetesPodData.PodCondition.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static KubernetesPodData.PodCondition getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<KubernetesPodData.PodCondition> parser()
    • getParserForType

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