public final class RequestDetails extends 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 Google Play Integrity API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
RequestDetails() |
| Modifier and Type | Method and Description |
|---|---|
RequestDetails |
clone() |
String |
getNonce()
Nonce that was provided in the request (which is base64 web-safe no-wrap).
|
String |
getRequestHash()
Request hash that was provided in the request.
|
String |
getRequestPackageName()
Required.
|
Long |
getTimestampMillis()
Required.
|
RequestDetails |
set(String fieldName,
Object value) |
RequestDetails |
setNonce(String nonce)
Nonce that was provided in the request (which is base64 web-safe no-wrap).
|
RequestDetails |
setRequestHash(String requestHash)
Request hash that was provided in the request.
|
RequestDetails |
setRequestPackageName(String requestPackageName)
Required.
|
RequestDetails |
setTimestampMillis(Long timestampMillis)
Required.
|
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 getNonce()
null for nonepublic RequestDetails setNonce(String nonce)
nonce - nonce or null for nonepublic String getRequestHash()
null for nonepublic RequestDetails setRequestHash(String requestHash)
requestHash - requestHash or null for nonepublic String getRequestPackageName()
null for nonepublic RequestDetails setRequestPackageName(String requestPackageName)
requestPackageName - requestPackageName or null for nonepublic Long getTimestampMillis()
null for nonepublic RequestDetails setTimestampMillis(Long timestampMillis)
timestampMillis - timestampMillis or null for nonepublic RequestDetails set(String fieldName, Object value)
set in class GenericJsonpublic RequestDetails clone()
clone in class GenericJsonCopyright © 2011–2023 Google. All rights reserved.