public final class GoogleCloudDiscoveryengineV1SearchResponseFacetFacetValue
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 |
|---|
GoogleCloudDiscoveryengineV1SearchResponseFacetFacetValue() |
| Modifier and Type | Method and Description |
|---|---|
GoogleCloudDiscoveryengineV1SearchResponseFacetFacetValue |
clone() |
Long |
getCount()
Number of items that have this facet value.
|
GoogleCloudDiscoveryengineV1Interval |
getInterval()
Interval value for a facet, such as 10, 20) for facet "price".
|
String |
getValue()
Text value of a facet, such as "Black" for facet "colors".
|
GoogleCloudDiscoveryengineV1SearchResponseFacetFacetValue |
set(String fieldName,
Object value) |
GoogleCloudDiscoveryengineV1SearchResponseFacetFacetValue |
setCount(Long count)
Number of items that have this facet value.
|
GoogleCloudDiscoveryengineV1SearchResponseFacetFacetValue |
setInterval(GoogleCloudDiscoveryengineV1Interval interval)
Interval value for a facet, such as 10, 20) for facet "price".
|
GoogleCloudDiscoveryengineV1SearchResponseFacetFacetValue |
setValue(String value)
Text value of a facet, such as "Black" for facet "colors".
|
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 GoogleCloudDiscoveryengineV1SearchResponseFacetFacetValue()
public Long getCount()
null for nonepublic GoogleCloudDiscoveryengineV1SearchResponseFacetFacetValue setCount(Long count)
count - count or null for nonepublic GoogleCloudDiscoveryengineV1Interval getInterval()
null for nonepublic GoogleCloudDiscoveryengineV1SearchResponseFacetFacetValue setInterval(GoogleCloudDiscoveryengineV1Interval interval)
interval - interval or null for nonepublic String getValue()
null for nonepublic GoogleCloudDiscoveryengineV1SearchResponseFacetFacetValue setValue(String value)
value - value or null for nonepublic GoogleCloudDiscoveryengineV1SearchResponseFacetFacetValue set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GoogleCloudDiscoveryengineV1SearchResponseFacetFacetValue clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.