Interface SynonymSet.SynonymOrBuilder (0.13.0)

public static interface SynonymSet.SynonymOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getWords(int index)

public abstract String getWords(int index)

For example: sale, invoice, bill, order

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)

For example: sale, invoice, bill, order

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()

For example: sale, invoice, bill, order

repeated string words = 1;

Returns
TypeDescription
int

The count of words.

getWordsList()

public abstract List<String> getWordsList()

For example: sale, invoice, bill, order

repeated string words = 1;

Returns
TypeDescription
List<String>

A list containing the words.