Interface SynonymSet.SynonymOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SynonymSet.Synonym
,SynonymSet.Synonym.Builder
- Enclosing class:
- SynonymSet
public static interface SynonymSet.SynonymOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getWords(int index)
For example: sale, invoice, bill, ordercom.google.protobuf.ByteString
getWordsBytes(int index)
For example: sale, invoice, bill, orderint
getWordsCount()
For example: sale, invoice, bill, orderList<String>
getWordsList()
For example: sale, invoice, bill, order-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getWordsList
List<String> getWordsList()
For example: sale, invoice, bill, order
repeated string words = 1;
- Returns:
- A list containing the words.
-
getWordsCount
int getWordsCount()
For example: sale, invoice, bill, order
repeated string words = 1;
- Returns:
- The count of words.
-
getWords
String getWords(int index)
For example: sale, invoice, bill, order
repeated string words = 1;
- Parameters:
index
- The index of the element to return.- Returns:
- The words at the given index.
-
getWordsBytes
com.google.protobuf.ByteString getWordsBytes(int index)
For example: sale, invoice, bill, order
repeated string words = 1;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the words at the given index.
-
-