public final class UserPageLoadMetricV5
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 |
|---|
UserPageLoadMetricV5() |
| Modifier and Type | Method and Description |
|---|---|
UserPageLoadMetricV5 |
clone() |
String |
getCategory()
The category of the specific time metric.
|
List<Bucket> |
getDistributions()
Metric distributions.
|
String |
getFormFactor()
Identifies the form factor of the metric being collected.
|
Integer |
getMedian()
The median number of the metric, in millisecond.
|
String |
getMetricId()
Identifies the type of the metric.
|
Integer |
getPercentile()
We use this field to store certain percentile value for this metric.
|
UserPageLoadMetricV5 |
set(String fieldName,
Object value) |
UserPageLoadMetricV5 |
setCategory(String category)
The category of the specific time metric.
|
UserPageLoadMetricV5 |
setDistributions(List<Bucket> distributions)
Metric distributions.
|
UserPageLoadMetricV5 |
setFormFactor(String formFactor)
Identifies the form factor of the metric being collected.
|
UserPageLoadMetricV5 |
setMedian(Integer median)
The median number of the metric, in millisecond.
|
UserPageLoadMetricV5 |
setMetricId(String metricId)
Identifies the type of the metric.
|
UserPageLoadMetricV5 |
setPercentile(Integer percentile)
We use this field to store certain percentile value for this metric.
|
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 String getCategory()
null for nonepublic UserPageLoadMetricV5 setCategory(String category)
category - category or null for nonepublic List<Bucket> getDistributions()
null for nonepublic UserPageLoadMetricV5 setDistributions(List<Bucket> distributions)
distributions - distributions or null for nonepublic String getFormFactor()
null for nonepublic UserPageLoadMetricV5 setFormFactor(String formFactor)
formFactor - formFactor or null for nonepublic Integer getMedian()
null for nonepublic UserPageLoadMetricV5 setMedian(Integer median)
median - median or null for nonepublic String getMetricId()
null for nonepublic UserPageLoadMetricV5 setMetricId(String metricId)
metricId - metricId or null for nonepublic Integer getPercentile()
null for nonepublic UserPageLoadMetricV5 setPercentile(Integer percentile)
percentile - percentile or null for nonepublic UserPageLoadMetricV5 set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic UserPageLoadMetricV5 clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2023 Google. All rights reserved.