public final class GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchParams
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Discovery Engine API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchParams() |
| Modifier and Type | Method and Description |
|---|---|
GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchParams |
clone() |
GoogleCloudDiscoveryengineV1SearchRequestBoostSpec |
getBoostSpec()
Boost specification to boost certain documents in search results which may affect the answer
query response.
|
List<GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec> |
getDataStoreSpecs()
Specs defining dataStores to filter on in a search call and configurations for those
dataStores.
|
String |
getFilter()
The filter syntax consists of an expression language for constructing a predicate from one or
more fields of the documents being filtered.
|
Integer |
getMaxReturnResults()
Number of search results to return.
|
String |
getOrderBy()
The order in which documents are returned.
|
String |
getSearchResultMode()
Specifies the search result mode.
|
GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchParams |
set(String fieldName,
Object value) |
GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchParams |
setBoostSpec(GoogleCloudDiscoveryengineV1SearchRequestBoostSpec boostSpec)
Boost specification to boost certain documents in search results which may affect the answer
query response.
|
GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchParams |
setDataStoreSpecs(List<GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec> dataStoreSpecs)
Specs defining dataStores to filter on in a search call and configurations for those
dataStores.
|
GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchParams |
setFilter(String filter)
The filter syntax consists of an expression language for constructing a predicate from one or
more fields of the documents being filtered.
|
GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchParams |
setMaxReturnResults(Integer maxReturnResults)
Number of search results to return.
|
GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchParams |
setOrderBy(String orderBy)
The order in which documents are returned.
|
GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchParams |
setSearchResultMode(String searchResultMode)
Specifies the search result mode.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchParams()
public GoogleCloudDiscoveryengineV1SearchRequestBoostSpec getBoostSpec()
null for nonepublic GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchParams setBoostSpec(GoogleCloudDiscoveryengineV1SearchRequestBoostSpec boostSpec)
boostSpec - boostSpec or null for nonepublic List<GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec> getDataStoreSpecs()
null for nonepublic GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchParams setDataStoreSpecs(List<GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec> dataStoreSpecs)
dataStoreSpecs - dataStoreSpecs or null for nonepublic String getFilter()
null for nonepublic GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchParams setFilter(String filter)
filter - filter or null for nonepublic Integer getMaxReturnResults()
null for nonepublic GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchParams setMaxReturnResults(Integer maxReturnResults)
maxReturnResults - maxReturnResults or null for nonepublic String getOrderBy()
null for nonepublic GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchParams setOrderBy(String orderBy)
orderBy - orderBy or null for nonepublic String getSearchResultMode()
null for nonepublic GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchParams setSearchResultMode(String searchResultMode)
searchResultMode - searchResultMode or null for nonepublic GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchParams set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchParams clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.