Interface WorkflowTaskFailedEventAttributesOrBuilder

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

    @Generated(value="protoc",
               comments="annotations:WorkflowTaskFailedEventAttributesOrBuilder.java.pb.meta")
    public interface WorkflowTaskFailedEventAttributesOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • 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.
      • getStartedEventId

        long getStartedEventId()
         The id of the `WORKFLOW_TASK_STARTED` event this task corresponds to
         
        int64 started_event_id = 2;
        Returns:
        The startedEventId.
      • getCauseValue

        int getCauseValue()
        .temporal.api.enums.v1.WorkflowTaskFailedCause cause = 3;
        Returns:
        The enum numeric value on the wire for cause.
      • getCause

        WorkflowTaskFailedCause getCause()
        .temporal.api.enums.v1.WorkflowTaskFailedCause cause = 3;
        Returns:
        The cause.
      • hasFailure

        boolean hasFailure()
         The failure details
         
        .temporal.api.failure.v1.Failure failure = 4;
        Returns:
        Whether the failure field is set.
      • getFailure

        Failure getFailure()
         The failure details
         
        .temporal.api.failure.v1.Failure failure = 4;
        Returns:
        The failure.
      • getFailureOrBuilder

        FailureOrBuilder getFailureOrBuilder()
         The failure details
         
        .temporal.api.failure.v1.Failure failure = 4;
      • getIdentity

        java.lang.String getIdentity()
         If a worker explicitly failed this task, it's identity. TODO: What is this set to if server fails the task?
         
        string identity = 5;
        Returns:
        The identity.
      • getIdentityBytes

        com.google.protobuf.ByteString getIdentityBytes()
         If a worker explicitly failed this task, it's identity. TODO: What is this set to if server fails the task?
         
        string identity = 5;
        Returns:
        The bytes for identity.
      • getBaseRunId

        java.lang.String getBaseRunId()
         The original run id of the workflow. For reset workflow.
         
        string base_run_id = 6;
        Returns:
        The baseRunId.
      • getBaseRunIdBytes

        com.google.protobuf.ByteString getBaseRunIdBytes()
         The original run id of the workflow. For reset workflow.
         
        string base_run_id = 6;
        Returns:
        The bytes for baseRunId.
      • getNewRunId

        java.lang.String getNewRunId()
         If the workflow is being reset, the new run id.
         
        string new_run_id = 7;
        Returns:
        The newRunId.
      • getNewRunIdBytes

        com.google.protobuf.ByteString getNewRunIdBytes()
         If the workflow is being reset, the new run id.
         
        string new_run_id = 7;
        Returns:
        The bytes for newRunId.
      • getForkEventVersion

        long getForkEventVersion()
         TODO: ?
         
        int64 fork_event_version = 8;
        Returns:
        The forkEventVersion.
      • getBinaryChecksum

        java.lang.String getBinaryChecksum()
         DEPRECATED since 1.21 - use `worker_version` instead.
         If a worker explicitly failed this task, its binary id
         
        string binary_checksum = 9;
        Returns:
        The binaryChecksum.
      • getBinaryChecksumBytes

        com.google.protobuf.ByteString getBinaryChecksumBytes()
         DEPRECATED since 1.21 - use `worker_version` instead.
         If a worker explicitly failed this task, its binary id
         
        string binary_checksum = 9;
        Returns:
        The bytes for binaryChecksum.
      • hasWorkerVersion

        boolean hasWorkerVersion()
         Version info of the worker who processed this workflow task. If present, the `build_id` field
         within is also used as `binary_checksum`, which may be omitted in that case (it may also be
         populated to preserve compatibility).
         
        .temporal.api.common.v1.WorkerVersionStamp worker_version = 10;
        Returns:
        Whether the workerVersion field is set.
      • getWorkerVersion

        WorkerVersionStamp getWorkerVersion()
         Version info of the worker who processed this workflow task. If present, the `build_id` field
         within is also used as `binary_checksum`, which may be omitted in that case (it may also be
         populated to preserve compatibility).
         
        .temporal.api.common.v1.WorkerVersionStamp worker_version = 10;
        Returns:
        The workerVersion.
      • getWorkerVersionOrBuilder

        WorkerVersionStampOrBuilder getWorkerVersionOrBuilder()
         Version info of the worker who processed this workflow task. If present, the `build_id` field
         within is also used as `binary_checksum`, which may be omitted in that case (it may also be
         populated to preserve compatibility).
         
        .temporal.api.common.v1.WorkerVersionStamp worker_version = 10;