Package io.temporal.api.history.v1
Interface ActivityTaskCanceledEventAttributesOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ActivityTaskCanceledEventAttributes,ActivityTaskCanceledEventAttributes.Builder
@Generated(value="protoc", comments="annotations:ActivityTaskCanceledEventAttributesOrBuilder.java.pb.meta") public interface ActivityTaskCanceledEventAttributesOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PayloadsgetDetails()Additional information that the activity reported upon confirming cancellationPayloadsOrBuildergetDetailsOrBuilder()Additional information that the activity reported upon confirming cancellationjava.lang.StringgetIdentity()id of the worker who canceled this activitycom.google.protobuf.ByteStringgetIdentityBytes()id of the worker who canceled this activitylonggetLatestCancelRequestedEventId()id of the most recent `ACTIVITY_TASK_CANCEL_REQUESTED` event which refers to the same activitylonggetScheduledEventId()The id of the `ACTIVITY_TASK_SCHEDULED` event this cancel confirmation corresponds tolonggetStartedEventId()The id of the `ACTIVITY_TASK_STARTED` event this cancel confirmation corresponds toWorkerVersionStampgetWorkerVersion()Version info of the worker who processed this workflow task.WorkerVersionStampOrBuildergetWorkerVersionOrBuilder()Version info of the worker who processed this workflow task.booleanhasDetails()Additional information that the activity reported upon confirming cancellationbooleanhasWorkerVersion()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
-
hasDetails
boolean hasDetails()
Additional information that the activity reported upon confirming cancellation
.temporal.api.common.v1.Payloads details = 1;- Returns:
- Whether the details field is set.
-
getDetails
Payloads getDetails()
Additional information that the activity reported upon confirming cancellation
.temporal.api.common.v1.Payloads details = 1;- Returns:
- The details.
-
getDetailsOrBuilder
PayloadsOrBuilder getDetailsOrBuilder()
Additional information that the activity reported upon confirming cancellation
.temporal.api.common.v1.Payloads details = 1;
-
getLatestCancelRequestedEventId
long getLatestCancelRequestedEventId()
id of the most recent `ACTIVITY_TASK_CANCEL_REQUESTED` event which refers to the same activity
int64 latest_cancel_requested_event_id = 2;- Returns:
- The latestCancelRequestedEventId.
-
getScheduledEventId
long getScheduledEventId()
The id of the `ACTIVITY_TASK_SCHEDULED` event this cancel confirmation corresponds to
int64 scheduled_event_id = 3;- Returns:
- The scheduledEventId.
-
getStartedEventId
long getStartedEventId()
The id of the `ACTIVITY_TASK_STARTED` event this cancel confirmation corresponds to
int64 started_event_id = 4;- Returns:
- The startedEventId.
-
getIdentity
java.lang.String getIdentity()
id of the worker who canceled this activity
string identity = 5;- Returns:
- The identity.
-
getIdentityBytes
com.google.protobuf.ByteString getIdentityBytes()
id of the worker who canceled this activity
string identity = 5;- Returns:
- The bytes for identity.
-
hasWorkerVersion
boolean hasWorkerVersion()
Version info of the worker who processed this workflow task. Deprecated. Use the info inside the corresponding ActivityTaskStartedEvent
.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. Deprecated. Use the info inside the corresponding ActivityTaskStartedEvent
.temporal.api.common.v1.WorkerVersionStamp worker_version = 6;- Returns:
- The workerVersion.
-
getWorkerVersionOrBuilder
WorkerVersionStampOrBuilder getWorkerVersionOrBuilder()
Version info of the worker who processed this workflow task. Deprecated. Use the info inside the corresponding ActivityTaskStartedEvent
.temporal.api.common.v1.WorkerVersionStamp worker_version = 6;
-
-