Package com.uber.cadence
Class DecisionTaskFailedEventAttributes
- java.lang.Object
-
- com.uber.cadence.DecisionTaskFailedEventAttributes
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Comparable<DecisionTaskFailedEventAttributes>
,org.apache.thrift.TBase<DecisionTaskFailedEventAttributes,DecisionTaskFailedEventAttributes._Fields>
@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2023-08-08") public class DecisionTaskFailedEventAttributes extends java.lang.Object implements org.apache.thrift.TBase<DecisionTaskFailedEventAttributes,DecisionTaskFailedEventAttributes._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<DecisionTaskFailedEventAttributes>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DecisionTaskFailedEventAttributes._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
java.lang.String
binaryChecksum
DecisionTaskFailedCause
cause
java.nio.ByteBuffer
details
long
forkEventVersion
java.lang.String
identity
static java.util.Map<DecisionTaskFailedEventAttributes._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
java.lang.String
newRunId
java.lang.String
reason
long
scheduledEventId
long
startedEventId
-
Constructor Summary
Constructors Constructor Description DecisionTaskFailedEventAttributes()
DecisionTaskFailedEventAttributes(DecisionTaskFailedEventAttributes other)
Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.nio.ByteBuffer
bufferForDetails()
void
clear()
int
compareTo(DecisionTaskFailedEventAttributes other)
DecisionTaskFailedEventAttributes
deepCopy()
boolean
equals(DecisionTaskFailedEventAttributes that)
boolean
equals(java.lang.Object that)
DecisionTaskFailedEventAttributes._Fields
fieldForId(int fieldId)
java.lang.String
getBaseRunId()
java.lang.String
getBinaryChecksum()
DecisionTaskFailedCause
getCause()
byte[]
getDetails()
java.lang.Object
getFieldValue(DecisionTaskFailedEventAttributes._Fields field)
long
getForkEventVersion()
java.lang.String
getIdentity()
java.lang.String
getNewRunId()
java.lang.String
getReason()
long
getScheduledEventId()
long
getStartedEventId()
int
hashCode()
boolean
isSet(DecisionTaskFailedEventAttributes._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
isSetBinaryChecksum()
Returns true if field binaryChecksum 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
isSetDetails()
Returns true if field details 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
isSetIdentity()
Returns true if field identity 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 otherwisevoid
read(org.apache.thrift.protocol.TProtocol iprot)
DecisionTaskFailedEventAttributes
setBaseRunId(java.lang.String baseRunId)
void
setBaseRunIdIsSet(boolean value)
DecisionTaskFailedEventAttributes
setBinaryChecksum(java.lang.String binaryChecksum)
void
setBinaryChecksumIsSet(boolean value)
DecisionTaskFailedEventAttributes
setCause(DecisionTaskFailedCause cause)
void
setCauseIsSet(boolean value)
DecisionTaskFailedEventAttributes
setDetails(byte[] details)
DecisionTaskFailedEventAttributes
setDetails(java.nio.ByteBuffer details)
void
setDetailsIsSet(boolean value)
void
setFieldValue(DecisionTaskFailedEventAttributes._Fields field, java.lang.Object value)
DecisionTaskFailedEventAttributes
setForkEventVersion(long forkEventVersion)
void
setForkEventVersionIsSet(boolean value)
DecisionTaskFailedEventAttributes
setIdentity(java.lang.String identity)
void
setIdentityIsSet(boolean value)
DecisionTaskFailedEventAttributes
setNewRunId(java.lang.String newRunId)
void
setNewRunIdIsSet(boolean value)
DecisionTaskFailedEventAttributes
setReason(java.lang.String reason)
void
setReasonIsSet(boolean value)
DecisionTaskFailedEventAttributes
setScheduledEventId(long scheduledEventId)
void
setScheduledEventIdIsSet(boolean value)
DecisionTaskFailedEventAttributes
setStartedEventId(long startedEventId)
void
setStartedEventIdIsSet(boolean value)
java.lang.String
toString()
void
unsetBaseRunId()
void
unsetBinaryChecksum()
void
unsetCause()
void
unsetDetails()
void
unsetForkEventVersion()
void
unsetIdentity()
void
unsetNewRunId()
void
unsetReason()
void
unsetScheduledEventId()
void
unsetStartedEventId()
void
validate()
void
write(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
scheduledEventId
public long scheduledEventId
-
startedEventId
public long startedEventId
-
cause
public DecisionTaskFailedCause cause
- See Also:
DecisionTaskFailedCause
-
details
public java.nio.ByteBuffer details
-
identity
public java.lang.String identity
-
reason
public java.lang.String reason
-
baseRunId
public java.lang.String baseRunId
-
newRunId
public java.lang.String newRunId
-
forkEventVersion
public long forkEventVersion
-
binaryChecksum
public java.lang.String binaryChecksum
-
metaDataMap
public static final java.util.Map<DecisionTaskFailedEventAttributes._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
DecisionTaskFailedEventAttributes
public DecisionTaskFailedEventAttributes()
-
DecisionTaskFailedEventAttributes
public DecisionTaskFailedEventAttributes(DecisionTaskFailedEventAttributes other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public DecisionTaskFailedEventAttributes deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<DecisionTaskFailedEventAttributes,DecisionTaskFailedEventAttributes._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<DecisionTaskFailedEventAttributes,DecisionTaskFailedEventAttributes._Fields>
-
getScheduledEventId
public long getScheduledEventId()
-
setScheduledEventId
public DecisionTaskFailedEventAttributes 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 DecisionTaskFailedEventAttributes 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)
-
getCause
public DecisionTaskFailedCause getCause()
- See Also:
DecisionTaskFailedCause
-
setCause
public DecisionTaskFailedEventAttributes setCause(DecisionTaskFailedCause cause)
- See Also:
DecisionTaskFailedCause
-
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)
-
getDetails
public byte[] getDetails()
-
bufferForDetails
public java.nio.ByteBuffer bufferForDetails()
-
setDetails
public DecisionTaskFailedEventAttributes setDetails(byte[] details)
-
setDetails
public DecisionTaskFailedEventAttributes setDetails(java.nio.ByteBuffer details)
-
unsetDetails
public void unsetDetails()
-
isSetDetails
public boolean isSetDetails()
Returns true if field details is set (has been assigned a value) and false otherwise
-
setDetailsIsSet
public void setDetailsIsSet(boolean value)
-
getIdentity
public java.lang.String getIdentity()
-
setIdentity
public DecisionTaskFailedEventAttributes 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)
-
getReason
public java.lang.String getReason()
-
setReason
public DecisionTaskFailedEventAttributes 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)
-
getBaseRunId
public java.lang.String getBaseRunId()
-
setBaseRunId
public DecisionTaskFailedEventAttributes 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 DecisionTaskFailedEventAttributes 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 DecisionTaskFailedEventAttributes 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)
-
getBinaryChecksum
public java.lang.String getBinaryChecksum()
-
setBinaryChecksum
public DecisionTaskFailedEventAttributes setBinaryChecksum(java.lang.String binaryChecksum)
-
unsetBinaryChecksum
public void unsetBinaryChecksum()
-
isSetBinaryChecksum
public boolean isSetBinaryChecksum()
Returns true if field binaryChecksum is set (has been assigned a value) and false otherwise
-
setBinaryChecksumIsSet
public void setBinaryChecksumIsSet(boolean value)
-
setFieldValue
public void setFieldValue(DecisionTaskFailedEventAttributes._Fields field, java.lang.Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<DecisionTaskFailedEventAttributes,DecisionTaskFailedEventAttributes._Fields>
-
getFieldValue
public java.lang.Object getFieldValue(DecisionTaskFailedEventAttributes._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<DecisionTaskFailedEventAttributes,DecisionTaskFailedEventAttributes._Fields>
-
isSet
public boolean isSet(DecisionTaskFailedEventAttributes._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<DecisionTaskFailedEventAttributes,DecisionTaskFailedEventAttributes._Fields>
-
equals
public boolean equals(java.lang.Object that)
- Overrides:
equals
in classjava.lang.Object
-
equals
public boolean equals(DecisionTaskFailedEventAttributes that)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
compareTo
public int compareTo(DecisionTaskFailedEventAttributes other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<DecisionTaskFailedEventAttributes>
-
fieldForId
public DecisionTaskFailedEventAttributes._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<DecisionTaskFailedEventAttributes,DecisionTaskFailedEventAttributes._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
- Specified by:
read
in interfaceorg.apache.thrift.TBase<DecisionTaskFailedEventAttributes,DecisionTaskFailedEventAttributes._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<DecisionTaskFailedEventAttributes,DecisionTaskFailedEventAttributes._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
-
-