Package io.temporal.api.history.v1
Interface ActivityTaskFailedEventAttributesOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ActivityTaskFailedEventAttributes,ActivityTaskFailedEventAttributes.Builder
@Generated(value="protoc", comments="annotations:ActivityTaskFailedEventAttributesOrBuilder.java.pb.meta") public interface ActivityTaskFailedEventAttributesOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FailuregetFailure()Failure detailsFailureOrBuildergetFailureOrBuilder()Failure detailsjava.lang.StringgetIdentity()id of the worker that failed this taskcom.google.protobuf.ByteStringgetIdentityBytes()id of the worker that failed this taskRetryStategetRetryState().temporal.api.enums.v1.RetryState retry_state = 5;intgetRetryStateValue().temporal.api.enums.v1.RetryState retry_state = 5;longgetScheduledEventId()The id of the `ACTIVITY_TASK_SCHEDULED` event this failure corresponds tolonggetStartedEventId()The id of the `ACTIVITY_TASK_STARTED` event this failure corresponds toWorkerVersionStampgetWorkerVersion()Version info of the worker who processed this workflow task.WorkerVersionStampOrBuildergetWorkerVersionOrBuilder()Version info of the worker who processed this workflow task.booleanhasFailure()Failure detailsbooleanhasWorkerVersion()Version info of the worker who processed this workflow task.-
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()
Failure details
.temporal.api.failure.v1.Failure failure = 1;- Returns:
- Whether the failure field is set.
-
getFailure
Failure getFailure()
Failure details
.temporal.api.failure.v1.Failure failure = 1;- Returns:
- The failure.
-
getFailureOrBuilder
FailureOrBuilder getFailureOrBuilder()
Failure details
.temporal.api.failure.v1.Failure failure = 1;
-
getScheduledEventId
long getScheduledEventId()
The id of the `ACTIVITY_TASK_SCHEDULED` event this failure corresponds to
int64 scheduled_event_id = 2;- Returns:
- The scheduledEventId.
-
getStartedEventId
long getStartedEventId()
The id of the `ACTIVITY_TASK_STARTED` event this failure corresponds to
int64 started_event_id = 3;- Returns:
- The startedEventId.
-
getIdentity
java.lang.String getIdentity()
id of the worker that failed this task
string identity = 4;- Returns:
- The identity.
-
getIdentityBytes
com.google.protobuf.ByteString getIdentityBytes()
id of the worker that failed this task
string identity = 4;- Returns:
- The bytes for identity.
-
getRetryStateValue
int getRetryStateValue()
.temporal.api.enums.v1.RetryState retry_state = 5;- Returns:
- The enum numeric value on the wire for retryState.
-
getRetryState
RetryState getRetryState()
.temporal.api.enums.v1.RetryState retry_state = 5;- Returns:
- The retryState.
-
hasWorkerVersion
boolean hasWorkerVersion()
Version info of the worker who processed this workflow task.
.temporal.api.common.v1.WorkerVersionStamp worker_version = 6;- Returns:
- Whether the workerVersion field is set.
-
getWorkerVersion
WorkerVersionStamp getWorkerVersion()
Version info of the worker who processed this workflow task.
.temporal.api.common.v1.WorkerVersionStamp worker_version = 6;- Returns:
- The workerVersion.
-
getWorkerVersionOrBuilder
WorkerVersionStampOrBuilder getWorkerVersionOrBuilder()
Version info of the worker who processed this workflow task.
.temporal.api.common.v1.WorkerVersionStamp worker_version = 6;
-
-