public final class DeviceIdentifier
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 Android Device Provisioning Partner 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 |
|---|
DeviceIdentifier() |
| Modifier and Type | Method and Description |
|---|---|
DeviceIdentifier |
clone() |
String |
getChromeOsAttestedDeviceId()
An identifier provided by OEMs, carried through the production and sales process.
|
String |
getDeviceType()
The type of the device
|
String |
getImei()
The device’s IMEI number.
|
String |
getImei2()
The device’s second IMEI number.
|
String |
getManufacturer()
The device manufacturer’s name.
|
String |
getMeid()
The device’s MEID number.
|
String |
getMeid2()
The device’s second MEID number.
|
String |
getModel()
The device model's name.
|
String |
getSerialNumber()
The manufacturer's serial number for the device.
|
DeviceIdentifier |
set(String fieldName,
Object value) |
DeviceIdentifier |
setChromeOsAttestedDeviceId(String chromeOsAttestedDeviceId)
An identifier provided by OEMs, carried through the production and sales process.
|
DeviceIdentifier |
setDeviceType(String deviceType)
The type of the device
|
DeviceIdentifier |
setImei(String imei)
The device’s IMEI number.
|
DeviceIdentifier |
setImei2(String imei2)
The device’s second IMEI number.
|
DeviceIdentifier |
setManufacturer(String manufacturer)
The device manufacturer’s name.
|
DeviceIdentifier |
setMeid(String meid)
The device’s MEID number.
|
DeviceIdentifier |
setMeid2(String meid2)
The device’s second MEID number.
|
DeviceIdentifier |
setModel(String model)
The device model's name.
|
DeviceIdentifier |
setSerialNumber(String serialNumber)
The manufacturer's serial number for the device.
|
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 getChromeOsAttestedDeviceId()
null for nonepublic DeviceIdentifier setChromeOsAttestedDeviceId(String chromeOsAttestedDeviceId)
chromeOsAttestedDeviceId - chromeOsAttestedDeviceId or null for nonepublic String getDeviceType()
null for nonepublic DeviceIdentifier setDeviceType(String deviceType)
deviceType - deviceType or null for nonepublic String getImei()
null for nonepublic DeviceIdentifier setImei(String imei)
imei - imei or null for nonepublic String getImei2()
null for nonepublic DeviceIdentifier setImei2(String imei2)
imei2 - imei2 or null for nonepublic String getManufacturer()
null for nonepublic DeviceIdentifier setManufacturer(String manufacturer)
manufacturer - manufacturer or null for nonepublic String getMeid()
null for nonepublic DeviceIdentifier setMeid(String meid)
meid - meid or null for nonepublic String getMeid2()
null for nonepublic DeviceIdentifier setMeid2(String meid2)
meid2 - meid2 or null for nonepublic String getModel()
null for nonepublic DeviceIdentifier setModel(String model)
model - model or null for nonepublic String getSerialNumber()
null for nonepublic DeviceIdentifier setSerialNumber(String serialNumber)
serialNumber - serialNumber or null for nonepublic DeviceIdentifier set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic DeviceIdentifier clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.