Interface WorkflowTaskFailedEventAttributesOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
WorkflowTaskFailedEventAttributes,WorkflowTaskFailedEventAttributes.Builder
@Generated(value="protoc",
comments="annotations:WorkflowTaskFailedEventAttributesOrBuilder.java.pb.meta")
public interface WorkflowTaskFailedEventAttributesOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe original run id of the workflow.com.google.protobuf.ByteStringThe original run id of the workflow.Deprecated.temporal.api.history.v1.WorkflowTaskFailedEventAttributes.binary_checksum is deprecated.com.google.protobuf.ByteStringDeprecated.temporal.api.history.v1.WorkflowTaskFailedEventAttributes.binary_checksum is deprecated.getCause().temporal.api.enums.v1.WorkflowTaskFailedCause cause = 3;int.temporal.api.enums.v1.WorkflowTaskFailedCause cause = 3;The failure detailsThe failure detailslongVersion of the event where the history branch was forked.If a worker explicitly failed this task, this field contains the worker's identity.com.google.protobuf.ByteStringIf a worker explicitly failed this task, this field contains the worker's identity.If the workflow is being reset, the new run id.com.google.protobuf.ByteStringIf the workflow is being reset, the new run id.longThe id of the `WORKFLOW_TASK_SCHEDULED` event this task corresponds tolongThe id of the `WORKFLOW_TASK_STARTED` event this task corresponds toDeprecated.temporal.api.history.v1.WorkflowTaskFailedEventAttributes.worker_version is deprecated.Deprecated.booleanThe failure detailsbooleanDeprecated.temporal.api.history.v1.WorkflowTaskFailedEventAttributes.worker_version is deprecated.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
-
getScheduledEventId
long getScheduledEventId()The id of the `WORKFLOW_TASK_SCHEDULED` event this task corresponds to
int64 scheduled_event_id = 1;- Returns:
- The scheduledEventId.
-
getStartedEventId
long getStartedEventId()The id of the `WORKFLOW_TASK_STARTED` event this task corresponds to
int64 started_event_id = 2;- Returns:
- The startedEventId.
-
getCauseValue
int getCauseValue().temporal.api.enums.v1.WorkflowTaskFailedCause cause = 3;- Returns:
- The enum numeric value on the wire for cause.
-
getCause
WorkflowTaskFailedCause getCause().temporal.api.enums.v1.WorkflowTaskFailedCause cause = 3;- Returns:
- The cause.
-
hasFailure
boolean hasFailure()The failure details
.temporal.api.failure.v1.Failure failure = 4;- Returns:
- Whether the failure field is set.
-
getFailure
Failure getFailure()The failure details
.temporal.api.failure.v1.Failure failure = 4;- Returns:
- The failure.
-
getFailureOrBuilder
FailureOrBuilder getFailureOrBuilder()The failure details
.temporal.api.failure.v1.Failure failure = 4; -
getIdentity
String getIdentity()If a worker explicitly failed this task, this field contains the worker's identity. When the server generates the failure internally this field is set as 'history-service'.
string identity = 5;- Returns:
- The identity.
-
getIdentityBytes
com.google.protobuf.ByteString getIdentityBytes()If a worker explicitly failed this task, this field contains the worker's identity. When the server generates the failure internally this field is set as 'history-service'.
string identity = 5;- Returns:
- The bytes for identity.
-
getBaseRunId
String getBaseRunId()The original run id of the workflow. For reset workflow.
string base_run_id = 6;- Returns:
- The baseRunId.
-
getBaseRunIdBytes
com.google.protobuf.ByteString getBaseRunIdBytes()The original run id of the workflow. For reset workflow.
string base_run_id = 6;- Returns:
- The bytes for baseRunId.
-
getNewRunId
String getNewRunId()If the workflow is being reset, the new run id.
string new_run_id = 7;- Returns:
- The newRunId.
-
getNewRunIdBytes
com.google.protobuf.ByteString getNewRunIdBytes()If the workflow is being reset, the new run id.
string new_run_id = 7;- Returns:
- The bytes for newRunId.
-
getForkEventVersion
long getForkEventVersion()Version of the event where the history branch was forked. Used by multi-cluster replication during resets to identify the correct history branch.
int64 fork_event_version = 8;- Returns:
- The forkEventVersion.
-
getBinaryChecksum
Deprecated.temporal.api.history.v1.WorkflowTaskFailedEventAttributes.binary_checksum is deprecated. See temporal/api/history/v1/message.proto;l=411Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] If a worker explicitly failed this task, its binary id
string binary_checksum = 9 [deprecated = true];- Returns:
- The binaryChecksum.
-
getBinaryChecksumBytes
Deprecated.temporal.api.history.v1.WorkflowTaskFailedEventAttributes.binary_checksum is deprecated. See temporal/api/history/v1/message.proto;l=411Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] If a worker explicitly failed this task, its binary id
string binary_checksum = 9 [deprecated = true];- Returns:
- The bytes for binaryChecksum.
-
hasWorkerVersion
Deprecated.temporal.api.history.v1.WorkflowTaskFailedEventAttributes.worker_version is deprecated. See temporal/api/history/v1/message.proto;l=416Version info of the worker who processed this workflow task. If present, the `build_id` field within is also used as `binary_checksum`, which may be omitted in that case (it may also be populated to preserve compatibility). Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
.temporal.api.common.v1.WorkerVersionStamp worker_version = 10 [deprecated = true];- Returns:
- Whether the workerVersion field is set.
-
getWorkerVersion
Deprecated.temporal.api.history.v1.WorkflowTaskFailedEventAttributes.worker_version is deprecated. See temporal/api/history/v1/message.proto;l=416Version info of the worker who processed this workflow task. If present, the `build_id` field within is also used as `binary_checksum`, which may be omitted in that case (it may also be populated to preserve compatibility). Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
.temporal.api.common.v1.WorkerVersionStamp worker_version = 10 [deprecated = true];- Returns:
- The workerVersion.
-
getWorkerVersionOrBuilder
Deprecated.Version info of the worker who processed this workflow task. If present, the `build_id` field within is also used as `binary_checksum`, which may be omitted in that case (it may also be populated to preserve compatibility). Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
.temporal.api.common.v1.WorkerVersionStamp worker_version = 10 [deprecated = true];
-