Package ai.heavy.thrift.server
Class Heavy.set_license_key_args
- java.lang.Object
-
- ai.heavy.thrift.server.Heavy.set_license_key_args
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Heavy.set_license_key_args>,org.apache.thrift.TBase<Heavy.set_license_key_args,Heavy.set_license_key_args._Fields>,org.apache.thrift.TSerializable
- Enclosing class:
- Heavy
public static class Heavy.set_license_key_args extends Object implements org.apache.thrift.TBase<Heavy.set_license_key_args,Heavy.set_license_key_args._Fields>, Serializable, Cloneable, Comparable<Heavy.set_license_key_args>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHeavy.set_license_key_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 Stringkeystatic Map<Heavy.set_license_key_args._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringnonceStringsession
-
Constructor Summary
Constructors Constructor Description set_license_key_args()set_license_key_args(Heavy.set_license_key_args other)Performs a deep copy on other.set_license_key_args(String session, String key, String nonce)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(Heavy.set_license_key_args other)Heavy.set_license_key_argsdeepCopy()booleanequals(Heavy.set_license_key_args that)booleanequals(Object that)Heavy.set_license_key_args._FieldsfieldForId(int fieldId)ObjectgetFieldValue(Heavy.set_license_key_args._Fields field)StringgetKey()StringgetNonce()StringgetSession()inthashCode()booleanisSet(Heavy.set_license_key_args._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetKey()Returns true if field key is set (has been assigned a value) and false otherwisebooleanisSetNonce()Returns true if field nonce is set (has been assigned a value) and false otherwisebooleanisSetSession()Returns true if field session is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)voidsetFieldValue(Heavy.set_license_key_args._Fields field, Object value)Heavy.set_license_key_argssetKey(String key)voidsetKeyIsSet(boolean value)Heavy.set_license_key_argssetNonce(String nonce)voidsetNonceIsSet(boolean value)Heavy.set_license_key_argssetSession(String session)voidsetSessionIsSet(boolean value)StringtoString()voidunsetKey()voidunsetNonce()voidunsetSession()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
session
public String session
-
key
public String key
-
nonce
public String nonce
-
metaDataMap
public static final Map<Heavy.set_license_key_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
set_license_key_args
public set_license_key_args()
-
set_license_key_args
public set_license_key_args(Heavy.set_license_key_args other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public Heavy.set_license_key_args deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<Heavy.set_license_key_args,Heavy.set_license_key_args._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<Heavy.set_license_key_args,Heavy.set_license_key_args._Fields>
-
getSession
public String getSession()
-
setSession
public Heavy.set_license_key_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)
-
getKey
public String getKey()
-
setKey
public Heavy.set_license_key_args setKey(String key)
-
unsetKey
public void unsetKey()
-
isSetKey
public boolean isSetKey()
Returns true if field key is set (has been assigned a value) and false otherwise
-
setKeyIsSet
public void setKeyIsSet(boolean value)
-
getNonce
public String getNonce()
-
setNonce
public Heavy.set_license_key_args setNonce(String nonce)
-
unsetNonce
public void unsetNonce()
-
isSetNonce
public boolean isSetNonce()
Returns true if field nonce is set (has been assigned a value) and false otherwise
-
setNonceIsSet
public void setNonceIsSet(boolean value)
-
setFieldValue
public void setFieldValue(Heavy.set_license_key_args._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<Heavy.set_license_key_args,Heavy.set_license_key_args._Fields>
-
getFieldValue
public Object getFieldValue(Heavy.set_license_key_args._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<Heavy.set_license_key_args,Heavy.set_license_key_args._Fields>
-
isSet
public boolean isSet(Heavy.set_license_key_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.set_license_key_args,Heavy.set_license_key_args._Fields>
-
equals
public boolean equals(Heavy.set_license_key_args that)
-
compareTo
public int compareTo(Heavy.set_license_key_args other)
- Specified by:
compareToin interfaceComparable<Heavy.set_license_key_args>
-
fieldForId
public Heavy.set_license_key_args._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<Heavy.set_license_key_args,Heavy.set_license_key_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
-
-