public final class ConfigSettings
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 |
|---|
ConfigSettings() |
| Modifier and Type | Method and Description |
|---|---|
ConfigSettings |
clone() |
String |
getChannel()
How Lighthouse was run, e.g.
|
String |
getEmulatedFormFactor()
The form factor the emulation should use.
|
String |
getFormFactor()
How Lighthouse should interpret this run in regards to scoring performance metrics and skipping
mobile-only tests in desktop.
|
String |
getLocale()
The locale setting.
|
Object |
getOnlyCategories()
List of categories of audits the run should conduct.
|
ConfigSettings |
set(String fieldName,
Object value) |
ConfigSettings |
setChannel(String channel)
How Lighthouse was run, e.g.
|
ConfigSettings |
setEmulatedFormFactor(String emulatedFormFactor)
The form factor the emulation should use.
|
ConfigSettings |
setFormFactor(String formFactor)
How Lighthouse should interpret this run in regards to scoring performance metrics and skipping
mobile-only tests in desktop.
|
ConfigSettings |
setLocale(String locale)
The locale setting.
|
ConfigSettings |
setOnlyCategories(Object onlyCategories)
List of categories of audits the run should conduct.
|
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 getChannel()
null for nonepublic ConfigSettings setChannel(String channel)
channel - channel or null for nonepublic String getEmulatedFormFactor()
null for nonepublic ConfigSettings setEmulatedFormFactor(String emulatedFormFactor)
emulatedFormFactor - emulatedFormFactor or null for nonepublic String getFormFactor()
null for nonepublic ConfigSettings setFormFactor(String formFactor)
formFactor - formFactor or null for nonepublic String getLocale()
null for nonepublic ConfigSettings setLocale(String locale)
locale - locale or null for nonepublic Object getOnlyCategories()
null for nonepublic ConfigSettings setOnlyCategories(Object onlyCategories)
onlyCategories - onlyCategories or null for nonepublic ConfigSettings set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic ConfigSettings clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2023 Google. All rights reserved.