Interface ErrorResponseOrBuilder

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

public interface ErrorResponseOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    This field uses the error codes defined in grpc::StatusCode.
    string error_message = 2 [json_name = "errorMessage"];
    com.google.protobuf.ByteString
    string error_message = 2 [json_name = "errorMessage"];

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • getErrorCode

      int getErrorCode()
       This field uses the error codes defined in grpc::StatusCode.
       
      int32 error_code = 1 [json_name = "errorCode"];
      Returns:
      The errorCode.
    • getErrorMessage

      String getErrorMessage()
      string error_message = 2 [json_name = "errorMessage"];
      Returns:
      The errorMessage.
    • getErrorMessageBytes

      com.google.protobuf.ByteString getErrorMessageBytes()
      string error_message = 2 [json_name = "errorMessage"];
      Returns:
      The bytes for errorMessage.