Interface NexusHandlerFailureInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
NexusHandlerFailureInfo,NexusHandlerFailureInfo.Builder
@Generated(value="protoc",
comments="annotations:NexusHandlerFailureInfoOrBuilder.java.pb.meta")
public interface NexusHandlerFailureInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRetry behavior, defaults to the retry behavior of the error type as defined in the spec.intRetry behavior, defaults to the retry behavior of the error type as defined in the spec.getType()The Nexus error type as defined in the spec: https://github.com/nexus-rpc/api/blob/main/SPEC.md#predefined-handler-errors.com.google.protobuf.ByteStringThe Nexus error type as defined in the spec: https://github.com/nexus-rpc/api/blob/main/SPEC.md#predefined-handler-errors.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
-
getType
String getType()The Nexus error type as defined in the spec: https://github.com/nexus-rpc/api/blob/main/SPEC.md#predefined-handler-errors.
string type = 1;- Returns:
- The type.
-
getTypeBytes
com.google.protobuf.ByteString getTypeBytes()The Nexus error type as defined in the spec: https://github.com/nexus-rpc/api/blob/main/SPEC.md#predefined-handler-errors.
string type = 1;- Returns:
- The bytes for type.
-
getRetryBehaviorValue
int getRetryBehaviorValue()Retry behavior, defaults to the retry behavior of the error type as defined in the spec.
.temporal.api.enums.v1.NexusHandlerErrorRetryBehavior retry_behavior = 2;- Returns:
- The enum numeric value on the wire for retryBehavior.
-
getRetryBehavior
NexusHandlerErrorRetryBehavior getRetryBehavior()Retry behavior, defaults to the retry behavior of the error type as defined in the spec.
.temporal.api.enums.v1.NexusHandlerErrorRetryBehavior retry_behavior = 2;- Returns:
- The retryBehavior.
-