Package dev.vality.damsel.accounter
Class PostingPlan
java.lang.Object
dev.vality.damsel.accounter.PostingPlan
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<PostingPlan>,org.apache.thrift.TBase<PostingPlan,PostingPlan._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-10-25")
public class PostingPlan
extends Object
implements org.apache.thrift.TBase<PostingPlan,PostingPlan._Fields>, Serializable, Cloneable, Comparable<PostingPlan>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPostingPlan._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<PostingBatch>batch_listStringidstatic Map<PostingPlan._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMap -
Constructor Summary
Constructors Constructor Description PostingPlan()PostingPlan(PostingPlan other)Performs a deep copy on other.PostingPlan(String id, List<PostingBatch> batch_list) -
Method Summary
Modifier and Type Method Description voidaddToBatchList(PostingBatch elem)voidclear()intcompareTo(PostingPlan other)PostingPlandeepCopy()booleanequals(PostingPlan that)booleanequals(Object that)PostingPlan._FieldsfieldForId(int fieldId)List<PostingBatch>getBatchList()Iterator<PostingBatch>getBatchListIterator()intgetBatchListSize()Map<PostingPlan._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()PostingPlan._Fields[]getFields()ObjectgetFieldValue(PostingPlan._Fields field)StringgetId()inthashCode()booleanisSet(PostingPlan._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetBatchList()Returns true if field batch_list is set (has been assigned a value) and false otherwisebooleanisSetId()Returns true if field id is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)PostingPlansetBatchList(List<PostingBatch> batch_list)voidsetBatchListIsSet(boolean value)voidsetFieldValue(PostingPlan._Fields field, Object value)PostingPlansetId(String id)voidsetIdIsSet(boolean value)StringtoString()voidunsetBatchList()voidunsetId()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
id
-
batch_list
-
metaDataMap
-
-
Constructor Details
-
PostingPlan
public PostingPlan() -
PostingPlan
-
PostingPlan
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<PostingPlan,PostingPlan._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<PostingPlan,PostingPlan._Fields>
-
getId
-
setId
-
unsetId
public void unsetId() -
isSetId
public boolean isSetId()Returns true if field id is set (has been assigned a value) and false otherwise -
setIdIsSet
public void setIdIsSet(boolean value) -
getBatchListSize
public int getBatchListSize() -
getBatchListIterator
-
addToBatchList
-
getBatchList
-
setBatchList
-
unsetBatchList
public void unsetBatchList() -
isSetBatchList
public boolean isSetBatchList()Returns true if field batch_list is set (has been assigned a value) and false otherwise -
setBatchListIsSet
public void setBatchListIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<PostingPlan,PostingPlan._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<PostingPlan,PostingPlan._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<PostingPlan,PostingPlan._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<PostingPlan>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<PostingPlan,PostingPlan._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<PostingPlan,PostingPlan._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<PostingPlan,PostingPlan._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
-