public final class GoogleApiDistribution
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 |
|---|
GoogleApiDistribution() |
| Modifier and Type | Method and Description |
|---|---|
GoogleApiDistribution |
clone() |
List<Long> |
getBucketCounts()
The number of values in each bucket of the histogram, as described in `bucket_options`.
|
GoogleApiDistributionBucketOptions |
getBucketOptions()
Defines the histogram bucket boundaries.
|
Long |
getCount()
The number of values in the population.
|
List<GoogleApiDistributionExemplar> |
getExemplars()
Must be in increasing order of `value` field.
|
Double |
getMean()
The arithmetic mean of the values in the population.
|
GoogleApiDistributionRange |
getRange()
If specified, contains the range of the population values.
|
Double |
getSumOfSquaredDeviation()
The sum of squared deviations from the mean of the values in the population.
|
GoogleApiDistribution |
set(String fieldName,
Object value) |
GoogleApiDistribution |
setBucketCounts(List<Long> bucketCounts)
The number of values in each bucket of the histogram, as described in `bucket_options`.
|
GoogleApiDistribution |
setBucketOptions(GoogleApiDistributionBucketOptions bucketOptions)
Defines the histogram bucket boundaries.
|
GoogleApiDistribution |
setCount(Long count)
The number of values in the population.
|
GoogleApiDistribution |
setExemplars(List<GoogleApiDistributionExemplar> exemplars)
Must be in increasing order of `value` field.
|
GoogleApiDistribution |
setMean(Double mean)
The arithmetic mean of the values in the population.
|
GoogleApiDistribution |
setRange(GoogleApiDistributionRange range)
If specified, contains the range of the population values.
|
GoogleApiDistribution |
setSumOfSquaredDeviation(Double sumOfSquaredDeviation)
The sum of squared deviations from the mean of the values in the population.
|
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 List<Long> getBucketCounts()
null for nonepublic GoogleApiDistribution setBucketCounts(List<Long> bucketCounts)
bucketCounts - bucketCounts or null for nonepublic GoogleApiDistributionBucketOptions getBucketOptions()
null for nonepublic GoogleApiDistribution setBucketOptions(GoogleApiDistributionBucketOptions bucketOptions)
bucketOptions - bucketOptions or null for nonepublic Long getCount()
null for nonepublic GoogleApiDistribution setCount(Long count)
count - count or null for nonepublic List<GoogleApiDistributionExemplar> getExemplars()
null for nonepublic GoogleApiDistribution setExemplars(List<GoogleApiDistributionExemplar> exemplars)
exemplars - exemplars or null for nonepublic Double getMean()
null for nonepublic GoogleApiDistribution setMean(Double mean)
mean - mean or null for nonepublic GoogleApiDistributionRange getRange()
null for nonepublic GoogleApiDistribution setRange(GoogleApiDistributionRange range)
range - range or null for nonepublic Double getSumOfSquaredDeviation()
null for nonepublic GoogleApiDistribution setSumOfSquaredDeviation(Double sumOfSquaredDeviation)
sumOfSquaredDeviation - sumOfSquaredDeviation or null for nonepublic GoogleApiDistribution set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GoogleApiDistribution clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.