Package ai.heavy.thrift.server
Class Heavy.get_all_roles_for_user_args
- java.lang.Object
-
- ai.heavy.thrift.server.Heavy.get_all_roles_for_user_args
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Heavy.get_all_roles_for_user_args>,org.apache.thrift.TBase<Heavy.get_all_roles_for_user_args,Heavy.get_all_roles_for_user_args._Fields>,org.apache.thrift.TSerializable
- Enclosing class:
- Heavy
public static class Heavy.get_all_roles_for_user_args extends Object implements org.apache.thrift.TBase<Heavy.get_all_roles_for_user_args,Heavy.get_all_roles_for_user_args._Fields>, Serializable, Cloneable, Comparable<Heavy.get_all_roles_for_user_args>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHeavy.get_all_roles_for_user_args._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<Heavy.get_all_roles_for_user_args._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringsessionStringuserName
-
Constructor Summary
Constructors Constructor Description get_all_roles_for_user_args()get_all_roles_for_user_args(Heavy.get_all_roles_for_user_args other)Performs a deep copy on other.get_all_roles_for_user_args(String session, String userName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(Heavy.get_all_roles_for_user_args other)Heavy.get_all_roles_for_user_argsdeepCopy()booleanequals(Heavy.get_all_roles_for_user_args that)booleanequals(Object that)Heavy.get_all_roles_for_user_args._FieldsfieldForId(int fieldId)ObjectgetFieldValue(Heavy.get_all_roles_for_user_args._Fields field)StringgetSession()StringgetUserName()inthashCode()booleanisSet(Heavy.get_all_roles_for_user_args._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetSession()Returns true if field session is set (has been assigned a value) and false otherwisebooleanisSetUserName()Returns true if field userName is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)voidsetFieldValue(Heavy.get_all_roles_for_user_args._Fields field, Object value)Heavy.get_all_roles_for_user_argssetSession(String session)voidsetSessionIsSet(boolean value)Heavy.get_all_roles_for_user_argssetUserName(String userName)voidsetUserNameIsSet(boolean value)StringtoString()voidunsetSession()voidunsetUserName()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
session
public String session
-
userName
public String userName
-
metaDataMap
public static final Map<Heavy.get_all_roles_for_user_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
get_all_roles_for_user_args
public get_all_roles_for_user_args()
-
get_all_roles_for_user_args
public get_all_roles_for_user_args(Heavy.get_all_roles_for_user_args other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public Heavy.get_all_roles_for_user_args deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<Heavy.get_all_roles_for_user_args,Heavy.get_all_roles_for_user_args._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<Heavy.get_all_roles_for_user_args,Heavy.get_all_roles_for_user_args._Fields>
-
getSession
public String getSession()
-
setSession
public Heavy.get_all_roles_for_user_args setSession(String session)
-
unsetSession
public void unsetSession()
-
isSetSession
public boolean isSetSession()
Returns true if field session is set (has been assigned a value) and false otherwise
-
setSessionIsSet
public void setSessionIsSet(boolean value)
-
getUserName
public String getUserName()
-
setUserName
public Heavy.get_all_roles_for_user_args setUserName(String userName)
-
unsetUserName
public void unsetUserName()
-
isSetUserName
public boolean isSetUserName()
Returns true if field userName is set (has been assigned a value) and false otherwise
-
setUserNameIsSet
public void setUserNameIsSet(boolean value)
-
setFieldValue
public void setFieldValue(Heavy.get_all_roles_for_user_args._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<Heavy.get_all_roles_for_user_args,Heavy.get_all_roles_for_user_args._Fields>
-
getFieldValue
public Object getFieldValue(Heavy.get_all_roles_for_user_args._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<Heavy.get_all_roles_for_user_args,Heavy.get_all_roles_for_user_args._Fields>
-
isSet
public boolean isSet(Heavy.get_all_roles_for_user_args._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<Heavy.get_all_roles_for_user_args,Heavy.get_all_roles_for_user_args._Fields>
-
equals
public boolean equals(Heavy.get_all_roles_for_user_args that)
-
compareTo
public int compareTo(Heavy.get_all_roles_for_user_args other)
- Specified by:
compareToin interfaceComparable<Heavy.get_all_roles_for_user_args>
-
fieldForId
public Heavy.get_all_roles_for_user_args._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<Heavy.get_all_roles_for_user_args,Heavy.get_all_roles_for_user_args._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
-
-