Package dev.vality.fistful.p2p.template
Class AddEventsRepair
java.lang.Object
dev.vality.fistful.p2p.template.AddEventsRepair
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<AddEventsRepair>,org.apache.thrift.TBase<AddEventsRepair,AddEventsRepair._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-06-27")
public class AddEventsRepair
extends Object
implements org.apache.thrift.TBase<AddEventsRepair,AddEventsRepair._Fields>, Serializable, Cloneable, Comparable<AddEventsRepair>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAddEventsRepair._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description ComplexActionactionList<Event>eventsstatic Map<AddEventsRepair._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMap -
Constructor Summary
Constructors Constructor Description AddEventsRepair()AddEventsRepair(AddEventsRepair other)Performs a deep copy on other.AddEventsRepair(List<Event> events) -
Method Summary
Modifier and Type Method Description voidaddToEvents(Event elem)voidclear()intcompareTo(AddEventsRepair other)AddEventsRepairdeepCopy()booleanequals(AddEventsRepair that)booleanequals(Object that)AddEventsRepair._FieldsfieldForId(int fieldId)ComplexActiongetAction()List<Event>getEvents()Iterator<Event>getEventsIterator()intgetEventsSize()Map<AddEventsRepair._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()AddEventsRepair._Fields[]getFields()ObjectgetFieldValue(AddEventsRepair._Fields field)inthashCode()booleanisSet(AddEventsRepair._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetAction()Returns true if field action is set (has been assigned a value) and false otherwisebooleanisSetEvents()Returns true if field events is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)AddEventsRepairsetAction(ComplexAction action)voidsetActionIsSet(boolean value)AddEventsRepairsetEvents(List<Event> events)voidsetEventsIsSet(boolean value)voidsetFieldValue(AddEventsRepair._Fields field, Object value)StringtoString()voidunsetAction()voidunsetEvents()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
events
-
action
-
metaDataMap
public static final Map<AddEventsRepair._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
AddEventsRepair
public AddEventsRepair() -
AddEventsRepair
-
AddEventsRepair
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<AddEventsRepair,AddEventsRepair._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<AddEventsRepair,AddEventsRepair._Fields>
-
getEventsSize
public int getEventsSize() -
getEventsIterator
-
addToEvents
-
getEvents
-
setEvents
-
unsetEvents
public void unsetEvents() -
isSetEvents
public boolean isSetEvents()Returns true if field events is set (has been assigned a value) and false otherwise -
setEventsIsSet
public void setEventsIsSet(boolean value) -
getAction
-
setAction
-
unsetAction
public void unsetAction() -
isSetAction
public boolean isSetAction()Returns true if field action is set (has been assigned a value) and false otherwise -
setActionIsSet
public void setActionIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<AddEventsRepair,AddEventsRepair._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<AddEventsRepair,AddEventsRepair._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<AddEventsRepair,AddEventsRepair._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<AddEventsRepair>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<AddEventsRepair,AddEventsRepair._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<AddEventsRepair,AddEventsRepair._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<AddEventsRepair,AddEventsRepair._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
-