public interface LocalizedMessageOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getLocale()
public abstract 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"
optional string locale = 513150554;
| Type | Description |
| String | The locale. |
getLocaleBytes()
public abstract 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"
optional string locale = 513150554;
| Type | Description |
| ByteString | The bytes for locale. |
getMessage()
public abstract String getMessage()The localized error message in the above locale.
optional string message = 418054151;
| Type | Description |
| String | The message. |
getMessageBytes()
public abstract ByteString getMessageBytes()The localized error message in the above locale.
optional string message = 418054151;
| Type | Description |
| ByteString | The bytes for message. |
hasLocale()
public abstract boolean hasLocale()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"
optional string locale = 513150554;
| Type | Description |
| boolean | Whether the locale field is set. |
hasMessage()
public abstract boolean hasMessage()The localized error message in the above locale.
optional string message = 418054151;
| Type | Description |
| boolean | Whether the message field is set. |