Class TConfigNodeHeartbeatResp
- java.lang.Object
-
- org.apache.iotdb.confignode.rpc.thrift.TConfigNodeHeartbeatResp
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TConfigNodeHeartbeatResp>,org.apache.thrift.TBase<TConfigNodeHeartbeatResp,TConfigNodeHeartbeatResp._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2024-04-19") public class TConfigNodeHeartbeatResp extends Object implements org.apache.thrift.TBase<TConfigNodeHeartbeatResp,TConfigNodeHeartbeatResp._Fields>, Serializable, Cloneable, Comparable<TConfigNodeHeartbeatResp>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTConfigNodeHeartbeatResp._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description StringactivateStatusTLicenselicensestatic Map<TConfigNodeHeartbeatResp._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMaplongtimestamp
-
Constructor Summary
Constructors Constructor Description TConfigNodeHeartbeatResp()TConfigNodeHeartbeatResp(long timestamp)TConfigNodeHeartbeatResp(TConfigNodeHeartbeatResp other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(TConfigNodeHeartbeatResp other)TConfigNodeHeartbeatRespdeepCopy()booleanequals(Object that)booleanequals(TConfigNodeHeartbeatResp that)TConfigNodeHeartbeatResp._FieldsfieldForId(int fieldId)StringgetActivateStatus()ObjectgetFieldValue(TConfigNodeHeartbeatResp._Fields field)TLicensegetLicense()longgetTimestamp()inthashCode()booleanisSet(TConfigNodeHeartbeatResp._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetActivateStatus()Returns true if field activateStatus is set (has been assigned a value) and false otherwisebooleanisSetLicense()Returns true if field license is set (has been assigned a value) and false otherwisebooleanisSetTimestamp()Returns true if field timestamp is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)TConfigNodeHeartbeatRespsetActivateStatus(String activateStatus)voidsetActivateStatusIsSet(boolean value)voidsetFieldValue(TConfigNodeHeartbeatResp._Fields field, Object value)TConfigNodeHeartbeatRespsetLicense(TLicense license)voidsetLicenseIsSet(boolean value)TConfigNodeHeartbeatRespsetTimestamp(long timestamp)voidsetTimestampIsSet(boolean value)StringtoString()voidunsetActivateStatus()voidunsetLicense()voidunsetTimestamp()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
timestamp
public long timestamp
-
activateStatus
public String activateStatus
-
license
public TLicense license
-
metaDataMap
public static final Map<TConfigNodeHeartbeatResp._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TConfigNodeHeartbeatResp
public TConfigNodeHeartbeatResp()
-
TConfigNodeHeartbeatResp
public TConfigNodeHeartbeatResp(long timestamp)
-
TConfigNodeHeartbeatResp
public TConfigNodeHeartbeatResp(TConfigNodeHeartbeatResp other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TConfigNodeHeartbeatResp deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TConfigNodeHeartbeatResp,TConfigNodeHeartbeatResp._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TConfigNodeHeartbeatResp,TConfigNodeHeartbeatResp._Fields>
-
getTimestamp
public long getTimestamp()
-
setTimestamp
public TConfigNodeHeartbeatResp setTimestamp(long timestamp)
-
unsetTimestamp
public void unsetTimestamp()
-
isSetTimestamp
public boolean isSetTimestamp()
Returns true if field timestamp is set (has been assigned a value) and false otherwise
-
setTimestampIsSet
public void setTimestampIsSet(boolean value)
-
getActivateStatus
public String getActivateStatus()
-
setActivateStatus
public TConfigNodeHeartbeatResp setActivateStatus(String activateStatus)
-
unsetActivateStatus
public void unsetActivateStatus()
-
isSetActivateStatus
public boolean isSetActivateStatus()
Returns true if field activateStatus is set (has been assigned a value) and false otherwise
-
setActivateStatusIsSet
public void setActivateStatusIsSet(boolean value)
-
getLicense
public TLicense getLicense()
-
setLicense
public TConfigNodeHeartbeatResp setLicense(TLicense license)
-
unsetLicense
public void unsetLicense()
-
isSetLicense
public boolean isSetLicense()
Returns true if field license is set (has been assigned a value) and false otherwise
-
setLicenseIsSet
public void setLicenseIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TConfigNodeHeartbeatResp._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TConfigNodeHeartbeatResp,TConfigNodeHeartbeatResp._Fields>
-
getFieldValue
public Object getFieldValue(TConfigNodeHeartbeatResp._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TConfigNodeHeartbeatResp,TConfigNodeHeartbeatResp._Fields>
-
isSet
public boolean isSet(TConfigNodeHeartbeatResp._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<TConfigNodeHeartbeatResp,TConfigNodeHeartbeatResp._Fields>
-
equals
public boolean equals(TConfigNodeHeartbeatResp that)
-
compareTo
public int compareTo(TConfigNodeHeartbeatResp other)
- Specified by:
compareToin interfaceComparable<TConfigNodeHeartbeatResp>
-
fieldForId
public TConfigNodeHeartbeatResp._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TConfigNodeHeartbeatResp,TConfigNodeHeartbeatResp._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException- Specified by:
readin interfaceorg.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:
writein interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
-