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
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description HandlerErrorgetError()Deprecated.temporal.api.workflowservice.v1.RespondNexusTaskFailedRequest.error is deprecated.HandlerErrorOrBuildergetErrorOrBuilder()Deprecated.FailuregetFailure()The error the handler failed with.FailureOrBuildergetFailureOrBuilder()The error the handler failed with.java.lang.StringgetIdentity()The identity of the client who initiated this request.com.google.protobuf.ByteStringgetIdentityBytes()The identity of the client who initiated this request.java.lang.StringgetNamespace()string namespace = 1;com.google.protobuf.ByteStringgetNamespaceBytes()string namespace = 1;com.google.protobuf.ByteStringgetTaskToken()A unique identifier for this task.booleanhasError()Deprecated.temporal.api.workflowservice.v1.RespondNexusTaskFailedRequest.error is deprecated.booleanhasFailure()The error the handler failed with.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getNamespace
java.lang.String getNamespace()
string namespace = 1;- Returns:
- The namespace.
-
getNamespaceBytes
com.google.protobuf.ByteString getNamespaceBytes()
string namespace = 1;- Returns:
- The bytes for namespace.
-
getIdentity
java.lang.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 boolean hasError()
Deprecated.temporal.api.workflowservice.v1.RespondNexusTaskFailedRequest.error is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=1916Deprecated. Use the failure field instead.
.temporal.api.nexus.v1.HandlerError error = 4 [deprecated = true];- Returns:
- Whether the error field is set.
-
getError
@Deprecated HandlerError getError()
Deprecated.temporal.api.workflowservice.v1.RespondNexusTaskFailedRequest.error is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=1916Deprecated. Use the failure field instead.
.temporal.api.nexus.v1.HandlerError error = 4 [deprecated = true];- Returns:
- The error.
-
getErrorOrBuilder
@Deprecated HandlerErrorOrBuilder 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;
-
-