Class TAIHeartbeatResp

java.lang.Object
org.apache.iotdb.ainode.rpc.thrift.TAIHeartbeatResp
All Implemented Interfaces:
Serializable, Cloneable, Comparable<TAIHeartbeatResp>, org.apache.thrift.TBase<TAIHeartbeatResp,TAIHeartbeatResp._Fields>, org.apache.thrift.TSerializable

@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2025-05-17") public class TAIHeartbeatResp extends Object implements org.apache.thrift.TBase<TAIHeartbeatResp,TAIHeartbeatResp._Fields>, Serializable, Cloneable, Comparable<TAIHeartbeatResp>
See Also:
  • Field Details

    • heartbeatTimestamp

      public long heartbeatTimestamp
    • status

      public String status
    • statusReason

      public String statusReason
    • loadSample

      public TLoadSample loadSample
    • metaDataMap

      public static final Map<TAIHeartbeatResp._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
  • Constructor Details

    • TAIHeartbeatResp

      public TAIHeartbeatResp()
    • TAIHeartbeatResp

      public TAIHeartbeatResp(long heartbeatTimestamp, String status)
    • TAIHeartbeatResp

      public TAIHeartbeatResp(TAIHeartbeatResp other)
      Performs a deep copy on other.
  • Method Details

    • deepCopy

      public TAIHeartbeatResp deepCopy()
      Specified by:
      deepCopy in interface org.apache.thrift.TBase<TAIHeartbeatResp,TAIHeartbeatResp._Fields>
    • clear

      public void clear()
      Specified by:
      clear in interface org.apache.thrift.TBase<TAIHeartbeatResp,TAIHeartbeatResp._Fields>
    • getHeartbeatTimestamp

      public long getHeartbeatTimestamp()
    • setHeartbeatTimestamp

      public TAIHeartbeatResp setHeartbeatTimestamp(long heartbeatTimestamp)
    • unsetHeartbeatTimestamp

      public void unsetHeartbeatTimestamp()
    • isSetHeartbeatTimestamp

      public boolean isSetHeartbeatTimestamp()
      Returns true if field heartbeatTimestamp is set (has been assigned a value) and false otherwise
    • setHeartbeatTimestampIsSet

      public void setHeartbeatTimestampIsSet(boolean value)
    • getStatus

      public String getStatus()
    • setStatus

      public TAIHeartbeatResp setStatus(String status)
    • unsetStatus

      public void unsetStatus()
    • isSetStatus

      public boolean isSetStatus()
      Returns true if field status is set (has been assigned a value) and false otherwise
    • setStatusIsSet

      public void setStatusIsSet(boolean value)
    • getStatusReason

      public String getStatusReason()
    • setStatusReason

      public TAIHeartbeatResp setStatusReason(String statusReason)
    • unsetStatusReason

      public void unsetStatusReason()
    • isSetStatusReason

      public boolean isSetStatusReason()
      Returns true if field statusReason is set (has been assigned a value) and false otherwise
    • setStatusReasonIsSet

      public void setStatusReasonIsSet(boolean value)
    • getLoadSample

      public TLoadSample getLoadSample()
    • setLoadSample

      public TAIHeartbeatResp setLoadSample(TLoadSample loadSample)
    • unsetLoadSample

      public void unsetLoadSample()
    • isSetLoadSample

      public boolean isSetLoadSample()
      Returns true if field loadSample is set (has been assigned a value) and false otherwise
    • setLoadSampleIsSet

      public void setLoadSampleIsSet(boolean value)
    • setFieldValue

      public void setFieldValue(TAIHeartbeatResp._Fields field, Object value)
      Specified by:
      setFieldValue in interface org.apache.thrift.TBase<TAIHeartbeatResp,TAIHeartbeatResp._Fields>
    • getFieldValue

      public Object getFieldValue(TAIHeartbeatResp._Fields field)
      Specified by:
      getFieldValue in interface org.apache.thrift.TBase<TAIHeartbeatResp,TAIHeartbeatResp._Fields>
    • isSet

      public boolean isSet(TAIHeartbeatResp._Fields field)
      Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
      Specified by:
      isSet in interface org.apache.thrift.TBase<TAIHeartbeatResp,TAIHeartbeatResp._Fields>
    • equals

      public boolean equals(Object that)
      Overrides:
      equals in class Object
    • equals

      public boolean equals(TAIHeartbeatResp that)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • compareTo

      public int compareTo(TAIHeartbeatResp other)
      Specified by:
      compareTo in interface Comparable<TAIHeartbeatResp>
    • fieldForId

      public TAIHeartbeatResp._Fields fieldForId(int fieldId)
      Specified by:
      fieldForId in interface org.apache.thrift.TBase<TAIHeartbeatResp,TAIHeartbeatResp._Fields>
    • read

      public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
      Specified by:
      read in interface org.apache.thrift.TSerializable
      Throws:
      org.apache.thrift.TException
    • write

      public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
      Specified by:
      write in interface org.apache.thrift.TSerializable
      Throws:
      org.apache.thrift.TException
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validate

      public void validate() throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException