@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2019-01-18") 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>
Modifier and Type | Class and Description |
---|---|
static class |
DecisionTaskFailedEventAttributes._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
DecisionTaskFailedCause |
cause |
java.nio.ByteBuffer |
details |
java.lang.String |
identity |
static java.util.Map<DecisionTaskFailedEventAttributes._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
long |
scheduledEventId |
long |
startedEventId |
Constructor and Description |
---|
DecisionTaskFailedEventAttributes() |
DecisionTaskFailedEventAttributes(DecisionTaskFailedEventAttributes other)
Performs a deep copy on other.
|
Modifier and Type | Method and 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) |
DecisionTaskFailedCause |
getCause() |
byte[] |
getDetails() |
java.lang.Object |
getFieldValue(DecisionTaskFailedEventAttributes._Fields field) |
java.lang.String |
getIdentity() |
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 otherwise
|
boolean |
isSetCause()
Returns true if field cause is set (has been assigned a value) and false otherwise
|
boolean |
isSetDetails()
Returns true if field details is set (has been assigned a value) and false otherwise
|
boolean |
isSetIdentity()
Returns true if field identity is set (has been assigned a value) and false otherwise
|
boolean |
isSetScheduledEventId()
Returns true if field scheduledEventId is set (has been assigned a value) and false otherwise
|
boolean |
isSetStartedEventId()
Returns true if field startedEventId is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
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 |
setIdentity(java.lang.String identity) |
void |
setIdentityIsSet(boolean value) |
DecisionTaskFailedEventAttributes |
setScheduledEventId(long scheduledEventId) |
void |
setScheduledEventIdIsSet(boolean value) |
DecisionTaskFailedEventAttributes |
setStartedEventId(long startedEventId) |
void |
setStartedEventIdIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetCause() |
void |
unsetDetails() |
void |
unsetIdentity() |
void |
unsetScheduledEventId() |
void |
unsetStartedEventId() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public long scheduledEventId
public long startedEventId
public DecisionTaskFailedCause cause
DecisionTaskFailedCause
public java.nio.ByteBuffer details
public java.lang.String identity
public static final java.util.Map<DecisionTaskFailedEventAttributes._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public DecisionTaskFailedEventAttributes()
public DecisionTaskFailedEventAttributes(DecisionTaskFailedEventAttributes other)
public DecisionTaskFailedEventAttributes deepCopy()
deepCopy
in interface org.apache.thrift.TBase<DecisionTaskFailedEventAttributes,DecisionTaskFailedEventAttributes._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<DecisionTaskFailedEventAttributes,DecisionTaskFailedEventAttributes._Fields>
public long getScheduledEventId()
public DecisionTaskFailedEventAttributes setScheduledEventId(long scheduledEventId)
public void unsetScheduledEventId()
public boolean isSetScheduledEventId()
public void setScheduledEventIdIsSet(boolean value)
public long getStartedEventId()
public DecisionTaskFailedEventAttributes setStartedEventId(long startedEventId)
public void unsetStartedEventId()
public boolean isSetStartedEventId()
public void setStartedEventIdIsSet(boolean value)
public DecisionTaskFailedCause getCause()
DecisionTaskFailedCause
public DecisionTaskFailedEventAttributes setCause(DecisionTaskFailedCause cause)
DecisionTaskFailedCause
public void unsetCause()
public boolean isSetCause()
public void setCauseIsSet(boolean value)
public byte[] getDetails()
public java.nio.ByteBuffer bufferForDetails()
public DecisionTaskFailedEventAttributes setDetails(byte[] details)
public DecisionTaskFailedEventAttributes setDetails(java.nio.ByteBuffer details)
public void unsetDetails()
public boolean isSetDetails()
public void setDetailsIsSet(boolean value)
public java.lang.String getIdentity()
public DecisionTaskFailedEventAttributes setIdentity(java.lang.String identity)
public void unsetIdentity()
public boolean isSetIdentity()
public void setIdentityIsSet(boolean value)
public void setFieldValue(DecisionTaskFailedEventAttributes._Fields field, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<DecisionTaskFailedEventAttributes,DecisionTaskFailedEventAttributes._Fields>
public java.lang.Object getFieldValue(DecisionTaskFailedEventAttributes._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<DecisionTaskFailedEventAttributes,DecisionTaskFailedEventAttributes._Fields>
public boolean isSet(DecisionTaskFailedEventAttributes._Fields field)
isSet
in interface org.apache.thrift.TBase<DecisionTaskFailedEventAttributes,DecisionTaskFailedEventAttributes._Fields>
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(DecisionTaskFailedEventAttributes that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(DecisionTaskFailedEventAttributes other)
compareTo
in interface java.lang.Comparable<DecisionTaskFailedEventAttributes>
public DecisionTaskFailedEventAttributes._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<DecisionTaskFailedEventAttributes,DecisionTaskFailedEventAttributes._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<DecisionTaskFailedEventAttributes,DecisionTaskFailedEventAttributes._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<DecisionTaskFailedEventAttributes,DecisionTaskFailedEventAttributes._Fields>
org.apache.thrift.TException
public java.lang.String toString()
toString
in class java.lang.Object
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException