public final class Bucket
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 PageSpeed Insights 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 |
|---|
Bucket() |
| Modifier and Type | Method and Description |
|---|---|
Bucket |
clone() |
Integer |
getMax()
Upper bound for a bucket's range.
|
Integer |
getMin()
Lower bound for a bucket's range.
|
Double |
getProportion()
The proportion of data in this bucket.
|
Bucket |
set(String fieldName,
Object value) |
Bucket |
setMax(Integer max)
Upper bound for a bucket's range.
|
Bucket |
setMin(Integer min)
Lower bound for a bucket's range.
|
Bucket |
setProportion(Double proportion)
The proportion of data in this bucket.
|
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 Integer getMax()
null for nonepublic Bucket setMax(Integer max)
max - max or null for nonepublic Integer getMin()
null for nonepublic Bucket setMin(Integer min)
min - min or null for nonepublic Double getProportion()
null for nonepublic Bucket setProportion(Double proportion)
proportion - proportion or null for nonepublic Bucket set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Bucket clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2023 Google. All rights reserved.