public final class Distribution
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 Cloud Monitoring 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 |
|---|
Distribution() |
| Modifier and Type | Method and Description |
|---|---|
Distribution |
clone() |
List<Long> |
getBucketCounts()
Required in the Cloud Monitoring API v3.
|
BucketOptions |
getBucketOptions()
Required in the Cloud Monitoring API v3.
|
Long |
getCount()
The number of values in the population.
|
List<Exemplar> |
getExemplars()
Must be in increasing order of value field.
|
Double |
getMean()
The arithmetic mean of the values in the population.
|
Range |
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.
|
Distribution |
set(String fieldName,
Object value) |
Distribution |
setBucketCounts(List<Long> bucketCounts)
Required in the Cloud Monitoring API v3.
|
Distribution |
setBucketOptions(BucketOptions bucketOptions)
Required in the Cloud Monitoring API v3.
|
Distribution |
setCount(Long count)
The number of values in the population.
|
Distribution |
setExemplars(List<Exemplar> exemplars)
Must be in increasing order of value field.
|
Distribution |
setMean(Double mean)
The arithmetic mean of the values in the population.
|
Distribution |
setRange(Range range)
If specified, contains the range of the population values.
|
Distribution |
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 Distribution setBucketCounts(List<Long> bucketCounts)
bucketCounts - bucketCounts or null for nonepublic BucketOptions getBucketOptions()
null for nonepublic Distribution setBucketOptions(BucketOptions bucketOptions)
bucketOptions - bucketOptions or null for nonepublic Long getCount()
null for nonepublic Distribution setCount(Long count)
count - count or null for nonepublic List<Exemplar> getExemplars()
null for nonepublic Distribution setExemplars(List<Exemplar> exemplars)
exemplars - exemplars or null for nonepublic Double getMean()
null for nonepublic Distribution setMean(Double mean)
mean - mean or null for nonepublic Range getRange()
null for nonepublic Distribution setRange(Range range)
range - range or null for nonepublic Double getSumOfSquaredDeviation()
null for nonepublic Distribution setSumOfSquaredDeviation(Double sumOfSquaredDeviation)
sumOfSquaredDeviation - sumOfSquaredDeviation or null for nonepublic Distribution set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Distribution clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.