public interface LocalizedMessageOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLocale()
The locale used following the specification defined at
http://www.rfc-editor.org/rfc/bcp/bcp47.txt.
|
ByteString |
getLocaleBytes()
The locale used following the specification defined at
http://www.rfc-editor.org/rfc/bcp/bcp47.txt.
|
java.lang.String |
getMessage()
The localized error message in the above locale.
|
ByteString |
getMessageBytes()
The localized error message in the above locale.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
java.lang.String getLocale()
The locale used following the specification defined at http://www.rfc-editor.org/rfc/bcp/bcp47.txt. Examples are: "en-US", "fr-CH", "es-MX"
string locale = 1;
ByteString getLocaleBytes()
The locale used following the specification defined at http://www.rfc-editor.org/rfc/bcp/bcp47.txt. Examples are: "en-US", "fr-CH", "es-MX"
string locale = 1;
java.lang.String getMessage()
The localized error message in the above locale.
string message = 2;
ByteString getMessageBytes()
The localized error message in the above locale.
string message = 2;