Package com.uber.cadence
Class PendingDecisionInfo
- java.lang.Object
-
- com.uber.cadence.PendingDecisionInfo
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Comparable<PendingDecisionInfo>
,org.apache.thrift.TBase<PendingDecisionInfo,PendingDecisionInfo._Fields>
@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2023-01-06") 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>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PendingDecisionInfo._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field 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 Summary
Constructors Constructor Description PendingDecisionInfo()
PendingDecisionInfo(PendingDecisionInfo other)
Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
int
compareTo(PendingDecisionInfo other)
PendingDecisionInfo
deepCopy()
boolean
equals(PendingDecisionInfo that)
boolean
equals(java.lang.Object 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 otherwiseboolean
isSetAttempt()
Returns true if field attempt is set (has been assigned a value) and false otherwiseboolean
isSetOriginalScheduledTimestamp()
Returns true if field originalScheduledTimestamp is set (has been assigned a value) and false otherwiseboolean
isSetScheduledTimestamp()
Returns true if field scheduledTimestamp is set (has been assigned a value) and false otherwiseboolean
isSetStartedTimestamp()
Returns true if field startedTimestamp is set (has been assigned a value) and false otherwiseboolean
isSetState()
Returns true if field state is set (has been assigned a value) and false otherwisevoid
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)
-
-
-
Field Detail
-
state
public PendingDecisionState state
- See Also:
PendingDecisionState
-
scheduledTimestamp
public long scheduledTimestamp
-
startedTimestamp
public long startedTimestamp
-
attempt
public long attempt
-
originalScheduledTimestamp
public long originalScheduledTimestamp
-
metaDataMap
public static final java.util.Map<PendingDecisionInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
PendingDecisionInfo
public PendingDecisionInfo()
-
PendingDecisionInfo
public PendingDecisionInfo(PendingDecisionInfo other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public PendingDecisionInfo deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<PendingDecisionInfo,PendingDecisionInfo._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<PendingDecisionInfo,PendingDecisionInfo._Fields>
-
getState
public PendingDecisionState getState()
- See Also:
PendingDecisionState
-
setState
public PendingDecisionInfo setState(PendingDecisionState state)
- See Also:
PendingDecisionState
-
unsetState
public void unsetState()
-
isSetState
public boolean isSetState()
Returns true if field state is set (has been assigned a value) and false otherwise
-
setStateIsSet
public void setStateIsSet(boolean value)
-
getScheduledTimestamp
public long getScheduledTimestamp()
-
setScheduledTimestamp
public PendingDecisionInfo setScheduledTimestamp(long scheduledTimestamp)
-
unsetScheduledTimestamp
public void unsetScheduledTimestamp()
-
isSetScheduledTimestamp
public boolean isSetScheduledTimestamp()
Returns true if field scheduledTimestamp is set (has been assigned a value) and false otherwise
-
setScheduledTimestampIsSet
public void setScheduledTimestampIsSet(boolean value)
-
getStartedTimestamp
public long getStartedTimestamp()
-
setStartedTimestamp
public PendingDecisionInfo setStartedTimestamp(long startedTimestamp)
-
unsetStartedTimestamp
public void unsetStartedTimestamp()
-
isSetStartedTimestamp
public boolean isSetStartedTimestamp()
Returns true if field startedTimestamp is set (has been assigned a value) and false otherwise
-
setStartedTimestampIsSet
public void setStartedTimestampIsSet(boolean value)
-
getAttempt
public long getAttempt()
-
setAttempt
public PendingDecisionInfo setAttempt(long attempt)
-
unsetAttempt
public void unsetAttempt()
-
isSetAttempt
public boolean isSetAttempt()
Returns true if field attempt is set (has been assigned a value) and false otherwise
-
setAttemptIsSet
public void setAttemptIsSet(boolean value)
-
getOriginalScheduledTimestamp
public long getOriginalScheduledTimestamp()
-
setOriginalScheduledTimestamp
public PendingDecisionInfo setOriginalScheduledTimestamp(long originalScheduledTimestamp)
-
unsetOriginalScheduledTimestamp
public void unsetOriginalScheduledTimestamp()
-
isSetOriginalScheduledTimestamp
public boolean isSetOriginalScheduledTimestamp()
Returns true if field originalScheduledTimestamp is set (has been assigned a value) and false otherwise
-
setOriginalScheduledTimestampIsSet
public void setOriginalScheduledTimestampIsSet(boolean value)
-
setFieldValue
public void setFieldValue(PendingDecisionInfo._Fields field, java.lang.Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<PendingDecisionInfo,PendingDecisionInfo._Fields>
-
getFieldValue
public java.lang.Object getFieldValue(PendingDecisionInfo._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<PendingDecisionInfo,PendingDecisionInfo._Fields>
-
isSet
public boolean isSet(PendingDecisionInfo._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSet
in interfaceorg.apache.thrift.TBase<PendingDecisionInfo,PendingDecisionInfo._Fields>
-
equals
public boolean equals(java.lang.Object that)
- Overrides:
equals
in classjava.lang.Object
-
equals
public boolean equals(PendingDecisionInfo that)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
compareTo
public int compareTo(PendingDecisionInfo other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<PendingDecisionInfo>
-
fieldForId
public PendingDecisionInfo._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<PendingDecisionInfo,PendingDecisionInfo._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
- Specified by:
read
in interfaceorg.apache.thrift.TBase<PendingDecisionInfo,PendingDecisionInfo._Fields>
- Throws:
org.apache.thrift.TException
-
write
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
- Specified by:
write
in interfaceorg.apache.thrift.TBase<PendingDecisionInfo,PendingDecisionInfo._Fields>
- Throws:
org.apache.thrift.TException
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
validate
public void validate() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
-