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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getBinaryChecksum()
DEPRECATED since 1.21 - use `worker_version_stamp` instead.com.google.protobuf.ByteString
getBinaryChecksumBytes()
DEPRECATED since 1.21 - use `worker_version_stamp` instead.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.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.Failure
getFailure()
Failure detailsFailureOrBuilder
getFailureOrBuilder()
Failure detailsjava.lang.String
getIdentity()
The identity of the worker/clientcom.google.protobuf.ByteString
getIdentityBytes()
The identity of the worker/clientMessage
getMessages(int index)
Protocol messages piggybacking on a WFT as a transportint
getMessagesCount()
Protocol messages piggybacking on a WFT as a transportjava.util.List<Message>
getMessagesList()
Protocol messages piggybacking on a WFT as a transportMessageOrBuilder
getMessagesOrBuilder(int index)
Protocol messages piggybacking on a WFT as a transportjava.util.List<? extends MessageOrBuilder>
getMessagesOrBuilderList()
Protocol messages piggybacking on a WFT as a transportjava.lang.String
getNamespace()
string namespace = 6;
com.google.protobuf.ByteString
getNamespaceBytes()
string namespace = 6;
com.google.protobuf.ByteString
getTaskToken()
The task token as received in `PollWorkflowTaskQueueResponse`WorkerVersionStamp
getWorkerVersion()
Version info of the worker who processed this task.WorkerVersionStampOrBuilder
getWorkerVersionOrBuilder()
Version info of the worker who processed this task.boolean
hasFailure()
Failure detailsboolean
hasWorkerVersion()
Version info of the worker who processed this task.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
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
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;
- Returns:
- Whether the workerVersion field is set.
-
getWorkerVersion
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;
- Returns:
- The workerVersion.
-
getWorkerVersionOrBuilder
WorkerVersionStampOrBuilder getWorkerVersionOrBuilder()
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;
-
-