Interface SynonymSet.SynonymOrBuilder (0.49.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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
int

The count of words.

getWordsList()

public abstract List<String> getWordsList()

For example: sale, invoice, bill, order

repeated string words = 1;

Returns
Type Description
List<String>

A list containing the words.