Interface ErrorOrBuilder

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

public interface ErrorOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Error code
    int
    Error code
    Error message
    com.google.protobuf.ByteString
    Error message

    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

    • getCodeValue

      int getCodeValue()
       Error code
       
      .eventbus.v1.ErrorCode code = 1;
      Returns:
      The enum numeric value on the wire for code.
    • getCode

      ErrorCode getCode()
       Error code
       
      .eventbus.v1.ErrorCode code = 1;
      Returns:
      The code.
    • getMsg

      String getMsg()
       Error message
       
      string msg = 2;
      Returns:
      The msg.
    • getMsgBytes

      com.google.protobuf.ByteString getMsgBytes()
       Error message
       
      string msg = 2;
      Returns:
      The bytes for msg.