Class TLoginReq
- java.lang.Object
-
- org.apache.iotdb.confignode.rpc.thrift.TLoginReq
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TLoginReq>,org.apache.thrift.TBase<TLoginReq,TLoginReq._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2024-04-19") public class TLoginReq extends Object implements org.apache.thrift.TBase<TLoginReq,TLoginReq._Fields>, Serializable, Cloneable, Comparable<TLoginReq>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTLoginReq._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description static Map<TLoginReq._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringpasswordStringuserrname
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(TLoginReq other)TLoginReqdeepCopy()booleanequals(Object that)booleanequals(TLoginReq that)TLoginReq._FieldsfieldForId(int fieldId)ObjectgetFieldValue(TLoginReq._Fields field)StringgetPassword()StringgetUserrname()inthashCode()booleanisSet(TLoginReq._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetPassword()Returns true if field password is set (has been assigned a value) and false otherwisebooleanisSetUserrname()Returns true if field userrname is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)voidsetFieldValue(TLoginReq._Fields field, Object value)TLoginReqsetPassword(String password)voidsetPasswordIsSet(boolean value)TLoginReqsetUserrname(String userrname)voidsetUserrnameIsSet(boolean value)StringtoString()voidunsetPassword()voidunsetUserrname()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
userrname
public String userrname
-
password
public String password
-
metaDataMap
public static final Map<TLoginReq._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Method Detail
-
deepCopy
public TLoginReq deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TLoginReq,TLoginReq._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TLoginReq,TLoginReq._Fields>
-
getUserrname
public String getUserrname()
-
unsetUserrname
public void unsetUserrname()
-
isSetUserrname
public boolean isSetUserrname()
Returns true if field userrname is set (has been assigned a value) and false otherwise
-
setUserrnameIsSet
public void setUserrnameIsSet(boolean value)
-
getPassword
public String getPassword()
-
unsetPassword
public void unsetPassword()
-
isSetPassword
public boolean isSetPassword()
Returns true if field password is set (has been assigned a value) and false otherwise
-
setPasswordIsSet
public void setPasswordIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TLoginReq._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TLoginReq,TLoginReq._Fields>
-
getFieldValue
public Object getFieldValue(TLoginReq._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TLoginReq,TLoginReq._Fields>
-
isSet
public boolean isSet(TLoginReq._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<TLoginReq,TLoginReq._Fields>
-
equals
public boolean equals(TLoginReq that)
-
compareTo
public int compareTo(TLoginReq other)
- Specified by:
compareToin interfaceComparable<TLoginReq>
-
fieldForId
public TLoginReq._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TLoginReq,TLoginReq._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
-
-