Interface CompleteQueryResponseOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CompleteQueryResponse
,CompleteQueryResponse.Builder
public interface CompleteQueryResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CompleteQueryResponse.QuerySuggestion
getQuerySuggestions(int index)
Results of the matched query suggestions.int
getQuerySuggestionsCount()
Results of the matched query suggestions.List<CompleteQueryResponse.QuerySuggestion>
getQuerySuggestionsList()
Results of the matched query suggestions.CompleteQueryResponse.QuerySuggestionOrBuilder
getQuerySuggestionsOrBuilder(int index)
Results of the matched query suggestions.List<? extends CompleteQueryResponse.QuerySuggestionOrBuilder>
getQuerySuggestionsOrBuilderList()
Results of the matched query suggestions.boolean
getTailMatchTriggered()
True if the returned suggestions are all tail suggestions.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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.v1.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.v1.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.v1.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.v1.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.v1.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.
-
-