Package io.temporal.api.workflow.v1
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
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.lang.StringgetAssignedBuildId()Deprecated.temporal.api.workflow.v1.WorkflowExecutionInfo.assigned_build_id is deprecated.com.google.protobuf.ByteStringgetAssignedBuildIdBytes()Deprecated.temporal.api.workflow.v1.WorkflowExecutionInfo.assigned_build_id is deprecated.ResetPointsgetAutoResetPoints().temporal.api.workflow.v1.ResetPoints auto_reset_points = 12;ResetPointsOrBuildergetAutoResetPointsOrBuilder().temporal.api.workflow.v1.ResetPoints auto_reset_points = 12;com.google.protobuf.TimestampgetCloseTime().google.protobuf.Timestamp close_time = 4;com.google.protobuf.TimestampOrBuildergetCloseTimeOrBuilder().google.protobuf.Timestamp close_time = 4;WorkflowExecutiongetExecution().temporal.api.common.v1.WorkflowExecution execution = 1;com.google.protobuf.DurationgetExecutionDuration()Workflow execution duration is defined as difference between close time and execution time.com.google.protobuf.DurationOrBuildergetExecutionDurationOrBuilder()Workflow execution duration is defined as difference between close time and execution time.WorkflowExecutionOrBuildergetExecutionOrBuilder().temporal.api.common.v1.WorkflowExecution execution = 1;com.google.protobuf.TimestampgetExecutionTime().google.protobuf.Timestamp execution_time = 9;com.google.protobuf.TimestampOrBuildergetExecutionTimeOrBuilder().google.protobuf.Timestamp execution_time = 9;java.lang.StringgetFirstRunId()The first run ID in the execution chain.com.google.protobuf.ByteStringgetFirstRunIdBytes()The first run ID in the execution chain.longgetHistoryLength()int64 history_length = 6;longgetHistorySizeBytes()int64 history_size_bytes = 15;java.lang.StringgetInheritedBuildId()Deprecated.temporal.api.workflow.v1.WorkflowExecutionInfo.inherited_build_id is deprecated.com.google.protobuf.ByteStringgetInheritedBuildIdBytes()Deprecated.temporal.api.workflow.v1.WorkflowExecutionInfo.inherited_build_id is deprecated.MemogetMemo().temporal.api.common.v1.Memo memo = 10;MemoOrBuildergetMemoOrBuilder().temporal.api.common.v1.Memo memo = 10;WorkerVersionStampgetMostRecentWorkerVersionStamp()Deprecated.temporal.api.workflow.v1.WorkflowExecutionInfo.most_recent_worker_version_stamp is deprecated.WorkerVersionStampOrBuildergetMostRecentWorkerVersionStampOrBuilder()Deprecated.WorkflowExecutiongetParentExecution().temporal.api.common.v1.WorkflowExecution parent_execution = 8;WorkflowExecutionOrBuildergetParentExecutionOrBuilder().temporal.api.common.v1.WorkflowExecution parent_execution = 8;java.lang.StringgetParentNamespaceId()string parent_namespace_id = 7;com.google.protobuf.ByteStringgetParentNamespaceIdBytes()string parent_namespace_id = 7;PrioritygetPriority()Priority metadataPriorityOrBuildergetPriorityOrBuilder()Priority metadataWorkflowExecutiongetRootExecution()Contains information about the root workflow execution.WorkflowExecutionOrBuildergetRootExecutionOrBuilder()Contains information about the root workflow execution.SearchAttributesgetSearchAttributes().temporal.api.common.v1.SearchAttributes search_attributes = 11;SearchAttributesOrBuildergetSearchAttributesOrBuilder().temporal.api.common.v1.SearchAttributes search_attributes = 11;com.google.protobuf.TimestampgetStartTime().google.protobuf.Timestamp start_time = 3;com.google.protobuf.TimestampOrBuildergetStartTimeOrBuilder().google.protobuf.Timestamp start_time = 3;longgetStateTransitionCount()int64 state_transition_count = 14;WorkflowExecutionStatusgetStatus().temporal.api.enums.v1.WorkflowExecutionStatus status = 5;intgetStatusValue().temporal.api.enums.v1.WorkflowExecutionStatus status = 5;java.lang.StringgetTaskQueue()string task_queue = 13;com.google.protobuf.ByteStringgetTaskQueueBytes()string task_queue = 13;WorkflowTypegetType().temporal.api.common.v1.WorkflowType type = 2;WorkflowTypeOrBuildergetTypeOrBuilder().temporal.api.common.v1.WorkflowType type = 2;WorkflowExecutionVersioningInfogetVersioningInfo()Absent value means the workflow execution is not versioned.WorkflowExecutionVersioningInfoOrBuildergetVersioningInfoOrBuilder()Absent value means the workflow execution is not versioned.java.lang.StringgetWorkerDeploymentName()The name of Worker Deployment that completed the most recent workflow task.com.google.protobuf.ByteStringgetWorkerDeploymentNameBytes()The name of Worker Deployment that completed the most recent workflow task.booleanhasAutoResetPoints().temporal.api.workflow.v1.ResetPoints auto_reset_points = 12;booleanhasCloseTime().google.protobuf.Timestamp close_time = 4;booleanhasExecution().temporal.api.common.v1.WorkflowExecution execution = 1;booleanhasExecutionDuration()Workflow execution duration is defined as difference between close time and execution time.booleanhasExecutionTime().google.protobuf.Timestamp execution_time = 9;booleanhasMemo().temporal.api.common.v1.Memo memo = 10;booleanhasMostRecentWorkerVersionStamp()Deprecated.temporal.api.workflow.v1.WorkflowExecutionInfo.most_recent_worker_version_stamp is deprecated.booleanhasParentExecution().temporal.api.common.v1.WorkflowExecution parent_execution = 8;booleanhasPriority()Priority metadatabooleanhasRootExecution()Contains information about the root workflow execution.booleanhasSearchAttributes().temporal.api.common.v1.SearchAttributes search_attributes = 11;booleanhasStartTime().google.protobuf.Timestamp start_time = 3;booleanhasType().temporal.api.common.v1.WorkflowType type = 2;booleanhasVersioningInfo()Absent value means the workflow execution is not versioned.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
WorkflowType getType()
.temporal.api.common.v1.WorkflowType type = 2;- Returns:
- The type.
-
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
java.lang.String getParentNamespaceId()
string parent_namespace_id = 7;- Returns:
- The parentNamespaceId.
-
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
Memo getMemo()
.temporal.api.common.v1.Memo memo = 10;- Returns:
- The memo.
-
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
java.lang.String getTaskQueue()
string task_queue = 13;- Returns:
- The taskQueue.
-
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 boolean 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 WorkerVersionStamp 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 WorkerVersionStampOrBuilder 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 java.lang.String 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 com.google.protobuf.ByteString 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 java.lang.String 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 com.google.protobuf.ByteString 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
java.lang.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
java.lang.String getWorkerDeploymentName()
The name of Worker Deployment that completed the most recent workflow task. Experimental. Worker Deployments are experimental and might change in the future.
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. Experimental. Worker Deployments are experimental and might change in the future.
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;
-
-