Class WorkflowExecutionInfo
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.temporal.api.workflow.v1.WorkflowExecutionInfo
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,WorkflowExecutionInfoOrBuilder,Serializable
@Generated(value="protoc",
comments="annotations:WorkflowExecutionInfo.java.pb.meta")
public final class WorkflowExecutionInfo
extends com.google.protobuf.GeneratedMessageV3
implements WorkflowExecutionInfoOrBuilder
Hold basic information about a workflow execution. This structure is a part of visibility, and thus contain a limited subset of information.Protobuf type
temporal.api.workflow.v1.WorkflowExecutionInfo- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHold basic information about a workflow execution.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final 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 TypeMethodDescriptionbooleanDeprecated.temporal.api.workflow.v1.WorkflowExecutionInfo.assigned_build_id is deprecated.com.google.protobuf.ByteStringDeprecated.temporal.api.workflow.v1.WorkflowExecutionInfo.assigned_build_id is deprecated..temporal.api.workflow.v1.ResetPoints auto_reset_points = 12;.temporal.api.workflow.v1.ResetPoints auto_reset_points = 12;com.google.protobuf.Timestamp.google.protobuf.Timestamp close_time = 4;com.google.protobuf.TimestampOrBuilder.google.protobuf.Timestamp close_time = 4;static WorkflowExecutionInfostatic final com.google.protobuf.Descriptors.Descriptor.temporal.api.common.v1.WorkflowExecution execution = 1;com.google.protobuf.DurationWorkflow execution duration is defined as difference between close time and execution time.com.google.protobuf.DurationOrBuilderWorkflow execution duration is defined as difference between close time and execution time..temporal.api.common.v1.WorkflowExecution execution = 1;com.google.protobuf.Timestamp.google.protobuf.Timestamp execution_time = 9;com.google.protobuf.TimestampOrBuilder.google.protobuf.Timestamp execution_time = 9;longCount of external payloads referenced in workflow history.longTotal size in bytes of all external payloads referenced in workflow history.The first run ID in the execution chain.com.google.protobuf.ByteStringThe first run ID in the execution chain.longint64 history_length = 6;longint64 history_size_bytes = 15;Deprecated.temporal.api.workflow.v1.WorkflowExecutionInfo.inherited_build_id is deprecated.com.google.protobuf.ByteStringDeprecated.temporal.api.workflow.v1.WorkflowExecutionInfo.inherited_build_id is deprecated.getMemo().temporal.api.common.v1.Memo memo = 10;.temporal.api.common.v1.Memo memo = 10;Deprecated.temporal.api.workflow.v1.WorkflowExecutionInfo.most_recent_worker_version_stamp is deprecated.Deprecated..temporal.api.common.v1.WorkflowExecution parent_execution = 8;.temporal.api.common.v1.WorkflowExecution parent_execution = 8;string parent_namespace_id = 7;com.google.protobuf.ByteStringstring parent_namespace_id = 7;com.google.protobuf.Parser<WorkflowExecutionInfo> Priority metadataPriority metadataContains information about the root workflow execution.Contains information about the root workflow execution..temporal.api.common.v1.SearchAttributes search_attributes = 11;.temporal.api.common.v1.SearchAttributes search_attributes = 11;intcom.google.protobuf.Timestamp.google.protobuf.Timestamp start_time = 3;com.google.protobuf.TimestampOrBuilder.google.protobuf.Timestamp start_time = 3;longint64 state_transition_count = 14;.temporal.api.enums.v1.WorkflowExecutionStatus status = 5;int.temporal.api.enums.v1.WorkflowExecutionStatus status = 5;string task_queue = 13;com.google.protobuf.ByteStringstring task_queue = 13;getType().temporal.api.common.v1.WorkflowType type = 2;.temporal.api.common.v1.WorkflowType type = 2;Absent value means the workflow execution is not versioned.Absent value means the workflow execution is not versioned.The name of Worker Deployment that completed the most recent workflow task.com.google.protobuf.ByteStringThe name of Worker Deployment that completed the most recent workflow task.boolean.temporal.api.workflow.v1.ResetPoints auto_reset_points = 12;boolean.google.protobuf.Timestamp close_time = 4;boolean.temporal.api.common.v1.WorkflowExecution execution = 1;booleanWorkflow execution duration is defined as difference between close time and execution time.boolean.google.protobuf.Timestamp execution_time = 9;inthashCode()booleanhasMemo().temporal.api.common.v1.Memo memo = 10;booleanDeprecated.temporal.api.workflow.v1.WorkflowExecutionInfo.most_recent_worker_version_stamp is deprecated.boolean.temporal.api.common.v1.WorkflowExecution parent_execution = 8;booleanPriority metadatabooleanContains information about the root workflow execution.boolean.temporal.api.common.v1.SearchAttributes search_attributes = 11;boolean.google.protobuf.Timestamp start_time = 3;booleanhasType().temporal.api.common.v1.WorkflowType type = 2;booleanAbsent value means the workflow execution is not versioned.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(WorkflowExecutionInfo prototype) protected WorkflowExecutionInfo.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static WorkflowExecutionInfoparseDelimitedFrom(InputStream input) static WorkflowExecutionInfoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static WorkflowExecutionInfoparseFrom(byte[] data) static WorkflowExecutionInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static WorkflowExecutionInfoparseFrom(com.google.protobuf.ByteString data) static WorkflowExecutionInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static WorkflowExecutionInfoparseFrom(com.google.protobuf.CodedInputStream input) static WorkflowExecutionInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static WorkflowExecutionInfoparseFrom(InputStream input) static WorkflowExecutionInfoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static WorkflowExecutionInfoparseFrom(ByteBuffer data) static WorkflowExecutionInfoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<WorkflowExecutionInfo> 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
-
EXECUTION_FIELD_NUMBER
public static final int EXECUTION_FIELD_NUMBER- See Also:
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER- See Also:
-
CLOSE_TIME_FIELD_NUMBER
public static final int CLOSE_TIME_FIELD_NUMBER- See Also:
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER- See Also:
-
HISTORY_LENGTH_FIELD_NUMBER
public static final int HISTORY_LENGTH_FIELD_NUMBER- See Also:
-
PARENT_NAMESPACE_ID_FIELD_NUMBER
public static final int PARENT_NAMESPACE_ID_FIELD_NUMBER- See Also:
-
PARENT_EXECUTION_FIELD_NUMBER
public static final int PARENT_EXECUTION_FIELD_NUMBER- See Also:
-
EXECUTION_TIME_FIELD_NUMBER
public static final int EXECUTION_TIME_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:
-
AUTO_RESET_POINTS_FIELD_NUMBER
public static final int AUTO_RESET_POINTS_FIELD_NUMBER- See Also:
-
TASK_QUEUE_FIELD_NUMBER
public static final int TASK_QUEUE_FIELD_NUMBER- See Also:
-
STATE_TRANSITION_COUNT_FIELD_NUMBER
public static final int STATE_TRANSITION_COUNT_FIELD_NUMBER- See Also:
-
HISTORY_SIZE_BYTES_FIELD_NUMBER
public static final int HISTORY_SIZE_BYTES_FIELD_NUMBER- See Also:
-
MOST_RECENT_WORKER_VERSION_STAMP_FIELD_NUMBER
public static final int MOST_RECENT_WORKER_VERSION_STAMP_FIELD_NUMBER- See Also:
-
EXECUTION_DURATION_FIELD_NUMBER
public static final int EXECUTION_DURATION_FIELD_NUMBER- See Also:
-
ROOT_EXECUTION_FIELD_NUMBER
public static final int ROOT_EXECUTION_FIELD_NUMBER- See Also:
-
ASSIGNED_BUILD_ID_FIELD_NUMBER
public static final int ASSIGNED_BUILD_ID_FIELD_NUMBER- See Also:
-
INHERITED_BUILD_ID_FIELD_NUMBER
public static final int INHERITED_BUILD_ID_FIELD_NUMBER- See Also:
-
FIRST_RUN_ID_FIELD_NUMBER
public static final int FIRST_RUN_ID_FIELD_NUMBER- See Also:
-
VERSIONING_INFO_FIELD_NUMBER
public static final int VERSIONING_INFO_FIELD_NUMBER- See Also:
-
WORKER_DEPLOYMENT_NAME_FIELD_NUMBER
public static final int WORKER_DEPLOYMENT_NAME_FIELD_NUMBER- See Also:
-
PRIORITY_FIELD_NUMBER
public static final int PRIORITY_FIELD_NUMBER- See Also:
-
EXTERNAL_PAYLOAD_SIZE_BYTES_FIELD_NUMBER
public static final int EXTERNAL_PAYLOAD_SIZE_BYTES_FIELD_NUMBER- See Also:
-
EXTERNAL_PAYLOAD_COUNT_FIELD_NUMBER
public static final int EXTERNAL_PAYLOAD_COUNT_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
-
hasExecution
public boolean hasExecution().temporal.api.common.v1.WorkflowExecution execution = 1;- Specified by:
hasExecutionin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- Whether the execution field is set.
-
getExecution
.temporal.api.common.v1.WorkflowExecution execution = 1;- Specified by:
getExecutionin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The execution.
-
getExecutionOrBuilder
.temporal.api.common.v1.WorkflowExecution execution = 1;- Specified by:
getExecutionOrBuilderin interfaceWorkflowExecutionInfoOrBuilder
-
hasType
public boolean hasType().temporal.api.common.v1.WorkflowType type = 2;- Specified by:
hasTypein interfaceWorkflowExecutionInfoOrBuilder- Returns:
- Whether the type field is set.
-
getType
.temporal.api.common.v1.WorkflowType type = 2;- Specified by:
getTypein interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The type.
-
getTypeOrBuilder
.temporal.api.common.v1.WorkflowType type = 2;- Specified by:
getTypeOrBuilderin interfaceWorkflowExecutionInfoOrBuilder
-
hasStartTime
public boolean hasStartTime().google.protobuf.Timestamp start_time = 3;- Specified by:
hasStartTimein interfaceWorkflowExecutionInfoOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public com.google.protobuf.Timestamp getStartTime().google.protobuf.Timestamp start_time = 3;- Specified by:
getStartTimein interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The startTime.
-
getStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder().google.protobuf.Timestamp start_time = 3;- Specified by:
getStartTimeOrBuilderin interfaceWorkflowExecutionInfoOrBuilder
-
hasCloseTime
public boolean hasCloseTime().google.protobuf.Timestamp close_time = 4;- Specified by:
hasCloseTimein interfaceWorkflowExecutionInfoOrBuilder- Returns:
- Whether the closeTime field is set.
-
getCloseTime
public com.google.protobuf.Timestamp getCloseTime().google.protobuf.Timestamp close_time = 4;- Specified by:
getCloseTimein interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The closeTime.
-
getCloseTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCloseTimeOrBuilder().google.protobuf.Timestamp close_time = 4;- Specified by:
getCloseTimeOrBuilderin interfaceWorkflowExecutionInfoOrBuilder
-
getStatusValue
public int getStatusValue().temporal.api.enums.v1.WorkflowExecutionStatus status = 5;- Specified by:
getStatusValuein interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
getStatus
.temporal.api.enums.v1.WorkflowExecutionStatus status = 5;- Specified by:
getStatusin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The status.
-
getHistoryLength
public long getHistoryLength()int64 history_length = 6;- Specified by:
getHistoryLengthin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The historyLength.
-
getParentNamespaceId
string parent_namespace_id = 7;- Specified by:
getParentNamespaceIdin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The parentNamespaceId.
-
getParentNamespaceIdBytes
public com.google.protobuf.ByteString getParentNamespaceIdBytes()string parent_namespace_id = 7;- Specified by:
getParentNamespaceIdBytesin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The bytes for parentNamespaceId.
-
hasParentExecution
public boolean hasParentExecution().temporal.api.common.v1.WorkflowExecution parent_execution = 8;- Specified by:
hasParentExecutionin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- Whether the parentExecution field is set.
-
getParentExecution
.temporal.api.common.v1.WorkflowExecution parent_execution = 8;- Specified by:
getParentExecutionin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The parentExecution.
-
getParentExecutionOrBuilder
.temporal.api.common.v1.WorkflowExecution parent_execution = 8;- Specified by:
getParentExecutionOrBuilderin interfaceWorkflowExecutionInfoOrBuilder
-
hasExecutionTime
public boolean hasExecutionTime().google.protobuf.Timestamp execution_time = 9;- Specified by:
hasExecutionTimein interfaceWorkflowExecutionInfoOrBuilder- Returns:
- Whether the executionTime field is set.
-
getExecutionTime
public com.google.protobuf.Timestamp getExecutionTime().google.protobuf.Timestamp execution_time = 9;- Specified by:
getExecutionTimein interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The executionTime.
-
getExecutionTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getExecutionTimeOrBuilder().google.protobuf.Timestamp execution_time = 9;- Specified by:
getExecutionTimeOrBuilderin interfaceWorkflowExecutionInfoOrBuilder
-
hasMemo
public boolean hasMemo().temporal.api.common.v1.Memo memo = 10;- Specified by:
hasMemoin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- Whether the memo field is set.
-
getMemo
.temporal.api.common.v1.Memo memo = 10;- Specified by:
getMemoin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The memo.
-
getMemoOrBuilder
.temporal.api.common.v1.Memo memo = 10;- Specified by:
getMemoOrBuilderin interfaceWorkflowExecutionInfoOrBuilder
-
hasSearchAttributes
public boolean hasSearchAttributes().temporal.api.common.v1.SearchAttributes search_attributes = 11;- Specified by:
hasSearchAttributesin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- Whether the searchAttributes field is set.
-
getSearchAttributes
.temporal.api.common.v1.SearchAttributes search_attributes = 11;- Specified by:
getSearchAttributesin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The searchAttributes.
-
getSearchAttributesOrBuilder
.temporal.api.common.v1.SearchAttributes search_attributes = 11;- Specified by:
getSearchAttributesOrBuilderin interfaceWorkflowExecutionInfoOrBuilder
-
hasAutoResetPoints
public boolean hasAutoResetPoints().temporal.api.workflow.v1.ResetPoints auto_reset_points = 12;- Specified by:
hasAutoResetPointsin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- Whether the autoResetPoints field is set.
-
getAutoResetPoints
.temporal.api.workflow.v1.ResetPoints auto_reset_points = 12;- Specified by:
getAutoResetPointsin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The autoResetPoints.
-
getAutoResetPointsOrBuilder
.temporal.api.workflow.v1.ResetPoints auto_reset_points = 12;- Specified by:
getAutoResetPointsOrBuilderin interfaceWorkflowExecutionInfoOrBuilder
-
getTaskQueue
string task_queue = 13;- Specified by:
getTaskQueuein interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The taskQueue.
-
getTaskQueueBytes
public com.google.protobuf.ByteString getTaskQueueBytes()string task_queue = 13;- Specified by:
getTaskQueueBytesin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The bytes for taskQueue.
-
getStateTransitionCount
public long getStateTransitionCount()int64 state_transition_count = 14;- Specified by:
getStateTransitionCountin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The stateTransitionCount.
-
getHistorySizeBytes
public long getHistorySizeBytes()int64 history_size_bytes = 15;- Specified by:
getHistorySizeBytesin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The historySizeBytes.
-
hasMostRecentWorkerVersionStamp
Deprecated.temporal.api.workflow.v1.WorkflowExecutionInfo.most_recent_worker_version_stamp is deprecated. See temporal/api/workflow/v1/message.proto;l=47If set, the most recent worker version stamp that appeared in a workflow task completion Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
.temporal.api.common.v1.WorkerVersionStamp most_recent_worker_version_stamp = 16 [deprecated = true];- Specified by:
hasMostRecentWorkerVersionStampin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- Whether the mostRecentWorkerVersionStamp field is set.
-
getMostRecentWorkerVersionStamp
Deprecated.temporal.api.workflow.v1.WorkflowExecutionInfo.most_recent_worker_version_stamp is deprecated. See temporal/api/workflow/v1/message.proto;l=47If set, the most recent worker version stamp that appeared in a workflow task completion Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
.temporal.api.common.v1.WorkerVersionStamp most_recent_worker_version_stamp = 16 [deprecated = true];- Specified by:
getMostRecentWorkerVersionStampin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The mostRecentWorkerVersionStamp.
-
getMostRecentWorkerVersionStampOrBuilder
Deprecated.If set, the most recent worker version stamp that appeared in a workflow task completion Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
.temporal.api.common.v1.WorkerVersionStamp most_recent_worker_version_stamp = 16 [deprecated = true];- Specified by:
getMostRecentWorkerVersionStampOrBuilderin interfaceWorkflowExecutionInfoOrBuilder
-
hasExecutionDuration
public boolean hasExecutionDuration()Workflow execution duration is defined as difference between close time and execution time. This field is only populated if the workflow is closed.
.google.protobuf.Duration execution_duration = 17;- Specified by:
hasExecutionDurationin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- Whether the executionDuration field is set.
-
getExecutionDuration
public com.google.protobuf.Duration getExecutionDuration()Workflow execution duration is defined as difference between close time and execution time. This field is only populated if the workflow is closed.
.google.protobuf.Duration execution_duration = 17;- Specified by:
getExecutionDurationin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The executionDuration.
-
getExecutionDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getExecutionDurationOrBuilder()Workflow execution duration is defined as difference between close time and execution time. This field is only populated if the workflow is closed.
.google.protobuf.Duration execution_duration = 17;- Specified by:
getExecutionDurationOrBuilderin interfaceWorkflowExecutionInfoOrBuilder
-
hasRootExecution
public boolean hasRootExecution()Contains information about the root workflow execution. The root workflow execution is defined as follows: 1. A workflow without parent workflow is its own root workflow. 2. A workflow that has a parent workflow has the same root workflow as its parent workflow. Note: workflows continued as new or reseted may or may not have parents, check examples below. Examples: Scenario 1: Workflow W1 starts child workflow W2, and W2 starts child workflow W3. - The root workflow of all three workflows is W1. Scenario 2: Workflow W1 starts child workflow W2, and W2 continued as new W3. - The root workflow of all three workflows is W1. Scenario 3: Workflow W1 continued as new W2. - The root workflow of W1 is W1 and the root workflow of W2 is W2. Scenario 4: Workflow W1 starts child workflow W2, and W2 is reseted, creating W3 - The root workflow of all three workflows is W1. Scenario 5: Workflow W1 is reseted, creating W2. - The root workflow of W1 is W1 and the root workflow of W2 is W2..temporal.api.common.v1.WorkflowExecution root_execution = 18;- Specified by:
hasRootExecutionin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- Whether the rootExecution field is set.
-
getRootExecution
Contains information about the root workflow execution. The root workflow execution is defined as follows: 1. A workflow without parent workflow is its own root workflow. 2. A workflow that has a parent workflow has the same root workflow as its parent workflow. Note: workflows continued as new or reseted may or may not have parents, check examples below. Examples: Scenario 1: Workflow W1 starts child workflow W2, and W2 starts child workflow W3. - The root workflow of all three workflows is W1. Scenario 2: Workflow W1 starts child workflow W2, and W2 continued as new W3. - The root workflow of all three workflows is W1. Scenario 3: Workflow W1 continued as new W2. - The root workflow of W1 is W1 and the root workflow of W2 is W2. Scenario 4: Workflow W1 starts child workflow W2, and W2 is reseted, creating W3 - The root workflow of all three workflows is W1. Scenario 5: Workflow W1 is reseted, creating W2. - The root workflow of W1 is W1 and the root workflow of W2 is W2..temporal.api.common.v1.WorkflowExecution root_execution = 18;- Specified by:
getRootExecutionin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The rootExecution.
-
getRootExecutionOrBuilder
Contains information about the root workflow execution. The root workflow execution is defined as follows: 1. A workflow without parent workflow is its own root workflow. 2. A workflow that has a parent workflow has the same root workflow as its parent workflow. Note: workflows continued as new or reseted may or may not have parents, check examples below. Examples: Scenario 1: Workflow W1 starts child workflow W2, and W2 starts child workflow W3. - The root workflow of all three workflows is W1. Scenario 2: Workflow W1 starts child workflow W2, and W2 continued as new W3. - The root workflow of all three workflows is W1. Scenario 3: Workflow W1 continued as new W2. - The root workflow of W1 is W1 and the root workflow of W2 is W2. Scenario 4: Workflow W1 starts child workflow W2, and W2 is reseted, creating W3 - The root workflow of all three workflows is W1. Scenario 5: Workflow W1 is reseted, creating W2. - The root workflow of W1 is W1 and the root workflow of W2 is W2..temporal.api.common.v1.WorkflowExecution root_execution = 18;- Specified by:
getRootExecutionOrBuilderin interfaceWorkflowExecutionInfoOrBuilder
-
getAssignedBuildId
Deprecated.temporal.api.workflow.v1.WorkflowExecutionInfo.assigned_build_id is deprecated. See temporal/api/workflow/v1/message.proto;l=76The currently assigned build ID for this execution. Presence of this value means worker versioning is used for this execution. Assigned build ID is selected based on Worker Versioning Assignment Rules when the first workflow task of the execution is scheduled. If the first workflow task fails and is scheduled again, the assigned build ID may change according to the latest versioning rules. Assigned build ID can also change in the middle of a execution if Compatible Redirect Rules are applied to this execution. Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
string assigned_build_id = 19 [deprecated = true];- Specified by:
getAssignedBuildIdin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The assignedBuildId.
-
getAssignedBuildIdBytes
Deprecated.temporal.api.workflow.v1.WorkflowExecutionInfo.assigned_build_id is deprecated. See temporal/api/workflow/v1/message.proto;l=76The currently assigned build ID for this execution. Presence of this value means worker versioning is used for this execution. Assigned build ID is selected based on Worker Versioning Assignment Rules when the first workflow task of the execution is scheduled. If the first workflow task fails and is scheduled again, the assigned build ID may change according to the latest versioning rules. Assigned build ID can also change in the middle of a execution if Compatible Redirect Rules are applied to this execution. Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
string assigned_build_id = 19 [deprecated = true];- Specified by:
getAssignedBuildIdBytesin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The bytes for assignedBuildId.
-
getInheritedBuildId
Deprecated.temporal.api.workflow.v1.WorkflowExecutionInfo.inherited_build_id is deprecated. See temporal/api/workflow/v1/message.proto;l=80Build ID inherited from a previous/parent execution. If present, assigned_build_id will be set to this, instead of using the assignment rules. Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
string inherited_build_id = 20 [deprecated = true];- Specified by:
getInheritedBuildIdin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The inheritedBuildId.
-
getInheritedBuildIdBytes
Deprecated.temporal.api.workflow.v1.WorkflowExecutionInfo.inherited_build_id is deprecated. See temporal/api/workflow/v1/message.proto;l=80Build ID inherited from a previous/parent execution. If present, assigned_build_id will be set to this, instead of using the assignment rules. Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
string inherited_build_id = 20 [deprecated = true];- Specified by:
getInheritedBuildIdBytesin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The bytes for inheritedBuildId.
-
getFirstRunId
The first run ID in the execution chain. Executions created via the following operations are considered to be in the same chain - ContinueAsNew - Workflow Retry - Workflow Reset - Cron Schedule
string first_run_id = 21;- Specified by:
getFirstRunIdin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The firstRunId.
-
getFirstRunIdBytes
public com.google.protobuf.ByteString getFirstRunIdBytes()The first run ID in the execution chain. Executions created via the following operations are considered to be in the same chain - ContinueAsNew - Workflow Retry - Workflow Reset - Cron Schedule
string first_run_id = 21;- Specified by:
getFirstRunIdBytesin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The bytes for firstRunId.
-
hasVersioningInfo
public boolean hasVersioningInfo()Absent value means the workflow execution is not versioned. When present, the execution might be versioned or unversioned, depending on `versioning_info.behavior` and `versioning_info.versioning_override`. Experimental. Versioning info is experimental and might change in the future.
.temporal.api.workflow.v1.WorkflowExecutionVersioningInfo versioning_info = 22;- Specified by:
hasVersioningInfoin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- Whether the versioningInfo field is set.
-
getVersioningInfo
Absent value means the workflow execution is not versioned. When present, the execution might be versioned or unversioned, depending on `versioning_info.behavior` and `versioning_info.versioning_override`. Experimental. Versioning info is experimental and might change in the future.
.temporal.api.workflow.v1.WorkflowExecutionVersioningInfo versioning_info = 22;- Specified by:
getVersioningInfoin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The versioningInfo.
-
getVersioningInfoOrBuilder
Absent value means the workflow execution is not versioned. When present, the execution might be versioned or unversioned, depending on `versioning_info.behavior` and `versioning_info.versioning_override`. Experimental. Versioning info is experimental and might change in the future.
.temporal.api.workflow.v1.WorkflowExecutionVersioningInfo versioning_info = 22;- Specified by:
getVersioningInfoOrBuilderin interfaceWorkflowExecutionInfoOrBuilder
-
getWorkerDeploymentName
The name of Worker Deployment that completed the most recent workflow task.
string worker_deployment_name = 23;- Specified by:
getWorkerDeploymentNamein interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The workerDeploymentName.
-
getWorkerDeploymentNameBytes
public com.google.protobuf.ByteString getWorkerDeploymentNameBytes()The name of Worker Deployment that completed the most recent workflow task.
string worker_deployment_name = 23;- Specified by:
getWorkerDeploymentNameBytesin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The bytes for workerDeploymentName.
-
hasPriority
public boolean hasPriority()Priority metadata
.temporal.api.common.v1.Priority priority = 24;- Specified by:
hasPriorityin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- Whether the priority field is set.
-
getPriority
Priority metadata
.temporal.api.common.v1.Priority priority = 24;- Specified by:
getPriorityin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The priority.
-
getPriorityOrBuilder
Priority metadata
.temporal.api.common.v1.Priority priority = 24;- Specified by:
getPriorityOrBuilderin interfaceWorkflowExecutionInfoOrBuilder
-
getExternalPayloadSizeBytes
public long getExternalPayloadSizeBytes()Total size in bytes of all external payloads referenced in workflow history.
int64 external_payload_size_bytes = 25;- Specified by:
getExternalPayloadSizeBytesin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The externalPayloadSizeBytes.
-
getExternalPayloadCount
public long getExternalPayloadCount()Count of external payloads referenced in workflow history.
int64 external_payload_count = 26;- Specified by:
getExternalPayloadCountin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The externalPayloadCount.
-
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 WorkflowExecutionInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WorkflowExecutionInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WorkflowExecutionInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WorkflowExecutionInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WorkflowExecutionInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WorkflowExecutionInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static WorkflowExecutionInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static WorkflowExecutionInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static WorkflowExecutionInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static WorkflowExecutionInfo 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
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected WorkflowExecutionInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-