Package io.temporal.api.workflow.v1
Interface WorkflowExecutionExtendedInfoOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
WorkflowExecutionExtendedInfo,WorkflowExecutionExtendedInfo.Builder
@Generated(value="protoc", comments="annotations:WorkflowExecutionExtendedInfoOrBuilder.java.pb.meta") public interface WorkflowExecutionExtendedInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsRequestIdInfos(java.lang.String key)Request ID information (eg: history event information associated with the request ID).booleangetCancelRequested()indicates if the workflow received a cancel requestcom.google.protobuf.TimestampgetExecutionExpirationTime()Workflow execution expiration time is defined as workflow start time plus expiration timeout.com.google.protobuf.TimestampOrBuildergetExecutionExpirationTimeOrBuilder()Workflow execution expiration time is defined as workflow start time plus expiration timeout.com.google.protobuf.TimestampgetLastResetTime()Last workflow reset time.com.google.protobuf.TimestampOrBuildergetLastResetTimeOrBuilder()Last workflow reset time.com.google.protobuf.TimestampgetOriginalStartTime()Original workflow start time.com.google.protobuf.TimestampOrBuildergetOriginalStartTimeOrBuilder()Original workflow start time.java.util.Map<java.lang.String,RequestIdInfo>getRequestIdInfos()Deprecated.intgetRequestIdInfosCount()Request ID information (eg: history event information associated with the request ID).java.util.Map<java.lang.String,RequestIdInfo>getRequestIdInfosMap()Request ID information (eg: history event information associated with the request ID).RequestIdInfogetRequestIdInfosOrDefault(java.lang.String key, RequestIdInfo defaultValue)Request ID information (eg: history event information associated with the request ID).RequestIdInfogetRequestIdInfosOrThrow(java.lang.String key)Request ID information (eg: history event information associated with the request ID).java.lang.StringgetResetRunId()Reset Run ID points to the new run when this execution is reset.com.google.protobuf.ByteStringgetResetRunIdBytes()Reset Run ID points to the new run when this execution is reset.com.google.protobuf.TimestampgetRunExpirationTime()Workflow run expiration time is defined as current workflow run start time plus workflow run timeout.com.google.protobuf.TimestampOrBuildergetRunExpirationTimeOrBuilder()Workflow run expiration time is defined as current workflow run start time plus workflow run timeout.booleanhasExecutionExpirationTime()Workflow execution expiration time is defined as workflow start time plus expiration timeout.booleanhasLastResetTime()Last workflow reset time.booleanhasOriginalStartTime()Original workflow start time.booleanhasRunExpirationTime()Workflow run expiration time is defined as current workflow run start time plus workflow run timeout.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasExecutionExpirationTime
boolean hasExecutionExpirationTime()
Workflow execution expiration time is defined as workflow start time plus expiration timeout. Workflow start time may change after workflow reset.
.google.protobuf.Timestamp execution_expiration_time = 1;- Returns:
- Whether the executionExpirationTime field is set.
-
getExecutionExpirationTime
com.google.protobuf.Timestamp getExecutionExpirationTime()
Workflow execution expiration time is defined as workflow start time plus expiration timeout. Workflow start time may change after workflow reset.
.google.protobuf.Timestamp execution_expiration_time = 1;- Returns:
- The executionExpirationTime.
-
getExecutionExpirationTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getExecutionExpirationTimeOrBuilder()
Workflow execution expiration time is defined as workflow start time plus expiration timeout. Workflow start time may change after workflow reset.
.google.protobuf.Timestamp execution_expiration_time = 1;
-
hasRunExpirationTime
boolean hasRunExpirationTime()
Workflow run expiration time is defined as current workflow run start time plus workflow run timeout.
.google.protobuf.Timestamp run_expiration_time = 2;- Returns:
- Whether the runExpirationTime field is set.
-
getRunExpirationTime
com.google.protobuf.Timestamp getRunExpirationTime()
Workflow run expiration time is defined as current workflow run start time plus workflow run timeout.
.google.protobuf.Timestamp run_expiration_time = 2;- Returns:
- The runExpirationTime.
-
getRunExpirationTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getRunExpirationTimeOrBuilder()
Workflow run expiration time is defined as current workflow run start time plus workflow run timeout.
.google.protobuf.Timestamp run_expiration_time = 2;
-
getCancelRequested
boolean getCancelRequested()
indicates if the workflow received a cancel request
bool cancel_requested = 3;- Returns:
- The cancelRequested.
-
hasLastResetTime
boolean hasLastResetTime()
Last workflow reset time. Nil if the workflow was never reset.
.google.protobuf.Timestamp last_reset_time = 4;- Returns:
- Whether the lastResetTime field is set.
-
getLastResetTime
com.google.protobuf.Timestamp getLastResetTime()
Last workflow reset time. Nil if the workflow was never reset.
.google.protobuf.Timestamp last_reset_time = 4;- Returns:
- The lastResetTime.
-
getLastResetTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getLastResetTimeOrBuilder()
Last workflow reset time. Nil if the workflow was never reset.
.google.protobuf.Timestamp last_reset_time = 4;
-
hasOriginalStartTime
boolean hasOriginalStartTime()
Original workflow start time.
.google.protobuf.Timestamp original_start_time = 5;- Returns:
- Whether the originalStartTime field is set.
-
getOriginalStartTime
com.google.protobuf.Timestamp getOriginalStartTime()
Original workflow start time.
.google.protobuf.Timestamp original_start_time = 5;- Returns:
- The originalStartTime.
-
getOriginalStartTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getOriginalStartTimeOrBuilder()
Original workflow start time.
.google.protobuf.Timestamp original_start_time = 5;
-
getResetRunId
java.lang.String getResetRunId()
Reset Run ID points to the new run when this execution is reset. If the execution is reset multiple times, it points to the latest run.
string reset_run_id = 6;- Returns:
- The resetRunId.
-
getResetRunIdBytes
com.google.protobuf.ByteString getResetRunIdBytes()
Reset Run ID points to the new run when this execution is reset. If the execution is reset multiple times, it points to the latest run.
string reset_run_id = 6;- Returns:
- The bytes for resetRunId.
-
getRequestIdInfosCount
int getRequestIdInfosCount()
Request ID information (eg: history event information associated with the request ID). Note: It only contains request IDs from StartWorkflowExecution requests, including indirect calls (eg: if SignalWithStartWorkflowExecution starts a new workflow, then the request ID is used in the StartWorkflowExecution request).
map<string, .temporal.api.workflow.v1.RequestIdInfo> request_id_infos = 7;
-
containsRequestIdInfos
boolean containsRequestIdInfos(java.lang.String key)
Request ID information (eg: history event information associated with the request ID). Note: It only contains request IDs from StartWorkflowExecution requests, including indirect calls (eg: if SignalWithStartWorkflowExecution starts a new workflow, then the request ID is used in the StartWorkflowExecution request).
map<string, .temporal.api.workflow.v1.RequestIdInfo> request_id_infos = 7;
-
getRequestIdInfos
@Deprecated java.util.Map<java.lang.String,RequestIdInfo> getRequestIdInfos()
Deprecated.UsegetRequestIdInfosMap()instead.
-
getRequestIdInfosMap
java.util.Map<java.lang.String,RequestIdInfo> getRequestIdInfosMap()
Request ID information (eg: history event information associated with the request ID). Note: It only contains request IDs from StartWorkflowExecution requests, including indirect calls (eg: if SignalWithStartWorkflowExecution starts a new workflow, then the request ID is used in the StartWorkflowExecution request).
map<string, .temporal.api.workflow.v1.RequestIdInfo> request_id_infos = 7;
-
getRequestIdInfosOrDefault
RequestIdInfo getRequestIdInfosOrDefault(java.lang.String key, RequestIdInfo defaultValue)
Request ID information (eg: history event information associated with the request ID). Note: It only contains request IDs from StartWorkflowExecution requests, including indirect calls (eg: if SignalWithStartWorkflowExecution starts a new workflow, then the request ID is used in the StartWorkflowExecution request).
map<string, .temporal.api.workflow.v1.RequestIdInfo> request_id_infos = 7;
-
getRequestIdInfosOrThrow
RequestIdInfo getRequestIdInfosOrThrow(java.lang.String key)
Request ID information (eg: history event information associated with the request ID). Note: It only contains request IDs from StartWorkflowExecution requests, including indirect calls (eg: if SignalWithStartWorkflowExecution starts a new workflow, then the request ID is used in the StartWorkflowExecution request).
map<string, .temporal.api.workflow.v1.RequestIdInfo> request_id_infos = 7;
-
-