public static interface Rule.TwowaySynonymsActionOrBuilder 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.
repeated string synonyms = 1;
| Name | Description |
| index | intThe index of the element to return. |
| 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.
repeated string synonyms = 1;
| Name | Description |
| index | intThe index of the value to return. |
| 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.
repeated string synonyms = 1;
| 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.
repeated string synonyms = 1;
| Type | Description |
| List<String> | A list containing the synonyms. |