@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2021-10-01") public class ActivityTaskTimedOutEventAttributes extends java.lang.Object implements org.apache.thrift.TBase<ActivityTaskTimedOutEventAttributes,ActivityTaskTimedOutEventAttributes._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<ActivityTaskTimedOutEventAttributes>
Modifier and Type | Class and Description |
---|---|
static class |
ActivityTaskTimedOutEventAttributes._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
java.nio.ByteBuffer |
details |
java.nio.ByteBuffer |
lastFailureDetails |
java.lang.String |
lastFailureReason |
static java.util.Map<ActivityTaskTimedOutEventAttributes._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
long |
scheduledEventId |
long |
startedEventId |
TimeoutType |
timeoutType |
Constructor and Description |
---|
ActivityTaskTimedOutEventAttributes() |
ActivityTaskTimedOutEventAttributes(ActivityTaskTimedOutEventAttributes other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
java.nio.ByteBuffer |
bufferForDetails() |
java.nio.ByteBuffer |
bufferForLastFailureDetails() |
void |
clear() |
int |
compareTo(ActivityTaskTimedOutEventAttributes other) |
ActivityTaskTimedOutEventAttributes |
deepCopy() |
boolean |
equals(ActivityTaskTimedOutEventAttributes that) |
boolean |
equals(java.lang.Object that) |
ActivityTaskTimedOutEventAttributes._Fields |
fieldForId(int fieldId) |
byte[] |
getDetails() |
java.lang.Object |
getFieldValue(ActivityTaskTimedOutEventAttributes._Fields field) |
byte[] |
getLastFailureDetails() |
java.lang.String |
getLastFailureReason() |
long |
getScheduledEventId() |
long |
getStartedEventId() |
TimeoutType |
getTimeoutType() |
int |
hashCode() |
boolean |
isSet(ActivityTaskTimedOutEventAttributes._Fields field)
Returns true if field corresponding to fieldID 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 |
isSetLastFailureDetails()
Returns true if field lastFailureDetails is set (has been assigned a value) and false otherwise
|
boolean |
isSetLastFailureReason()
Returns true if field lastFailureReason 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
|
boolean |
isSetTimeoutType()
Returns true if field timeoutType is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
ActivityTaskTimedOutEventAttributes |
setDetails(byte[] details) |
ActivityTaskTimedOutEventAttributes |
setDetails(java.nio.ByteBuffer details) |
void |
setDetailsIsSet(boolean value) |
void |
setFieldValue(ActivityTaskTimedOutEventAttributes._Fields field,
java.lang.Object value) |
ActivityTaskTimedOutEventAttributes |
setLastFailureDetails(byte[] lastFailureDetails) |
ActivityTaskTimedOutEventAttributes |
setLastFailureDetails(java.nio.ByteBuffer lastFailureDetails) |
void |
setLastFailureDetailsIsSet(boolean value) |
ActivityTaskTimedOutEventAttributes |
setLastFailureReason(java.lang.String lastFailureReason) |
void |
setLastFailureReasonIsSet(boolean value) |
ActivityTaskTimedOutEventAttributes |
setScheduledEventId(long scheduledEventId) |
void |
setScheduledEventIdIsSet(boolean value) |
ActivityTaskTimedOutEventAttributes |
setStartedEventId(long startedEventId) |
void |
setStartedEventIdIsSet(boolean value) |
ActivityTaskTimedOutEventAttributes |
setTimeoutType(TimeoutType timeoutType) |
void |
setTimeoutTypeIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetDetails() |
void |
unsetLastFailureDetails() |
void |
unsetLastFailureReason() |
void |
unsetScheduledEventId() |
void |
unsetStartedEventId() |
void |
unsetTimeoutType() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public java.nio.ByteBuffer details
public long scheduledEventId
public long startedEventId
public TimeoutType timeoutType
TimeoutType
public java.lang.String lastFailureReason
public java.nio.ByteBuffer lastFailureDetails
public static final java.util.Map<ActivityTaskTimedOutEventAttributes._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public ActivityTaskTimedOutEventAttributes()
public ActivityTaskTimedOutEventAttributes(ActivityTaskTimedOutEventAttributes other)
public ActivityTaskTimedOutEventAttributes deepCopy()
deepCopy
in interface org.apache.thrift.TBase<ActivityTaskTimedOutEventAttributes,ActivityTaskTimedOutEventAttributes._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<ActivityTaskTimedOutEventAttributes,ActivityTaskTimedOutEventAttributes._Fields>
public byte[] getDetails()
public java.nio.ByteBuffer bufferForDetails()
public ActivityTaskTimedOutEventAttributes setDetails(byte[] details)
public ActivityTaskTimedOutEventAttributes setDetails(java.nio.ByteBuffer details)
public void unsetDetails()
public boolean isSetDetails()
public void setDetailsIsSet(boolean value)
public long getScheduledEventId()
public ActivityTaskTimedOutEventAttributes setScheduledEventId(long scheduledEventId)
public void unsetScheduledEventId()
public boolean isSetScheduledEventId()
public void setScheduledEventIdIsSet(boolean value)
public long getStartedEventId()
public ActivityTaskTimedOutEventAttributes setStartedEventId(long startedEventId)
public void unsetStartedEventId()
public boolean isSetStartedEventId()
public void setStartedEventIdIsSet(boolean value)
public TimeoutType getTimeoutType()
TimeoutType
public ActivityTaskTimedOutEventAttributes setTimeoutType(TimeoutType timeoutType)
TimeoutType
public void unsetTimeoutType()
public boolean isSetTimeoutType()
public void setTimeoutTypeIsSet(boolean value)
public java.lang.String getLastFailureReason()
public ActivityTaskTimedOutEventAttributes setLastFailureReason(java.lang.String lastFailureReason)
public void unsetLastFailureReason()
public boolean isSetLastFailureReason()
public void setLastFailureReasonIsSet(boolean value)
public byte[] getLastFailureDetails()
public java.nio.ByteBuffer bufferForLastFailureDetails()
public ActivityTaskTimedOutEventAttributes setLastFailureDetails(byte[] lastFailureDetails)
public ActivityTaskTimedOutEventAttributes setLastFailureDetails(java.nio.ByteBuffer lastFailureDetails)
public void unsetLastFailureDetails()
public boolean isSetLastFailureDetails()
public void setLastFailureDetailsIsSet(boolean value)
public void setFieldValue(ActivityTaskTimedOutEventAttributes._Fields field, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<ActivityTaskTimedOutEventAttributes,ActivityTaskTimedOutEventAttributes._Fields>
public java.lang.Object getFieldValue(ActivityTaskTimedOutEventAttributes._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<ActivityTaskTimedOutEventAttributes,ActivityTaskTimedOutEventAttributes._Fields>
public boolean isSet(ActivityTaskTimedOutEventAttributes._Fields field)
isSet
in interface org.apache.thrift.TBase<ActivityTaskTimedOutEventAttributes,ActivityTaskTimedOutEventAttributes._Fields>
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(ActivityTaskTimedOutEventAttributes that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(ActivityTaskTimedOutEventAttributes other)
compareTo
in interface java.lang.Comparable<ActivityTaskTimedOutEventAttributes>
public ActivityTaskTimedOutEventAttributes._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<ActivityTaskTimedOutEventAttributes,ActivityTaskTimedOutEventAttributes._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<ActivityTaskTimedOutEventAttributes,ActivityTaskTimedOutEventAttributes._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<ActivityTaskTimedOutEventAttributes,ActivityTaskTimedOutEventAttributes._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