Interface WorkflowTaskStartedEventAttributesOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      long getBuildIdRedirectCounter()
      Used by server internally to properly reapply build ID redirects to an execution when rebuilding it from events.
      long getHistorySizeBytes()
      Total history size in bytes, which the workflow might use to decide when to continue-as-new regardless of the suggestion.
      java.lang.String getIdentity()
      Identity of the worker who picked up this task
      com.google.protobuf.ByteString getIdentityBytes()
      Identity of the worker who picked up this task
      java.lang.String getRequestId()
      TODO: ? Appears unused?
      com.google.protobuf.ByteString getRequestIdBytes()
      TODO: ? Appears unused?
      long getScheduledEventId()
      The id of the `WORKFLOW_TASK_SCHEDULED` event this task corresponds to
      boolean getSuggestContinueAsNew()
      True if this workflow should continue-as-new soon because its history size (in either event count or bytes) is getting large.
      WorkerVersionStamp getWorkerVersion()
      Version info of the worker to whom this task was dispatched.
      WorkerVersionStampOrBuilder getWorkerVersionOrBuilder()
      Version info of the worker to whom this task was dispatched.
      boolean hasWorkerVersion()
      Version info of the worker to whom this task was dispatched.
      • 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

      • getScheduledEventId

        long getScheduledEventId()
         The id of the `WORKFLOW_TASK_SCHEDULED` event this task corresponds to
         
        int64 scheduled_event_id = 1;
        Returns:
        The scheduledEventId.
      • getIdentity

        java.lang.String getIdentity()
         Identity of the worker who picked up this task
         
        string identity = 2;
        Returns:
        The identity.
      • getIdentityBytes

        com.google.protobuf.ByteString getIdentityBytes()
         Identity of the worker who picked up this task
         
        string identity = 2;
        Returns:
        The bytes for identity.
      • getRequestId

        java.lang.String getRequestId()
         TODO: ? Appears unused?
         
        string request_id = 3;
        Returns:
        The requestId.
      • getRequestIdBytes

        com.google.protobuf.ByteString getRequestIdBytes()
         TODO: ? Appears unused?
         
        string request_id = 3;
        Returns:
        The bytes for requestId.
      • getSuggestContinueAsNew

        boolean getSuggestContinueAsNew()
         True if this workflow should continue-as-new soon because its history size (in
         either event count or bytes) is getting large.
         
        bool suggest_continue_as_new = 4;
        Returns:
        The suggestContinueAsNew.
      • getHistorySizeBytes

        long getHistorySizeBytes()
         Total history size in bytes, which the workflow might use to decide when to
         continue-as-new regardless of the suggestion. Note that history event count is
         just the event id of this event, so we don't include it explicitly here.
         
        int64 history_size_bytes = 5;
        Returns:
        The historySizeBytes.
      • hasWorkerVersion

        boolean hasWorkerVersion()
         Version info of the worker to whom this task was dispatched.
         
        .temporal.api.common.v1.WorkerVersionStamp worker_version = 6;
        Returns:
        Whether the workerVersion field is set.
      • getWorkerVersion

        WorkerVersionStamp getWorkerVersion()
         Version info of the worker to whom this task was dispatched.
         
        .temporal.api.common.v1.WorkerVersionStamp worker_version = 6;
        Returns:
        The workerVersion.
      • getWorkerVersionOrBuilder

        WorkerVersionStampOrBuilder getWorkerVersionOrBuilder()
         Version info of the worker to whom this task was dispatched.
         
        .temporal.api.common.v1.WorkerVersionStamp worker_version = 6;
      • getBuildIdRedirectCounter

        long getBuildIdRedirectCounter()
         Used by server internally to properly reapply build ID redirects to an execution
         when rebuilding it from events.
         
        int64 build_id_redirect_counter = 7;
        Returns:
        The buildIdRedirectCounter.