primary
If true, indicates this is the primary name variant for the given language.
- Returns:
- If
true, indicates this is the primary name variant for the given language.
Serializable, SdkPojo, ToCopyableBuilder<TranslationName.Builder,TranslationName> A translation or alternative name for an address component.
static TranslationName.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T> getValueForField(String fieldName,
Class<T> clazz) final inthashCode()final Stringlanguage()final Booleanprimary()true, indicates this is the primary name variant for the given language.static Class<? extends TranslationName.Builder> final StringtoString()final Booleantrue, indicates this name is a transliterated version rather than a native script translation.final TranslationNameTypetype()final Stringfinal Stringvalue()copyThe translated or alternative name value.
The type of translation name. Valid values are Abbreviation, AreaCode,
BaseName, Exonym, Shortened, and Synonym.
If the service returns an enum value that is not available in the current SDK version, type will return
TranslationNameType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
Abbreviation, AreaCode,
BaseName, Exonym, Shortened, and Synonym.
The type of translation name. Valid values are Abbreviation, AreaCode,
BaseName, Exonym, Shortened, and Synonym.
If the service returns an enum value that is not available in the current SDK version, type will return
TranslationNameType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
Abbreviation, AreaCode,
BaseName, Exonym, Shortened, and Synonym.
If true, indicates this is the primary name variant for the given language.
true, indicates this is the primary name variant for the given language.
If true, indicates this name is a transliterated version rather than a native script translation.
true, indicates this name is a transliterated version rather than a native script
translation.ToCopyableBuildertoBuilder in interface ToCopyableBuilder<TranslationName.Builder,TranslationName> SdkPojoSdkPojo class,
and is generated based on a service model.
If an SdkPojo class does not have any inherited fields, equalsBySdkFields
and equals are essentially the same.
equalsBySdkFields in interface SdkPojoobj - the object to be compared withsdkFieldNameToField in interface SdkPojo