Interface Protocol.FailureOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Protocol.Failure, Protocol.Failure.Builder
Enclosing class:
Protocol

public static interface Protocol.FailureOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getCode

      int getCode()
       The code can be any HTTP status code, as described https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml.
       
      uint32 code = 1;
      Returns:
      The code.
    • getMessage

      String getMessage()
       Contains a concise error message, e.g. Throwable#getMessage() in Java.
       
      string message = 2;
      Returns:
      The message.
    • getMessageBytes

      com.google.protobuf.ByteString getMessageBytes()
       Contains a concise error message, e.g. Throwable#getMessage() in Java.
       
      string message = 2;
      Returns:
      The bytes for message.
    • getMetadataList

      List<Protocol.FailureMetadata> getMetadataList()
       Error metadata
       
      repeated .dev.restate.service.protocol.FailureMetadata metadata = 3;
    • getMetadata

      Protocol.FailureMetadata getMetadata(int index)
       Error metadata
       
      repeated .dev.restate.service.protocol.FailureMetadata metadata = 3;
    • getMetadataCount

      int getMetadataCount()
       Error metadata
       
      repeated .dev.restate.service.protocol.FailureMetadata metadata = 3;
    • getMetadataOrBuilderList

      List<? extends Protocol.FailureMetadataOrBuilder> getMetadataOrBuilderList()
       Error metadata
       
      repeated .dev.restate.service.protocol.FailureMetadata metadata = 3;
    • getMetadataOrBuilder

      Protocol.FailureMetadataOrBuilder getMetadataOrBuilder(int index)
       Error metadata
       
      repeated .dev.restate.service.protocol.FailureMetadata metadata = 3;