public final class GoogleCloudDiscoveryengineV1SearchRequest
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 |
|---|
GoogleCloudDiscoveryengineV1SearchRequest() |
| Modifier and Type | Method and Description |
|---|---|
GoogleCloudDiscoveryengineV1SearchRequest |
clone() |
GoogleCloudDiscoveryengineV1SearchRequestBoostSpec |
getBoostSpec()
Boost specification to boost certain documents.
|
String |
getBranch()
The branch resource name, such as `projects/locations/global/collections/default_collection/dat
aStores/default_data_store/branches/0`.
|
String |
getCanonicalFilter()
The default filter that is applied when a user performs a search without checking any filters
on the search page.
|
GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec |
getContentSearchSpec()
A specification for configuring the behavior of content search.
|
List<GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec> |
getDataStoreSpecs()
Specs defining dataStores to filter on in a search call and configurations for those
dataStores.
|
List<GoogleCloudDiscoveryengineV1SearchRequestFacetSpec> |
getFacetSpecs()
Facet specifications for faceted search.
|
String |
getFilter()
The filter syntax consists of an expression language for constructing a predicate from one or
more fields of the documents being filtered.
|
GoogleCloudDiscoveryengineV1SearchRequestImageQuery |
getImageQuery()
Raw image query.
|
String |
getLanguageCode()
The BCP-47 language code, such as "en-US" or "sr-Latn".
|
Integer |
getOffset()
A 0-indexed integer that specifies the current offset (that is, starting result location,
amongst the Documents deemed by the API as relevant) in search results.
|
String |
getOrderBy()
The order in which documents are returned.
|
Integer |
getPageSize()
Maximum number of Documents to return.
|
String |
getPageToken()
A page token received from a previous SearchService.Search call.
|
Map<String,Object> |
getParams()
Additional search parameters.
|
String |
getQuery()
Raw search query.
|
GoogleCloudDiscoveryengineV1SearchRequestQueryExpansionSpec |
getQueryExpansionSpec()
The query expansion specification that specifies the conditions under which query expansion
occurs.
|
Boolean |
getSafeSearch()
Whether to turn on safe search.
|
GoogleCloudDiscoveryengineV1SearchRequestSearchAsYouTypeSpec |
getSearchAsYouTypeSpec()
Search as you type configuration.
|
String |
getSession()
The session resource name.
|
GoogleCloudDiscoveryengineV1SearchRequestSessionSpec |
getSessionSpec()
Session specification.
|
GoogleCloudDiscoveryengineV1SearchRequestSpellCorrectionSpec |
getSpellCorrectionSpec()
The spell correction specification that specifies the mode under which spell correction takes
effect.
|
GoogleCloudDiscoveryengineV1UserInfo |
getUserInfo()
Information about the end user.
|
Map<String,String> |
getUserLabels()
The user labels applied to a resource must meet the following requirements: * Each resource can
have multiple labels, up to a maximum of 64.
|
String |
getUserPseudoId()
A unique identifier for tracking visitors.
|
GoogleCloudDiscoveryengineV1SearchRequest |
set(String fieldName,
Object value) |
GoogleCloudDiscoveryengineV1SearchRequest |
setBoostSpec(GoogleCloudDiscoveryengineV1SearchRequestBoostSpec boostSpec)
Boost specification to boost certain documents.
|
GoogleCloudDiscoveryengineV1SearchRequest |
setBranch(String branch)
The branch resource name, such as `projects/locations/global/collections/default_collection/dat
aStores/default_data_store/branches/0`.
|
GoogleCloudDiscoveryengineV1SearchRequest |
setCanonicalFilter(String canonicalFilter)
The default filter that is applied when a user performs a search without checking any filters
on the search page.
|
GoogleCloudDiscoveryengineV1SearchRequest |
setContentSearchSpec(GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec contentSearchSpec)
A specification for configuring the behavior of content search.
|
GoogleCloudDiscoveryengineV1SearchRequest |
setDataStoreSpecs(List<GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec> dataStoreSpecs)
Specs defining dataStores to filter on in a search call and configurations for those
dataStores.
|
GoogleCloudDiscoveryengineV1SearchRequest |
setFacetSpecs(List<GoogleCloudDiscoveryengineV1SearchRequestFacetSpec> facetSpecs)
Facet specifications for faceted search.
|
GoogleCloudDiscoveryengineV1SearchRequest |
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.
|
GoogleCloudDiscoveryengineV1SearchRequest |
setImageQuery(GoogleCloudDiscoveryengineV1SearchRequestImageQuery imageQuery)
Raw image query.
|
GoogleCloudDiscoveryengineV1SearchRequest |
setLanguageCode(String languageCode)
The BCP-47 language code, such as "en-US" or "sr-Latn".
|
GoogleCloudDiscoveryengineV1SearchRequest |
setOffset(Integer offset)
A 0-indexed integer that specifies the current offset (that is, starting result location,
amongst the Documents deemed by the API as relevant) in search results.
|
GoogleCloudDiscoveryengineV1SearchRequest |
setOrderBy(String orderBy)
The order in which documents are returned.
|
GoogleCloudDiscoveryengineV1SearchRequest |
setPageSize(Integer pageSize)
Maximum number of Documents to return.
|
GoogleCloudDiscoveryengineV1SearchRequest |
setPageToken(String pageToken)
A page token received from a previous SearchService.Search call.
|
GoogleCloudDiscoveryengineV1SearchRequest |
setParams(Map<String,Object> params)
Additional search parameters.
|
GoogleCloudDiscoveryengineV1SearchRequest |
setQuery(String query)
Raw search query.
|
GoogleCloudDiscoveryengineV1SearchRequest |
setQueryExpansionSpec(GoogleCloudDiscoveryengineV1SearchRequestQueryExpansionSpec queryExpansionSpec)
The query expansion specification that specifies the conditions under which query expansion
occurs.
|
GoogleCloudDiscoveryengineV1SearchRequest |
setSafeSearch(Boolean safeSearch)
Whether to turn on safe search.
|
GoogleCloudDiscoveryengineV1SearchRequest |
setSearchAsYouTypeSpec(GoogleCloudDiscoveryengineV1SearchRequestSearchAsYouTypeSpec searchAsYouTypeSpec)
Search as you type configuration.
|
GoogleCloudDiscoveryengineV1SearchRequest |
setSession(String session)
The session resource name.
|
GoogleCloudDiscoveryengineV1SearchRequest |
setSessionSpec(GoogleCloudDiscoveryengineV1SearchRequestSessionSpec sessionSpec)
Session specification.
|
GoogleCloudDiscoveryengineV1SearchRequest |
setSpellCorrectionSpec(GoogleCloudDiscoveryengineV1SearchRequestSpellCorrectionSpec spellCorrectionSpec)
The spell correction specification that specifies the mode under which spell correction takes
effect.
|
GoogleCloudDiscoveryengineV1SearchRequest |
setUserInfo(GoogleCloudDiscoveryengineV1UserInfo userInfo)
Information about the end user.
|
GoogleCloudDiscoveryengineV1SearchRequest |
setUserLabels(Map<String,String> userLabels)
The user labels applied to a resource must meet the following requirements: * Each resource can
have multiple labels, up to a maximum of 64.
|
GoogleCloudDiscoveryengineV1SearchRequest |
setUserPseudoId(String userPseudoId)
A unique identifier for tracking visitors.
|
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 GoogleCloudDiscoveryengineV1SearchRequest()
public GoogleCloudDiscoveryengineV1SearchRequestBoostSpec getBoostSpec()
null for nonepublic GoogleCloudDiscoveryengineV1SearchRequest setBoostSpec(GoogleCloudDiscoveryengineV1SearchRequestBoostSpec boostSpec)
boostSpec - boostSpec or null for nonepublic String getBranch()
null for nonepublic GoogleCloudDiscoveryengineV1SearchRequest setBranch(String branch)
branch - branch or null for nonepublic String getCanonicalFilter()
null for nonepublic GoogleCloudDiscoveryengineV1SearchRequest setCanonicalFilter(String canonicalFilter)
canonicalFilter - canonicalFilter or null for nonepublic GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec getContentSearchSpec()
null for nonepublic GoogleCloudDiscoveryengineV1SearchRequest setContentSearchSpec(GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec contentSearchSpec)
contentSearchSpec - contentSearchSpec or null for nonepublic List<GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec> getDataStoreSpecs()
null for nonepublic GoogleCloudDiscoveryengineV1SearchRequest setDataStoreSpecs(List<GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec> dataStoreSpecs)
dataStoreSpecs - dataStoreSpecs or null for nonepublic List<GoogleCloudDiscoveryengineV1SearchRequestFacetSpec> getFacetSpecs()
null for nonepublic GoogleCloudDiscoveryengineV1SearchRequest setFacetSpecs(List<GoogleCloudDiscoveryengineV1SearchRequestFacetSpec> facetSpecs)
facetSpecs - facetSpecs or null for nonepublic String getFilter()
null for nonepublic GoogleCloudDiscoveryengineV1SearchRequest setFilter(String filter)
filter - filter or null for nonepublic GoogleCloudDiscoveryengineV1SearchRequestImageQuery getImageQuery()
null for nonepublic GoogleCloudDiscoveryengineV1SearchRequest setImageQuery(GoogleCloudDiscoveryengineV1SearchRequestImageQuery imageQuery)
imageQuery - imageQuery or null for nonepublic String getLanguageCode()
null for nonepublic GoogleCloudDiscoveryengineV1SearchRequest setLanguageCode(String languageCode)
languageCode - languageCode or null for nonepublic Integer getOffset()
null for nonepublic GoogleCloudDiscoveryengineV1SearchRequest setOffset(Integer offset)
offset - offset or null for nonepublic String getOrderBy()
null for nonepublic GoogleCloudDiscoveryengineV1SearchRequest setOrderBy(String orderBy)
orderBy - orderBy or null for nonepublic Integer getPageSize()
null for nonepublic GoogleCloudDiscoveryengineV1SearchRequest setPageSize(Integer pageSize)
pageSize - pageSize or null for nonepublic String getPageToken()
null for nonepublic GoogleCloudDiscoveryengineV1SearchRequest setPageToken(String pageToken)
pageToken - pageToken or null for nonepublic Map<String,Object> getParams()
null for nonepublic GoogleCloudDiscoveryengineV1SearchRequest setParams(Map<String,Object> params)
params - params or null for nonepublic String getQuery()
null for nonepublic GoogleCloudDiscoveryengineV1SearchRequest setQuery(String query)
query - query or null for nonepublic GoogleCloudDiscoveryengineV1SearchRequestQueryExpansionSpec getQueryExpansionSpec()
null for nonepublic GoogleCloudDiscoveryengineV1SearchRequest setQueryExpansionSpec(GoogleCloudDiscoveryengineV1SearchRequestQueryExpansionSpec queryExpansionSpec)
queryExpansionSpec - queryExpansionSpec or null for nonepublic Boolean getSafeSearch()
null for nonepublic GoogleCloudDiscoveryengineV1SearchRequest setSafeSearch(Boolean safeSearch)
safeSearch - safeSearch or null for nonepublic GoogleCloudDiscoveryengineV1SearchRequestSearchAsYouTypeSpec getSearchAsYouTypeSpec()
null for nonepublic GoogleCloudDiscoveryengineV1SearchRequest setSearchAsYouTypeSpec(GoogleCloudDiscoveryengineV1SearchRequestSearchAsYouTypeSpec searchAsYouTypeSpec)
searchAsYouTypeSpec - searchAsYouTypeSpec or null for nonepublic String getSession()
null for nonepublic GoogleCloudDiscoveryengineV1SearchRequest setSession(String session)
session - session or null for nonepublic GoogleCloudDiscoveryengineV1SearchRequestSessionSpec getSessionSpec()
null for nonepublic GoogleCloudDiscoveryengineV1SearchRequest setSessionSpec(GoogleCloudDiscoveryengineV1SearchRequestSessionSpec sessionSpec)
sessionSpec - sessionSpec or null for nonepublic GoogleCloudDiscoveryengineV1SearchRequestSpellCorrectionSpec getSpellCorrectionSpec()
null for nonepublic GoogleCloudDiscoveryengineV1SearchRequest setSpellCorrectionSpec(GoogleCloudDiscoveryengineV1SearchRequestSpellCorrectionSpec spellCorrectionSpec)
spellCorrectionSpec - spellCorrectionSpec or null for nonepublic GoogleCloudDiscoveryengineV1UserInfo getUserInfo()
null for nonepublic GoogleCloudDiscoveryengineV1SearchRequest setUserInfo(GoogleCloudDiscoveryengineV1UserInfo userInfo)
userInfo - userInfo or null for nonepublic Map<String,String> getUserLabels()
null for nonepublic GoogleCloudDiscoveryengineV1SearchRequest setUserLabels(Map<String,String> userLabels)
userLabels - userLabels or null for nonepublic String getUserPseudoId()
null for nonepublic GoogleCloudDiscoveryengineV1SearchRequest setUserPseudoId(String userPseudoId)
userPseudoId - userPseudoId or null for nonepublic GoogleCloudDiscoveryengineV1SearchRequest set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GoogleCloudDiscoveryengineV1SearchRequest clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.