Interface Glossary.LanguageCodesSetOrBuilder (2.46.0)

public static interface Glossary.LanguageCodesSetOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getLanguageCodes(int index)

public abstract String getLanguageCodes(int index)

The ISO-639 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 ISO-639 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 ISO-639 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 ISO-639 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.