@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2016-12-21") public class DeviceThrift extends Object implements TBase<DeviceThrift,DeviceThrift._Fields>, Serializable, Cloneable, Comparable<DeviceThrift>
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceThrift._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
String |
carrier
Carrier or ISP derived from the IP address.
|
short |
connectiontype
Return the detected data connection type for the device.
|
short |
devicetype
Return the device type being used.
|
String |
didmd5
MD5 hashed device ID; IMEI when available, else MEID or ESN.
|
String |
didsha1
SHA1 hashed device ID; IMEI when available, else MEID or ESN.
|
byte |
dnt
If “0”, then do not track Is set to false, if “1”, then do no track is set to true in browser.
|
String |
dpidmd5
MD5 hashed platform-specific ID (e.g., Android ID or UDID for iOS).
|
String |
dpidsha1
SHA1 hashed platform-specific ID (e.g., Android ID or UDID for iOS).
|
String |
flashver
Return the Flash version detected.
|
GeoThrift |
geo
Geography as derived from the device’s location services (e.g., cell tower triangulation, GPS) or IP address.
|
String |
ifa
Native identifier for advertisers; an opaque ID assigned by the device or browser for use as an advertising identifier.
|
String |
ip
IPv4 address closest to device.
|
String |
ipv6
IP address in IPv6.
|
byte |
js
“1” if the device supports JavaScript; else “0”.
|
String |
language
Browser language; use alpha-2/ISO 639-1 codes.
|
String |
macmd5
MD5 hashed MAC address of the device.
|
String |
macsha1
SHA1 hashed MAC address of the device.
|
String |
make
Device make (e.g., “Apple”).
|
static Map<DeviceThrift._Fields,FieldMetaData> |
metaDataMap |
String |
model
Device model (e.g., “iPhone”).
|
String |
os
Device operating system (e.g., “iOS”).
|
String |
osv
Device operating system version (e.g., “3.1.2”).
|
String |
ua
Browser user agent string.
|
| Constructor and Description |
|---|
DeviceThrift() |
DeviceThrift(DeviceThrift other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(DeviceThrift other) |
DeviceThrift |
deepCopy() |
boolean |
equals(DeviceThrift that) |
boolean |
equals(Object that) |
DeviceThrift._Fields |
fieldForId(int fieldId) |
String |
getCarrier()
Carrier or ISP derived from the IP address.
|
short |
getConnectiontype()
Return the detected data connection type for the device.
|
short |
getDevicetype()
Return the device type being used.
|
String |
getDidmd5()
MD5 hashed device ID; IMEI when available, else MEID or ESN.
|
String |
getDidsha1()
SHA1 hashed device ID; IMEI when available, else MEID or ESN.
|
byte |
getDnt()
If “0”, then do not track Is set to false, if “1”, then do no track is set to true in browser.
|
String |
getDpidmd5()
MD5 hashed platform-specific ID (e.g., Android ID or UDID for iOS).
|
String |
getDpidsha1()
SHA1 hashed platform-specific ID (e.g., Android ID or UDID for iOS).
|
Object |
getFieldValue(DeviceThrift._Fields field) |
String |
getFlashver()
Return the Flash version detected.
|
GeoThrift |
getGeo()
Geography as derived from the device’s location services (e.g., cell tower triangulation, GPS) or IP address.
|
String |
getIfa()
Native identifier for advertisers; an opaque ID assigned by the device or browser for use as an advertising identifier.
|
String |
getIp()
IPv4 address closest to device.
|
String |
getIpv6()
IP address in IPv6.
|
byte |
getJs()
“1” if the device supports JavaScript; else “0”.
|
String |
getLanguage()
Browser language; use alpha-2/ISO 639-1 codes.
|
String |
getMacmd5()
MD5 hashed MAC address of the device.
|
String |
getMacsha1()
SHA1 hashed MAC address of the device.
|
String |
getMake()
Device make (e.g., “Apple”).
|
String |
getModel()
Device model (e.g., “iPhone”).
|
String |
getOs()
Device operating system (e.g., “iOS”).
|
String |
getOsv()
Device operating system version (e.g., “3.1.2”).
|
String |
getUa()
Browser user agent string.
|
int |
hashCode() |
boolean |
isSet(DeviceThrift._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetCarrier()
Returns true if field carrier is set (has been assigned a value) and false otherwise
|
boolean |
isSetConnectiontype()
Returns true if field connectiontype is set (has been assigned a value) and false otherwise
|
boolean |
isSetDevicetype()
Returns true if field devicetype is set (has been assigned a value) and false otherwise
|
boolean |
isSetDidmd5()
Returns true if field didmd5 is set (has been assigned a value) and false otherwise
|
boolean |
isSetDidsha1()
Returns true if field didsha1 is set (has been assigned a value) and false otherwise
|
boolean |
isSetDnt()
Returns true if field dnt is set (has been assigned a value) and false otherwise
|
boolean |
isSetDpidmd5()
Returns true if field dpidmd5 is set (has been assigned a value) and false otherwise
|
boolean |
isSetDpidsha1()
Returns true if field dpidsha1 is set (has been assigned a value) and false otherwise
|
boolean |
isSetFlashver()
Returns true if field flashver is set (has been assigned a value) and false otherwise
|
boolean |
isSetGeo()
Returns true if field geo is set (has been assigned a value) and false otherwise
|
boolean |
isSetIfa()
Returns true if field ifa is set (has been assigned a value) and false otherwise
|
boolean |
isSetIp()
Returns true if field ip is set (has been assigned a value) and false otherwise
|
boolean |
isSetIpv6()
Returns true if field ipv6 is set (has been assigned a value) and false otherwise
|
boolean |
isSetJs()
Returns true if field js is set (has been assigned a value) and false otherwise
|
boolean |
isSetLanguage()
Returns true if field language is set (has been assigned a value) and false otherwise
|
boolean |
isSetMacmd5()
Returns true if field macmd5 is set (has been assigned a value) and false otherwise
|
boolean |
isSetMacsha1()
Returns true if field macsha1 is set (has been assigned a value) and false otherwise
|
boolean |
isSetMake()
Returns true if field make is set (has been assigned a value) and false otherwise
|
boolean |
isSetModel()
Returns true if field model is set (has been assigned a value) and false otherwise
|
boolean |
isSetOs()
Returns true if field os is set (has been assigned a value) and false otherwise
|
boolean |
isSetOsv()
Returns true if field osv is set (has been assigned a value) and false otherwise
|
boolean |
isSetUa()
Returns true if field ua is set (has been assigned a value) and false otherwise
|
void |
read(TProtocol iprot) |
DeviceThrift |
setCarrier(String carrier)
Carrier or ISP derived from the IP address.
|
void |
setCarrierIsSet(boolean value) |
DeviceThrift |
setConnectiontype(short connectiontype)
Return the detected data connection type for the device.
|
void |
setConnectiontypeIsSet(boolean value) |
DeviceThrift |
setDevicetype(short devicetype)
Return the device type being used.
|
void |
setDevicetypeIsSet(boolean value) |
DeviceThrift |
setDidmd5(String didmd5)
MD5 hashed device ID; IMEI when available, else MEID or ESN.
|
void |
setDidmd5IsSet(boolean value) |
DeviceThrift |
setDidsha1(String didsha1)
SHA1 hashed device ID; IMEI when available, else MEID or ESN.
|
void |
setDidsha1IsSet(boolean value) |
DeviceThrift |
setDnt(byte dnt)
If “0”, then do not track Is set to false, if “1”, then do no track is set to true in browser.
|
void |
setDntIsSet(boolean value) |
DeviceThrift |
setDpidmd5(String dpidmd5)
MD5 hashed platform-specific ID (e.g., Android ID or UDID for iOS).
|
void |
setDpidmd5IsSet(boolean value) |
DeviceThrift |
setDpidsha1(String dpidsha1)
SHA1 hashed platform-specific ID (e.g., Android ID or UDID for iOS).
|
void |
setDpidsha1IsSet(boolean value) |
void |
setFieldValue(DeviceThrift._Fields field,
Object value) |
DeviceThrift |
setFlashver(String flashver)
Return the Flash version detected.
|
void |
setFlashverIsSet(boolean value) |
DeviceThrift |
setGeo(GeoThrift geo)
Geography as derived from the device’s location services (e.g., cell tower triangulation, GPS) or IP address.
|
void |
setGeoIsSet(boolean value) |
DeviceThrift |
setIfa(String ifa)
Native identifier for advertisers; an opaque ID assigned by the device or browser for use as an advertising identifier.
|
void |
setIfaIsSet(boolean value) |
DeviceThrift |
setIp(String ip)
IPv4 address closest to device.
|
void |
setIpIsSet(boolean value) |
DeviceThrift |
setIpv6(String ipv6)
IP address in IPv6.
|
void |
setIpv6IsSet(boolean value) |
DeviceThrift |
setJs(byte js)
“1” if the device supports JavaScript; else “0”.
|
void |
setJsIsSet(boolean value) |
DeviceThrift |
setLanguage(String language)
Browser language; use alpha-2/ISO 639-1 codes.
|
void |
setLanguageIsSet(boolean value) |
DeviceThrift |
setMacmd5(String macmd5)
MD5 hashed MAC address of the device.
|
void |
setMacmd5IsSet(boolean value) |
DeviceThrift |
setMacsha1(String macsha1)
SHA1 hashed MAC address of the device.
|
void |
setMacsha1IsSet(boolean value) |
DeviceThrift |
setMake(String make)
Device make (e.g., “Apple”).
|
void |
setMakeIsSet(boolean value) |
DeviceThrift |
setModel(String model)
Device model (e.g., “iPhone”).
|
void |
setModelIsSet(boolean value) |
DeviceThrift |
setOs(String os)
Device operating system (e.g., “iOS”).
|
void |
setOsIsSet(boolean value) |
DeviceThrift |
setOsv(String osv)
Device operating system version (e.g., “3.1.2”).
|
void |
setOsvIsSet(boolean value) |
DeviceThrift |
setUa(String ua)
Browser user agent string.
|
void |
setUaIsSet(boolean value) |
String |
toString() |
void |
unsetCarrier() |
void |
unsetConnectiontype() |
void |
unsetDevicetype() |
void |
unsetDidmd5() |
void |
unsetDidsha1() |
void |
unsetDnt() |
void |
unsetDpidmd5() |
void |
unsetDpidsha1() |
void |
unsetFlashver() |
void |
unsetGeo() |
void |
unsetIfa() |
void |
unsetIp() |
void |
unsetIpv6() |
void |
unsetJs() |
void |
unsetLanguage() |
void |
unsetMacmd5() |
void |
unsetMacsha1() |
void |
unsetMake() |
void |
unsetModel() |
void |
unsetOs() |
void |
unsetOsv() |
void |
unsetUa() |
void |
validate() |
void |
write(TProtocol oprot) |
public byte dnt
public String ua
public String ip
public GeoThrift geo
public String didsha1
public String didmd5
public String dpidsha1
public String dpidmd5
public String macsha1
public String macmd5
public String ipv6
public String carrier
public String language
public String make
public String model
public String os
public String osv
public byte js
public short connectiontype
public short devicetype
public String flashver
public String ifa
public static final Map<DeviceThrift._Fields,FieldMetaData> metaDataMap
public DeviceThrift()
public DeviceThrift(DeviceThrift other)
public DeviceThrift deepCopy()
deepCopy in interface TBase<DeviceThrift,DeviceThrift._Fields>public void clear()
clear in interface TBase<DeviceThrift,DeviceThrift._Fields>public byte getDnt()
public DeviceThrift setDnt(byte dnt)
public void unsetDnt()
public boolean isSetDnt()
public void setDntIsSet(boolean value)
public String getUa()
public DeviceThrift setUa(String ua)
public void unsetUa()
public boolean isSetUa()
public void setUaIsSet(boolean value)
public String getIp()
public DeviceThrift setIp(String ip)
public void unsetIp()
public boolean isSetIp()
public void setIpIsSet(boolean value)
public GeoThrift getGeo()
public DeviceThrift setGeo(GeoThrift geo)
public void unsetGeo()
public boolean isSetGeo()
public void setGeoIsSet(boolean value)
public String getDidsha1()
public DeviceThrift setDidsha1(String didsha1)
public void unsetDidsha1()
public boolean isSetDidsha1()
public void setDidsha1IsSet(boolean value)
public String getDidmd5()
public DeviceThrift setDidmd5(String didmd5)
public void unsetDidmd5()
public boolean isSetDidmd5()
public void setDidmd5IsSet(boolean value)
public String getDpidsha1()
public DeviceThrift setDpidsha1(String dpidsha1)
public void unsetDpidsha1()
public boolean isSetDpidsha1()
public void setDpidsha1IsSet(boolean value)
public String getDpidmd5()
public DeviceThrift setDpidmd5(String dpidmd5)
public void unsetDpidmd5()
public boolean isSetDpidmd5()
public void setDpidmd5IsSet(boolean value)
public String getMacsha1()
public DeviceThrift setMacsha1(String macsha1)
public void unsetMacsha1()
public boolean isSetMacsha1()
public void setMacsha1IsSet(boolean value)
public String getMacmd5()
public DeviceThrift setMacmd5(String macmd5)
public void unsetMacmd5()
public boolean isSetMacmd5()
public void setMacmd5IsSet(boolean value)
public String getIpv6()
public DeviceThrift setIpv6(String ipv6)
public void unsetIpv6()
public boolean isSetIpv6()
public void setIpv6IsSet(boolean value)
public String getCarrier()
public DeviceThrift setCarrier(String carrier)
public void unsetCarrier()
public boolean isSetCarrier()
public void setCarrierIsSet(boolean value)
public String getLanguage()
public DeviceThrift setLanguage(String language)
public void unsetLanguage()
public boolean isSetLanguage()
public void setLanguageIsSet(boolean value)
public String getMake()
public DeviceThrift setMake(String make)
public void unsetMake()
public boolean isSetMake()
public void setMakeIsSet(boolean value)
public String getModel()
public DeviceThrift setModel(String model)
public void unsetModel()
public boolean isSetModel()
public void setModelIsSet(boolean value)
public String getOs()
public DeviceThrift setOs(String os)
public void unsetOs()
public boolean isSetOs()
public void setOsIsSet(boolean value)
public String getOsv()
public DeviceThrift setOsv(String osv)
public void unsetOsv()
public boolean isSetOsv()
public void setOsvIsSet(boolean value)
public byte getJs()
public DeviceThrift setJs(byte js)
public void unsetJs()
public boolean isSetJs()
public void setJsIsSet(boolean value)
public short getConnectiontype()
public DeviceThrift setConnectiontype(short connectiontype)
public void unsetConnectiontype()
public boolean isSetConnectiontype()
public void setConnectiontypeIsSet(boolean value)
public short getDevicetype()
public DeviceThrift setDevicetype(short devicetype)
public void unsetDevicetype()
public boolean isSetDevicetype()
public void setDevicetypeIsSet(boolean value)
public String getFlashver()
public DeviceThrift setFlashver(String flashver)
public void unsetFlashver()
public boolean isSetFlashver()
public void setFlashverIsSet(boolean value)
public String getIfa()
public DeviceThrift setIfa(String ifa)
public void unsetIfa()
public boolean isSetIfa()
public void setIfaIsSet(boolean value)
public void setFieldValue(DeviceThrift._Fields field, Object value)
setFieldValue in interface TBase<DeviceThrift,DeviceThrift._Fields>public Object getFieldValue(DeviceThrift._Fields field)
getFieldValue in interface TBase<DeviceThrift,DeviceThrift._Fields>public boolean isSet(DeviceThrift._Fields field)
isSet in interface TBase<DeviceThrift,DeviceThrift._Fields>public boolean equals(DeviceThrift that)
public int compareTo(DeviceThrift other)
compareTo in interface Comparable<DeviceThrift>public DeviceThrift._Fields fieldForId(int fieldId)
fieldForId in interface TBase<DeviceThrift,DeviceThrift._Fields>public void read(TProtocol iprot) throws TException
read in interface TBase<DeviceThrift,DeviceThrift._Fields>TExceptionpublic void write(TProtocol oprot) throws TException
write in interface TBase<DeviceThrift,DeviceThrift._Fields>TExceptionpublic void validate()
throws TException
TExceptionCopyright © 2013–2016 AdGear Technologies Inc.. All rights reserved.