public final class Environment
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 |
|---|
Environment() |
| Modifier and Type | Method and Description |
|---|---|
Environment |
clone() |
Double |
getBenchmarkIndex()
The benchmark index number that indicates rough device class.
|
Map<String,String> |
getCredits()
The version of libraries with which these results were generated.
|
String |
getHostUserAgent()
The user agent string of the version of Chrome used.
|
String |
getNetworkUserAgent()
The user agent string that was sent over the network.
|
Environment |
set(String fieldName,
Object value) |
Environment |
setBenchmarkIndex(Double benchmarkIndex)
The benchmark index number that indicates rough device class.
|
Environment |
setCredits(Map<String,String> credits)
The version of libraries with which these results were generated.
|
Environment |
setHostUserAgent(String hostUserAgent)
The user agent string of the version of Chrome used.
|
Environment |
setNetworkUserAgent(String networkUserAgent)
The user agent string that was sent over the network.
|
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 getBenchmarkIndex()
null for nonepublic Environment setBenchmarkIndex(Double benchmarkIndex)
benchmarkIndex - benchmarkIndex or null for nonepublic Map<String,String> getCredits()
null for nonepublic Environment setCredits(Map<String,String> credits)
credits - credits or null for nonepublic String getHostUserAgent()
null for nonepublic Environment setHostUserAgent(String hostUserAgent)
hostUserAgent - hostUserAgent or null for nonepublic String getNetworkUserAgent()
null for nonepublic Environment setNetworkUserAgent(String networkUserAgent)
networkUserAgent - networkUserAgent or null for nonepublic Environment set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Environment clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2023 Google. All rights reserved.