Class TConfigNodeRegisterResp
- java.lang.Object
-
- org.apache.iotdb.confignode.rpc.thrift.TConfigNodeRegisterResp
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TConfigNodeRegisterResp>,org.apache.thrift.TBase<TConfigNodeRegisterResp,TConfigNodeRegisterResp._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2024-04-19") public class TConfigNodeRegisterResp extends Object implements org.apache.thrift.TBase<TConfigNodeRegisterResp,TConfigNodeRegisterResp._Fields>, Serializable, Cloneable, Comparable<TConfigNodeRegisterResp>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTConfigNodeRegisterResp._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description intconfigNodeIdstatic Map<TConfigNodeRegisterResp._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapTSStatusstatus
-
Constructor Summary
Constructors Constructor Description TConfigNodeRegisterResp()TConfigNodeRegisterResp(TSStatus status)TConfigNodeRegisterResp(TConfigNodeRegisterResp other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(TConfigNodeRegisterResp other)TConfigNodeRegisterRespdeepCopy()booleanequals(Object that)booleanequals(TConfigNodeRegisterResp that)TConfigNodeRegisterResp._FieldsfieldForId(int fieldId)intgetConfigNodeId()ObjectgetFieldValue(TConfigNodeRegisterResp._Fields field)TSStatusgetStatus()inthashCode()booleanisSet(TConfigNodeRegisterResp._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetConfigNodeId()Returns true if field configNodeId is set (has been assigned a value) and false otherwisebooleanisSetStatus()Returns true if field status is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)TConfigNodeRegisterRespsetConfigNodeId(int configNodeId)voidsetConfigNodeIdIsSet(boolean value)voidsetFieldValue(TConfigNodeRegisterResp._Fields field, Object value)TConfigNodeRegisterRespsetStatus(TSStatus status)voidsetStatusIsSet(boolean value)StringtoString()voidunsetConfigNodeId()voidunsetStatus()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
status
public TSStatus status
-
configNodeId
public int configNodeId
-
metaDataMap
public static final Map<TConfigNodeRegisterResp._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TConfigNodeRegisterResp
public TConfigNodeRegisterResp()
-
TConfigNodeRegisterResp
public TConfigNodeRegisterResp(TSStatus status)
-
TConfigNodeRegisterResp
public TConfigNodeRegisterResp(TConfigNodeRegisterResp other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TConfigNodeRegisterResp deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TConfigNodeRegisterResp,TConfigNodeRegisterResp._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TConfigNodeRegisterResp,TConfigNodeRegisterResp._Fields>
-
getStatus
public TSStatus getStatus()
-
setStatus
public TConfigNodeRegisterResp setStatus(TSStatus 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)
-
getConfigNodeId
public int getConfigNodeId()
-
setConfigNodeId
public TConfigNodeRegisterResp setConfigNodeId(int configNodeId)
-
unsetConfigNodeId
public void unsetConfigNodeId()
-
isSetConfigNodeId
public boolean isSetConfigNodeId()
Returns true if field configNodeId is set (has been assigned a value) and false otherwise
-
setConfigNodeIdIsSet
public void setConfigNodeIdIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TConfigNodeRegisterResp._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TConfigNodeRegisterResp,TConfigNodeRegisterResp._Fields>
-
getFieldValue
public Object getFieldValue(TConfigNodeRegisterResp._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TConfigNodeRegisterResp,TConfigNodeRegisterResp._Fields>
-
isSet
public boolean isSet(TConfigNodeRegisterResp._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<TConfigNodeRegisterResp,TConfigNodeRegisterResp._Fields>
-
equals
public boolean equals(TConfigNodeRegisterResp that)
-
compareTo
public int compareTo(TConfigNodeRegisterResp other)
- Specified by:
compareToin interfaceComparable<TConfigNodeRegisterResp>
-
fieldForId
public TConfigNodeRegisterResp._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TConfigNodeRegisterResp,TConfigNodeRegisterResp._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
-
-