Interface CompletionDetailOrBuilder (2.55.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
Type Description
String

The completionAttributionToken.

getCompletionAttributionTokenBytes()

public abstract ByteString getCompletionAttributionTokenBytes()

Completion attribution token in CompleteQueryResponse.attribution_token.

string completion_attribution_token = 1;

Returns
Type Description
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
Type Description
int

The selectedPosition.

getSelectedSuggestion()

public abstract String getSelectedSuggestion()

End user selected CompleteQueryResponse.CompletionResult.suggestion.

string selected_suggestion = 2;

Returns
Type Description
String

The selectedSuggestion.

getSelectedSuggestionBytes()

public abstract ByteString getSelectedSuggestionBytes()

End user selected CompleteQueryResponse.CompletionResult.suggestion.

string selected_suggestion = 2;

Returns
Type Description
ByteString

The bytes for selectedSuggestion.