public final class GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpecFacetKey
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 |
|---|
GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpecFacetKey() |
| Modifier and Type | Method and Description |
|---|---|
GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpecFacetKey |
clone() |
Boolean |
getCaseInsensitive()
True to make facet keys case insensitive when getting faceting values with prefixes or
contains; false otherwise.
|
List<String> |
getContains()
Only get facet values that contain the given strings.
|
List<GoogleCloudDiscoveryengineV1alphaInterval> |
getIntervals()
Set only if values should be bucketed into intervals.
|
String |
getKey()
Required.
|
String |
getOrderBy()
The order in which documents are returned.
|
List<String> |
getPrefixes()
Only get facet values that start with the given string prefix.
|
List<String> |
getRestrictedValues()
Only get facet for the given restricted values.
|
GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpecFacetKey |
set(String fieldName,
Object value) |
GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpecFacetKey |
setCaseInsensitive(Boolean caseInsensitive)
True to make facet keys case insensitive when getting faceting values with prefixes or
contains; false otherwise.
|
GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpecFacetKey |
setContains(List<String> contains)
Only get facet values that contain the given strings.
|
GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpecFacetKey |
setIntervals(List<GoogleCloudDiscoveryengineV1alphaInterval> intervals)
Set only if values should be bucketed into intervals.
|
GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpecFacetKey |
setKey(String key)
Required.
|
GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpecFacetKey |
setOrderBy(String orderBy)
The order in which documents are returned.
|
GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpecFacetKey |
setPrefixes(List<String> prefixes)
Only get facet values that start with the given string prefix.
|
GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpecFacetKey |
setRestrictedValues(List<String> restrictedValues)
Only get facet for the given restricted values.
|
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 GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpecFacetKey()
public Boolean getCaseInsensitive()
null for nonepublic GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpecFacetKey setCaseInsensitive(Boolean caseInsensitive)
caseInsensitive - caseInsensitive or null for nonepublic List<String> getContains()
null for nonepublic GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpecFacetKey setContains(List<String> contains)
contains - contains or null for nonepublic List<GoogleCloudDiscoveryengineV1alphaInterval> getIntervals()
null for nonepublic GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpecFacetKey setIntervals(List<GoogleCloudDiscoveryengineV1alphaInterval> intervals)
intervals - intervals or null for nonepublic String getKey()
null for nonepublic GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpecFacetKey setKey(String key)
key - key or null for nonepublic String getOrderBy()
null for nonepublic GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpecFacetKey setOrderBy(String orderBy)
orderBy - orderBy or null for nonepublic List<String> getPrefixes()
null for nonepublic GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpecFacetKey setPrefixes(List<String> prefixes)
prefixes - prefixes or null for nonepublic List<String> getRestrictedValues()
null for nonepublic GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpecFacetKey setRestrictedValues(List<String> restrictedValues)
restrictedValues - restrictedValues or null for nonepublic GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpecFacetKey set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpecFacetKey clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.