Interface LocalizedTextOrBuilder

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

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

    Modifier and Type
    Method
    Description
    The text's BCP-47 language code, such as "en-US" or "sr-Latn".
    com.google.protobuf.ByteString
    The text's BCP-47 language code, such as "en-US" or "sr-Latn".
    Localized string in the language corresponding to `language_code' below.
    com.google.protobuf.ByteString
    Localized string in the language corresponding to `language_code' below.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • getText

      String getText()
       Localized string in the language corresponding to `language_code' below.
       
      string text = 1 [json_name = "text"];
      Returns:
      The text.
    • getTextBytes

      com.google.protobuf.ByteString getTextBytes()
       Localized string in the language corresponding to `language_code' below.
       
      string text = 1 [json_name = "text"];
      Returns:
      The bytes for text.
    • getLanguageCode

      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 [json_name = "languageCode"];
      Returns:
      The languageCode.
    • getLanguageCodeBytes

      com.google.protobuf.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 [json_name = "languageCode"];
      Returns:
      The bytes for languageCode.