Interface CompletionInfoOrBuilder (0.47.0)

public interface CompletionInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getSelectedPosition()

public abstract int getSelectedPosition()

End user selected CompleteQueryResponse.QuerySuggestion.suggestion position, starting from 0.

int32 selected_position = 2;

Returns
Type Description
int

The selectedPosition.

getSelectedSuggestion()

public abstract String getSelectedSuggestion()

End user selected CompleteQueryResponse.QuerySuggestion.suggestion.

string selected_suggestion = 1;

Returns
Type Description
String

The selectedSuggestion.

getSelectedSuggestionBytes()

public abstract ByteString getSelectedSuggestionBytes()

End user selected CompleteQueryResponse.QuerySuggestion.suggestion.

string selected_suggestion = 1;

Returns
Type Description
ByteString

The bytes for selectedSuggestion.