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
Modifier and TypeMethodDescriptionDeprecated.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest.binary_checksum is deprecated.com.google.protobuf.ByteStringDeprecated.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest.binary_checksum is deprecated.getCause()Why did the task fail? It's important to note that many of the variants in this enum cannot apply to worker responses.intWhy did the task fail? It's important to note that many of the variants in this enum cannot apply to worker responses.Deprecated.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest.deployment is deprecated.Worker deployment options that user has set in the worker.Worker deployment options that user has set in the worker.Deprecated.Failure detailsFailure detailsThe identity of the worker/clientcom.google.protobuf.ByteStringThe identity of the worker/clientgetMessages(int index) Protocol messages piggybacking on a WFT as a transportintProtocol messages piggybacking on a WFT as a transportProtocol messages piggybacking on a WFT as a transportgetMessagesOrBuilder(int index) Protocol messages piggybacking on a WFT as a transportList<? extends MessageOrBuilder> Protocol messages piggybacking on a WFT as a transportstring namespace = 6;com.google.protobuf.ByteStringstring namespace = 6;Resource ID for routing.com.google.protobuf.ByteStringResource ID for routing.com.google.protobuf.ByteStringThe task token as received in `PollWorkflowTaskQueueResponse`Deprecated.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest.worker_version is deprecated.Deprecated.booleanDeprecated.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest.deployment is deprecated.booleanWorker deployment options that user has set in the worker.booleanFailure detailsbooleanDeprecated.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest.worker_version is deprecated.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
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
-
getIdentityBytes
com.google.protobuf.ByteString getIdentityBytes()The identity of the worker/client
string identity = 4;- Returns:
- The bytes for identity.
-
getBinaryChecksum
Deprecated.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest.binary_checksum is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=489Deprecated. Use `deployment_options` instead. Worker process' unique binary id
string binary_checksum = 5 [deprecated = true];- Returns:
- The binaryChecksum.
-
getBinaryChecksumBytes
Deprecated.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest.binary_checksum is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=489Deprecated. Use `deployment_options` instead. Worker process' unique binary id
string binary_checksum = 5 [deprecated = true];- Returns:
- The bytes for binaryChecksum.
-
getNamespace
-
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
-
getMessages
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
Protocol messages piggybacking on a WFT as a transport
repeated .temporal.api.protocol.v1.Message messages = 7; -
hasWorkerVersion
Deprecated.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest.worker_version is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=499Version 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.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest.worker_version is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=499Version 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.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.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest.deployment is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=503Deployment 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.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest.deployment is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=503Deployment 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.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;
-