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

    Modifier and Type
    Method
    Description
    int
    Starting at 1, the number of times this task has been attempted
    long
    Deprecated.
    temporal.api.history.v1.ActivityTaskStartedEventAttributes.build_id_redirect_counter is deprecated.
    id of the worker that picked up this task
    com.google.protobuf.ByteString
    id of the worker that picked up this task
    Will be set to the most recent failure details, if this task has previously failed and then been retried.
    Will be set to the most recent failure details, if this task has previously failed and then been retried.
    This field is populated from the RecordActivityTaskStartedRequest.
    com.google.protobuf.ByteString
    This field is populated from the RecordActivityTaskStartedRequest.
    long
    The id of the `ACTIVITY_TASK_SCHEDULED` event this task corresponds to
    Deprecated.
    temporal.api.history.v1.ActivityTaskStartedEventAttributes.worker_version is deprecated.
    Deprecated.
    boolean
    Will be set to the most recent failure details, if this task has previously failed and then been retried.
    boolean
    Deprecated.
    temporal.api.history.v1.ActivityTaskStartedEventAttributes.worker_version is deprecated.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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 `ACTIVITY_TASK_SCHEDULED` event this task corresponds to
       
      int64 scheduled_event_id = 1;
      Returns:
      The scheduledEventId.
    • getIdentity

      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

      String getRequestId()
       This field is populated from the RecordActivityTaskStartedRequest. Matching service would
       set the request_id on the RecordActivityTaskStartedRequest to a new UUID. This is useful
       in case a RecordActivityTaskStarted call succeed but matching doesn't get that response,
       so matching could retry and history service would return success if the request_id matches.
       In that case, matching will continue to deliver the task to worker. Without this field, history
       service would return AlreadyStarted error, and matching would drop the task.
       
      string request_id = 3;
      Returns:
      The requestId.
    • getRequestIdBytes

      com.google.protobuf.ByteString getRequestIdBytes()
       This field is populated from the RecordActivityTaskStartedRequest. Matching service would
       set the request_id on the RecordActivityTaskStartedRequest to a new UUID. This is useful
       in case a RecordActivityTaskStarted call succeed but matching doesn't get that response,
       so matching could retry and history service would return success if the request_id matches.
       In that case, matching will continue to deliver the task to worker. Without this field, history
       service would return AlreadyStarted error, and matching would drop the task.
       
      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;
    • hasWorkerVersion

      @Deprecated boolean hasWorkerVersion()
      Deprecated.
      temporal.api.history.v1.ActivityTaskStartedEventAttributes.worker_version is deprecated. See temporal/api/history/v1/message.proto;l=485
       Version info of the worker to whom this task was dispatched.
       Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
       
      .temporal.api.common.v1.WorkerVersionStamp worker_version = 6 [deprecated = true];
      Returns:
      Whether the workerVersion field is set.
    • getWorkerVersion

      @Deprecated WorkerVersionStamp getWorkerVersion()
      Deprecated.
      temporal.api.history.v1.ActivityTaskStartedEventAttributes.worker_version is deprecated. See temporal/api/history/v1/message.proto;l=485
       Version info of the worker to whom this task was dispatched.
       Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
       
      .temporal.api.common.v1.WorkerVersionStamp worker_version = 6 [deprecated = true];
      Returns:
      The workerVersion.
    • getWorkerVersionOrBuilder

      @Deprecated WorkerVersionStampOrBuilder getWorkerVersionOrBuilder()
      Deprecated.
       Version info of the worker to whom this task was dispatched.
       Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
       
      .temporal.api.common.v1.WorkerVersionStamp worker_version = 6 [deprecated = true];
    • getBuildIdRedirectCounter

      @Deprecated long getBuildIdRedirectCounter()
      Deprecated.
      temporal.api.history.v1.ActivityTaskStartedEventAttributes.build_id_redirect_counter is deprecated. See temporal/api/history/v1/message.proto;l=489
       Used by server internally to properly reapply build ID redirects to an execution
       when rebuilding it from events.
       Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
       
      int64 build_id_redirect_counter = 7 [deprecated = true];
      Returns:
      The buildIdRedirectCounter.