@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2021-08-14") public class ActivityTaskFailedEventAttributes extends java.lang.Object implements org.apache.thrift.TBase<ActivityTaskFailedEventAttributes,ActivityTaskFailedEventAttributes._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<ActivityTaskFailedEventAttributes>
Modifier and Type | Class and Description |
---|---|
static class |
ActivityTaskFailedEventAttributes._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.lang.String |
identity |
static java.util.Map<ActivityTaskFailedEventAttributes._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
java.lang.String |
reason |
long |
scheduledEventId |
long |
startedEventId |
Constructor and Description |
---|
ActivityTaskFailedEventAttributes() |
ActivityTaskFailedEventAttributes(ActivityTaskFailedEventAttributes other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
java.nio.ByteBuffer |
bufferForDetails() |
void |
clear() |
int |
compareTo(ActivityTaskFailedEventAttributes other) |
ActivityTaskFailedEventAttributes |
deepCopy() |
boolean |
equals(ActivityTaskFailedEventAttributes that) |
boolean |
equals(java.lang.Object that) |
ActivityTaskFailedEventAttributes._Fields |
fieldForId(int fieldId) |
byte[] |
getDetails() |
java.lang.Object |
getFieldValue(ActivityTaskFailedEventAttributes._Fields field) |
java.lang.String |
getIdentity() |
java.lang.String |
getReason() |
long |
getScheduledEventId() |
long |
getStartedEventId() |
int |
hashCode() |
boolean |
isSet(ActivityTaskFailedEventAttributes._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 |
isSetIdentity()
Returns true if field identity is set (has been assigned a value) and false otherwise
|
boolean |
isSetReason()
Returns true if field reason 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) |
ActivityTaskFailedEventAttributes |
setDetails(byte[] details) |
ActivityTaskFailedEventAttributes |
setDetails(java.nio.ByteBuffer details) |
void |
setDetailsIsSet(boolean value) |
void |
setFieldValue(ActivityTaskFailedEventAttributes._Fields field,
java.lang.Object value) |
ActivityTaskFailedEventAttributes |
setIdentity(java.lang.String identity) |
void |
setIdentityIsSet(boolean value) |
ActivityTaskFailedEventAttributes |
setReason(java.lang.String reason) |
void |
setReasonIsSet(boolean value) |
ActivityTaskFailedEventAttributes |
setScheduledEventId(long scheduledEventId) |
void |
setScheduledEventIdIsSet(boolean value) |
ActivityTaskFailedEventAttributes |
setStartedEventId(long startedEventId) |
void |
setStartedEventIdIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetDetails() |
void |
unsetIdentity() |
void |
unsetReason() |
void |
unsetScheduledEventId() |
void |
unsetStartedEventId() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public java.lang.String reason
public java.nio.ByteBuffer details
public long scheduledEventId
public long startedEventId
public java.lang.String identity
public static final java.util.Map<ActivityTaskFailedEventAttributes._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public ActivityTaskFailedEventAttributes()
public ActivityTaskFailedEventAttributes(ActivityTaskFailedEventAttributes other)
public ActivityTaskFailedEventAttributes deepCopy()
deepCopy
in interface org.apache.thrift.TBase<ActivityTaskFailedEventAttributes,ActivityTaskFailedEventAttributes._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<ActivityTaskFailedEventAttributes,ActivityTaskFailedEventAttributes._Fields>
public java.lang.String getReason()
public ActivityTaskFailedEventAttributes setReason(java.lang.String reason)
public void unsetReason()
public boolean isSetReason()
public void setReasonIsSet(boolean value)
public byte[] getDetails()
public java.nio.ByteBuffer bufferForDetails()
public ActivityTaskFailedEventAttributes setDetails(byte[] details)
public ActivityTaskFailedEventAttributes setDetails(java.nio.ByteBuffer details)
public void unsetDetails()
public boolean isSetDetails()
public void setDetailsIsSet(boolean value)
public long getScheduledEventId()
public ActivityTaskFailedEventAttributes setScheduledEventId(long scheduledEventId)
public void unsetScheduledEventId()
public boolean isSetScheduledEventId()
public void setScheduledEventIdIsSet(boolean value)
public long getStartedEventId()
public ActivityTaskFailedEventAttributes setStartedEventId(long startedEventId)
public void unsetStartedEventId()
public boolean isSetStartedEventId()
public void setStartedEventIdIsSet(boolean value)
public java.lang.String getIdentity()
public ActivityTaskFailedEventAttributes setIdentity(java.lang.String identity)
public void unsetIdentity()
public boolean isSetIdentity()
public void setIdentityIsSet(boolean value)
public void setFieldValue(ActivityTaskFailedEventAttributes._Fields field, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<ActivityTaskFailedEventAttributes,ActivityTaskFailedEventAttributes._Fields>
public java.lang.Object getFieldValue(ActivityTaskFailedEventAttributes._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<ActivityTaskFailedEventAttributes,ActivityTaskFailedEventAttributes._Fields>
public boolean isSet(ActivityTaskFailedEventAttributes._Fields field)
isSet
in interface org.apache.thrift.TBase<ActivityTaskFailedEventAttributes,ActivityTaskFailedEventAttributes._Fields>
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(ActivityTaskFailedEventAttributes that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(ActivityTaskFailedEventAttributes other)
compareTo
in interface java.lang.Comparable<ActivityTaskFailedEventAttributes>
public ActivityTaskFailedEventAttributes._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<ActivityTaskFailedEventAttributes,ActivityTaskFailedEventAttributes._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<ActivityTaskFailedEventAttributes,ActivityTaskFailedEventAttributes._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<ActivityTaskFailedEventAttributes,ActivityTaskFailedEventAttributes._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