Class NewWorkflowExecutionInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<NewWorkflowExecutionInfo.Builder>
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,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 type
temporal.api.workflow.v1.NewWorkflowExecutionInfo-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/clearField(com.google.protobuf.Descriptors.FieldDescriptor field) .temporal.api.common.v1.Header header = 13;Serialized arguments to the workflow..temporal.api.common.v1.Memo memo = 11;clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Priority metadataThe retry policy for the workflow..temporal.api.common.v1.SearchAttributes search_attributes = 12;.temporal.api.taskqueue.v1.TaskQueue task_queue = 3;Metadata on the workflow if it is started.If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion.Total workflow execution timeout including retries and continue as new.string workflow_id = 1;Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.Timeout of a single workflow run.Timeout of a single workflow task..temporal.api.common.v1.WorkflowType workflow_type = 2;clone()See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/com.google.protobuf.ByteStringSee https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptor.temporal.api.common.v1.Header header = 13;.temporal.api.common.v1.Header header = 13;.temporal.api.common.v1.Header header = 13;getInput()Serialized arguments to the workflow.Serialized arguments to the workflow.Serialized arguments to the workflow.getMemo().temporal.api.common.v1.Memo memo = 11;.temporal.api.common.v1.Memo memo = 11;.temporal.api.common.v1.Memo memo = 11;Priority metadataPriority metadataPriority metadataThe retry policy for the workflow.The retry policy for the workflow.The retry policy for the workflow..temporal.api.common.v1.SearchAttributes search_attributes = 12;.temporal.api.common.v1.SearchAttributes search_attributes = 12;.temporal.api.common.v1.SearchAttributes search_attributes = 12;.temporal.api.taskqueue.v1.TaskQueue task_queue = 3;.temporal.api.taskqueue.v1.TaskQueue task_queue = 3;.temporal.api.taskqueue.v1.TaskQueue task_queue = 3;Metadata on the workflow if it is started.Metadata on the workflow if it is started.Metadata on the workflow if it is started.If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion.If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion.If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion.com.google.protobuf.DurationTotal workflow execution timeout including retries and continue as new.com.google.protobuf.Duration.BuilderTotal workflow execution timeout including retries and continue as new.com.google.protobuf.DurationOrBuilderTotal workflow execution timeout including retries and continue as new.string workflow_id = 1;com.google.protobuf.ByteStringstring workflow_id = 1;Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.intDefault: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.com.google.protobuf.DurationTimeout of a single workflow run.com.google.protobuf.Duration.BuilderTimeout of a single workflow run.com.google.protobuf.DurationOrBuilderTimeout of a single workflow run.com.google.protobuf.DurationTimeout of a single workflow task.com.google.protobuf.Duration.BuilderTimeout of a single workflow task.com.google.protobuf.DurationOrBuilderTimeout of a single workflow task..temporal.api.common.v1.WorkflowType workflow_type = 2;.temporal.api.common.v1.WorkflowType workflow_type = 2;.temporal.api.common.v1.WorkflowType workflow_type = 2;boolean.temporal.api.common.v1.Header header = 13;booleanhasInput()Serialized arguments to the workflow.booleanhasMemo().temporal.api.common.v1.Memo memo = 11;booleanPriority metadatabooleanThe retry policy for the workflow.boolean.temporal.api.common.v1.SearchAttributes search_attributes = 12;boolean.temporal.api.taskqueue.v1.TaskQueue task_queue = 3;booleanMetadata on the workflow if it is started.booleanIf set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion.booleanTotal workflow execution timeout including retries and continue as new.booleanTimeout of a single workflow run.booleanTimeout of a single workflow task.boolean.temporal.api.common.v1.WorkflowType workflow_type = 2;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeHeader(Header value) .temporal.api.common.v1.Header header = 13;mergeInput(Payloads value) Serialized arguments to the workflow..temporal.api.common.v1.Memo memo = 11;mergePriority(Priority value) Priority metadatamergeRetryPolicy(RetryPolicy value) The retry policy for the workflow..temporal.api.common.v1.SearchAttributes search_attributes = 12;mergeTaskQueue(TaskQueue value) .temporal.api.taskqueue.v1.TaskQueue task_queue = 3;mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) mergeUserMetadata(UserMetadata value) Metadata on the workflow if it is started.If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion.mergeWorkflowExecutionTimeout(com.google.protobuf.Duration value) Total workflow execution timeout including retries and continue as new.mergeWorkflowRunTimeout(com.google.protobuf.Duration value) Timeout of a single workflow run.mergeWorkflowTaskTimeout(com.google.protobuf.Duration value) Timeout of a single workflow task.mergeWorkflowType(WorkflowType value) .temporal.api.common.v1.WorkflowType workflow_type = 2;setCronSchedule(String value) See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/setCronScheduleBytes(com.google.protobuf.ByteString value) See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/.temporal.api.common.v1.Header header = 13;setHeader(Header.Builder builderForValue) .temporal.api.common.v1.Header header = 13;Serialized arguments to the workflow.setInput(Payloads.Builder builderForValue) Serialized arguments to the workflow..temporal.api.common.v1.Memo memo = 11;setMemo(Memo.Builder builderForValue) .temporal.api.common.v1.Memo memo = 11;setPriority(Priority value) Priority metadatasetPriority(Priority.Builder builderForValue) Priority metadatasetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRetryPolicy(RetryPolicy value) The retry policy for the workflow.setRetryPolicy(RetryPolicy.Builder builderForValue) The retry policy for the workflow..temporal.api.common.v1.SearchAttributes search_attributes = 12;setSearchAttributes(SearchAttributes.Builder builderForValue) .temporal.api.common.v1.SearchAttributes search_attributes = 12;setTaskQueue(TaskQueue value) .temporal.api.taskqueue.v1.TaskQueue task_queue = 3;setTaskQueue(TaskQueue.Builder builderForValue) .temporal.api.taskqueue.v1.TaskQueue task_queue = 3;setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setUserMetadata(UserMetadata value) Metadata on the workflow if it is started.setUserMetadata(UserMetadata.Builder builderForValue) Metadata on the workflow if it is started.If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion.setVersioningOverride(VersioningOverride.Builder builderForValue) If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion.setWorkflowExecutionTimeout(com.google.protobuf.Duration value) Total workflow execution timeout including retries and continue as new.setWorkflowExecutionTimeout(com.google.protobuf.Duration.Builder builderForValue) Total workflow execution timeout including retries and continue as new.setWorkflowId(String value) string workflow_id = 1;setWorkflowIdBytes(com.google.protobuf.ByteString value) string workflow_id = 1;Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.setWorkflowIdReusePolicyValue(int value) Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.setWorkflowRunTimeout(com.google.protobuf.Duration value) Timeout of a single workflow run.setWorkflowRunTimeout(com.google.protobuf.Duration.Builder builderForValue) Timeout of a single workflow run.setWorkflowTaskTimeout(com.google.protobuf.Duration value) Timeout of a single workflow task.setWorkflowTaskTimeout(com.google.protobuf.Duration.Builder builderForValue) Timeout of a single workflow task.setWorkflowType(WorkflowType value) .temporal.api.common.v1.WorkflowType workflow_type = 2;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, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<NewWorkflowExecutionInfo.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<NewWorkflowExecutionInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<NewWorkflowExecutionInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<NewWorkflowExecutionInfo.Builder>
-
setField
public NewWorkflowExecutionInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NewWorkflowExecutionInfo.Builder>
-
clearField
public NewWorkflowExecutionInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NewWorkflowExecutionInfo.Builder>
-
clearOneof
public NewWorkflowExecutionInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<NewWorkflowExecutionInfo.Builder>
-
setRepeatedField
public NewWorkflowExecutionInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NewWorkflowExecutionInfo.Builder>
-
addRepeatedField
public NewWorkflowExecutionInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NewWorkflowExecutionInfo.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NewWorkflowExecutionInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<NewWorkflowExecutionInfo.Builder>
-
mergeFrom
public NewWorkflowExecutionInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NewWorkflowExecutionInfo.Builder>- Throws:
IOException
-
getWorkflowId
string workflow_id = 1;- Specified by:
getWorkflowIdin interfaceNewWorkflowExecutionInfoOrBuilder- Returns:
- The workflowId.
-
getWorkflowIdBytes
public com.google.protobuf.ByteString getWorkflowIdBytes()string workflow_id = 1;- Specified by:
getWorkflowIdBytesin interfaceNewWorkflowExecutionInfoOrBuilder- Returns:
- The bytes for workflowId.
-
setWorkflowId
string workflow_id = 1;- Parameters:
value- The workflowId to set.- Returns:
- This builder for chaining.
-
clearWorkflowId
string workflow_id = 1;- Returns:
- This builder for chaining.
-
setWorkflowIdBytes
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:
hasWorkflowTypein interfaceNewWorkflowExecutionInfoOrBuilder- Returns:
- Whether the workflowType field is set.
-
getWorkflowType
.temporal.api.common.v1.WorkflowType workflow_type = 2;- Specified by:
getWorkflowTypein interfaceNewWorkflowExecutionInfoOrBuilder- Returns:
- The workflowType.
-
setWorkflowType
.temporal.api.common.v1.WorkflowType workflow_type = 2; -
setWorkflowType
.temporal.api.common.v1.WorkflowType workflow_type = 2; -
mergeWorkflowType
.temporal.api.common.v1.WorkflowType workflow_type = 2; -
clearWorkflowType
.temporal.api.common.v1.WorkflowType workflow_type = 2; -
getWorkflowTypeBuilder
.temporal.api.common.v1.WorkflowType workflow_type = 2; -
getWorkflowTypeOrBuilder
.temporal.api.common.v1.WorkflowType workflow_type = 2;- Specified by:
getWorkflowTypeOrBuilderin interfaceNewWorkflowExecutionInfoOrBuilder
-
hasTaskQueue
public boolean hasTaskQueue().temporal.api.taskqueue.v1.TaskQueue task_queue = 3;- Specified by:
hasTaskQueuein interfaceNewWorkflowExecutionInfoOrBuilder- Returns:
- Whether the taskQueue field is set.
-
getTaskQueue
.temporal.api.taskqueue.v1.TaskQueue task_queue = 3;- Specified by:
getTaskQueuein interfaceNewWorkflowExecutionInfoOrBuilder- Returns:
- The taskQueue.
-
setTaskQueue
.temporal.api.taskqueue.v1.TaskQueue task_queue = 3; -
setTaskQueue
.temporal.api.taskqueue.v1.TaskQueue task_queue = 3; -
mergeTaskQueue
.temporal.api.taskqueue.v1.TaskQueue task_queue = 3; -
clearTaskQueue
.temporal.api.taskqueue.v1.TaskQueue task_queue = 3; -
getTaskQueueBuilder
.temporal.api.taskqueue.v1.TaskQueue task_queue = 3; -
getTaskQueueOrBuilder
.temporal.api.taskqueue.v1.TaskQueue task_queue = 3;- Specified by:
getTaskQueueOrBuilderin interfaceNewWorkflowExecutionInfoOrBuilder
-
hasInput
public boolean hasInput()Serialized arguments to the workflow.
.temporal.api.common.v1.Payloads input = 4;- Specified by:
hasInputin interfaceNewWorkflowExecutionInfoOrBuilder- Returns:
- Whether the input field is set.
-
getInput
Serialized arguments to the workflow.
.temporal.api.common.v1.Payloads input = 4;- Specified by:
getInputin interfaceNewWorkflowExecutionInfoOrBuilder- Returns:
- The input.
-
setInput
Serialized arguments to the workflow.
.temporal.api.common.v1.Payloads input = 4; -
setInput
Serialized arguments to the workflow.
.temporal.api.common.v1.Payloads input = 4; -
mergeInput
Serialized arguments to the workflow.
.temporal.api.common.v1.Payloads input = 4; -
clearInput
Serialized arguments to the workflow.
.temporal.api.common.v1.Payloads input = 4; -
getInputBuilder
Serialized arguments to the workflow.
.temporal.api.common.v1.Payloads input = 4; -
getInputOrBuilder
Serialized arguments to the workflow.
.temporal.api.common.v1.Payloads input = 4;- Specified by:
getInputOrBuilderin interfaceNewWorkflowExecutionInfoOrBuilder
-
hasWorkflowExecutionTimeout
public boolean hasWorkflowExecutionTimeout()Total workflow execution timeout including retries and continue as new.
.google.protobuf.Duration workflow_execution_timeout = 5;- Specified by:
hasWorkflowExecutionTimeoutin 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;- Specified by:
getWorkflowExecutionTimeoutin 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; -
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; -
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; -
clearWorkflowExecutionTimeout
Total workflow execution timeout including retries and continue as new.
.google.protobuf.Duration workflow_execution_timeout = 5; -
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; -
getWorkflowExecutionTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getWorkflowExecutionTimeoutOrBuilder()Total workflow execution timeout including retries and continue as new.
.google.protobuf.Duration workflow_execution_timeout = 5;- Specified by:
getWorkflowExecutionTimeoutOrBuilderin interfaceNewWorkflowExecutionInfoOrBuilder
-
hasWorkflowRunTimeout
public boolean hasWorkflowRunTimeout()Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 6;- Specified by:
hasWorkflowRunTimeoutin 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;- Specified by:
getWorkflowRunTimeoutin interfaceNewWorkflowExecutionInfoOrBuilder- Returns:
- The workflowRunTimeout.
-
setWorkflowRunTimeout
Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 6; -
setWorkflowRunTimeout
public NewWorkflowExecutionInfo.Builder setWorkflowRunTimeout(com.google.protobuf.Duration.Builder builderForValue) Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 6; -
mergeWorkflowRunTimeout
Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 6; -
clearWorkflowRunTimeout
Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 6; -
getWorkflowRunTimeoutBuilder
public com.google.protobuf.Duration.Builder getWorkflowRunTimeoutBuilder()Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 6; -
getWorkflowRunTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getWorkflowRunTimeoutOrBuilder()Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 6;- Specified by:
getWorkflowRunTimeoutOrBuilderin interfaceNewWorkflowExecutionInfoOrBuilder
-
hasWorkflowTaskTimeout
public boolean hasWorkflowTaskTimeout()Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 7;- Specified by:
hasWorkflowTaskTimeoutin 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;- Specified by:
getWorkflowTaskTimeoutin interfaceNewWorkflowExecutionInfoOrBuilder- Returns:
- The workflowTaskTimeout.
-
setWorkflowTaskTimeout
Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 7; -
setWorkflowTaskTimeout
public NewWorkflowExecutionInfo.Builder setWorkflowTaskTimeout(com.google.protobuf.Duration.Builder builderForValue) Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 7; -
mergeWorkflowTaskTimeout
public NewWorkflowExecutionInfo.Builder mergeWorkflowTaskTimeout(com.google.protobuf.Duration value) Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 7; -
clearWorkflowTaskTimeout
Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 7; -
getWorkflowTaskTimeoutBuilder
public com.google.protobuf.Duration.Builder getWorkflowTaskTimeoutBuilder()Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 7; -
getWorkflowTaskTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getWorkflowTaskTimeoutOrBuilder()Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 7;- Specified by:
getWorkflowTaskTimeoutOrBuilderin interfaceNewWorkflowExecutionInfoOrBuilder
-
getWorkflowIdReusePolicyValue
public int getWorkflowIdReusePolicyValue()Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.
.temporal.api.enums.v1.WorkflowIdReusePolicy workflow_id_reuse_policy = 8;- Specified by:
getWorkflowIdReusePolicyValuein interfaceNewWorkflowExecutionInfoOrBuilder- Returns:
- The enum numeric value on the wire for workflowIdReusePolicy.
-
setWorkflowIdReusePolicyValue
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
Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.
.temporal.api.enums.v1.WorkflowIdReusePolicy workflow_id_reuse_policy = 8;- Specified by:
getWorkflowIdReusePolicyin interfaceNewWorkflowExecutionInfoOrBuilder- Returns:
- The workflowIdReusePolicy.
-
setWorkflowIdReusePolicy
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
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:
hasRetryPolicyin interfaceNewWorkflowExecutionInfoOrBuilder- Returns:
- Whether the retryPolicy field is set.
-
getRetryPolicy
The retry policy for the workflow. Will never exceed `workflow_execution_timeout`.
.temporal.api.common.v1.RetryPolicy retry_policy = 9;- Specified by:
getRetryPolicyin interfaceNewWorkflowExecutionInfoOrBuilder- Returns:
- The retryPolicy.
-
setRetryPolicy
The retry policy for the workflow. Will never exceed `workflow_execution_timeout`.
.temporal.api.common.v1.RetryPolicy retry_policy = 9; -
setRetryPolicy
The retry policy for the workflow. Will never exceed `workflow_execution_timeout`.
.temporal.api.common.v1.RetryPolicy retry_policy = 9; -
mergeRetryPolicy
The retry policy for the workflow. Will never exceed `workflow_execution_timeout`.
.temporal.api.common.v1.RetryPolicy retry_policy = 9; -
clearRetryPolicy
The retry policy for the workflow. Will never exceed `workflow_execution_timeout`.
.temporal.api.common.v1.RetryPolicy retry_policy = 9; -
getRetryPolicyBuilder
The retry policy for the workflow. Will never exceed `workflow_execution_timeout`.
.temporal.api.common.v1.RetryPolicy retry_policy = 9; -
getRetryPolicyOrBuilder
The retry policy for the workflow. Will never exceed `workflow_execution_timeout`.
.temporal.api.common.v1.RetryPolicy retry_policy = 9;- Specified by:
getRetryPolicyOrBuilderin interfaceNewWorkflowExecutionInfoOrBuilder
-
getCronSchedule
See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/
string cron_schedule = 10;- Specified by:
getCronSchedulein 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:
getCronScheduleBytesin interfaceNewWorkflowExecutionInfoOrBuilder- Returns:
- The bytes for cronSchedule.
-
setCronSchedule
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
See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/
string cron_schedule = 10;- Returns:
- This builder for chaining.
-
setCronScheduleBytes
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:
hasMemoin interfaceNewWorkflowExecutionInfoOrBuilder- Returns:
- Whether the memo field is set.
-
getMemo
.temporal.api.common.v1.Memo memo = 11;- Specified by:
getMemoin interfaceNewWorkflowExecutionInfoOrBuilder- Returns:
- The memo.
-
setMemo
.temporal.api.common.v1.Memo memo = 11; -
setMemo
.temporal.api.common.v1.Memo memo = 11; -
mergeMemo
.temporal.api.common.v1.Memo memo = 11; -
clearMemo
.temporal.api.common.v1.Memo memo = 11; -
getMemoBuilder
.temporal.api.common.v1.Memo memo = 11; -
getMemoOrBuilder
.temporal.api.common.v1.Memo memo = 11;- Specified by:
getMemoOrBuilderin interfaceNewWorkflowExecutionInfoOrBuilder
-
hasSearchAttributes
public boolean hasSearchAttributes().temporal.api.common.v1.SearchAttributes search_attributes = 12;- Specified by:
hasSearchAttributesin interfaceNewWorkflowExecutionInfoOrBuilder- Returns:
- Whether the searchAttributes field is set.
-
getSearchAttributes
.temporal.api.common.v1.SearchAttributes search_attributes = 12;- Specified by:
getSearchAttributesin interfaceNewWorkflowExecutionInfoOrBuilder- Returns:
- The searchAttributes.
-
setSearchAttributes
.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
.temporal.api.common.v1.SearchAttributes search_attributes = 12; -
clearSearchAttributes
.temporal.api.common.v1.SearchAttributes search_attributes = 12; -
getSearchAttributesBuilder
.temporal.api.common.v1.SearchAttributes search_attributes = 12; -
getSearchAttributesOrBuilder
.temporal.api.common.v1.SearchAttributes search_attributes = 12;- Specified by:
getSearchAttributesOrBuilderin interfaceNewWorkflowExecutionInfoOrBuilder
-
hasHeader
public boolean hasHeader().temporal.api.common.v1.Header header = 13;- Specified by:
hasHeaderin interfaceNewWorkflowExecutionInfoOrBuilder- Returns:
- Whether the header field is set.
-
getHeader
.temporal.api.common.v1.Header header = 13;- Specified by:
getHeaderin interfaceNewWorkflowExecutionInfoOrBuilder- Returns:
- The header.
-
setHeader
.temporal.api.common.v1.Header header = 13; -
setHeader
.temporal.api.common.v1.Header header = 13; -
mergeHeader
.temporal.api.common.v1.Header header = 13; -
clearHeader
.temporal.api.common.v1.Header header = 13; -
getHeaderBuilder
.temporal.api.common.v1.Header header = 13; -
getHeaderOrBuilder
.temporal.api.common.v1.Header header = 13;- Specified by:
getHeaderOrBuilderin interfaceNewWorkflowExecutionInfoOrBuilder
-
hasUserMetadata
public boolean hasUserMetadata()Metadata on the workflow if it is started. This is carried over to the WorkflowExecutionConfig for use by user interfaces to display the fixed as-of-start summary and details of the workflow.
.temporal.api.sdk.v1.UserMetadata user_metadata = 14;- Specified by:
hasUserMetadatain interfaceNewWorkflowExecutionInfoOrBuilder- Returns:
- Whether the userMetadata field is set.
-
getUserMetadata
Metadata on the workflow if it is started. This is carried over to the WorkflowExecutionConfig for use by user interfaces to display the fixed as-of-start summary and details of the workflow.
.temporal.api.sdk.v1.UserMetadata user_metadata = 14;- Specified by:
getUserMetadatain interfaceNewWorkflowExecutionInfoOrBuilder- Returns:
- The userMetadata.
-
setUserMetadata
Metadata on the workflow if it is started. This is carried over to the WorkflowExecutionConfig for use by user interfaces to display the fixed as-of-start summary and details of the workflow.
.temporal.api.sdk.v1.UserMetadata user_metadata = 14; -
setUserMetadata
Metadata on the workflow if it is started. This is carried over to the WorkflowExecutionConfig for use by user interfaces to display the fixed as-of-start summary and details of the workflow.
.temporal.api.sdk.v1.UserMetadata user_metadata = 14; -
mergeUserMetadata
Metadata on the workflow if it is started. This is carried over to the WorkflowExecutionConfig for use by user interfaces to display the fixed as-of-start summary and details of the workflow.
.temporal.api.sdk.v1.UserMetadata user_metadata = 14; -
clearUserMetadata
Metadata on the workflow if it is started. This is carried over to the WorkflowExecutionConfig for use by user interfaces to display the fixed as-of-start summary and details of the workflow.
.temporal.api.sdk.v1.UserMetadata user_metadata = 14; -
getUserMetadataBuilder
Metadata on the workflow if it is started. This is carried over to the WorkflowExecutionConfig for use by user interfaces to display the fixed as-of-start summary and details of the workflow.
.temporal.api.sdk.v1.UserMetadata user_metadata = 14; -
getUserMetadataOrBuilder
Metadata on the workflow if it is started. This is carried over to the WorkflowExecutionConfig for use by user interfaces to display the fixed as-of-start summary and details of the workflow.
.temporal.api.sdk.v1.UserMetadata user_metadata = 14;- Specified by:
getUserMetadataOrBuilderin interfaceNewWorkflowExecutionInfoOrBuilder
-
hasVersioningOverride
public boolean hasVersioningOverride()If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion. To unset the override after the workflow is running, use UpdateWorkflowExecutionOptions.
.temporal.api.workflow.v1.VersioningOverride versioning_override = 15;- Specified by:
hasVersioningOverridein interfaceNewWorkflowExecutionInfoOrBuilder- Returns:
- Whether the versioningOverride field is set.
-
getVersioningOverride
If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion. To unset the override after the workflow is running, use UpdateWorkflowExecutionOptions.
.temporal.api.workflow.v1.VersioningOverride versioning_override = 15;- Specified by:
getVersioningOverridein interfaceNewWorkflowExecutionInfoOrBuilder- Returns:
- The versioningOverride.
-
setVersioningOverride
If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion. To unset the override after the workflow is running, use UpdateWorkflowExecutionOptions.
.temporal.api.workflow.v1.VersioningOverride versioning_override = 15; -
setVersioningOverride
public NewWorkflowExecutionInfo.Builder setVersioningOverride(VersioningOverride.Builder builderForValue) If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion. To unset the override after the workflow is running, use UpdateWorkflowExecutionOptions.
.temporal.api.workflow.v1.VersioningOverride versioning_override = 15; -
mergeVersioningOverride
If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion. To unset the override after the workflow is running, use UpdateWorkflowExecutionOptions.
.temporal.api.workflow.v1.VersioningOverride versioning_override = 15; -
clearVersioningOverride
If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion. To unset the override after the workflow is running, use UpdateWorkflowExecutionOptions.
.temporal.api.workflow.v1.VersioningOverride versioning_override = 15; -
getVersioningOverrideBuilder
If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion. To unset the override after the workflow is running, use UpdateWorkflowExecutionOptions.
.temporal.api.workflow.v1.VersioningOverride versioning_override = 15; -
getVersioningOverrideOrBuilder
If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion. To unset the override after the workflow is running, use UpdateWorkflowExecutionOptions.
.temporal.api.workflow.v1.VersioningOverride versioning_override = 15;- Specified by:
getVersioningOverrideOrBuilderin interfaceNewWorkflowExecutionInfoOrBuilder
-
hasPriority
public boolean hasPriority()Priority metadata
.temporal.api.common.v1.Priority priority = 16;- Specified by:
hasPriorityin interfaceNewWorkflowExecutionInfoOrBuilder- Returns:
- Whether the priority field is set.
-
getPriority
Priority metadata
.temporal.api.common.v1.Priority priority = 16;- Specified by:
getPriorityin interfaceNewWorkflowExecutionInfoOrBuilder- Returns:
- The priority.
-
setPriority
Priority metadata
.temporal.api.common.v1.Priority priority = 16; -
setPriority
Priority metadata
.temporal.api.common.v1.Priority priority = 16; -
mergePriority
Priority metadata
.temporal.api.common.v1.Priority priority = 16; -
clearPriority
Priority metadata
.temporal.api.common.v1.Priority priority = 16; -
getPriorityBuilder
Priority metadata
.temporal.api.common.v1.Priority priority = 16; -
getPriorityOrBuilder
Priority metadata
.temporal.api.common.v1.Priority priority = 16;- Specified by:
getPriorityOrBuilderin interfaceNewWorkflowExecutionInfoOrBuilder
-
setUnknownFields
public final NewWorkflowExecutionInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<NewWorkflowExecutionInfo.Builder>
-
mergeUnknownFields
public final NewWorkflowExecutionInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<NewWorkflowExecutionInfo.Builder>
-