public static final class Openrtb.BidRequest.Device extends com.google.protobuf.GeneratedMessage implements Openrtb.BidRequest.DeviceOrBuilder
openrtb.BidRequest.Device
OpenRTB 3.3.10: Provides information pertaining to the device including its hardware, platform, location, and carrier. This device can refer to a mobile handset, a desktop computer, set top box or other digital device. In general, the most essential fields are either the IP address (to enable geo-lookup for the bidder), or providing geo information directly in the geo object.
| Modifier and Type | Class and Description |
|---|---|
static class |
Openrtb.BidRequest.Device.Builder
Protobuf type
openrtb.BidRequest.Device |
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>| Modifier and Type | Field and Description |
|---|---|
static int |
CARRIER_FIELD_NUMBER |
static int |
CONNECTIONTYPE_FIELD_NUMBER |
static int |
DEVICETYPE_FIELD_NUMBER |
static int |
DIDMD5_FIELD_NUMBER |
static int |
DIDSHA1_FIELD_NUMBER |
static int |
DNT_FIELD_NUMBER |
static int |
DPIDMD5_FIELD_NUMBER |
static int |
DPIDSHA1_FIELD_NUMBER |
static int |
EXT_FIELD_NUMBER |
static int |
FLASHVER_FIELD_NUMBER |
static int |
GEO_FIELD_NUMBER |
static int |
H_FIELD_NUMBER |
static int |
HWV_FIELD_NUMBER |
static int |
IFA_FIELD_NUMBER |
static int |
IP_FIELD_NUMBER |
static int |
IPV6_FIELD_NUMBER |
static int |
JS_FIELD_NUMBER |
static int |
LANGUAGE_FIELD_NUMBER |
static int |
LMT_FIELD_NUMBER |
static int |
MACMD5_FIELD_NUMBER |
static int |
MACSHA1_FIELD_NUMBER |
static int |
MAKE_FIELD_NUMBER |
static int |
MODEL_FIELD_NUMBER |
static int |
OS_FIELD_NUMBER |
static int |
OSV_FIELD_NUMBER |
static com.google.protobuf.Parser<Openrtb.BidRequest.Device> |
PARSER
Deprecated.
|
static int |
PPI_FIELD_NUMBER |
static int |
PXRATIO_FIELD_NUMBER |
static int |
UA_FIELD_NUMBER |
static int |
W_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
String |
getCarrier()
optional string carrier = 10 [default = "-1"]; |
com.google.protobuf.ByteString |
getCarrierBytes()
optional string carrier = 10 [default = "-1"]; |
OpenrtbCommon.Enums.BidRequest.Device.ConnectionType |
getConnectiontype()
optional .openrtb.Enums.BidRequest.Device.ConnectionType connectiontype = 17 [default = CONNECTION_UNKNOWN]; |
static Openrtb.BidRequest.Device |
getDefaultInstance() |
Openrtb.BidRequest.Device |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
OpenrtbCommon.Enums.BidRequest.Device.DeviceType |
getDevicetype()
optional .openrtb.Enums.BidRequest.Device.DeviceType devicetype = 18 [default = UNKNOWN]; |
String |
getDidmd5()
optional string didmd5 = 6; |
com.google.protobuf.ByteString |
getDidmd5Bytes()
optional string didmd5 = 6; |
String |
getDidsha1()
optional string didsha1 = 5; |
com.google.protobuf.ByteString |
getDidsha1Bytes()
optional string didsha1 = 5; |
OpenrtbCommon.Flag |
getDnt()
optional .openrtb.Flag dnt = 1; |
String |
getDpidmd5()
optional string dpidmd5 = 8; |
com.google.protobuf.ByteString |
getDpidmd5Bytes()
optional string dpidmd5 = 8; |
String |
getDpidsha1()
optional string dpidsha1 = 7; |
com.google.protobuf.ByteString |
getDpidsha1Bytes()
optional string dpidsha1 = 7; |
Extension.DeviceExtensions |
getExt()
optional .openrtb.DeviceExtensions ext = 1000; |
Extension.DeviceExtensionsOrBuilder |
getExtOrBuilder()
optional .openrtb.DeviceExtensions ext = 1000; |
String |
getFlashver()
optional string flashver = 19; |
com.google.protobuf.ByteString |
getFlashverBytes()
optional string flashver = 19; |
Openrtb.BidRequest.Geo |
getGeo()
optional .openrtb.BidRequest.Geo geo = 4; |
Openrtb.BidRequest.GeoOrBuilder |
getGeoOrBuilder()
optional .openrtb.BidRequest.Geo geo = 4; |
int |
getH()
optional int32 h = 23; |
String |
getHwv()
optional string hwv = 21; |
com.google.protobuf.ByteString |
getHwvBytes()
optional string hwv = 21; |
String |
getIfa()
optional string ifa = 26; |
com.google.protobuf.ByteString |
getIfaBytes()
optional string ifa = 26; |
String |
getIp()
optional string ip = 3 [default = "0.0.0.0"]; |
com.google.protobuf.ByteString |
getIpBytes()
optional string ip = 3 [default = "0.0.0.0"]; |
String |
getIpv6()
optional string ipv6 = 9; |
com.google.protobuf.ByteString |
getIpv6Bytes()
optional string ipv6 = 9; |
OpenrtbCommon.Flag |
getJs()
optional .openrtb.Flag js = 16 [default = YES]; |
String |
getLanguage()
optional string language = 11; |
com.google.protobuf.ByteString |
getLanguageBytes()
optional string language = 11; |
boolean |
getLmt()
optional bool lmt = 20; |
String |
getMacmd5()
optional string macmd5 = 28; |
com.google.protobuf.ByteString |
getMacmd5Bytes()
optional string macmd5 = 28; |
String |
getMacsha1()
optional string macsha1 = 27; |
com.google.protobuf.ByteString |
getMacsha1Bytes()
optional string macsha1 = 27; |
String |
getMake()
optional string make = 12 [default = "-1"]; |
com.google.protobuf.ByteString |
getMakeBytes()
optional string make = 12 [default = "-1"]; |
String |
getModel()
optional string model = 13 [default = "-1"]; |
com.google.protobuf.ByteString |
getModelBytes()
optional string model = 13 [default = "-1"]; |
String |
getOs()
optional string os = 14 [default = "-1"]; |
com.google.protobuf.ByteString |
getOsBytes()
optional string os = 14 [default = "-1"]; |
String |
getOsv()
optional string osv = 15 [default = "-1"]; |
com.google.protobuf.ByteString |
getOsvBytes()
optional string osv = 15 [default = "-1"]; |
com.google.protobuf.Parser<Openrtb.BidRequest.Device> |
getParserForType() |
int |
getPpi()
optional int32 ppi = 24; |
double |
getPxratio()
optional double pxratio = 25; |
int |
getSerializedSize() |
String |
getUa()
optional string ua = 2; |
com.google.protobuf.ByteString |
getUaBytes()
optional string ua = 2; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
getW()
optional int32 w = 22; |
boolean |
hasCarrier()
optional string carrier = 10 [default = "-1"]; |
boolean |
hasConnectiontype()
optional .openrtb.Enums.BidRequest.Device.ConnectionType connectiontype = 17 [default = CONNECTION_UNKNOWN]; |
boolean |
hasDevicetype()
optional .openrtb.Enums.BidRequest.Device.DeviceType devicetype = 18 [default = UNKNOWN]; |
boolean |
hasDidmd5()
optional string didmd5 = 6; |
boolean |
hasDidsha1()
optional string didsha1 = 5; |
boolean |
hasDnt()
optional .openrtb.Flag dnt = 1; |
boolean |
hasDpidmd5()
optional string dpidmd5 = 8; |
boolean |
hasDpidsha1()
optional string dpidsha1 = 7; |
boolean |
hasExt()
optional .openrtb.DeviceExtensions ext = 1000; |
boolean |
hasFlashver()
optional string flashver = 19; |
boolean |
hasGeo()
optional .openrtb.BidRequest.Geo geo = 4; |
boolean |
hasH()
optional int32 h = 23; |
boolean |
hasHwv()
optional string hwv = 21; |
boolean |
hasIfa()
optional string ifa = 26; |
boolean |
hasIp()
optional string ip = 3 [default = "0.0.0.0"]; |
boolean |
hasIpv6()
optional string ipv6 = 9; |
boolean |
hasJs()
optional .openrtb.Flag js = 16 [default = YES]; |
boolean |
hasLanguage()
optional string language = 11; |
boolean |
hasLmt()
optional bool lmt = 20; |
boolean |
hasMacmd5()
optional string macmd5 = 28; |
boolean |
hasMacsha1()
optional string macsha1 = 27; |
boolean |
hasMake()
optional string make = 12 [default = "-1"]; |
boolean |
hasModel()
optional string model = 13 [default = "-1"]; |
boolean |
hasOs()
optional string os = 14 [default = "-1"]; |
boolean |
hasOsv()
optional string osv = 15 [default = "-1"]; |
boolean |
hasPpi()
optional int32 ppi = 24; |
boolean |
hasPxratio()
optional double pxratio = 25; |
boolean |
hasUa()
optional string ua = 2; |
boolean |
hasW()
optional int32 w = 22; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Openrtb.BidRequest.Device.Builder |
newBuilder() |
static Openrtb.BidRequest.Device.Builder |
newBuilder(Openrtb.BidRequest.Device prototype) |
Openrtb.BidRequest.Device.Builder |
newBuilderForType() |
protected Openrtb.BidRequest.Device.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static Openrtb.BidRequest.Device |
parseDelimitedFrom(InputStream input) |
static Openrtb.BidRequest.Device |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Openrtb.BidRequest.Device |
parseFrom(byte[] data) |
static Openrtb.BidRequest.Device |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Openrtb.BidRequest.Device |
parseFrom(com.google.protobuf.ByteString data) |
static Openrtb.BidRequest.Device |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Openrtb.BidRequest.Device |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Openrtb.BidRequest.Device |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Openrtb.BidRequest.Device |
parseFrom(InputStream input) |
static Openrtb.BidRequest.Device |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Openrtb.BidRequest.Device> |
parser() |
Openrtb.BidRequest.Device.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, writeReplace, writeString, writeStringNoTagequals, findInitializationErrors, getInitializationErrorString, hashBoolean, hashCode, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int DNT_FIELD_NUMBER
public static final int UA_FIELD_NUMBER
public static final int IP_FIELD_NUMBER
public static final int GEO_FIELD_NUMBER
public static final int DIDSHA1_FIELD_NUMBER
public static final int DIDMD5_FIELD_NUMBER
public static final int DPIDSHA1_FIELD_NUMBER
public static final int DPIDMD5_FIELD_NUMBER
public static final int IPV6_FIELD_NUMBER
public static final int CARRIER_FIELD_NUMBER
public static final int LANGUAGE_FIELD_NUMBER
public static final int MAKE_FIELD_NUMBER
public static final int MODEL_FIELD_NUMBER
public static final int OS_FIELD_NUMBER
public static final int OSV_FIELD_NUMBER
public static final int JS_FIELD_NUMBER
public static final int CONNECTIONTYPE_FIELD_NUMBER
public static final int DEVICETYPE_FIELD_NUMBER
public static final int FLASHVER_FIELD_NUMBER
public static final int LMT_FIELD_NUMBER
public static final int HWV_FIELD_NUMBER
public static final int W_FIELD_NUMBER
public static final int H_FIELD_NUMBER
public static final int PPI_FIELD_NUMBER
public static final int PXRATIO_FIELD_NUMBER
public static final int IFA_FIELD_NUMBER
public static final int MACSHA1_FIELD_NUMBER
public static final int MACMD5_FIELD_NUMBER
public static final int EXT_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<Openrtb.BidRequest.Device> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic boolean hasDnt()
optional .openrtb.Flag dnt = 1;
Do Not Track.
hasDnt in interface Openrtb.BidRequest.DeviceOrBuilderpublic OpenrtbCommon.Flag getDnt()
optional .openrtb.Flag dnt = 1;
Do Not Track.
getDnt in interface Openrtb.BidRequest.DeviceOrBuilderpublic boolean hasUa()
optional string ua = 2;
Browser user agent string.
hasUa in interface Openrtb.BidRequest.DeviceOrBuilderpublic String getUa()
optional string ua = 2;
Browser user agent string.
getUa in interface Openrtb.BidRequest.DeviceOrBuilderpublic com.google.protobuf.ByteString getUaBytes()
optional string ua = 2;
Browser user agent string.
getUaBytes in interface Openrtb.BidRequest.DeviceOrBuilderpublic boolean hasIp()
optional string ip = 3 [default = "0.0.0.0"];
IPv4 address closest to device.
hasIp in interface Openrtb.BidRequest.DeviceOrBuilderpublic String getIp()
optional string ip = 3 [default = "0.0.0.0"];
IPv4 address closest to device.
getIp in interface Openrtb.BidRequest.DeviceOrBuilderpublic com.google.protobuf.ByteString getIpBytes()
optional string ip = 3 [default = "0.0.0.0"];
IPv4 address closest to device.
getIpBytes in interface Openrtb.BidRequest.DeviceOrBuilderpublic boolean hasGeo()
optional .openrtb.BidRequest.Geo geo = 4;
Geography as derived from the device’s location services (e.g., cell tower triangulation, GPS) or IP address.
hasGeo in interface Openrtb.BidRequest.DeviceOrBuilderpublic Openrtb.BidRequest.Geo getGeo()
optional .openrtb.BidRequest.Geo geo = 4;
Geography as derived from the device’s location services (e.g., cell tower triangulation, GPS) or IP address.
getGeo in interface Openrtb.BidRequest.DeviceOrBuilderpublic Openrtb.BidRequest.GeoOrBuilder getGeoOrBuilder()
optional .openrtb.BidRequest.Geo geo = 4;
Geography as derived from the device’s location services (e.g., cell tower triangulation, GPS) or IP address.
getGeoOrBuilder in interface Openrtb.BidRequest.DeviceOrBuilderpublic boolean hasDidsha1()
optional string didsha1 = 5;
SHA1 hashed device ID; IMEI when available, else MEID or ESN. OpenRTB’s preferred method for device ID hashing is SHA1.
hasDidsha1 in interface Openrtb.BidRequest.DeviceOrBuilderpublic String getDidsha1()
optional string didsha1 = 5;
SHA1 hashed device ID; IMEI when available, else MEID or ESN. OpenRTB’s preferred method for device ID hashing is SHA1.
getDidsha1 in interface Openrtb.BidRequest.DeviceOrBuilderpublic com.google.protobuf.ByteString getDidsha1Bytes()
optional string didsha1 = 5;
SHA1 hashed device ID; IMEI when available, else MEID or ESN. OpenRTB’s preferred method for device ID hashing is SHA1.
getDidsha1Bytes in interface Openrtb.BidRequest.DeviceOrBuilderpublic boolean hasDidmd5()
optional string didmd5 = 6;
MD5 hashed device ID; IMEI when available, else MEID or ESN. Should be interpreted as case insensitive.
hasDidmd5 in interface Openrtb.BidRequest.DeviceOrBuilderpublic String getDidmd5()
optional string didmd5 = 6;
MD5 hashed device ID; IMEI when available, else MEID or ESN. Should be interpreted as case insensitive.
getDidmd5 in interface Openrtb.BidRequest.DeviceOrBuilderpublic com.google.protobuf.ByteString getDidmd5Bytes()
optional string didmd5 = 6;
MD5 hashed device ID; IMEI when available, else MEID or ESN. Should be interpreted as case insensitive.
getDidmd5Bytes in interface Openrtb.BidRequest.DeviceOrBuilderpublic boolean hasDpidsha1()
optional string dpidsha1 = 7;
SHA1 hashed platform-specific ID (e.g., Android ID or UDID for iOS). OpenRTB’s preferred method for device ID hash is SHA1.
hasDpidsha1 in interface Openrtb.BidRequest.DeviceOrBuilderpublic String getDpidsha1()
optional string dpidsha1 = 7;
SHA1 hashed platform-specific ID (e.g., Android ID or UDID for iOS). OpenRTB’s preferred method for device ID hash is SHA1.
getDpidsha1 in interface Openrtb.BidRequest.DeviceOrBuilderpublic com.google.protobuf.ByteString getDpidsha1Bytes()
optional string dpidsha1 = 7;
SHA1 hashed platform-specific ID (e.g., Android ID or UDID for iOS). OpenRTB’s preferred method for device ID hash is SHA1.
getDpidsha1Bytes in interface Openrtb.BidRequest.DeviceOrBuilderpublic boolean hasDpidmd5()
optional string dpidmd5 = 8;
MD5 hashed platform-specific ID (e.g., Android ID or UDID for iOS). Should be interpreted as case insensitive.
hasDpidmd5 in interface Openrtb.BidRequest.DeviceOrBuilderpublic String getDpidmd5()
optional string dpidmd5 = 8;
MD5 hashed platform-specific ID (e.g., Android ID or UDID for iOS). Should be interpreted as case insensitive.
getDpidmd5 in interface Openrtb.BidRequest.DeviceOrBuilderpublic com.google.protobuf.ByteString getDpidmd5Bytes()
optional string dpidmd5 = 8;
MD5 hashed platform-specific ID (e.g., Android ID or UDID for iOS). Should be interpreted as case insensitive.
getDpidmd5Bytes in interface Openrtb.BidRequest.DeviceOrBuilderpublic boolean hasIpv6()
optional string ipv6 = 9;
IP address in IPv6.
hasIpv6 in interface Openrtb.BidRequest.DeviceOrBuilderpublic String getIpv6()
optional string ipv6 = 9;
IP address in IPv6.
getIpv6 in interface Openrtb.BidRequest.DeviceOrBuilderpublic com.google.protobuf.ByteString getIpv6Bytes()
optional string ipv6 = 9;
IP address in IPv6.
getIpv6Bytes in interface Openrtb.BidRequest.DeviceOrBuilderpublic boolean hasCarrier()
optional string carrier = 10 [default = "-1"];
Carrier or ISP derived from the IP address. Should be specified using Mobile Network Code (MNC).
hasCarrier in interface Openrtb.BidRequest.DeviceOrBuilderpublic String getCarrier()
optional string carrier = 10 [default = "-1"];
Carrier or ISP derived from the IP address. Should be specified using Mobile Network Code (MNC).
getCarrier in interface Openrtb.BidRequest.DeviceOrBuilderpublic com.google.protobuf.ByteString getCarrierBytes()
optional string carrier = 10 [default = "-1"];
Carrier or ISP derived from the IP address. Should be specified using Mobile Network Code (MNC).
getCarrierBytes in interface Openrtb.BidRequest.DeviceOrBuilderpublic boolean hasLanguage()
optional string language = 11;
Browser language; use alpha-2/ISO 639-1 codes.
hasLanguage in interface Openrtb.BidRequest.DeviceOrBuilderpublic String getLanguage()
optional string language = 11;
Browser language; use alpha-2/ISO 639-1 codes.
getLanguage in interface Openrtb.BidRequest.DeviceOrBuilderpublic com.google.protobuf.ByteString getLanguageBytes()
optional string language = 11;
Browser language; use alpha-2/ISO 639-1 codes.
getLanguageBytes in interface Openrtb.BidRequest.DeviceOrBuilderpublic boolean hasMake()
optional string make = 12 [default = "-1"];
Device make (e.g., “Apple”).
hasMake in interface Openrtb.BidRequest.DeviceOrBuilderpublic String getMake()
optional string make = 12 [default = "-1"];
Device make (e.g., “Apple”).
getMake in interface Openrtb.BidRequest.DeviceOrBuilderpublic com.google.protobuf.ByteString getMakeBytes()
optional string make = 12 [default = "-1"];
Device make (e.g., “Apple”).
getMakeBytes in interface Openrtb.BidRequest.DeviceOrBuilderpublic boolean hasModel()
optional string model = 13 [default = "-1"];
Device model (e.g., “iPhone”).
hasModel in interface Openrtb.BidRequest.DeviceOrBuilderpublic String getModel()
optional string model = 13 [default = "-1"];
Device model (e.g., “iPhone”).
getModel in interface Openrtb.BidRequest.DeviceOrBuilderpublic com.google.protobuf.ByteString getModelBytes()
optional string model = 13 [default = "-1"];
Device model (e.g., “iPhone”).
getModelBytes in interface Openrtb.BidRequest.DeviceOrBuilderpublic boolean hasOs()
optional string os = 14 [default = "-1"];
Device operating system (e.g., “iOS”).
hasOs in interface Openrtb.BidRequest.DeviceOrBuilderpublic String getOs()
optional string os = 14 [default = "-1"];
Device operating system (e.g., “iOS”).
getOs in interface Openrtb.BidRequest.DeviceOrBuilderpublic com.google.protobuf.ByteString getOsBytes()
optional string os = 14 [default = "-1"];
Device operating system (e.g., “iOS”).
getOsBytes in interface Openrtb.BidRequest.DeviceOrBuilderpublic boolean hasOsv()
optional string osv = 15 [default = "-1"];
Device operating system version (e.g., “3.1.2”).
hasOsv in interface Openrtb.BidRequest.DeviceOrBuilderpublic String getOsv()
optional string osv = 15 [default = "-1"];
Device operating system version (e.g., “3.1.2”).
getOsv in interface Openrtb.BidRequest.DeviceOrBuilderpublic com.google.protobuf.ByteString getOsvBytes()
optional string osv = 15 [default = "-1"];
Device operating system version (e.g., “3.1.2”).
getOsvBytes in interface Openrtb.BidRequest.DeviceOrBuilderpublic boolean hasJs()
optional .openrtb.Flag js = 16 [default = YES];
Device supports Javascript?
hasJs in interface Openrtb.BidRequest.DeviceOrBuilderpublic OpenrtbCommon.Flag getJs()
optional .openrtb.Flag js = 16 [default = YES];
Device supports Javascript?
getJs in interface Openrtb.BidRequest.DeviceOrBuilderpublic boolean hasConnectiontype()
optional .openrtb.Enums.BidRequest.Device.ConnectionType connectiontype = 17 [default = CONNECTION_UNKNOWN];
Return the detected data connection type for the device.
hasConnectiontype in interface Openrtb.BidRequest.DeviceOrBuilderpublic OpenrtbCommon.Enums.BidRequest.Device.ConnectionType getConnectiontype()
optional .openrtb.Enums.BidRequest.Device.ConnectionType connectiontype = 17 [default = CONNECTION_UNKNOWN];
Return the detected data connection type for the device.
getConnectiontype in interface Openrtb.BidRequest.DeviceOrBuilderpublic boolean hasDevicetype()
optional .openrtb.Enums.BidRequest.Device.DeviceType devicetype = 18 [default = UNKNOWN];
Return the device type being used.
hasDevicetype in interface Openrtb.BidRequest.DeviceOrBuilderpublic OpenrtbCommon.Enums.BidRequest.Device.DeviceType getDevicetype()
optional .openrtb.Enums.BidRequest.Device.DeviceType devicetype = 18 [default = UNKNOWN];
Return the device type being used.
getDevicetype in interface Openrtb.BidRequest.DeviceOrBuilderpublic boolean hasFlashver()
optional string flashver = 19;
Return the Flash version detected.
hasFlashver in interface Openrtb.BidRequest.DeviceOrBuilderpublic String getFlashver()
optional string flashver = 19;
Return the Flash version detected.
getFlashver in interface Openrtb.BidRequest.DeviceOrBuilderpublic com.google.protobuf.ByteString getFlashverBytes()
optional string flashver = 19;
Return the Flash version detected.
getFlashverBytes in interface Openrtb.BidRequest.DeviceOrBuilderpublic boolean hasLmt()
optional bool lmt = 20;
"Limit Ad Tracking" signal commercially endorsed (e.g., iOS, Android), where false = tracking is unrestricted, true = tracking must be limited per commercial guidelines.
hasLmt in interface Openrtb.BidRequest.DeviceOrBuilderpublic boolean getLmt()
optional bool lmt = 20;
"Limit Ad Tracking" signal commercially endorsed (e.g., iOS, Android), where false = tracking is unrestricted, true = tracking must be limited per commercial guidelines.
getLmt in interface Openrtb.BidRequest.DeviceOrBuilderpublic boolean hasHwv()
optional string hwv = 21;
Hardware version of the device (e.g., "5S" for iPhone 5S).
hasHwv in interface Openrtb.BidRequest.DeviceOrBuilderpublic String getHwv()
optional string hwv = 21;
Hardware version of the device (e.g., "5S" for iPhone 5S).
getHwv in interface Openrtb.BidRequest.DeviceOrBuilderpublic com.google.protobuf.ByteString getHwvBytes()
optional string hwv = 21;
Hardware version of the device (e.g., "5S" for iPhone 5S).
getHwvBytes in interface Openrtb.BidRequest.DeviceOrBuilderpublic boolean hasW()
optional int32 w = 22;
Physical width of the screen in pixels.
hasW in interface Openrtb.BidRequest.DeviceOrBuilderpublic int getW()
optional int32 w = 22;
Physical width of the screen in pixels.
getW in interface Openrtb.BidRequest.DeviceOrBuilderpublic boolean hasH()
optional int32 h = 23;
Physical height of the screen in pixels.
hasH in interface Openrtb.BidRequest.DeviceOrBuilderpublic int getH()
optional int32 h = 23;
Physical height of the screen in pixels.
getH in interface Openrtb.BidRequest.DeviceOrBuilderpublic boolean hasPpi()
optional int32 ppi = 24;
Screen size as pixels per linear inch.
hasPpi in interface Openrtb.BidRequest.DeviceOrBuilderpublic int getPpi()
optional int32 ppi = 24;
Screen size as pixels per linear inch.
getPpi in interface Openrtb.BidRequest.DeviceOrBuilderpublic boolean hasPxratio()
optional double pxratio = 25;
The ratio of physical pixels to device independent pixels.
hasPxratio in interface Openrtb.BidRequest.DeviceOrBuilderpublic double getPxratio()
optional double pxratio = 25;
The ratio of physical pixels to device independent pixels.
getPxratio in interface Openrtb.BidRequest.DeviceOrBuilderpublic boolean hasIfa()
optional string ifa = 26;
ID sanctioned for advertiser use in the clear (i.e., not hashed).
hasIfa in interface Openrtb.BidRequest.DeviceOrBuilderpublic String getIfa()
optional string ifa = 26;
ID sanctioned for advertiser use in the clear (i.e., not hashed).
getIfa in interface Openrtb.BidRequest.DeviceOrBuilderpublic com.google.protobuf.ByteString getIfaBytes()
optional string ifa = 26;
ID sanctioned for advertiser use in the clear (i.e., not hashed).
getIfaBytes in interface Openrtb.BidRequest.DeviceOrBuilderpublic boolean hasMacsha1()
optional string macsha1 = 27;
MAC address of the device; hashed via SHA1.
hasMacsha1 in interface Openrtb.BidRequest.DeviceOrBuilderpublic String getMacsha1()
optional string macsha1 = 27;
MAC address of the device; hashed via SHA1.
getMacsha1 in interface Openrtb.BidRequest.DeviceOrBuilderpublic com.google.protobuf.ByteString getMacsha1Bytes()
optional string macsha1 = 27;
MAC address of the device; hashed via SHA1.
getMacsha1Bytes in interface Openrtb.BidRequest.DeviceOrBuilderpublic boolean hasMacmd5()
optional string macmd5 = 28;
MAC address of the device; hashed via MD5.
hasMacmd5 in interface Openrtb.BidRequest.DeviceOrBuilderpublic String getMacmd5()
optional string macmd5 = 28;
MAC address of the device; hashed via MD5.
getMacmd5 in interface Openrtb.BidRequest.DeviceOrBuilderpublic com.google.protobuf.ByteString getMacmd5Bytes()
optional string macmd5 = 28;
MAC address of the device; hashed via MD5.
getMacmd5Bytes in interface Openrtb.BidRequest.DeviceOrBuilderpublic boolean hasExt()
optional .openrtb.DeviceExtensions ext = 1000;hasExt in interface Openrtb.BidRequest.DeviceOrBuilderpublic Extension.DeviceExtensions getExt()
optional .openrtb.DeviceExtensions ext = 1000;getExt in interface Openrtb.BidRequest.DeviceOrBuilderpublic Extension.DeviceExtensionsOrBuilder getExtOrBuilder()
optional .openrtb.DeviceExtensions ext = 1000;getExtOrBuilder in interface Openrtb.BidRequest.DeviceOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessagepublic static Openrtb.BidRequest.Device parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Openrtb.BidRequest.Device parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Openrtb.BidRequest.Device parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Openrtb.BidRequest.Device parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Openrtb.BidRequest.Device parseFrom(InputStream input) throws IOException
IOExceptionpublic static Openrtb.BidRequest.Device parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Openrtb.BidRequest.Device parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Openrtb.BidRequest.Device parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Openrtb.BidRequest.Device parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Openrtb.BidRequest.Device parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Openrtb.BidRequest.Device.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Openrtb.BidRequest.Device.Builder newBuilder()
public static Openrtb.BidRequest.Device.Builder newBuilder(Openrtb.BidRequest.Device prototype)
public Openrtb.BidRequest.Device.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Openrtb.BidRequest.Device.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessagepublic static Openrtb.BidRequest.Device getDefaultInstance()
public static com.google.protobuf.Parser<Openrtb.BidRequest.Device> parser()
public com.google.protobuf.Parser<Openrtb.BidRequest.Device> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic Openrtb.BidRequest.Device getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2017. All rights reserved.