Package com.uber.cadence
Class TimerCanceledEventAttributes
- java.lang.Object
-
- com.uber.cadence.TimerCanceledEventAttributes
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Comparable<TimerCanceledEventAttributes>
,org.apache.thrift.TBase<TimerCanceledEventAttributes,TimerCanceledEventAttributes._Fields>
@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2023-08-08") public class TimerCanceledEventAttributes extends java.lang.Object implements org.apache.thrift.TBase<TimerCanceledEventAttributes,TimerCanceledEventAttributes._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<TimerCanceledEventAttributes>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TimerCanceledEventAttributes._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 long
decisionTaskCompletedEventId
java.lang.String
identity
static java.util.Map<TimerCanceledEventAttributes._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
long
startedEventId
java.lang.String
timerId
-
Constructor Summary
Constructors Constructor Description TimerCanceledEventAttributes()
TimerCanceledEventAttributes(TimerCanceledEventAttributes other)
Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
int
compareTo(TimerCanceledEventAttributes other)
TimerCanceledEventAttributes
deepCopy()
boolean
equals(TimerCanceledEventAttributes that)
boolean
equals(java.lang.Object that)
TimerCanceledEventAttributes._Fields
fieldForId(int fieldId)
long
getDecisionTaskCompletedEventId()
java.lang.Object
getFieldValue(TimerCanceledEventAttributes._Fields field)
java.lang.String
getIdentity()
long
getStartedEventId()
java.lang.String
getTimerId()
int
hashCode()
boolean
isSet(TimerCanceledEventAttributes._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwiseboolean
isSetDecisionTaskCompletedEventId()
Returns true if field decisionTaskCompletedEventId is set (has been assigned a value) and false otherwiseboolean
isSetIdentity()
Returns true if field identity is set (has been assigned a value) and false otherwiseboolean
isSetStartedEventId()
Returns true if field startedEventId is set (has been assigned a value) and false otherwiseboolean
isSetTimerId()
Returns true if field timerId is set (has been assigned a value) and false otherwisevoid
read(org.apache.thrift.protocol.TProtocol iprot)
TimerCanceledEventAttributes
setDecisionTaskCompletedEventId(long decisionTaskCompletedEventId)
void
setDecisionTaskCompletedEventIdIsSet(boolean value)
void
setFieldValue(TimerCanceledEventAttributes._Fields field, java.lang.Object value)
TimerCanceledEventAttributes
setIdentity(java.lang.String identity)
void
setIdentityIsSet(boolean value)
TimerCanceledEventAttributes
setStartedEventId(long startedEventId)
void
setStartedEventIdIsSet(boolean value)
TimerCanceledEventAttributes
setTimerId(java.lang.String timerId)
void
setTimerIdIsSet(boolean value)
java.lang.String
toString()
void
unsetDecisionTaskCompletedEventId()
void
unsetIdentity()
void
unsetStartedEventId()
void
unsetTimerId()
void
validate()
void
write(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
timerId
public java.lang.String timerId
-
startedEventId
public long startedEventId
-
decisionTaskCompletedEventId
public long decisionTaskCompletedEventId
-
identity
public java.lang.String identity
-
metaDataMap
public static final java.util.Map<TimerCanceledEventAttributes._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TimerCanceledEventAttributes
public TimerCanceledEventAttributes()
-
TimerCanceledEventAttributes
public TimerCanceledEventAttributes(TimerCanceledEventAttributes other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TimerCanceledEventAttributes deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<TimerCanceledEventAttributes,TimerCanceledEventAttributes._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<TimerCanceledEventAttributes,TimerCanceledEventAttributes._Fields>
-
getTimerId
public java.lang.String getTimerId()
-
setTimerId
public TimerCanceledEventAttributes setTimerId(java.lang.String timerId)
-
unsetTimerId
public void unsetTimerId()
-
isSetTimerId
public boolean isSetTimerId()
Returns true if field timerId is set (has been assigned a value) and false otherwise
-
setTimerIdIsSet
public void setTimerIdIsSet(boolean value)
-
getStartedEventId
public long getStartedEventId()
-
setStartedEventId
public TimerCanceledEventAttributes setStartedEventId(long startedEventId)
-
unsetStartedEventId
public void unsetStartedEventId()
-
isSetStartedEventId
public boolean isSetStartedEventId()
Returns true if field startedEventId is set (has been assigned a value) and false otherwise
-
setStartedEventIdIsSet
public void setStartedEventIdIsSet(boolean value)
-
getDecisionTaskCompletedEventId
public long getDecisionTaskCompletedEventId()
-
setDecisionTaskCompletedEventId
public TimerCanceledEventAttributes setDecisionTaskCompletedEventId(long decisionTaskCompletedEventId)
-
unsetDecisionTaskCompletedEventId
public void unsetDecisionTaskCompletedEventId()
-
isSetDecisionTaskCompletedEventId
public boolean isSetDecisionTaskCompletedEventId()
Returns true if field decisionTaskCompletedEventId is set (has been assigned a value) and false otherwise
-
setDecisionTaskCompletedEventIdIsSet
public void setDecisionTaskCompletedEventIdIsSet(boolean value)
-
getIdentity
public java.lang.String getIdentity()
-
setIdentity
public TimerCanceledEventAttributes setIdentity(java.lang.String identity)
-
unsetIdentity
public void unsetIdentity()
-
isSetIdentity
public boolean isSetIdentity()
Returns true if field identity is set (has been assigned a value) and false otherwise
-
setIdentityIsSet
public void setIdentityIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TimerCanceledEventAttributes._Fields field, java.lang.Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<TimerCanceledEventAttributes,TimerCanceledEventAttributes._Fields>
-
getFieldValue
public java.lang.Object getFieldValue(TimerCanceledEventAttributes._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<TimerCanceledEventAttributes,TimerCanceledEventAttributes._Fields>
-
isSet
public boolean isSet(TimerCanceledEventAttributes._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<TimerCanceledEventAttributes,TimerCanceledEventAttributes._Fields>
-
equals
public boolean equals(java.lang.Object that)
- Overrides:
equals
in classjava.lang.Object
-
equals
public boolean equals(TimerCanceledEventAttributes that)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
compareTo
public int compareTo(TimerCanceledEventAttributes other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<TimerCanceledEventAttributes>
-
fieldForId
public TimerCanceledEventAttributes._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<TimerCanceledEventAttributes,TimerCanceledEventAttributes._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
- Specified by:
read
in interfaceorg.apache.thrift.TBase<TimerCanceledEventAttributes,TimerCanceledEventAttributes._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<TimerCanceledEventAttributes,TimerCanceledEventAttributes._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
-
-