Package com.google.openrtb
Class OpenRtb.BidRequest.Device
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.protobuf.GeneratedMessageV3.ExtendableMessage<OpenRtb.BidRequest.Device>
-
- com.google.openrtb.OpenRtb.BidRequest.Device
-
- All Implemented Interfaces:
OpenRtb.BidRequest.DeviceOrBuilder,com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<OpenRtb.BidRequest.Device>,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- OpenRtb.BidRequest
public static final class OpenRtb.BidRequest.Device extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<OpenRtb.BidRequest.Device> implements OpenRtb.BidRequest.DeviceOrBuilder
OpenRTB 2.0: This object provides information pertaining to the device through which the user is interacting. Device information includes its hardware, platform, location, and carrier data. The device can refer to a mobile handset, a desktop computer, set top box, or other digital device.
Protobuf typecom.google.openrtb.BidRequest.Device- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOpenRtb.BidRequest.Device.BuilderOpenRTB 2.0: This object provides information pertaining to the device through which the user is interacting.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3.ExtendableMessage
com.google.protobuf.GeneratedMessageV3.ExtendableMessage.ExtensionWriter
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetCarrier()Carrier or ISP (e.g., "VERIZON") using exchange curated string names which should be published to bidders a priori.com.google.protobuf.ByteStringgetCarrierBytes()Carrier or ISP (e.g., "VERIZON") using exchange curated string names which should be published to bidders a priori.OpenRtb.ConnectionTypegetConnectiontype()Network connection type.static OpenRtb.BidRequest.DevicegetDefaultInstance()OpenRtb.BidRequest.DevicegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()OpenRtb.DeviceTypegetDevicetype()The general type of device.StringgetDidmd5()Hardware device ID (e.g., IMEI); hashed via MD5.com.google.protobuf.ByteStringgetDidmd5Bytes()Hardware device ID (e.g., IMEI); hashed via MD5.StringgetDidsha1()Hardware device ID (e.g., IMEI); hashed via SHA1.com.google.protobuf.ByteStringgetDidsha1Bytes()Hardware device ID (e.g., IMEI); hashed via SHA1.booleangetDnt()Standard "Do Not Track" flag as set in the header by the browser, where false = tracking is unrestricted, true = do not track.StringgetDpidmd5()Platform device ID (e.g., Android ID); hashed via MD5.com.google.protobuf.ByteStringgetDpidmd5Bytes()Platform device ID (e.g., Android ID); hashed via MD5.StringgetDpidsha1()Platform device ID (e.g., Android ID); hashed via SHA1.com.google.protobuf.ByteStringgetDpidsha1Bytes()Platform device ID (e.g., Android ID); hashed via SHA1.StringgetFlashver()Version of Flash supported by the browser.com.google.protobuf.ByteStringgetFlashverBytes()Version of Flash supported by the browser.OpenRtb.BidRequest.GeogetGeo()Location of the device assumed to be the user's current location defined by a Geo object (Section 3.2.12).booleangetGeofetch()Indicates if the geolocation API will be available to JavaScript code running in the banner.OpenRtb.BidRequest.GeoOrBuildergetGeoOrBuilder()Location of the device assumed to be the user's current location defined by a Geo object (Section 3.2.12).intgetH()Physical height of the screen in pixels.StringgetHwv()Hardware version of the device (e.g., "5S" for iPhone 5S).com.google.protobuf.ByteStringgetHwvBytes()Hardware version of the device (e.g., "5S" for iPhone 5S).StringgetIfa()ID sanctioned for advertiser use in the clear (i.e., not hashed).com.google.protobuf.ByteStringgetIfaBytes()ID sanctioned for advertiser use in the clear (i.e., not hashed).StringgetIp()IPv4 address closest to device.com.google.protobuf.ByteStringgetIpBytes()IPv4 address closest to device.StringgetIpv6()IPv6 address closest to device.com.google.protobuf.ByteStringgetIpv6Bytes()IPv6 address closest to device.booleangetJs()Support for JavaScript.StringgetLanguage()Browser language using ISO-639-1-alpha-2.com.google.protobuf.ByteStringgetLanguageBytes()Browser language using ISO-639-1-alpha-2.booleangetLmt()"Limit Ad Tracking" signal commercially endorsed (e.g., iOS, Android), where false = tracking is unrestricted, true = tracking must be limited per commercial guidelines.StringgetMacmd5()MAC address of the device; hashed via MD5.com.google.protobuf.ByteStringgetMacmd5Bytes()MAC address of the device; hashed via MD5.StringgetMacsha1()MAC address of the device; hashed via SHA1.com.google.protobuf.ByteStringgetMacsha1Bytes()MAC address of the device; hashed via SHA1.StringgetMake()Device make (e.g., "Apple").com.google.protobuf.ByteStringgetMakeBytes()Device make (e.g., "Apple").StringgetMccmnc()Mobile carrier as the concatenated MCC-MNC code (e.g., "310-005" identifies Verizon Wireless CDMA in the USA).com.google.protobuf.ByteStringgetMccmncBytes()Mobile carrier as the concatenated MCC-MNC code (e.g., "310-005" identifies Verizon Wireless CDMA in the USA).StringgetModel()Device model (e.g., "iPhone").com.google.protobuf.ByteStringgetModelBytes()Device model (e.g., "iPhone").StringgetOs()Device operating system (e.g., "iOS").com.google.protobuf.ByteStringgetOsBytes()Device operating system (e.g., "iOS").StringgetOsv()Device operating system version (e.g., "3.1.2").com.google.protobuf.ByteStringgetOsvBytes()Device operating system version (e.g., "3.1.2").com.google.protobuf.Parser<OpenRtb.BidRequest.Device>getParserForType()intgetPpi()Screen size as pixels per linear inch.doublegetPxratio()The ratio of physical pixels to device independent pixels.intgetSerializedSize()StringgetUa()Browser user agent string.com.google.protobuf.ByteStringgetUaBytes()Browser user agent string.com.google.protobuf.UnknownFieldSetgetUnknownFields()intgetW()Physical width of the screen in pixels.booleanhasCarrier()Carrier or ISP (e.g., "VERIZON") using exchange curated string names which should be published to bidders a priori.booleanhasConnectiontype()Network connection type.booleanhasDevicetype()The general type of device.booleanhasDidmd5()Hardware device ID (e.g., IMEI); hashed via MD5.booleanhasDidsha1()Hardware device ID (e.g., IMEI); hashed via SHA1.booleanhasDnt()Standard "Do Not Track" flag as set in the header by the browser, where false = tracking is unrestricted, true = do not track.booleanhasDpidmd5()Platform device ID (e.g., Android ID); hashed via MD5.booleanhasDpidsha1()Platform device ID (e.g., Android ID); hashed via SHA1.booleanhasFlashver()Version of Flash supported by the browser.booleanhasGeo()Location of the device assumed to be the user's current location defined by a Geo object (Section 3.2.12).booleanhasGeofetch()Indicates if the geolocation API will be available to JavaScript code running in the banner.booleanhasH()Physical height of the screen in pixels.inthashCode()booleanhasHwv()Hardware version of the device (e.g., "5S" for iPhone 5S).booleanhasIfa()ID sanctioned for advertiser use in the clear (i.e., not hashed).booleanhasIp()IPv4 address closest to device.booleanhasIpv6()IPv6 address closest to device.booleanhasJs()Support for JavaScript.booleanhasLanguage()Browser language using ISO-639-1-alpha-2.booleanhasLmt()"Limit Ad Tracking" signal commercially endorsed (e.g., iOS, Android), where false = tracking is unrestricted, true = tracking must be limited per commercial guidelines.booleanhasMacmd5()MAC address of the device; hashed via MD5.booleanhasMacsha1()MAC address of the device; hashed via SHA1.booleanhasMake()Device make (e.g., "Apple").booleanhasMccmnc()Mobile carrier as the concatenated MCC-MNC code (e.g., "310-005" identifies Verizon Wireless CDMA in the USA).booleanhasModel()Device model (e.g., "iPhone").booleanhasOs()Device operating system (e.g., "iOS").booleanhasOsv()Device operating system version (e.g., "3.1.2").booleanhasPpi()Screen size as pixels per linear inch.booleanhasPxratio()The ratio of physical pixels to device independent pixels.booleanhasUa()Browser user agent string.booleanhasW()Physical width of the screen in pixels.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static OpenRtb.BidRequest.Device.BuildernewBuilder()static OpenRtb.BidRequest.Device.BuildernewBuilder(OpenRtb.BidRequest.Device prototype)OpenRtb.BidRequest.Device.BuildernewBuilderForType()protected OpenRtb.BidRequest.Device.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static OpenRtb.BidRequest.DeviceparseDelimitedFrom(InputStream input)static OpenRtb.BidRequest.DeviceparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OpenRtb.BidRequest.DeviceparseFrom(byte[] data)static OpenRtb.BidRequest.DeviceparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OpenRtb.BidRequest.DeviceparseFrom(com.google.protobuf.ByteString data)static OpenRtb.BidRequest.DeviceparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OpenRtb.BidRequest.DeviceparseFrom(com.google.protobuf.CodedInputStream input)static OpenRtb.BidRequest.DeviceparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OpenRtb.BidRequest.DeviceparseFrom(InputStream input)static OpenRtb.BidRequest.DeviceparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OpenRtb.BidRequest.DeviceparseFrom(ByteBuffer data)static OpenRtb.BidRequest.DeviceparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<OpenRtb.BidRequest.Device>parser()OpenRtb.BidRequest.Device.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.ExtendableMessage
extensionsAreInitialized, extensionsSerializedSize, extensionsSerializedSizeAsMessageSet, getAllFields, getAllFieldsRaw, getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, getExtensionFields, getField, getRepeatedField, getRepeatedFieldCount, hasExtension, hasExtension, hasExtension, hasField, makeExtensionsImmutable, newExtensionWriter, newMessageSetExtensionWriter, parseUnknownField, parseUnknownFieldProto3
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getDescriptorForType, getOneofFieldDescriptor, hasOneof, internalGetMapField, isStringEmpty, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder
getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, hasExtension, hasExtension, hasExtension
-
-
-
-
Field Detail
-
GEO_FIELD_NUMBER
public static final int GEO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DNT_FIELD_NUMBER
public static final int DNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LMT_FIELD_NUMBER
public static final int LMT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UA_FIELD_NUMBER
public static final int UA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IP_FIELD_NUMBER
public static final int IP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IPV6_FIELD_NUMBER
public static final int IPV6_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DEVICETYPE_FIELD_NUMBER
public static final int DEVICETYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MAKE_FIELD_NUMBER
public static final int MAKE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MODEL_FIELD_NUMBER
public static final int MODEL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OS_FIELD_NUMBER
public static final int OS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OSV_FIELD_NUMBER
public static final int OSV_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HWV_FIELD_NUMBER
public static final int HWV_FIELD_NUMBER
- See Also:
- Constant Field Values
-
W_FIELD_NUMBER
public static final int W_FIELD_NUMBER
- See Also:
- Constant Field Values
-
H_FIELD_NUMBER
public static final int H_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PPI_FIELD_NUMBER
public static final int PPI_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PXRATIO_FIELD_NUMBER
public static final int PXRATIO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
JS_FIELD_NUMBER
public static final int JS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GEOFETCH_FIELD_NUMBER
public static final int GEOFETCH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FLASHVER_FIELD_NUMBER
public static final int FLASHVER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LANGUAGE_FIELD_NUMBER
public static final int LANGUAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CARRIER_FIELD_NUMBER
public static final int CARRIER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MCCMNC_FIELD_NUMBER
public static final int MCCMNC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONNECTIONTYPE_FIELD_NUMBER
public static final int CONNECTIONTYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IFA_FIELD_NUMBER
public static final int IFA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DIDSHA1_FIELD_NUMBER
public static final int DIDSHA1_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DIDMD5_FIELD_NUMBER
public static final int DIDMD5_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DPIDSHA1_FIELD_NUMBER
public static final int DPIDSHA1_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DPIDMD5_FIELD_NUMBER
public static final int DPIDMD5_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MACSHA1_FIELD_NUMBER
public static final int MACSHA1_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MACMD5_FIELD_NUMBER
public static final int MACMD5_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<OpenRtb.BidRequest.Device> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasGeo
public boolean hasGeo()
Location of the device assumed to be the user's current location defined by a Geo object (Section 3.2.12). RECOMMENDED by the OpenRTB specification.
optional .com.google.openrtb.BidRequest.Geo geo = 4;- Specified by:
hasGeoin interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- Whether the geo field is set.
-
getGeo
public OpenRtb.BidRequest.Geo getGeo()
Location of the device assumed to be the user's current location defined by a Geo object (Section 3.2.12). RECOMMENDED by the OpenRTB specification.
optional .com.google.openrtb.BidRequest.Geo geo = 4;- Specified by:
getGeoin interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- The geo.
-
getGeoOrBuilder
public OpenRtb.BidRequest.GeoOrBuilder getGeoOrBuilder()
Location of the device assumed to be the user's current location defined by a Geo object (Section 3.2.12). RECOMMENDED by the OpenRTB specification.
optional .com.google.openrtb.BidRequest.Geo geo = 4;- Specified by:
getGeoOrBuilderin interfaceOpenRtb.BidRequest.DeviceOrBuilder
-
hasDnt
public boolean hasDnt()
Standard "Do Not Track" flag as set in the header by the browser, where false = tracking is unrestricted, true = do not track. RECOMMENDED by the OpenRTB specification.
optional bool dnt = 1;- Specified by:
hasDntin interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- Whether the dnt field is set.
-
getDnt
public boolean getDnt()
Standard "Do Not Track" flag as set in the header by the browser, where false = tracking is unrestricted, true = do not track. RECOMMENDED by the OpenRTB specification.
optional bool dnt = 1;- Specified by:
getDntin interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- The dnt.
-
hasLmt
public boolean hasLmt()
"Limit Ad Tracking" signal commercially endorsed (e.g., iOS, Android), where false = tracking is unrestricted, true = tracking must be limited per commercial guidelines. RECOMMENDED by the OpenRTB specification.
optional bool lmt = 23;- Specified by:
hasLmtin interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- Whether the lmt field is set.
-
getLmt
public boolean getLmt()
"Limit Ad Tracking" signal commercially endorsed (e.g., iOS, Android), where false = tracking is unrestricted, true = tracking must be limited per commercial guidelines. RECOMMENDED by the OpenRTB specification.
optional bool lmt = 23;- Specified by:
getLmtin interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- The lmt.
-
hasUa
public boolean hasUa()
Browser user agent string. Certain data may be redacted or replaced. RECOMMENDED by the OpenRTB specification.
optional string ua = 2;- Specified by:
hasUain interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- Whether the ua field is set.
-
getUa
public String getUa()
Browser user agent string. Certain data may be redacted or replaced. RECOMMENDED by the OpenRTB specification.
optional string ua = 2;- Specified by:
getUain interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- The ua.
-
getUaBytes
public com.google.protobuf.ByteString getUaBytes()
Browser user agent string. Certain data may be redacted or replaced. RECOMMENDED by the OpenRTB specification.
optional string ua = 2;- Specified by:
getUaBytesin interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- The bytes for ua.
-
hasIp
public boolean hasIp()
IPv4 address closest to device. RECOMMENDED by the OpenRTB specification.
optional string ip = 3;- Specified by:
hasIpin interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- Whether the ip field is set.
-
getIp
public String getIp()
IPv4 address closest to device. RECOMMENDED by the OpenRTB specification.
optional string ip = 3;- Specified by:
getIpin interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- The ip.
-
getIpBytes
public com.google.protobuf.ByteString getIpBytes()
IPv4 address closest to device. RECOMMENDED by the OpenRTB specification.
optional string ip = 3;- Specified by:
getIpBytesin interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- The bytes for ip.
-
hasIpv6
public boolean hasIpv6()
IPv6 address closest to device.
optional string ipv6 = 9;- Specified by:
hasIpv6in interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- Whether the ipv6 field is set.
-
getIpv6
public String getIpv6()
IPv6 address closest to device.
optional string ipv6 = 9;- Specified by:
getIpv6in interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- The ipv6.
-
getIpv6Bytes
public com.google.protobuf.ByteString getIpv6Bytes()
IPv6 address closest to device.
optional string ipv6 = 9;- Specified by:
getIpv6Bytesin interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- The bytes for ipv6.
-
hasDevicetype
public boolean hasDevicetype()
The general type of device.
optional .com.google.openrtb.DeviceType devicetype = 18;- Specified by:
hasDevicetypein interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- Whether the devicetype field is set.
-
getDevicetype
public OpenRtb.DeviceType getDevicetype()
The general type of device.
optional .com.google.openrtb.DeviceType devicetype = 18;- Specified by:
getDevicetypein interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- The devicetype.
-
hasMake
public boolean hasMake()
Device make (e.g., "Apple").
optional string make = 12;- Specified by:
hasMakein interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- Whether the make field is set.
-
getMake
public String getMake()
Device make (e.g., "Apple").
optional string make = 12;- Specified by:
getMakein interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- The make.
-
getMakeBytes
public com.google.protobuf.ByteString getMakeBytes()
Device make (e.g., "Apple").
optional string make = 12;- Specified by:
getMakeBytesin interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- The bytes for make.
-
hasModel
public boolean hasModel()
Device model (e.g., "iPhone").
optional string model = 13;- Specified by:
hasModelin interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- Whether the model field is set.
-
getModel
public String getModel()
Device model (e.g., "iPhone").
optional string model = 13;- Specified by:
getModelin interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- The model.
-
getModelBytes
public com.google.protobuf.ByteString getModelBytes()
Device model (e.g., "iPhone").
optional string model = 13;- Specified by:
getModelBytesin interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- The bytes for model.
-
hasOs
public boolean hasOs()
Device operating system (e.g., "iOS").
optional string os = 14;- Specified by:
hasOsin interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- Whether the os field is set.
-
getOs
public String getOs()
Device operating system (e.g., "iOS").
optional string os = 14;- Specified by:
getOsin interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- The os.
-
getOsBytes
public com.google.protobuf.ByteString getOsBytes()
Device operating system (e.g., "iOS").
optional string os = 14;- Specified by:
getOsBytesin interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- The bytes for os.
-
hasOsv
public boolean hasOsv()
Device operating system version (e.g., "3.1.2").
optional string osv = 15;- Specified by:
hasOsvin interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- Whether the osv field is set.
-
getOsv
public String getOsv()
Device operating system version (e.g., "3.1.2").
optional string osv = 15;- Specified by:
getOsvin interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- The osv.
-
getOsvBytes
public com.google.protobuf.ByteString getOsvBytes()
Device operating system version (e.g., "3.1.2").
optional string osv = 15;- Specified by:
getOsvBytesin interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- The bytes for osv.
-
hasHwv
public boolean hasHwv()
Hardware version of the device (e.g., "5S" for iPhone 5S).
optional string hwv = 24;- Specified by:
hasHwvin interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- Whether the hwv field is set.
-
getHwv
public String getHwv()
Hardware version of the device (e.g., "5S" for iPhone 5S).
optional string hwv = 24;- Specified by:
getHwvin interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- The hwv.
-
getHwvBytes
public com.google.protobuf.ByteString getHwvBytes()
Hardware version of the device (e.g., "5S" for iPhone 5S).
optional string hwv = 24;- Specified by:
getHwvBytesin interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- The bytes for hwv.
-
hasW
public boolean hasW()
Physical width of the screen in pixels.
optional int32 w = 25;- Specified by:
hasWin interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- Whether the w field is set.
-
getW
public int getW()
Physical width of the screen in pixels.
optional int32 w = 25;- Specified by:
getWin interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- The w.
-
hasH
public boolean hasH()
Physical height of the screen in pixels.
optional int32 h = 26;- Specified by:
hasHin interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- Whether the h field is set.
-
getH
public int getH()
Physical height of the screen in pixels.
optional int32 h = 26;- Specified by:
getHin interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- The h.
-
hasPpi
public boolean hasPpi()
Screen size as pixels per linear inch.
optional int32 ppi = 27;- Specified by:
hasPpiin interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- Whether the ppi field is set.
-
getPpi
public int getPpi()
Screen size as pixels per linear inch.
optional int32 ppi = 27;- Specified by:
getPpiin interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- The ppi.
-
hasPxratio
public boolean hasPxratio()
The ratio of physical pixels to device independent pixels.
optional double pxratio = 28;- Specified by:
hasPxratioin interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- Whether the pxratio field is set.
-
getPxratio
public double getPxratio()
The ratio of physical pixels to device independent pixels.
optional double pxratio = 28;- Specified by:
getPxratioin interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- The pxratio.
-
hasJs
public boolean hasJs()
Support for JavaScript.
optional bool js = 16;- Specified by:
hasJsin interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- Whether the js field is set.
-
getJs
public boolean getJs()
Support for JavaScript.
optional bool js = 16;- Specified by:
getJsin interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- The js.
-
hasGeofetch
public boolean hasGeofetch()
Indicates if the geolocation API will be available to JavaScript code running in the banner.
optional bool geofetch = 29;- Specified by:
hasGeofetchin interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- Whether the geofetch field is set.
-
getGeofetch
public boolean getGeofetch()
Indicates if the geolocation API will be available to JavaScript code running in the banner.
optional bool geofetch = 29;- Specified by:
getGeofetchin interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- The geofetch.
-
hasFlashver
public boolean hasFlashver()
Version of Flash supported by the browser.
optional string flashver = 19;- Specified by:
hasFlashverin interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- Whether the flashver field is set.
-
getFlashver
public String getFlashver()
Version of Flash supported by the browser.
optional string flashver = 19;- Specified by:
getFlashverin interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- The flashver.
-
getFlashverBytes
public com.google.protobuf.ByteString getFlashverBytes()
Version of Flash supported by the browser.
optional string flashver = 19;- Specified by:
getFlashverBytesin interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- The bytes for flashver.
-
hasLanguage
public boolean hasLanguage()
Browser language using ISO-639-1-alpha-2.
optional string language = 11;- Specified by:
hasLanguagein interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- Whether the language field is set.
-
getLanguage
public String getLanguage()
Browser language using ISO-639-1-alpha-2.
optional string language = 11;- Specified by:
getLanguagein interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- The language.
-
getLanguageBytes
public com.google.protobuf.ByteString getLanguageBytes()
Browser language using ISO-639-1-alpha-2.
optional string language = 11;- Specified by:
getLanguageBytesin interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- The bytes for language.
-
hasCarrier
public boolean hasCarrier()
Carrier or ISP (e.g., "VERIZON") using exchange curated string names which should be published to bidders a priori.
optional string carrier = 10;- Specified by:
hasCarrierin interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- Whether the carrier field is set.
-
getCarrier
public String getCarrier()
Carrier or ISP (e.g., "VERIZON") using exchange curated string names which should be published to bidders a priori.
optional string carrier = 10;- Specified by:
getCarrierin interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- The carrier.
-
getCarrierBytes
public com.google.protobuf.ByteString getCarrierBytes()
Carrier or ISP (e.g., "VERIZON") using exchange curated string names which should be published to bidders a priori.
optional string carrier = 10;- Specified by:
getCarrierBytesin interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- The bytes for carrier.
-
hasMccmnc
public boolean hasMccmnc()
Mobile carrier as the concatenated MCC-MNC code (e.g., "310-005" identifies Verizon Wireless CDMA in the USA). Refer to https://en.wikipedia.org/wiki/Mobile_country_code for further examples. Note that the dash between the MCC and MNC parts is required to remove parsing ambiguity.
optional string mccmnc = 30;- Specified by:
hasMccmncin interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- Whether the mccmnc field is set.
-
getMccmnc
public String getMccmnc()
Mobile carrier as the concatenated MCC-MNC code (e.g., "310-005" identifies Verizon Wireless CDMA in the USA). Refer to https://en.wikipedia.org/wiki/Mobile_country_code for further examples. Note that the dash between the MCC and MNC parts is required to remove parsing ambiguity.
optional string mccmnc = 30;- Specified by:
getMccmncin interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- The mccmnc.
-
getMccmncBytes
public com.google.protobuf.ByteString getMccmncBytes()
Mobile carrier as the concatenated MCC-MNC code (e.g., "310-005" identifies Verizon Wireless CDMA in the USA). Refer to https://en.wikipedia.org/wiki/Mobile_country_code for further examples. Note that the dash between the MCC and MNC parts is required to remove parsing ambiguity.
optional string mccmnc = 30;- Specified by:
getMccmncBytesin interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- The bytes for mccmnc.
-
hasConnectiontype
public boolean hasConnectiontype()
Network connection type.
optional .com.google.openrtb.ConnectionType connectiontype = 17;- Specified by:
hasConnectiontypein interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- Whether the connectiontype field is set.
-
getConnectiontype
public OpenRtb.ConnectionType getConnectiontype()
Network connection type.
optional .com.google.openrtb.ConnectionType connectiontype = 17;- Specified by:
getConnectiontypein interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- The connectiontype.
-
hasIfa
public boolean hasIfa()
ID sanctioned for advertiser use in the clear (i.e., not hashed).
optional string ifa = 20;- Specified by:
hasIfain interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- Whether the ifa field is set.
-
getIfa
public String getIfa()
ID sanctioned for advertiser use in the clear (i.e., not hashed).
optional string ifa = 20;- Specified by:
getIfain interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- The ifa.
-
getIfaBytes
public com.google.protobuf.ByteString getIfaBytes()
ID sanctioned for advertiser use in the clear (i.e., not hashed).
optional string ifa = 20;- Specified by:
getIfaBytesin interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- The bytes for ifa.
-
hasDidsha1
public boolean hasDidsha1()
Hardware device ID (e.g., IMEI); hashed via SHA1.
optional string didsha1 = 5;- Specified by:
hasDidsha1in interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- Whether the didsha1 field is set.
-
getDidsha1
public String getDidsha1()
Hardware device ID (e.g., IMEI); hashed via SHA1.
optional string didsha1 = 5;- Specified by:
getDidsha1in interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- The didsha1.
-
getDidsha1Bytes
public com.google.protobuf.ByteString getDidsha1Bytes()
Hardware device ID (e.g., IMEI); hashed via SHA1.
optional string didsha1 = 5;- Specified by:
getDidsha1Bytesin interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- The bytes for didsha1.
-
hasDidmd5
public boolean hasDidmd5()
Hardware device ID (e.g., IMEI); hashed via MD5.
optional string didmd5 = 6;- Specified by:
hasDidmd5in interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- Whether the didmd5 field is set.
-
getDidmd5
public String getDidmd5()
Hardware device ID (e.g., IMEI); hashed via MD5.
optional string didmd5 = 6;- Specified by:
getDidmd5in interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- The didmd5.
-
getDidmd5Bytes
public com.google.protobuf.ByteString getDidmd5Bytes()
Hardware device ID (e.g., IMEI); hashed via MD5.
optional string didmd5 = 6;- Specified by:
getDidmd5Bytesin interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- The bytes for didmd5.
-
hasDpidsha1
public boolean hasDpidsha1()
Platform device ID (e.g., Android ID); hashed via SHA1.
optional string dpidsha1 = 7;- Specified by:
hasDpidsha1in interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- Whether the dpidsha1 field is set.
-
getDpidsha1
public String getDpidsha1()
Platform device ID (e.g., Android ID); hashed via SHA1.
optional string dpidsha1 = 7;- Specified by:
getDpidsha1in interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- The dpidsha1.
-
getDpidsha1Bytes
public com.google.protobuf.ByteString getDpidsha1Bytes()
Platform device ID (e.g., Android ID); hashed via SHA1.
optional string dpidsha1 = 7;- Specified by:
getDpidsha1Bytesin interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- The bytes for dpidsha1.
-
hasDpidmd5
public boolean hasDpidmd5()
Platform device ID (e.g., Android ID); hashed via MD5.
optional string dpidmd5 = 8;- Specified by:
hasDpidmd5in interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- Whether the dpidmd5 field is set.
-
getDpidmd5
public String getDpidmd5()
Platform device ID (e.g., Android ID); hashed via MD5.
optional string dpidmd5 = 8;- Specified by:
getDpidmd5in interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- The dpidmd5.
-
getDpidmd5Bytes
public com.google.protobuf.ByteString getDpidmd5Bytes()
Platform device ID (e.g., Android ID); hashed via MD5.
optional string dpidmd5 = 8;- Specified by:
getDpidmd5Bytesin interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- The bytes for dpidmd5.
-
hasMacsha1
public boolean hasMacsha1()
MAC address of the device; hashed via SHA1.
optional string macsha1 = 21;- Specified by:
hasMacsha1in interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- Whether the macsha1 field is set.
-
getMacsha1
public String getMacsha1()
MAC address of the device; hashed via SHA1.
optional string macsha1 = 21;- Specified by:
getMacsha1in interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- The macsha1.
-
getMacsha1Bytes
public com.google.protobuf.ByteString getMacsha1Bytes()
MAC address of the device; hashed via SHA1.
optional string macsha1 = 21;- Specified by:
getMacsha1Bytesin interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- The bytes for macsha1.
-
hasMacmd5
public boolean hasMacmd5()
MAC address of the device; hashed via MD5.
optional string macmd5 = 22;- Specified by:
hasMacmd5in interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- Whether the macmd5 field is set.
-
getMacmd5
public String getMacmd5()
MAC address of the device; hashed via MD5.
optional string macmd5 = 22;- Specified by:
getMacmd5in interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- The macmd5.
-
getMacmd5Bytes
public com.google.protobuf.ByteString getMacmd5Bytes()
MAC address of the device; hashed via MD5.
optional string macmd5 = 22;- Specified by:
getMacmd5Bytesin interfaceOpenRtb.BidRequest.DeviceOrBuilder- Returns:
- The bytes for macmd5.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.ExtendableMessage<OpenRtb.BidRequest.Device>
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static OpenRtb.BidRequest.Device parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpenRtb.BidRequest.Device parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpenRtb.BidRequest.Device parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpenRtb.BidRequest.Device parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpenRtb.BidRequest.Device parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpenRtb.BidRequest.Device parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpenRtb.BidRequest.Device parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static OpenRtb.BidRequest.Device parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static OpenRtb.BidRequest.Device parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static OpenRtb.BidRequest.Device parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static OpenRtb.BidRequest.Device parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static OpenRtb.BidRequest.Device parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public OpenRtb.BidRequest.Device.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static OpenRtb.BidRequest.Device.Builder newBuilder()
-
newBuilder
public static OpenRtb.BidRequest.Device.Builder newBuilder(OpenRtb.BidRequest.Device prototype)
-
toBuilder
public OpenRtb.BidRequest.Device.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected OpenRtb.BidRequest.Device.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static OpenRtb.BidRequest.Device getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<OpenRtb.BidRequest.Device> parser()
-
getParserForType
public com.google.protobuf.Parser<OpenRtb.BidRequest.Device> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public OpenRtb.BidRequest.Device getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<OpenRtb.BidRequest.Device>- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-