Package ai.heavy.thrift.server
Class TDictionaryGeneration
- java.lang.Object
-
- ai.heavy.thrift.server.TDictionaryGeneration
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TDictionaryGeneration>,org.apache.thrift.TBase<TDictionaryGeneration,TDictionaryGeneration._Fields>,org.apache.thrift.TSerializable
public class TDictionaryGeneration extends Object implements org.apache.thrift.TBase<TDictionaryGeneration,TDictionaryGeneration._Fields>, Serializable, Cloneable, Comparable<TDictionaryGeneration>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTDictionaryGeneration._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description intdict_idlongentry_countstatic Map<TDictionaryGeneration._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMap
-
Constructor Summary
Constructors Constructor Description TDictionaryGeneration()TDictionaryGeneration(int dict_id, long entry_count)TDictionaryGeneration(TDictionaryGeneration other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(TDictionaryGeneration other)TDictionaryGenerationdeepCopy()booleanequals(TDictionaryGeneration that)booleanequals(Object that)TDictionaryGeneration._FieldsfieldForId(int fieldId)intgetDict_id()longgetEntry_count()ObjectgetFieldValue(TDictionaryGeneration._Fields field)inthashCode()booleanisSet(TDictionaryGeneration._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetDict_id()Returns true if field dict_id is set (has been assigned a value) and false otherwisebooleanisSetEntry_count()Returns true if field entry_count is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)TDictionaryGenerationsetDict_id(int dict_id)voidsetDict_idIsSet(boolean value)TDictionaryGenerationsetEntry_count(long entry_count)voidsetEntry_countIsSet(boolean value)voidsetFieldValue(TDictionaryGeneration._Fields field, Object value)StringtoString()voidunsetDict_id()voidunsetEntry_count()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
dict_id
public int dict_id
-
entry_count
public long entry_count
-
metaDataMap
public static final Map<TDictionaryGeneration._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TDictionaryGeneration
public TDictionaryGeneration()
-
TDictionaryGeneration
public TDictionaryGeneration(int dict_id, long entry_count)
-
TDictionaryGeneration
public TDictionaryGeneration(TDictionaryGeneration other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TDictionaryGeneration deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TDictionaryGeneration,TDictionaryGeneration._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TDictionaryGeneration,TDictionaryGeneration._Fields>
-
getDict_id
public int getDict_id()
-
setDict_id
public TDictionaryGeneration setDict_id(int dict_id)
-
unsetDict_id
public void unsetDict_id()
-
isSetDict_id
public boolean isSetDict_id()
Returns true if field dict_id is set (has been assigned a value) and false otherwise
-
setDict_idIsSet
public void setDict_idIsSet(boolean value)
-
getEntry_count
public long getEntry_count()
-
setEntry_count
public TDictionaryGeneration setEntry_count(long entry_count)
-
unsetEntry_count
public void unsetEntry_count()
-
isSetEntry_count
public boolean isSetEntry_count()
Returns true if field entry_count is set (has been assigned a value) and false otherwise
-
setEntry_countIsSet
public void setEntry_countIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TDictionaryGeneration._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TDictionaryGeneration,TDictionaryGeneration._Fields>
-
getFieldValue
public Object getFieldValue(TDictionaryGeneration._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TDictionaryGeneration,TDictionaryGeneration._Fields>
-
isSet
public boolean isSet(TDictionaryGeneration._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<TDictionaryGeneration,TDictionaryGeneration._Fields>
-
equals
public boolean equals(TDictionaryGeneration that)
-
compareTo
public int compareTo(TDictionaryGeneration other)
- Specified by:
compareToin interfaceComparable<TDictionaryGeneration>
-
fieldForId
public TDictionaryGeneration._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TDictionaryGeneration,TDictionaryGeneration._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
-
-