Package io.temporal.api.history.v1
Interface WorkflowExecutionFailedEventAttributesOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
WorkflowExecutionFailedEventAttributes
,WorkflowExecutionFailedEventAttributes.Builder
@Generated(value="protoc", comments="annotations:WorkflowExecutionFailedEventAttributesOrBuilder.java.pb.meta") public interface WorkflowExecutionFailedEventAttributesOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Failure
getFailure()
Serialized result of workflow failure (ex: An exception thrown, or error returned)FailureOrBuilder
getFailureOrBuilder()
Serialized result of workflow failure (ex: An exception thrown, or error returned)java.lang.String
getNewExecutionRunId()
If another run is started by cron or retry, this contains the new run id.com.google.protobuf.ByteString
getNewExecutionRunIdBytes()
If another run is started by cron or retry, this contains the new run id.RetryState
getRetryState()
.temporal.api.enums.v1.RetryState retry_state = 2;
int
getRetryStateValue()
.temporal.api.enums.v1.RetryState retry_state = 2;
long
getWorkflowTaskCompletedEventId()
The `WORKFLOW_TASK_COMPLETED` event which this command was reported withboolean
hasFailure()
Serialized result of workflow failure (ex: An exception thrown, or error returned)-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasFailure
boolean hasFailure()
Serialized result of workflow failure (ex: An exception thrown, or error returned)
.temporal.api.failure.v1.Failure failure = 1;
- Returns:
- Whether the failure field is set.
-
getFailure
Failure getFailure()
Serialized result of workflow failure (ex: An exception thrown, or error returned)
.temporal.api.failure.v1.Failure failure = 1;
- Returns:
- The failure.
-
getFailureOrBuilder
FailureOrBuilder getFailureOrBuilder()
Serialized result of workflow failure (ex: An exception thrown, or error returned)
.temporal.api.failure.v1.Failure failure = 1;
-
getRetryStateValue
int getRetryStateValue()
.temporal.api.enums.v1.RetryState retry_state = 2;
- Returns:
- The enum numeric value on the wire for retryState.
-
getRetryState
RetryState getRetryState()
.temporal.api.enums.v1.RetryState retry_state = 2;
- Returns:
- The retryState.
-
getWorkflowTaskCompletedEventId
long getWorkflowTaskCompletedEventId()
The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
int64 workflow_task_completed_event_id = 3;
- Returns:
- The workflowTaskCompletedEventId.
-
getNewExecutionRunId
java.lang.String getNewExecutionRunId()
If another run is started by cron or retry, this contains the new run id.
string new_execution_run_id = 4;
- Returns:
- The newExecutionRunId.
-
getNewExecutionRunIdBytes
com.google.protobuf.ByteString getNewExecutionRunIdBytes()
If another run is started by cron or retry, this contains the new run id.
string new_execution_run_id = 4;
- Returns:
- The bytes for newExecutionRunId.
-
-