Interface LocalizedTextOrBuilder

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

public interface LocalizedTextOrBuilder extends com.google.protobuf.MessageOrBuilder
  • 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

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getText

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

      com.google.protobuf.ByteString getTextBytes()
       Localized string in the language corresponding to `language_code' below.
       
      string text = 1;
      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;
      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;
      Returns:
      The bytes for languageCode.