Package io.temporal.api.history.v1
Interface ActivityTaskTimedOutEventAttributesOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ActivityTaskTimedOutEventAttributes
,ActivityTaskTimedOutEventAttributes.Builder
@Generated(value="protoc", comments="annotations:ActivityTaskTimedOutEventAttributesOrBuilder.java.pb.meta") public interface ActivityTaskTimedOutEventAttributesOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Failure
getFailure()
If this activity had failed, was retried, and then timed out, that failure is stored as the `cause` in here.FailureOrBuilder
getFailureOrBuilder()
If this activity had failed, was retried, and then timed out, that failure is stored as the `cause` in here.RetryState
getRetryState()
.temporal.api.enums.v1.RetryState retry_state = 4;
int
getRetryStateValue()
.temporal.api.enums.v1.RetryState retry_state = 4;
long
getScheduledEventId()
The id of the `ACTIVITY_TASK_SCHEDULED` event this timeout corresponds tolong
getStartedEventId()
The id of the `ACTIVITY_TASK_STARTED` event this timeout corresponds toboolean
hasFailure()
If this activity had failed, was retried, and then timed out, that failure is stored as the `cause` in here.-
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()
If this activity had failed, was retried, and then timed out, that failure is stored as the `cause` in here.
.temporal.api.failure.v1.Failure failure = 1;
- Returns:
- Whether the failure field is set.
-
getFailure
Failure getFailure()
If this activity had failed, was retried, and then timed out, that failure is stored as the `cause` in here.
.temporal.api.failure.v1.Failure failure = 1;
- Returns:
- The failure.
-
getFailureOrBuilder
FailureOrBuilder getFailureOrBuilder()
If this activity had failed, was retried, and then timed out, that failure is stored as the `cause` in here.
.temporal.api.failure.v1.Failure failure = 1;
-
getScheduledEventId
long getScheduledEventId()
The id of the `ACTIVITY_TASK_SCHEDULED` event this timeout corresponds to
int64 scheduled_event_id = 2;
- Returns:
- The scheduledEventId.
-
getStartedEventId
long getStartedEventId()
The id of the `ACTIVITY_TASK_STARTED` event this timeout corresponds to
int64 started_event_id = 3;
- Returns:
- The startedEventId.
-
getRetryStateValue
int getRetryStateValue()
.temporal.api.enums.v1.RetryState retry_state = 4;
- Returns:
- The enum numeric value on the wire for retryState.
-
getRetryState
RetryState getRetryState()
.temporal.api.enums.v1.RetryState retry_state = 4;
- Returns:
- The retryState.
-
-