Package io.temporal.api.history.v1
Class WorkflowExecutionContinuedAsNewEventAttributes
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes
-
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,WorkflowExecutionContinuedAsNewEventAttributesOrBuilder
,java.io.Serializable
@Generated(value="protoc", comments="annotations:WorkflowExecutionContinuedAsNewEventAttributes.java.pb.meta") public final class WorkflowExecutionContinuedAsNewEventAttributes extends com.google.protobuf.GeneratedMessageV3 implements WorkflowExecutionContinuedAsNewEventAttributesOrBuilder
Protobuf typetemporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WorkflowExecutionContinuedAsNewEventAttributes.Builder
Protobuf typetemporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes
-
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
BACKOFF_START_INTERVAL_FIELD_NUMBER
static int
FAILURE_FIELD_NUMBER
static int
HEADER_FIELD_NUMBER
static int
INITIATOR_FIELD_NUMBER
static int
INPUT_FIELD_NUMBER
static int
LAST_COMPLETION_RESULT_FIELD_NUMBER
static int
MEMO_FIELD_NUMBER
static int
NEW_EXECUTION_RUN_ID_FIELD_NUMBER
static int
SEARCH_ATTRIBUTES_FIELD_NUMBER
static int
TASK_QUEUE_FIELD_NUMBER
static int
USE_COMPATIBLE_VERSION_FIELD_NUMBER
static int
WORKFLOW_RUN_TIMEOUT_FIELD_NUMBER
static int
WORKFLOW_TASK_COMPLETED_EVENT_ID_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)
com.google.protobuf.Duration
getBackoffStartInterval()
TODO: How and is this used?com.google.protobuf.DurationOrBuilder
getBackoffStartIntervalOrBuilder()
TODO: How and is this used?static WorkflowExecutionContinuedAsNewEventAttributes
getDefaultInstance()
WorkflowExecutionContinuedAsNewEventAttributes
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
Failure
getFailure()
TODO: David are these right? Deprecated.FailureOrBuilder
getFailureOrBuilder()
TODO: David are these right? Deprecated.Header
getHeader()
.temporal.api.common.v1.Header header = 12;
HeaderOrBuilder
getHeaderOrBuilder()
.temporal.api.common.v1.Header header = 12;
ContinueAsNewInitiator
getInitiator()
.temporal.api.enums.v1.ContinueAsNewInitiator initiator = 9;
int
getInitiatorValue()
.temporal.api.enums.v1.ContinueAsNewInitiator initiator = 9;
Payloads
getInput()
.temporal.api.common.v1.Payloads input = 4;
PayloadsOrBuilder
getInputOrBuilder()
.temporal.api.common.v1.Payloads input = 4;
Payloads
getLastCompletionResult()
TODO: Is this the result of *this* workflow as it continued-as-new?PayloadsOrBuilder
getLastCompletionResultOrBuilder()
TODO: Is this the result of *this* workflow as it continued-as-new?Memo
getMemo()
.temporal.api.common.v1.Memo memo = 13;
MemoOrBuilder
getMemoOrBuilder()
.temporal.api.common.v1.Memo memo = 13;
java.lang.String
getNewExecutionRunId()
The run ID of the new workflow started by this continue-as-newcom.google.protobuf.ByteString
getNewExecutionRunIdBytes()
The run ID of the new workflow started by this continue-as-newcom.google.protobuf.Parser<WorkflowExecutionContinuedAsNewEventAttributes>
getParserForType()
SearchAttributes
getSearchAttributes()
.temporal.api.common.v1.SearchAttributes search_attributes = 14;
SearchAttributesOrBuilder
getSearchAttributesOrBuilder()
.temporal.api.common.v1.SearchAttributes search_attributes = 14;
int
getSerializedSize()
TaskQueue
getTaskQueue()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 3;
TaskQueueOrBuilder
getTaskQueueOrBuilder()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 3;
com.google.protobuf.UnknownFieldSet
getUnknownFields()
boolean
getUseCompatibleVersion()
If this is set, the workflow executing this command wishes to continue as new using a version compatible with the version that this workflow most recently ran on.com.google.protobuf.Duration
getWorkflowRunTimeout()
Timeout of a single workflow run.com.google.protobuf.DurationOrBuilder
getWorkflowRunTimeoutOrBuilder()
Timeout of a single workflow run.long
getWorkflowTaskCompletedEventId()
The `WORKFLOW_TASK_COMPLETED` event which this command was reported withcom.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 = 2;
WorkflowTypeOrBuilder
getWorkflowTypeOrBuilder()
.temporal.api.common.v1.WorkflowType workflow_type = 2;
boolean
hasBackoffStartInterval()
TODO: How and is this used?boolean
hasFailure()
TODO: David are these right? Deprecated.int
hashCode()
boolean
hasHeader()
.temporal.api.common.v1.Header header = 12;
boolean
hasInput()
.temporal.api.common.v1.Payloads input = 4;
boolean
hasLastCompletionResult()
TODO: Is this the result of *this* workflow as it continued-as-new?boolean
hasMemo()
.temporal.api.common.v1.Memo memo = 13;
boolean
hasSearchAttributes()
.temporal.api.common.v1.SearchAttributes search_attributes = 14;
boolean
hasTaskQueue()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 3;
boolean
hasWorkflowRunTimeout()
Timeout of a single workflow run.boolean
hasWorkflowTaskTimeout()
Timeout of a single workflow task.boolean
hasWorkflowType()
.temporal.api.common.v1.WorkflowType workflow_type = 2;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static WorkflowExecutionContinuedAsNewEventAttributes.Builder
newBuilder()
static WorkflowExecutionContinuedAsNewEventAttributes.Builder
newBuilder(WorkflowExecutionContinuedAsNewEventAttributes prototype)
WorkflowExecutionContinuedAsNewEventAttributes.Builder
newBuilderForType()
protected WorkflowExecutionContinuedAsNewEventAttributes.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected java.lang.Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static WorkflowExecutionContinuedAsNewEventAttributes
parseDelimitedFrom(java.io.InputStream input)
static WorkflowExecutionContinuedAsNewEventAttributes
parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static WorkflowExecutionContinuedAsNewEventAttributes
parseFrom(byte[] data)
static WorkflowExecutionContinuedAsNewEventAttributes
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static WorkflowExecutionContinuedAsNewEventAttributes
parseFrom(com.google.protobuf.ByteString data)
static WorkflowExecutionContinuedAsNewEventAttributes
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static WorkflowExecutionContinuedAsNewEventAttributes
parseFrom(com.google.protobuf.CodedInputStream input)
static WorkflowExecutionContinuedAsNewEventAttributes
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static WorkflowExecutionContinuedAsNewEventAttributes
parseFrom(java.io.InputStream input)
static WorkflowExecutionContinuedAsNewEventAttributes
parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static WorkflowExecutionContinuedAsNewEventAttributes
parseFrom(java.nio.ByteBuffer data)
static WorkflowExecutionContinuedAsNewEventAttributes
parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<WorkflowExecutionContinuedAsNewEventAttributes>
parser()
WorkflowExecutionContinuedAsNewEventAttributes.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
-
NEW_EXECUTION_RUN_ID_FIELD_NUMBER
public static final int NEW_EXECUTION_RUN_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_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
-
WORKFLOW_TASK_COMPLETED_EVENT_ID_FIELD_NUMBER
public static final int WORKFLOW_TASK_COMPLETED_EVENT_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BACKOFF_START_INTERVAL_FIELD_NUMBER
public static final int BACKOFF_START_INTERVAL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INITIATOR_FIELD_NUMBER
public static final int INITIATOR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FAILURE_FIELD_NUMBER
public static final int 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
-
HEADER_FIELD_NUMBER
public static final int HEADER_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
-
USE_COMPATIBLE_VERSION_FIELD_NUMBER
public static final int USE_COMPATIBLE_VERSION_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
-
getNewExecutionRunId
public java.lang.String getNewExecutionRunId()
The run ID of the new workflow started by this continue-as-new
string new_execution_run_id = 1;
- Specified by:
getNewExecutionRunId
in interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder
- Returns:
- The newExecutionRunId.
-
getNewExecutionRunIdBytes
public com.google.protobuf.ByteString getNewExecutionRunIdBytes()
The run ID of the new workflow started by this continue-as-new
string new_execution_run_id = 1;
- Specified by:
getNewExecutionRunIdBytes
in interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder
- Returns:
- The bytes for newExecutionRunId.
-
hasWorkflowType
public boolean hasWorkflowType()
.temporal.api.common.v1.WorkflowType workflow_type = 2;
- Specified by:
hasWorkflowType
in interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder
- Returns:
- Whether the workflowType field is set.
-
getWorkflowType
public WorkflowType getWorkflowType()
.temporal.api.common.v1.WorkflowType workflow_type = 2;
- Specified by:
getWorkflowType
in interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder
- Returns:
- The workflowType.
-
getWorkflowTypeOrBuilder
public WorkflowTypeOrBuilder getWorkflowTypeOrBuilder()
.temporal.api.common.v1.WorkflowType workflow_type = 2;
- Specified by:
getWorkflowTypeOrBuilder
in interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder
-
hasTaskQueue
public boolean hasTaskQueue()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 3;
- Specified by:
hasTaskQueue
in interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder
- Returns:
- Whether the taskQueue field is set.
-
getTaskQueue
public TaskQueue getTaskQueue()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 3;
- Specified by:
getTaskQueue
in interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder
- Returns:
- The taskQueue.
-
getTaskQueueOrBuilder
public TaskQueueOrBuilder getTaskQueueOrBuilder()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 3;
- Specified by:
getTaskQueueOrBuilder
in interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder
-
hasInput
public boolean hasInput()
.temporal.api.common.v1.Payloads input = 4;
- Specified by:
hasInput
in interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder
- Returns:
- Whether the input field is set.
-
getInput
public Payloads getInput()
.temporal.api.common.v1.Payloads input = 4;
- Specified by:
getInput
in interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder
- Returns:
- The input.
-
getInputOrBuilder
public PayloadsOrBuilder getInputOrBuilder()
.temporal.api.common.v1.Payloads input = 4;
- Specified by:
getInputOrBuilder
in interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder
-
hasWorkflowRunTimeout
public boolean hasWorkflowRunTimeout()
Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 5 [(.gogoproto.stdduration) = true];
- Specified by:
hasWorkflowRunTimeout
in interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder
- 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 = 5 [(.gogoproto.stdduration) = true];
- Specified by:
getWorkflowRunTimeout
in interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder
- Returns:
- The workflowRunTimeout.
-
getWorkflowRunTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getWorkflowRunTimeoutOrBuilder()
Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 5 [(.gogoproto.stdduration) = true];
- Specified by:
getWorkflowRunTimeoutOrBuilder
in interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder
-
hasWorkflowTaskTimeout
public boolean hasWorkflowTaskTimeout()
Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 6 [(.gogoproto.stdduration) = true];
- Specified by:
hasWorkflowTaskTimeout
in interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder
- 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 = 6 [(.gogoproto.stdduration) = true];
- Specified by:
getWorkflowTaskTimeout
in interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder
- Returns:
- The workflowTaskTimeout.
-
getWorkflowTaskTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getWorkflowTaskTimeoutOrBuilder()
Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 6 [(.gogoproto.stdduration) = true];
- Specified by:
getWorkflowTaskTimeoutOrBuilder
in interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder
-
getWorkflowTaskCompletedEventId
public long getWorkflowTaskCompletedEventId()
The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
int64 workflow_task_completed_event_id = 7;
- Specified by:
getWorkflowTaskCompletedEventId
in interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder
- Returns:
- The workflowTaskCompletedEventId.
-
hasBackoffStartInterval
public boolean hasBackoffStartInterval()
TODO: How and is this used?
.google.protobuf.Duration backoff_start_interval = 8 [(.gogoproto.stdduration) = true];
- Specified by:
hasBackoffStartInterval
in interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder
- Returns:
- Whether the backoffStartInterval field is set.
-
getBackoffStartInterval
public com.google.protobuf.Duration getBackoffStartInterval()
TODO: How and is this used?
.google.protobuf.Duration backoff_start_interval = 8 [(.gogoproto.stdduration) = true];
- Specified by:
getBackoffStartInterval
in interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder
- Returns:
- The backoffStartInterval.
-
getBackoffStartIntervalOrBuilder
public com.google.protobuf.DurationOrBuilder getBackoffStartIntervalOrBuilder()
TODO: How and is this used?
.google.protobuf.Duration backoff_start_interval = 8 [(.gogoproto.stdduration) = true];
- Specified by:
getBackoffStartIntervalOrBuilder
in interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder
-
getInitiatorValue
public int getInitiatorValue()
.temporal.api.enums.v1.ContinueAsNewInitiator initiator = 9;
- Specified by:
getInitiatorValue
in interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder
- Returns:
- The enum numeric value on the wire for initiator.
-
getInitiator
public ContinueAsNewInitiator getInitiator()
.temporal.api.enums.v1.ContinueAsNewInitiator initiator = 9;
- Specified by:
getInitiator
in interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder
- Returns:
- The initiator.
-
hasFailure
public boolean hasFailure()
TODO: David are these right? Deprecated. If a workflow's retry policy would cause a new run to start when the current one has failed, this field would be populated with that failure. Now (when supported by server and sdk) the final event will be `WORKFLOW_EXECUTION_FAILED` with `new_execution_run_id` set.
.temporal.api.failure.v1.Failure failure = 10;
- Specified by:
hasFailure
in interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder
- Returns:
- Whether the failure field is set.
-
getFailure
public Failure getFailure()
TODO: David are these right? Deprecated. If a workflow's retry policy would cause a new run to start when the current one has failed, this field would be populated with that failure. Now (when supported by server and sdk) the final event will be `WORKFLOW_EXECUTION_FAILED` with `new_execution_run_id` set.
.temporal.api.failure.v1.Failure failure = 10;
- Specified by:
getFailure
in interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder
- Returns:
- The failure.
-
getFailureOrBuilder
public FailureOrBuilder getFailureOrBuilder()
TODO: David are these right? Deprecated. If a workflow's retry policy would cause a new run to start when the current one has failed, this field would be populated with that failure. Now (when supported by server and sdk) the final event will be `WORKFLOW_EXECUTION_FAILED` with `new_execution_run_id` set.
.temporal.api.failure.v1.Failure failure = 10;
- Specified by:
getFailureOrBuilder
in interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder
-
hasLastCompletionResult
public boolean hasLastCompletionResult()
TODO: Is this the result of *this* workflow as it continued-as-new?
.temporal.api.common.v1.Payloads last_completion_result = 11;
- Specified by:
hasLastCompletionResult
in interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder
- Returns:
- Whether the lastCompletionResult field is set.
-
getLastCompletionResult
public Payloads getLastCompletionResult()
TODO: Is this the result of *this* workflow as it continued-as-new?
.temporal.api.common.v1.Payloads last_completion_result = 11;
- Specified by:
getLastCompletionResult
in interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder
- Returns:
- The lastCompletionResult.
-
getLastCompletionResultOrBuilder
public PayloadsOrBuilder getLastCompletionResultOrBuilder()
TODO: Is this the result of *this* workflow as it continued-as-new?
.temporal.api.common.v1.Payloads last_completion_result = 11;
- Specified by:
getLastCompletionResultOrBuilder
in interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder
-
hasHeader
public boolean hasHeader()
.temporal.api.common.v1.Header header = 12;
- Specified by:
hasHeader
in interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder
- Returns:
- Whether the header field is set.
-
getHeader
public Header getHeader()
.temporal.api.common.v1.Header header = 12;
- Specified by:
getHeader
in interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder
- Returns:
- The header.
-
getHeaderOrBuilder
public HeaderOrBuilder getHeaderOrBuilder()
.temporal.api.common.v1.Header header = 12;
- Specified by:
getHeaderOrBuilder
in interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder
-
hasMemo
public boolean hasMemo()
.temporal.api.common.v1.Memo memo = 13;
- Specified by:
hasMemo
in interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder
- Returns:
- Whether the memo field is set.
-
getMemo
public Memo getMemo()
.temporal.api.common.v1.Memo memo = 13;
- Specified by:
getMemo
in interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder
- Returns:
- The memo.
-
getMemoOrBuilder
public MemoOrBuilder getMemoOrBuilder()
.temporal.api.common.v1.Memo memo = 13;
- Specified by:
getMemoOrBuilder
in interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder
-
hasSearchAttributes
public boolean hasSearchAttributes()
.temporal.api.common.v1.SearchAttributes search_attributes = 14;
- Specified by:
hasSearchAttributes
in interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder
- Returns:
- Whether the searchAttributes field is set.
-
getSearchAttributes
public SearchAttributes getSearchAttributes()
.temporal.api.common.v1.SearchAttributes search_attributes = 14;
- Specified by:
getSearchAttributes
in interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder
- Returns:
- The searchAttributes.
-
getSearchAttributesOrBuilder
public SearchAttributesOrBuilder getSearchAttributesOrBuilder()
.temporal.api.common.v1.SearchAttributes search_attributes = 14;
- Specified by:
getSearchAttributesOrBuilder
in interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder
-
getUseCompatibleVersion
public boolean getUseCompatibleVersion()
If this is set, the workflow executing this command wishes to continue as new using a version compatible with the version that this workflow most recently ran on.
bool use_compatible_version = 15;
- Specified by:
getUseCompatibleVersion
in interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder
- Returns:
- The useCompatibleVersion.
-
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 WorkflowExecutionContinuedAsNewEventAttributes parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WorkflowExecutionContinuedAsNewEventAttributes parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WorkflowExecutionContinuedAsNewEventAttributes parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WorkflowExecutionContinuedAsNewEventAttributes parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WorkflowExecutionContinuedAsNewEventAttributes parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WorkflowExecutionContinuedAsNewEventAttributes parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WorkflowExecutionContinuedAsNewEventAttributes parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static WorkflowExecutionContinuedAsNewEventAttributes parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static WorkflowExecutionContinuedAsNewEventAttributes parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static WorkflowExecutionContinuedAsNewEventAttributes parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static WorkflowExecutionContinuedAsNewEventAttributes parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static WorkflowExecutionContinuedAsNewEventAttributes parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public WorkflowExecutionContinuedAsNewEventAttributes.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static WorkflowExecutionContinuedAsNewEventAttributes.Builder newBuilder()
-
newBuilder
public static WorkflowExecutionContinuedAsNewEventAttributes.Builder newBuilder(WorkflowExecutionContinuedAsNewEventAttributes prototype)
-
toBuilder
public WorkflowExecutionContinuedAsNewEventAttributes.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected WorkflowExecutionContinuedAsNewEventAttributes.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static WorkflowExecutionContinuedAsNewEventAttributes getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<WorkflowExecutionContinuedAsNewEventAttributes> parser()
-
getParserForType
public com.google.protobuf.Parser<WorkflowExecutionContinuedAsNewEventAttributes> 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 WorkflowExecutionContinuedAsNewEventAttributes getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-