Interface AnswerQueryRequest.SearchSpec.SearchResultListOrBuilder (0.45.0)

public static interface AnswerQueryRequest.SearchSpec.SearchResultListOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getSearchResults(int index)

public abstract AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult getSearchResults(int index)

Search results.

repeated .google.cloud.discoveryengine.v1alpha.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult search_results = 1;

Parameter
Name Description
index int
Returns
Type Description
AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult

getSearchResultsCount()

public abstract int getSearchResultsCount()

Search results.

repeated .google.cloud.discoveryengine.v1alpha.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult search_results = 1;

Returns
Type Description
int

getSearchResultsList()

public abstract List<AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult> getSearchResultsList()

Search results.

repeated .google.cloud.discoveryengine.v1alpha.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult search_results = 1;

Returns
Type Description
List<SearchResult>

getSearchResultsOrBuilder(int index)

public abstract AnswerQueryRequest.SearchSpec.SearchResultList.SearchResultOrBuilder getSearchResultsOrBuilder(int index)

Search results.

repeated .google.cloud.discoveryengine.v1alpha.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult search_results = 1;

Parameter
Name Description
index int
Returns
Type Description
AnswerQueryRequest.SearchSpec.SearchResultList.SearchResultOrBuilder

getSearchResultsOrBuilderList()

public abstract List<? extends AnswerQueryRequest.SearchSpec.SearchResultList.SearchResultOrBuilder> getSearchResultsOrBuilderList()

Search results.

repeated .google.cloud.discoveryengine.v1alpha.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult search_results = 1;

Returns
Type Description
List<? extends com.google.cloud.discoveryengine.v1alpha.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResultOrBuilder>