Package com.uber.cadence
Class StartWorkflowExecutionRequest
- java.lang.Object
-
- com.uber.cadence.StartWorkflowExecutionRequest
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Comparable<StartWorkflowExecutionRequest>
,org.apache.thrift.TBase<StartWorkflowExecutionRequest,StartWorkflowExecutionRequest._Fields>
@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2022-12-02") public class StartWorkflowExecutionRequest extends java.lang.Object implements org.apache.thrift.TBase<StartWorkflowExecutionRequest,StartWorkflowExecutionRequest._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<StartWorkflowExecutionRequest>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StartWorkflowExecutionRequest._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
cronSchedule
int
delayStartSeconds
java.lang.String
domain
int
executionStartToCloseTimeoutSeconds
Header
header
java.lang.String
identity
java.nio.ByteBuffer
input
Memo
memo
static java.util.Map<StartWorkflowExecutionRequest._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
java.lang.String
requestId
RetryPolicy
retryPolicy
SearchAttributes
searchAttributes
TaskList
taskList
int
taskStartToCloseTimeoutSeconds
java.lang.String
workflowId
WorkflowIdReusePolicy
workflowIdReusePolicy
WorkflowType
workflowType
-
Constructor Summary
Constructors Constructor Description StartWorkflowExecutionRequest()
StartWorkflowExecutionRequest(StartWorkflowExecutionRequest other)
Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.nio.ByteBuffer
bufferForInput()
void
clear()
int
compareTo(StartWorkflowExecutionRequest other)
StartWorkflowExecutionRequest
deepCopy()
boolean
equals(StartWorkflowExecutionRequest that)
boolean
equals(java.lang.Object that)
StartWorkflowExecutionRequest._Fields
fieldForId(int fieldId)
java.lang.String
getCronSchedule()
int
getDelayStartSeconds()
java.lang.String
getDomain()
int
getExecutionStartToCloseTimeoutSeconds()
java.lang.Object
getFieldValue(StartWorkflowExecutionRequest._Fields field)
Header
getHeader()
java.lang.String
getIdentity()
byte[]
getInput()
Memo
getMemo()
java.lang.String
getRequestId()
RetryPolicy
getRetryPolicy()
SearchAttributes
getSearchAttributes()
TaskList
getTaskList()
int
getTaskStartToCloseTimeoutSeconds()
java.lang.String
getWorkflowId()
WorkflowIdReusePolicy
getWorkflowIdReusePolicy()
WorkflowType
getWorkflowType()
int
hashCode()
boolean
isSet(StartWorkflowExecutionRequest._Fields field)
Returns true if field corresponding to fieldID 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
isSetDelayStartSeconds()
Returns true if field delayStartSeconds is set (has been assigned a value) and false otherwiseboolean
isSetDomain()
Returns true if field domain 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
isSetHeader()
Returns true if field header 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
isSetInput()
Returns true if field input 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
isSetRequestId()
Returns true if field requestId 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
isSetWorkflowId()
Returns true if field workflowId is set (has been assigned a value) and false otherwiseboolean
isSetWorkflowIdReusePolicy()
Returns true if field workflowIdReusePolicy 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)
StartWorkflowExecutionRequest
setCronSchedule(java.lang.String cronSchedule)
void
setCronScheduleIsSet(boolean value)
StartWorkflowExecutionRequest
setDelayStartSeconds(int delayStartSeconds)
void
setDelayStartSecondsIsSet(boolean value)
StartWorkflowExecutionRequest
setDomain(java.lang.String domain)
void
setDomainIsSet(boolean value)
StartWorkflowExecutionRequest
setExecutionStartToCloseTimeoutSeconds(int executionStartToCloseTimeoutSeconds)
void
setExecutionStartToCloseTimeoutSecondsIsSet(boolean value)
void
setFieldValue(StartWorkflowExecutionRequest._Fields field, java.lang.Object value)
StartWorkflowExecutionRequest
setHeader(Header header)
void
setHeaderIsSet(boolean value)
StartWorkflowExecutionRequest
setIdentity(java.lang.String identity)
void
setIdentityIsSet(boolean value)
StartWorkflowExecutionRequest
setInput(byte[] input)
StartWorkflowExecutionRequest
setInput(java.nio.ByteBuffer input)
void
setInputIsSet(boolean value)
StartWorkflowExecutionRequest
setMemo(Memo memo)
void
setMemoIsSet(boolean value)
StartWorkflowExecutionRequest
setRequestId(java.lang.String requestId)
void
setRequestIdIsSet(boolean value)
StartWorkflowExecutionRequest
setRetryPolicy(RetryPolicy retryPolicy)
void
setRetryPolicyIsSet(boolean value)
StartWorkflowExecutionRequest
setSearchAttributes(SearchAttributes searchAttributes)
void
setSearchAttributesIsSet(boolean value)
StartWorkflowExecutionRequest
setTaskList(TaskList taskList)
void
setTaskListIsSet(boolean value)
StartWorkflowExecutionRequest
setTaskStartToCloseTimeoutSeconds(int taskStartToCloseTimeoutSeconds)
void
setTaskStartToCloseTimeoutSecondsIsSet(boolean value)
StartWorkflowExecutionRequest
setWorkflowId(java.lang.String workflowId)
void
setWorkflowIdIsSet(boolean value)
StartWorkflowExecutionRequest
setWorkflowIdReusePolicy(WorkflowIdReusePolicy workflowIdReusePolicy)
void
setWorkflowIdReusePolicyIsSet(boolean value)
StartWorkflowExecutionRequest
setWorkflowType(WorkflowType workflowType)
void
setWorkflowTypeIsSet(boolean value)
java.lang.String
toString()
void
unsetCronSchedule()
void
unsetDelayStartSeconds()
void
unsetDomain()
void
unsetExecutionStartToCloseTimeoutSeconds()
void
unsetHeader()
void
unsetIdentity()
void
unsetInput()
void
unsetMemo()
void
unsetRequestId()
void
unsetRetryPolicy()
void
unsetSearchAttributes()
void
unsetTaskList()
void
unsetTaskStartToCloseTimeoutSeconds()
void
unsetWorkflowId()
void
unsetWorkflowIdReusePolicy()
void
unsetWorkflowType()
void
validate()
void
write(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
domain
public java.lang.String domain
-
workflowId
public java.lang.String workflowId
-
workflowType
public WorkflowType workflowType
-
taskList
public TaskList taskList
-
input
public java.nio.ByteBuffer input
-
executionStartToCloseTimeoutSeconds
public int executionStartToCloseTimeoutSeconds
-
taskStartToCloseTimeoutSeconds
public int taskStartToCloseTimeoutSeconds
-
identity
public java.lang.String identity
-
requestId
public java.lang.String requestId
-
workflowIdReusePolicy
public WorkflowIdReusePolicy workflowIdReusePolicy
- See Also:
WorkflowIdReusePolicy
-
retryPolicy
public RetryPolicy retryPolicy
-
cronSchedule
public java.lang.String cronSchedule
-
memo
public Memo memo
-
searchAttributes
public SearchAttributes searchAttributes
-
header
public Header header
-
delayStartSeconds
public int delayStartSeconds
-
metaDataMap
public static final java.util.Map<StartWorkflowExecutionRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
StartWorkflowExecutionRequest
public StartWorkflowExecutionRequest()
-
StartWorkflowExecutionRequest
public StartWorkflowExecutionRequest(StartWorkflowExecutionRequest other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public StartWorkflowExecutionRequest deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<StartWorkflowExecutionRequest,StartWorkflowExecutionRequest._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<StartWorkflowExecutionRequest,StartWorkflowExecutionRequest._Fields>
-
getDomain
public java.lang.String getDomain()
-
setDomain
public StartWorkflowExecutionRequest setDomain(java.lang.String domain)
-
unsetDomain
public void unsetDomain()
-
isSetDomain
public boolean isSetDomain()
Returns true if field domain is set (has been assigned a value) and false otherwise
-
setDomainIsSet
public void setDomainIsSet(boolean value)
-
getWorkflowId
public java.lang.String getWorkflowId()
-
setWorkflowId
public StartWorkflowExecutionRequest setWorkflowId(java.lang.String workflowId)
-
unsetWorkflowId
public void unsetWorkflowId()
-
isSetWorkflowId
public boolean isSetWorkflowId()
Returns true if field workflowId is set (has been assigned a value) and false otherwise
-
setWorkflowIdIsSet
public void setWorkflowIdIsSet(boolean value)
-
getWorkflowType
public WorkflowType getWorkflowType()
-
setWorkflowType
public StartWorkflowExecutionRequest 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 StartWorkflowExecutionRequest 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 StartWorkflowExecutionRequest setInput(byte[] input)
-
setInput
public StartWorkflowExecutionRequest 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 StartWorkflowExecutionRequest 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 StartWorkflowExecutionRequest 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)
-
getIdentity
public java.lang.String getIdentity()
-
setIdentity
public StartWorkflowExecutionRequest 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)
-
getRequestId
public java.lang.String getRequestId()
-
setRequestId
public StartWorkflowExecutionRequest setRequestId(java.lang.String requestId)
-
unsetRequestId
public void unsetRequestId()
-
isSetRequestId
public boolean isSetRequestId()
Returns true if field requestId is set (has been assigned a value) and false otherwise
-
setRequestIdIsSet
public void setRequestIdIsSet(boolean value)
-
getWorkflowIdReusePolicy
public WorkflowIdReusePolicy getWorkflowIdReusePolicy()
- See Also:
WorkflowIdReusePolicy
-
setWorkflowIdReusePolicy
public StartWorkflowExecutionRequest setWorkflowIdReusePolicy(WorkflowIdReusePolicy workflowIdReusePolicy)
- See Also:
WorkflowIdReusePolicy
-
unsetWorkflowIdReusePolicy
public void unsetWorkflowIdReusePolicy()
-
isSetWorkflowIdReusePolicy
public boolean isSetWorkflowIdReusePolicy()
Returns true if field workflowIdReusePolicy is set (has been assigned a value) and false otherwise
-
setWorkflowIdReusePolicyIsSet
public void setWorkflowIdReusePolicyIsSet(boolean value)
-
getRetryPolicy
public RetryPolicy getRetryPolicy()
-
setRetryPolicy
public StartWorkflowExecutionRequest 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)
-
getCronSchedule
public java.lang.String getCronSchedule()
-
setCronSchedule
public StartWorkflowExecutionRequest 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)
-
getMemo
public Memo getMemo()
-
setMemo
public StartWorkflowExecutionRequest 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 StartWorkflowExecutionRequest 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)
-
getHeader
public Header getHeader()
-
setHeader
public StartWorkflowExecutionRequest 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)
-
getDelayStartSeconds
public int getDelayStartSeconds()
-
setDelayStartSeconds
public StartWorkflowExecutionRequest setDelayStartSeconds(int delayStartSeconds)
-
unsetDelayStartSeconds
public void unsetDelayStartSeconds()
-
isSetDelayStartSeconds
public boolean isSetDelayStartSeconds()
Returns true if field delayStartSeconds is set (has been assigned a value) and false otherwise
-
setDelayStartSecondsIsSet
public void setDelayStartSecondsIsSet(boolean value)
-
setFieldValue
public void setFieldValue(StartWorkflowExecutionRequest._Fields field, java.lang.Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<StartWorkflowExecutionRequest,StartWorkflowExecutionRequest._Fields>
-
getFieldValue
public java.lang.Object getFieldValue(StartWorkflowExecutionRequest._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<StartWorkflowExecutionRequest,StartWorkflowExecutionRequest._Fields>
-
isSet
public boolean isSet(StartWorkflowExecutionRequest._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<StartWorkflowExecutionRequest,StartWorkflowExecutionRequest._Fields>
-
equals
public boolean equals(java.lang.Object that)
- Overrides:
equals
in classjava.lang.Object
-
equals
public boolean equals(StartWorkflowExecutionRequest that)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
compareTo
public int compareTo(StartWorkflowExecutionRequest other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<StartWorkflowExecutionRequest>
-
fieldForId
public StartWorkflowExecutionRequest._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<StartWorkflowExecutionRequest,StartWorkflowExecutionRequest._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
- Specified by:
read
in interfaceorg.apache.thrift.TBase<StartWorkflowExecutionRequest,StartWorkflowExecutionRequest._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<StartWorkflowExecutionRequest,StartWorkflowExecutionRequest._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
-
-