@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2021-08-14") public class PendingDecisionInfo extends java.lang.Object implements org.apache.thrift.TBase<PendingDecisionInfo,PendingDecisionInfo._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<PendingDecisionInfo>
Modifier and Type | Class and Description |
---|---|
static class |
PendingDecisionInfo._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
long |
attempt |
static java.util.Map<PendingDecisionInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
long |
originalScheduledTimestamp |
long |
scheduledTimestamp |
long |
startedTimestamp |
PendingDecisionState |
state |
Constructor and Description |
---|
PendingDecisionInfo() |
PendingDecisionInfo(PendingDecisionInfo other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(PendingDecisionInfo other) |
PendingDecisionInfo |
deepCopy() |
boolean |
equals(java.lang.Object that) |
boolean |
equals(PendingDecisionInfo that) |
PendingDecisionInfo._Fields |
fieldForId(int fieldId) |
long |
getAttempt() |
java.lang.Object |
getFieldValue(PendingDecisionInfo._Fields field) |
long |
getOriginalScheduledTimestamp() |
long |
getScheduledTimestamp() |
long |
getStartedTimestamp() |
PendingDecisionState |
getState() |
int |
hashCode() |
boolean |
isSet(PendingDecisionInfo._Fields field)
Returns true if field corresponding to fieldID 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 |
isSetOriginalScheduledTimestamp()
Returns true if field originalScheduledTimestamp 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 |
isSetStartedTimestamp()
Returns true if field startedTimestamp 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) |
PendingDecisionInfo |
setAttempt(long attempt) |
void |
setAttemptIsSet(boolean value) |
void |
setFieldValue(PendingDecisionInfo._Fields field,
java.lang.Object value) |
PendingDecisionInfo |
setOriginalScheduledTimestamp(long originalScheduledTimestamp) |
void |
setOriginalScheduledTimestampIsSet(boolean value) |
PendingDecisionInfo |
setScheduledTimestamp(long scheduledTimestamp) |
void |
setScheduledTimestampIsSet(boolean value) |
PendingDecisionInfo |
setStartedTimestamp(long startedTimestamp) |
void |
setStartedTimestampIsSet(boolean value) |
PendingDecisionInfo |
setState(PendingDecisionState state) |
void |
setStateIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetAttempt() |
void |
unsetOriginalScheduledTimestamp() |
void |
unsetScheduledTimestamp() |
void |
unsetStartedTimestamp() |
void |
unsetState() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public PendingDecisionState state
PendingDecisionState
public long scheduledTimestamp
public long startedTimestamp
public long attempt
public long originalScheduledTimestamp
public static final java.util.Map<PendingDecisionInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public PendingDecisionInfo()
public PendingDecisionInfo(PendingDecisionInfo other)
public PendingDecisionInfo deepCopy()
deepCopy
in interface org.apache.thrift.TBase<PendingDecisionInfo,PendingDecisionInfo._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<PendingDecisionInfo,PendingDecisionInfo._Fields>
public PendingDecisionState getState()
PendingDecisionState
public PendingDecisionInfo setState(PendingDecisionState state)
PendingDecisionState
public void unsetState()
public boolean isSetState()
public void setStateIsSet(boolean value)
public long getScheduledTimestamp()
public PendingDecisionInfo setScheduledTimestamp(long scheduledTimestamp)
public void unsetScheduledTimestamp()
public boolean isSetScheduledTimestamp()
public void setScheduledTimestampIsSet(boolean value)
public long getStartedTimestamp()
public PendingDecisionInfo setStartedTimestamp(long startedTimestamp)
public void unsetStartedTimestamp()
public boolean isSetStartedTimestamp()
public void setStartedTimestampIsSet(boolean value)
public long getAttempt()
public PendingDecisionInfo setAttempt(long attempt)
public void unsetAttempt()
public boolean isSetAttempt()
public void setAttemptIsSet(boolean value)
public long getOriginalScheduledTimestamp()
public PendingDecisionInfo setOriginalScheduledTimestamp(long originalScheduledTimestamp)
public void unsetOriginalScheduledTimestamp()
public boolean isSetOriginalScheduledTimestamp()
public void setOriginalScheduledTimestampIsSet(boolean value)
public void setFieldValue(PendingDecisionInfo._Fields field, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<PendingDecisionInfo,PendingDecisionInfo._Fields>
public java.lang.Object getFieldValue(PendingDecisionInfo._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<PendingDecisionInfo,PendingDecisionInfo._Fields>
public boolean isSet(PendingDecisionInfo._Fields field)
isSet
in interface org.apache.thrift.TBase<PendingDecisionInfo,PendingDecisionInfo._Fields>
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(PendingDecisionInfo that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(PendingDecisionInfo other)
compareTo
in interface java.lang.Comparable<PendingDecisionInfo>
public PendingDecisionInfo._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<PendingDecisionInfo,PendingDecisionInfo._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<PendingDecisionInfo,PendingDecisionInfo._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<PendingDecisionInfo,PendingDecisionInfo._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