@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2020-11-12") public class ActivityLocalDispatchInfo extends java.lang.Object implements org.apache.thrift.TBase<ActivityLocalDispatchInfo,ActivityLocalDispatchInfo._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<ActivityLocalDispatchInfo>
Modifier and Type | Class and Description |
---|---|
static class |
ActivityLocalDispatchInfo._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 |
activityId |
static java.util.Map<ActivityLocalDispatchInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
long |
scheduledTimestamp |
long |
scheduledTimestampOfThisAttempt |
long |
startedTimestamp |
java.nio.ByteBuffer |
taskToken |
Constructor and Description |
---|
ActivityLocalDispatchInfo() |
ActivityLocalDispatchInfo(ActivityLocalDispatchInfo other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
java.nio.ByteBuffer |
bufferForTaskToken() |
void |
clear() |
int |
compareTo(ActivityLocalDispatchInfo other) |
ActivityLocalDispatchInfo |
deepCopy() |
boolean |
equals(ActivityLocalDispatchInfo that) |
boolean |
equals(java.lang.Object that) |
ActivityLocalDispatchInfo._Fields |
fieldForId(int fieldId) |
java.lang.String |
getActivityId() |
java.lang.Object |
getFieldValue(ActivityLocalDispatchInfo._Fields field) |
long |
getScheduledTimestamp() |
long |
getScheduledTimestampOfThisAttempt() |
long |
getStartedTimestamp() |
byte[] |
getTaskToken() |
int |
hashCode() |
boolean |
isSet(ActivityLocalDispatchInfo._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetActivityId()
Returns true if field activityId is set (has been assigned a value) and false otherwise
|
boolean |
isSetScheduledTimestamp()
Returns true if field scheduledTimestamp is set (has been assigned a value) and false otherwise
|
boolean |
isSetScheduledTimestampOfThisAttempt()
Returns true if field scheduledTimestampOfThisAttempt is set (has been assigned a value) and false otherwise
|
boolean |
isSetStartedTimestamp()
Returns true if field startedTimestamp is set (has been assigned a value) and false otherwise
|
boolean |
isSetTaskToken()
Returns true if field taskToken is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
ActivityLocalDispatchInfo |
setActivityId(java.lang.String activityId) |
void |
setActivityIdIsSet(boolean value) |
void |
setFieldValue(ActivityLocalDispatchInfo._Fields field,
java.lang.Object value) |
ActivityLocalDispatchInfo |
setScheduledTimestamp(long scheduledTimestamp) |
void |
setScheduledTimestampIsSet(boolean value) |
ActivityLocalDispatchInfo |
setScheduledTimestampOfThisAttempt(long scheduledTimestampOfThisAttempt) |
void |
setScheduledTimestampOfThisAttemptIsSet(boolean value) |
ActivityLocalDispatchInfo |
setStartedTimestamp(long startedTimestamp) |
void |
setStartedTimestampIsSet(boolean value) |
ActivityLocalDispatchInfo |
setTaskToken(byte[] taskToken) |
ActivityLocalDispatchInfo |
setTaskToken(java.nio.ByteBuffer taskToken) |
void |
setTaskTokenIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetActivityId() |
void |
unsetScheduledTimestamp() |
void |
unsetScheduledTimestampOfThisAttempt() |
void |
unsetStartedTimestamp() |
void |
unsetTaskToken() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public java.lang.String activityId
public long scheduledTimestamp
public long startedTimestamp
public long scheduledTimestampOfThisAttempt
public java.nio.ByteBuffer taskToken
public static final java.util.Map<ActivityLocalDispatchInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public ActivityLocalDispatchInfo()
public ActivityLocalDispatchInfo(ActivityLocalDispatchInfo other)
public ActivityLocalDispatchInfo deepCopy()
deepCopy
in interface org.apache.thrift.TBase<ActivityLocalDispatchInfo,ActivityLocalDispatchInfo._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<ActivityLocalDispatchInfo,ActivityLocalDispatchInfo._Fields>
public java.lang.String getActivityId()
public ActivityLocalDispatchInfo setActivityId(java.lang.String activityId)
public void unsetActivityId()
public boolean isSetActivityId()
public void setActivityIdIsSet(boolean value)
public long getScheduledTimestamp()
public ActivityLocalDispatchInfo setScheduledTimestamp(long scheduledTimestamp)
public void unsetScheduledTimestamp()
public boolean isSetScheduledTimestamp()
public void setScheduledTimestampIsSet(boolean value)
public long getStartedTimestamp()
public ActivityLocalDispatchInfo setStartedTimestamp(long startedTimestamp)
public void unsetStartedTimestamp()
public boolean isSetStartedTimestamp()
public void setStartedTimestampIsSet(boolean value)
public long getScheduledTimestampOfThisAttempt()
public ActivityLocalDispatchInfo setScheduledTimestampOfThisAttempt(long scheduledTimestampOfThisAttempt)
public void unsetScheduledTimestampOfThisAttempt()
public boolean isSetScheduledTimestampOfThisAttempt()
public void setScheduledTimestampOfThisAttemptIsSet(boolean value)
public byte[] getTaskToken()
public java.nio.ByteBuffer bufferForTaskToken()
public ActivityLocalDispatchInfo setTaskToken(byte[] taskToken)
public ActivityLocalDispatchInfo setTaskToken(java.nio.ByteBuffer taskToken)
public void unsetTaskToken()
public boolean isSetTaskToken()
public void setTaskTokenIsSet(boolean value)
public void setFieldValue(ActivityLocalDispatchInfo._Fields field, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<ActivityLocalDispatchInfo,ActivityLocalDispatchInfo._Fields>
public java.lang.Object getFieldValue(ActivityLocalDispatchInfo._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<ActivityLocalDispatchInfo,ActivityLocalDispatchInfo._Fields>
public boolean isSet(ActivityLocalDispatchInfo._Fields field)
isSet
in interface org.apache.thrift.TBase<ActivityLocalDispatchInfo,ActivityLocalDispatchInfo._Fields>
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(ActivityLocalDispatchInfo that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(ActivityLocalDispatchInfo other)
compareTo
in interface java.lang.Comparable<ActivityLocalDispatchInfo>
public ActivityLocalDispatchInfo._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<ActivityLocalDispatchInfo,ActivityLocalDispatchInfo._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<ActivityLocalDispatchInfo,ActivityLocalDispatchInfo._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<ActivityLocalDispatchInfo,ActivityLocalDispatchInfo._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