Package io.temporal.api.workflow.v1
Class NewWorkflowExecutionInfo.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<NewWorkflowExecutionInfo.Builder>
-
- io.temporal.api.workflow.v1.NewWorkflowExecutionInfo.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,NewWorkflowExecutionInfoOrBuilder
,java.lang.Cloneable
- Enclosing class:
- NewWorkflowExecutionInfo
public static final class NewWorkflowExecutionInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<NewWorkflowExecutionInfo.Builder> implements NewWorkflowExecutionInfoOrBuilder
NewWorkflowExecutionInfo is a shared message that encapsulates all the required arguments to starting a workflow in different contexts.
Protobuf typetemporal.api.workflow.v1.NewWorkflowExecutionInfo
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description NewWorkflowExecutionInfo.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
NewWorkflowExecutionInfo
build()
NewWorkflowExecutionInfo
buildPartial()
NewWorkflowExecutionInfo.Builder
clear()
NewWorkflowExecutionInfo.Builder
clearCronSchedule()
See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/NewWorkflowExecutionInfo.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
NewWorkflowExecutionInfo.Builder
clearHeader()
.temporal.api.common.v1.Header header = 13;
NewWorkflowExecutionInfo.Builder
clearInput()
Serialized arguments to the workflow.NewWorkflowExecutionInfo.Builder
clearMemo()
.temporal.api.common.v1.Memo memo = 11;
NewWorkflowExecutionInfo.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
NewWorkflowExecutionInfo.Builder
clearRetryPolicy()
The retry policy for the workflow.NewWorkflowExecutionInfo.Builder
clearSearchAttributes()
.temporal.api.common.v1.SearchAttributes search_attributes = 12;
NewWorkflowExecutionInfo.Builder
clearTaskQueue()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 3;
NewWorkflowExecutionInfo.Builder
clearWorkflowExecutionTimeout()
Total workflow execution timeout including retries and continue as new.NewWorkflowExecutionInfo.Builder
clearWorkflowId()
string workflow_id = 1;
NewWorkflowExecutionInfo.Builder
clearWorkflowIdReusePolicy()
Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.NewWorkflowExecutionInfo.Builder
clearWorkflowRunTimeout()
Timeout of a single workflow run.NewWorkflowExecutionInfo.Builder
clearWorkflowTaskTimeout()
Timeout of a single workflow task.NewWorkflowExecutionInfo.Builder
clearWorkflowType()
.temporal.api.common.v1.WorkflowType workflow_type = 2;
NewWorkflowExecutionInfo.Builder
clone()
java.lang.String
getCronSchedule()
See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/com.google.protobuf.ByteString
getCronScheduleBytes()
See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/NewWorkflowExecutionInfo
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Header
getHeader()
.temporal.api.common.v1.Header header = 13;
Header.Builder
getHeaderBuilder()
.temporal.api.common.v1.Header header = 13;
HeaderOrBuilder
getHeaderOrBuilder()
.temporal.api.common.v1.Header header = 13;
Payloads
getInput()
Serialized arguments to the workflow.Payloads.Builder
getInputBuilder()
Serialized arguments to the workflow.PayloadsOrBuilder
getInputOrBuilder()
Serialized arguments to the workflow.Memo
getMemo()
.temporal.api.common.v1.Memo memo = 11;
Memo.Builder
getMemoBuilder()
.temporal.api.common.v1.Memo memo = 11;
MemoOrBuilder
getMemoOrBuilder()
.temporal.api.common.v1.Memo memo = 11;
RetryPolicy
getRetryPolicy()
The retry policy for the workflow.RetryPolicy.Builder
getRetryPolicyBuilder()
The retry policy for the workflow.RetryPolicyOrBuilder
getRetryPolicyOrBuilder()
The retry policy for the workflow.SearchAttributes
getSearchAttributes()
.temporal.api.common.v1.SearchAttributes search_attributes = 12;
SearchAttributes.Builder
getSearchAttributesBuilder()
.temporal.api.common.v1.SearchAttributes search_attributes = 12;
SearchAttributesOrBuilder
getSearchAttributesOrBuilder()
.temporal.api.common.v1.SearchAttributes search_attributes = 12;
TaskQueue
getTaskQueue()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 3;
TaskQueue.Builder
getTaskQueueBuilder()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 3;
TaskQueueOrBuilder
getTaskQueueOrBuilder()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 3;
com.google.protobuf.Duration
getWorkflowExecutionTimeout()
Total workflow execution timeout including retries and continue as new.com.google.protobuf.Duration.Builder
getWorkflowExecutionTimeoutBuilder()
Total workflow execution timeout including retries and continue as new.com.google.protobuf.DurationOrBuilder
getWorkflowExecutionTimeoutOrBuilder()
Total workflow execution timeout including retries and continue as new.java.lang.String
getWorkflowId()
string workflow_id = 1;
com.google.protobuf.ByteString
getWorkflowIdBytes()
string workflow_id = 1;
WorkflowIdReusePolicy
getWorkflowIdReusePolicy()
Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.int
getWorkflowIdReusePolicyValue()
Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.com.google.protobuf.Duration
getWorkflowRunTimeout()
Timeout of a single workflow run.com.google.protobuf.Duration.Builder
getWorkflowRunTimeoutBuilder()
Timeout of a single workflow run.com.google.protobuf.DurationOrBuilder
getWorkflowRunTimeoutOrBuilder()
Timeout of a single workflow run.com.google.protobuf.Duration
getWorkflowTaskTimeout()
Timeout of a single workflow task.com.google.protobuf.Duration.Builder
getWorkflowTaskTimeoutBuilder()
Timeout of a single workflow task.com.google.protobuf.DurationOrBuilder
getWorkflowTaskTimeoutOrBuilder()
Timeout of a single workflow task.WorkflowType
getWorkflowType()
.temporal.api.common.v1.WorkflowType workflow_type = 2;
WorkflowType.Builder
getWorkflowTypeBuilder()
.temporal.api.common.v1.WorkflowType workflow_type = 2;
WorkflowTypeOrBuilder
getWorkflowTypeOrBuilder()
.temporal.api.common.v1.WorkflowType workflow_type = 2;
boolean
hasHeader()
.temporal.api.common.v1.Header header = 13;
boolean
hasInput()
Serialized arguments to the workflow.boolean
hasMemo()
.temporal.api.common.v1.Memo memo = 11;
boolean
hasRetryPolicy()
The retry policy for the workflow.boolean
hasSearchAttributes()
.temporal.api.common.v1.SearchAttributes search_attributes = 12;
boolean
hasTaskQueue()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 3;
boolean
hasWorkflowExecutionTimeout()
Total workflow execution timeout including retries and continue as new.boolean
hasWorkflowRunTimeout()
Timeout of a single workflow run.boolean
hasWorkflowTaskTimeout()
Timeout of a single workflow task.boolean
hasWorkflowType()
.temporal.api.common.v1.WorkflowType workflow_type = 2;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
NewWorkflowExecutionInfo.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
NewWorkflowExecutionInfo.Builder
mergeFrom(com.google.protobuf.Message other)
NewWorkflowExecutionInfo.Builder
mergeFrom(NewWorkflowExecutionInfo other)
NewWorkflowExecutionInfo.Builder
mergeHeader(Header value)
.temporal.api.common.v1.Header header = 13;
NewWorkflowExecutionInfo.Builder
mergeInput(Payloads value)
Serialized arguments to the workflow.NewWorkflowExecutionInfo.Builder
mergeMemo(Memo value)
.temporal.api.common.v1.Memo memo = 11;
NewWorkflowExecutionInfo.Builder
mergeRetryPolicy(RetryPolicy value)
The retry policy for the workflow.NewWorkflowExecutionInfo.Builder
mergeSearchAttributes(SearchAttributes value)
.temporal.api.common.v1.SearchAttributes search_attributes = 12;
NewWorkflowExecutionInfo.Builder
mergeTaskQueue(TaskQueue value)
.temporal.api.taskqueue.v1.TaskQueue task_queue = 3;
NewWorkflowExecutionInfo.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
NewWorkflowExecutionInfo.Builder
mergeWorkflowExecutionTimeout(com.google.protobuf.Duration value)
Total workflow execution timeout including retries and continue as new.NewWorkflowExecutionInfo.Builder
mergeWorkflowRunTimeout(com.google.protobuf.Duration value)
Timeout of a single workflow run.NewWorkflowExecutionInfo.Builder
mergeWorkflowTaskTimeout(com.google.protobuf.Duration value)
Timeout of a single workflow task.NewWorkflowExecutionInfo.Builder
mergeWorkflowType(WorkflowType value)
.temporal.api.common.v1.WorkflowType workflow_type = 2;
NewWorkflowExecutionInfo.Builder
setCronSchedule(java.lang.String value)
See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/NewWorkflowExecutionInfo.Builder
setCronScheduleBytes(com.google.protobuf.ByteString value)
See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/NewWorkflowExecutionInfo.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
NewWorkflowExecutionInfo.Builder
setHeader(Header value)
.temporal.api.common.v1.Header header = 13;
NewWorkflowExecutionInfo.Builder
setHeader(Header.Builder builderForValue)
.temporal.api.common.v1.Header header = 13;
NewWorkflowExecutionInfo.Builder
setInput(Payloads value)
Serialized arguments to the workflow.NewWorkflowExecutionInfo.Builder
setInput(Payloads.Builder builderForValue)
Serialized arguments to the workflow.NewWorkflowExecutionInfo.Builder
setMemo(Memo value)
.temporal.api.common.v1.Memo memo = 11;
NewWorkflowExecutionInfo.Builder
setMemo(Memo.Builder builderForValue)
.temporal.api.common.v1.Memo memo = 11;
NewWorkflowExecutionInfo.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
NewWorkflowExecutionInfo.Builder
setRetryPolicy(RetryPolicy value)
The retry policy for the workflow.NewWorkflowExecutionInfo.Builder
setRetryPolicy(RetryPolicy.Builder builderForValue)
The retry policy for the workflow.NewWorkflowExecutionInfo.Builder
setSearchAttributes(SearchAttributes value)
.temporal.api.common.v1.SearchAttributes search_attributes = 12;
NewWorkflowExecutionInfo.Builder
setSearchAttributes(SearchAttributes.Builder builderForValue)
.temporal.api.common.v1.SearchAttributes search_attributes = 12;
NewWorkflowExecutionInfo.Builder
setTaskQueue(TaskQueue value)
.temporal.api.taskqueue.v1.TaskQueue task_queue = 3;
NewWorkflowExecutionInfo.Builder
setTaskQueue(TaskQueue.Builder builderForValue)
.temporal.api.taskqueue.v1.TaskQueue task_queue = 3;
NewWorkflowExecutionInfo.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
NewWorkflowExecutionInfo.Builder
setWorkflowExecutionTimeout(com.google.protobuf.Duration value)
Total workflow execution timeout including retries and continue as new.NewWorkflowExecutionInfo.Builder
setWorkflowExecutionTimeout(com.google.protobuf.Duration.Builder builderForValue)
Total workflow execution timeout including retries and continue as new.NewWorkflowExecutionInfo.Builder
setWorkflowId(java.lang.String value)
string workflow_id = 1;
NewWorkflowExecutionInfo.Builder
setWorkflowIdBytes(com.google.protobuf.ByteString value)
string workflow_id = 1;
NewWorkflowExecutionInfo.Builder
setWorkflowIdReusePolicy(WorkflowIdReusePolicy value)
Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.NewWorkflowExecutionInfo.Builder
setWorkflowIdReusePolicyValue(int value)
Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.NewWorkflowExecutionInfo.Builder
setWorkflowRunTimeout(com.google.protobuf.Duration value)
Timeout of a single workflow run.NewWorkflowExecutionInfo.Builder
setWorkflowRunTimeout(com.google.protobuf.Duration.Builder builderForValue)
Timeout of a single workflow run.NewWorkflowExecutionInfo.Builder
setWorkflowTaskTimeout(com.google.protobuf.Duration value)
Timeout of a single workflow task.NewWorkflowExecutionInfo.Builder
setWorkflowTaskTimeout(com.google.protobuf.Duration.Builder builderForValue)
Timeout of a single workflow task.NewWorkflowExecutionInfo.Builder
setWorkflowType(WorkflowType value)
.temporal.api.common.v1.WorkflowType workflow_type = 2;
NewWorkflowExecutionInfo.Builder
setWorkflowType(WorkflowType.Builder builderForValue)
.temporal.api.common.v1.WorkflowType workflow_type = 2;
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<NewWorkflowExecutionInfo.Builder>
-
clear
public NewWorkflowExecutionInfo.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<NewWorkflowExecutionInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<NewWorkflowExecutionInfo.Builder>
-
getDefaultInstanceForType
public NewWorkflowExecutionInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public NewWorkflowExecutionInfo build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public NewWorkflowExecutionInfo buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public NewWorkflowExecutionInfo.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<NewWorkflowExecutionInfo.Builder>
-
setField
public NewWorkflowExecutionInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<NewWorkflowExecutionInfo.Builder>
-
clearField
public NewWorkflowExecutionInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<NewWorkflowExecutionInfo.Builder>
-
clearOneof
public NewWorkflowExecutionInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<NewWorkflowExecutionInfo.Builder>
-
setRepeatedField
public NewWorkflowExecutionInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<NewWorkflowExecutionInfo.Builder>
-
addRepeatedField
public NewWorkflowExecutionInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<NewWorkflowExecutionInfo.Builder>
-
mergeFrom
public NewWorkflowExecutionInfo.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<NewWorkflowExecutionInfo.Builder>
-
mergeFrom
public NewWorkflowExecutionInfo.Builder mergeFrom(NewWorkflowExecutionInfo other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<NewWorkflowExecutionInfo.Builder>
-
mergeFrom
public NewWorkflowExecutionInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<NewWorkflowExecutionInfo.Builder>
- Throws:
java.io.IOException
-
getWorkflowId
public java.lang.String getWorkflowId()
string workflow_id = 1;
- Specified by:
getWorkflowId
in interfaceNewWorkflowExecutionInfoOrBuilder
- Returns:
- The workflowId.
-
getWorkflowIdBytes
public com.google.protobuf.ByteString getWorkflowIdBytes()
string workflow_id = 1;
- Specified by:
getWorkflowIdBytes
in interfaceNewWorkflowExecutionInfoOrBuilder
- Returns:
- The bytes for workflowId.
-
setWorkflowId
public NewWorkflowExecutionInfo.Builder setWorkflowId(java.lang.String value)
string workflow_id = 1;
- Parameters:
value
- The workflowId to set.- Returns:
- This builder for chaining.
-
clearWorkflowId
public NewWorkflowExecutionInfo.Builder clearWorkflowId()
string workflow_id = 1;
- Returns:
- This builder for chaining.
-
setWorkflowIdBytes
public NewWorkflowExecutionInfo.Builder setWorkflowIdBytes(com.google.protobuf.ByteString value)
string workflow_id = 1;
- Parameters:
value
- The bytes for workflowId to set.- Returns:
- This builder for chaining.
-
hasWorkflowType
public boolean hasWorkflowType()
.temporal.api.common.v1.WorkflowType workflow_type = 2;
- Specified by:
hasWorkflowType
in interfaceNewWorkflowExecutionInfoOrBuilder
- Returns:
- Whether the workflowType field is set.
-
getWorkflowType
public WorkflowType getWorkflowType()
.temporal.api.common.v1.WorkflowType workflow_type = 2;
- Specified by:
getWorkflowType
in interfaceNewWorkflowExecutionInfoOrBuilder
- Returns:
- The workflowType.
-
setWorkflowType
public NewWorkflowExecutionInfo.Builder setWorkflowType(WorkflowType value)
.temporal.api.common.v1.WorkflowType workflow_type = 2;
-
setWorkflowType
public NewWorkflowExecutionInfo.Builder setWorkflowType(WorkflowType.Builder builderForValue)
.temporal.api.common.v1.WorkflowType workflow_type = 2;
-
mergeWorkflowType
public NewWorkflowExecutionInfo.Builder mergeWorkflowType(WorkflowType value)
.temporal.api.common.v1.WorkflowType workflow_type = 2;
-
clearWorkflowType
public NewWorkflowExecutionInfo.Builder clearWorkflowType()
.temporal.api.common.v1.WorkflowType workflow_type = 2;
-
getWorkflowTypeBuilder
public WorkflowType.Builder getWorkflowTypeBuilder()
.temporal.api.common.v1.WorkflowType workflow_type = 2;
-
getWorkflowTypeOrBuilder
public WorkflowTypeOrBuilder getWorkflowTypeOrBuilder()
.temporal.api.common.v1.WorkflowType workflow_type = 2;
- Specified by:
getWorkflowTypeOrBuilder
in interfaceNewWorkflowExecutionInfoOrBuilder
-
hasTaskQueue
public boolean hasTaskQueue()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 3;
- Specified by:
hasTaskQueue
in interfaceNewWorkflowExecutionInfoOrBuilder
- Returns:
- Whether the taskQueue field is set.
-
getTaskQueue
public TaskQueue getTaskQueue()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 3;
- Specified by:
getTaskQueue
in interfaceNewWorkflowExecutionInfoOrBuilder
- Returns:
- The taskQueue.
-
setTaskQueue
public NewWorkflowExecutionInfo.Builder setTaskQueue(TaskQueue value)
.temporal.api.taskqueue.v1.TaskQueue task_queue = 3;
-
setTaskQueue
public NewWorkflowExecutionInfo.Builder setTaskQueue(TaskQueue.Builder builderForValue)
.temporal.api.taskqueue.v1.TaskQueue task_queue = 3;
-
mergeTaskQueue
public NewWorkflowExecutionInfo.Builder mergeTaskQueue(TaskQueue value)
.temporal.api.taskqueue.v1.TaskQueue task_queue = 3;
-
clearTaskQueue
public NewWorkflowExecutionInfo.Builder clearTaskQueue()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 3;
-
getTaskQueueBuilder
public TaskQueue.Builder getTaskQueueBuilder()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 3;
-
getTaskQueueOrBuilder
public TaskQueueOrBuilder getTaskQueueOrBuilder()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 3;
- Specified by:
getTaskQueueOrBuilder
in interfaceNewWorkflowExecutionInfoOrBuilder
-
hasInput
public boolean hasInput()
Serialized arguments to the workflow.
.temporal.api.common.v1.Payloads input = 4;
- Specified by:
hasInput
in interfaceNewWorkflowExecutionInfoOrBuilder
- Returns:
- Whether the input field is set.
-
getInput
public Payloads getInput()
Serialized arguments to the workflow.
.temporal.api.common.v1.Payloads input = 4;
- Specified by:
getInput
in interfaceNewWorkflowExecutionInfoOrBuilder
- Returns:
- The input.
-
setInput
public NewWorkflowExecutionInfo.Builder setInput(Payloads value)
Serialized arguments to the workflow.
.temporal.api.common.v1.Payloads input = 4;
-
setInput
public NewWorkflowExecutionInfo.Builder setInput(Payloads.Builder builderForValue)
Serialized arguments to the workflow.
.temporal.api.common.v1.Payloads input = 4;
-
mergeInput
public NewWorkflowExecutionInfo.Builder mergeInput(Payloads value)
Serialized arguments to the workflow.
.temporal.api.common.v1.Payloads input = 4;
-
clearInput
public NewWorkflowExecutionInfo.Builder clearInput()
Serialized arguments to the workflow.
.temporal.api.common.v1.Payloads input = 4;
-
getInputBuilder
public Payloads.Builder getInputBuilder()
Serialized arguments to the workflow.
.temporal.api.common.v1.Payloads input = 4;
-
getInputOrBuilder
public PayloadsOrBuilder getInputOrBuilder()
Serialized arguments to the workflow.
.temporal.api.common.v1.Payloads input = 4;
- Specified by:
getInputOrBuilder
in interfaceNewWorkflowExecutionInfoOrBuilder
-
hasWorkflowExecutionTimeout
public boolean hasWorkflowExecutionTimeout()
Total workflow execution timeout including retries and continue as new.
.google.protobuf.Duration workflow_execution_timeout = 5 [(.gogoproto.stdduration) = true];
- Specified by:
hasWorkflowExecutionTimeout
in interfaceNewWorkflowExecutionInfoOrBuilder
- Returns:
- Whether the workflowExecutionTimeout field is set.
-
getWorkflowExecutionTimeout
public com.google.protobuf.Duration getWorkflowExecutionTimeout()
Total workflow execution timeout including retries and continue as new.
.google.protobuf.Duration workflow_execution_timeout = 5 [(.gogoproto.stdduration) = true];
- Specified by:
getWorkflowExecutionTimeout
in interfaceNewWorkflowExecutionInfoOrBuilder
- Returns:
- The workflowExecutionTimeout.
-
setWorkflowExecutionTimeout
public NewWorkflowExecutionInfo.Builder setWorkflowExecutionTimeout(com.google.protobuf.Duration value)
Total workflow execution timeout including retries and continue as new.
.google.protobuf.Duration workflow_execution_timeout = 5 [(.gogoproto.stdduration) = true];
-
setWorkflowExecutionTimeout
public NewWorkflowExecutionInfo.Builder setWorkflowExecutionTimeout(com.google.protobuf.Duration.Builder builderForValue)
Total workflow execution timeout including retries and continue as new.
.google.protobuf.Duration workflow_execution_timeout = 5 [(.gogoproto.stdduration) = true];
-
mergeWorkflowExecutionTimeout
public NewWorkflowExecutionInfo.Builder mergeWorkflowExecutionTimeout(com.google.protobuf.Duration value)
Total workflow execution timeout including retries and continue as new.
.google.protobuf.Duration workflow_execution_timeout = 5 [(.gogoproto.stdduration) = true];
-
clearWorkflowExecutionTimeout
public NewWorkflowExecutionInfo.Builder clearWorkflowExecutionTimeout()
Total workflow execution timeout including retries and continue as new.
.google.protobuf.Duration workflow_execution_timeout = 5 [(.gogoproto.stdduration) = true];
-
getWorkflowExecutionTimeoutBuilder
public com.google.protobuf.Duration.Builder getWorkflowExecutionTimeoutBuilder()
Total workflow execution timeout including retries and continue as new.
.google.protobuf.Duration workflow_execution_timeout = 5 [(.gogoproto.stdduration) = true];
-
getWorkflowExecutionTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getWorkflowExecutionTimeoutOrBuilder()
Total workflow execution timeout including retries and continue as new.
.google.protobuf.Duration workflow_execution_timeout = 5 [(.gogoproto.stdduration) = true];
- Specified by:
getWorkflowExecutionTimeoutOrBuilder
in interfaceNewWorkflowExecutionInfoOrBuilder
-
hasWorkflowRunTimeout
public boolean hasWorkflowRunTimeout()
Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 6 [(.gogoproto.stdduration) = true];
- Specified by:
hasWorkflowRunTimeout
in interfaceNewWorkflowExecutionInfoOrBuilder
- Returns:
- Whether the workflowRunTimeout field is set.
-
getWorkflowRunTimeout
public com.google.protobuf.Duration getWorkflowRunTimeout()
Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 6 [(.gogoproto.stdduration) = true];
- Specified by:
getWorkflowRunTimeout
in interfaceNewWorkflowExecutionInfoOrBuilder
- Returns:
- The workflowRunTimeout.
-
setWorkflowRunTimeout
public NewWorkflowExecutionInfo.Builder setWorkflowRunTimeout(com.google.protobuf.Duration value)
Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 6 [(.gogoproto.stdduration) = true];
-
setWorkflowRunTimeout
public NewWorkflowExecutionInfo.Builder setWorkflowRunTimeout(com.google.protobuf.Duration.Builder builderForValue)
Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 6 [(.gogoproto.stdduration) = true];
-
mergeWorkflowRunTimeout
public NewWorkflowExecutionInfo.Builder mergeWorkflowRunTimeout(com.google.protobuf.Duration value)
Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 6 [(.gogoproto.stdduration) = true];
-
clearWorkflowRunTimeout
public NewWorkflowExecutionInfo.Builder clearWorkflowRunTimeout()
Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 6 [(.gogoproto.stdduration) = true];
-
getWorkflowRunTimeoutBuilder
public com.google.protobuf.Duration.Builder getWorkflowRunTimeoutBuilder()
Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 6 [(.gogoproto.stdduration) = true];
-
getWorkflowRunTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getWorkflowRunTimeoutOrBuilder()
Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 6 [(.gogoproto.stdduration) = true];
- Specified by:
getWorkflowRunTimeoutOrBuilder
in interfaceNewWorkflowExecutionInfoOrBuilder
-
hasWorkflowTaskTimeout
public boolean hasWorkflowTaskTimeout()
Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 7 [(.gogoproto.stdduration) = true];
- Specified by:
hasWorkflowTaskTimeout
in interfaceNewWorkflowExecutionInfoOrBuilder
- Returns:
- Whether the workflowTaskTimeout field is set.
-
getWorkflowTaskTimeout
public com.google.protobuf.Duration getWorkflowTaskTimeout()
Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 7 [(.gogoproto.stdduration) = true];
- Specified by:
getWorkflowTaskTimeout
in interfaceNewWorkflowExecutionInfoOrBuilder
- Returns:
- The workflowTaskTimeout.
-
setWorkflowTaskTimeout
public NewWorkflowExecutionInfo.Builder setWorkflowTaskTimeout(com.google.protobuf.Duration value)
Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 7 [(.gogoproto.stdduration) = true];
-
setWorkflowTaskTimeout
public NewWorkflowExecutionInfo.Builder setWorkflowTaskTimeout(com.google.protobuf.Duration.Builder builderForValue)
Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 7 [(.gogoproto.stdduration) = true];
-
mergeWorkflowTaskTimeout
public NewWorkflowExecutionInfo.Builder mergeWorkflowTaskTimeout(com.google.protobuf.Duration value)
Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 7 [(.gogoproto.stdduration) = true];
-
clearWorkflowTaskTimeout
public NewWorkflowExecutionInfo.Builder clearWorkflowTaskTimeout()
Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 7 [(.gogoproto.stdduration) = true];
-
getWorkflowTaskTimeoutBuilder
public com.google.protobuf.Duration.Builder getWorkflowTaskTimeoutBuilder()
Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 7 [(.gogoproto.stdduration) = true];
-
getWorkflowTaskTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getWorkflowTaskTimeoutOrBuilder()
Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 7 [(.gogoproto.stdduration) = true];
- Specified by:
getWorkflowTaskTimeoutOrBuilder
in interfaceNewWorkflowExecutionInfoOrBuilder
-
getWorkflowIdReusePolicyValue
public int getWorkflowIdReusePolicyValue()
Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.
.temporal.api.enums.v1.WorkflowIdReusePolicy workflow_id_reuse_policy = 8;
- Specified by:
getWorkflowIdReusePolicyValue
in interfaceNewWorkflowExecutionInfoOrBuilder
- Returns:
- The enum numeric value on the wire for workflowIdReusePolicy.
-
setWorkflowIdReusePolicyValue
public NewWorkflowExecutionInfo.Builder setWorkflowIdReusePolicyValue(int value)
Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.
.temporal.api.enums.v1.WorkflowIdReusePolicy workflow_id_reuse_policy = 8;
- Parameters:
value
- The enum numeric value on the wire for workflowIdReusePolicy to set.- Returns:
- This builder for chaining.
-
getWorkflowIdReusePolicy
public WorkflowIdReusePolicy getWorkflowIdReusePolicy()
Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.
.temporal.api.enums.v1.WorkflowIdReusePolicy workflow_id_reuse_policy = 8;
- Specified by:
getWorkflowIdReusePolicy
in interfaceNewWorkflowExecutionInfoOrBuilder
- Returns:
- The workflowIdReusePolicy.
-
setWorkflowIdReusePolicy
public NewWorkflowExecutionInfo.Builder setWorkflowIdReusePolicy(WorkflowIdReusePolicy value)
Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.
.temporal.api.enums.v1.WorkflowIdReusePolicy workflow_id_reuse_policy = 8;
- Parameters:
value
- The workflowIdReusePolicy to set.- Returns:
- This builder for chaining.
-
clearWorkflowIdReusePolicy
public NewWorkflowExecutionInfo.Builder clearWorkflowIdReusePolicy()
Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.
.temporal.api.enums.v1.WorkflowIdReusePolicy workflow_id_reuse_policy = 8;
- Returns:
- This builder for chaining.
-
hasRetryPolicy
public boolean hasRetryPolicy()
The retry policy for the workflow. Will never exceed `workflow_execution_timeout`.
.temporal.api.common.v1.RetryPolicy retry_policy = 9;
- Specified by:
hasRetryPolicy
in interfaceNewWorkflowExecutionInfoOrBuilder
- Returns:
- Whether the retryPolicy field is set.
-
getRetryPolicy
public RetryPolicy getRetryPolicy()
The retry policy for the workflow. Will never exceed `workflow_execution_timeout`.
.temporal.api.common.v1.RetryPolicy retry_policy = 9;
- Specified by:
getRetryPolicy
in interfaceNewWorkflowExecutionInfoOrBuilder
- Returns:
- The retryPolicy.
-
setRetryPolicy
public NewWorkflowExecutionInfo.Builder setRetryPolicy(RetryPolicy value)
The retry policy for the workflow. Will never exceed `workflow_execution_timeout`.
.temporal.api.common.v1.RetryPolicy retry_policy = 9;
-
setRetryPolicy
public NewWorkflowExecutionInfo.Builder setRetryPolicy(RetryPolicy.Builder builderForValue)
The retry policy for the workflow. Will never exceed `workflow_execution_timeout`.
.temporal.api.common.v1.RetryPolicy retry_policy = 9;
-
mergeRetryPolicy
public NewWorkflowExecutionInfo.Builder mergeRetryPolicy(RetryPolicy value)
The retry policy for the workflow. Will never exceed `workflow_execution_timeout`.
.temporal.api.common.v1.RetryPolicy retry_policy = 9;
-
clearRetryPolicy
public NewWorkflowExecutionInfo.Builder clearRetryPolicy()
The retry policy for the workflow. Will never exceed `workflow_execution_timeout`.
.temporal.api.common.v1.RetryPolicy retry_policy = 9;
-
getRetryPolicyBuilder
public RetryPolicy.Builder getRetryPolicyBuilder()
The retry policy for the workflow. Will never exceed `workflow_execution_timeout`.
.temporal.api.common.v1.RetryPolicy retry_policy = 9;
-
getRetryPolicyOrBuilder
public RetryPolicyOrBuilder getRetryPolicyOrBuilder()
The retry policy for the workflow. Will never exceed `workflow_execution_timeout`.
.temporal.api.common.v1.RetryPolicy retry_policy = 9;
- Specified by:
getRetryPolicyOrBuilder
in interfaceNewWorkflowExecutionInfoOrBuilder
-
getCronSchedule
public java.lang.String getCronSchedule()
See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/
string cron_schedule = 10;
- Specified by:
getCronSchedule
in interfaceNewWorkflowExecutionInfoOrBuilder
- Returns:
- The cronSchedule.
-
getCronScheduleBytes
public com.google.protobuf.ByteString getCronScheduleBytes()
See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/
string cron_schedule = 10;
- Specified by:
getCronScheduleBytes
in interfaceNewWorkflowExecutionInfoOrBuilder
- Returns:
- The bytes for cronSchedule.
-
setCronSchedule
public NewWorkflowExecutionInfo.Builder setCronSchedule(java.lang.String value)
See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/
string cron_schedule = 10;
- Parameters:
value
- The cronSchedule to set.- Returns:
- This builder for chaining.
-
clearCronSchedule
public NewWorkflowExecutionInfo.Builder clearCronSchedule()
See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/
string cron_schedule = 10;
- Returns:
- This builder for chaining.
-
setCronScheduleBytes
public NewWorkflowExecutionInfo.Builder setCronScheduleBytes(com.google.protobuf.ByteString value)
See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/
string cron_schedule = 10;
- Parameters:
value
- The bytes for cronSchedule to set.- Returns:
- This builder for chaining.
-
hasMemo
public boolean hasMemo()
.temporal.api.common.v1.Memo memo = 11;
- Specified by:
hasMemo
in interfaceNewWorkflowExecutionInfoOrBuilder
- Returns:
- Whether the memo field is set.
-
getMemo
public Memo getMemo()
.temporal.api.common.v1.Memo memo = 11;
- Specified by:
getMemo
in interfaceNewWorkflowExecutionInfoOrBuilder
- Returns:
- The memo.
-
setMemo
public NewWorkflowExecutionInfo.Builder setMemo(Memo value)
.temporal.api.common.v1.Memo memo = 11;
-
setMemo
public NewWorkflowExecutionInfo.Builder setMemo(Memo.Builder builderForValue)
.temporal.api.common.v1.Memo memo = 11;
-
mergeMemo
public NewWorkflowExecutionInfo.Builder mergeMemo(Memo value)
.temporal.api.common.v1.Memo memo = 11;
-
clearMemo
public NewWorkflowExecutionInfo.Builder clearMemo()
.temporal.api.common.v1.Memo memo = 11;
-
getMemoBuilder
public Memo.Builder getMemoBuilder()
.temporal.api.common.v1.Memo memo = 11;
-
getMemoOrBuilder
public MemoOrBuilder getMemoOrBuilder()
.temporal.api.common.v1.Memo memo = 11;
- Specified by:
getMemoOrBuilder
in interfaceNewWorkflowExecutionInfoOrBuilder
-
hasSearchAttributes
public boolean hasSearchAttributes()
.temporal.api.common.v1.SearchAttributes search_attributes = 12;
- Specified by:
hasSearchAttributes
in interfaceNewWorkflowExecutionInfoOrBuilder
- Returns:
- Whether the searchAttributes field is set.
-
getSearchAttributes
public SearchAttributes getSearchAttributes()
.temporal.api.common.v1.SearchAttributes search_attributes = 12;
- Specified by:
getSearchAttributes
in interfaceNewWorkflowExecutionInfoOrBuilder
- Returns:
- The searchAttributes.
-
setSearchAttributes
public NewWorkflowExecutionInfo.Builder setSearchAttributes(SearchAttributes value)
.temporal.api.common.v1.SearchAttributes search_attributes = 12;
-
setSearchAttributes
public NewWorkflowExecutionInfo.Builder setSearchAttributes(SearchAttributes.Builder builderForValue)
.temporal.api.common.v1.SearchAttributes search_attributes = 12;
-
mergeSearchAttributes
public NewWorkflowExecutionInfo.Builder mergeSearchAttributes(SearchAttributes value)
.temporal.api.common.v1.SearchAttributes search_attributes = 12;
-
clearSearchAttributes
public NewWorkflowExecutionInfo.Builder clearSearchAttributes()
.temporal.api.common.v1.SearchAttributes search_attributes = 12;
-
getSearchAttributesBuilder
public SearchAttributes.Builder getSearchAttributesBuilder()
.temporal.api.common.v1.SearchAttributes search_attributes = 12;
-
getSearchAttributesOrBuilder
public SearchAttributesOrBuilder getSearchAttributesOrBuilder()
.temporal.api.common.v1.SearchAttributes search_attributes = 12;
- Specified by:
getSearchAttributesOrBuilder
in interfaceNewWorkflowExecutionInfoOrBuilder
-
hasHeader
public boolean hasHeader()
.temporal.api.common.v1.Header header = 13;
- Specified by:
hasHeader
in interfaceNewWorkflowExecutionInfoOrBuilder
- Returns:
- Whether the header field is set.
-
getHeader
public Header getHeader()
.temporal.api.common.v1.Header header = 13;
- Specified by:
getHeader
in interfaceNewWorkflowExecutionInfoOrBuilder
- Returns:
- The header.
-
setHeader
public NewWorkflowExecutionInfo.Builder setHeader(Header value)
.temporal.api.common.v1.Header header = 13;
-
setHeader
public NewWorkflowExecutionInfo.Builder setHeader(Header.Builder builderForValue)
.temporal.api.common.v1.Header header = 13;
-
mergeHeader
public NewWorkflowExecutionInfo.Builder mergeHeader(Header value)
.temporal.api.common.v1.Header header = 13;
-
clearHeader
public NewWorkflowExecutionInfo.Builder clearHeader()
.temporal.api.common.v1.Header header = 13;
-
getHeaderBuilder
public Header.Builder getHeaderBuilder()
.temporal.api.common.v1.Header header = 13;
-
getHeaderOrBuilder
public HeaderOrBuilder getHeaderOrBuilder()
.temporal.api.common.v1.Header header = 13;
- Specified by:
getHeaderOrBuilder
in interfaceNewWorkflowExecutionInfoOrBuilder
-
setUnknownFields
public final NewWorkflowExecutionInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<NewWorkflowExecutionInfo.Builder>
-
mergeUnknownFields
public final NewWorkflowExecutionInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<NewWorkflowExecutionInfo.Builder>
-
-