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
,java.io.Serializable
@Generated(value="protoc", comments="annotations:StartWorkflowExecutionRequest.java.pb.meta") public final class StartWorkflowExecutionRequest extends com.google.protobuf.GeneratedMessageV3 implements StartWorkflowExecutionRequestOrBuilder
Protobuf typetemporal.api.workflowservice.v1.StartWorkflowExecutionRequest
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StartWorkflowExecutionRequest.Builder
Protobuf typetemporal.api.workflowservice.v1.StartWorkflowExecutionRequest
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
CONTINUED_FAILURE_FIELD_NUMBER
static int
CRON_SCHEDULE_FIELD_NUMBER
static int
HEADER_FIELD_NUMBER
static int
IDENTITY_FIELD_NUMBER
static int
INPUT_FIELD_NUMBER
static int
LAST_COMPLETION_RESULT_FIELD_NUMBER
static int
MEMO_FIELD_NUMBER
static int
NAMESPACE_FIELD_NUMBER
static int
REQUEST_EAGER_EXECUTION_FIELD_NUMBER
static int
REQUEST_ID_FIELD_NUMBER
static int
RETRY_POLICY_FIELD_NUMBER
static int
SEARCH_ATTRIBUTES_FIELD_NUMBER
static int
TASK_QUEUE_FIELD_NUMBER
static int
WORKFLOW_EXECUTION_TIMEOUT_FIELD_NUMBER
static int
WORKFLOW_ID_FIELD_NUMBER
static int
WORKFLOW_ID_REUSE_POLICY_FIELD_NUMBER
static int
WORKFLOW_RUN_TIMEOUT_FIELD_NUMBER
static int
WORKFLOW_START_DELAY_FIELD_NUMBER
static int
WORKFLOW_TASK_TIMEOUT_FIELD_NUMBER
static int
WORKFLOW_TYPE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
Failure
getContinuedFailure()
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/static StartWorkflowExecutionRequest
getDefaultInstance()
StartWorkflowExecutionRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
Header
getHeader()
.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.PayloadsOrBuilder
getInputOrBuilder()
Serialized arguments to the workflow.Payloads
getLastCompletionResult()
.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;
MemoOrBuilder
getMemoOrBuilder()
.temporal.api.common.v1.Memo memo = 14;
java.lang.String
getNamespace()
string namespace = 1;
com.google.protobuf.ByteString
getNamespaceBytes()
string namespace = 1;
com.google.protobuf.Parser<StartWorkflowExecutionRequest>
getParserForType()
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.RetryPolicyOrBuilder
getRetryPolicyOrBuilder()
The retry policy for the workflow.SearchAttributes
getSearchAttributes()
.temporal.api.common.v1.SearchAttributes search_attributes = 15;
SearchAttributesOrBuilder
getSearchAttributesOrBuilder()
.temporal.api.common.v1.SearchAttributes search_attributes = 15;
int
getSerializedSize()
TaskQueue
getTaskQueue()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
TaskQueueOrBuilder
getTaskQueueOrBuilder()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
com.google.protobuf.UnknownFieldSet
getUnknownFields()
com.google.protobuf.Duration
getWorkflowExecutionTimeout()
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.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.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.DurationOrBuilder
getWorkflowTaskTimeoutOrBuilder()
Timeout of a single workflow task.WorkflowType
getWorkflowType()
.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.int
hashCode()
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()
static StartWorkflowExecutionRequest.Builder
newBuilder()
static StartWorkflowExecutionRequest.Builder
newBuilder(StartWorkflowExecutionRequest prototype)
StartWorkflowExecutionRequest.Builder
newBuilderForType()
protected StartWorkflowExecutionRequest.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected java.lang.Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static StartWorkflowExecutionRequest
parseDelimitedFrom(java.io.InputStream input)
static StartWorkflowExecutionRequest
parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static StartWorkflowExecutionRequest
parseFrom(byte[] data)
static StartWorkflowExecutionRequest
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static StartWorkflowExecutionRequest
parseFrom(com.google.protobuf.ByteString data)
static StartWorkflowExecutionRequest
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static StartWorkflowExecutionRequest
parseFrom(com.google.protobuf.CodedInputStream input)
static StartWorkflowExecutionRequest
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static StartWorkflowExecutionRequest
parseFrom(java.io.InputStream input)
static StartWorkflowExecutionRequest
parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static StartWorkflowExecutionRequest
parseFrom(java.nio.ByteBuffer data)
static StartWorkflowExecutionRequest
parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<StartWorkflowExecutionRequest>
parser()
StartWorkflowExecutionRequest.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAMESPACE_FIELD_NUMBER
public static final int NAMESPACE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WORKFLOW_ID_FIELD_NUMBER
public static final int WORKFLOW_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WORKFLOW_TYPE_FIELD_NUMBER
public static final int WORKFLOW_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TASK_QUEUE_FIELD_NUMBER
public static final int TASK_QUEUE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INPUT_FIELD_NUMBER
public static final int INPUT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WORKFLOW_EXECUTION_TIMEOUT_FIELD_NUMBER
public static final int WORKFLOW_EXECUTION_TIMEOUT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WORKFLOW_RUN_TIMEOUT_FIELD_NUMBER
public static final int WORKFLOW_RUN_TIMEOUT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WORKFLOW_TASK_TIMEOUT_FIELD_NUMBER
public static final int WORKFLOW_TASK_TIMEOUT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IDENTITY_FIELD_NUMBER
public static final int IDENTITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REQUEST_ID_FIELD_NUMBER
public static final int REQUEST_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WORKFLOW_ID_REUSE_POLICY_FIELD_NUMBER
public static final int WORKFLOW_ID_REUSE_POLICY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RETRY_POLICY_FIELD_NUMBER
public static final int RETRY_POLICY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CRON_SCHEDULE_FIELD_NUMBER
public static final int CRON_SCHEDULE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MEMO_FIELD_NUMBER
public static final int MEMO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SEARCH_ATTRIBUTES_FIELD_NUMBER
public static final int SEARCH_ATTRIBUTES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HEADER_FIELD_NUMBER
public static final int HEADER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REQUEST_EAGER_EXECUTION_FIELD_NUMBER
public static final int REQUEST_EAGER_EXECUTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONTINUED_FAILURE_FIELD_NUMBER
public static final int CONTINUED_FAILURE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LAST_COMPLETION_RESULT_FIELD_NUMBER
public static final int LAST_COMPLETION_RESULT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WORKFLOW_START_DELAY_FIELD_NUMBER
public static final int WORKFLOW_START_DELAY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessageV3
-
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
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static StartWorkflowExecutionRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StartWorkflowExecutionRequest parseFrom(java.nio.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
public static StartWorkflowExecutionRequest parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static StartWorkflowExecutionRequest parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static StartWorkflowExecutionRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static StartWorkflowExecutionRequest parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static StartWorkflowExecutionRequest parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static StartWorkflowExecutionRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public StartWorkflowExecutionRequest.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static StartWorkflowExecutionRequest.Builder newBuilder()
-
newBuilder
public static StartWorkflowExecutionRequest.Builder newBuilder(StartWorkflowExecutionRequest prototype)
-
toBuilder
public StartWorkflowExecutionRequest.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected StartWorkflowExecutionRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static StartWorkflowExecutionRequest getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<StartWorkflowExecutionRequest> parser()
-
getParserForType
public com.google.protobuf.Parser<StartWorkflowExecutionRequest> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public StartWorkflowExecutionRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-