Interface AnswerQueryRequest.SearchSpecOrBuilder (0.41.0)

public static interface AnswerQueryRequest.SearchSpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getInputCase()

public abstract AnswerQueryRequest.SearchSpec.InputCase getInputCase()
Returns
Type Description
AnswerQueryRequest.SearchSpec.InputCase

getSearchParams()

public abstract AnswerQueryRequest.SearchSpec.SearchParams getSearchParams()

Search parameters.

.google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchParams search_params = 1;

Returns
Type Description
AnswerQueryRequest.SearchSpec.SearchParams

The searchParams.

getSearchParamsOrBuilder()

public abstract AnswerQueryRequest.SearchSpec.SearchParamsOrBuilder getSearchParamsOrBuilder()

Search parameters.

.google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchParams search_params = 1;

Returns
Type Description
AnswerQueryRequest.SearchSpec.SearchParamsOrBuilder

getSearchResultList()

public abstract AnswerQueryRequest.SearchSpec.SearchResultList getSearchResultList()

Search result list.

.google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchResultList search_result_list = 2;

Returns
Type Description
AnswerQueryRequest.SearchSpec.SearchResultList

The searchResultList.

getSearchResultListOrBuilder()

public abstract AnswerQueryRequest.SearchSpec.SearchResultListOrBuilder getSearchResultListOrBuilder()

Search result list.

.google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchResultList search_result_list = 2;

Returns
Type Description
AnswerQueryRequest.SearchSpec.SearchResultListOrBuilder

hasSearchParams()

public abstract boolean hasSearchParams()

Search parameters.

.google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchParams search_params = 1;

Returns
Type Description
boolean

Whether the searchParams field is set.

hasSearchResultList()

public abstract boolean hasSearchResultList()

Search result list.

.google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchResultList search_result_list = 2;

Returns
Type Description
boolean

Whether the searchResultList field is set.