Package com.uber.cadence
Class ContinueAsNewWorkflowExecutionDecisionAttributes
- java.lang.Object
-
- com.uber.cadence.ContinueAsNewWorkflowExecutionDecisionAttributes
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Comparable<ContinueAsNewWorkflowExecutionDecisionAttributes>
,org.apache.thrift.TBase<ContinueAsNewWorkflowExecutionDecisionAttributes,ContinueAsNewWorkflowExecutionDecisionAttributes._Fields>
@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2023-08-08") public class ContinueAsNewWorkflowExecutionDecisionAttributes extends java.lang.Object implements org.apache.thrift.TBase<ContinueAsNewWorkflowExecutionDecisionAttributes,ContinueAsNewWorkflowExecutionDecisionAttributes._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<ContinueAsNewWorkflowExecutionDecisionAttributes>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ContinueAsNewWorkflowExecutionDecisionAttributes._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 int
backoffStartIntervalInSeconds
java.lang.String
cronSchedule
int
executionStartToCloseTimeoutSeconds
java.nio.ByteBuffer
failureDetails
java.lang.String
failureReason
Header
header
ContinueAsNewInitiator
initiator
java.nio.ByteBuffer
input
java.nio.ByteBuffer
lastCompletionResult
Memo
memo
static java.util.Map<ContinueAsNewWorkflowExecutionDecisionAttributes._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
RetryPolicy
retryPolicy
SearchAttributes
searchAttributes
TaskList
taskList
int
taskStartToCloseTimeoutSeconds
WorkflowType
workflowType
-
Constructor Summary
Constructors Constructor Description ContinueAsNewWorkflowExecutionDecisionAttributes()
ContinueAsNewWorkflowExecutionDecisionAttributes(ContinueAsNewWorkflowExecutionDecisionAttributes other)
Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.nio.ByteBuffer
bufferForFailureDetails()
java.nio.ByteBuffer
bufferForInput()
java.nio.ByteBuffer
bufferForLastCompletionResult()
void
clear()
int
compareTo(ContinueAsNewWorkflowExecutionDecisionAttributes other)
ContinueAsNewWorkflowExecutionDecisionAttributes
deepCopy()
boolean
equals(ContinueAsNewWorkflowExecutionDecisionAttributes that)
boolean
equals(java.lang.Object that)
ContinueAsNewWorkflowExecutionDecisionAttributes._Fields
fieldForId(int fieldId)
int
getBackoffStartIntervalInSeconds()
java.lang.String
getCronSchedule()
int
getExecutionStartToCloseTimeoutSeconds()
byte[]
getFailureDetails()
java.lang.String
getFailureReason()
java.lang.Object
getFieldValue(ContinueAsNewWorkflowExecutionDecisionAttributes._Fields field)
Header
getHeader()
ContinueAsNewInitiator
getInitiator()
byte[]
getInput()
byte[]
getLastCompletionResult()
Memo
getMemo()
RetryPolicy
getRetryPolicy()
SearchAttributes
getSearchAttributes()
TaskList
getTaskList()
int
getTaskStartToCloseTimeoutSeconds()
WorkflowType
getWorkflowType()
int
hashCode()
boolean
isSet(ContinueAsNewWorkflowExecutionDecisionAttributes._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwiseboolean
isSetBackoffStartIntervalInSeconds()
Returns true if field backoffStartIntervalInSeconds is set (has been assigned a value) and false otherwiseboolean
isSetCronSchedule()
Returns true if field cronSchedule is set (has been assigned a value) and false otherwiseboolean
isSetExecutionStartToCloseTimeoutSeconds()
Returns true if field executionStartToCloseTimeoutSeconds is set (has been assigned a value) and false otherwiseboolean
isSetFailureDetails()
Returns true if field failureDetails is set (has been assigned a value) and false otherwiseboolean
isSetFailureReason()
Returns true if field failureReason is set (has been assigned a value) and false otherwiseboolean
isSetHeader()
Returns true if field header is set (has been assigned a value) and false otherwiseboolean
isSetInitiator()
Returns true if field initiator is set (has been assigned a value) and false otherwiseboolean
isSetInput()
Returns true if field input is set (has been assigned a value) and false otherwiseboolean
isSetLastCompletionResult()
Returns true if field lastCompletionResult is set (has been assigned a value) and false otherwiseboolean
isSetMemo()
Returns true if field memo is set (has been assigned a value) and false otherwiseboolean
isSetRetryPolicy()
Returns true if field retryPolicy is set (has been assigned a value) and false otherwiseboolean
isSetSearchAttributes()
Returns true if field searchAttributes is set (has been assigned a value) and false otherwiseboolean
isSetTaskList()
Returns true if field taskList is set (has been assigned a value) and false otherwiseboolean
isSetTaskStartToCloseTimeoutSeconds()
Returns true if field taskStartToCloseTimeoutSeconds is set (has been assigned a value) and false otherwiseboolean
isSetWorkflowType()
Returns true if field workflowType is set (has been assigned a value) and false otherwisevoid
read(org.apache.thrift.protocol.TProtocol iprot)
ContinueAsNewWorkflowExecutionDecisionAttributes
setBackoffStartIntervalInSeconds(int backoffStartIntervalInSeconds)
void
setBackoffStartIntervalInSecondsIsSet(boolean value)
ContinueAsNewWorkflowExecutionDecisionAttributes
setCronSchedule(java.lang.String cronSchedule)
void
setCronScheduleIsSet(boolean value)
ContinueAsNewWorkflowExecutionDecisionAttributes
setExecutionStartToCloseTimeoutSeconds(int executionStartToCloseTimeoutSeconds)
void
setExecutionStartToCloseTimeoutSecondsIsSet(boolean value)
ContinueAsNewWorkflowExecutionDecisionAttributes
setFailureDetails(byte[] failureDetails)
ContinueAsNewWorkflowExecutionDecisionAttributes
setFailureDetails(java.nio.ByteBuffer failureDetails)
void
setFailureDetailsIsSet(boolean value)
ContinueAsNewWorkflowExecutionDecisionAttributes
setFailureReason(java.lang.String failureReason)
void
setFailureReasonIsSet(boolean value)
void
setFieldValue(ContinueAsNewWorkflowExecutionDecisionAttributes._Fields field, java.lang.Object value)
ContinueAsNewWorkflowExecutionDecisionAttributes
setHeader(Header header)
void
setHeaderIsSet(boolean value)
ContinueAsNewWorkflowExecutionDecisionAttributes
setInitiator(ContinueAsNewInitiator initiator)
void
setInitiatorIsSet(boolean value)
ContinueAsNewWorkflowExecutionDecisionAttributes
setInput(byte[] input)
ContinueAsNewWorkflowExecutionDecisionAttributes
setInput(java.nio.ByteBuffer input)
void
setInputIsSet(boolean value)
ContinueAsNewWorkflowExecutionDecisionAttributes
setLastCompletionResult(byte[] lastCompletionResult)
ContinueAsNewWorkflowExecutionDecisionAttributes
setLastCompletionResult(java.nio.ByteBuffer lastCompletionResult)
void
setLastCompletionResultIsSet(boolean value)
ContinueAsNewWorkflowExecutionDecisionAttributes
setMemo(Memo memo)
void
setMemoIsSet(boolean value)
ContinueAsNewWorkflowExecutionDecisionAttributes
setRetryPolicy(RetryPolicy retryPolicy)
void
setRetryPolicyIsSet(boolean value)
ContinueAsNewWorkflowExecutionDecisionAttributes
setSearchAttributes(SearchAttributes searchAttributes)
void
setSearchAttributesIsSet(boolean value)
ContinueAsNewWorkflowExecutionDecisionAttributes
setTaskList(TaskList taskList)
void
setTaskListIsSet(boolean value)
ContinueAsNewWorkflowExecutionDecisionAttributes
setTaskStartToCloseTimeoutSeconds(int taskStartToCloseTimeoutSeconds)
void
setTaskStartToCloseTimeoutSecondsIsSet(boolean value)
ContinueAsNewWorkflowExecutionDecisionAttributes
setWorkflowType(WorkflowType workflowType)
void
setWorkflowTypeIsSet(boolean value)
java.lang.String
toString()
void
unsetBackoffStartIntervalInSeconds()
void
unsetCronSchedule()
void
unsetExecutionStartToCloseTimeoutSeconds()
void
unsetFailureDetails()
void
unsetFailureReason()
void
unsetHeader()
void
unsetInitiator()
void
unsetInput()
void
unsetLastCompletionResult()
void
unsetMemo()
void
unsetRetryPolicy()
void
unsetSearchAttributes()
void
unsetTaskList()
void
unsetTaskStartToCloseTimeoutSeconds()
void
unsetWorkflowType()
void
validate()
void
write(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
workflowType
public WorkflowType workflowType
-
taskList
public TaskList taskList
-
input
public java.nio.ByteBuffer input
-
executionStartToCloseTimeoutSeconds
public int executionStartToCloseTimeoutSeconds
-
taskStartToCloseTimeoutSeconds
public int taskStartToCloseTimeoutSeconds
-
backoffStartIntervalInSeconds
public int backoffStartIntervalInSeconds
-
retryPolicy
public RetryPolicy retryPolicy
-
initiator
public ContinueAsNewInitiator initiator
-
failureReason
public java.lang.String failureReason
-
failureDetails
public java.nio.ByteBuffer failureDetails
-
lastCompletionResult
public java.nio.ByteBuffer lastCompletionResult
-
cronSchedule
public java.lang.String cronSchedule
-
header
public Header header
-
memo
public Memo memo
-
searchAttributes
public SearchAttributes searchAttributes
-
metaDataMap
public static final java.util.Map<ContinueAsNewWorkflowExecutionDecisionAttributes._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
ContinueAsNewWorkflowExecutionDecisionAttributes
public ContinueAsNewWorkflowExecutionDecisionAttributes()
-
ContinueAsNewWorkflowExecutionDecisionAttributes
public ContinueAsNewWorkflowExecutionDecisionAttributes(ContinueAsNewWorkflowExecutionDecisionAttributes other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public ContinueAsNewWorkflowExecutionDecisionAttributes deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<ContinueAsNewWorkflowExecutionDecisionAttributes,ContinueAsNewWorkflowExecutionDecisionAttributes._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<ContinueAsNewWorkflowExecutionDecisionAttributes,ContinueAsNewWorkflowExecutionDecisionAttributes._Fields>
-
getWorkflowType
public WorkflowType getWorkflowType()
-
setWorkflowType
public ContinueAsNewWorkflowExecutionDecisionAttributes setWorkflowType(WorkflowType workflowType)
-
unsetWorkflowType
public void unsetWorkflowType()
-
isSetWorkflowType
public boolean isSetWorkflowType()
Returns true if field workflowType is set (has been assigned a value) and false otherwise
-
setWorkflowTypeIsSet
public void setWorkflowTypeIsSet(boolean value)
-
getTaskList
public TaskList getTaskList()
-
setTaskList
public ContinueAsNewWorkflowExecutionDecisionAttributes setTaskList(TaskList taskList)
-
unsetTaskList
public void unsetTaskList()
-
isSetTaskList
public boolean isSetTaskList()
Returns true if field taskList is set (has been assigned a value) and false otherwise
-
setTaskListIsSet
public void setTaskListIsSet(boolean value)
-
getInput
public byte[] getInput()
-
bufferForInput
public java.nio.ByteBuffer bufferForInput()
-
setInput
public ContinueAsNewWorkflowExecutionDecisionAttributes setInput(byte[] input)
-
setInput
public ContinueAsNewWorkflowExecutionDecisionAttributes setInput(java.nio.ByteBuffer input)
-
unsetInput
public void unsetInput()
-
isSetInput
public boolean isSetInput()
Returns true if field input is set (has been assigned a value) and false otherwise
-
setInputIsSet
public void setInputIsSet(boolean value)
-
getExecutionStartToCloseTimeoutSeconds
public int getExecutionStartToCloseTimeoutSeconds()
-
setExecutionStartToCloseTimeoutSeconds
public ContinueAsNewWorkflowExecutionDecisionAttributes setExecutionStartToCloseTimeoutSeconds(int executionStartToCloseTimeoutSeconds)
-
unsetExecutionStartToCloseTimeoutSeconds
public void unsetExecutionStartToCloseTimeoutSeconds()
-
isSetExecutionStartToCloseTimeoutSeconds
public boolean isSetExecutionStartToCloseTimeoutSeconds()
Returns true if field executionStartToCloseTimeoutSeconds is set (has been assigned a value) and false otherwise
-
setExecutionStartToCloseTimeoutSecondsIsSet
public void setExecutionStartToCloseTimeoutSecondsIsSet(boolean value)
-
getTaskStartToCloseTimeoutSeconds
public int getTaskStartToCloseTimeoutSeconds()
-
setTaskStartToCloseTimeoutSeconds
public ContinueAsNewWorkflowExecutionDecisionAttributes setTaskStartToCloseTimeoutSeconds(int taskStartToCloseTimeoutSeconds)
-
unsetTaskStartToCloseTimeoutSeconds
public void unsetTaskStartToCloseTimeoutSeconds()
-
isSetTaskStartToCloseTimeoutSeconds
public boolean isSetTaskStartToCloseTimeoutSeconds()
Returns true if field taskStartToCloseTimeoutSeconds is set (has been assigned a value) and false otherwise
-
setTaskStartToCloseTimeoutSecondsIsSet
public void setTaskStartToCloseTimeoutSecondsIsSet(boolean value)
-
getBackoffStartIntervalInSeconds
public int getBackoffStartIntervalInSeconds()
-
setBackoffStartIntervalInSeconds
public ContinueAsNewWorkflowExecutionDecisionAttributes setBackoffStartIntervalInSeconds(int backoffStartIntervalInSeconds)
-
unsetBackoffStartIntervalInSeconds
public void unsetBackoffStartIntervalInSeconds()
-
isSetBackoffStartIntervalInSeconds
public boolean isSetBackoffStartIntervalInSeconds()
Returns true if field backoffStartIntervalInSeconds is set (has been assigned a value) and false otherwise
-
setBackoffStartIntervalInSecondsIsSet
public void setBackoffStartIntervalInSecondsIsSet(boolean value)
-
getRetryPolicy
public RetryPolicy getRetryPolicy()
-
setRetryPolicy
public ContinueAsNewWorkflowExecutionDecisionAttributes setRetryPolicy(RetryPolicy retryPolicy)
-
unsetRetryPolicy
public void unsetRetryPolicy()
-
isSetRetryPolicy
public boolean isSetRetryPolicy()
Returns true if field retryPolicy is set (has been assigned a value) and false otherwise
-
setRetryPolicyIsSet
public void setRetryPolicyIsSet(boolean value)
-
getInitiator
public ContinueAsNewInitiator getInitiator()
-
setInitiator
public ContinueAsNewWorkflowExecutionDecisionAttributes setInitiator(ContinueAsNewInitiator initiator)
-
unsetInitiator
public void unsetInitiator()
-
isSetInitiator
public boolean isSetInitiator()
Returns true if field initiator is set (has been assigned a value) and false otherwise
-
setInitiatorIsSet
public void setInitiatorIsSet(boolean value)
-
getFailureReason
public java.lang.String getFailureReason()
-
setFailureReason
public ContinueAsNewWorkflowExecutionDecisionAttributes setFailureReason(java.lang.String failureReason)
-
unsetFailureReason
public void unsetFailureReason()
-
isSetFailureReason
public boolean isSetFailureReason()
Returns true if field failureReason is set (has been assigned a value) and false otherwise
-
setFailureReasonIsSet
public void setFailureReasonIsSet(boolean value)
-
getFailureDetails
public byte[] getFailureDetails()
-
bufferForFailureDetails
public java.nio.ByteBuffer bufferForFailureDetails()
-
setFailureDetails
public ContinueAsNewWorkflowExecutionDecisionAttributes setFailureDetails(byte[] failureDetails)
-
setFailureDetails
public ContinueAsNewWorkflowExecutionDecisionAttributes setFailureDetails(java.nio.ByteBuffer failureDetails)
-
unsetFailureDetails
public void unsetFailureDetails()
-
isSetFailureDetails
public boolean isSetFailureDetails()
Returns true if field failureDetails is set (has been assigned a value) and false otherwise
-
setFailureDetailsIsSet
public void setFailureDetailsIsSet(boolean value)
-
getLastCompletionResult
public byte[] getLastCompletionResult()
-
bufferForLastCompletionResult
public java.nio.ByteBuffer bufferForLastCompletionResult()
-
setLastCompletionResult
public ContinueAsNewWorkflowExecutionDecisionAttributes setLastCompletionResult(byte[] lastCompletionResult)
-
setLastCompletionResult
public ContinueAsNewWorkflowExecutionDecisionAttributes setLastCompletionResult(java.nio.ByteBuffer lastCompletionResult)
-
unsetLastCompletionResult
public void unsetLastCompletionResult()
-
isSetLastCompletionResult
public boolean isSetLastCompletionResult()
Returns true if field lastCompletionResult is set (has been assigned a value) and false otherwise
-
setLastCompletionResultIsSet
public void setLastCompletionResultIsSet(boolean value)
-
getCronSchedule
public java.lang.String getCronSchedule()
-
setCronSchedule
public ContinueAsNewWorkflowExecutionDecisionAttributes setCronSchedule(java.lang.String cronSchedule)
-
unsetCronSchedule
public void unsetCronSchedule()
-
isSetCronSchedule
public boolean isSetCronSchedule()
Returns true if field cronSchedule is set (has been assigned a value) and false otherwise
-
setCronScheduleIsSet
public void setCronScheduleIsSet(boolean value)
-
getHeader
public Header getHeader()
-
setHeader
public ContinueAsNewWorkflowExecutionDecisionAttributes setHeader(Header header)
-
unsetHeader
public void unsetHeader()
-
isSetHeader
public boolean isSetHeader()
Returns true if field header is set (has been assigned a value) and false otherwise
-
setHeaderIsSet
public void setHeaderIsSet(boolean value)
-
getMemo
public Memo getMemo()
-
setMemo
public ContinueAsNewWorkflowExecutionDecisionAttributes setMemo(Memo memo)
-
unsetMemo
public void unsetMemo()
-
isSetMemo
public boolean isSetMemo()
Returns true if field memo is set (has been assigned a value) and false otherwise
-
setMemoIsSet
public void setMemoIsSet(boolean value)
-
getSearchAttributes
public SearchAttributes getSearchAttributes()
-
setSearchAttributes
public ContinueAsNewWorkflowExecutionDecisionAttributes setSearchAttributes(SearchAttributes searchAttributes)
-
unsetSearchAttributes
public void unsetSearchAttributes()
-
isSetSearchAttributes
public boolean isSetSearchAttributes()
Returns true if field searchAttributes is set (has been assigned a value) and false otherwise
-
setSearchAttributesIsSet
public void setSearchAttributesIsSet(boolean value)
-
setFieldValue
public void setFieldValue(ContinueAsNewWorkflowExecutionDecisionAttributes._Fields field, java.lang.Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<ContinueAsNewWorkflowExecutionDecisionAttributes,ContinueAsNewWorkflowExecutionDecisionAttributes._Fields>
-
getFieldValue
public java.lang.Object getFieldValue(ContinueAsNewWorkflowExecutionDecisionAttributes._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<ContinueAsNewWorkflowExecutionDecisionAttributes,ContinueAsNewWorkflowExecutionDecisionAttributes._Fields>
-
isSet
public boolean isSet(ContinueAsNewWorkflowExecutionDecisionAttributes._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<ContinueAsNewWorkflowExecutionDecisionAttributes,ContinueAsNewWorkflowExecutionDecisionAttributes._Fields>
-
equals
public boolean equals(java.lang.Object that)
- Overrides:
equals
in classjava.lang.Object
-
equals
public boolean equals(ContinueAsNewWorkflowExecutionDecisionAttributes that)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
compareTo
public int compareTo(ContinueAsNewWorkflowExecutionDecisionAttributes other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<ContinueAsNewWorkflowExecutionDecisionAttributes>
-
fieldForId
public ContinueAsNewWorkflowExecutionDecisionAttributes._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<ContinueAsNewWorkflowExecutionDecisionAttributes,ContinueAsNewWorkflowExecutionDecisionAttributes._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
- Specified by:
read
in interfaceorg.apache.thrift.TBase<ContinueAsNewWorkflowExecutionDecisionAttributes,ContinueAsNewWorkflowExecutionDecisionAttributes._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<ContinueAsNewWorkflowExecutionDecisionAttributes,ContinueAsNewWorkflowExecutionDecisionAttributes._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
-
-