Interface AdvancedCompleteQueryResponseOrBuilder (0.50.0)

public interface AdvancedCompleteQueryResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContentSuggestions(int index)

public abstract AdvancedCompleteQueryResponse.ContentSuggestion getContentSuggestions(int index)

Results of the matched content suggestions. The result list is ordered and the first result is the top suggestion.

repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.ContentSuggestion content_suggestions = 4;

Parameter
Name Description
index int
Returns
Type Description
AdvancedCompleteQueryResponse.ContentSuggestion

getContentSuggestionsCount()

public abstract int getContentSuggestionsCount()

Results of the matched content suggestions. The result list is ordered and the first result is the top suggestion.

repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.ContentSuggestion content_suggestions = 4;

Returns
Type Description
int

getContentSuggestionsList()

public abstract List<AdvancedCompleteQueryResponse.ContentSuggestion> getContentSuggestionsList()

Results of the matched content suggestions. The result list is ordered and the first result is the top suggestion.

repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.ContentSuggestion content_suggestions = 4;

Returns
Type Description
List<ContentSuggestion>

getContentSuggestionsOrBuilder(int index)

public abstract AdvancedCompleteQueryResponse.ContentSuggestionOrBuilder getContentSuggestionsOrBuilder(int index)

Results of the matched content suggestions. The result list is ordered and the first result is the top suggestion.

repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.ContentSuggestion content_suggestions = 4;

Parameter
Name Description
index int
Returns
Type Description
AdvancedCompleteQueryResponse.ContentSuggestionOrBuilder

getContentSuggestionsOrBuilderList()

public abstract List<? extends AdvancedCompleteQueryResponse.ContentSuggestionOrBuilder> getContentSuggestionsOrBuilderList()

Results of the matched content suggestions. The result list is ordered and the first result is the top suggestion.

repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.ContentSuggestion content_suggestions = 4;

Returns
Type Description
List<? extends com.google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.ContentSuggestionOrBuilder>

getPeopleSuggestions(int index)

public abstract AdvancedCompleteQueryResponse.PersonSuggestion getPeopleSuggestions(int index)

Results of the matched people suggestions. The result list is ordered and the first result is the top suggestion.

repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.PersonSuggestion people_suggestions = 3;

Parameter
Name Description
index int
Returns
Type Description
AdvancedCompleteQueryResponse.PersonSuggestion

getPeopleSuggestionsCount()

public abstract int getPeopleSuggestionsCount()

Results of the matched people suggestions. The result list is ordered and the first result is the top suggestion.

repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.PersonSuggestion people_suggestions = 3;

Returns
Type Description
int

getPeopleSuggestionsList()

public abstract List<AdvancedCompleteQueryResponse.PersonSuggestion> getPeopleSuggestionsList()

Results of the matched people suggestions. The result list is ordered and the first result is the top suggestion.

repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.PersonSuggestion people_suggestions = 3;

Returns
Type Description
List<PersonSuggestion>

getPeopleSuggestionsOrBuilder(int index)

public abstract AdvancedCompleteQueryResponse.PersonSuggestionOrBuilder getPeopleSuggestionsOrBuilder(int index)

Results of the matched people suggestions. The result list is ordered and the first result is the top suggestion.

repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.PersonSuggestion people_suggestions = 3;

Parameter
Name Description
index int
Returns
Type Description
AdvancedCompleteQueryResponse.PersonSuggestionOrBuilder

getPeopleSuggestionsOrBuilderList()

public abstract List<? extends AdvancedCompleteQueryResponse.PersonSuggestionOrBuilder> getPeopleSuggestionsOrBuilderList()

Results of the matched people suggestions. The result list is ordered and the first result is the top suggestion.

repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.PersonSuggestion people_suggestions = 3;

Returns
Type Description
List<? extends com.google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.PersonSuggestionOrBuilder>

getQuerySuggestions(int index)

public abstract AdvancedCompleteQueryResponse.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.AdvancedCompleteQueryResponse.QuerySuggestion query_suggestions = 1;

Parameter
Name Description
index int
Returns
Type Description
AdvancedCompleteQueryResponse.QuerySuggestion

getQuerySuggestionsCount()

public abstract 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.AdvancedCompleteQueryResponse.QuerySuggestion query_suggestions = 1;

Returns
Type Description
int

getQuerySuggestionsList()

public abstract List<AdvancedCompleteQueryResponse.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.AdvancedCompleteQueryResponse.QuerySuggestion query_suggestions = 1;

Returns
Type Description
List<QuerySuggestion>

getQuerySuggestionsOrBuilder(int index)

public abstract AdvancedCompleteQueryResponse.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.AdvancedCompleteQueryResponse.QuerySuggestion query_suggestions = 1;

Parameter
Name Description
index int
Returns
Type Description
AdvancedCompleteQueryResponse.QuerySuggestionOrBuilder

getQuerySuggestionsOrBuilderList()

public abstract List<? extends AdvancedCompleteQueryResponse.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.AdvancedCompleteQueryResponse.QuerySuggestion query_suggestions = 1;

Returns
Type Description
List<? extends com.google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.QuerySuggestionOrBuilder>

getRecentSearchSuggestions(int index)

public abstract AdvancedCompleteQueryResponse.RecentSearchSuggestion getRecentSearchSuggestions(int index)

Results of the matched "recent search" suggestions. The result list is ordered and the first result is the top suggestion.

repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.RecentSearchSuggestion recent_search_suggestions = 5;

Parameter
Name Description
index int
Returns
Type Description
AdvancedCompleteQueryResponse.RecentSearchSuggestion

getRecentSearchSuggestionsCount()

public abstract int getRecentSearchSuggestionsCount()

Results of the matched "recent search" suggestions. The result list is ordered and the first result is the top suggestion.

repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.RecentSearchSuggestion recent_search_suggestions = 5;

Returns
Type Description
int

getRecentSearchSuggestionsList()

public abstract List<AdvancedCompleteQueryResponse.RecentSearchSuggestion> getRecentSearchSuggestionsList()

Results of the matched "recent search" suggestions. The result list is ordered and the first result is the top suggestion.

repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.RecentSearchSuggestion recent_search_suggestions = 5;

Returns
Type Description
List<RecentSearchSuggestion>

getRecentSearchSuggestionsOrBuilder(int index)

public abstract AdvancedCompleteQueryResponse.RecentSearchSuggestionOrBuilder getRecentSearchSuggestionsOrBuilder(int index)

Results of the matched "recent search" suggestions. The result list is ordered and the first result is the top suggestion.

repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.RecentSearchSuggestion recent_search_suggestions = 5;

Parameter
Name Description
index int
Returns
Type Description
AdvancedCompleteQueryResponse.RecentSearchSuggestionOrBuilder

getRecentSearchSuggestionsOrBuilderList()

public abstract List<? extends AdvancedCompleteQueryResponse.RecentSearchSuggestionOrBuilder> getRecentSearchSuggestionsOrBuilderList()

Results of the matched "recent search" suggestions. The result list is ordered and the first result is the top suggestion.

repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.RecentSearchSuggestion recent_search_suggestions = 5;

Returns
Type Description
List<? extends com.google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.RecentSearchSuggestionOrBuilder>

getTailMatchTriggered()

public abstract 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
Type Description
boolean

The tailMatchTriggered.