Interface CompletionInfoOrBuilder (0.15.0)

public interface CompletionInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getSelectedPosition()

public abstract int getSelectedPosition()

End user selected [CompleteQueryResponse.CompletionResult.suggestion][] position, starting from 0.

int32 selected_position = 2;

Returns
TypeDescription
int

The selectedPosition.

getSelectedSuggestion()

public abstract String getSelectedSuggestion()

End user selected [CompleteQueryResponse.CompletionResult.suggestion][].

string selected_suggestion = 1;

Returns
TypeDescription
String

The selectedSuggestion.

getSelectedSuggestionBytes()

public abstract ByteString getSelectedSuggestionBytes()

End user selected [CompleteQueryResponse.CompletionResult.suggestion][].

string selected_suggestion = 1;

Returns
TypeDescription
ByteString

The bytes for selectedSuggestion.