Package io.temporal.api.workflow.v1
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,java.io.Serializable
@Generated(value="protoc", comments="annotations:WorkflowExecutionInfo.java.pb.meta") public final class WorkflowExecutionInfo extends com.google.protobuf.GeneratedMessageV3 implements WorkflowExecutionInfoOrBuilderProtobuf typetemporal.api.workflow.v1.WorkflowExecutionInfo- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWorkflowExecutionInfo.BuilderProtobuf typetemporal.api.workflow.v1.WorkflowExecutionInfo-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intASSIGNED_BUILD_ID_FIELD_NUMBERstatic intAUTO_RESET_POINTS_FIELD_NUMBERstatic intCLOSE_TIME_FIELD_NUMBERstatic intEXECUTION_DURATION_FIELD_NUMBERstatic intEXECUTION_FIELD_NUMBERstatic intEXECUTION_TIME_FIELD_NUMBERstatic intHISTORY_LENGTH_FIELD_NUMBERstatic intHISTORY_SIZE_BYTES_FIELD_NUMBERstatic intINHERITED_BUILD_ID_FIELD_NUMBERstatic intMEMO_FIELD_NUMBERstatic intMOST_RECENT_WORKER_VERSION_STAMP_FIELD_NUMBERstatic intPARENT_EXECUTION_FIELD_NUMBERstatic intPARENT_NAMESPACE_ID_FIELD_NUMBERstatic intROOT_EXECUTION_FIELD_NUMBERstatic intSEARCH_ATTRIBUTES_FIELD_NUMBERstatic intSTART_TIME_FIELD_NUMBERstatic intSTATE_TRANSITION_COUNT_FIELD_NUMBERstatic intSTATUS_FIELD_NUMBERstatic intTASK_QUEUE_FIELD_NUMBERstatic intTYPE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetAssignedBuildId()The currently assigned build ID for this execution.com.google.protobuf.ByteStringgetAssignedBuildIdBytes()The currently assigned build ID for this execution.ResetPointsgetAutoResetPoints().temporal.api.workflow.v1.ResetPoints auto_reset_points = 12;ResetPointsOrBuildergetAutoResetPointsOrBuilder().temporal.api.workflow.v1.ResetPoints auto_reset_points = 12;TimestampgetCloseTime().google.protobuf.Timestamp close_time = 4;TimestampOrBuildergetCloseTimeOrBuilder().google.protobuf.Timestamp close_time = 4;static WorkflowExecutionInfogetDefaultInstance()WorkflowExecutionInfogetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()WorkflowExecutiongetExecution().temporal.api.common.v1.WorkflowExecution execution = 1;DurationgetExecutionDuration()Workflow execution duration is defined as difference between close time and execution time.DurationOrBuildergetExecutionDurationOrBuilder()Workflow execution duration is defined as difference between close time and execution time.WorkflowExecutionOrBuildergetExecutionOrBuilder().temporal.api.common.v1.WorkflowExecution execution = 1;TimestampgetExecutionTime().google.protobuf.Timestamp execution_time = 9;TimestampOrBuildergetExecutionTimeOrBuilder().google.protobuf.Timestamp execution_time = 9;longgetHistoryLength()int64 history_length = 6;longgetHistorySizeBytes()int64 history_size_bytes = 15;java.lang.StringgetInheritedBuildId()Build ID inherited from a previous/parent execution.com.google.protobuf.ByteStringgetInheritedBuildIdBytes()Build ID inherited from a previous/parent execution.MemogetMemo().temporal.api.common.v1.Memo memo = 10;MemoOrBuildergetMemoOrBuilder().temporal.api.common.v1.Memo memo = 10;WorkerVersionStampgetMostRecentWorkerVersionStamp()If set, the most recent worker version stamp that appeared in a workflow task completionWorkerVersionStampOrBuildergetMostRecentWorkerVersionStampOrBuilder()If set, the most recent worker version stamp that appeared in a workflow task completionWorkflowExecutiongetParentExecution().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;com.google.protobuf.Parser<WorkflowExecutionInfo>getParserForType()WorkflowExecutiongetRootExecution()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;intgetSerializedSize()TimestampgetStartTime().google.protobuf.Timestamp start_time = 3;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;com.google.protobuf.UnknownFieldSetgetUnknownFields()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;inthashCode()booleanhasMemo().temporal.api.common.v1.Memo memo = 10;booleanhasMostRecentWorkerVersionStamp()If set, the most recent worker version stamp that appeared in a workflow task completionbooleanhasParentExecution().temporal.api.common.v1.WorkflowExecution parent_execution = 8;booleanhasRootExecution()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;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static WorkflowExecutionInfo.BuildernewBuilder()static WorkflowExecutionInfo.BuildernewBuilder(WorkflowExecutionInfo prototype)WorkflowExecutionInfo.BuildernewBuilderForType()protected WorkflowExecutionInfo.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static WorkflowExecutionInfoparseDelimitedFrom(java.io.InputStream input)static WorkflowExecutionInfoparseDelimitedFrom(java.io.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(java.io.InputStream input)static WorkflowExecutionInfoparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static WorkflowExecutionInfoparseFrom(java.nio.ByteBuffer data)static WorkflowExecutionInfoparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<WorkflowExecutionInfo>parser()WorkflowExecutionInfo.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
EXECUTION_FIELD_NUMBER
public static final int EXECUTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CLOSE_TIME_FIELD_NUMBER
public static final int CLOSE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HISTORY_LENGTH_FIELD_NUMBER
public static final int HISTORY_LENGTH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARENT_NAMESPACE_ID_FIELD_NUMBER
public static final int PARENT_NAMESPACE_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARENT_EXECUTION_FIELD_NUMBER
public static final int PARENT_EXECUTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXECUTION_TIME_FIELD_NUMBER
public static final int EXECUTION_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MEMO_FIELD_NUMBER
public static final int MEMO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SEARCH_ATTRIBUTES_FIELD_NUMBER
public static final int SEARCH_ATTRIBUTES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AUTO_RESET_POINTS_FIELD_NUMBER
public static final int AUTO_RESET_POINTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TASK_QUEUE_FIELD_NUMBER
public static final int TASK_QUEUE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_TRANSITION_COUNT_FIELD_NUMBER
public static final int STATE_TRANSITION_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HISTORY_SIZE_BYTES_FIELD_NUMBER
public static final int HISTORY_SIZE_BYTES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MOST_RECENT_WORKER_VERSION_STAMP_FIELD_NUMBER
public static final int MOST_RECENT_WORKER_VERSION_STAMP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXECUTION_DURATION_FIELD_NUMBER
public static final int EXECUTION_DURATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ROOT_EXECUTION_FIELD_NUMBER
public static final int ROOT_EXECUTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ASSIGNED_BUILD_ID_FIELD_NUMBER
public static final int ASSIGNED_BUILD_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INHERITED_BUILD_ID_FIELD_NUMBER
public static final int INHERITED_BUILD_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin 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
public WorkflowExecution getExecution()
.temporal.api.common.v1.WorkflowExecution execution = 1;- Specified by:
getExecutionin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The execution.
-
getExecutionOrBuilder
public WorkflowExecutionOrBuilder 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
public WorkflowType getType()
.temporal.api.common.v1.WorkflowType type = 2;- Specified by:
getTypein interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The type.
-
getTypeOrBuilder
public WorkflowTypeOrBuilder 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 Timestamp getStartTime()
.google.protobuf.Timestamp start_time = 3;- Specified by:
getStartTimein interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The startTime.
-
getStartTimeOrBuilder
public 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 Timestamp getCloseTime()
.google.protobuf.Timestamp close_time = 4;- Specified by:
getCloseTimein interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The closeTime.
-
getCloseTimeOrBuilder
public 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
public WorkflowExecutionStatus 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
public java.lang.String 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
public WorkflowExecution getParentExecution()
.temporal.api.common.v1.WorkflowExecution parent_execution = 8;- Specified by:
getParentExecutionin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The parentExecution.
-
getParentExecutionOrBuilder
public WorkflowExecutionOrBuilder 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 Timestamp getExecutionTime()
.google.protobuf.Timestamp execution_time = 9;- Specified by:
getExecutionTimein interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The executionTime.
-
getExecutionTimeOrBuilder
public 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
public Memo getMemo()
.temporal.api.common.v1.Memo memo = 10;- Specified by:
getMemoin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The memo.
-
getMemoOrBuilder
public MemoOrBuilder 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
public SearchAttributes getSearchAttributes()
.temporal.api.common.v1.SearchAttributes search_attributes = 11;- Specified by:
getSearchAttributesin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The searchAttributes.
-
getSearchAttributesOrBuilder
public SearchAttributesOrBuilder 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
public ResetPoints getAutoResetPoints()
.temporal.api.workflow.v1.ResetPoints auto_reset_points = 12;- Specified by:
getAutoResetPointsin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The autoResetPoints.
-
getAutoResetPointsOrBuilder
public ResetPointsOrBuilder getAutoResetPointsOrBuilder()
.temporal.api.workflow.v1.ResetPoints auto_reset_points = 12;- Specified by:
getAutoResetPointsOrBuilderin interfaceWorkflowExecutionInfoOrBuilder
-
getTaskQueue
public java.lang.String 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
public boolean hasMostRecentWorkerVersionStamp()
If set, the most recent worker version stamp that appeared in a workflow task completion
.temporal.api.common.v1.WorkerVersionStamp most_recent_worker_version_stamp = 16;- Specified by:
hasMostRecentWorkerVersionStampin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- Whether the mostRecentWorkerVersionStamp field is set.
-
getMostRecentWorkerVersionStamp
public WorkerVersionStamp getMostRecentWorkerVersionStamp()
If set, the most recent worker version stamp that appeared in a workflow task completion
.temporal.api.common.v1.WorkerVersionStamp most_recent_worker_version_stamp = 16;- Specified by:
getMostRecentWorkerVersionStampin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The mostRecentWorkerVersionStamp.
-
getMostRecentWorkerVersionStampOrBuilder
public WorkerVersionStampOrBuilder getMostRecentWorkerVersionStampOrBuilder()
If set, the most recent worker version stamp that appeared in a workflow task completion
.temporal.api.common.v1.WorkerVersionStamp most_recent_worker_version_stamp = 16;- 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 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 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
public 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;- Specified by:
getRootExecutionin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The rootExecution.
-
getRootExecutionOrBuilder
public 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;- Specified by:
getRootExecutionOrBuilderin interfaceWorkflowExecutionInfoOrBuilder
-
getAssignedBuildId
public java.lang.String getAssignedBuildId()
The 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.
string assigned_build_id = 19;- Specified by:
getAssignedBuildIdin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The assignedBuildId.
-
getAssignedBuildIdBytes
public com.google.protobuf.ByteString getAssignedBuildIdBytes()
The 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.
string assigned_build_id = 19;- Specified by:
getAssignedBuildIdBytesin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The bytes for assignedBuildId.
-
getInheritedBuildId
public java.lang.String getInheritedBuildId()
Build ID inherited from a previous/parent execution. If present, assigned_build_id will be set to this, instead of using the assignment rules.
string inherited_build_id = 20;- Specified by:
getInheritedBuildIdin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The inheritedBuildId.
-
getInheritedBuildIdBytes
public com.google.protobuf.ByteString getInheritedBuildIdBytes()
Build ID inherited from a previous/parent execution. If present, assigned_build_id will be set to this, instead of using the assignment rules.
string inherited_build_id = 20;- Specified by:
getInheritedBuildIdBytesin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The bytes for inheritedBuildId.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- 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(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WorkflowExecutionInfo parseFrom(java.nio.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
public static WorkflowExecutionInfo parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static WorkflowExecutionInfo parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static WorkflowExecutionInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static WorkflowExecutionInfo parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static WorkflowExecutionInfo parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static WorkflowExecutionInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public WorkflowExecutionInfo.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static WorkflowExecutionInfo.Builder newBuilder()
-
newBuilder
public static WorkflowExecutionInfo.Builder newBuilder(WorkflowExecutionInfo prototype)
-
toBuilder
public WorkflowExecutionInfo.Builder 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
public static WorkflowExecutionInfo getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<WorkflowExecutionInfo> parser()
-
getParserForType
public com.google.protobuf.Parser<WorkflowExecutionInfo> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public WorkflowExecutionInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-