Package io.temporal.api.history.v1
Interface ActivityTaskStartedEventAttributesOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ActivityTaskStartedEventAttributes
,ActivityTaskStartedEventAttributes.Builder
@Generated(value="protoc", comments="annotations:ActivityTaskStartedEventAttributesOrBuilder.java.pb.meta") public interface ActivityTaskStartedEventAttributesOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getAttempt()
Starting at 1, the number of times this task has been attemptedjava.lang.String
getIdentity()
id of the worker that picked up this taskcom.google.protobuf.ByteString
getIdentityBytes()
id of the worker that picked up this taskFailure
getLastFailure()
Will be set to the most recent failure details, if this task has previously failed and then been retried.FailureOrBuilder
getLastFailureOrBuilder()
Will be set to the most recent failure details, if this task has previously failed and then been retried.java.lang.String
getRequestId()
TODO ??com.google.protobuf.ByteString
getRequestIdBytes()
TODO ??long
getScheduledEventId()
The id of the `ACTIVITY_TASK_SCHEDULED` event this task corresponds toboolean
hasLastFailure()
Will be set to the most recent failure details, if this task has previously failed and then been retried.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getScheduledEventId
long getScheduledEventId()
The id of the `ACTIVITY_TASK_SCHEDULED` event this task corresponds to
int64 scheduled_event_id = 1;
- Returns:
- The scheduledEventId.
-
getIdentity
java.lang.String getIdentity()
id of the worker that picked up this task
string identity = 2;
- Returns:
- The identity.
-
getIdentityBytes
com.google.protobuf.ByteString getIdentityBytes()
id of the worker that picked up this task
string identity = 2;
- Returns:
- The bytes for identity.
-
getRequestId
java.lang.String getRequestId()
TODO ??
string request_id = 3;
- Returns:
- The requestId.
-
getRequestIdBytes
com.google.protobuf.ByteString getRequestIdBytes()
TODO ??
string request_id = 3;
- Returns:
- The bytes for requestId.
-
getAttempt
int getAttempt()
Starting at 1, the number of times this task has been attempted
int32 attempt = 4;
- Returns:
- The attempt.
-
hasLastFailure
boolean hasLastFailure()
Will be set to the most recent failure details, if this task has previously failed and then been retried.
.temporal.api.failure.v1.Failure last_failure = 5;
- Returns:
- Whether the lastFailure field is set.
-
getLastFailure
Failure getLastFailure()
Will be set to the most recent failure details, if this task has previously failed and then been retried.
.temporal.api.failure.v1.Failure last_failure = 5;
- Returns:
- The lastFailure.
-
getLastFailureOrBuilder
FailureOrBuilder getLastFailureOrBuilder()
Will be set to the most recent failure details, if this task has previously failed and then been retried.
.temporal.api.failure.v1.Failure last_failure = 5;
-
-