Package dev.vality.damsel.wb_list
Class CountInfo
java.lang.Object
dev.vality.damsel.wb_list.CountInfo
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<CountInfo>,org.apache.thrift.TBase<CountInfo,CountInfo._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-11-15")
public class CountInfo
extends Object
implements org.apache.thrift.TBase<CountInfo,CountInfo._Fields>, Serializable, Cloneable, Comparable<CountInfo>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCountInfo._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description longcountstatic Map<CountInfo._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringstart_count_timeStringtime_to_live -
Constructor Summary
-
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(CountInfo other)CountInfodeepCopy()booleanequals(CountInfo that)booleanequals(Object that)CountInfo._FieldsfieldForId(int fieldId)longgetCount()Map<CountInfo._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()CountInfo._Fields[]getFields()ObjectgetFieldValue(CountInfo._Fields field)StringgetStartCountTime()StringgetTimeToLive()inthashCode()booleanisSet(CountInfo._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetCount()Returns true if field count is set (has been assigned a value) and false otherwisebooleanisSetStartCountTime()Returns true if field start_count_time is set (has been assigned a value) and false otherwisebooleanisSetTimeToLive()Returns true if field time_to_live is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)CountInfosetCount(long count)voidsetCountIsSet(boolean value)voidsetFieldValue(CountInfo._Fields field, Object value)CountInfosetStartCountTime(String start_count_time)voidsetStartCountTimeIsSet(boolean value)CountInfosetTimeToLive(String time_to_live)voidsetTimeToLiveIsSet(boolean value)StringtoString()voidunsetCount()voidunsetStartCountTime()voidunsetTimeToLive()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
count
public long count -
time_to_live
-
start_count_time
-
metaDataMap
-
-
Constructor Details
-
CountInfo
public CountInfo() -
CountInfo
-
CountInfo
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<CountInfo,CountInfo._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<CountInfo,CountInfo._Fields>
-
getCount
public long getCount() -
setCount
-
unsetCount
public void unsetCount() -
isSetCount
public boolean isSetCount()Returns true if field count is set (has been assigned a value) and false otherwise -
setCountIsSet
public void setCountIsSet(boolean value) -
getTimeToLive
-
setTimeToLive
-
unsetTimeToLive
public void unsetTimeToLive() -
isSetTimeToLive
public boolean isSetTimeToLive()Returns true if field time_to_live is set (has been assigned a value) and false otherwise -
setTimeToLiveIsSet
public void setTimeToLiveIsSet(boolean value) -
getStartCountTime
-
setStartCountTime
-
unsetStartCountTime
public void unsetStartCountTime() -
isSetStartCountTime
public boolean isSetStartCountTime()Returns true if field start_count_time is set (has been assigned a value) and false otherwise -
setStartCountTimeIsSet
public void setStartCountTimeIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<CountInfo,CountInfo._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<CountInfo,CountInfo._Fields>
-
isSet
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<CountInfo,CountInfo._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<CountInfo>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<CountInfo,CountInfo._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<CountInfo,CountInfo._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<CountInfo,CountInfo._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
-
toString
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-