Interface CompleteQueryResponseOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
CompleteQueryResponse, CompleteQueryResponse.Builder

@Generated public interface CompleteQueryResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getQuerySuggestionsList

      List<CompleteQueryResponse.QuerySuggestion> getQuerySuggestionsList()
       Results of the matched query suggestions. The result list is ordered and
       the first result is a top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.CompleteQueryResponse.QuerySuggestion query_suggestions = 1;
    • getQuerySuggestions

      CompleteQueryResponse.QuerySuggestion getQuerySuggestions(int index)
       Results of the matched query suggestions. The result list is ordered and
       the first result is a top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.CompleteQueryResponse.QuerySuggestion query_suggestions = 1;
    • getQuerySuggestionsCount

      int getQuerySuggestionsCount()
       Results of the matched query suggestions. The result list is ordered and
       the first result is a top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.CompleteQueryResponse.QuerySuggestion query_suggestions = 1;
    • getQuerySuggestionsOrBuilderList

      List<? extends CompleteQueryResponse.QuerySuggestionOrBuilder> getQuerySuggestionsOrBuilderList()
       Results of the matched query suggestions. The result list is ordered and
       the first result is a top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.CompleteQueryResponse.QuerySuggestion query_suggestions = 1;
    • getQuerySuggestionsOrBuilder

      CompleteQueryResponse.QuerySuggestionOrBuilder getQuerySuggestionsOrBuilder(int index)
       Results of the matched query suggestions. The result list is ordered and
       the first result is a top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.CompleteQueryResponse.QuerySuggestion query_suggestions = 1;
    • getTailMatchTriggered

      boolean getTailMatchTriggered()
       True if the returned suggestions are all tail suggestions.
      
       For tail matching to be triggered, include_tail_suggestions in the request
       must be true and there must be no suggestions that match the full query.
       
      bool tail_match_triggered = 2;
      Returns:
      The tailMatchTriggered.