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,Serializable
@Generated(value="protoc",
comments="annotations:WorkflowExecutionContinuedAsNewEventAttributes.java.pb.meta")
public final class WorkflowExecutionContinuedAsNewEventAttributes
extends com.google.protobuf.GeneratedMessageV3
implements WorkflowExecutionContinuedAsNewEventAttributesOrBuilder
Protobuf type
temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typetemporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributesNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancom.google.protobuf.DurationHow long the server will wait before scheduling the first workflow task for the new run.com.google.protobuf.DurationOrBuilderHow long the server will wait before scheduling the first workflow task for the new run.static final com.google.protobuf.Descriptors.DescriptorDeprecated.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes.failure is deprecated.Deprecated..temporal.api.common.v1.Header header = 12;.temporal.api.common.v1.Header header = 12;booleanDeprecated.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes.inherit_build_id is deprecated.Experimental.intExperimental..temporal.api.enums.v1.ContinueAsNewInitiator initiator = 9;int.temporal.api.enums.v1.ContinueAsNewInitiator initiator = 9;getInput().temporal.api.common.v1.Payloads input = 4;.temporal.api.common.v1.Payloads input = 4;The result from the most recent completed run of this workflow.The result from the most recent completed run of this workflow.getMemo().temporal.api.common.v1.Memo memo = 13;.temporal.api.common.v1.Memo memo = 13;The run ID of the new workflow started by this continue-as-newcom.google.protobuf.ByteStringThe run ID of the new workflow started by this continue-as-newcom.google.protobuf.Parser<WorkflowExecutionContinuedAsNewEventAttributes> .temporal.api.common.v1.SearchAttributes search_attributes = 14;.temporal.api.common.v1.SearchAttributes search_attributes = 14;int.temporal.api.taskqueue.v1.TaskQueue task_queue = 3;.temporal.api.taskqueue.v1.TaskQueue task_queue = 3;com.google.protobuf.DurationTimeout of a single workflow run.com.google.protobuf.DurationOrBuilderTimeout of a single workflow run.longThe `WORKFLOW_TASK_COMPLETED` event which this command was reported withcom.google.protobuf.DurationTimeout of a single workflow task.com.google.protobuf.DurationOrBuilderTimeout of a single workflow task..temporal.api.common.v1.WorkflowType workflow_type = 2;.temporal.api.common.v1.WorkflowType workflow_type = 2;booleanHow long the server will wait before scheduling the first workflow task for the new run.booleanDeprecated.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes.failure is deprecated.inthashCode()boolean.temporal.api.common.v1.Header header = 12;booleanhasInput().temporal.api.common.v1.Payloads input = 4;booleanThe result from the most recent completed run of this workflow.booleanhasMemo().temporal.api.common.v1.Memo memo = 13;boolean.temporal.api.common.v1.SearchAttributes search_attributes = 14;boolean.temporal.api.taskqueue.v1.TaskQueue task_queue = 3;booleanTimeout of a single workflow run.booleanTimeout of a single workflow task.boolean.temporal.api.common.v1.WorkflowType workflow_type = 2;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<WorkflowExecutionContinuedAsNewEventAttributes> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NEW_EXECUTION_RUN_ID_FIELD_NUMBER
public static final int NEW_EXECUTION_RUN_ID_FIELD_NUMBER- See Also:
-
WORKFLOW_TYPE_FIELD_NUMBER
public static final int WORKFLOW_TYPE_FIELD_NUMBER- See Also:
-
TASK_QUEUE_FIELD_NUMBER
public static final int TASK_QUEUE_FIELD_NUMBER- See Also:
-
INPUT_FIELD_NUMBER
public static final int INPUT_FIELD_NUMBER- See Also:
-
WORKFLOW_RUN_TIMEOUT_FIELD_NUMBER
public static final int WORKFLOW_RUN_TIMEOUT_FIELD_NUMBER- See Also:
-
WORKFLOW_TASK_TIMEOUT_FIELD_NUMBER
public static final int WORKFLOW_TASK_TIMEOUT_FIELD_NUMBER- See Also:
-
WORKFLOW_TASK_COMPLETED_EVENT_ID_FIELD_NUMBER
public static final int WORKFLOW_TASK_COMPLETED_EVENT_ID_FIELD_NUMBER- See Also:
-
BACKOFF_START_INTERVAL_FIELD_NUMBER
public static final int BACKOFF_START_INTERVAL_FIELD_NUMBER- See Also:
-
INITIATOR_FIELD_NUMBER
public static final int INITIATOR_FIELD_NUMBER- See Also:
-
FAILURE_FIELD_NUMBER
public static final int FAILURE_FIELD_NUMBER- See Also:
-
LAST_COMPLETION_RESULT_FIELD_NUMBER
public static final int LAST_COMPLETION_RESULT_FIELD_NUMBER- See Also:
-
HEADER_FIELD_NUMBER
public static final int HEADER_FIELD_NUMBER- See Also:
-
MEMO_FIELD_NUMBER
public static final int MEMO_FIELD_NUMBER- See Also:
-
SEARCH_ATTRIBUTES_FIELD_NUMBER
public static final int SEARCH_ATTRIBUTES_FIELD_NUMBER- See Also:
-
INHERIT_BUILD_ID_FIELD_NUMBER
public static final int INHERIT_BUILD_ID_FIELD_NUMBER- See Also:
-
INITIAL_VERSIONING_BEHAVIOR_FIELD_NUMBER
public static final int INITIAL_VERSIONING_BEHAVIOR_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getNewExecutionRunId
The run ID of the new workflow started by this continue-as-new
string new_execution_run_id = 1;- Specified by:
getNewExecutionRunIdin 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:
getNewExecutionRunIdBytesin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- The bytes for newExecutionRunId.
-
hasWorkflowType
public boolean hasWorkflowType().temporal.api.common.v1.WorkflowType workflow_type = 2;- Specified by:
hasWorkflowTypein interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- Whether the workflowType field is set.
-
getWorkflowType
.temporal.api.common.v1.WorkflowType workflow_type = 2;- Specified by:
getWorkflowTypein interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- The workflowType.
-
getWorkflowTypeOrBuilder
.temporal.api.common.v1.WorkflowType workflow_type = 2;- Specified by:
getWorkflowTypeOrBuilderin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder
-
hasTaskQueue
public boolean hasTaskQueue().temporal.api.taskqueue.v1.TaskQueue task_queue = 3;- Specified by:
hasTaskQueuein interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- Whether the taskQueue field is set.
-
getTaskQueue
.temporal.api.taskqueue.v1.TaskQueue task_queue = 3;- Specified by:
getTaskQueuein interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- The taskQueue.
-
getTaskQueueOrBuilder
.temporal.api.taskqueue.v1.TaskQueue task_queue = 3;- Specified by:
getTaskQueueOrBuilderin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder
-
hasInput
public boolean hasInput().temporal.api.common.v1.Payloads input = 4;- Specified by:
hasInputin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- Whether the input field is set.
-
getInput
.temporal.api.common.v1.Payloads input = 4;- Specified by:
getInputin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- The input.
-
getInputOrBuilder
.temporal.api.common.v1.Payloads input = 4;- Specified by:
getInputOrBuilderin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder
-
hasWorkflowRunTimeout
public boolean hasWorkflowRunTimeout()Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 5;- Specified by:
hasWorkflowRunTimeoutin 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;- Specified by:
getWorkflowRunTimeoutin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- The workflowRunTimeout.
-
getWorkflowRunTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getWorkflowRunTimeoutOrBuilder()Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 5;- Specified by:
getWorkflowRunTimeoutOrBuilderin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder
-
hasWorkflowTaskTimeout
public boolean hasWorkflowTaskTimeout()Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 6;- Specified by:
hasWorkflowTaskTimeoutin 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;- Specified by:
getWorkflowTaskTimeoutin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- The workflowTaskTimeout.
-
getWorkflowTaskTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getWorkflowTaskTimeoutOrBuilder()Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 6;- Specified by:
getWorkflowTaskTimeoutOrBuilderin 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:
getWorkflowTaskCompletedEventIdin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- The workflowTaskCompletedEventId.
-
hasBackoffStartInterval
public boolean hasBackoffStartInterval()How long the server will wait before scheduling the first workflow task for the new run. Used for cron, retry, and other continue-as-new cases that server may enforce some minimal delay between new runs for system protection purpose.
.google.protobuf.Duration backoff_start_interval = 8;- Specified by:
hasBackoffStartIntervalin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- Whether the backoffStartInterval field is set.
-
getBackoffStartInterval
public com.google.protobuf.Duration getBackoffStartInterval()How long the server will wait before scheduling the first workflow task for the new run. Used for cron, retry, and other continue-as-new cases that server may enforce some minimal delay between new runs for system protection purpose.
.google.protobuf.Duration backoff_start_interval = 8;- Specified by:
getBackoffStartIntervalin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- The backoffStartInterval.
-
getBackoffStartIntervalOrBuilder
public com.google.protobuf.DurationOrBuilder getBackoffStartIntervalOrBuilder()How long the server will wait before scheduling the first workflow task for the new run. Used for cron, retry, and other continue-as-new cases that server may enforce some minimal delay between new runs for system protection purpose.
.google.protobuf.Duration backoff_start_interval = 8;- Specified by:
getBackoffStartIntervalOrBuilderin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder
-
getInitiatorValue
public int getInitiatorValue().temporal.api.enums.v1.ContinueAsNewInitiator initiator = 9;- Specified by:
getInitiatorValuein interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- The enum numeric value on the wire for initiator.
-
getInitiator
.temporal.api.enums.v1.ContinueAsNewInitiator initiator = 9;- Specified by:
getInitiatorin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- The initiator.
-
hasFailure
Deprecated.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes.failure is deprecated. See temporal/api/history/v1/message.proto;l=274Deprecated. 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 [deprecated = true];- Specified by:
hasFailurein interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- Whether the failure field is set.
-
getFailure
Deprecated.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes.failure is deprecated. See temporal/api/history/v1/message.proto;l=274Deprecated. 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 [deprecated = true];- Specified by:
getFailurein interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- The failure.
-
getFailureOrBuilder
Deprecated.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 [deprecated = true];- Specified by:
getFailureOrBuilderin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder
-
hasLastCompletionResult
public boolean hasLastCompletionResult()The result from the most recent completed run of this workflow. The SDK surfaces this to the new run via APIs such as `GetLastCompletionResult`.
.temporal.api.common.v1.Payloads last_completion_result = 11;- Specified by:
hasLastCompletionResultin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- Whether the lastCompletionResult field is set.
-
getLastCompletionResult
The result from the most recent completed run of this workflow. The SDK surfaces this to the new run via APIs such as `GetLastCompletionResult`.
.temporal.api.common.v1.Payloads last_completion_result = 11;- Specified by:
getLastCompletionResultin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- The lastCompletionResult.
-
getLastCompletionResultOrBuilder
The result from the most recent completed run of this workflow. The SDK surfaces this to the new run via APIs such as `GetLastCompletionResult`.
.temporal.api.common.v1.Payloads last_completion_result = 11;- Specified by:
getLastCompletionResultOrBuilderin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder
-
hasHeader
public boolean hasHeader().temporal.api.common.v1.Header header = 12;- Specified by:
hasHeaderin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- Whether the header field is set.
-
getHeader
.temporal.api.common.v1.Header header = 12;- Specified by:
getHeaderin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- The header.
-
getHeaderOrBuilder
.temporal.api.common.v1.Header header = 12;- Specified by:
getHeaderOrBuilderin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder
-
hasMemo
public boolean hasMemo().temporal.api.common.v1.Memo memo = 13;- Specified by:
hasMemoin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- Whether the memo field is set.
-
getMemo
.temporal.api.common.v1.Memo memo = 13;- Specified by:
getMemoin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- The memo.
-
getMemoOrBuilder
.temporal.api.common.v1.Memo memo = 13;- Specified by:
getMemoOrBuilderin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder
-
hasSearchAttributes
public boolean hasSearchAttributes().temporal.api.common.v1.SearchAttributes search_attributes = 14;- Specified by:
hasSearchAttributesin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- Whether the searchAttributes field is set.
-
getSearchAttributes
.temporal.api.common.v1.SearchAttributes search_attributes = 14;- Specified by:
getSearchAttributesin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- The searchAttributes.
-
getSearchAttributesOrBuilder
.temporal.api.common.v1.SearchAttributes search_attributes = 14;- Specified by:
getSearchAttributesOrBuilderin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder
-
getInheritBuildId
Deprecated.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes.inherit_build_id is deprecated. See temporal/api/history/v1/message.proto;l=284If this is set, the new execution inherits the Build ID of the current execution. Otherwise, the assignment rules will be used to independently assign a Build ID to the new execution. Deprecated. Only considered for versioning v0.2.
bool inherit_build_id = 15 [deprecated = true];- Specified by:
getInheritBuildIdin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- The inheritBuildId.
-
getInitialVersioningBehaviorValue
public int getInitialVersioningBehaviorValue()Experimental. Optionally decide the versioning behavior that the first task of the new run should use. For example, choose to AutoUpgrade on continue-as-new instead of inheriting the pinned version of the previous run.
.temporal.api.enums.v1.ContinueAsNewVersioningBehavior initial_versioning_behavior = 16;- Specified by:
getInitialVersioningBehaviorValuein interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- The enum numeric value on the wire for initialVersioningBehavior.
-
getInitialVersioningBehavior
Experimental. Optionally decide the versioning behavior that the first task of the new run should use. For example, choose to AutoUpgrade on continue-as-new instead of inheriting the pinned version of the previous run.
.temporal.api.enums.v1.ContinueAsNewVersioningBehavior initial_versioning_behavior = 16;- Specified by:
getInitialVersioningBehaviorin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- The initialVersioningBehavior.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static WorkflowExecutionContinuedAsNewEventAttributes parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WorkflowExecutionContinuedAsNewEventAttributes parseFrom(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(InputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static WorkflowExecutionContinuedAsNewEventAttributes parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static WorkflowExecutionContinuedAsNewEventAttributes parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static WorkflowExecutionContinuedAsNewEventAttributes parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static WorkflowExecutionContinuedAsNewEventAttributes parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static WorkflowExecutionContinuedAsNewEventAttributes parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static WorkflowExecutionContinuedAsNewEventAttributes.Builder newBuilder(WorkflowExecutionContinuedAsNewEventAttributes prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected WorkflowExecutionContinuedAsNewEventAttributes.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
public com.google.protobuf.Parser<WorkflowExecutionContinuedAsNewEventAttributes> getParserForType()- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-