Package com.uber.cadence
Class DecisionTaskTimedOutEventAttributes
- java.lang.Object
-
- com.uber.cadence.DecisionTaskTimedOutEventAttributes
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Comparable<DecisionTaskTimedOutEventAttributes>
,org.apache.thrift.TBase<DecisionTaskTimedOutEventAttributes,DecisionTaskTimedOutEventAttributes._Fields>
@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2023-05-19") public class DecisionTaskTimedOutEventAttributes extends java.lang.Object implements org.apache.thrift.TBase<DecisionTaskTimedOutEventAttributes,DecisionTaskTimedOutEventAttributes._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<DecisionTaskTimedOutEventAttributes>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DecisionTaskTimedOutEventAttributes._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.lang.String
baseRunId
DecisionTaskTimedOutCause
cause
long
forkEventVersion
static java.util.Map<DecisionTaskTimedOutEventAttributes._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
java.lang.String
newRunId
java.lang.String
reason
long
scheduledEventId
long
startedEventId
TimeoutType
timeoutType
-
Constructor Summary
Constructors Constructor Description DecisionTaskTimedOutEventAttributes()
DecisionTaskTimedOutEventAttributes(DecisionTaskTimedOutEventAttributes other)
Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
int
compareTo(DecisionTaskTimedOutEventAttributes other)
DecisionTaskTimedOutEventAttributes
deepCopy()
boolean
equals(DecisionTaskTimedOutEventAttributes that)
boolean
equals(java.lang.Object that)
DecisionTaskTimedOutEventAttributes._Fields
fieldForId(int fieldId)
java.lang.String
getBaseRunId()
DecisionTaskTimedOutCause
getCause()
java.lang.Object
getFieldValue(DecisionTaskTimedOutEventAttributes._Fields field)
long
getForkEventVersion()
java.lang.String
getNewRunId()
java.lang.String
getReason()
long
getScheduledEventId()
long
getStartedEventId()
TimeoutType
getTimeoutType()
int
hashCode()
boolean
isSet(DecisionTaskTimedOutEventAttributes._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwiseboolean
isSetBaseRunId()
Returns true if field baseRunId is set (has been assigned a value) and false otherwiseboolean
isSetCause()
Returns true if field cause is set (has been assigned a value) and false otherwiseboolean
isSetForkEventVersion()
Returns true if field forkEventVersion is set (has been assigned a value) and false otherwiseboolean
isSetNewRunId()
Returns true if field newRunId is set (has been assigned a value) and false otherwiseboolean
isSetReason()
Returns true if field reason is set (has been assigned a value) and false otherwiseboolean
isSetScheduledEventId()
Returns true if field scheduledEventId 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
isSetTimeoutType()
Returns true if field timeoutType is set (has been assigned a value) and false otherwisevoid
read(org.apache.thrift.protocol.TProtocol iprot)
DecisionTaskTimedOutEventAttributes
setBaseRunId(java.lang.String baseRunId)
void
setBaseRunIdIsSet(boolean value)
DecisionTaskTimedOutEventAttributes
setCause(DecisionTaskTimedOutCause cause)
void
setCauseIsSet(boolean value)
void
setFieldValue(DecisionTaskTimedOutEventAttributes._Fields field, java.lang.Object value)
DecisionTaskTimedOutEventAttributes
setForkEventVersion(long forkEventVersion)
void
setForkEventVersionIsSet(boolean value)
DecisionTaskTimedOutEventAttributes
setNewRunId(java.lang.String newRunId)
void
setNewRunIdIsSet(boolean value)
DecisionTaskTimedOutEventAttributes
setReason(java.lang.String reason)
void
setReasonIsSet(boolean value)
DecisionTaskTimedOutEventAttributes
setScheduledEventId(long scheduledEventId)
void
setScheduledEventIdIsSet(boolean value)
DecisionTaskTimedOutEventAttributes
setStartedEventId(long startedEventId)
void
setStartedEventIdIsSet(boolean value)
DecisionTaskTimedOutEventAttributes
setTimeoutType(TimeoutType timeoutType)
void
setTimeoutTypeIsSet(boolean value)
java.lang.String
toString()
void
unsetBaseRunId()
void
unsetCause()
void
unsetForkEventVersion()
void
unsetNewRunId()
void
unsetReason()
void
unsetScheduledEventId()
void
unsetStartedEventId()
void
unsetTimeoutType()
void
validate()
void
write(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
scheduledEventId
public long scheduledEventId
-
startedEventId
public long startedEventId
-
timeoutType
public TimeoutType timeoutType
- See Also:
TimeoutType
-
baseRunId
public java.lang.String baseRunId
-
newRunId
public java.lang.String newRunId
-
forkEventVersion
public long forkEventVersion
-
reason
public java.lang.String reason
-
cause
public DecisionTaskTimedOutCause cause
- See Also:
DecisionTaskTimedOutCause
-
metaDataMap
public static final java.util.Map<DecisionTaskTimedOutEventAttributes._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
DecisionTaskTimedOutEventAttributes
public DecisionTaskTimedOutEventAttributes()
-
DecisionTaskTimedOutEventAttributes
public DecisionTaskTimedOutEventAttributes(DecisionTaskTimedOutEventAttributes other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public DecisionTaskTimedOutEventAttributes deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<DecisionTaskTimedOutEventAttributes,DecisionTaskTimedOutEventAttributes._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<DecisionTaskTimedOutEventAttributes,DecisionTaskTimedOutEventAttributes._Fields>
-
getScheduledEventId
public long getScheduledEventId()
-
setScheduledEventId
public DecisionTaskTimedOutEventAttributes setScheduledEventId(long scheduledEventId)
-
unsetScheduledEventId
public void unsetScheduledEventId()
-
isSetScheduledEventId
public boolean isSetScheduledEventId()
Returns true if field scheduledEventId is set (has been assigned a value) and false otherwise
-
setScheduledEventIdIsSet
public void setScheduledEventIdIsSet(boolean value)
-
getStartedEventId
public long getStartedEventId()
-
setStartedEventId
public DecisionTaskTimedOutEventAttributes 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)
-
getTimeoutType
public TimeoutType getTimeoutType()
- See Also:
TimeoutType
-
setTimeoutType
public DecisionTaskTimedOutEventAttributes setTimeoutType(TimeoutType timeoutType)
- See Also:
TimeoutType
-
unsetTimeoutType
public void unsetTimeoutType()
-
isSetTimeoutType
public boolean isSetTimeoutType()
Returns true if field timeoutType is set (has been assigned a value) and false otherwise
-
setTimeoutTypeIsSet
public void setTimeoutTypeIsSet(boolean value)
-
getBaseRunId
public java.lang.String getBaseRunId()
-
setBaseRunId
public DecisionTaskTimedOutEventAttributes setBaseRunId(java.lang.String baseRunId)
-
unsetBaseRunId
public void unsetBaseRunId()
-
isSetBaseRunId
public boolean isSetBaseRunId()
Returns true if field baseRunId is set (has been assigned a value) and false otherwise
-
setBaseRunIdIsSet
public void setBaseRunIdIsSet(boolean value)
-
getNewRunId
public java.lang.String getNewRunId()
-
setNewRunId
public DecisionTaskTimedOutEventAttributes setNewRunId(java.lang.String newRunId)
-
unsetNewRunId
public void unsetNewRunId()
-
isSetNewRunId
public boolean isSetNewRunId()
Returns true if field newRunId is set (has been assigned a value) and false otherwise
-
setNewRunIdIsSet
public void setNewRunIdIsSet(boolean value)
-
getForkEventVersion
public long getForkEventVersion()
-
setForkEventVersion
public DecisionTaskTimedOutEventAttributes setForkEventVersion(long forkEventVersion)
-
unsetForkEventVersion
public void unsetForkEventVersion()
-
isSetForkEventVersion
public boolean isSetForkEventVersion()
Returns true if field forkEventVersion is set (has been assigned a value) and false otherwise
-
setForkEventVersionIsSet
public void setForkEventVersionIsSet(boolean value)
-
getReason
public java.lang.String getReason()
-
setReason
public DecisionTaskTimedOutEventAttributes setReason(java.lang.String reason)
-
unsetReason
public void unsetReason()
-
isSetReason
public boolean isSetReason()
Returns true if field reason is set (has been assigned a value) and false otherwise
-
setReasonIsSet
public void setReasonIsSet(boolean value)
-
getCause
public DecisionTaskTimedOutCause getCause()
- See Also:
DecisionTaskTimedOutCause
-
setCause
public DecisionTaskTimedOutEventAttributes setCause(DecisionTaskTimedOutCause cause)
- See Also:
DecisionTaskTimedOutCause
-
unsetCause
public void unsetCause()
-
isSetCause
public boolean isSetCause()
Returns true if field cause is set (has been assigned a value) and false otherwise
-
setCauseIsSet
public void setCauseIsSet(boolean value)
-
setFieldValue
public void setFieldValue(DecisionTaskTimedOutEventAttributes._Fields field, java.lang.Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<DecisionTaskTimedOutEventAttributes,DecisionTaskTimedOutEventAttributes._Fields>
-
getFieldValue
public java.lang.Object getFieldValue(DecisionTaskTimedOutEventAttributes._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<DecisionTaskTimedOutEventAttributes,DecisionTaskTimedOutEventAttributes._Fields>
-
isSet
public boolean isSet(DecisionTaskTimedOutEventAttributes._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<DecisionTaskTimedOutEventAttributes,DecisionTaskTimedOutEventAttributes._Fields>
-
equals
public boolean equals(java.lang.Object that)
- Overrides:
equals
in classjava.lang.Object
-
equals
public boolean equals(DecisionTaskTimedOutEventAttributes that)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
compareTo
public int compareTo(DecisionTaskTimedOutEventAttributes other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<DecisionTaskTimedOutEventAttributes>
-
fieldForId
public DecisionTaskTimedOutEventAttributes._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<DecisionTaskTimedOutEventAttributes,DecisionTaskTimedOutEventAttributes._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
- Specified by:
read
in interfaceorg.apache.thrift.TBase<DecisionTaskTimedOutEventAttributes,DecisionTaskTimedOutEventAttributes._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<DecisionTaskTimedOutEventAttributes,DecisionTaskTimedOutEventAttributes._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
-
-