Package ai.heavy.thrift.server
Class TKrb5Session
- java.lang.Object
-
- ai.heavy.thrift.server.TKrb5Session
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TKrb5Session>,org.apache.thrift.TBase<TKrb5Session,TKrb5Session._Fields>,org.apache.thrift.TSerializable
public class TKrb5Session extends Object implements org.apache.thrift.TBase<TKrb5Session,TKrb5Session._Fields>, Serializable, Cloneable, Comparable<TKrb5Session>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTKrb5Session._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description StringkrbTokenstatic Map<TKrb5Session._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringsessionId
-
Constructor Summary
Constructors Constructor Description TKrb5Session()TKrb5Session(TKrb5Session other)Performs a deep copy on other.TKrb5Session(String sessionId, String krbToken)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(TKrb5Session other)TKrb5SessiondeepCopy()booleanequals(TKrb5Session that)booleanequals(Object that)TKrb5Session._FieldsfieldForId(int fieldId)ObjectgetFieldValue(TKrb5Session._Fields field)StringgetKrbToken()StringgetSessionId()inthashCode()booleanisSet(TKrb5Session._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetKrbToken()Returns true if field krbToken is set (has been assigned a value) and false otherwisebooleanisSetSessionId()Returns true if field sessionId is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)voidsetFieldValue(TKrb5Session._Fields field, Object value)TKrb5SessionsetKrbToken(String krbToken)voidsetKrbTokenIsSet(boolean value)TKrb5SessionsetSessionId(String sessionId)voidsetSessionIdIsSet(boolean value)StringtoString()voidunsetKrbToken()voidunsetSessionId()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
sessionId
public String sessionId
-
krbToken
public String krbToken
-
metaDataMap
public static final Map<TKrb5Session._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TKrb5Session
public TKrb5Session()
-
TKrb5Session
public TKrb5Session(TKrb5Session other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TKrb5Session deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TKrb5Session,TKrb5Session._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TKrb5Session,TKrb5Session._Fields>
-
getSessionId
public String getSessionId()
-
setSessionId
public TKrb5Session setSessionId(String sessionId)
-
unsetSessionId
public void unsetSessionId()
-
isSetSessionId
public boolean isSetSessionId()
Returns true if field sessionId is set (has been assigned a value) and false otherwise
-
setSessionIdIsSet
public void setSessionIdIsSet(boolean value)
-
getKrbToken
public String getKrbToken()
-
setKrbToken
public TKrb5Session setKrbToken(String krbToken)
-
unsetKrbToken
public void unsetKrbToken()
-
isSetKrbToken
public boolean isSetKrbToken()
Returns true if field krbToken is set (has been assigned a value) and false otherwise
-
setKrbTokenIsSet
public void setKrbTokenIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TKrb5Session._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TKrb5Session,TKrb5Session._Fields>
-
getFieldValue
public Object getFieldValue(TKrb5Session._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TKrb5Session,TKrb5Session._Fields>
-
isSet
public boolean isSet(TKrb5Session._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<TKrb5Session,TKrb5Session._Fields>
-
equals
public boolean equals(TKrb5Session that)
-
compareTo
public int compareTo(TKrb5Session other)
- Specified by:
compareToin interfaceComparable<TKrb5Session>
-
fieldForId
public TKrb5Session._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TKrb5Session,TKrb5Session._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
-
-