Package ai.heavy.thrift.server
Class TLicenseInfo
- java.lang.Object
-
- ai.heavy.thrift.server.TLicenseInfo
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TLicenseInfo>,org.apache.thrift.TBase<TLicenseInfo,TLicenseInfo._Fields>,org.apache.thrift.TSerializable
public class TLicenseInfo extends Object implements org.apache.thrift.TBase<TLicenseInfo,TLicenseInfo._Fields>, Serializable, Cloneable, Comparable<TLicenseInfo>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTLicenseInfo._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description List<String>claimsstatic Map<TLicenseInfo._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMap
-
Constructor Summary
Constructors Constructor Description TLicenseInfo()TLicenseInfo(TLicenseInfo other)Performs a deep copy on other.TLicenseInfo(List<String> claims)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToClaims(String elem)voidclear()intcompareTo(TLicenseInfo other)TLicenseInfodeepCopy()booleanequals(TLicenseInfo that)booleanequals(Object that)TLicenseInfo._FieldsfieldForId(int fieldId)List<String>getClaims()Iterator<String>getClaimsIterator()intgetClaimsSize()ObjectgetFieldValue(TLicenseInfo._Fields field)inthashCode()booleanisSet(TLicenseInfo._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetClaims()Returns true if field claims is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)TLicenseInfosetClaims(List<String> claims)voidsetClaimsIsSet(boolean value)voidsetFieldValue(TLicenseInfo._Fields field, Object value)StringtoString()voidunsetClaims()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
metaDataMap
public static final Map<TLicenseInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TLicenseInfo
public TLicenseInfo()
-
TLicenseInfo
public TLicenseInfo(TLicenseInfo other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TLicenseInfo deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TLicenseInfo,TLicenseInfo._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TLicenseInfo,TLicenseInfo._Fields>
-
getClaimsSize
public int getClaimsSize()
-
addToClaims
public void addToClaims(String elem)
-
setClaims
public TLicenseInfo setClaims(List<String> claims)
-
unsetClaims
public void unsetClaims()
-
isSetClaims
public boolean isSetClaims()
Returns true if field claims is set (has been assigned a value) and false otherwise
-
setClaimsIsSet
public void setClaimsIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TLicenseInfo._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TLicenseInfo,TLicenseInfo._Fields>
-
getFieldValue
public Object getFieldValue(TLicenseInfo._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TLicenseInfo,TLicenseInfo._Fields>
-
isSet
public boolean isSet(TLicenseInfo._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<TLicenseInfo,TLicenseInfo._Fields>
-
equals
public boolean equals(TLicenseInfo that)
-
compareTo
public int compareTo(TLicenseInfo other)
- Specified by:
compareToin interfaceComparable<TLicenseInfo>
-
fieldForId
public TLicenseInfo._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TLicenseInfo,TLicenseInfo._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
-
-