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 Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      java.lang.String getBaseRunId()
      The original run id of the workflow.
      com.google.protobuf.ByteString getBaseRunIdBytes()
      The original run id of the workflow.
      java.lang.String getBinaryChecksum()
      Deprecated.
      temporal.api.history.v1.WorkflowTaskFailedEventAttributes.binary_checksum is deprecated.
      com.google.protobuf.ByteString getBinaryChecksumBytes()
      Deprecated.
      temporal.api.history.v1.WorkflowTaskFailedEventAttributes.binary_checksum is deprecated.
      WorkflowTaskFailedCause getCause()
      .temporal.api.enums.v1.WorkflowTaskFailedCause cause = 3;
      int getCauseValue()
      .temporal.api.enums.v1.WorkflowTaskFailedCause cause = 3;
      Failure getFailure()
      The failure details
      FailureOrBuilder getFailureOrBuilder()
      The failure details
      long getForkEventVersion()
      TODO: ?
      java.lang.String getIdentity()
      If a worker explicitly failed this task, it's identity.
      com.google.protobuf.ByteString getIdentityBytes()
      If a worker explicitly failed this task, it's identity.
      java.lang.String getNewRunId()
      If the workflow is being reset, the new run id.
      com.google.protobuf.ByteString getNewRunIdBytes()
      If the workflow is being reset, the new run id.
      long getScheduledEventId()
      The id of the `WORKFLOW_TASK_SCHEDULED` event this task corresponds to
      long getStartedEventId()
      The id of the `WORKFLOW_TASK_STARTED` event this task corresponds to
      WorkerVersionStamp getWorkerVersion()
      Deprecated.
      temporal.api.history.v1.WorkflowTaskFailedEventAttributes.worker_version is deprecated.
      WorkerVersionStampOrBuilder getWorkerVersionOrBuilder()
      Deprecated.
      boolean hasFailure()
      The failure details
      boolean hasWorkerVersion()
      Deprecated.
      temporal.api.history.v1.WorkflowTaskFailedEventAttributes.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

      • 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

        @Deprecated
        java.lang.String getBinaryChecksum()
        Deprecated.
        temporal.api.history.v1.WorkflowTaskFailedEventAttributes.binary_checksum is deprecated. See temporal/api/history/v1/message.proto;l=325
         Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
         If a worker explicitly failed this task, its binary id
         
        string binary_checksum = 9 [deprecated = true];
        Returns:
        The binaryChecksum.
      • getBinaryChecksumBytes

        @Deprecated
        com.google.protobuf.ByteString getBinaryChecksumBytes()
        Deprecated.
        temporal.api.history.v1.WorkflowTaskFailedEventAttributes.binary_checksum is deprecated. See temporal/api/history/v1/message.proto;l=325
         Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
         If a worker explicitly failed this task, its binary id
         
        string binary_checksum = 9 [deprecated = true];
        Returns:
        The bytes for binaryChecksum.
      • hasWorkerVersion

        @Deprecated
        boolean hasWorkerVersion()
        Deprecated.
        temporal.api.history.v1.WorkflowTaskFailedEventAttributes.worker_version is deprecated. See temporal/api/history/v1/message.proto;l=330
         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).
         Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
         
        .temporal.api.common.v1.WorkerVersionStamp worker_version = 10 [deprecated = true];
        Returns:
        Whether the workerVersion field is set.
      • getWorkerVersion

        @Deprecated
        WorkerVersionStamp getWorkerVersion()
        Deprecated.
        temporal.api.history.v1.WorkflowTaskFailedEventAttributes.worker_version is deprecated. See temporal/api/history/v1/message.proto;l=330
         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).
         Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
         
        .temporal.api.common.v1.WorkerVersionStamp worker_version = 10 [deprecated = true];
        Returns:
        The workerVersion.
      • getWorkerVersionOrBuilder

        @Deprecated
        WorkerVersionStampOrBuilder getWorkerVersionOrBuilder()
        Deprecated.
         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).
         Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
         
        .temporal.api.common.v1.WorkerVersionStamp worker_version = 10 [deprecated = true];