Interface RespondWorkflowTaskFailedRequestOrBuilder

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

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

    • getTaskToken

      com.google.protobuf.ByteString getTaskToken()
       The task token as received in `PollWorkflowTaskQueueResponse`
       
      bytes task_token = 1;
      Returns:
      The taskToken.
    • getCauseValue

      int getCauseValue()
       Why did the task fail? It's important to note that many of the variants in this enum cannot
       apply to worker responses. See the type's doc for more.
       
      .temporal.api.enums.v1.WorkflowTaskFailedCause cause = 2;
      Returns:
      The enum numeric value on the wire for cause.
    • getCause

       Why did the task fail? It's important to note that many of the variants in this enum cannot
       apply to worker responses. See the type's doc for more.
       
      .temporal.api.enums.v1.WorkflowTaskFailedCause cause = 2;
      Returns:
      The cause.
    • hasFailure

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

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

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

      String getIdentity()
       The identity of the worker/client
       
      string identity = 4;
      Returns:
      The identity.
    • getIdentityBytes

      com.google.protobuf.ByteString getIdentityBytes()
       The identity of the worker/client
       
      string identity = 4;
      Returns:
      The bytes for identity.
    • getBinaryChecksum

      @Deprecated String getBinaryChecksum()
      Deprecated.
      temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest.binary_checksum is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=489
       Deprecated. Use `deployment_options` instead.
       Worker process' unique binary id
       
      string binary_checksum = 5 [deprecated = true];
      Returns:
      The binaryChecksum.
    • getBinaryChecksumBytes

      @Deprecated com.google.protobuf.ByteString getBinaryChecksumBytes()
      Deprecated.
      temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest.binary_checksum is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=489
       Deprecated. Use `deployment_options` instead.
       Worker process' unique binary id
       
      string binary_checksum = 5 [deprecated = true];
      Returns:
      The bytes for binaryChecksum.
    • getNamespace

      String getNamespace()
      string namespace = 6;
      Returns:
      The namespace.
    • getNamespaceBytes

      com.google.protobuf.ByteString getNamespaceBytes()
      string namespace = 6;
      Returns:
      The bytes for namespace.
    • getResourceId

      String getResourceId()
       Resource ID for routing. Contains the workflow ID from the original task.
       
      string resource_id = 11;
      Returns:
      The resourceId.
    • getResourceIdBytes

      com.google.protobuf.ByteString getResourceIdBytes()
       Resource ID for routing. Contains the workflow ID from the original task.
       
      string resource_id = 11;
      Returns:
      The bytes for resourceId.
    • getMessagesList

      List<Message> getMessagesList()
       Protocol messages piggybacking on a WFT as a transport
       
      repeated .temporal.api.protocol.v1.Message messages = 7;
    • getMessages

      Message getMessages(int index)
       Protocol messages piggybacking on a WFT as a transport
       
      repeated .temporal.api.protocol.v1.Message messages = 7;
    • getMessagesCount

      int getMessagesCount()
       Protocol messages piggybacking on a WFT as a transport
       
      repeated .temporal.api.protocol.v1.Message messages = 7;
    • getMessagesOrBuilderList

      List<? extends MessageOrBuilder> getMessagesOrBuilderList()
       Protocol messages piggybacking on a WFT as a transport
       
      repeated .temporal.api.protocol.v1.Message messages = 7;
    • getMessagesOrBuilder

      MessageOrBuilder getMessagesOrBuilder(int index)
       Protocol messages piggybacking on a WFT as a transport
       
      repeated .temporal.api.protocol.v1.Message messages = 7;
    • hasWorkerVersion

      @Deprecated boolean hasWorkerVersion()
      Deprecated.
      temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest.worker_version is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=499
       Version info of the worker who processed this task. This message's `build_id` field should
       always be set by SDKs. Workers opting into versioning will also set the `use_versioning`
       field to true. See message docstrings for more.
       Deprecated. Use `deployment_options` instead.
       
      .temporal.api.common.v1.WorkerVersionStamp worker_version = 8 [deprecated = true];
      Returns:
      Whether the workerVersion field is set.
    • getWorkerVersion

      @Deprecated WorkerVersionStamp getWorkerVersion()
      Deprecated.
      temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest.worker_version is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=499
       Version info of the worker who processed this task. This message's `build_id` field should
       always be set by SDKs. Workers opting into versioning will also set the `use_versioning`
       field to true. See message docstrings for more.
       Deprecated. Use `deployment_options` instead.
       
      .temporal.api.common.v1.WorkerVersionStamp worker_version = 8 [deprecated = true];
      Returns:
      The workerVersion.
    • getWorkerVersionOrBuilder

      @Deprecated WorkerVersionStampOrBuilder getWorkerVersionOrBuilder()
      Deprecated.
       Version info of the worker who processed this task. This message's `build_id` field should
       always be set by SDKs. Workers opting into versioning will also set the `use_versioning`
       field to true. See message docstrings for more.
       Deprecated. Use `deployment_options` instead.
       
      .temporal.api.common.v1.WorkerVersionStamp worker_version = 8 [deprecated = true];
    • hasDeployment

      @Deprecated boolean hasDeployment()
      Deprecated.
      temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest.deployment is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=503
       Deployment info of the worker that completed this task. Must be present if user has set
       `WorkerDeploymentOptions` regardless of versioning being enabled or not.
       Deprecated. Replaced with `deployment_options`.
       
      .temporal.api.deployment.v1.Deployment deployment = 9 [deprecated = true];
      Returns:
      Whether the deployment field is set.
    • getDeployment

      @Deprecated Deployment getDeployment()
      Deprecated.
      temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest.deployment is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=503
       Deployment info of the worker that completed this task. Must be present if user has set
       `WorkerDeploymentOptions` regardless of versioning being enabled or not.
       Deprecated. Replaced with `deployment_options`.
       
      .temporal.api.deployment.v1.Deployment deployment = 9 [deprecated = true];
      Returns:
      The deployment.
    • getDeploymentOrBuilder

      @Deprecated DeploymentOrBuilder getDeploymentOrBuilder()
      Deprecated.
       Deployment info of the worker that completed this task. Must be present if user has set
       `WorkerDeploymentOptions` regardless of versioning being enabled or not.
       Deprecated. Replaced with `deployment_options`.
       
      .temporal.api.deployment.v1.Deployment deployment = 9 [deprecated = true];
    • hasDeploymentOptions

      boolean hasDeploymentOptions()
       Worker deployment options that user has set in the worker.
       
      .temporal.api.deployment.v1.WorkerDeploymentOptions deployment_options = 10;
      Returns:
      Whether the deploymentOptions field is set.
    • getDeploymentOptions

      WorkerDeploymentOptions getDeploymentOptions()
       Worker deployment options that user has set in the worker.
       
      .temporal.api.deployment.v1.WorkerDeploymentOptions deployment_options = 10;
      Returns:
      The deploymentOptions.
    • getDeploymentOptionsOrBuilder

      WorkerDeploymentOptionsOrBuilder getDeploymentOptionsOrBuilder()
       Worker deployment options that user has set in the worker.
       
      .temporal.api.deployment.v1.WorkerDeploymentOptions deployment_options = 10;