Class StartWorkflowExecutionRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.temporal.api.workflowservice.v1.StartWorkflowExecutionRequest
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,StartWorkflowExecutionRequestOrBuilder,Serializable
@Generated(value="protoc",
comments="annotations:StartWorkflowExecutionRequest.java.pb.meta")
public final class StartWorkflowExecutionRequest
extends com.google.protobuf.GeneratedMessageV3
implements StartWorkflowExecutionRequestOrBuilder
Protobuf type
temporal.api.workflowservice.v1.StartWorkflowExecutionRequest- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typetemporal.api.workflowservice.v1.StartWorkflowExecutionRequestNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetCompletionCallbacks(int index) Callbacks to be called by the server when this workflow reaches a terminal state.intCallbacks to be called by the server when this workflow reaches a terminal state.Callbacks to be called by the server when this workflow reaches a terminal state.getCompletionCallbacksOrBuilder(int index) Callbacks to be called by the server when this workflow reaches a terminal state.List<? extends CallbackOrBuilder> Callbacks to be called by the server when this workflow reaches a terminal state.These values will be available as ContinuedFailure and LastCompletionResult in the WorkflowExecutionStarted event and through SDKs.These values will be available as ContinuedFailure and LastCompletionResult in the WorkflowExecutionStarted event and through SDKs.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.DescriptorDeployment Options of the worker who will process the eager task.Deployment Options of the worker who will process the eager task..temporal.api.common.v1.Header header = 16;.temporal.api.common.v1.Header header = 16;The identity of the client who initiated this requestcom.google.protobuf.ByteStringThe identity of the client who initiated this requestgetInput()Serialized arguments to the workflow.Serialized arguments to the workflow..temporal.api.common.v1.Payloads last_completion_result = 19;.temporal.api.common.v1.Payloads last_completion_result = 19;getLinks(int index) Links to be associated with the workflow.intLinks to be associated with the workflow.Links to be associated with the workflow.getLinksOrBuilder(int index) Links to be associated with the workflow.List<? extends LinkOrBuilder> Links to be associated with the workflow.getMemo().temporal.api.common.v1.Memo memo = 14;.temporal.api.common.v1.Memo memo = 14;string namespace = 1;com.google.protobuf.ByteStringstring namespace = 1;Defines actions to be done to the existing running workflow when the conflict policy WORKFLOW_ID_CONFLICT_POLICY_USE_EXISTING is used.Defines actions to be done to the existing running workflow when the conflict policy WORKFLOW_ID_CONFLICT_POLICY_USE_EXISTING is used.com.google.protobuf.Parser<StartWorkflowExecutionRequest> Priority metadataPriority metadatabooleanRequest to get the first workflow task inline in the response bypassing matching service and worker polling.A unique identifier for this start request.com.google.protobuf.ByteStringA unique identifier for this start request.The retry policy for the workflow.The retry policy for the workflow..temporal.api.common.v1.SearchAttributes search_attributes = 15;.temporal.api.common.v1.SearchAttributes search_attributes = 15;int.temporal.api.taskqueue.v1.TaskQueue task_queue = 4;.temporal.api.taskqueue.v1.TaskQueue task_queue = 4;Time-skipping configuration.Time-skipping configuration.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.com.google.protobuf.DurationTotal 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 = 2;com.google.protobuf.ByteStringstring workflow_id = 2;Defines how to resolve a workflow id conflict with a *running* workflow.intDefines how to resolve a workflow id conflict with a *running* workflow.Defines whether to allow re-using the workflow id from a previously *closed* workflow.intDefines whether to allow re-using the workflow id from a previously *closed* workflow.com.google.protobuf.DurationTimeout of a single workflow run.com.google.protobuf.DurationOrBuilderTimeout of a single workflow run.com.google.protobuf.DurationTime to wait before making the first workflow task available for dispatch.com.google.protobuf.DurationOrBuilderTime to wait before making the first workflow task available for dispatch.com.google.protobuf.DurationTimeout of a single workflow task.com.google.protobuf.DurationOrBuilderTimeout of a single workflow task..temporal.api.common.v1.WorkflowType workflow_type = 3;.temporal.api.common.v1.WorkflowType workflow_type = 3;booleanThese values will be available as ContinuedFailure and LastCompletionResult in the WorkflowExecutionStarted event and through SDKs.booleanDeployment Options of the worker who will process the eager task.inthashCode()boolean.temporal.api.common.v1.Header header = 16;booleanhasInput()Serialized arguments to the workflow.boolean.temporal.api.common.v1.Payloads last_completion_result = 19;booleanhasMemo().temporal.api.common.v1.Memo memo = 14;booleanDefines actions to be done to the existing running workflow when the conflict policy WORKFLOW_ID_CONFLICT_POLICY_USE_EXISTING is used.booleanPriority metadatabooleanThe retry policy for the workflow.boolean.temporal.api.common.v1.SearchAttributes search_attributes = 15;boolean.temporal.api.taskqueue.v1.TaskQueue task_queue = 4;booleanTime-skipping configuration.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.booleanTime to wait before making the first workflow task available for dispatch.booleanTimeout of a single workflow task.boolean.temporal.api.common.v1.WorkflowType workflow_type = 3;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(StartWorkflowExecutionRequest prototype) protected StartWorkflowExecutionRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<StartWorkflowExecutionRequest> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAMESPACE_FIELD_NUMBER
public static final int NAMESPACE_FIELD_NUMBER- See Also:
-
WORKFLOW_ID_FIELD_NUMBER
public static final int WORKFLOW_ID_FIELD_NUMBER- See Also:
-
WORKFLOW_TYPE_FIELD_NUMBER
public static final int WORKFLOW_TYPE_FIELD_NUMBER- See Also:
-
TASK_QUEUE_FIELD_NUMBER
public static final int TASK_QUEUE_FIELD_NUMBER- See Also:
-
INPUT_FIELD_NUMBER
public static final int INPUT_FIELD_NUMBER- See Also:
-
WORKFLOW_EXECUTION_TIMEOUT_FIELD_NUMBER
public static final int WORKFLOW_EXECUTION_TIMEOUT_FIELD_NUMBER- See Also:
-
WORKFLOW_RUN_TIMEOUT_FIELD_NUMBER
public static final int WORKFLOW_RUN_TIMEOUT_FIELD_NUMBER- See Also:
-
WORKFLOW_TASK_TIMEOUT_FIELD_NUMBER
public static final int WORKFLOW_TASK_TIMEOUT_FIELD_NUMBER- See Also:
-
IDENTITY_FIELD_NUMBER
public static final int IDENTITY_FIELD_NUMBER- See Also:
-
REQUEST_ID_FIELD_NUMBER
public static final int REQUEST_ID_FIELD_NUMBER- See Also:
-
WORKFLOW_ID_REUSE_POLICY_FIELD_NUMBER
public static final int WORKFLOW_ID_REUSE_POLICY_FIELD_NUMBER- See Also:
-
WORKFLOW_ID_CONFLICT_POLICY_FIELD_NUMBER
public static final int WORKFLOW_ID_CONFLICT_POLICY_FIELD_NUMBER- See Also:
-
RETRY_POLICY_FIELD_NUMBER
public static final int RETRY_POLICY_FIELD_NUMBER- See Also:
-
CRON_SCHEDULE_FIELD_NUMBER
public static final int CRON_SCHEDULE_FIELD_NUMBER- See Also:
-
MEMO_FIELD_NUMBER
public static final int MEMO_FIELD_NUMBER- See Also:
-
SEARCH_ATTRIBUTES_FIELD_NUMBER
public static final int SEARCH_ATTRIBUTES_FIELD_NUMBER- See Also:
-
HEADER_FIELD_NUMBER
public static final int HEADER_FIELD_NUMBER- See Also:
-
REQUEST_EAGER_EXECUTION_FIELD_NUMBER
public static final int REQUEST_EAGER_EXECUTION_FIELD_NUMBER- See Also:
-
CONTINUED_FAILURE_FIELD_NUMBER
public static final int CONTINUED_FAILURE_FIELD_NUMBER- See Also:
-
LAST_COMPLETION_RESULT_FIELD_NUMBER
public static final int LAST_COMPLETION_RESULT_FIELD_NUMBER- See Also:
-
WORKFLOW_START_DELAY_FIELD_NUMBER
public static final int WORKFLOW_START_DELAY_FIELD_NUMBER- See Also:
-
COMPLETION_CALLBACKS_FIELD_NUMBER
public static final int COMPLETION_CALLBACKS_FIELD_NUMBER- See Also:
-
USER_METADATA_FIELD_NUMBER
public static final int USER_METADATA_FIELD_NUMBER- See Also:
-
LINKS_FIELD_NUMBER
public static final int LINKS_FIELD_NUMBER- See Also:
-
VERSIONING_OVERRIDE_FIELD_NUMBER
public static final int VERSIONING_OVERRIDE_FIELD_NUMBER- See Also:
-
ON_CONFLICT_OPTIONS_FIELD_NUMBER
public static final int ON_CONFLICT_OPTIONS_FIELD_NUMBER- See Also:
-
PRIORITY_FIELD_NUMBER
public static final int PRIORITY_FIELD_NUMBER- See Also:
-
EAGER_WORKER_DEPLOYMENT_OPTIONS_FIELD_NUMBER
public static final int EAGER_WORKER_DEPLOYMENT_OPTIONS_FIELD_NUMBER- See Also:
-
TIME_SKIPPING_CONFIG_FIELD_NUMBER
public static final int TIME_SKIPPING_CONFIG_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
getNamespace
string namespace = 1;- Specified by:
getNamespacein interfaceStartWorkflowExecutionRequestOrBuilder- Returns:
- The namespace.
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()string namespace = 1;- Specified by:
getNamespaceBytesin interfaceStartWorkflowExecutionRequestOrBuilder- Returns:
- The bytes for namespace.
-
getWorkflowId
string workflow_id = 2;- Specified by:
getWorkflowIdin interfaceStartWorkflowExecutionRequestOrBuilder- Returns:
- The workflowId.
-
getWorkflowIdBytes
public com.google.protobuf.ByteString getWorkflowIdBytes()string workflow_id = 2;- Specified by:
getWorkflowIdBytesin interfaceStartWorkflowExecutionRequestOrBuilder- Returns:
- The bytes for workflowId.
-
hasWorkflowType
public boolean hasWorkflowType().temporal.api.common.v1.WorkflowType workflow_type = 3;- Specified by:
hasWorkflowTypein interfaceStartWorkflowExecutionRequestOrBuilder- Returns:
- Whether the workflowType field is set.
-
getWorkflowType
.temporal.api.common.v1.WorkflowType workflow_type = 3;- Specified by:
getWorkflowTypein interfaceStartWorkflowExecutionRequestOrBuilder- Returns:
- The workflowType.
-
getWorkflowTypeOrBuilder
.temporal.api.common.v1.WorkflowType workflow_type = 3;- Specified by:
getWorkflowTypeOrBuilderin interfaceStartWorkflowExecutionRequestOrBuilder
-
hasTaskQueue
public boolean hasTaskQueue().temporal.api.taskqueue.v1.TaskQueue task_queue = 4;- Specified by:
hasTaskQueuein interfaceStartWorkflowExecutionRequestOrBuilder- Returns:
- Whether the taskQueue field is set.
-
getTaskQueue
.temporal.api.taskqueue.v1.TaskQueue task_queue = 4;- Specified by:
getTaskQueuein interfaceStartWorkflowExecutionRequestOrBuilder- Returns:
- The taskQueue.
-
getTaskQueueOrBuilder
.temporal.api.taskqueue.v1.TaskQueue task_queue = 4;- Specified by:
getTaskQueueOrBuilderin interfaceStartWorkflowExecutionRequestOrBuilder
-
hasInput
public boolean hasInput()Serialized arguments to the workflow. These are passed as arguments to the workflow function.
.temporal.api.common.v1.Payloads input = 5;- Specified by:
hasInputin interfaceStartWorkflowExecutionRequestOrBuilder- Returns:
- Whether the input field is set.
-
getInput
Serialized arguments to the workflow. These are passed as arguments to the workflow function.
.temporal.api.common.v1.Payloads input = 5;- Specified by:
getInputin interfaceStartWorkflowExecutionRequestOrBuilder- Returns:
- The input.
-
getInputOrBuilder
Serialized arguments to the workflow. These are passed as arguments to the workflow function.
.temporal.api.common.v1.Payloads input = 5;- Specified by:
getInputOrBuilderin interfaceStartWorkflowExecutionRequestOrBuilder
-
hasWorkflowExecutionTimeout
public boolean hasWorkflowExecutionTimeout()Total workflow execution timeout including retries and continue as new.
.google.protobuf.Duration workflow_execution_timeout = 6;- Specified by:
hasWorkflowExecutionTimeoutin interfaceStartWorkflowExecutionRequestOrBuilder- 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 = 6;- Specified by:
getWorkflowExecutionTimeoutin interfaceStartWorkflowExecutionRequestOrBuilder- Returns:
- The workflowExecutionTimeout.
-
getWorkflowExecutionTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getWorkflowExecutionTimeoutOrBuilder()Total workflow execution timeout including retries and continue as new.
.google.protobuf.Duration workflow_execution_timeout = 6;- Specified by:
getWorkflowExecutionTimeoutOrBuilderin interfaceStartWorkflowExecutionRequestOrBuilder
-
hasWorkflowRunTimeout
public boolean hasWorkflowRunTimeout()Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 7;- Specified by:
hasWorkflowRunTimeoutin interfaceStartWorkflowExecutionRequestOrBuilder- 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 = 7;- Specified by:
getWorkflowRunTimeoutin interfaceStartWorkflowExecutionRequestOrBuilder- Returns:
- The workflowRunTimeout.
-
getWorkflowRunTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getWorkflowRunTimeoutOrBuilder()Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 7;- Specified by:
getWorkflowRunTimeoutOrBuilderin interfaceStartWorkflowExecutionRequestOrBuilder
-
hasWorkflowTaskTimeout
public boolean hasWorkflowTaskTimeout()Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 8;- Specified by:
hasWorkflowTaskTimeoutin interfaceStartWorkflowExecutionRequestOrBuilder- 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 = 8;- Specified by:
getWorkflowTaskTimeoutin interfaceStartWorkflowExecutionRequestOrBuilder- Returns:
- The workflowTaskTimeout.
-
getWorkflowTaskTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getWorkflowTaskTimeoutOrBuilder()Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 8;- Specified by:
getWorkflowTaskTimeoutOrBuilderin interfaceStartWorkflowExecutionRequestOrBuilder
-
getIdentity
The identity of the client who initiated this request
string identity = 9;- Specified by:
getIdentityin interfaceStartWorkflowExecutionRequestOrBuilder- Returns:
- The identity.
-
getIdentityBytes
public com.google.protobuf.ByteString getIdentityBytes()The identity of the client who initiated this request
string identity = 9;- Specified by:
getIdentityBytesin interfaceStartWorkflowExecutionRequestOrBuilder- Returns:
- The bytes for identity.
-
getRequestId
A unique identifier for this start request. Typically UUIDv4.
string request_id = 10;- Specified by:
getRequestIdin interfaceStartWorkflowExecutionRequestOrBuilder- Returns:
- The requestId.
-
getRequestIdBytes
public com.google.protobuf.ByteString getRequestIdBytes()A unique identifier for this start request. Typically UUIDv4.
string request_id = 10;- Specified by:
getRequestIdBytesin interfaceStartWorkflowExecutionRequestOrBuilder- Returns:
- The bytes for requestId.
-
getWorkflowIdReusePolicyValue
public int getWorkflowIdReusePolicyValue()Defines whether to allow re-using the workflow id from a previously *closed* workflow. The default policy is WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE. See `workflow_id_conflict_policy` for handling a workflow id duplication with a *running* workflow.
.temporal.api.enums.v1.WorkflowIdReusePolicy workflow_id_reuse_policy = 11;- Specified by:
getWorkflowIdReusePolicyValuein interfaceStartWorkflowExecutionRequestOrBuilder- Returns:
- The enum numeric value on the wire for workflowIdReusePolicy.
-
getWorkflowIdReusePolicy
Defines whether to allow re-using the workflow id from a previously *closed* workflow. The default policy is WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE. See `workflow_id_conflict_policy` for handling a workflow id duplication with a *running* workflow.
.temporal.api.enums.v1.WorkflowIdReusePolicy workflow_id_reuse_policy = 11;- Specified by:
getWorkflowIdReusePolicyin interfaceStartWorkflowExecutionRequestOrBuilder- Returns:
- The workflowIdReusePolicy.
-
getWorkflowIdConflictPolicyValue
public int getWorkflowIdConflictPolicyValue()Defines how to resolve a workflow id conflict with a *running* workflow. The default policy is WORKFLOW_ID_CONFLICT_POLICY_FAIL. See `workflow_id_reuse_policy` for handling a workflow id duplication with a *closed* workflow.
.temporal.api.enums.v1.WorkflowIdConflictPolicy workflow_id_conflict_policy = 22;- Specified by:
getWorkflowIdConflictPolicyValuein interfaceStartWorkflowExecutionRequestOrBuilder- Returns:
- The enum numeric value on the wire for workflowIdConflictPolicy.
-
getWorkflowIdConflictPolicy
Defines how to resolve a workflow id conflict with a *running* workflow. The default policy is WORKFLOW_ID_CONFLICT_POLICY_FAIL. See `workflow_id_reuse_policy` for handling a workflow id duplication with a *closed* workflow.
.temporal.api.enums.v1.WorkflowIdConflictPolicy workflow_id_conflict_policy = 22;- Specified by:
getWorkflowIdConflictPolicyin interfaceStartWorkflowExecutionRequestOrBuilder- Returns:
- The workflowIdConflictPolicy.
-
hasRetryPolicy
public boolean hasRetryPolicy()The retry policy for the workflow. Will never exceed `workflow_execution_timeout`.
.temporal.api.common.v1.RetryPolicy retry_policy = 12;- Specified by:
hasRetryPolicyin interfaceStartWorkflowExecutionRequestOrBuilder- 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 = 12;- Specified by:
getRetryPolicyin interfaceStartWorkflowExecutionRequestOrBuilder- Returns:
- The retryPolicy.
-
getRetryPolicyOrBuilder
The retry policy for the workflow. Will never exceed `workflow_execution_timeout`.
.temporal.api.common.v1.RetryPolicy retry_policy = 12;- Specified by:
getRetryPolicyOrBuilderin interfaceStartWorkflowExecutionRequestOrBuilder
-
getCronSchedule
See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/
string cron_schedule = 13;- Specified by:
getCronSchedulein interfaceStartWorkflowExecutionRequestOrBuilder- 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 = 13;- Specified by:
getCronScheduleBytesin interfaceStartWorkflowExecutionRequestOrBuilder- Returns:
- The bytes for cronSchedule.
-
hasMemo
public boolean hasMemo().temporal.api.common.v1.Memo memo = 14;- Specified by:
hasMemoin interfaceStartWorkflowExecutionRequestOrBuilder- Returns:
- Whether the memo field is set.
-
getMemo
.temporal.api.common.v1.Memo memo = 14;- Specified by:
getMemoin interfaceStartWorkflowExecutionRequestOrBuilder- Returns:
- The memo.
-
getMemoOrBuilder
.temporal.api.common.v1.Memo memo = 14;- Specified by:
getMemoOrBuilderin interfaceStartWorkflowExecutionRequestOrBuilder
-
hasSearchAttributes
public boolean hasSearchAttributes().temporal.api.common.v1.SearchAttributes search_attributes = 15;- Specified by:
hasSearchAttributesin interfaceStartWorkflowExecutionRequestOrBuilder- Returns:
- Whether the searchAttributes field is set.
-
getSearchAttributes
.temporal.api.common.v1.SearchAttributes search_attributes = 15;- Specified by:
getSearchAttributesin interfaceStartWorkflowExecutionRequestOrBuilder- Returns:
- The searchAttributes.
-
getSearchAttributesOrBuilder
.temporal.api.common.v1.SearchAttributes search_attributes = 15;- Specified by:
getSearchAttributesOrBuilderin interfaceStartWorkflowExecutionRequestOrBuilder
-
hasHeader
public boolean hasHeader().temporal.api.common.v1.Header header = 16;- Specified by:
hasHeaderin interfaceStartWorkflowExecutionRequestOrBuilder- Returns:
- Whether the header field is set.
-
getHeader
.temporal.api.common.v1.Header header = 16;- Specified by:
getHeaderin interfaceStartWorkflowExecutionRequestOrBuilder- Returns:
- The header.
-
getHeaderOrBuilder
.temporal.api.common.v1.Header header = 16;- Specified by:
getHeaderOrBuilderin interfaceStartWorkflowExecutionRequestOrBuilder
-
getRequestEagerExecution
public boolean getRequestEagerExecution()Request to get the first workflow task inline in the response bypassing matching service and worker polling. If set to `true` the caller is expected to have a worker available and capable of processing the task. The returned task will be marked as started and is expected to be completed by the specified `workflow_task_timeout`.
bool request_eager_execution = 17;- Specified by:
getRequestEagerExecutionin interfaceStartWorkflowExecutionRequestOrBuilder- Returns:
- The requestEagerExecution.
-
hasContinuedFailure
public boolean hasContinuedFailure()These values will be available as ContinuedFailure and LastCompletionResult in the WorkflowExecutionStarted event and through SDKs. The are currently only used by the server itself (for the schedules feature) and are not intended to be exposed in StartWorkflowExecution.
.temporal.api.failure.v1.Failure continued_failure = 18;- Specified by:
hasContinuedFailurein interfaceStartWorkflowExecutionRequestOrBuilder- Returns:
- Whether the continuedFailure field is set.
-
getContinuedFailure
These values will be available as ContinuedFailure and LastCompletionResult in the WorkflowExecutionStarted event and through SDKs. The are currently only used by the server itself (for the schedules feature) and are not intended to be exposed in StartWorkflowExecution.
.temporal.api.failure.v1.Failure continued_failure = 18;- Specified by:
getContinuedFailurein interfaceStartWorkflowExecutionRequestOrBuilder- Returns:
- The continuedFailure.
-
getContinuedFailureOrBuilder
These values will be available as ContinuedFailure and LastCompletionResult in the WorkflowExecutionStarted event and through SDKs. The are currently only used by the server itself (for the schedules feature) and are not intended to be exposed in StartWorkflowExecution.
.temporal.api.failure.v1.Failure continued_failure = 18;- Specified by:
getContinuedFailureOrBuilderin interfaceStartWorkflowExecutionRequestOrBuilder
-
hasLastCompletionResult
public boolean hasLastCompletionResult().temporal.api.common.v1.Payloads last_completion_result = 19;- Specified by:
hasLastCompletionResultin interfaceStartWorkflowExecutionRequestOrBuilder- Returns:
- Whether the lastCompletionResult field is set.
-
getLastCompletionResult
.temporal.api.common.v1.Payloads last_completion_result = 19;- Specified by:
getLastCompletionResultin interfaceStartWorkflowExecutionRequestOrBuilder- Returns:
- The lastCompletionResult.
-
getLastCompletionResultOrBuilder
.temporal.api.common.v1.Payloads last_completion_result = 19;- Specified by:
getLastCompletionResultOrBuilderin interfaceStartWorkflowExecutionRequestOrBuilder
-
hasWorkflowStartDelay
public boolean hasWorkflowStartDelay()Time to wait before making the first workflow task available for dispatch. Cannot be used with `cron_schedule`. If the workflow gets a signal before the delay, a workflow task will be made available for dispatch and the rest of the delay will be ignored.
.google.protobuf.Duration workflow_start_delay = 20;- Specified by:
hasWorkflowStartDelayin interfaceStartWorkflowExecutionRequestOrBuilder- Returns:
- Whether the workflowStartDelay field is set.
-
getWorkflowStartDelay
public com.google.protobuf.Duration getWorkflowStartDelay()Time to wait before making the first workflow task available for dispatch. Cannot be used with `cron_schedule`. If the workflow gets a signal before the delay, a workflow task will be made available for dispatch and the rest of the delay will be ignored.
.google.protobuf.Duration workflow_start_delay = 20;- Specified by:
getWorkflowStartDelayin interfaceStartWorkflowExecutionRequestOrBuilder- Returns:
- The workflowStartDelay.
-
getWorkflowStartDelayOrBuilder
public com.google.protobuf.DurationOrBuilder getWorkflowStartDelayOrBuilder()Time to wait before making the first workflow task available for dispatch. Cannot be used with `cron_schedule`. If the workflow gets a signal before the delay, a workflow task will be made available for dispatch and the rest of the delay will be ignored.
.google.protobuf.Duration workflow_start_delay = 20;- Specified by:
getWorkflowStartDelayOrBuilderin interfaceStartWorkflowExecutionRequestOrBuilder
-
getCompletionCallbacksList
Callbacks to be called by the server when this workflow reaches a terminal state. If the workflow continues-as-new, these callbacks will be carried over to the new execution. Callback addresses must be whitelisted in the server's dynamic configuration.
repeated .temporal.api.common.v1.Callback completion_callbacks = 21;- Specified by:
getCompletionCallbacksListin interfaceStartWorkflowExecutionRequestOrBuilder
-
getCompletionCallbacksOrBuilderList
Callbacks to be called by the server when this workflow reaches a terminal state. If the workflow continues-as-new, these callbacks will be carried over to the new execution. Callback addresses must be whitelisted in the server's dynamic configuration.
repeated .temporal.api.common.v1.Callback completion_callbacks = 21;- Specified by:
getCompletionCallbacksOrBuilderListin interfaceStartWorkflowExecutionRequestOrBuilder
-
getCompletionCallbacksCount
public int getCompletionCallbacksCount()Callbacks to be called by the server when this workflow reaches a terminal state. If the workflow continues-as-new, these callbacks will be carried over to the new execution. Callback addresses must be whitelisted in the server's dynamic configuration.
repeated .temporal.api.common.v1.Callback completion_callbacks = 21;- Specified by:
getCompletionCallbacksCountin interfaceStartWorkflowExecutionRequestOrBuilder
-
getCompletionCallbacks
Callbacks to be called by the server when this workflow reaches a terminal state. If the workflow continues-as-new, these callbacks will be carried over to the new execution. Callback addresses must be whitelisted in the server's dynamic configuration.
repeated .temporal.api.common.v1.Callback completion_callbacks = 21;- Specified by:
getCompletionCallbacksin interfaceStartWorkflowExecutionRequestOrBuilder
-
getCompletionCallbacksOrBuilder
Callbacks to be called by the server when this workflow reaches a terminal state. If the workflow continues-as-new, these callbacks will be carried over to the new execution. Callback addresses must be whitelisted in the server's dynamic configuration.
repeated .temporal.api.common.v1.Callback completion_callbacks = 21;- Specified by:
getCompletionCallbacksOrBuilderin interfaceStartWorkflowExecutionRequestOrBuilder
-
hasUserMetadata
public boolean hasUserMetadata()Metadata on the workflow if it is started. This is carried over to the WorkflowExecutionInfo 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 = 23;- Specified by:
hasUserMetadatain interfaceStartWorkflowExecutionRequestOrBuilder- Returns:
- Whether the userMetadata field is set.
-
getUserMetadata
Metadata on the workflow if it is started. This is carried over to the WorkflowExecutionInfo 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 = 23;- Specified by:
getUserMetadatain interfaceStartWorkflowExecutionRequestOrBuilder- Returns:
- The userMetadata.
-
getUserMetadataOrBuilder
Metadata on the workflow if it is started. This is carried over to the WorkflowExecutionInfo 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 = 23;- Specified by:
getUserMetadataOrBuilderin interfaceStartWorkflowExecutionRequestOrBuilder
-
getLinksList
Links to be associated with the workflow.
repeated .temporal.api.common.v1.Link links = 24;- Specified by:
getLinksListin interfaceStartWorkflowExecutionRequestOrBuilder
-
getLinksOrBuilderList
Links to be associated with the workflow.
repeated .temporal.api.common.v1.Link links = 24;- Specified by:
getLinksOrBuilderListin interfaceStartWorkflowExecutionRequestOrBuilder
-
getLinksCount
public int getLinksCount()Links to be associated with the workflow.
repeated .temporal.api.common.v1.Link links = 24;- Specified by:
getLinksCountin interfaceStartWorkflowExecutionRequestOrBuilder
-
getLinks
Links to be associated with the workflow.
repeated .temporal.api.common.v1.Link links = 24;- Specified by:
getLinksin interfaceStartWorkflowExecutionRequestOrBuilder
-
getLinksOrBuilder
Links to be associated with the workflow.
repeated .temporal.api.common.v1.Link links = 24;- Specified by:
getLinksOrBuilderin interfaceStartWorkflowExecutionRequestOrBuilder
-
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 = 25;- Specified by:
hasVersioningOverridein interfaceStartWorkflowExecutionRequestOrBuilder- 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 = 25;- Specified by:
getVersioningOverridein interfaceStartWorkflowExecutionRequestOrBuilder- Returns:
- The versioningOverride.
-
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 = 25;- Specified by:
getVersioningOverrideOrBuilderin interfaceStartWorkflowExecutionRequestOrBuilder
-
hasOnConflictOptions
public boolean hasOnConflictOptions()Defines actions to be done to the existing running workflow when the conflict policy WORKFLOW_ID_CONFLICT_POLICY_USE_EXISTING is used. If not set (ie., nil value) or set to a empty object (ie., all options with default value), it won't do anything to the existing running workflow. If set, it will add a history event to the running workflow.
.temporal.api.workflow.v1.OnConflictOptions on_conflict_options = 26;- Specified by:
hasOnConflictOptionsin interfaceStartWorkflowExecutionRequestOrBuilder- Returns:
- Whether the onConflictOptions field is set.
-
getOnConflictOptions
Defines actions to be done to the existing running workflow when the conflict policy WORKFLOW_ID_CONFLICT_POLICY_USE_EXISTING is used. If not set (ie., nil value) or set to a empty object (ie., all options with default value), it won't do anything to the existing running workflow. If set, it will add a history event to the running workflow.
.temporal.api.workflow.v1.OnConflictOptions on_conflict_options = 26;- Specified by:
getOnConflictOptionsin interfaceStartWorkflowExecutionRequestOrBuilder- Returns:
- The onConflictOptions.
-
getOnConflictOptionsOrBuilder
Defines actions to be done to the existing running workflow when the conflict policy WORKFLOW_ID_CONFLICT_POLICY_USE_EXISTING is used. If not set (ie., nil value) or set to a empty object (ie., all options with default value), it won't do anything to the existing running workflow. If set, it will add a history event to the running workflow.
.temporal.api.workflow.v1.OnConflictOptions on_conflict_options = 26;- Specified by:
getOnConflictOptionsOrBuilderin interfaceStartWorkflowExecutionRequestOrBuilder
-
hasPriority
public boolean hasPriority()Priority metadata
.temporal.api.common.v1.Priority priority = 27;- Specified by:
hasPriorityin interfaceStartWorkflowExecutionRequestOrBuilder- Returns:
- Whether the priority field is set.
-
getPriority
Priority metadata
.temporal.api.common.v1.Priority priority = 27;- Specified by:
getPriorityin interfaceStartWorkflowExecutionRequestOrBuilder- Returns:
- The priority.
-
getPriorityOrBuilder
Priority metadata
.temporal.api.common.v1.Priority priority = 27;- Specified by:
getPriorityOrBuilderin interfaceStartWorkflowExecutionRequestOrBuilder
-
hasEagerWorkerDeploymentOptions
public boolean hasEagerWorkerDeploymentOptions()Deployment Options of the worker who will process the eager task. Passed when `request_eager_execution=true`.
.temporal.api.deployment.v1.WorkerDeploymentOptions eager_worker_deployment_options = 28;- Specified by:
hasEagerWorkerDeploymentOptionsin interfaceStartWorkflowExecutionRequestOrBuilder- Returns:
- Whether the eagerWorkerDeploymentOptions field is set.
-
getEagerWorkerDeploymentOptions
Deployment Options of the worker who will process the eager task. Passed when `request_eager_execution=true`.
.temporal.api.deployment.v1.WorkerDeploymentOptions eager_worker_deployment_options = 28;- Specified by:
getEagerWorkerDeploymentOptionsin interfaceStartWorkflowExecutionRequestOrBuilder- Returns:
- The eagerWorkerDeploymentOptions.
-
getEagerWorkerDeploymentOptionsOrBuilder
Deployment Options of the worker who will process the eager task. Passed when `request_eager_execution=true`.
.temporal.api.deployment.v1.WorkerDeploymentOptions eager_worker_deployment_options = 28;- Specified by:
getEagerWorkerDeploymentOptionsOrBuilderin interfaceStartWorkflowExecutionRequestOrBuilder
-
hasTimeSkippingConfig
public boolean hasTimeSkippingConfig()Time-skipping configuration. If not set, time skipping is disabled.
.temporal.api.common.v1.TimeSkippingConfig time_skipping_config = 29;- Specified by:
hasTimeSkippingConfigin interfaceStartWorkflowExecutionRequestOrBuilder- Returns:
- Whether the timeSkippingConfig field is set.
-
getTimeSkippingConfig
Time-skipping configuration. If not set, time skipping is disabled.
.temporal.api.common.v1.TimeSkippingConfig time_skipping_config = 29;- Specified by:
getTimeSkippingConfigin interfaceStartWorkflowExecutionRequestOrBuilder- Returns:
- The timeSkippingConfig.
-
getTimeSkippingConfigOrBuilder
Time-skipping configuration. If not set, time skipping is disabled.
.temporal.api.common.v1.TimeSkippingConfig time_skipping_config = 29;- Specified by:
getTimeSkippingConfigOrBuilderin interfaceStartWorkflowExecutionRequestOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static StartWorkflowExecutionRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StartWorkflowExecutionRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StartWorkflowExecutionRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StartWorkflowExecutionRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StartWorkflowExecutionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StartWorkflowExecutionRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static StartWorkflowExecutionRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static StartWorkflowExecutionRequest parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static StartWorkflowExecutionRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static StartWorkflowExecutionRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static StartWorkflowExecutionRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static StartWorkflowExecutionRequest.Builder newBuilder(StartWorkflowExecutionRequest prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected StartWorkflowExecutionRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-