Interface CompleteQueryResponse.AttributeResultOrBuilder (2.43.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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
int

The count of suggestions.

getSuggestionsList()

public abstract List<String> getSuggestionsList()

The list of suggestions for the attribute.

repeated string suggestions = 1;

Returns
TypeDescription
List<String>

A list containing the suggestions.