Interface CompletionDetailOrBuilder (2.1.0)

public interface CompletionDetailOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCompletionAttributionToken()

public abstract String getCompletionAttributionToken()

Completion attribution token in CompleteQueryResponse.attribution_token.

string completion_attribution_token = 1;

Returns
TypeDescription
String

The completionAttributionToken.

getCompletionAttributionTokenBytes()

public abstract ByteString getCompletionAttributionTokenBytes()

Completion attribution token in CompleteQueryResponse.attribution_token.

string completion_attribution_token = 1;

Returns
TypeDescription
ByteString

The bytes for completionAttributionToken.

getSelectedPosition()

public abstract int getSelectedPosition()

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

int32 selected_position = 3;

Returns
TypeDescription
int

The selectedPosition.

getSelectedSuggestion()

public abstract String getSelectedSuggestion()

End user selected CompleteQueryResponse.CompletionResult.suggestion.

string selected_suggestion = 2;

Returns
TypeDescription
String

The selectedSuggestion.

getSelectedSuggestionBytes()

public abstract ByteString getSelectedSuggestionBytes()

End user selected CompleteQueryResponse.CompletionResult.suggestion.

string selected_suggestion = 2;

Returns
TypeDescription
ByteString

The bytes for selectedSuggestion.