public final class GoogleCloudDiscoveryengineV1betaSearchRequest
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 |
|---|
GoogleCloudDiscoveryengineV1betaSearchRequest() |
| Modifier and Type | Method and Description |
|---|---|
GoogleCloudDiscoveryengineV1betaSearchRequest |
clone() |
GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec |
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.
|
GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec |
getContentSearchSpec()
A specification for configuring the behavior of content search.
|
List<GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec> |
getDataStoreSpecs()
Specs defining dataStores to filter on in a search call and configurations for those
dataStores.
|
GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec |
getEmbeddingSpec()
Uses the provided embedding to do additional semantic document retrieval.
|
List<GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpec> |
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.
|
GoogleCloudDiscoveryengineV1betaSearchRequestImageQuery |
getImageQuery()
Raw image query.
|
String |
getLanguageCode()
The BCP-47 language code, such as "en-US" or "sr-Latn".
|
GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec |
getNaturalLanguageQueryUnderstandingSpec()
If `naturalLanguageQueryUnderstandingSpec` is not specified, no additional natural language
query understanding will be done.
|
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.
|
GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec |
getQueryExpansionSpec()
The query expansion specification that specifies the conditions under which query expansion
occurs.
|
String |
getRankingExpression()
The ranking expression controls the customized ranking on retrieval documents.
|
String |
getRegionCode()
The Unicode country/region code (CLDR) of a location, such as "US" and "419".
|
String |
getRelevanceThreshold()
The relevance threshold of the search results.
|
Boolean |
getSafeSearch()
Whether to turn on safe search.
|
GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec |
getSearchAsYouTypeSpec()
Search as you type configuration.
|
String |
getServingConfig()
Required.
|
String |
getSession()
The session resource name.
|
GoogleCloudDiscoveryengineV1betaSearchRequestSessionSpec |
getSessionSpec()
Session specification.
|
GoogleCloudDiscoveryengineV1betaSearchRequestSpellCorrectionSpec |
getSpellCorrectionSpec()
The spell correction specification that specifies the mode under which spell correction takes
effect.
|
GoogleCloudDiscoveryengineV1betaUserInfo |
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.
|
GoogleCloudDiscoveryengineV1betaSearchRequest |
set(String fieldName,
Object value) |
GoogleCloudDiscoveryengineV1betaSearchRequest |
setBoostSpec(GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec boostSpec)
Boost specification to boost certain documents.
|
GoogleCloudDiscoveryengineV1betaSearchRequest |
setBranch(String branch)
The branch resource name, such as `projects/locations/global/collections/default_collection/dat
aStores/default_data_store/branches/0`.
|
GoogleCloudDiscoveryengineV1betaSearchRequest |
setCanonicalFilter(String canonicalFilter)
The default filter that is applied when a user performs a search without checking any filters
on the search page.
|
GoogleCloudDiscoveryengineV1betaSearchRequest |
setContentSearchSpec(GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec contentSearchSpec)
A specification for configuring the behavior of content search.
|
GoogleCloudDiscoveryengineV1betaSearchRequest |
setDataStoreSpecs(List<GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec> dataStoreSpecs)
Specs defining dataStores to filter on in a search call and configurations for those
dataStores.
|
GoogleCloudDiscoveryengineV1betaSearchRequest |
setEmbeddingSpec(GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec embeddingSpec)
Uses the provided embedding to do additional semantic document retrieval.
|
GoogleCloudDiscoveryengineV1betaSearchRequest |
setFacetSpecs(List<GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpec> facetSpecs)
Facet specifications for faceted search.
|
GoogleCloudDiscoveryengineV1betaSearchRequest |
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.
|
GoogleCloudDiscoveryengineV1betaSearchRequest |
setImageQuery(GoogleCloudDiscoveryengineV1betaSearchRequestImageQuery imageQuery)
Raw image query.
|
GoogleCloudDiscoveryengineV1betaSearchRequest |
setLanguageCode(String languageCode)
The BCP-47 language code, such as "en-US" or "sr-Latn".
|
GoogleCloudDiscoveryengineV1betaSearchRequest |
setNaturalLanguageQueryUnderstandingSpec(GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec naturalLanguageQueryUnderstandingSpec)
If `naturalLanguageQueryUnderstandingSpec` is not specified, no additional natural language
query understanding will be done.
|
GoogleCloudDiscoveryengineV1betaSearchRequest |
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.
|
GoogleCloudDiscoveryengineV1betaSearchRequest |
setOrderBy(String orderBy)
The order in which documents are returned.
|
GoogleCloudDiscoveryengineV1betaSearchRequest |
setPageSize(Integer pageSize)
Maximum number of Documents to return.
|
GoogleCloudDiscoveryengineV1betaSearchRequest |
setPageToken(String pageToken)
A page token received from a previous SearchService.Search call.
|
GoogleCloudDiscoveryengineV1betaSearchRequest |
setParams(Map<String,Object> params)
Additional search parameters.
|
GoogleCloudDiscoveryengineV1betaSearchRequest |
setQuery(String query)
Raw search query.
|
GoogleCloudDiscoveryengineV1betaSearchRequest |
setQueryExpansionSpec(GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec queryExpansionSpec)
The query expansion specification that specifies the conditions under which query expansion
occurs.
|
GoogleCloudDiscoveryengineV1betaSearchRequest |
setRankingExpression(String rankingExpression)
The ranking expression controls the customized ranking on retrieval documents.
|
GoogleCloudDiscoveryengineV1betaSearchRequest |
setRegionCode(String regionCode)
The Unicode country/region code (CLDR) of a location, such as "US" and "419".
|
GoogleCloudDiscoveryengineV1betaSearchRequest |
setRelevanceThreshold(String relevanceThreshold)
The relevance threshold of the search results.
|
GoogleCloudDiscoveryengineV1betaSearchRequest |
setSafeSearch(Boolean safeSearch)
Whether to turn on safe search.
|
GoogleCloudDiscoveryengineV1betaSearchRequest |
setSearchAsYouTypeSpec(GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec searchAsYouTypeSpec)
Search as you type configuration.
|
GoogleCloudDiscoveryengineV1betaSearchRequest |
setServingConfig(String servingConfig)
Required.
|
GoogleCloudDiscoveryengineV1betaSearchRequest |
setSession(String session)
The session resource name.
|
GoogleCloudDiscoveryengineV1betaSearchRequest |
setSessionSpec(GoogleCloudDiscoveryengineV1betaSearchRequestSessionSpec sessionSpec)
Session specification.
|
GoogleCloudDiscoveryengineV1betaSearchRequest |
setSpellCorrectionSpec(GoogleCloudDiscoveryengineV1betaSearchRequestSpellCorrectionSpec spellCorrectionSpec)
The spell correction specification that specifies the mode under which spell correction takes
effect.
|
GoogleCloudDiscoveryengineV1betaSearchRequest |
setUserInfo(GoogleCloudDiscoveryengineV1betaUserInfo userInfo)
Information about the end user.
|
GoogleCloudDiscoveryengineV1betaSearchRequest |
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.
|
GoogleCloudDiscoveryengineV1betaSearchRequest |
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 GoogleCloudDiscoveryengineV1betaSearchRequest()
public GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec getBoostSpec()
null for nonepublic GoogleCloudDiscoveryengineV1betaSearchRequest setBoostSpec(GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec boostSpec)
boostSpec - boostSpec or null for nonepublic String getBranch()
null for nonepublic GoogleCloudDiscoveryengineV1betaSearchRequest setBranch(String branch)
branch - branch or null for nonepublic String getCanonicalFilter()
null for nonepublic GoogleCloudDiscoveryengineV1betaSearchRequest setCanonicalFilter(String canonicalFilter)
canonicalFilter - canonicalFilter or null for nonepublic GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec getContentSearchSpec()
null for nonepublic GoogleCloudDiscoveryengineV1betaSearchRequest setContentSearchSpec(GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec contentSearchSpec)
contentSearchSpec - contentSearchSpec or null for nonepublic List<GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec> getDataStoreSpecs()
null for nonepublic GoogleCloudDiscoveryengineV1betaSearchRequest setDataStoreSpecs(List<GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec> dataStoreSpecs)
dataStoreSpecs - dataStoreSpecs or null for nonepublic GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec getEmbeddingSpec()
null for nonepublic GoogleCloudDiscoveryengineV1betaSearchRequest setEmbeddingSpec(GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec embeddingSpec)
embeddingSpec - embeddingSpec or null for nonepublic List<GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpec> getFacetSpecs()
null for nonepublic GoogleCloudDiscoveryengineV1betaSearchRequest setFacetSpecs(List<GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpec> facetSpecs)
facetSpecs - facetSpecs or null for nonepublic String getFilter()
null for nonepublic GoogleCloudDiscoveryengineV1betaSearchRequest setFilter(String filter)
filter - filter or null for nonepublic GoogleCloudDiscoveryengineV1betaSearchRequestImageQuery getImageQuery()
null for nonepublic GoogleCloudDiscoveryengineV1betaSearchRequest setImageQuery(GoogleCloudDiscoveryengineV1betaSearchRequestImageQuery imageQuery)
imageQuery - imageQuery or null for nonepublic String getLanguageCode()
null for nonepublic GoogleCloudDiscoveryengineV1betaSearchRequest setLanguageCode(String languageCode)
languageCode - languageCode or null for nonepublic GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec getNaturalLanguageQueryUnderstandingSpec()
null for nonepublic GoogleCloudDiscoveryengineV1betaSearchRequest setNaturalLanguageQueryUnderstandingSpec(GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec naturalLanguageQueryUnderstandingSpec)
naturalLanguageQueryUnderstandingSpec - naturalLanguageQueryUnderstandingSpec or null for nonepublic Integer getOffset()
null for nonepublic GoogleCloudDiscoveryengineV1betaSearchRequest setOffset(Integer offset)
offset - offset or null for nonepublic String getOrderBy()
null for nonepublic GoogleCloudDiscoveryengineV1betaSearchRequest setOrderBy(String orderBy)
orderBy - orderBy or null for nonepublic Integer getPageSize()
null for nonepublic GoogleCloudDiscoveryengineV1betaSearchRequest setPageSize(Integer pageSize)
pageSize - pageSize or null for nonepublic String getPageToken()
null for nonepublic GoogleCloudDiscoveryengineV1betaSearchRequest setPageToken(String pageToken)
pageToken - pageToken or null for nonepublic Map<String,Object> getParams()
null for nonepublic GoogleCloudDiscoveryengineV1betaSearchRequest setParams(Map<String,Object> params)
params - params or null for nonepublic String getQuery()
null for nonepublic GoogleCloudDiscoveryengineV1betaSearchRequest setQuery(String query)
query - query or null for nonepublic GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec getQueryExpansionSpec()
null for nonepublic GoogleCloudDiscoveryengineV1betaSearchRequest setQueryExpansionSpec(GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec queryExpansionSpec)
queryExpansionSpec - queryExpansionSpec or null for nonepublic String getRankingExpression()
null for nonepublic GoogleCloudDiscoveryengineV1betaSearchRequest setRankingExpression(String rankingExpression)
rankingExpression - rankingExpression or null for nonepublic String getRegionCode()
null for nonepublic GoogleCloudDiscoveryengineV1betaSearchRequest setRegionCode(String regionCode)
regionCode - regionCode or null for nonepublic String getRelevanceThreshold()
null for nonepublic GoogleCloudDiscoveryengineV1betaSearchRequest setRelevanceThreshold(String relevanceThreshold)
relevanceThreshold - relevanceThreshold or null for nonepublic Boolean getSafeSearch()
null for nonepublic GoogleCloudDiscoveryengineV1betaSearchRequest setSafeSearch(Boolean safeSearch)
safeSearch - safeSearch or null for nonepublic GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec getSearchAsYouTypeSpec()
null for nonepublic GoogleCloudDiscoveryengineV1betaSearchRequest setSearchAsYouTypeSpec(GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec searchAsYouTypeSpec)
searchAsYouTypeSpec - searchAsYouTypeSpec or null for nonepublic String getServingConfig()
null for nonepublic GoogleCloudDiscoveryengineV1betaSearchRequest setServingConfig(String servingConfig)
servingConfig - servingConfig or null for nonepublic String getSession()
null for nonepublic GoogleCloudDiscoveryengineV1betaSearchRequest setSession(String session)
session - session or null for nonepublic GoogleCloudDiscoveryengineV1betaSearchRequestSessionSpec getSessionSpec()
null for nonepublic GoogleCloudDiscoveryengineV1betaSearchRequest setSessionSpec(GoogleCloudDiscoveryengineV1betaSearchRequestSessionSpec sessionSpec)
sessionSpec - sessionSpec or null for nonepublic GoogleCloudDiscoveryengineV1betaSearchRequestSpellCorrectionSpec getSpellCorrectionSpec()
null for nonepublic GoogleCloudDiscoveryengineV1betaSearchRequest setSpellCorrectionSpec(GoogleCloudDiscoveryengineV1betaSearchRequestSpellCorrectionSpec spellCorrectionSpec)
spellCorrectionSpec - spellCorrectionSpec or null for nonepublic GoogleCloudDiscoveryengineV1betaUserInfo getUserInfo()
null for nonepublic GoogleCloudDiscoveryengineV1betaSearchRequest setUserInfo(GoogleCloudDiscoveryengineV1betaUserInfo userInfo)
userInfo - userInfo or null for nonepublic Map<String,String> getUserLabels()
null for nonepublic GoogleCloudDiscoveryengineV1betaSearchRequest setUserLabels(Map<String,String> userLabels)
userLabels - userLabels or null for nonepublic String getUserPseudoId()
null for nonepublic GoogleCloudDiscoveryengineV1betaSearchRequest setUserPseudoId(String userPseudoId)
userPseudoId - userPseudoId or null for nonepublic GoogleCloudDiscoveryengineV1betaSearchRequest set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GoogleCloudDiscoveryengineV1betaSearchRequest clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.