Interface WorkflowExecutionInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
WorkflowExecutionInfo,WorkflowExecutionInfo.Builder
@Generated(value="protoc",
comments="annotations:WorkflowExecutionInfoOrBuilder.java.pb.meta")
public interface WorkflowExecutionInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.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;.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;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;com.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;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.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasExecution
boolean hasExecution().temporal.api.common.v1.WorkflowExecution execution = 1;- Returns:
- Whether the execution field is set.
-
getExecution
WorkflowExecution getExecution().temporal.api.common.v1.WorkflowExecution execution = 1;- Returns:
- The execution.
-
getExecutionOrBuilder
WorkflowExecutionOrBuilder getExecutionOrBuilder().temporal.api.common.v1.WorkflowExecution execution = 1; -
hasType
boolean hasType().temporal.api.common.v1.WorkflowType type = 2;- Returns:
- Whether the type field is set.
-
getType
-
getTypeOrBuilder
WorkflowTypeOrBuilder getTypeOrBuilder().temporal.api.common.v1.WorkflowType type = 2; -
hasStartTime
boolean hasStartTime().google.protobuf.Timestamp start_time = 3;- Returns:
- Whether the startTime field is set.
-
getStartTime
com.google.protobuf.Timestamp getStartTime().google.protobuf.Timestamp start_time = 3;- Returns:
- The startTime.
-
getStartTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder().google.protobuf.Timestamp start_time = 3; -
hasCloseTime
boolean hasCloseTime().google.protobuf.Timestamp close_time = 4;- Returns:
- Whether the closeTime field is set.
-
getCloseTime
com.google.protobuf.Timestamp getCloseTime().google.protobuf.Timestamp close_time = 4;- Returns:
- The closeTime.
-
getCloseTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCloseTimeOrBuilder().google.protobuf.Timestamp close_time = 4; -
getStatusValue
int getStatusValue().temporal.api.enums.v1.WorkflowExecutionStatus status = 5;- Returns:
- The enum numeric value on the wire for status.
-
getStatus
WorkflowExecutionStatus getStatus().temporal.api.enums.v1.WorkflowExecutionStatus status = 5;- Returns:
- The status.
-
getHistoryLength
long getHistoryLength()int64 history_length = 6;- Returns:
- The historyLength.
-
getParentNamespaceId
-
getParentNamespaceIdBytes
com.google.protobuf.ByteString getParentNamespaceIdBytes()string parent_namespace_id = 7;- Returns:
- The bytes for parentNamespaceId.
-
hasParentExecution
boolean hasParentExecution().temporal.api.common.v1.WorkflowExecution parent_execution = 8;- Returns:
- Whether the parentExecution field is set.
-
getParentExecution
WorkflowExecution getParentExecution().temporal.api.common.v1.WorkflowExecution parent_execution = 8;- Returns:
- The parentExecution.
-
getParentExecutionOrBuilder
WorkflowExecutionOrBuilder getParentExecutionOrBuilder().temporal.api.common.v1.WorkflowExecution parent_execution = 8; -
hasExecutionTime
boolean hasExecutionTime().google.protobuf.Timestamp execution_time = 9;- Returns:
- Whether the executionTime field is set.
-
getExecutionTime
com.google.protobuf.Timestamp getExecutionTime().google.protobuf.Timestamp execution_time = 9;- Returns:
- The executionTime.
-
getExecutionTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getExecutionTimeOrBuilder().google.protobuf.Timestamp execution_time = 9; -
hasMemo
boolean hasMemo().temporal.api.common.v1.Memo memo = 10;- Returns:
- Whether the memo field is set.
-
getMemo
-
getMemoOrBuilder
MemoOrBuilder getMemoOrBuilder().temporal.api.common.v1.Memo memo = 10; -
hasSearchAttributes
boolean hasSearchAttributes().temporal.api.common.v1.SearchAttributes search_attributes = 11;- Returns:
- Whether the searchAttributes field is set.
-
getSearchAttributes
SearchAttributes getSearchAttributes().temporal.api.common.v1.SearchAttributes search_attributes = 11;- Returns:
- The searchAttributes.
-
getSearchAttributesOrBuilder
SearchAttributesOrBuilder getSearchAttributesOrBuilder().temporal.api.common.v1.SearchAttributes search_attributes = 11; -
hasAutoResetPoints
boolean hasAutoResetPoints().temporal.api.workflow.v1.ResetPoints auto_reset_points = 12;- Returns:
- Whether the autoResetPoints field is set.
-
getAutoResetPoints
ResetPoints getAutoResetPoints().temporal.api.workflow.v1.ResetPoints auto_reset_points = 12;- Returns:
- The autoResetPoints.
-
getAutoResetPointsOrBuilder
ResetPointsOrBuilder getAutoResetPointsOrBuilder().temporal.api.workflow.v1.ResetPoints auto_reset_points = 12; -
getTaskQueue
-
getTaskQueueBytes
com.google.protobuf.ByteString getTaskQueueBytes()string task_queue = 13;- Returns:
- The bytes for taskQueue.
-
getStateTransitionCount
long getStateTransitionCount()int64 state_transition_count = 14;- Returns:
- The stateTransitionCount.
-
getHistorySizeBytes
long getHistorySizeBytes()int64 history_size_bytes = 15;- 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];- 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];- 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]; -
hasExecutionDuration
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;- Returns:
- Whether the executionDuration field is set.
-
getExecutionDuration
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;- Returns:
- The executionDuration.
-
getExecutionDurationOrBuilder
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; -
hasRootExecution
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;- Returns:
- Whether the rootExecution field is set.
-
getRootExecution
WorkflowExecution 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;- Returns:
- The rootExecution.
-
getRootExecutionOrBuilder
WorkflowExecutionOrBuilder 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; -
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];- 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];- 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];- 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];- Returns:
- The bytes for inheritedBuildId.
-
getFirstRunId
String 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;- Returns:
- The firstRunId.
-
getFirstRunIdBytes
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;- Returns:
- The bytes for firstRunId.
-
hasVersioningInfo
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;- Returns:
- Whether the versioningInfo field is set.
-
getVersioningInfo
WorkflowExecutionVersioningInfo 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;- Returns:
- The versioningInfo.
-
getVersioningInfoOrBuilder
WorkflowExecutionVersioningInfoOrBuilder 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; -
getWorkerDeploymentName
String getWorkerDeploymentName()The name of Worker Deployment that completed the most recent workflow task.
string worker_deployment_name = 23;- Returns:
- The workerDeploymentName.
-
getWorkerDeploymentNameBytes
com.google.protobuf.ByteString getWorkerDeploymentNameBytes()The name of Worker Deployment that completed the most recent workflow task.
string worker_deployment_name = 23;- Returns:
- The bytes for workerDeploymentName.
-
hasPriority
boolean hasPriority()Priority metadata
.temporal.api.common.v1.Priority priority = 24;- Returns:
- Whether the priority field is set.
-
getPriority
Priority getPriority()Priority metadata
.temporal.api.common.v1.Priority priority = 24;- Returns:
- The priority.
-
getPriorityOrBuilder
PriorityOrBuilder getPriorityOrBuilder()Priority metadata
.temporal.api.common.v1.Priority priority = 24; -
getExternalPayloadSizeBytes
long getExternalPayloadSizeBytes()Total size in bytes of all external payloads referenced in workflow history.
int64 external_payload_size_bytes = 25;- Returns:
- The externalPayloadSizeBytes.
-
getExternalPayloadCount
long getExternalPayloadCount()Count of external payloads referenced in workflow history.
int64 external_payload_count = 26;- Returns:
- The externalPayloadCount.
-