@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2022-07-23") public class ActivityTaskStartedEventAttributes extends java.lang.Object implements org.apache.thrift.TBase<ActivityTaskStartedEventAttributes,ActivityTaskStartedEventAttributes._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<ActivityTaskStartedEventAttributes>
Modifier and Type | Class and Description |
---|---|
static class |
ActivityTaskStartedEventAttributes._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
int |
attempt |
java.lang.String |
identity |
java.nio.ByteBuffer |
lastFailureDetails |
java.lang.String |
lastFailureReason |
static java.util.Map<ActivityTaskStartedEventAttributes._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
java.lang.String |
requestId |
long |
scheduledEventId |
Constructor and Description |
---|
ActivityTaskStartedEventAttributes() |
ActivityTaskStartedEventAttributes(ActivityTaskStartedEventAttributes other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
java.nio.ByteBuffer |
bufferForLastFailureDetails() |
void |
clear() |
int |
compareTo(ActivityTaskStartedEventAttributes other) |
ActivityTaskStartedEventAttributes |
deepCopy() |
boolean |
equals(ActivityTaskStartedEventAttributes that) |
boolean |
equals(java.lang.Object that) |
ActivityTaskStartedEventAttributes._Fields |
fieldForId(int fieldId) |
int |
getAttempt() |
java.lang.Object |
getFieldValue(ActivityTaskStartedEventAttributes._Fields field) |
java.lang.String |
getIdentity() |
byte[] |
getLastFailureDetails() |
java.lang.String |
getLastFailureReason() |
java.lang.String |
getRequestId() |
long |
getScheduledEventId() |
int |
hashCode() |
boolean |
isSet(ActivityTaskStartedEventAttributes._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetAttempt()
Returns true if field attempt 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 |
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 |
isSetRequestId()
Returns true if field requestId 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
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
ActivityTaskStartedEventAttributes |
setAttempt(int attempt) |
void |
setAttemptIsSet(boolean value) |
void |
setFieldValue(ActivityTaskStartedEventAttributes._Fields field,
java.lang.Object value) |
ActivityTaskStartedEventAttributes |
setIdentity(java.lang.String identity) |
void |
setIdentityIsSet(boolean value) |
ActivityTaskStartedEventAttributes |
setLastFailureDetails(byte[] lastFailureDetails) |
ActivityTaskStartedEventAttributes |
setLastFailureDetails(java.nio.ByteBuffer lastFailureDetails) |
void |
setLastFailureDetailsIsSet(boolean value) |
ActivityTaskStartedEventAttributes |
setLastFailureReason(java.lang.String lastFailureReason) |
void |
setLastFailureReasonIsSet(boolean value) |
ActivityTaskStartedEventAttributes |
setRequestId(java.lang.String requestId) |
void |
setRequestIdIsSet(boolean value) |
ActivityTaskStartedEventAttributes |
setScheduledEventId(long scheduledEventId) |
void |
setScheduledEventIdIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetAttempt() |
void |
unsetIdentity() |
void |
unsetLastFailureDetails() |
void |
unsetLastFailureReason() |
void |
unsetRequestId() |
void |
unsetScheduledEventId() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public long scheduledEventId
public java.lang.String identity
public java.lang.String requestId
public int attempt
public java.lang.String lastFailureReason
public java.nio.ByteBuffer lastFailureDetails
public static final java.util.Map<ActivityTaskStartedEventAttributes._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public ActivityTaskStartedEventAttributes()
public ActivityTaskStartedEventAttributes(ActivityTaskStartedEventAttributes other)
public ActivityTaskStartedEventAttributes deepCopy()
deepCopy
in interface org.apache.thrift.TBase<ActivityTaskStartedEventAttributes,ActivityTaskStartedEventAttributes._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<ActivityTaskStartedEventAttributes,ActivityTaskStartedEventAttributes._Fields>
public long getScheduledEventId()
public ActivityTaskStartedEventAttributes setScheduledEventId(long scheduledEventId)
public void unsetScheduledEventId()
public boolean isSetScheduledEventId()
public void setScheduledEventIdIsSet(boolean value)
public java.lang.String getIdentity()
public ActivityTaskStartedEventAttributes setIdentity(java.lang.String identity)
public void unsetIdentity()
public boolean isSetIdentity()
public void setIdentityIsSet(boolean value)
public java.lang.String getRequestId()
public ActivityTaskStartedEventAttributes setRequestId(java.lang.String requestId)
public void unsetRequestId()
public boolean isSetRequestId()
public void setRequestIdIsSet(boolean value)
public int getAttempt()
public ActivityTaskStartedEventAttributes setAttempt(int attempt)
public void unsetAttempt()
public boolean isSetAttempt()
public void setAttemptIsSet(boolean value)
public java.lang.String getLastFailureReason()
public ActivityTaskStartedEventAttributes 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 ActivityTaskStartedEventAttributes setLastFailureDetails(byte[] lastFailureDetails)
public ActivityTaskStartedEventAttributes setLastFailureDetails(java.nio.ByteBuffer lastFailureDetails)
public void unsetLastFailureDetails()
public boolean isSetLastFailureDetails()
public void setLastFailureDetailsIsSet(boolean value)
public void setFieldValue(ActivityTaskStartedEventAttributes._Fields field, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<ActivityTaskStartedEventAttributes,ActivityTaskStartedEventAttributes._Fields>
public java.lang.Object getFieldValue(ActivityTaskStartedEventAttributes._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<ActivityTaskStartedEventAttributes,ActivityTaskStartedEventAttributes._Fields>
public boolean isSet(ActivityTaskStartedEventAttributes._Fields field)
isSet
in interface org.apache.thrift.TBase<ActivityTaskStartedEventAttributes,ActivityTaskStartedEventAttributes._Fields>
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(ActivityTaskStartedEventAttributes that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(ActivityTaskStartedEventAttributes other)
compareTo
in interface java.lang.Comparable<ActivityTaskStartedEventAttributes>
public ActivityTaskStartedEventAttributes._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<ActivityTaskStartedEventAttributes,ActivityTaskStartedEventAttributes._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<ActivityTaskStartedEventAttributes,ActivityTaskStartedEventAttributes._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<ActivityTaskStartedEventAttributes,ActivityTaskStartedEventAttributes._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