public final class LighthouseResultV5
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 |
|---|
LighthouseResultV5() |
| Modifier and Type | Method and Description |
|---|---|
LighthouseResultV5 |
clone() |
Map<String,LighthouseAuditResultV5> |
getAudits()
Map of audits in the LHR.
|
Categories |
getCategories()
Map of categories in the LHR.
|
Map<String,CategoryGroupV5> |
getCategoryGroups()
Map of category groups in the LHR.
|
ConfigSettings |
getConfigSettings()
The configuration settings for this LHR.
|
List<LhrEntity> |
getEntities()
Entity classification data.
|
Environment |
getEnvironment()
Environment settings that were used when making this LHR.
|
String |
getFetchTime()
The time that this run was fetched.
|
String |
getFinalDisplayedUrl()
URL displayed on the page after Lighthouse finishes.
|
String |
getFinalUrl()
The final resolved url that was audited.
|
Object |
getFullPageScreenshot()
Screenshot data of the full page, along with node rects relevant to the audit results.
|
I18n |
getI18n()
The internationalization strings that are required to render the LHR.
|
String |
getLighthouseVersion()
The lighthouse version that was used to generate this LHR.
|
String |
getMainDocumentUrl()
URL of the main document request of the final navigation.
|
String |
getRequestedUrl()
The original requested url.
|
RuntimeError |
getRuntimeError()
A top-level error message that, if present, indicates a serious enough problem that this
Lighthouse result may need to be discarded.
|
List<Object> |
getRunWarnings()
List of all run warnings in the LHR.
|
List<StackPack> |
getStackPacks()
The Stack Pack advice strings.
|
Timing |
getTiming()
Timing information for this LHR.
|
String |
getUserAgent()
The user agent that was used to run this LHR.
|
LighthouseResultV5 |
set(String fieldName,
Object value) |
LighthouseResultV5 |
setAudits(Map<String,LighthouseAuditResultV5> audits)
Map of audits in the LHR.
|
LighthouseResultV5 |
setCategories(Categories categories)
Map of categories in the LHR.
|
LighthouseResultV5 |
setCategoryGroups(Map<String,CategoryGroupV5> categoryGroups)
Map of category groups in the LHR.
|
LighthouseResultV5 |
setConfigSettings(ConfigSettings configSettings)
The configuration settings for this LHR.
|
LighthouseResultV5 |
setEntities(List<LhrEntity> entities)
Entity classification data.
|
LighthouseResultV5 |
setEnvironment(Environment environment)
Environment settings that were used when making this LHR.
|
LighthouseResultV5 |
setFetchTime(String fetchTime)
The time that this run was fetched.
|
LighthouseResultV5 |
setFinalDisplayedUrl(String finalDisplayedUrl)
URL displayed on the page after Lighthouse finishes.
|
LighthouseResultV5 |
setFinalUrl(String finalUrl)
The final resolved url that was audited.
|
LighthouseResultV5 |
setFullPageScreenshot(Object fullPageScreenshot)
Screenshot data of the full page, along with node rects relevant to the audit results.
|
LighthouseResultV5 |
setI18n(I18n i18n)
The internationalization strings that are required to render the LHR.
|
LighthouseResultV5 |
setLighthouseVersion(String lighthouseVersion)
The lighthouse version that was used to generate this LHR.
|
LighthouseResultV5 |
setMainDocumentUrl(String mainDocumentUrl)
URL of the main document request of the final navigation.
|
LighthouseResultV5 |
setRequestedUrl(String requestedUrl)
The original requested url.
|
LighthouseResultV5 |
setRuntimeError(RuntimeError runtimeError)
A top-level error message that, if present, indicates a serious enough problem that this
Lighthouse result may need to be discarded.
|
LighthouseResultV5 |
setRunWarnings(List<Object> runWarnings)
List of all run warnings in the LHR.
|
LighthouseResultV5 |
setStackPacks(List<StackPack> stackPacks)
The Stack Pack advice strings.
|
LighthouseResultV5 |
setTiming(Timing timing)
Timing information for this LHR.
|
LighthouseResultV5 |
setUserAgent(String userAgent)
The user agent that was used to run this LHR.
|
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 Map<String,LighthouseAuditResultV5> getAudits()
null for nonepublic LighthouseResultV5 setAudits(Map<String,LighthouseAuditResultV5> audits)
audits - audits or null for nonepublic Categories getCategories()
null for nonepublic LighthouseResultV5 setCategories(Categories categories)
categories - categories or null for nonepublic Map<String,CategoryGroupV5> getCategoryGroups()
null for nonepublic LighthouseResultV5 setCategoryGroups(Map<String,CategoryGroupV5> categoryGroups)
categoryGroups - categoryGroups or null for nonepublic ConfigSettings getConfigSettings()
null for nonepublic LighthouseResultV5 setConfigSettings(ConfigSettings configSettings)
configSettings - configSettings or null for nonepublic List<LhrEntity> getEntities()
null for nonepublic LighthouseResultV5 setEntities(List<LhrEntity> entities)
entities - entities or null for nonepublic Environment getEnvironment()
null for nonepublic LighthouseResultV5 setEnvironment(Environment environment)
environment - environment or null for nonepublic String getFetchTime()
null for nonepublic LighthouseResultV5 setFetchTime(String fetchTime)
fetchTime - fetchTime or null for nonepublic String getFinalDisplayedUrl()
null for nonepublic LighthouseResultV5 setFinalDisplayedUrl(String finalDisplayedUrl)
finalDisplayedUrl - finalDisplayedUrl or null for nonepublic String getFinalUrl()
null for nonepublic LighthouseResultV5 setFinalUrl(String finalUrl)
finalUrl - finalUrl or null for nonepublic Object getFullPageScreenshot()
null for nonepublic LighthouseResultV5 setFullPageScreenshot(Object fullPageScreenshot)
fullPageScreenshot - fullPageScreenshot or null for nonepublic I18n getI18n()
null for nonepublic LighthouseResultV5 setI18n(I18n i18n)
i18n - i18n or null for nonepublic String getLighthouseVersion()
null for nonepublic LighthouseResultV5 setLighthouseVersion(String lighthouseVersion)
lighthouseVersion - lighthouseVersion or null for nonepublic String getMainDocumentUrl()
null for nonepublic LighthouseResultV5 setMainDocumentUrl(String mainDocumentUrl)
mainDocumentUrl - mainDocumentUrl or null for nonepublic String getRequestedUrl()
null for nonepublic LighthouseResultV5 setRequestedUrl(String requestedUrl)
requestedUrl - requestedUrl or null for nonepublic List<Object> getRunWarnings()
null for nonepublic LighthouseResultV5 setRunWarnings(List<Object> runWarnings)
runWarnings - runWarnings or null for nonepublic RuntimeError getRuntimeError()
null for nonepublic LighthouseResultV5 setRuntimeError(RuntimeError runtimeError)
runtimeError - runtimeError or null for nonepublic List<StackPack> getStackPacks()
null for nonepublic LighthouseResultV5 setStackPacks(List<StackPack> stackPacks)
stackPacks - stackPacks or null for nonepublic Timing getTiming()
null for nonepublic LighthouseResultV5 setTiming(Timing timing)
timing - timing or null for nonepublic String getUserAgent()
null for nonepublic LighthouseResultV5 setUserAgent(String userAgent)
userAgent - userAgent or null for nonepublic LighthouseResultV5 set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic LighthouseResultV5 clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2023 Google. All rights reserved.