Interface Glossary.LanguageCodesSetOrBuilder (2.43.0)

public static interface Glossary.LanguageCodesSetOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getLanguageCodes(int index)

public abstract String getLanguageCodes(int index)

The BCP-47 language code(s) for terms defined in the glossary. All entries are unique. The list contains at least two entries. Expected to be an exact match for GlossaryTerm.language_code.

repeated string language_codes = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The languageCodes at the given index.

getLanguageCodesBytes(int index)

public abstract ByteString getLanguageCodesBytes(int index)

The BCP-47 language code(s) for terms defined in the glossary. All entries are unique. The list contains at least two entries. Expected to be an exact match for GlossaryTerm.language_code.

repeated string language_codes = 1;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the languageCodes at the given index.

getLanguageCodesCount()

public abstract int getLanguageCodesCount()

The BCP-47 language code(s) for terms defined in the glossary. All entries are unique. The list contains at least two entries. Expected to be an exact match for GlossaryTerm.language_code.

repeated string language_codes = 1;

Returns
Type Description
int

The count of languageCodes.

getLanguageCodesList()

public abstract List<String> getLanguageCodesList()

The BCP-47 language code(s) for terms defined in the glossary. All entries are unique. The list contains at least two entries. Expected to be an exact match for GlossaryTerm.language_code.

repeated string language_codes = 1;

Returns
Type Description
List<String>

A list containing the languageCodes.