Interface CompleteQueryResponse.AttributeResultOrBuilder (2.44.0)

public static interface CompleteQueryResponse.AttributeResultOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getSuggestions(int index)

public abstract String getSuggestions(int index)

The list of suggestions for the attribute.

repeated string suggestions = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The suggestions at the given index.

getSuggestionsBytes(int index)

public abstract ByteString getSuggestionsBytes(int index)

The list of suggestions for the attribute.

repeated string suggestions = 1;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the suggestions at the given index.

getSuggestionsCount()

public abstract int getSuggestionsCount()

The list of suggestions for the attribute.

repeated string suggestions = 1;

Returns
Type Description
int

The count of suggestions.

getSuggestionsList()

public abstract List<String> getSuggestionsList()

The list of suggestions for the attribute.

repeated string suggestions = 1;

Returns
Type Description
List<String>

A list containing the suggestions.