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