public interface LocalizedTextOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getLanguageCode()
public abstract String getLanguageCode()The text's BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
string language_code = 2;
| Type | Description |
| String | The languageCode. |
getLanguageCodeBytes()
public abstract ByteString getLanguageCodeBytes()The text's BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
string language_code = 2;
| Type | Description |
| ByteString | The bytes for languageCode. |
getText()
public abstract String getText()Localized string in the language corresponding to `language_code' below.
string text = 1;
| Type | Description |
| String | The text. |
getTextBytes()
public abstract ByteString getTextBytes()Localized string in the language corresponding to `language_code' below.
string text = 1;
| Type | Description |
| ByteString | The bytes for text. |