Interface ActivityTaskCompletedEventAttributesOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    ActivityTaskCompletedEventAttributes, ActivityTaskCompletedEventAttributes.Builder

    @Generated(value="protoc",
               comments="annotations:ActivityTaskCompletedEventAttributesOrBuilder.java.pb.meta")
    public interface ActivityTaskCompletedEventAttributesOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      java.lang.String getIdentity()
      id of the worker that completed this task
      com.google.protobuf.ByteString getIdentityBytes()
      id of the worker that completed this task
      Payloads getResult()
      Serialized results of the activity.
      PayloadsOrBuilder getResultOrBuilder()
      Serialized results of the activity.
      long getScheduledEventId()
      The id of the `ACTIVITY_TASK_SCHEDULED` event this completion corresponds to
      long getStartedEventId()
      The id of the `ACTIVITY_TASK_STARTED` event this completion corresponds to
      WorkerVersionStamp getWorkerVersion()
      Deprecated.
      temporal.api.history.v1.ActivityTaskCompletedEventAttributes.worker_version is deprecated.
      WorkerVersionStampOrBuilder getWorkerVersionOrBuilder()
      Deprecated.
      boolean hasResult()
      Serialized results of the activity.
      boolean hasWorkerVersion()
      Deprecated.
      temporal.api.history.v1.ActivityTaskCompletedEventAttributes.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 Detail

      • hasResult

        boolean hasResult()
         Serialized results of the activity. IE: The return value of the activity function
         
        .temporal.api.common.v1.Payloads result = 1;
        Returns:
        Whether the result field is set.
      • getResult

        Payloads getResult()
         Serialized results of the activity. IE: The return value of the activity function
         
        .temporal.api.common.v1.Payloads result = 1;
        Returns:
        The result.
      • getResultOrBuilder

        PayloadsOrBuilder getResultOrBuilder()
         Serialized results of the activity. IE: The return value of the activity function
         
        .temporal.api.common.v1.Payloads result = 1;
      • getScheduledEventId

        long getScheduledEventId()
         The id of the `ACTIVITY_TASK_SCHEDULED` event this completion corresponds to
         
        int64 scheduled_event_id = 2;
        Returns:
        The scheduledEventId.
      • getStartedEventId

        long getStartedEventId()
         The id of the `ACTIVITY_TASK_STARTED` event this completion corresponds to
         
        int64 started_event_id = 3;
        Returns:
        The startedEventId.
      • getIdentity

        java.lang.String getIdentity()
         id of the worker that completed this task
         
        string identity = 4;
        Returns:
        The identity.
      • getIdentityBytes

        com.google.protobuf.ByteString getIdentityBytes()
         id of the worker that completed this task
         
        string identity = 4;
        Returns:
        The bytes for identity.
      • hasWorkerVersion

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

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

        @Deprecated
        WorkerVersionStampOrBuilder getWorkerVersionOrBuilder()
        Deprecated.
         Version info of the worker who processed this workflow task.
         Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
         
        .temporal.api.common.v1.WorkerVersionStamp worker_version = 5 [deprecated = true];