public final class GoogleCloudDiscoveryengineV1SearchRequestCrowdingSpec
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 |
|---|
GoogleCloudDiscoveryengineV1SearchRequestCrowdingSpec() |
| Modifier and Type | Method and Description |
|---|---|
GoogleCloudDiscoveryengineV1SearchRequestCrowdingSpec |
clone() |
String |
getField()
The field to use for crowding.
|
Integer |
getMaxCount()
The maximum number of documents to keep per value of the field.
|
String |
getMode()
Mode to use for documents that are crowded away.
|
GoogleCloudDiscoveryengineV1SearchRequestCrowdingSpec |
set(String fieldName,
Object value) |
GoogleCloudDiscoveryengineV1SearchRequestCrowdingSpec |
setField(String field)
The field to use for crowding.
|
GoogleCloudDiscoveryengineV1SearchRequestCrowdingSpec |
setMaxCount(Integer maxCount)
The maximum number of documents to keep per value of the field.
|
GoogleCloudDiscoveryengineV1SearchRequestCrowdingSpec |
setMode(String mode)
Mode to use for documents that are crowded away.
|
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 GoogleCloudDiscoveryengineV1SearchRequestCrowdingSpec()
public String getField()
null for nonepublic GoogleCloudDiscoveryengineV1SearchRequestCrowdingSpec setField(String field)
field - field or null for nonepublic Integer getMaxCount()
null for nonepublic GoogleCloudDiscoveryengineV1SearchRequestCrowdingSpec setMaxCount(Integer maxCount)
maxCount - maxCount or null for nonepublic String getMode()
null for nonepublic GoogleCloudDiscoveryengineV1SearchRequestCrowdingSpec setMode(String mode)
mode - mode or null for nonepublic GoogleCloudDiscoveryengineV1SearchRequestCrowdingSpec set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GoogleCloudDiscoveryengineV1SearchRequestCrowdingSpec clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.