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