Interface RespondNexusTaskFailedRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RespondNexusTaskFailedRequest,RespondNexusTaskFailedRequest.Builder
@Generated(value="protoc",
comments="annotations:RespondNexusTaskFailedRequestOrBuilder.java.pb.meta")
public interface RespondNexusTaskFailedRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetError()Deprecated.temporal.api.workflowservice.v1.RespondNexusTaskFailedRequest.error is deprecated.Deprecated.The error the handler failed with.The error the handler failed with.The identity of the client who initiated this request.com.google.protobuf.ByteStringThe identity of the client who initiated this request.string namespace = 1;com.google.protobuf.ByteStringstring namespace = 1;Client must forward the poller_group_id received in PollNexusTaskQueueResponse for proper routing of the response.com.google.protobuf.ByteStringClient must forward the poller_group_id received in PollNexusTaskQueueResponse for proper routing of the response.com.google.protobuf.ByteStringA unique identifier for this task.booleanhasError()Deprecated.temporal.api.workflowservice.v1.RespondNexusTaskFailedRequest.error is deprecated.booleanThe error the handler failed with.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
-
getNamespace
-
getNamespaceBytes
com.google.protobuf.ByteString getNamespaceBytes()string namespace = 1;- Returns:
- The bytes for namespace.
-
getIdentity
String getIdentity()The identity of the client who initiated this request.
string identity = 2;- Returns:
- The identity.
-
getIdentityBytes
com.google.protobuf.ByteString getIdentityBytes()The identity of the client who initiated this request.
string identity = 2;- Returns:
- The bytes for identity.
-
getTaskToken
com.google.protobuf.ByteString getTaskToken()A unique identifier for this task.
bytes task_token = 3;- Returns:
- The taskToken.
-
hasError
Deprecated.temporal.api.workflowservice.v1.RespondNexusTaskFailedRequest.error is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=2081Deprecated. Use the failure field instead.
.temporal.api.nexus.v1.HandlerError error = 4 [deprecated = true];- Returns:
- Whether the error field is set.
-
getError
Deprecated.temporal.api.workflowservice.v1.RespondNexusTaskFailedRequest.error is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=2081Deprecated. Use the failure field instead.
.temporal.api.nexus.v1.HandlerError error = 4 [deprecated = true];- Returns:
- The error.
-
getErrorOrBuilder
Deprecated.Deprecated. Use the failure field instead.
.temporal.api.nexus.v1.HandlerError error = 4 [deprecated = true]; -
hasFailure
boolean hasFailure()The error the handler failed with. Must contain a NexusHandlerFailureInfo object.
.temporal.api.failure.v1.Failure failure = 5;- Returns:
- Whether the failure field is set.
-
getFailure
Failure getFailure()The error the handler failed with. Must contain a NexusHandlerFailureInfo object.
.temporal.api.failure.v1.Failure failure = 5;- Returns:
- The failure.
-
getFailureOrBuilder
FailureOrBuilder getFailureOrBuilder()The error the handler failed with. Must contain a NexusHandlerFailureInfo object.
.temporal.api.failure.v1.Failure failure = 5; -
getPollerGroupId
String getPollerGroupId()Client must forward the poller_group_id received in PollNexusTaskQueueResponse for proper routing of the response.
string poller_group_id = 6;- Returns:
- The pollerGroupId.
-
getPollerGroupIdBytes
com.google.protobuf.ByteString getPollerGroupIdBytes()Client must forward the poller_group_id received in PollNexusTaskQueueResponse for proper routing of the response.
string poller_group_id = 6;- Returns:
- The bytes for pollerGroupId.
-