public final class MetricSavings
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 |
|---|
MetricSavings() |
| Modifier and Type | Method and Description |
|---|---|
MetricSavings |
clone() |
Double |
getCLS()
Optional.
|
Double |
getFCP()
Optional.
|
Double |
getINP()
Optional.
|
Double |
getLCP()
Optional.
|
Double |
getTBT()
Optional.
|
MetricSavings |
set(String fieldName,
Object value) |
MetricSavings |
setCLS(Double cLS)
Optional.
|
MetricSavings |
setFCP(Double fCP)
Optional.
|
MetricSavings |
setINP(Double iNP)
Optional.
|
MetricSavings |
setLCP(Double lCP)
Optional.
|
MetricSavings |
setTBT(Double tBT)
Optional.
|
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 Double getCLS()
null for nonepublic MetricSavings setCLS(Double cLS)
cLS - cLS or null for nonepublic Double getFCP()
null for nonepublic MetricSavings setFCP(Double fCP)
fCP - fCP or null for nonepublic Double getINP()
null for nonepublic MetricSavings setINP(Double iNP)
iNP - iNP or null for nonepublic Double getLCP()
null for nonepublic MetricSavings setLCP(Double lCP)
lCP - lCP or null for nonepublic Double getTBT()
null for nonepublic MetricSavings setTBT(Double tBT)
tBT - tBT or null for nonepublic MetricSavings set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic MetricSavings clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.