Interface LocalizedString.Builder

    • Method Detail

      • language

        LocalizedString.Builder language​(String language)

        A list of BCP 47 compliant language codes for the results to be rendered in. The request uses the regional default as the fallback if the requested language can't be provided.

        Parameters:
        language - A list of BCP 47 compliant language codes for the results to be rendered in. The request uses the regional default as the fallback if the requested language can't be provided.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • value

        LocalizedString.Builder value​(String value)

        The value of the localized string.

        Parameters:
        value - The value of the localized string.
        Returns:
        Returns a reference to this object so that method calls can be chained together.