public static interface Control.SynonymsActionOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getSynonyms(int index)
public abstract String getSynonyms(int index)Defines a set of synonyms. Can specify up to 100 synonyms. Must specify at least 2 synonyms. Otherwise an INVALID ARGUMENT error is thrown.
repeated string synonyms = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The synonyms at the given index. |
getSynonymsBytes(int index)
public abstract ByteString getSynonymsBytes(int index)Defines a set of synonyms. Can specify up to 100 synonyms. Must specify at least 2 synonyms. Otherwise an INVALID ARGUMENT error is thrown.
repeated string synonyms = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the synonyms at the given index. |
getSynonymsCount()
public abstract int getSynonymsCount()Defines a set of synonyms. Can specify up to 100 synonyms. Must specify at least 2 synonyms. Otherwise an INVALID ARGUMENT error is thrown.
repeated string synonyms = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The count of synonyms. |
getSynonymsList()
public abstract List<String> getSynonymsList()Defines a set of synonyms. Can specify up to 100 synonyms. Must specify at least 2 synonyms. Otherwise an INVALID ARGUMENT error is thrown.
repeated string synonyms = 1;
| Returns | |
|---|---|
| Type | Description |
List<String> |
A list containing the synonyms. |