Class ErrorResponseDecoder

java.lang.Object
io.camunda.zeebe.protocol.record.ErrorResponseDecoder
All Implemented Interfaces:
org.agrona.sbe.DecoderFlyweight, org.agrona.sbe.Flyweight, org.agrona.sbe.MessageDecoderFlyweight, org.agrona.sbe.MessageFlyweight

public final class ErrorResponseDecoder extends Object implements org.agrona.sbe.MessageDecoderFlyweight
Standard error response
  • Field Details

  • Constructor Details

    • ErrorResponseDecoder

      public ErrorResponseDecoder()
  • Method Details

    • sbeBlockLength

      public int sbeBlockLength()
      Specified by:
      sbeBlockLength in interface org.agrona.sbe.MessageFlyweight
    • sbeTemplateId

      public int sbeTemplateId()
      Specified by:
      sbeTemplateId in interface org.agrona.sbe.MessageFlyweight
    • sbeSchemaId

      public int sbeSchemaId()
      Specified by:
      sbeSchemaId in interface org.agrona.sbe.Flyweight
    • sbeSchemaVersion

      public int sbeSchemaVersion()
      Specified by:
      sbeSchemaVersion in interface org.agrona.sbe.Flyweight
    • sbeSemanticType

      public String sbeSemanticType()
      Specified by:
      sbeSemanticType in interface org.agrona.sbe.MessageFlyweight
    • buffer

      public org.agrona.DirectBuffer buffer()
      Specified by:
      buffer in interface org.agrona.sbe.Flyweight
    • initialOffset

      public int initialOffset()
    • offset

      public int offset()
      Specified by:
      offset in interface org.agrona.sbe.Flyweight
    • wrap

      public ErrorResponseDecoder wrap(org.agrona.DirectBuffer buffer, int offset, int actingBlockLength, int actingVersion)
      Specified by:
      wrap in interface org.agrona.sbe.MessageDecoderFlyweight
    • wrapAndApplyHeader

      public ErrorResponseDecoder wrapAndApplyHeader(org.agrona.DirectBuffer buffer, int offset, MessageHeaderDecoder headerDecoder)
    • sbeRewind

      public ErrorResponseDecoder sbeRewind()
    • sbeDecodedLength

      public int sbeDecodedLength()
      Specified by:
      sbeDecodedLength in interface org.agrona.sbe.MessageDecoderFlyweight
    • encodedLength

      public int encodedLength()
      Specified by:
      encodedLength in interface org.agrona.sbe.Flyweight
    • limit

      public int limit()
      Specified by:
      limit in interface org.agrona.sbe.MessageFlyweight
    • limit

      public void limit(int limit)
      Specified by:
      limit in interface org.agrona.sbe.MessageFlyweight
    • errorCodeId

      public static int errorCodeId()
    • errorCodeSinceVersion

      public static int errorCodeSinceVersion()
    • errorCodeEncodingOffset

      public static int errorCodeEncodingOffset()
    • errorCodeEncodingLength

      public static int errorCodeEncodingLength()
    • errorCodeMetaAttribute

      public static String errorCodeMetaAttribute(MetaAttribute metaAttribute)
    • errorCodeRaw

      public short errorCodeRaw()
    • errorCode

      public ErrorCode errorCode()
    • errorDataId

      public static int errorDataId()
    • errorDataSinceVersion

      public static int errorDataSinceVersion()
    • errorDataCharacterEncoding

      public static String errorDataCharacterEncoding()
    • errorDataMetaAttribute

      public static String errorDataMetaAttribute(MetaAttribute metaAttribute)
    • errorDataHeaderLength

      public static int errorDataHeaderLength()
    • errorDataLength

      public int errorDataLength()
    • skipErrorData

      public int skipErrorData()
    • getErrorData

      public int getErrorData(org.agrona.MutableDirectBuffer dst, int dstOffset, int length)
    • getErrorData

      public int getErrorData(byte[] dst, int dstOffset, int length)
    • wrapErrorData

      public void wrapErrorData(org.agrona.DirectBuffer wrapBuffer)
    • errorData

      public String errorData()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • appendTo

      public StringBuilder appendTo(StringBuilder builder)
      Specified by:
      appendTo in interface org.agrona.sbe.MessageDecoderFlyweight
    • sbeSkip

      public ErrorResponseDecoder sbeSkip()