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 Detail

      • 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

        WorkflowTaskFailedCause 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

        java.lang.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

        java.lang.String getBinaryChecksum()
         DEPRECATED since 1.21 - use `worker_version_stamp` instead.
         Worker process' unique binary id
         
        string binary_checksum = 5;
        Returns:
        The binaryChecksum.
      • getBinaryChecksumBytes

        com.google.protobuf.ByteString getBinaryChecksumBytes()
         DEPRECATED since 1.21 - use `worker_version_stamp` instead.
         Worker process' unique binary id
         
        string binary_checksum = 5;
        Returns:
        The bytes for binaryChecksum.
      • getNamespace

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

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

        java.util.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

        java.util.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=426
         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` 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=426
         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` 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` instead.
         
        .temporal.api.common.v1.WorkerVersionStamp worker_version = 8 [deprecated = true];
      • hasDeployment

        boolean hasDeployment()
         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;
        Returns:
        Whether the deployment field is set.
      • getDeployment

        Deployment getDeployment()
         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;
        Returns:
        The deployment.
      • getDeploymentOrBuilder

        DeploymentOrBuilder getDeploymentOrBuilder()
         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;
      • 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;