Class StartWorkflowExecutionRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<StartWorkflowExecutionRequest.Builder>
-
- io.temporal.api.workflowservice.v1.StartWorkflowExecutionRequest.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,StartWorkflowExecutionRequestOrBuilder
,java.lang.Cloneable
- Enclosing class:
- StartWorkflowExecutionRequest
public static final class StartWorkflowExecutionRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<StartWorkflowExecutionRequest.Builder> implements StartWorkflowExecutionRequestOrBuilder
Protobuf typetemporal.api.workflowservice.v1.StartWorkflowExecutionRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StartWorkflowExecutionRequest.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
StartWorkflowExecutionRequest
build()
StartWorkflowExecutionRequest
buildPartial()
StartWorkflowExecutionRequest.Builder
clear()
StartWorkflowExecutionRequest.Builder
clearContinuedFailure()
These values will be available as ContinuedFailure and LastCompletionResult in the WorkflowExecutionStarted event and through SDKs.StartWorkflowExecutionRequest.Builder
clearCronSchedule()
See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/StartWorkflowExecutionRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
StartWorkflowExecutionRequest.Builder
clearHeader()
.temporal.api.common.v1.Header header = 16;
StartWorkflowExecutionRequest.Builder
clearIdentity()
The identity of the client who initiated this requestStartWorkflowExecutionRequest.Builder
clearInput()
Serialized arguments to the workflow.StartWorkflowExecutionRequest.Builder
clearLastCompletionResult()
.temporal.api.common.v1.Payloads last_completion_result = 19;
StartWorkflowExecutionRequest.Builder
clearMemo()
.temporal.api.common.v1.Memo memo = 14;
StartWorkflowExecutionRequest.Builder
clearNamespace()
string namespace = 1;
StartWorkflowExecutionRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
StartWorkflowExecutionRequest.Builder
clearRequestEagerExecution()
Request to get the first workflow task inline in the response bypassing matching service and worker polling.StartWorkflowExecutionRequest.Builder
clearRequestId()
A unique identifier for this start request.StartWorkflowExecutionRequest.Builder
clearRetryPolicy()
The retry policy for the workflow.StartWorkflowExecutionRequest.Builder
clearSearchAttributes()
.temporal.api.common.v1.SearchAttributes search_attributes = 15;
StartWorkflowExecutionRequest.Builder
clearTaskQueue()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
StartWorkflowExecutionRequest.Builder
clearWorkflowExecutionTimeout()
Total workflow execution timeout including retries and continue as new.StartWorkflowExecutionRequest.Builder
clearWorkflowId()
string workflow_id = 2;
StartWorkflowExecutionRequest.Builder
clearWorkflowIdReusePolicy()
Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.StartWorkflowExecutionRequest.Builder
clearWorkflowRunTimeout()
Timeout of a single workflow run.StartWorkflowExecutionRequest.Builder
clearWorkflowStartDelay()
Time to wait before dispatching the first workflow task.StartWorkflowExecutionRequest.Builder
clearWorkflowTaskTimeout()
Timeout of a single workflow task.StartWorkflowExecutionRequest.Builder
clearWorkflowType()
.temporal.api.common.v1.WorkflowType workflow_type = 3;
StartWorkflowExecutionRequest.Builder
clone()
Failure
getContinuedFailure()
These values will be available as ContinuedFailure and LastCompletionResult in the WorkflowExecutionStarted event and through SDKs.Failure.Builder
getContinuedFailureBuilder()
These values will be available as ContinuedFailure and LastCompletionResult in the WorkflowExecutionStarted event and through SDKs.FailureOrBuilder
getContinuedFailureOrBuilder()
These values will be available as ContinuedFailure and LastCompletionResult in the WorkflowExecutionStarted event and through SDKs.java.lang.String
getCronSchedule()
See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/com.google.protobuf.ByteString
getCronScheduleBytes()
See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/StartWorkflowExecutionRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Header
getHeader()
.temporal.api.common.v1.Header header = 16;
Header.Builder
getHeaderBuilder()
.temporal.api.common.v1.Header header = 16;
HeaderOrBuilder
getHeaderOrBuilder()
.temporal.api.common.v1.Header header = 16;
java.lang.String
getIdentity()
The identity of the client who initiated this requestcom.google.protobuf.ByteString
getIdentityBytes()
The identity of the client who initiated this requestPayloads
getInput()
Serialized arguments to the workflow.Payloads.Builder
getInputBuilder()
Serialized arguments to the workflow.PayloadsOrBuilder
getInputOrBuilder()
Serialized arguments to the workflow.Payloads
getLastCompletionResult()
.temporal.api.common.v1.Payloads last_completion_result = 19;
Payloads.Builder
getLastCompletionResultBuilder()
.temporal.api.common.v1.Payloads last_completion_result = 19;
PayloadsOrBuilder
getLastCompletionResultOrBuilder()
.temporal.api.common.v1.Payloads last_completion_result = 19;
Memo
getMemo()
.temporal.api.common.v1.Memo memo = 14;
Memo.Builder
getMemoBuilder()
.temporal.api.common.v1.Memo memo = 14;
MemoOrBuilder
getMemoOrBuilder()
.temporal.api.common.v1.Memo memo = 14;
java.lang.String
getNamespace()
string namespace = 1;
com.google.protobuf.ByteString
getNamespaceBytes()
string namespace = 1;
boolean
getRequestEagerExecution()
Request to get the first workflow task inline in the response bypassing matching service and worker polling.java.lang.String
getRequestId()
A unique identifier for this start request.com.google.protobuf.ByteString
getRequestIdBytes()
A unique identifier for this start request.RetryPolicy
getRetryPolicy()
The retry policy for the workflow.RetryPolicy.Builder
getRetryPolicyBuilder()
The retry policy for the workflow.RetryPolicyOrBuilder
getRetryPolicyOrBuilder()
The retry policy for the workflow.SearchAttributes
getSearchAttributes()
.temporal.api.common.v1.SearchAttributes search_attributes = 15;
SearchAttributes.Builder
getSearchAttributesBuilder()
.temporal.api.common.v1.SearchAttributes search_attributes = 15;
SearchAttributesOrBuilder
getSearchAttributesOrBuilder()
.temporal.api.common.v1.SearchAttributes search_attributes = 15;
TaskQueue
getTaskQueue()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
TaskQueue.Builder
getTaskQueueBuilder()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
TaskQueueOrBuilder
getTaskQueueOrBuilder()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
com.google.protobuf.Duration
getWorkflowExecutionTimeout()
Total workflow execution timeout including retries and continue as new.com.google.protobuf.Duration.Builder
getWorkflowExecutionTimeoutBuilder()
Total workflow execution timeout including retries and continue as new.com.google.protobuf.DurationOrBuilder
getWorkflowExecutionTimeoutOrBuilder()
Total workflow execution timeout including retries and continue as new.java.lang.String
getWorkflowId()
string workflow_id = 2;
com.google.protobuf.ByteString
getWorkflowIdBytes()
string workflow_id = 2;
WorkflowIdReusePolicy
getWorkflowIdReusePolicy()
Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.int
getWorkflowIdReusePolicyValue()
Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.com.google.protobuf.Duration
getWorkflowRunTimeout()
Timeout of a single workflow run.com.google.protobuf.Duration.Builder
getWorkflowRunTimeoutBuilder()
Timeout of a single workflow run.com.google.protobuf.DurationOrBuilder
getWorkflowRunTimeoutOrBuilder()
Timeout of a single workflow run.com.google.protobuf.Duration
getWorkflowStartDelay()
Time to wait before dispatching the first workflow task.com.google.protobuf.Duration.Builder
getWorkflowStartDelayBuilder()
Time to wait before dispatching the first workflow task.com.google.protobuf.DurationOrBuilder
getWorkflowStartDelayOrBuilder()
Time to wait before dispatching the first workflow task.com.google.protobuf.Duration
getWorkflowTaskTimeout()
Timeout of a single workflow task.com.google.protobuf.Duration.Builder
getWorkflowTaskTimeoutBuilder()
Timeout of a single workflow task.com.google.protobuf.DurationOrBuilder
getWorkflowTaskTimeoutOrBuilder()
Timeout of a single workflow task.WorkflowType
getWorkflowType()
.temporal.api.common.v1.WorkflowType workflow_type = 3;
WorkflowType.Builder
getWorkflowTypeBuilder()
.temporal.api.common.v1.WorkflowType workflow_type = 3;
WorkflowTypeOrBuilder
getWorkflowTypeOrBuilder()
.temporal.api.common.v1.WorkflowType workflow_type = 3;
boolean
hasContinuedFailure()
These values will be available as ContinuedFailure and LastCompletionResult in the WorkflowExecutionStarted event and through SDKs.boolean
hasHeader()
.temporal.api.common.v1.Header header = 16;
boolean
hasInput()
Serialized arguments to the workflow.boolean
hasLastCompletionResult()
.temporal.api.common.v1.Payloads last_completion_result = 19;
boolean
hasMemo()
.temporal.api.common.v1.Memo memo = 14;
boolean
hasRetryPolicy()
The retry policy for the workflow.boolean
hasSearchAttributes()
.temporal.api.common.v1.SearchAttributes search_attributes = 15;
boolean
hasTaskQueue()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
boolean
hasWorkflowExecutionTimeout()
Total workflow execution timeout including retries and continue as new.boolean
hasWorkflowRunTimeout()
Timeout of a single workflow run.boolean
hasWorkflowStartDelay()
Time to wait before dispatching the first workflow task.boolean
hasWorkflowTaskTimeout()
Timeout of a single workflow task.boolean
hasWorkflowType()
.temporal.api.common.v1.WorkflowType workflow_type = 3;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
StartWorkflowExecutionRequest.Builder
mergeContinuedFailure(Failure value)
These values will be available as ContinuedFailure and LastCompletionResult in the WorkflowExecutionStarted event and through SDKs.StartWorkflowExecutionRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
StartWorkflowExecutionRequest.Builder
mergeFrom(com.google.protobuf.Message other)
StartWorkflowExecutionRequest.Builder
mergeFrom(StartWorkflowExecutionRequest other)
StartWorkflowExecutionRequest.Builder
mergeHeader(Header value)
.temporal.api.common.v1.Header header = 16;
StartWorkflowExecutionRequest.Builder
mergeInput(Payloads value)
Serialized arguments to the workflow.StartWorkflowExecutionRequest.Builder
mergeLastCompletionResult(Payloads value)
.temporal.api.common.v1.Payloads last_completion_result = 19;
StartWorkflowExecutionRequest.Builder
mergeMemo(Memo value)
.temporal.api.common.v1.Memo memo = 14;
StartWorkflowExecutionRequest.Builder
mergeRetryPolicy(RetryPolicy value)
The retry policy for the workflow.StartWorkflowExecutionRequest.Builder
mergeSearchAttributes(SearchAttributes value)
.temporal.api.common.v1.SearchAttributes search_attributes = 15;
StartWorkflowExecutionRequest.Builder
mergeTaskQueue(TaskQueue value)
.temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
StartWorkflowExecutionRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
StartWorkflowExecutionRequest.Builder
mergeWorkflowExecutionTimeout(com.google.protobuf.Duration value)
Total workflow execution timeout including retries and continue as new.StartWorkflowExecutionRequest.Builder
mergeWorkflowRunTimeout(com.google.protobuf.Duration value)
Timeout of a single workflow run.StartWorkflowExecutionRequest.Builder
mergeWorkflowStartDelay(com.google.protobuf.Duration value)
Time to wait before dispatching the first workflow task.StartWorkflowExecutionRequest.Builder
mergeWorkflowTaskTimeout(com.google.protobuf.Duration value)
Timeout of a single workflow task.StartWorkflowExecutionRequest.Builder
mergeWorkflowType(WorkflowType value)
.temporal.api.common.v1.WorkflowType workflow_type = 3;
StartWorkflowExecutionRequest.Builder
setContinuedFailure(Failure value)
These values will be available as ContinuedFailure and LastCompletionResult in the WorkflowExecutionStarted event and through SDKs.StartWorkflowExecutionRequest.Builder
setContinuedFailure(Failure.Builder builderForValue)
These values will be available as ContinuedFailure and LastCompletionResult in the WorkflowExecutionStarted event and through SDKs.StartWorkflowExecutionRequest.Builder
setCronSchedule(java.lang.String value)
See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/StartWorkflowExecutionRequest.Builder
setCronScheduleBytes(com.google.protobuf.ByteString value)
See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/StartWorkflowExecutionRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
StartWorkflowExecutionRequest.Builder
setHeader(Header value)
.temporal.api.common.v1.Header header = 16;
StartWorkflowExecutionRequest.Builder
setHeader(Header.Builder builderForValue)
.temporal.api.common.v1.Header header = 16;
StartWorkflowExecutionRequest.Builder
setIdentity(java.lang.String value)
The identity of the client who initiated this requestStartWorkflowExecutionRequest.Builder
setIdentityBytes(com.google.protobuf.ByteString value)
The identity of the client who initiated this requestStartWorkflowExecutionRequest.Builder
setInput(Payloads value)
Serialized arguments to the workflow.StartWorkflowExecutionRequest.Builder
setInput(Payloads.Builder builderForValue)
Serialized arguments to the workflow.StartWorkflowExecutionRequest.Builder
setLastCompletionResult(Payloads value)
.temporal.api.common.v1.Payloads last_completion_result = 19;
StartWorkflowExecutionRequest.Builder
setLastCompletionResult(Payloads.Builder builderForValue)
.temporal.api.common.v1.Payloads last_completion_result = 19;
StartWorkflowExecutionRequest.Builder
setMemo(Memo value)
.temporal.api.common.v1.Memo memo = 14;
StartWorkflowExecutionRequest.Builder
setMemo(Memo.Builder builderForValue)
.temporal.api.common.v1.Memo memo = 14;
StartWorkflowExecutionRequest.Builder
setNamespace(java.lang.String value)
string namespace = 1;
StartWorkflowExecutionRequest.Builder
setNamespaceBytes(com.google.protobuf.ByteString value)
string namespace = 1;
StartWorkflowExecutionRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
StartWorkflowExecutionRequest.Builder
setRequestEagerExecution(boolean value)
Request to get the first workflow task inline in the response bypassing matching service and worker polling.StartWorkflowExecutionRequest.Builder
setRequestId(java.lang.String value)
A unique identifier for this start request.StartWorkflowExecutionRequest.Builder
setRequestIdBytes(com.google.protobuf.ByteString value)
A unique identifier for this start request.StartWorkflowExecutionRequest.Builder
setRetryPolicy(RetryPolicy value)
The retry policy for the workflow.StartWorkflowExecutionRequest.Builder
setRetryPolicy(RetryPolicy.Builder builderForValue)
The retry policy for the workflow.StartWorkflowExecutionRequest.Builder
setSearchAttributes(SearchAttributes value)
.temporal.api.common.v1.SearchAttributes search_attributes = 15;
StartWorkflowExecutionRequest.Builder
setSearchAttributes(SearchAttributes.Builder builderForValue)
.temporal.api.common.v1.SearchAttributes search_attributes = 15;
StartWorkflowExecutionRequest.Builder
setTaskQueue(TaskQueue value)
.temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
StartWorkflowExecutionRequest.Builder
setTaskQueue(TaskQueue.Builder builderForValue)
.temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
StartWorkflowExecutionRequest.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
StartWorkflowExecutionRequest.Builder
setWorkflowExecutionTimeout(com.google.protobuf.Duration value)
Total workflow execution timeout including retries and continue as new.StartWorkflowExecutionRequest.Builder
setWorkflowExecutionTimeout(com.google.protobuf.Duration.Builder builderForValue)
Total workflow execution timeout including retries and continue as new.StartWorkflowExecutionRequest.Builder
setWorkflowId(java.lang.String value)
string workflow_id = 2;
StartWorkflowExecutionRequest.Builder
setWorkflowIdBytes(com.google.protobuf.ByteString value)
string workflow_id = 2;
StartWorkflowExecutionRequest.Builder
setWorkflowIdReusePolicy(WorkflowIdReusePolicy value)
Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.StartWorkflowExecutionRequest.Builder
setWorkflowIdReusePolicyValue(int value)
Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.StartWorkflowExecutionRequest.Builder
setWorkflowRunTimeout(com.google.protobuf.Duration value)
Timeout of a single workflow run.StartWorkflowExecutionRequest.Builder
setWorkflowRunTimeout(com.google.protobuf.Duration.Builder builderForValue)
Timeout of a single workflow run.StartWorkflowExecutionRequest.Builder
setWorkflowStartDelay(com.google.protobuf.Duration value)
Time to wait before dispatching the first workflow task.StartWorkflowExecutionRequest.Builder
setWorkflowStartDelay(com.google.protobuf.Duration.Builder builderForValue)
Time to wait before dispatching the first workflow task.StartWorkflowExecutionRequest.Builder
setWorkflowTaskTimeout(com.google.protobuf.Duration value)
Timeout of a single workflow task.StartWorkflowExecutionRequest.Builder
setWorkflowTaskTimeout(com.google.protobuf.Duration.Builder builderForValue)
Timeout of a single workflow task.StartWorkflowExecutionRequest.Builder
setWorkflowType(WorkflowType value)
.temporal.api.common.v1.WorkflowType workflow_type = 3;
StartWorkflowExecutionRequest.Builder
setWorkflowType(WorkflowType.Builder builderForValue)
.temporal.api.common.v1.WorkflowType workflow_type = 3;
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<StartWorkflowExecutionRequest.Builder>
-
clear
public StartWorkflowExecutionRequest.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<StartWorkflowExecutionRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<StartWorkflowExecutionRequest.Builder>
-
getDefaultInstanceForType
public StartWorkflowExecutionRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public StartWorkflowExecutionRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public StartWorkflowExecutionRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public StartWorkflowExecutionRequest.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<StartWorkflowExecutionRequest.Builder>
-
setField
public StartWorkflowExecutionRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StartWorkflowExecutionRequest.Builder>
-
clearField
public StartWorkflowExecutionRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StartWorkflowExecutionRequest.Builder>
-
clearOneof
public StartWorkflowExecutionRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<StartWorkflowExecutionRequest.Builder>
-
setRepeatedField
public StartWorkflowExecutionRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StartWorkflowExecutionRequest.Builder>
-
addRepeatedField
public StartWorkflowExecutionRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StartWorkflowExecutionRequest.Builder>
-
mergeFrom
public StartWorkflowExecutionRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<StartWorkflowExecutionRequest.Builder>
-
mergeFrom
public StartWorkflowExecutionRequest.Builder mergeFrom(StartWorkflowExecutionRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<StartWorkflowExecutionRequest.Builder>
-
mergeFrom
public StartWorkflowExecutionRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<StartWorkflowExecutionRequest.Builder>
- Throws:
java.io.IOException
-
getNamespace
public java.lang.String getNamespace()
string namespace = 1;
- Specified by:
getNamespace
in interfaceStartWorkflowExecutionRequestOrBuilder
- Returns:
- The namespace.
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()
string namespace = 1;
- Specified by:
getNamespaceBytes
in interfaceStartWorkflowExecutionRequestOrBuilder
- Returns:
- The bytes for namespace.
-
setNamespace
public StartWorkflowExecutionRequest.Builder setNamespace(java.lang.String value)
string namespace = 1;
- Parameters:
value
- The namespace to set.- Returns:
- This builder for chaining.
-
clearNamespace
public StartWorkflowExecutionRequest.Builder clearNamespace()
string namespace = 1;
- Returns:
- This builder for chaining.
-
setNamespaceBytes
public StartWorkflowExecutionRequest.Builder setNamespaceBytes(com.google.protobuf.ByteString value)
string namespace = 1;
- Parameters:
value
- The bytes for namespace to set.- Returns:
- This builder for chaining.
-
getWorkflowId
public java.lang.String getWorkflowId()
string workflow_id = 2;
- Specified by:
getWorkflowId
in interfaceStartWorkflowExecutionRequestOrBuilder
- Returns:
- The workflowId.
-
getWorkflowIdBytes
public com.google.protobuf.ByteString getWorkflowIdBytes()
string workflow_id = 2;
- Specified by:
getWorkflowIdBytes
in interfaceStartWorkflowExecutionRequestOrBuilder
- Returns:
- The bytes for workflowId.
-
setWorkflowId
public StartWorkflowExecutionRequest.Builder setWorkflowId(java.lang.String value)
string workflow_id = 2;
- Parameters:
value
- The workflowId to set.- Returns:
- This builder for chaining.
-
clearWorkflowId
public StartWorkflowExecutionRequest.Builder clearWorkflowId()
string workflow_id = 2;
- Returns:
- This builder for chaining.
-
setWorkflowIdBytes
public StartWorkflowExecutionRequest.Builder setWorkflowIdBytes(com.google.protobuf.ByteString value)
string workflow_id = 2;
- Parameters:
value
- The bytes for workflowId to set.- Returns:
- This builder for chaining.
-
hasWorkflowType
public boolean hasWorkflowType()
.temporal.api.common.v1.WorkflowType workflow_type = 3;
- Specified by:
hasWorkflowType
in interfaceStartWorkflowExecutionRequestOrBuilder
- Returns:
- Whether the workflowType field is set.
-
getWorkflowType
public WorkflowType getWorkflowType()
.temporal.api.common.v1.WorkflowType workflow_type = 3;
- Specified by:
getWorkflowType
in interfaceStartWorkflowExecutionRequestOrBuilder
- Returns:
- The workflowType.
-
setWorkflowType
public StartWorkflowExecutionRequest.Builder setWorkflowType(WorkflowType value)
.temporal.api.common.v1.WorkflowType workflow_type = 3;
-
setWorkflowType
public StartWorkflowExecutionRequest.Builder setWorkflowType(WorkflowType.Builder builderForValue)
.temporal.api.common.v1.WorkflowType workflow_type = 3;
-
mergeWorkflowType
public StartWorkflowExecutionRequest.Builder mergeWorkflowType(WorkflowType value)
.temporal.api.common.v1.WorkflowType workflow_type = 3;
-
clearWorkflowType
public StartWorkflowExecutionRequest.Builder clearWorkflowType()
.temporal.api.common.v1.WorkflowType workflow_type = 3;
-
getWorkflowTypeBuilder
public WorkflowType.Builder getWorkflowTypeBuilder()
.temporal.api.common.v1.WorkflowType workflow_type = 3;
-
getWorkflowTypeOrBuilder
public WorkflowTypeOrBuilder getWorkflowTypeOrBuilder()
.temporal.api.common.v1.WorkflowType workflow_type = 3;
- Specified by:
getWorkflowTypeOrBuilder
in interfaceStartWorkflowExecutionRequestOrBuilder
-
hasTaskQueue
public boolean hasTaskQueue()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
- Specified by:
hasTaskQueue
in interfaceStartWorkflowExecutionRequestOrBuilder
- Returns:
- Whether the taskQueue field is set.
-
getTaskQueue
public TaskQueue getTaskQueue()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
- Specified by:
getTaskQueue
in interfaceStartWorkflowExecutionRequestOrBuilder
- Returns:
- The taskQueue.
-
setTaskQueue
public StartWorkflowExecutionRequest.Builder setTaskQueue(TaskQueue value)
.temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
-
setTaskQueue
public StartWorkflowExecutionRequest.Builder setTaskQueue(TaskQueue.Builder builderForValue)
.temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
-
mergeTaskQueue
public StartWorkflowExecutionRequest.Builder mergeTaskQueue(TaskQueue value)
.temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
-
clearTaskQueue
public StartWorkflowExecutionRequest.Builder clearTaskQueue()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
-
getTaskQueueBuilder
public TaskQueue.Builder getTaskQueueBuilder()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
-
getTaskQueueOrBuilder
public TaskQueueOrBuilder getTaskQueueOrBuilder()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
- Specified by:
getTaskQueueOrBuilder
in 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:
hasInput
in interfaceStartWorkflowExecutionRequestOrBuilder
- Returns:
- Whether the input field is set.
-
getInput
public Payloads getInput()
Serialized arguments to the workflow. These are passed as arguments to the workflow function.
.temporal.api.common.v1.Payloads input = 5;
- Specified by:
getInput
in interfaceStartWorkflowExecutionRequestOrBuilder
- Returns:
- The input.
-
setInput
public StartWorkflowExecutionRequest.Builder setInput(Payloads value)
Serialized arguments to the workflow. These are passed as arguments to the workflow function.
.temporal.api.common.v1.Payloads input = 5;
-
setInput
public StartWorkflowExecutionRequest.Builder setInput(Payloads.Builder builderForValue)
Serialized arguments to the workflow. These are passed as arguments to the workflow function.
.temporal.api.common.v1.Payloads input = 5;
-
mergeInput
public StartWorkflowExecutionRequest.Builder mergeInput(Payloads value)
Serialized arguments to the workflow. These are passed as arguments to the workflow function.
.temporal.api.common.v1.Payloads input = 5;
-
clearInput
public StartWorkflowExecutionRequest.Builder clearInput()
Serialized arguments to the workflow. These are passed as arguments to the workflow function.
.temporal.api.common.v1.Payloads input = 5;
-
getInputBuilder
public Payloads.Builder getInputBuilder()
Serialized arguments to the workflow. These are passed as arguments to the workflow function.
.temporal.api.common.v1.Payloads input = 5;
-
getInputOrBuilder
public PayloadsOrBuilder getInputOrBuilder()
Serialized arguments to the workflow. These are passed as arguments to the workflow function.
.temporal.api.common.v1.Payloads input = 5;
- Specified by:
getInputOrBuilder
in interfaceStartWorkflowExecutionRequestOrBuilder
-
hasWorkflowExecutionTimeout
public boolean hasWorkflowExecutionTimeout()
Total workflow execution timeout including retries and continue as new.
.google.protobuf.Duration workflow_execution_timeout = 6 [(.gogoproto.stdduration) = true];
- Specified by:
hasWorkflowExecutionTimeout
in 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 [(.gogoproto.stdduration) = true];
- Specified by:
getWorkflowExecutionTimeout
in interfaceStartWorkflowExecutionRequestOrBuilder
- Returns:
- The workflowExecutionTimeout.
-
setWorkflowExecutionTimeout
public StartWorkflowExecutionRequest.Builder setWorkflowExecutionTimeout(com.google.protobuf.Duration value)
Total workflow execution timeout including retries and continue as new.
.google.protobuf.Duration workflow_execution_timeout = 6 [(.gogoproto.stdduration) = true];
-
setWorkflowExecutionTimeout
public StartWorkflowExecutionRequest.Builder setWorkflowExecutionTimeout(com.google.protobuf.Duration.Builder builderForValue)
Total workflow execution timeout including retries and continue as new.
.google.protobuf.Duration workflow_execution_timeout = 6 [(.gogoproto.stdduration) = true];
-
mergeWorkflowExecutionTimeout
public StartWorkflowExecutionRequest.Builder mergeWorkflowExecutionTimeout(com.google.protobuf.Duration value)
Total workflow execution timeout including retries and continue as new.
.google.protobuf.Duration workflow_execution_timeout = 6 [(.gogoproto.stdduration) = true];
-
clearWorkflowExecutionTimeout
public StartWorkflowExecutionRequest.Builder clearWorkflowExecutionTimeout()
Total workflow execution timeout including retries and continue as new.
.google.protobuf.Duration workflow_execution_timeout = 6 [(.gogoproto.stdduration) = true];
-
getWorkflowExecutionTimeoutBuilder
public com.google.protobuf.Duration.Builder getWorkflowExecutionTimeoutBuilder()
Total workflow execution timeout including retries and continue as new.
.google.protobuf.Duration workflow_execution_timeout = 6 [(.gogoproto.stdduration) = true];
-
getWorkflowExecutionTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getWorkflowExecutionTimeoutOrBuilder()
Total workflow execution timeout including retries and continue as new.
.google.protobuf.Duration workflow_execution_timeout = 6 [(.gogoproto.stdduration) = true];
- Specified by:
getWorkflowExecutionTimeoutOrBuilder
in interfaceStartWorkflowExecutionRequestOrBuilder
-
hasWorkflowRunTimeout
public boolean hasWorkflowRunTimeout()
Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 7 [(.gogoproto.stdduration) = true];
- Specified by:
hasWorkflowRunTimeout
in 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 [(.gogoproto.stdduration) = true];
- Specified by:
getWorkflowRunTimeout
in interfaceStartWorkflowExecutionRequestOrBuilder
- Returns:
- The workflowRunTimeout.
-
setWorkflowRunTimeout
public StartWorkflowExecutionRequest.Builder setWorkflowRunTimeout(com.google.protobuf.Duration value)
Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 7 [(.gogoproto.stdduration) = true];
-
setWorkflowRunTimeout
public StartWorkflowExecutionRequest.Builder setWorkflowRunTimeout(com.google.protobuf.Duration.Builder builderForValue)
Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 7 [(.gogoproto.stdduration) = true];
-
mergeWorkflowRunTimeout
public StartWorkflowExecutionRequest.Builder mergeWorkflowRunTimeout(com.google.protobuf.Duration value)
Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 7 [(.gogoproto.stdduration) = true];
-
clearWorkflowRunTimeout
public StartWorkflowExecutionRequest.Builder clearWorkflowRunTimeout()
Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 7 [(.gogoproto.stdduration) = true];
-
getWorkflowRunTimeoutBuilder
public com.google.protobuf.Duration.Builder getWorkflowRunTimeoutBuilder()
Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 7 [(.gogoproto.stdduration) = true];
-
getWorkflowRunTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getWorkflowRunTimeoutOrBuilder()
Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 7 [(.gogoproto.stdduration) = true];
- Specified by:
getWorkflowRunTimeoutOrBuilder
in interfaceStartWorkflowExecutionRequestOrBuilder
-
hasWorkflowTaskTimeout
public boolean hasWorkflowTaskTimeout()
Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 8 [(.gogoproto.stdduration) = true];
- Specified by:
hasWorkflowTaskTimeout
in 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 [(.gogoproto.stdduration) = true];
- Specified by:
getWorkflowTaskTimeout
in interfaceStartWorkflowExecutionRequestOrBuilder
- Returns:
- The workflowTaskTimeout.
-
setWorkflowTaskTimeout
public StartWorkflowExecutionRequest.Builder setWorkflowTaskTimeout(com.google.protobuf.Duration value)
Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 8 [(.gogoproto.stdduration) = true];
-
setWorkflowTaskTimeout
public StartWorkflowExecutionRequest.Builder setWorkflowTaskTimeout(com.google.protobuf.Duration.Builder builderForValue)
Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 8 [(.gogoproto.stdduration) = true];
-
mergeWorkflowTaskTimeout
public StartWorkflowExecutionRequest.Builder mergeWorkflowTaskTimeout(com.google.protobuf.Duration value)
Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 8 [(.gogoproto.stdduration) = true];
-
clearWorkflowTaskTimeout
public StartWorkflowExecutionRequest.Builder clearWorkflowTaskTimeout()
Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 8 [(.gogoproto.stdduration) = true];
-
getWorkflowTaskTimeoutBuilder
public com.google.protobuf.Duration.Builder getWorkflowTaskTimeoutBuilder()
Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 8 [(.gogoproto.stdduration) = true];
-
getWorkflowTaskTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getWorkflowTaskTimeoutOrBuilder()
Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 8 [(.gogoproto.stdduration) = true];
- Specified by:
getWorkflowTaskTimeoutOrBuilder
in interfaceStartWorkflowExecutionRequestOrBuilder
-
getIdentity
public java.lang.String getIdentity()
The identity of the client who initiated this request
string identity = 9;
- Specified by:
getIdentity
in 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:
getIdentityBytes
in interfaceStartWorkflowExecutionRequestOrBuilder
- Returns:
- The bytes for identity.
-
setIdentity
public StartWorkflowExecutionRequest.Builder setIdentity(java.lang.String value)
The identity of the client who initiated this request
string identity = 9;
- Parameters:
value
- The identity to set.- Returns:
- This builder for chaining.
-
clearIdentity
public StartWorkflowExecutionRequest.Builder clearIdentity()
The identity of the client who initiated this request
string identity = 9;
- Returns:
- This builder for chaining.
-
setIdentityBytes
public StartWorkflowExecutionRequest.Builder setIdentityBytes(com.google.protobuf.ByteString value)
The identity of the client who initiated this request
string identity = 9;
- Parameters:
value
- The bytes for identity to set.- Returns:
- This builder for chaining.
-
getRequestId
public java.lang.String getRequestId()
A unique identifier for this start request. Typically UUIDv4.
string request_id = 10;
- Specified by:
getRequestId
in 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:
getRequestIdBytes
in interfaceStartWorkflowExecutionRequestOrBuilder
- Returns:
- The bytes for requestId.
-
setRequestId
public StartWorkflowExecutionRequest.Builder setRequestId(java.lang.String value)
A unique identifier for this start request. Typically UUIDv4.
string request_id = 10;
- Parameters:
value
- The requestId to set.- Returns:
- This builder for chaining.
-
clearRequestId
public StartWorkflowExecutionRequest.Builder clearRequestId()
A unique identifier for this start request. Typically UUIDv4.
string request_id = 10;
- Returns:
- This builder for chaining.
-
setRequestIdBytes
public StartWorkflowExecutionRequest.Builder setRequestIdBytes(com.google.protobuf.ByteString value)
A unique identifier for this start request. Typically UUIDv4.
string request_id = 10;
- Parameters:
value
- The bytes for requestId to set.- Returns:
- This builder for chaining.
-
getWorkflowIdReusePolicyValue
public int getWorkflowIdReusePolicyValue()
Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.
.temporal.api.enums.v1.WorkflowIdReusePolicy workflow_id_reuse_policy = 11;
- Specified by:
getWorkflowIdReusePolicyValue
in interfaceStartWorkflowExecutionRequestOrBuilder
- Returns:
- The enum numeric value on the wire for workflowIdReusePolicy.
-
setWorkflowIdReusePolicyValue
public StartWorkflowExecutionRequest.Builder setWorkflowIdReusePolicyValue(int value)
Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.
.temporal.api.enums.v1.WorkflowIdReusePolicy workflow_id_reuse_policy = 11;
- 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 = 11;
- Specified by:
getWorkflowIdReusePolicy
in interfaceStartWorkflowExecutionRequestOrBuilder
- Returns:
- The workflowIdReusePolicy.
-
setWorkflowIdReusePolicy
public StartWorkflowExecutionRequest.Builder setWorkflowIdReusePolicy(WorkflowIdReusePolicy value)
Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.
.temporal.api.enums.v1.WorkflowIdReusePolicy workflow_id_reuse_policy = 11;
- Parameters:
value
- The workflowIdReusePolicy to set.- Returns:
- This builder for chaining.
-
clearWorkflowIdReusePolicy
public StartWorkflowExecutionRequest.Builder clearWorkflowIdReusePolicy()
Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.
.temporal.api.enums.v1.WorkflowIdReusePolicy workflow_id_reuse_policy = 11;
- 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 = 12;
- Specified by:
hasRetryPolicy
in interfaceStartWorkflowExecutionRequestOrBuilder
- 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 = 12;
- Specified by:
getRetryPolicy
in interfaceStartWorkflowExecutionRequestOrBuilder
- Returns:
- The retryPolicy.
-
setRetryPolicy
public StartWorkflowExecutionRequest.Builder setRetryPolicy(RetryPolicy value)
The retry policy for the workflow. Will never exceed `workflow_execution_timeout`.
.temporal.api.common.v1.RetryPolicy retry_policy = 12;
-
setRetryPolicy
public StartWorkflowExecutionRequest.Builder setRetryPolicy(RetryPolicy.Builder builderForValue)
The retry policy for the workflow. Will never exceed `workflow_execution_timeout`.
.temporal.api.common.v1.RetryPolicy retry_policy = 12;
-
mergeRetryPolicy
public StartWorkflowExecutionRequest.Builder mergeRetryPolicy(RetryPolicy value)
The retry policy for the workflow. Will never exceed `workflow_execution_timeout`.
.temporal.api.common.v1.RetryPolicy retry_policy = 12;
-
clearRetryPolicy
public StartWorkflowExecutionRequest.Builder clearRetryPolicy()
The retry policy for the workflow. Will never exceed `workflow_execution_timeout`.
.temporal.api.common.v1.RetryPolicy retry_policy = 12;
-
getRetryPolicyBuilder
public RetryPolicy.Builder getRetryPolicyBuilder()
The retry policy for the workflow. Will never exceed `workflow_execution_timeout`.
.temporal.api.common.v1.RetryPolicy retry_policy = 12;
-
getRetryPolicyOrBuilder
public RetryPolicyOrBuilder getRetryPolicyOrBuilder()
The retry policy for the workflow. Will never exceed `workflow_execution_timeout`.
.temporal.api.common.v1.RetryPolicy retry_policy = 12;
- Specified by:
getRetryPolicyOrBuilder
in interfaceStartWorkflowExecutionRequestOrBuilder
-
getCronSchedule
public java.lang.String getCronSchedule()
See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/
string cron_schedule = 13;
- Specified by:
getCronSchedule
in 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:
getCronScheduleBytes
in interfaceStartWorkflowExecutionRequestOrBuilder
- Returns:
- The bytes for cronSchedule.
-
setCronSchedule
public StartWorkflowExecutionRequest.Builder setCronSchedule(java.lang.String value)
See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/
string cron_schedule = 13;
- Parameters:
value
- The cronSchedule to set.- Returns:
- This builder for chaining.
-
clearCronSchedule
public StartWorkflowExecutionRequest.Builder clearCronSchedule()
See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/
string cron_schedule = 13;
- Returns:
- This builder for chaining.
-
setCronScheduleBytes
public StartWorkflowExecutionRequest.Builder setCronScheduleBytes(com.google.protobuf.ByteString value)
See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/
string cron_schedule = 13;
- Parameters:
value
- The bytes for cronSchedule to set.- Returns:
- This builder for chaining.
-
hasMemo
public boolean hasMemo()
.temporal.api.common.v1.Memo memo = 14;
- Specified by:
hasMemo
in interfaceStartWorkflowExecutionRequestOrBuilder
- Returns:
- Whether the memo field is set.
-
getMemo
public Memo getMemo()
.temporal.api.common.v1.Memo memo = 14;
- Specified by:
getMemo
in interfaceStartWorkflowExecutionRequestOrBuilder
- Returns:
- The memo.
-
setMemo
public StartWorkflowExecutionRequest.Builder setMemo(Memo value)
.temporal.api.common.v1.Memo memo = 14;
-
setMemo
public StartWorkflowExecutionRequest.Builder setMemo(Memo.Builder builderForValue)
.temporal.api.common.v1.Memo memo = 14;
-
mergeMemo
public StartWorkflowExecutionRequest.Builder mergeMemo(Memo value)
.temporal.api.common.v1.Memo memo = 14;
-
clearMemo
public StartWorkflowExecutionRequest.Builder clearMemo()
.temporal.api.common.v1.Memo memo = 14;
-
getMemoBuilder
public Memo.Builder getMemoBuilder()
.temporal.api.common.v1.Memo memo = 14;
-
getMemoOrBuilder
public MemoOrBuilder getMemoOrBuilder()
.temporal.api.common.v1.Memo memo = 14;
- Specified by:
getMemoOrBuilder
in interfaceStartWorkflowExecutionRequestOrBuilder
-
hasSearchAttributes
public boolean hasSearchAttributes()
.temporal.api.common.v1.SearchAttributes search_attributes = 15;
- Specified by:
hasSearchAttributes
in interfaceStartWorkflowExecutionRequestOrBuilder
- Returns:
- Whether the searchAttributes field is set.
-
getSearchAttributes
public SearchAttributes getSearchAttributes()
.temporal.api.common.v1.SearchAttributes search_attributes = 15;
- Specified by:
getSearchAttributes
in interfaceStartWorkflowExecutionRequestOrBuilder
- Returns:
- The searchAttributes.
-
setSearchAttributes
public StartWorkflowExecutionRequest.Builder setSearchAttributes(SearchAttributes value)
.temporal.api.common.v1.SearchAttributes search_attributes = 15;
-
setSearchAttributes
public StartWorkflowExecutionRequest.Builder setSearchAttributes(SearchAttributes.Builder builderForValue)
.temporal.api.common.v1.SearchAttributes search_attributes = 15;
-
mergeSearchAttributes
public StartWorkflowExecutionRequest.Builder mergeSearchAttributes(SearchAttributes value)
.temporal.api.common.v1.SearchAttributes search_attributes = 15;
-
clearSearchAttributes
public StartWorkflowExecutionRequest.Builder clearSearchAttributes()
.temporal.api.common.v1.SearchAttributes search_attributes = 15;
-
getSearchAttributesBuilder
public SearchAttributes.Builder getSearchAttributesBuilder()
.temporal.api.common.v1.SearchAttributes search_attributes = 15;
-
getSearchAttributesOrBuilder
public SearchAttributesOrBuilder getSearchAttributesOrBuilder()
.temporal.api.common.v1.SearchAttributes search_attributes = 15;
- Specified by:
getSearchAttributesOrBuilder
in interfaceStartWorkflowExecutionRequestOrBuilder
-
hasHeader
public boolean hasHeader()
.temporal.api.common.v1.Header header = 16;
- Specified by:
hasHeader
in interfaceStartWorkflowExecutionRequestOrBuilder
- Returns:
- Whether the header field is set.
-
getHeader
public Header getHeader()
.temporal.api.common.v1.Header header = 16;
- Specified by:
getHeader
in interfaceStartWorkflowExecutionRequestOrBuilder
- Returns:
- The header.
-
setHeader
public StartWorkflowExecutionRequest.Builder setHeader(Header value)
.temporal.api.common.v1.Header header = 16;
-
setHeader
public StartWorkflowExecutionRequest.Builder setHeader(Header.Builder builderForValue)
.temporal.api.common.v1.Header header = 16;
-
mergeHeader
public StartWorkflowExecutionRequest.Builder mergeHeader(Header value)
.temporal.api.common.v1.Header header = 16;
-
clearHeader
public StartWorkflowExecutionRequest.Builder clearHeader()
.temporal.api.common.v1.Header header = 16;
-
getHeaderBuilder
public Header.Builder getHeaderBuilder()
.temporal.api.common.v1.Header header = 16;
-
getHeaderOrBuilder
public HeaderOrBuilder getHeaderOrBuilder()
.temporal.api.common.v1.Header header = 16;
- Specified by:
getHeaderOrBuilder
in 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:
getRequestEagerExecution
in interfaceStartWorkflowExecutionRequestOrBuilder
- Returns:
- The requestEagerExecution.
-
setRequestEagerExecution
public StartWorkflowExecutionRequest.Builder setRequestEagerExecution(boolean value)
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;
- Parameters:
value
- The requestEagerExecution to set.- Returns:
- This builder for chaining.
-
clearRequestEagerExecution
public StartWorkflowExecutionRequest.Builder clearRequestEagerExecution()
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;
- Returns:
- This builder for chaining.
-
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:
hasContinuedFailure
in interfaceStartWorkflowExecutionRequestOrBuilder
- Returns:
- Whether the continuedFailure field is set.
-
getContinuedFailure
public Failure 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:
getContinuedFailure
in interfaceStartWorkflowExecutionRequestOrBuilder
- Returns:
- The continuedFailure.
-
setContinuedFailure
public StartWorkflowExecutionRequest.Builder setContinuedFailure(Failure value)
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;
-
setContinuedFailure
public StartWorkflowExecutionRequest.Builder setContinuedFailure(Failure.Builder builderForValue)
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;
-
mergeContinuedFailure
public StartWorkflowExecutionRequest.Builder mergeContinuedFailure(Failure value)
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;
-
clearContinuedFailure
public StartWorkflowExecutionRequest.Builder clearContinuedFailure()
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;
-
getContinuedFailureBuilder
public Failure.Builder getContinuedFailureBuilder()
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;
-
getContinuedFailureOrBuilder
public FailureOrBuilder 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:
getContinuedFailureOrBuilder
in interfaceStartWorkflowExecutionRequestOrBuilder
-
hasLastCompletionResult
public boolean hasLastCompletionResult()
.temporal.api.common.v1.Payloads last_completion_result = 19;
- Specified by:
hasLastCompletionResult
in interfaceStartWorkflowExecutionRequestOrBuilder
- Returns:
- Whether the lastCompletionResult field is set.
-
getLastCompletionResult
public Payloads getLastCompletionResult()
.temporal.api.common.v1.Payloads last_completion_result = 19;
- Specified by:
getLastCompletionResult
in interfaceStartWorkflowExecutionRequestOrBuilder
- Returns:
- The lastCompletionResult.
-
setLastCompletionResult
public StartWorkflowExecutionRequest.Builder setLastCompletionResult(Payloads value)
.temporal.api.common.v1.Payloads last_completion_result = 19;
-
setLastCompletionResult
public StartWorkflowExecutionRequest.Builder setLastCompletionResult(Payloads.Builder builderForValue)
.temporal.api.common.v1.Payloads last_completion_result = 19;
-
mergeLastCompletionResult
public StartWorkflowExecutionRequest.Builder mergeLastCompletionResult(Payloads value)
.temporal.api.common.v1.Payloads last_completion_result = 19;
-
clearLastCompletionResult
public StartWorkflowExecutionRequest.Builder clearLastCompletionResult()
.temporal.api.common.v1.Payloads last_completion_result = 19;
-
getLastCompletionResultBuilder
public Payloads.Builder getLastCompletionResultBuilder()
.temporal.api.common.v1.Payloads last_completion_result = 19;
-
getLastCompletionResultOrBuilder
public PayloadsOrBuilder getLastCompletionResultOrBuilder()
.temporal.api.common.v1.Payloads last_completion_result = 19;
- Specified by:
getLastCompletionResultOrBuilder
in interfaceStartWorkflowExecutionRequestOrBuilder
-
hasWorkflowStartDelay
public boolean hasWorkflowStartDelay()
Time to wait before dispatching the first workflow task. Cannot be used with `cron_schedule`. If the workflow gets a signal before the delay, a workflow task will be dispatched and the rest of the delay will be ignored.
.google.protobuf.Duration workflow_start_delay = 20 [(.gogoproto.stdduration) = true];
- Specified by:
hasWorkflowStartDelay
in interfaceStartWorkflowExecutionRequestOrBuilder
- Returns:
- Whether the workflowStartDelay field is set.
-
getWorkflowStartDelay
public com.google.protobuf.Duration getWorkflowStartDelay()
Time to wait before dispatching the first workflow task. Cannot be used with `cron_schedule`. If the workflow gets a signal before the delay, a workflow task will be dispatched and the rest of the delay will be ignored.
.google.protobuf.Duration workflow_start_delay = 20 [(.gogoproto.stdduration) = true];
- Specified by:
getWorkflowStartDelay
in interfaceStartWorkflowExecutionRequestOrBuilder
- Returns:
- The workflowStartDelay.
-
setWorkflowStartDelay
public StartWorkflowExecutionRequest.Builder setWorkflowStartDelay(com.google.protobuf.Duration value)
Time to wait before dispatching the first workflow task. Cannot be used with `cron_schedule`. If the workflow gets a signal before the delay, a workflow task will be dispatched and the rest of the delay will be ignored.
.google.protobuf.Duration workflow_start_delay = 20 [(.gogoproto.stdduration) = true];
-
setWorkflowStartDelay
public StartWorkflowExecutionRequest.Builder setWorkflowStartDelay(com.google.protobuf.Duration.Builder builderForValue)
Time to wait before dispatching the first workflow task. Cannot be used with `cron_schedule`. If the workflow gets a signal before the delay, a workflow task will be dispatched and the rest of the delay will be ignored.
.google.protobuf.Duration workflow_start_delay = 20 [(.gogoproto.stdduration) = true];
-
mergeWorkflowStartDelay
public StartWorkflowExecutionRequest.Builder mergeWorkflowStartDelay(com.google.protobuf.Duration value)
Time to wait before dispatching the first workflow task. Cannot be used with `cron_schedule`. If the workflow gets a signal before the delay, a workflow task will be dispatched and the rest of the delay will be ignored.
.google.protobuf.Duration workflow_start_delay = 20 [(.gogoproto.stdduration) = true];
-
clearWorkflowStartDelay
public StartWorkflowExecutionRequest.Builder clearWorkflowStartDelay()
Time to wait before dispatching the first workflow task. Cannot be used with `cron_schedule`. If the workflow gets a signal before the delay, a workflow task will be dispatched and the rest of the delay will be ignored.
.google.protobuf.Duration workflow_start_delay = 20 [(.gogoproto.stdduration) = true];
-
getWorkflowStartDelayBuilder
public com.google.protobuf.Duration.Builder getWorkflowStartDelayBuilder()
Time to wait before dispatching the first workflow task. Cannot be used with `cron_schedule`. If the workflow gets a signal before the delay, a workflow task will be dispatched and the rest of the delay will be ignored.
.google.protobuf.Duration workflow_start_delay = 20 [(.gogoproto.stdduration) = true];
-
getWorkflowStartDelayOrBuilder
public com.google.protobuf.DurationOrBuilder getWorkflowStartDelayOrBuilder()
Time to wait before dispatching the first workflow task. Cannot be used with `cron_schedule`. If the workflow gets a signal before the delay, a workflow task will be dispatched and the rest of the delay will be ignored.
.google.protobuf.Duration workflow_start_delay = 20 [(.gogoproto.stdduration) = true];
- Specified by:
getWorkflowStartDelayOrBuilder
in interfaceStartWorkflowExecutionRequestOrBuilder
-
setUnknownFields
public final StartWorkflowExecutionRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<StartWorkflowExecutionRequest.Builder>
-
mergeUnknownFields
public final StartWorkflowExecutionRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<StartWorkflowExecutionRequest.Builder>
-
-