languageCode property

  1. @TagNumber(3)
String get languageCode

Optional. BCP-47 language code of the contents of this address (if known). This is often the UI language of the input form or is expected to match one of the languages used in the address' country/region, or their transliterated equivalents. This can affect formatting in certain countries, but is not critical to the correctness of the data and will never affect any validation or other non-formatting related operations.

If this value is not known, it should be omitted (rather than specifying a possibly incorrect default).

Examples: "zh-Hant", "ja", "ja-Latn", "en".

Implementation

@$pb.TagNumber(3)
$core.String get languageCode => $_getSZ(2);
  1. @TagNumber(3)
set languageCode (String v)

Implementation

@$pb.TagNumber(3)
set languageCode($core.String v) { $_setString(2, v); }