Package io.temporal.api.workflow.v1
Class NewWorkflowExecutionInfo.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- 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.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)NewWorkflowExecutionInfobuild()NewWorkflowExecutionInfobuildPartial()NewWorkflowExecutionInfo.Builderclear()NewWorkflowExecutionInfo.BuilderclearCronSchedule()See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/NewWorkflowExecutionInfo.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)NewWorkflowExecutionInfo.BuilderclearHeader().temporal.api.common.v1.Header header = 13;NewWorkflowExecutionInfo.BuilderclearInput()Serialized arguments to the workflow.NewWorkflowExecutionInfo.BuilderclearMemo().temporal.api.common.v1.Memo memo = 11;NewWorkflowExecutionInfo.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)NewWorkflowExecutionInfo.BuilderclearRetryPolicy()The retry policy for the workflow.NewWorkflowExecutionInfo.BuilderclearSearchAttributes().temporal.api.common.v1.SearchAttributes search_attributes = 12;NewWorkflowExecutionInfo.BuilderclearTaskQueue().temporal.api.taskqueue.v1.TaskQueue task_queue = 3;NewWorkflowExecutionInfo.BuilderclearUserMetadata()Metadata on the workflow if it is started.NewWorkflowExecutionInfo.BuilderclearVersioningOverride()If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion.NewWorkflowExecutionInfo.BuilderclearWorkflowExecutionTimeout()Total workflow execution timeout including retries and continue as new.NewWorkflowExecutionInfo.BuilderclearWorkflowId()string workflow_id = 1;NewWorkflowExecutionInfo.BuilderclearWorkflowIdReusePolicy()Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.NewWorkflowExecutionInfo.BuilderclearWorkflowRunTimeout()Timeout of a single workflow run.NewWorkflowExecutionInfo.BuilderclearWorkflowTaskTimeout()Timeout of a single workflow task.NewWorkflowExecutionInfo.BuilderclearWorkflowType().temporal.api.common.v1.WorkflowType workflow_type = 2;NewWorkflowExecutionInfo.Builderclone()java.lang.StringgetCronSchedule()See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/com.google.protobuf.ByteStringgetCronScheduleBytes()See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/NewWorkflowExecutionInfogetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()HeadergetHeader().temporal.api.common.v1.Header header = 13;Header.BuildergetHeaderBuilder().temporal.api.common.v1.Header header = 13;HeaderOrBuildergetHeaderOrBuilder().temporal.api.common.v1.Header header = 13;PayloadsgetInput()Serialized arguments to the workflow.Payloads.BuildergetInputBuilder()Serialized arguments to the workflow.PayloadsOrBuildergetInputOrBuilder()Serialized arguments to the workflow.MemogetMemo().temporal.api.common.v1.Memo memo = 11;Memo.BuildergetMemoBuilder().temporal.api.common.v1.Memo memo = 11;MemoOrBuildergetMemoOrBuilder().temporal.api.common.v1.Memo memo = 11;RetryPolicygetRetryPolicy()The retry policy for the workflow.RetryPolicy.BuildergetRetryPolicyBuilder()The retry policy for the workflow.RetryPolicyOrBuildergetRetryPolicyOrBuilder()The retry policy for the workflow.SearchAttributesgetSearchAttributes().temporal.api.common.v1.SearchAttributes search_attributes = 12;SearchAttributes.BuildergetSearchAttributesBuilder().temporal.api.common.v1.SearchAttributes search_attributes = 12;SearchAttributesOrBuildergetSearchAttributesOrBuilder().temporal.api.common.v1.SearchAttributes search_attributes = 12;TaskQueuegetTaskQueue().temporal.api.taskqueue.v1.TaskQueue task_queue = 3;TaskQueue.BuildergetTaskQueueBuilder().temporal.api.taskqueue.v1.TaskQueue task_queue = 3;TaskQueueOrBuildergetTaskQueueOrBuilder().temporal.api.taskqueue.v1.TaskQueue task_queue = 3;UserMetadatagetUserMetadata()Metadata on the workflow if it is started.UserMetadata.BuildergetUserMetadataBuilder()Metadata on the workflow if it is started.UserMetadataOrBuildergetUserMetadataOrBuilder()Metadata on the workflow if it is started.VersioningOverridegetVersioningOverride()If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion.VersioningOverride.BuildergetVersioningOverrideBuilder()If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion.VersioningOverrideOrBuildergetVersioningOverrideOrBuilder()If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion.com.google.protobuf.DurationgetWorkflowExecutionTimeout()Total workflow execution timeout including retries and continue as new.com.google.protobuf.Duration.BuildergetWorkflowExecutionTimeoutBuilder()Total workflow execution timeout including retries and continue as new.com.google.protobuf.DurationOrBuildergetWorkflowExecutionTimeoutOrBuilder()Total workflow execution timeout including retries and continue as new.java.lang.StringgetWorkflowId()string workflow_id = 1;com.google.protobuf.ByteStringgetWorkflowIdBytes()string workflow_id = 1;WorkflowIdReusePolicygetWorkflowIdReusePolicy()Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.intgetWorkflowIdReusePolicyValue()Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.com.google.protobuf.DurationgetWorkflowRunTimeout()Timeout of a single workflow run.com.google.protobuf.Duration.BuildergetWorkflowRunTimeoutBuilder()Timeout of a single workflow run.com.google.protobuf.DurationOrBuildergetWorkflowRunTimeoutOrBuilder()Timeout of a single workflow run.com.google.protobuf.DurationgetWorkflowTaskTimeout()Timeout of a single workflow task.com.google.protobuf.Duration.BuildergetWorkflowTaskTimeoutBuilder()Timeout of a single workflow task.com.google.protobuf.DurationOrBuildergetWorkflowTaskTimeoutOrBuilder()Timeout of a single workflow task.WorkflowTypegetWorkflowType().temporal.api.common.v1.WorkflowType workflow_type = 2;WorkflowType.BuildergetWorkflowTypeBuilder().temporal.api.common.v1.WorkflowType workflow_type = 2;WorkflowTypeOrBuildergetWorkflowTypeOrBuilder().temporal.api.common.v1.WorkflowType workflow_type = 2;booleanhasHeader().temporal.api.common.v1.Header header = 13;booleanhasInput()Serialized arguments to the workflow.booleanhasMemo().temporal.api.common.v1.Memo memo = 11;booleanhasRetryPolicy()The retry policy for the workflow.booleanhasSearchAttributes().temporal.api.common.v1.SearchAttributes search_attributes = 12;booleanhasTaskQueue().temporal.api.taskqueue.v1.TaskQueue task_queue = 3;booleanhasUserMetadata()Metadata on the workflow if it is started.booleanhasVersioningOverride()If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion.booleanhasWorkflowExecutionTimeout()Total workflow execution timeout including retries and continue as new.booleanhasWorkflowRunTimeout()Timeout of a single workflow run.booleanhasWorkflowTaskTimeout()Timeout of a single workflow task.booleanhasWorkflowType().temporal.api.common.v1.WorkflowType workflow_type = 2;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()NewWorkflowExecutionInfo.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)NewWorkflowExecutionInfo.BuildermergeFrom(com.google.protobuf.Message other)NewWorkflowExecutionInfo.BuildermergeFrom(NewWorkflowExecutionInfo other)NewWorkflowExecutionInfo.BuildermergeHeader(Header value).temporal.api.common.v1.Header header = 13;NewWorkflowExecutionInfo.BuildermergeInput(Payloads value)Serialized arguments to the workflow.NewWorkflowExecutionInfo.BuildermergeMemo(Memo value).temporal.api.common.v1.Memo memo = 11;NewWorkflowExecutionInfo.BuildermergeRetryPolicy(RetryPolicy value)The retry policy for the workflow.NewWorkflowExecutionInfo.BuildermergeSearchAttributes(SearchAttributes value).temporal.api.common.v1.SearchAttributes search_attributes = 12;NewWorkflowExecutionInfo.BuildermergeTaskQueue(TaskQueue value).temporal.api.taskqueue.v1.TaskQueue task_queue = 3;NewWorkflowExecutionInfo.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)NewWorkflowExecutionInfo.BuildermergeUserMetadata(UserMetadata value)Metadata on the workflow if it is started.NewWorkflowExecutionInfo.BuildermergeVersioningOverride(VersioningOverride value)If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion.NewWorkflowExecutionInfo.BuildermergeWorkflowExecutionTimeout(com.google.protobuf.Duration value)Total workflow execution timeout including retries and continue as new.NewWorkflowExecutionInfo.BuildermergeWorkflowRunTimeout(com.google.protobuf.Duration value)Timeout of a single workflow run.NewWorkflowExecutionInfo.BuildermergeWorkflowTaskTimeout(com.google.protobuf.Duration value)Timeout of a single workflow task.NewWorkflowExecutionInfo.BuildermergeWorkflowType(WorkflowType value).temporal.api.common.v1.WorkflowType workflow_type = 2;NewWorkflowExecutionInfo.BuildersetCronSchedule(java.lang.String value)See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/NewWorkflowExecutionInfo.BuildersetCronScheduleBytes(com.google.protobuf.ByteString value)See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/NewWorkflowExecutionInfo.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)NewWorkflowExecutionInfo.BuildersetHeader(Header value).temporal.api.common.v1.Header header = 13;NewWorkflowExecutionInfo.BuildersetHeader(Header.Builder builderForValue).temporal.api.common.v1.Header header = 13;NewWorkflowExecutionInfo.BuildersetInput(Payloads value)Serialized arguments to the workflow.NewWorkflowExecutionInfo.BuildersetInput(Payloads.Builder builderForValue)Serialized arguments to the workflow.NewWorkflowExecutionInfo.BuildersetMemo(Memo value).temporal.api.common.v1.Memo memo = 11;NewWorkflowExecutionInfo.BuildersetMemo(Memo.Builder builderForValue).temporal.api.common.v1.Memo memo = 11;NewWorkflowExecutionInfo.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)NewWorkflowExecutionInfo.BuildersetRetryPolicy(RetryPolicy value)The retry policy for the workflow.NewWorkflowExecutionInfo.BuildersetRetryPolicy(RetryPolicy.Builder builderForValue)The retry policy for the workflow.NewWorkflowExecutionInfo.BuildersetSearchAttributes(SearchAttributes value).temporal.api.common.v1.SearchAttributes search_attributes = 12;NewWorkflowExecutionInfo.BuildersetSearchAttributes(SearchAttributes.Builder builderForValue).temporal.api.common.v1.SearchAttributes search_attributes = 12;NewWorkflowExecutionInfo.BuildersetTaskQueue(TaskQueue value).temporal.api.taskqueue.v1.TaskQueue task_queue = 3;NewWorkflowExecutionInfo.BuildersetTaskQueue(TaskQueue.Builder builderForValue).temporal.api.taskqueue.v1.TaskQueue task_queue = 3;NewWorkflowExecutionInfo.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)NewWorkflowExecutionInfo.BuildersetUserMetadata(UserMetadata value)Metadata on the workflow if it is started.NewWorkflowExecutionInfo.BuildersetUserMetadata(UserMetadata.Builder builderForValue)Metadata on the workflow if it is started.NewWorkflowExecutionInfo.BuildersetVersioningOverride(VersioningOverride value)If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion.NewWorkflowExecutionInfo.BuildersetVersioningOverride(VersioningOverride.Builder builderForValue)If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion.NewWorkflowExecutionInfo.BuildersetWorkflowExecutionTimeout(com.google.protobuf.Duration value)Total workflow execution timeout including retries and continue as new.NewWorkflowExecutionInfo.BuildersetWorkflowExecutionTimeout(com.google.protobuf.Duration.Builder builderForValue)Total workflow execution timeout including retries and continue as new.NewWorkflowExecutionInfo.BuildersetWorkflowId(java.lang.String value)string workflow_id = 1;NewWorkflowExecutionInfo.BuildersetWorkflowIdBytes(com.google.protobuf.ByteString value)string workflow_id = 1;NewWorkflowExecutionInfo.BuildersetWorkflowIdReusePolicy(WorkflowIdReusePolicy value)Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.NewWorkflowExecutionInfo.BuildersetWorkflowIdReusePolicyValue(int value)Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.NewWorkflowExecutionInfo.BuildersetWorkflowRunTimeout(com.google.protobuf.Duration value)Timeout of a single workflow run.NewWorkflowExecutionInfo.BuildersetWorkflowRunTimeout(com.google.protobuf.Duration.Builder builderForValue)Timeout of a single workflow run.NewWorkflowExecutionInfo.BuildersetWorkflowTaskTimeout(com.google.protobuf.Duration value)Timeout of a single workflow task.NewWorkflowExecutionInfo.BuildersetWorkflowTaskTimeout(com.google.protobuf.Duration.Builder builderForValue)Timeout of a single workflow task.NewWorkflowExecutionInfo.BuildersetWorkflowType(WorkflowType value).temporal.api.common.v1.WorkflowType workflow_type = 2;NewWorkflowExecutionInfo.BuildersetWorkflowType(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, 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<NewWorkflowExecutionInfo.Builder>
-
clear
public 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
public NewWorkflowExecutionInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public NewWorkflowExecutionInfo build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public NewWorkflowExecutionInfo buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public NewWorkflowExecutionInfo.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, java.lang.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, java.lang.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, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NewWorkflowExecutionInfo.Builder>
-
mergeFrom
public NewWorkflowExecutionInfo.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NewWorkflowExecutionInfo.Builder>
-
mergeFrom
public NewWorkflowExecutionInfo.Builder mergeFrom(NewWorkflowExecutionInfo other)
-
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 java.io.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:
java.io.IOException
-
getWorkflowId
public java.lang.String 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
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:
hasWorkflowTypein interfaceNewWorkflowExecutionInfoOrBuilder- Returns:
- Whether the workflowType field is set.
-
getWorkflowType
public WorkflowType getWorkflowType()
.temporal.api.common.v1.WorkflowType workflow_type = 2;- Specified by:
getWorkflowTypein 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:
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
public TaskQueue getTaskQueue()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 3;- Specified by:
getTaskQueuein 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:
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
public Payloads getInput()
Serialized arguments to the workflow.
.temporal.api.common.v1.Payloads input = 4;- Specified by:
getInputin 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:
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
public NewWorkflowExecutionInfo.Builder 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
public NewWorkflowExecutionInfo.Builder setWorkflowRunTimeout(com.google.protobuf.Duration value)
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
public NewWorkflowExecutionInfo.Builder mergeWorkflowRunTimeout(com.google.protobuf.Duration value)
Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 6;
-
clearWorkflowRunTimeout
public NewWorkflowExecutionInfo.Builder 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
public NewWorkflowExecutionInfo.Builder setWorkflowTaskTimeout(com.google.protobuf.Duration value)
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
public NewWorkflowExecutionInfo.Builder 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
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:
getWorkflowIdReusePolicyin 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:
hasRetryPolicyin 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:
getRetryPolicyin 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:
getRetryPolicyOrBuilderin 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:
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
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:
hasMemoin interfaceNewWorkflowExecutionInfoOrBuilder- Returns:
- Whether the memo field is set.
-
getMemo
public Memo getMemo()
.temporal.api.common.v1.Memo memo = 11;- Specified by:
getMemoin 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:
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
public SearchAttributes getSearchAttributes()
.temporal.api.common.v1.SearchAttributes search_attributes = 12;- Specified by:
getSearchAttributesin 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:
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
public Header getHeader()
.temporal.api.common.v1.Header header = 13;- Specified by:
getHeaderin 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:
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
public UserMetadata 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
public NewWorkflowExecutionInfo.Builder setUserMetadata(UserMetadata value)
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
public NewWorkflowExecutionInfo.Builder setUserMetadata(UserMetadata.Builder builderForValue)
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
public NewWorkflowExecutionInfo.Builder mergeUserMetadata(UserMetadata value)
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
public NewWorkflowExecutionInfo.Builder 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
public UserMetadata.Builder 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
public UserMetadataOrBuilder 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
public VersioningOverride 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
public NewWorkflowExecutionInfo.Builder setVersioningOverride(VersioningOverride value)
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
public NewWorkflowExecutionInfo.Builder mergeVersioningOverride(VersioningOverride value)
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
public NewWorkflowExecutionInfo.Builder 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
public VersioningOverride.Builder 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
public VersioningOverrideOrBuilder 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
-
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>
-
-