@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2020-11-12") public class ActivityTaskCompletedEventAttributes extends java.lang.Object implements org.apache.thrift.TBase<ActivityTaskCompletedEventAttributes,ActivityTaskCompletedEventAttributes._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<ActivityTaskCompletedEventAttributes>
Modifier and Type | Class and Description |
---|---|
static class |
ActivityTaskCompletedEventAttributes._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
java.lang.String |
identity |
static java.util.Map<ActivityTaskCompletedEventAttributes._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
java.nio.ByteBuffer |
result |
long |
scheduledEventId |
long |
startedEventId |
Constructor and Description |
---|
ActivityTaskCompletedEventAttributes() |
ActivityTaskCompletedEventAttributes(ActivityTaskCompletedEventAttributes other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
java.nio.ByteBuffer |
bufferForResult() |
void |
clear() |
int |
compareTo(ActivityTaskCompletedEventAttributes other) |
ActivityTaskCompletedEventAttributes |
deepCopy() |
boolean |
equals(ActivityTaskCompletedEventAttributes that) |
boolean |
equals(java.lang.Object that) |
ActivityTaskCompletedEventAttributes._Fields |
fieldForId(int fieldId) |
java.lang.Object |
getFieldValue(ActivityTaskCompletedEventAttributes._Fields field) |
java.lang.String |
getIdentity() |
byte[] |
getResult() |
long |
getScheduledEventId() |
long |
getStartedEventId() |
int |
hashCode() |
boolean |
isSet(ActivityTaskCompletedEventAttributes._Fields field)
Returns true if field corresponding to fieldID 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 |
isSetResult()
Returns true if field result 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) |
void |
setFieldValue(ActivityTaskCompletedEventAttributes._Fields field,
java.lang.Object value) |
ActivityTaskCompletedEventAttributes |
setIdentity(java.lang.String identity) |
void |
setIdentityIsSet(boolean value) |
ActivityTaskCompletedEventAttributes |
setResult(byte[] result) |
ActivityTaskCompletedEventAttributes |
setResult(java.nio.ByteBuffer result) |
void |
setResultIsSet(boolean value) |
ActivityTaskCompletedEventAttributes |
setScheduledEventId(long scheduledEventId) |
void |
setScheduledEventIdIsSet(boolean value) |
ActivityTaskCompletedEventAttributes |
setStartedEventId(long startedEventId) |
void |
setStartedEventIdIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetIdentity() |
void |
unsetResult() |
void |
unsetScheduledEventId() |
void |
unsetStartedEventId() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public java.nio.ByteBuffer result
public long scheduledEventId
public long startedEventId
public java.lang.String identity
public static final java.util.Map<ActivityTaskCompletedEventAttributes._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public ActivityTaskCompletedEventAttributes()
public ActivityTaskCompletedEventAttributes(ActivityTaskCompletedEventAttributes other)
public ActivityTaskCompletedEventAttributes deepCopy()
deepCopy
in interface org.apache.thrift.TBase<ActivityTaskCompletedEventAttributes,ActivityTaskCompletedEventAttributes._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<ActivityTaskCompletedEventAttributes,ActivityTaskCompletedEventAttributes._Fields>
public byte[] getResult()
public java.nio.ByteBuffer bufferForResult()
public ActivityTaskCompletedEventAttributes setResult(byte[] result)
public ActivityTaskCompletedEventAttributes setResult(java.nio.ByteBuffer result)
public void unsetResult()
public boolean isSetResult()
public void setResultIsSet(boolean value)
public long getScheduledEventId()
public ActivityTaskCompletedEventAttributes setScheduledEventId(long scheduledEventId)
public void unsetScheduledEventId()
public boolean isSetScheduledEventId()
public void setScheduledEventIdIsSet(boolean value)
public long getStartedEventId()
public ActivityTaskCompletedEventAttributes setStartedEventId(long startedEventId)
public void unsetStartedEventId()
public boolean isSetStartedEventId()
public void setStartedEventIdIsSet(boolean value)
public java.lang.String getIdentity()
public ActivityTaskCompletedEventAttributes setIdentity(java.lang.String identity)
public void unsetIdentity()
public boolean isSetIdentity()
public void setIdentityIsSet(boolean value)
public void setFieldValue(ActivityTaskCompletedEventAttributes._Fields field, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<ActivityTaskCompletedEventAttributes,ActivityTaskCompletedEventAttributes._Fields>
public java.lang.Object getFieldValue(ActivityTaskCompletedEventAttributes._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<ActivityTaskCompletedEventAttributes,ActivityTaskCompletedEventAttributes._Fields>
public boolean isSet(ActivityTaskCompletedEventAttributes._Fields field)
isSet
in interface org.apache.thrift.TBase<ActivityTaskCompletedEventAttributes,ActivityTaskCompletedEventAttributes._Fields>
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(ActivityTaskCompletedEventAttributes that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(ActivityTaskCompletedEventAttributes other)
compareTo
in interface java.lang.Comparable<ActivityTaskCompletedEventAttributes>
public ActivityTaskCompletedEventAttributes._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<ActivityTaskCompletedEventAttributes,ActivityTaskCompletedEventAttributes._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<ActivityTaskCompletedEventAttributes,ActivityTaskCompletedEventAttributes._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<ActivityTaskCompletedEventAttributes,ActivityTaskCompletedEventAttributes._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