Interface Intent.Message.SelectItemInfoOrBuilder (4.3.1)

public static interface Intent.Message.SelectItemInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getKey()

public abstract String getKey()

Required. A unique key that will be sent back to the agent if this response is given.

string key = 1;

Returns
TypeDescription
String

The key.

getKeyBytes()

public abstract ByteString getKeyBytes()

Required. A unique key that will be sent back to the agent if this response is given.

string key = 1;

Returns
TypeDescription
ByteString

The bytes for key.

getSynonyms(int index)

public abstract String getSynonyms(int index)

Optional. A list of synonyms that can also be used to trigger this item in dialog.

repeated string synonyms = 2;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The synonyms at the given index.

getSynonymsBytes(int index)

public abstract ByteString getSynonymsBytes(int index)

Optional. A list of synonyms that can also be used to trigger this item in dialog.

repeated string synonyms = 2;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the synonyms at the given index.

getSynonymsCount()

public abstract int getSynonymsCount()

Optional. A list of synonyms that can also be used to trigger this item in dialog.

repeated string synonyms = 2;

Returns
TypeDescription
int

The count of synonyms.

getSynonymsList()

public abstract List<String> getSynonymsList()

Optional. A list of synonyms that can also be used to trigger this item in dialog.

repeated string synonyms = 2;

Returns
TypeDescription
List<String>

A list containing the synonyms.