@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2022-07-23") 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>
Modifier and Type | Class and Description |
---|---|
static class |
ContinueAsNewWorkflowExecutionDecisionAttributes._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and 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 and Description |
---|
ContinueAsNewWorkflowExecutionDecisionAttributes() |
ContinueAsNewWorkflowExecutionDecisionAttributes(ContinueAsNewWorkflowExecutionDecisionAttributes other)
Performs a deep copy on other.
|
public WorkflowType workflowType
public TaskList taskList
public java.nio.ByteBuffer input
public int executionStartToCloseTimeoutSeconds
public int taskStartToCloseTimeoutSeconds
public int backoffStartIntervalInSeconds
public RetryPolicy retryPolicy
public ContinueAsNewInitiator initiator
public java.lang.String failureReason
public java.nio.ByteBuffer failureDetails
public java.nio.ByteBuffer lastCompletionResult
public java.lang.String cronSchedule
public Header header
public Memo memo
public SearchAttributes searchAttributes
public static final java.util.Map<ContinueAsNewWorkflowExecutionDecisionAttributes._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public ContinueAsNewWorkflowExecutionDecisionAttributes()
public ContinueAsNewWorkflowExecutionDecisionAttributes(ContinueAsNewWorkflowExecutionDecisionAttributes other)
public ContinueAsNewWorkflowExecutionDecisionAttributes deepCopy()
deepCopy
in interface org.apache.thrift.TBase<ContinueAsNewWorkflowExecutionDecisionAttributes,ContinueAsNewWorkflowExecutionDecisionAttributes._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<ContinueAsNewWorkflowExecutionDecisionAttributes,ContinueAsNewWorkflowExecutionDecisionAttributes._Fields>
public WorkflowType getWorkflowType()
public ContinueAsNewWorkflowExecutionDecisionAttributes setWorkflowType(WorkflowType workflowType)
public void unsetWorkflowType()
public boolean isSetWorkflowType()
public void setWorkflowTypeIsSet(boolean value)
public TaskList getTaskList()
public ContinueAsNewWorkflowExecutionDecisionAttributes setTaskList(TaskList taskList)
public void unsetTaskList()
public boolean isSetTaskList()
public void setTaskListIsSet(boolean value)
public byte[] getInput()
public java.nio.ByteBuffer bufferForInput()
public ContinueAsNewWorkflowExecutionDecisionAttributes setInput(byte[] input)
public ContinueAsNewWorkflowExecutionDecisionAttributes setInput(java.nio.ByteBuffer input)
public void unsetInput()
public boolean isSetInput()
public void setInputIsSet(boolean value)
public int getExecutionStartToCloseTimeoutSeconds()
public ContinueAsNewWorkflowExecutionDecisionAttributes setExecutionStartToCloseTimeoutSeconds(int executionStartToCloseTimeoutSeconds)
public void unsetExecutionStartToCloseTimeoutSeconds()
public boolean isSetExecutionStartToCloseTimeoutSeconds()
public void setExecutionStartToCloseTimeoutSecondsIsSet(boolean value)
public int getTaskStartToCloseTimeoutSeconds()
public ContinueAsNewWorkflowExecutionDecisionAttributes setTaskStartToCloseTimeoutSeconds(int taskStartToCloseTimeoutSeconds)
public void unsetTaskStartToCloseTimeoutSeconds()
public boolean isSetTaskStartToCloseTimeoutSeconds()
public void setTaskStartToCloseTimeoutSecondsIsSet(boolean value)
public int getBackoffStartIntervalInSeconds()
public ContinueAsNewWorkflowExecutionDecisionAttributes setBackoffStartIntervalInSeconds(int backoffStartIntervalInSeconds)
public void unsetBackoffStartIntervalInSeconds()
public boolean isSetBackoffStartIntervalInSeconds()
public void setBackoffStartIntervalInSecondsIsSet(boolean value)
public RetryPolicy getRetryPolicy()
public ContinueAsNewWorkflowExecutionDecisionAttributes setRetryPolicy(RetryPolicy retryPolicy)
public void unsetRetryPolicy()
public boolean isSetRetryPolicy()
public void setRetryPolicyIsSet(boolean value)
public ContinueAsNewInitiator getInitiator()
public ContinueAsNewWorkflowExecutionDecisionAttributes setInitiator(ContinueAsNewInitiator initiator)
public void unsetInitiator()
public boolean isSetInitiator()
public void setInitiatorIsSet(boolean value)
public java.lang.String getFailureReason()
public ContinueAsNewWorkflowExecutionDecisionAttributes setFailureReason(java.lang.String failureReason)
public void unsetFailureReason()
public boolean isSetFailureReason()
public void setFailureReasonIsSet(boolean value)
public byte[] getFailureDetails()
public java.nio.ByteBuffer bufferForFailureDetails()
public ContinueAsNewWorkflowExecutionDecisionAttributes setFailureDetails(byte[] failureDetails)
public ContinueAsNewWorkflowExecutionDecisionAttributes setFailureDetails(java.nio.ByteBuffer failureDetails)
public void unsetFailureDetails()
public boolean isSetFailureDetails()
public void setFailureDetailsIsSet(boolean value)
public byte[] getLastCompletionResult()
public java.nio.ByteBuffer bufferForLastCompletionResult()
public ContinueAsNewWorkflowExecutionDecisionAttributes setLastCompletionResult(byte[] lastCompletionResult)
public ContinueAsNewWorkflowExecutionDecisionAttributes setLastCompletionResult(java.nio.ByteBuffer lastCompletionResult)
public void unsetLastCompletionResult()
public boolean isSetLastCompletionResult()
public void setLastCompletionResultIsSet(boolean value)
public java.lang.String getCronSchedule()
public ContinueAsNewWorkflowExecutionDecisionAttributes setCronSchedule(java.lang.String cronSchedule)
public void unsetCronSchedule()
public boolean isSetCronSchedule()
public void setCronScheduleIsSet(boolean value)
public Header getHeader()
public ContinueAsNewWorkflowExecutionDecisionAttributes setHeader(Header header)
public void unsetHeader()
public boolean isSetHeader()
public void setHeaderIsSet(boolean value)
public Memo getMemo()
public ContinueAsNewWorkflowExecutionDecisionAttributes setMemo(Memo memo)
public void unsetMemo()
public boolean isSetMemo()
public void setMemoIsSet(boolean value)
public SearchAttributes getSearchAttributes()
public ContinueAsNewWorkflowExecutionDecisionAttributes setSearchAttributes(SearchAttributes searchAttributes)
public void unsetSearchAttributes()
public boolean isSetSearchAttributes()
public void setSearchAttributesIsSet(boolean value)
public void setFieldValue(ContinueAsNewWorkflowExecutionDecisionAttributes._Fields field, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<ContinueAsNewWorkflowExecutionDecisionAttributes,ContinueAsNewWorkflowExecutionDecisionAttributes._Fields>
public java.lang.Object getFieldValue(ContinueAsNewWorkflowExecutionDecisionAttributes._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<ContinueAsNewWorkflowExecutionDecisionAttributes,ContinueAsNewWorkflowExecutionDecisionAttributes._Fields>
public boolean isSet(ContinueAsNewWorkflowExecutionDecisionAttributes._Fields field)
isSet
in interface org.apache.thrift.TBase<ContinueAsNewWorkflowExecutionDecisionAttributes,ContinueAsNewWorkflowExecutionDecisionAttributes._Fields>
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(ContinueAsNewWorkflowExecutionDecisionAttributes that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(ContinueAsNewWorkflowExecutionDecisionAttributes other)
compareTo
in interface java.lang.Comparable<ContinueAsNewWorkflowExecutionDecisionAttributes>
public ContinueAsNewWorkflowExecutionDecisionAttributes._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<ContinueAsNewWorkflowExecutionDecisionAttributes,ContinueAsNewWorkflowExecutionDecisionAttributes._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<ContinueAsNewWorkflowExecutionDecisionAttributes,ContinueAsNewWorkflowExecutionDecisionAttributes._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<ContinueAsNewWorkflowExecutionDecisionAttributes,ContinueAsNewWorkflowExecutionDecisionAttributes._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