Class TConfigNodeHeartbeatReq
- java.lang.Object
-
- org.apache.iotdb.confignode.rpc.thrift.TConfigNodeHeartbeatReq
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TConfigNodeHeartbeatReq>,org.apache.thrift.TBase<TConfigNodeHeartbeatReq,TConfigNodeHeartbeatReq._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2024-04-19") public class TConfigNodeHeartbeatReq extends Object implements org.apache.thrift.TBase<TConfigNodeHeartbeatReq,TConfigNodeHeartbeatReq._Fields>, Serializable, Cloneable, Comparable<TConfigNodeHeartbeatReq>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTConfigNodeHeartbeatReq._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description TActivationControlactivationControlTLicenselicencestatic Map<TConfigNodeHeartbeatReq._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMaplongtimestamp
-
Constructor Summary
Constructors Constructor Description TConfigNodeHeartbeatReq()TConfigNodeHeartbeatReq(long timestamp)TConfigNodeHeartbeatReq(TConfigNodeHeartbeatReq other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(TConfigNodeHeartbeatReq other)TConfigNodeHeartbeatReqdeepCopy()booleanequals(Object that)booleanequals(TConfigNodeHeartbeatReq that)TConfigNodeHeartbeatReq._FieldsfieldForId(int fieldId)TActivationControlgetActivationControl()ObjectgetFieldValue(TConfigNodeHeartbeatReq._Fields field)TLicensegetLicence()longgetTimestamp()inthashCode()booleanisSet(TConfigNodeHeartbeatReq._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetActivationControl()Returns true if field activationControl is set (has been assigned a value) and false otherwisebooleanisSetLicence()Returns true if field licence 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)TConfigNodeHeartbeatReqsetActivationControl(TActivationControl activationControl)voidsetActivationControlIsSet(boolean value)voidsetFieldValue(TConfigNodeHeartbeatReq._Fields field, Object value)TConfigNodeHeartbeatReqsetLicence(TLicense licence)voidsetLicenceIsSet(boolean value)TConfigNodeHeartbeatReqsetTimestamp(long timestamp)voidsetTimestampIsSet(boolean value)StringtoString()voidunsetActivationControl()voidunsetLicence()voidunsetTimestamp()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
timestamp
public long timestamp
-
licence
public TLicense licence
-
activationControl
public TActivationControl activationControl
-
metaDataMap
public static final Map<TConfigNodeHeartbeatReq._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TConfigNodeHeartbeatReq
public TConfigNodeHeartbeatReq()
-
TConfigNodeHeartbeatReq
public TConfigNodeHeartbeatReq(long timestamp)
-
TConfigNodeHeartbeatReq
public TConfigNodeHeartbeatReq(TConfigNodeHeartbeatReq other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TConfigNodeHeartbeatReq deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TConfigNodeHeartbeatReq,TConfigNodeHeartbeatReq._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TConfigNodeHeartbeatReq,TConfigNodeHeartbeatReq._Fields>
-
getTimestamp
public long getTimestamp()
-
setTimestamp
public TConfigNodeHeartbeatReq 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)
-
getLicence
public TLicense getLicence()
-
setLicence
public TConfigNodeHeartbeatReq setLicence(TLicense licence)
-
unsetLicence
public void unsetLicence()
-
isSetLicence
public boolean isSetLicence()
Returns true if field licence is set (has been assigned a value) and false otherwise
-
setLicenceIsSet
public void setLicenceIsSet(boolean value)
-
getActivationControl
public TActivationControl getActivationControl()
-
setActivationControl
public TConfigNodeHeartbeatReq setActivationControl(TActivationControl activationControl)
-
unsetActivationControl
public void unsetActivationControl()
-
isSetActivationControl
public boolean isSetActivationControl()
Returns true if field activationControl is set (has been assigned a value) and false otherwise
-
setActivationControlIsSet
public void setActivationControlIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TConfigNodeHeartbeatReq._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TConfigNodeHeartbeatReq,TConfigNodeHeartbeatReq._Fields>
-
getFieldValue
public Object getFieldValue(TConfigNodeHeartbeatReq._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TConfigNodeHeartbeatReq,TConfigNodeHeartbeatReq._Fields>
-
isSet
public boolean isSet(TConfigNodeHeartbeatReq._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<TConfigNodeHeartbeatReq,TConfigNodeHeartbeatReq._Fields>
-
equals
public boolean equals(TConfigNodeHeartbeatReq that)
-
compareTo
public int compareTo(TConfigNodeHeartbeatReq other)
- Specified by:
compareToin interfaceComparable<TConfigNodeHeartbeatReq>
-
fieldForId
public TConfigNodeHeartbeatReq._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TConfigNodeHeartbeatReq,TConfigNodeHeartbeatReq._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
-
-