Interface LocalizedMessageOrBuilder

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

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

    Modifier and Type
    Method
    Description
    The locale used following the specification defined at https://www.rfc-editor.org/rfc/bcp/bcp47.txt.
    com.google.protobuf.ByteString
    The locale used following the specification defined at https://www.rfc-editor.org/rfc/bcp/bcp47.txt.
    The localized error message in the above locale.
    com.google.protobuf.ByteString
    The localized error message in the above locale.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • getLocale

      String getLocale()
       The locale used following the specification defined at
       https://www.rfc-editor.org/rfc/bcp/bcp47.txt.
       Examples are: "en-US", "fr-CH", "es-MX"
       
      string locale = 1 [json_name = "locale"];
      Returns:
      The locale.
    • getLocaleBytes

      com.google.protobuf.ByteString getLocaleBytes()
       The locale used following the specification defined at
       https://www.rfc-editor.org/rfc/bcp/bcp47.txt.
       Examples are: "en-US", "fr-CH", "es-MX"
       
      string locale = 1 [json_name = "locale"];
      Returns:
      The bytes for locale.
    • getMessage

      String getMessage()
       The localized error message in the above locale.
       
      string message = 2 [json_name = "message"];
      Returns:
      The message.
    • getMessageBytes

      com.google.protobuf.ByteString getMessageBytes()
       The localized error message in the above locale.
       
      string message = 2 [json_name = "message"];
      Returns:
      The bytes for message.