Interface HandlerErrorOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
HandlerError, HandlerError.Builder

@Generated(value="protoc", comments="annotations:HandlerErrorOrBuilder.java.pb.meta") public interface HandlerErrorOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    See https://github.com/nexus-rpc/api/blob/main/SPEC.md#predefined-handler-errors.
    com.google.protobuf.ByteString
    See https://github.com/nexus-rpc/api/blob/main/SPEC.md#predefined-handler-errors.
    .temporal.api.nexus.v1.Failure failure = 2;
    .temporal.api.nexus.v1.Failure failure = 2;
    Retry behavior, defaults to the retry behavior of the error type as defined in the spec.
    int
    Retry behavior, defaults to the retry behavior of the error type as defined in the spec.
    boolean
    .temporal.api.nexus.v1.Failure failure = 2;

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getErrorType

      String getErrorType()
       See https://github.com/nexus-rpc/api/blob/main/SPEC.md#predefined-handler-errors.
       
      string error_type = 1;
      Returns:
      The errorType.
    • getErrorTypeBytes

      com.google.protobuf.ByteString getErrorTypeBytes()
       See https://github.com/nexus-rpc/api/blob/main/SPEC.md#predefined-handler-errors.
       
      string error_type = 1;
      Returns:
      The bytes for errorType.
    • hasFailure

      boolean hasFailure()
      .temporal.api.nexus.v1.Failure failure = 2;
      Returns:
      Whether the failure field is set.
    • getFailure

      Failure getFailure()
      .temporal.api.nexus.v1.Failure failure = 2;
      Returns:
      The failure.
    • getFailureOrBuilder

      FailureOrBuilder getFailureOrBuilder()
      .temporal.api.nexus.v1.Failure failure = 2;
    • 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 = 3;
      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 = 3;
      Returns:
      The retryBehavior.