io.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequestOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: temporal/api/workflowservice/v1/request_response.proto
package io.temporal.api.workflowservice.v1;
@javax.annotation.Generated(value="protoc", comments="annotations:RespondWorkflowTaskFailedRequestOrBuilder.java.pb.meta")
public interface RespondWorkflowTaskFailedRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
* The task token as received in `PollWorkflowTaskQueueResponse`
*
*
* bytes task_token = 1;
* @return The taskToken.
*/
com.google.protobuf.ByteString getTaskToken();
/**
*
* 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;
* @return The enum numeric value on the wire for cause.
*/
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;
* @return The cause.
*/
io.temporal.api.enums.v1.WorkflowTaskFailedCause getCause();
/**
*
* Failure details
*
*
* .temporal.api.failure.v1.Failure failure = 3;
* @return Whether the failure field is set.
*/
boolean hasFailure();
/**
*
* Failure details
*
*
* .temporal.api.failure.v1.Failure failure = 3;
* @return The failure.
*/
io.temporal.api.failure.v1.Failure getFailure();
/**
*
* Failure details
*
*
* .temporal.api.failure.v1.Failure failure = 3;
*/
io.temporal.api.failure.v1.FailureOrBuilder getFailureOrBuilder();
/**
*
* The identity of the worker/client
*
*
* string identity = 4;
* @return The identity.
*/
java.lang.String getIdentity();
/**
*
* The identity of the worker/client
*
*
* string identity = 4;
* @return The bytes for identity.
*/
com.google.protobuf.ByteString
getIdentityBytes();
/**
*
* DEPRECATED since 1.21 - use `worker_version_stamp` instead.
* Worker process' unique binary id
*
*
* string binary_checksum = 5;
* @return The binaryChecksum.
*/
java.lang.String getBinaryChecksum();
/**
*
* DEPRECATED since 1.21 - use `worker_version_stamp` instead.
* Worker process' unique binary id
*
*
* string binary_checksum = 5;
* @return The bytes for binaryChecksum.
*/
com.google.protobuf.ByteString
getBinaryChecksumBytes();
/**
* string namespace = 6;
* @return The namespace.
*/
java.lang.String getNamespace();
/**
* string namespace = 6;
* @return The bytes for namespace.
*/
com.google.protobuf.ByteString
getNamespaceBytes();
/**
*
* Protocol messages piggybacking on a WFT as a transport
*
*
* repeated .temporal.api.protocol.v1.Message messages = 7;
*/
java.util.List
getMessagesList();
/**
*
* Protocol messages piggybacking on a WFT as a transport
*
*
* repeated .temporal.api.protocol.v1.Message messages = 7;
*/
io.temporal.api.protocol.v1.Message getMessages(int index);
/**
*
* Protocol messages piggybacking on a WFT as a transport
*
*
* repeated .temporal.api.protocol.v1.Message messages = 7;
*/
int getMessagesCount();
/**
*
* Protocol messages piggybacking on a WFT as a transport
*
*
* repeated .temporal.api.protocol.v1.Message messages = 7;
*/
java.util.List
getMessagesOrBuilderList();
/**
*
* Protocol messages piggybacking on a WFT as a transport
*
*
* repeated .temporal.api.protocol.v1.Message messages = 7;
*/
io.temporal.api.protocol.v1.MessageOrBuilder getMessagesOrBuilder(
int index);
/**
*
* 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.
*
*
* .temporal.api.common.v1.WorkerVersionStamp worker_version = 8;
* @return Whether the workerVersion field is set.
*/
boolean hasWorkerVersion();
/**
*
* 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.
*
*
* .temporal.api.common.v1.WorkerVersionStamp worker_version = 8;
* @return The workerVersion.
*/
io.temporal.api.common.v1.WorkerVersionStamp getWorkerVersion();
/**
*
* 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.
*
*
* .temporal.api.common.v1.WorkerVersionStamp worker_version = 8;
*/
io.temporal.api.common.v1.WorkerVersionStampOrBuilder getWorkerVersionOrBuilder();
}