Package io.temporal.api.failure.v1
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NexusHandlerErrorRetryBehaviorgetRetryBehavior()Retry behavior, defaults to the retry behavior of the error type as defined in the spec.intgetRetryBehaviorValue()Retry behavior, defaults to the retry behavior of the error type as defined in the spec.java.lang.StringgetType()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.ByteStringgetTypeBytes()The 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.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getType
java.lang.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.
-
-