@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2022-01-11") public class PendingActivityInfo extends java.lang.Object implements org.apache.thrift.TBase<PendingActivityInfo,PendingActivityInfo._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<PendingActivityInfo>
Modifier and Type | Class and Description |
---|---|
static class |
PendingActivityInfo._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 |
ActivityType |
activityType |
int |
attempt |
long |
expirationTimestamp |
java.nio.ByteBuffer |
heartbeatDetails |
java.nio.ByteBuffer |
lastFailureDetails |
java.lang.String |
lastFailureReason |
long |
lastHeartbeatTimestamp |
long |
lastStartedTimestamp |
java.lang.String |
lastWorkerIdentity |
int |
maximumAttempts |
static java.util.Map<PendingActivityInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
long |
scheduledTimestamp |
PendingActivityState |
state |
Constructor and Description |
---|
PendingActivityInfo() |
PendingActivityInfo(PendingActivityInfo other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
java.nio.ByteBuffer |
bufferForHeartbeatDetails() |
java.nio.ByteBuffer |
bufferForLastFailureDetails() |
void |
clear() |
int |
compareTo(PendingActivityInfo other) |
PendingActivityInfo |
deepCopy() |
boolean |
equals(java.lang.Object that) |
boolean |
equals(PendingActivityInfo that) |
PendingActivityInfo._Fields |
fieldForId(int fieldId) |
java.lang.String |
getActivityID() |
ActivityType |
getActivityType() |
int |
getAttempt() |
long |
getExpirationTimestamp() |
java.lang.Object |
getFieldValue(PendingActivityInfo._Fields field) |
byte[] |
getHeartbeatDetails() |
byte[] |
getLastFailureDetails() |
java.lang.String |
getLastFailureReason() |
long |
getLastHeartbeatTimestamp() |
long |
getLastStartedTimestamp() |
java.lang.String |
getLastWorkerIdentity() |
int |
getMaximumAttempts() |
long |
getScheduledTimestamp() |
PendingActivityState |
getState() |
int |
hashCode() |
boolean |
isSet(PendingActivityInfo._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 |
isSetActivityType()
Returns true if field activityType 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 |
isSetExpirationTimestamp()
Returns true if field expirationTimestamp is set (has been assigned a value) and false otherwise
|
boolean |
isSetHeartbeatDetails()
Returns true if field heartbeatDetails 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 |
isSetLastHeartbeatTimestamp()
Returns true if field lastHeartbeatTimestamp is set (has been assigned a value) and false otherwise
|
boolean |
isSetLastStartedTimestamp()
Returns true if field lastStartedTimestamp is set (has been assigned a value) and false otherwise
|
boolean |
isSetLastWorkerIdentity()
Returns true if field lastWorkerIdentity is set (has been assigned a value) and false otherwise
|
boolean |
isSetMaximumAttempts()
Returns true if field maximumAttempts 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 |
isSetState()
Returns true if field state is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
PendingActivityInfo |
setActivityID(java.lang.String activityID) |
void |
setActivityIDIsSet(boolean value) |
PendingActivityInfo |
setActivityType(ActivityType activityType) |
void |
setActivityTypeIsSet(boolean value) |
PendingActivityInfo |
setAttempt(int attempt) |
void |
setAttemptIsSet(boolean value) |
PendingActivityInfo |
setExpirationTimestamp(long expirationTimestamp) |
void |
setExpirationTimestampIsSet(boolean value) |
void |
setFieldValue(PendingActivityInfo._Fields field,
java.lang.Object value) |
PendingActivityInfo |
setHeartbeatDetails(byte[] heartbeatDetails) |
PendingActivityInfo |
setHeartbeatDetails(java.nio.ByteBuffer heartbeatDetails) |
void |
setHeartbeatDetailsIsSet(boolean value) |
PendingActivityInfo |
setLastFailureDetails(byte[] lastFailureDetails) |
PendingActivityInfo |
setLastFailureDetails(java.nio.ByteBuffer lastFailureDetails) |
void |
setLastFailureDetailsIsSet(boolean value) |
PendingActivityInfo |
setLastFailureReason(java.lang.String lastFailureReason) |
void |
setLastFailureReasonIsSet(boolean value) |
PendingActivityInfo |
setLastHeartbeatTimestamp(long lastHeartbeatTimestamp) |
void |
setLastHeartbeatTimestampIsSet(boolean value) |
PendingActivityInfo |
setLastStartedTimestamp(long lastStartedTimestamp) |
void |
setLastStartedTimestampIsSet(boolean value) |
PendingActivityInfo |
setLastWorkerIdentity(java.lang.String lastWorkerIdentity) |
void |
setLastWorkerIdentityIsSet(boolean value) |
PendingActivityInfo |
setMaximumAttempts(int maximumAttempts) |
void |
setMaximumAttemptsIsSet(boolean value) |
PendingActivityInfo |
setScheduledTimestamp(long scheduledTimestamp) |
void |
setScheduledTimestampIsSet(boolean value) |
PendingActivityInfo |
setState(PendingActivityState state) |
void |
setStateIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetActivityID() |
void |
unsetActivityType() |
void |
unsetAttempt() |
void |
unsetExpirationTimestamp() |
void |
unsetHeartbeatDetails() |
void |
unsetLastFailureDetails() |
void |
unsetLastFailureReason() |
void |
unsetLastHeartbeatTimestamp() |
void |
unsetLastStartedTimestamp() |
void |
unsetLastWorkerIdentity() |
void |
unsetMaximumAttempts() |
void |
unsetScheduledTimestamp() |
void |
unsetState() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public java.lang.String activityID
public ActivityType activityType
public PendingActivityState state
PendingActivityState
public java.nio.ByteBuffer heartbeatDetails
public long lastHeartbeatTimestamp
public long lastStartedTimestamp
public int attempt
public int maximumAttempts
public long scheduledTimestamp
public long expirationTimestamp
public java.lang.String lastFailureReason
public java.lang.String lastWorkerIdentity
public java.nio.ByteBuffer lastFailureDetails
public static final java.util.Map<PendingActivityInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public PendingActivityInfo()
public PendingActivityInfo(PendingActivityInfo other)
public PendingActivityInfo deepCopy()
deepCopy
in interface org.apache.thrift.TBase<PendingActivityInfo,PendingActivityInfo._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<PendingActivityInfo,PendingActivityInfo._Fields>
public java.lang.String getActivityID()
public PendingActivityInfo setActivityID(java.lang.String activityID)
public void unsetActivityID()
public boolean isSetActivityID()
public void setActivityIDIsSet(boolean value)
public ActivityType getActivityType()
public PendingActivityInfo setActivityType(ActivityType activityType)
public void unsetActivityType()
public boolean isSetActivityType()
public void setActivityTypeIsSet(boolean value)
public PendingActivityState getState()
PendingActivityState
public PendingActivityInfo setState(PendingActivityState state)
PendingActivityState
public void unsetState()
public boolean isSetState()
public void setStateIsSet(boolean value)
public byte[] getHeartbeatDetails()
public java.nio.ByteBuffer bufferForHeartbeatDetails()
public PendingActivityInfo setHeartbeatDetails(byte[] heartbeatDetails)
public PendingActivityInfo setHeartbeatDetails(java.nio.ByteBuffer heartbeatDetails)
public void unsetHeartbeatDetails()
public boolean isSetHeartbeatDetails()
public void setHeartbeatDetailsIsSet(boolean value)
public long getLastHeartbeatTimestamp()
public PendingActivityInfo setLastHeartbeatTimestamp(long lastHeartbeatTimestamp)
public void unsetLastHeartbeatTimestamp()
public boolean isSetLastHeartbeatTimestamp()
public void setLastHeartbeatTimestampIsSet(boolean value)
public long getLastStartedTimestamp()
public PendingActivityInfo setLastStartedTimestamp(long lastStartedTimestamp)
public void unsetLastStartedTimestamp()
public boolean isSetLastStartedTimestamp()
public void setLastStartedTimestampIsSet(boolean value)
public int getAttempt()
public PendingActivityInfo setAttempt(int attempt)
public void unsetAttempt()
public boolean isSetAttempt()
public void setAttemptIsSet(boolean value)
public int getMaximumAttempts()
public PendingActivityInfo setMaximumAttempts(int maximumAttempts)
public void unsetMaximumAttempts()
public boolean isSetMaximumAttempts()
public void setMaximumAttemptsIsSet(boolean value)
public long getScheduledTimestamp()
public PendingActivityInfo setScheduledTimestamp(long scheduledTimestamp)
public void unsetScheduledTimestamp()
public boolean isSetScheduledTimestamp()
public void setScheduledTimestampIsSet(boolean value)
public long getExpirationTimestamp()
public PendingActivityInfo setExpirationTimestamp(long expirationTimestamp)
public void unsetExpirationTimestamp()
public boolean isSetExpirationTimestamp()
public void setExpirationTimestampIsSet(boolean value)
public java.lang.String getLastFailureReason()
public PendingActivityInfo setLastFailureReason(java.lang.String lastFailureReason)
public void unsetLastFailureReason()
public boolean isSetLastFailureReason()
public void setLastFailureReasonIsSet(boolean value)
public java.lang.String getLastWorkerIdentity()
public PendingActivityInfo setLastWorkerIdentity(java.lang.String lastWorkerIdentity)
public void unsetLastWorkerIdentity()
public boolean isSetLastWorkerIdentity()
public void setLastWorkerIdentityIsSet(boolean value)
public byte[] getLastFailureDetails()
public java.nio.ByteBuffer bufferForLastFailureDetails()
public PendingActivityInfo setLastFailureDetails(byte[] lastFailureDetails)
public PendingActivityInfo setLastFailureDetails(java.nio.ByteBuffer lastFailureDetails)
public void unsetLastFailureDetails()
public boolean isSetLastFailureDetails()
public void setLastFailureDetailsIsSet(boolean value)
public void setFieldValue(PendingActivityInfo._Fields field, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<PendingActivityInfo,PendingActivityInfo._Fields>
public java.lang.Object getFieldValue(PendingActivityInfo._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<PendingActivityInfo,PendingActivityInfo._Fields>
public boolean isSet(PendingActivityInfo._Fields field)
isSet
in interface org.apache.thrift.TBase<PendingActivityInfo,PendingActivityInfo._Fields>
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(PendingActivityInfo that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(PendingActivityInfo other)
compareTo
in interface java.lang.Comparable<PendingActivityInfo>
public PendingActivityInfo._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<PendingActivityInfo,PendingActivityInfo._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<PendingActivityInfo,PendingActivityInfo._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<PendingActivityInfo,PendingActivityInfo._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