Class TConfigNodeRegisterReq
- java.lang.Object
-
- org.apache.iotdb.confignode.rpc.thrift.TConfigNodeRegisterReq
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TConfigNodeRegisterReq>,org.apache.thrift.TBase<TConfigNodeRegisterReq,TConfigNodeRegisterReq._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2024-04-19") public class TConfigNodeRegisterReq extends Object implements org.apache.thrift.TBase<TConfigNodeRegisterReq,TConfigNodeRegisterReq._Fields>, Serializable, Cloneable, Comparable<TConfigNodeRegisterReq>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTConfigNodeRegisterReq._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description TClusterParametersclusterParametersTConfigNodeLocationconfigNodeLocationstatic Map<TConfigNodeRegisterReq._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapTNodeVersionInfoversionInfo
-
Constructor Summary
Constructors Constructor Description TConfigNodeRegisterReq()TConfigNodeRegisterReq(TClusterParameters clusterParameters, TConfigNodeLocation configNodeLocation)TConfigNodeRegisterReq(TConfigNodeRegisterReq other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(TConfigNodeRegisterReq other)TConfigNodeRegisterReqdeepCopy()booleanequals(Object that)booleanequals(TConfigNodeRegisterReq that)TConfigNodeRegisterReq._FieldsfieldForId(int fieldId)TClusterParametersgetClusterParameters()TConfigNodeLocationgetConfigNodeLocation()ObjectgetFieldValue(TConfigNodeRegisterReq._Fields field)TNodeVersionInfogetVersionInfo()inthashCode()booleanisSet(TConfigNodeRegisterReq._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetClusterParameters()Returns true if field clusterParameters is set (has been assigned a value) and false otherwisebooleanisSetConfigNodeLocation()Returns true if field configNodeLocation is set (has been assigned a value) and false otherwisebooleanisSetVersionInfo()Returns true if field versionInfo is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)TConfigNodeRegisterReqsetClusterParameters(TClusterParameters clusterParameters)voidsetClusterParametersIsSet(boolean value)TConfigNodeRegisterReqsetConfigNodeLocation(TConfigNodeLocation configNodeLocation)voidsetConfigNodeLocationIsSet(boolean value)voidsetFieldValue(TConfigNodeRegisterReq._Fields field, Object value)TConfigNodeRegisterReqsetVersionInfo(TNodeVersionInfo versionInfo)voidsetVersionInfoIsSet(boolean value)StringtoString()voidunsetClusterParameters()voidunsetConfigNodeLocation()voidunsetVersionInfo()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
clusterParameters
public TClusterParameters clusterParameters
-
configNodeLocation
public TConfigNodeLocation configNodeLocation
-
versionInfo
public TNodeVersionInfo versionInfo
-
metaDataMap
public static final Map<TConfigNodeRegisterReq._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TConfigNodeRegisterReq
public TConfigNodeRegisterReq()
-
TConfigNodeRegisterReq
public TConfigNodeRegisterReq(TClusterParameters clusterParameters, TConfigNodeLocation configNodeLocation)
-
TConfigNodeRegisterReq
public TConfigNodeRegisterReq(TConfigNodeRegisterReq other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TConfigNodeRegisterReq deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TConfigNodeRegisterReq,TConfigNodeRegisterReq._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TConfigNodeRegisterReq,TConfigNodeRegisterReq._Fields>
-
getClusterParameters
public TClusterParameters getClusterParameters()
-
setClusterParameters
public TConfigNodeRegisterReq setClusterParameters(TClusterParameters clusterParameters)
-
unsetClusterParameters
public void unsetClusterParameters()
-
isSetClusterParameters
public boolean isSetClusterParameters()
Returns true if field clusterParameters is set (has been assigned a value) and false otherwise
-
setClusterParametersIsSet
public void setClusterParametersIsSet(boolean value)
-
getConfigNodeLocation
public TConfigNodeLocation getConfigNodeLocation()
-
setConfigNodeLocation
public TConfigNodeRegisterReq setConfigNodeLocation(TConfigNodeLocation configNodeLocation)
-
unsetConfigNodeLocation
public void unsetConfigNodeLocation()
-
isSetConfigNodeLocation
public boolean isSetConfigNodeLocation()
Returns true if field configNodeLocation is set (has been assigned a value) and false otherwise
-
setConfigNodeLocationIsSet
public void setConfigNodeLocationIsSet(boolean value)
-
getVersionInfo
public TNodeVersionInfo getVersionInfo()
-
setVersionInfo
public TConfigNodeRegisterReq setVersionInfo(TNodeVersionInfo versionInfo)
-
unsetVersionInfo
public void unsetVersionInfo()
-
isSetVersionInfo
public boolean isSetVersionInfo()
Returns true if field versionInfo is set (has been assigned a value) and false otherwise
-
setVersionInfoIsSet
public void setVersionInfoIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TConfigNodeRegisterReq._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TConfigNodeRegisterReq,TConfigNodeRegisterReq._Fields>
-
getFieldValue
public Object getFieldValue(TConfigNodeRegisterReq._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TConfigNodeRegisterReq,TConfigNodeRegisterReq._Fields>
-
isSet
public boolean isSet(TConfigNodeRegisterReq._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<TConfigNodeRegisterReq,TConfigNodeRegisterReq._Fields>
-
equals
public boolean equals(TConfigNodeRegisterReq that)
-
compareTo
public int compareTo(TConfigNodeRegisterReq other)
- Specified by:
compareToin interfaceComparable<TConfigNodeRegisterReq>
-
fieldForId
public TConfigNodeRegisterReq._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TConfigNodeRegisterReq,TConfigNodeRegisterReq._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
-
-