Package com.uber.cadence
Class RespondDecisionTaskCompletedRequest
- java.lang.Object
-
- com.uber.cadence.RespondDecisionTaskCompletedRequest
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Comparable<RespondDecisionTaskCompletedRequest>
,org.apache.thrift.TBase<RespondDecisionTaskCompletedRequest,RespondDecisionTaskCompletedRequest._Fields>
@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2023-05-19") public class RespondDecisionTaskCompletedRequest extends java.lang.Object implements org.apache.thrift.TBase<RespondDecisionTaskCompletedRequest,RespondDecisionTaskCompletedRequest._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<RespondDecisionTaskCompletedRequest>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RespondDecisionTaskCompletedRequest._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 java.lang.String
binaryChecksum
java.util.List<Decision>
decisions
java.nio.ByteBuffer
executionContext
boolean
forceCreateNewDecisionTask
java.lang.String
identity
static java.util.Map<RespondDecisionTaskCompletedRequest._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
java.util.Map<java.lang.String,WorkflowQueryResult>
queryResults
boolean
returnNewDecisionTask
StickyExecutionAttributes
stickyAttributes
java.nio.ByteBuffer
taskToken
-
Constructor Summary
Constructors Constructor Description RespondDecisionTaskCompletedRequest()
RespondDecisionTaskCompletedRequest(RespondDecisionTaskCompletedRequest other)
Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addToDecisions(Decision elem)
java.nio.ByteBuffer
bufferForExecutionContext()
java.nio.ByteBuffer
bufferForTaskToken()
void
clear()
int
compareTo(RespondDecisionTaskCompletedRequest other)
RespondDecisionTaskCompletedRequest
deepCopy()
boolean
equals(RespondDecisionTaskCompletedRequest that)
boolean
equals(java.lang.Object that)
RespondDecisionTaskCompletedRequest._Fields
fieldForId(int fieldId)
java.lang.String
getBinaryChecksum()
java.util.List<Decision>
getDecisions()
java.util.Iterator<Decision>
getDecisionsIterator()
int
getDecisionsSize()
byte[]
getExecutionContext()
java.lang.Object
getFieldValue(RespondDecisionTaskCompletedRequest._Fields field)
java.lang.String
getIdentity()
java.util.Map<java.lang.String,WorkflowQueryResult>
getQueryResults()
int
getQueryResultsSize()
StickyExecutionAttributes
getStickyAttributes()
byte[]
getTaskToken()
int
hashCode()
boolean
isForceCreateNewDecisionTask()
boolean
isReturnNewDecisionTask()
boolean
isSet(RespondDecisionTaskCompletedRequest._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwiseboolean
isSetBinaryChecksum()
Returns true if field binaryChecksum is set (has been assigned a value) and false otherwiseboolean
isSetDecisions()
Returns true if field decisions is set (has been assigned a value) and false otherwiseboolean
isSetExecutionContext()
Returns true if field executionContext is set (has been assigned a value) and false otherwiseboolean
isSetForceCreateNewDecisionTask()
Returns true if field forceCreateNewDecisionTask is set (has been assigned a value) and false otherwiseboolean
isSetIdentity()
Returns true if field identity is set (has been assigned a value) and false otherwiseboolean
isSetQueryResults()
Returns true if field queryResults is set (has been assigned a value) and false otherwiseboolean
isSetReturnNewDecisionTask()
Returns true if field returnNewDecisionTask is set (has been assigned a value) and false otherwiseboolean
isSetStickyAttributes()
Returns true if field stickyAttributes is set (has been assigned a value) and false otherwiseboolean
isSetTaskToken()
Returns true if field taskToken is set (has been assigned a value) and false otherwisevoid
putToQueryResults(java.lang.String key, WorkflowQueryResult val)
void
read(org.apache.thrift.protocol.TProtocol iprot)
RespondDecisionTaskCompletedRequest
setBinaryChecksum(java.lang.String binaryChecksum)
void
setBinaryChecksumIsSet(boolean value)
RespondDecisionTaskCompletedRequest
setDecisions(java.util.List<Decision> decisions)
void
setDecisionsIsSet(boolean value)
RespondDecisionTaskCompletedRequest
setExecutionContext(byte[] executionContext)
RespondDecisionTaskCompletedRequest
setExecutionContext(java.nio.ByteBuffer executionContext)
void
setExecutionContextIsSet(boolean value)
void
setFieldValue(RespondDecisionTaskCompletedRequest._Fields field, java.lang.Object value)
RespondDecisionTaskCompletedRequest
setForceCreateNewDecisionTask(boolean forceCreateNewDecisionTask)
void
setForceCreateNewDecisionTaskIsSet(boolean value)
RespondDecisionTaskCompletedRequest
setIdentity(java.lang.String identity)
void
setIdentityIsSet(boolean value)
RespondDecisionTaskCompletedRequest
setQueryResults(java.util.Map<java.lang.String,WorkflowQueryResult> queryResults)
void
setQueryResultsIsSet(boolean value)
RespondDecisionTaskCompletedRequest
setReturnNewDecisionTask(boolean returnNewDecisionTask)
void
setReturnNewDecisionTaskIsSet(boolean value)
RespondDecisionTaskCompletedRequest
setStickyAttributes(StickyExecutionAttributes stickyAttributes)
void
setStickyAttributesIsSet(boolean value)
RespondDecisionTaskCompletedRequest
setTaskToken(byte[] taskToken)
RespondDecisionTaskCompletedRequest
setTaskToken(java.nio.ByteBuffer taskToken)
void
setTaskTokenIsSet(boolean value)
java.lang.String
toString()
void
unsetBinaryChecksum()
void
unsetDecisions()
void
unsetExecutionContext()
void
unsetForceCreateNewDecisionTask()
void
unsetIdentity()
void
unsetQueryResults()
void
unsetReturnNewDecisionTask()
void
unsetStickyAttributes()
void
unsetTaskToken()
void
validate()
void
write(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
taskToken
public java.nio.ByteBuffer taskToken
-
decisions
public java.util.List<Decision> decisions
-
executionContext
public java.nio.ByteBuffer executionContext
-
identity
public java.lang.String identity
-
stickyAttributes
public StickyExecutionAttributes stickyAttributes
-
returnNewDecisionTask
public boolean returnNewDecisionTask
-
forceCreateNewDecisionTask
public boolean forceCreateNewDecisionTask
-
binaryChecksum
public java.lang.String binaryChecksum
-
queryResults
public java.util.Map<java.lang.String,WorkflowQueryResult> queryResults
-
metaDataMap
public static final java.util.Map<RespondDecisionTaskCompletedRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
RespondDecisionTaskCompletedRequest
public RespondDecisionTaskCompletedRequest()
-
RespondDecisionTaskCompletedRequest
public RespondDecisionTaskCompletedRequest(RespondDecisionTaskCompletedRequest other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public RespondDecisionTaskCompletedRequest deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<RespondDecisionTaskCompletedRequest,RespondDecisionTaskCompletedRequest._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<RespondDecisionTaskCompletedRequest,RespondDecisionTaskCompletedRequest._Fields>
-
getTaskToken
public byte[] getTaskToken()
-
bufferForTaskToken
public java.nio.ByteBuffer bufferForTaskToken()
-
setTaskToken
public RespondDecisionTaskCompletedRequest setTaskToken(byte[] taskToken)
-
setTaskToken
public RespondDecisionTaskCompletedRequest setTaskToken(java.nio.ByteBuffer taskToken)
-
unsetTaskToken
public void unsetTaskToken()
-
isSetTaskToken
public boolean isSetTaskToken()
Returns true if field taskToken is set (has been assigned a value) and false otherwise
-
setTaskTokenIsSet
public void setTaskTokenIsSet(boolean value)
-
getDecisionsSize
public int getDecisionsSize()
-
getDecisionsIterator
public java.util.Iterator<Decision> getDecisionsIterator()
-
addToDecisions
public void addToDecisions(Decision elem)
-
getDecisions
public java.util.List<Decision> getDecisions()
-
setDecisions
public RespondDecisionTaskCompletedRequest setDecisions(java.util.List<Decision> decisions)
-
unsetDecisions
public void unsetDecisions()
-
isSetDecisions
public boolean isSetDecisions()
Returns true if field decisions is set (has been assigned a value) and false otherwise
-
setDecisionsIsSet
public void setDecisionsIsSet(boolean value)
-
getExecutionContext
public byte[] getExecutionContext()
-
bufferForExecutionContext
public java.nio.ByteBuffer bufferForExecutionContext()
-
setExecutionContext
public RespondDecisionTaskCompletedRequest setExecutionContext(byte[] executionContext)
-
setExecutionContext
public RespondDecisionTaskCompletedRequest setExecutionContext(java.nio.ByteBuffer executionContext)
-
unsetExecutionContext
public void unsetExecutionContext()
-
isSetExecutionContext
public boolean isSetExecutionContext()
Returns true if field executionContext is set (has been assigned a value) and false otherwise
-
setExecutionContextIsSet
public void setExecutionContextIsSet(boolean value)
-
getIdentity
public java.lang.String getIdentity()
-
setIdentity
public RespondDecisionTaskCompletedRequest setIdentity(java.lang.String identity)
-
unsetIdentity
public void unsetIdentity()
-
isSetIdentity
public boolean isSetIdentity()
Returns true if field identity is set (has been assigned a value) and false otherwise
-
setIdentityIsSet
public void setIdentityIsSet(boolean value)
-
getStickyAttributes
public StickyExecutionAttributes getStickyAttributes()
-
setStickyAttributes
public RespondDecisionTaskCompletedRequest setStickyAttributes(StickyExecutionAttributes stickyAttributes)
-
unsetStickyAttributes
public void unsetStickyAttributes()
-
isSetStickyAttributes
public boolean isSetStickyAttributes()
Returns true if field stickyAttributes is set (has been assigned a value) and false otherwise
-
setStickyAttributesIsSet
public void setStickyAttributesIsSet(boolean value)
-
isReturnNewDecisionTask
public boolean isReturnNewDecisionTask()
-
setReturnNewDecisionTask
public RespondDecisionTaskCompletedRequest setReturnNewDecisionTask(boolean returnNewDecisionTask)
-
unsetReturnNewDecisionTask
public void unsetReturnNewDecisionTask()
-
isSetReturnNewDecisionTask
public boolean isSetReturnNewDecisionTask()
Returns true if field returnNewDecisionTask is set (has been assigned a value) and false otherwise
-
setReturnNewDecisionTaskIsSet
public void setReturnNewDecisionTaskIsSet(boolean value)
-
isForceCreateNewDecisionTask
public boolean isForceCreateNewDecisionTask()
-
setForceCreateNewDecisionTask
public RespondDecisionTaskCompletedRequest setForceCreateNewDecisionTask(boolean forceCreateNewDecisionTask)
-
unsetForceCreateNewDecisionTask
public void unsetForceCreateNewDecisionTask()
-
isSetForceCreateNewDecisionTask
public boolean isSetForceCreateNewDecisionTask()
Returns true if field forceCreateNewDecisionTask is set (has been assigned a value) and false otherwise
-
setForceCreateNewDecisionTaskIsSet
public void setForceCreateNewDecisionTaskIsSet(boolean value)
-
getBinaryChecksum
public java.lang.String getBinaryChecksum()
-
setBinaryChecksum
public RespondDecisionTaskCompletedRequest setBinaryChecksum(java.lang.String binaryChecksum)
-
unsetBinaryChecksum
public void unsetBinaryChecksum()
-
isSetBinaryChecksum
public boolean isSetBinaryChecksum()
Returns true if field binaryChecksum is set (has been assigned a value) and false otherwise
-
setBinaryChecksumIsSet
public void setBinaryChecksumIsSet(boolean value)
-
getQueryResultsSize
public int getQueryResultsSize()
-
putToQueryResults
public void putToQueryResults(java.lang.String key, WorkflowQueryResult val)
-
getQueryResults
public java.util.Map<java.lang.String,WorkflowQueryResult> getQueryResults()
-
setQueryResults
public RespondDecisionTaskCompletedRequest setQueryResults(java.util.Map<java.lang.String,WorkflowQueryResult> queryResults)
-
unsetQueryResults
public void unsetQueryResults()
-
isSetQueryResults
public boolean isSetQueryResults()
Returns true if field queryResults is set (has been assigned a value) and false otherwise
-
setQueryResultsIsSet
public void setQueryResultsIsSet(boolean value)
-
setFieldValue
public void setFieldValue(RespondDecisionTaskCompletedRequest._Fields field, java.lang.Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<RespondDecisionTaskCompletedRequest,RespondDecisionTaskCompletedRequest._Fields>
-
getFieldValue
public java.lang.Object getFieldValue(RespondDecisionTaskCompletedRequest._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<RespondDecisionTaskCompletedRequest,RespondDecisionTaskCompletedRequest._Fields>
-
isSet
public boolean isSet(RespondDecisionTaskCompletedRequest._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<RespondDecisionTaskCompletedRequest,RespondDecisionTaskCompletedRequest._Fields>
-
equals
public boolean equals(java.lang.Object that)
- Overrides:
equals
in classjava.lang.Object
-
equals
public boolean equals(RespondDecisionTaskCompletedRequest that)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
compareTo
public int compareTo(RespondDecisionTaskCompletedRequest other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<RespondDecisionTaskCompletedRequest>
-
fieldForId
public RespondDecisionTaskCompletedRequest._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<RespondDecisionTaskCompletedRequest,RespondDecisionTaskCompletedRequest._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
- Specified by:
read
in interfaceorg.apache.thrift.TBase<RespondDecisionTaskCompletedRequest,RespondDecisionTaskCompletedRequest._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<RespondDecisionTaskCompletedRequest,RespondDecisionTaskCompletedRequest._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
-
-