@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2018-10-24") 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 |
java.nio.ByteBuffer |
heartbeatDetails |
long |
lastHeartbeatTimestamp |
static java.util.Map<PendingActivityInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
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() |
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() |
java.lang.Object |
getFieldValue(PendingActivityInfo._Fields field) |
byte[] |
getHeartbeatDetails() |
long |
getLastHeartbeatTimestamp() |
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 |
isSetHeartbeatDetails()
Returns true if field heartbeatDetails 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 |
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) |
void |
setFieldValue(PendingActivityInfo._Fields field,
java.lang.Object value) |
PendingActivityInfo |
setHeartbeatDetails(byte[] heartbeatDetails) |
PendingActivityInfo |
setHeartbeatDetails(java.nio.ByteBuffer heartbeatDetails) |
void |
setHeartbeatDetailsIsSet(boolean value) |
PendingActivityInfo |
setLastHeartbeatTimestamp(long lastHeartbeatTimestamp) |
void |
setLastHeartbeatTimestampIsSet(boolean value) |
PendingActivityInfo |
setState(PendingActivityState state) |
void |
setStateIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetActivityID() |
void |
unsetActivityType() |
void |
unsetHeartbeatDetails() |
void |
unsetLastHeartbeatTimestamp() |
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 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 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