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 Summary
Modifier and TypeMethodDescriptiongetQuerySuggestions(int index) Results of the matched query suggestions.intResults of the matched query suggestions.Results of the matched query suggestions.getQuerySuggestionsOrBuilder(int index) Results of the matched query suggestions.Results of the matched query suggestions.booleanTrue if the returned suggestions are all tail suggestions.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
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
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.
-