Package com.uber.cadence
Class History
- java.lang.Object
-
- com.uber.cadence.History
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Comparable<History>
,org.apache.thrift.TBase<History,History._Fields>
@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2023-08-08") public class History extends java.lang.Object implements org.apache.thrift.TBase<History,History._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<History>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
History._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description java.util.List<HistoryEvent>
events
static java.util.Map<History._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addToEvents(HistoryEvent elem)
void
clear()
int
compareTo(History other)
History
deepCopy()
boolean
equals(History that)
boolean
equals(java.lang.Object that)
History._Fields
fieldForId(int fieldId)
java.util.List<HistoryEvent>
getEvents()
java.util.Iterator<HistoryEvent>
getEventsIterator()
int
getEventsSize()
java.lang.Object
getFieldValue(History._Fields field)
int
hashCode()
boolean
isSet(History._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwiseboolean
isSetEvents()
Returns true if field events is set (has been assigned a value) and false otherwisevoid
read(org.apache.thrift.protocol.TProtocol iprot)
History
setEvents(java.util.List<HistoryEvent> events)
void
setEventsIsSet(boolean value)
void
setFieldValue(History._Fields field, java.lang.Object value)
java.lang.String
toString()
void
unsetEvents()
void
validate()
void
write(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
events
public java.util.List<HistoryEvent> events
-
metaDataMap
public static final java.util.Map<History._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
History
public History()
-
History
public History(History other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public History deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<History,History._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<History,History._Fields>
-
getEventsSize
public int getEventsSize()
-
getEventsIterator
public java.util.Iterator<HistoryEvent> getEventsIterator()
-
addToEvents
public void addToEvents(HistoryEvent elem)
-
getEvents
public java.util.List<HistoryEvent> getEvents()
-
setEvents
public History setEvents(java.util.List<HistoryEvent> events)
-
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)
-
setFieldValue
public void setFieldValue(History._Fields field, java.lang.Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<History,History._Fields>
-
getFieldValue
public java.lang.Object getFieldValue(History._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<History,History._Fields>
-
isSet
public boolean isSet(History._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSet
in interfaceorg.apache.thrift.TBase<History,History._Fields>
-
equals
public boolean equals(java.lang.Object that)
- Overrides:
equals
in classjava.lang.Object
-
equals
public boolean equals(History that)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
compareTo
public int compareTo(History other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<History>
-
fieldForId
public History._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<History,History._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
- Specified by:
read
in interfaceorg.apache.thrift.TBase<History,History._Fields>
- Throws:
org.apache.thrift.TException
-
write
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
- Specified by:
write
in interfaceorg.apache.thrift.TBase<History,History._Fields>
- Throws:
org.apache.thrift.TException
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
validate
public void validate() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
-