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 Stackdriver 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.Flags| Constructor and Description |
|---|
Distribution() |
| Modifier and Type | Method and Description |
|---|---|
Distribution |
clone() |
java.util.List<java.lang.Long> |
getBucketCounts()
Required in the Stackdriver Monitoring API v3.
|
BucketOptions |
getBucketOptions()
Required in the Stackdriver Monitoring API v3.
|
java.lang.Long |
getCount()
The number of values in the population.
|
java.util.List<Exemplar> |
getExemplars()
Must be in increasing order of value field.
|
java.lang.Double |
getMean()
The arithmetic mean of the values in the population.
|
Range |
getRange()
If specified, contains the range of the population values.
|
java.lang.Double |
getSumOfSquaredDeviation()
The sum of squared deviations from the mean of the values in the population.
|
Distribution |
set(java.lang.String fieldName,
java.lang.Object value) |
Distribution |
setBucketCounts(java.util.List<java.lang.Long> bucketCounts)
Required in the Stackdriver Monitoring API v3.
|
Distribution |
setBucketOptions(BucketOptions bucketOptions)
Required in the Stackdriver Monitoring API v3.
|
Distribution |
setCount(java.lang.Long count)
The number of values in the population.
|
Distribution |
setExemplars(java.util.List<Exemplar> exemplars)
Must be in increasing order of value field.
|
Distribution |
setMean(java.lang.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(java.lang.Double sumOfSquaredDeviation)
The sum of squared deviations from the mean of the values in the population.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.util.List<java.lang.Long> getBucketCounts()
null for nonepublic Distribution setBucketCounts(java.util.List<java.lang.Long> bucketCounts)
bucketCounts - bucketCounts or null for nonepublic BucketOptions getBucketOptions()
null for nonepublic Distribution setBucketOptions(BucketOptions bucketOptions)
bucketOptions - bucketOptions or null for nonepublic java.lang.Long getCount()
null for nonepublic Distribution setCount(java.lang.Long count)
count - count or null for nonepublic java.util.List<Exemplar> getExemplars()
null for nonepublic Distribution setExemplars(java.util.List<Exemplar> exemplars)
exemplars - exemplars or null for nonepublic java.lang.Double getMean()
null for nonepublic Distribution setMean(java.lang.Double mean)
mean - mean or null for nonepublic Range getRange()
null for nonepublic Distribution setRange(Range range)
range - range or null for nonepublic java.lang.Double getSumOfSquaredDeviation()
null for nonepublic Distribution setSumOfSquaredDeviation(java.lang.Double sumOfSquaredDeviation)
sumOfSquaredDeviation - sumOfSquaredDeviation or null for nonepublic Distribution set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Distribution clone()
clone in class com.google.api.client.json.GenericJson