Interface CustomInfoType.Dictionary.WordListOrBuilder (3.4.0)

public static interface CustomInfoType.Dictionary.WordListOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getWords(int index)

public abstract String getWords(int index)

Words or phrases defining the dictionary. The dictionary must contain at least one phrase and every phrase must contain at least 2 characters that are letters or digits. [required]

repeated string words = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The words at the given index.

getWordsBytes(int index)

public abstract ByteString getWordsBytes(int index)

Words or phrases defining the dictionary. The dictionary must contain at least one phrase and every phrase must contain at least 2 characters that are letters or digits. [required]

repeated string words = 1;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the words at the given index.

getWordsCount()

public abstract int getWordsCount()

Words or phrases defining the dictionary. The dictionary must contain at least one phrase and every phrase must contain at least 2 characters that are letters or digits. [required]

repeated string words = 1;

Returns
TypeDescription
int

The count of words.

getWordsList()

public abstract List<String> getWordsList()

Words or phrases defining the dictionary. The dictionary must contain at least one phrase and every phrase must contain at least 2 characters that are letters or digits. [required]

repeated string words = 1;

Returns
TypeDescription
List<String>

A list containing the words.