Class OpenRtb.BidRequest.Device.Builder

  • All Implemented Interfaces:
    OpenRtb.BidRequest.DeviceOrBuilder, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<OpenRtb.BidRequest.Device>, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    OpenRtb.BidRequest.Device

    public static final class OpenRtb.BidRequest.Device.Builder
    extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.BidRequest.Device,​OpenRtb.BidRequest.Device.Builder>
    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 type com.google.openrtb.BidRequest.Device
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<OpenRtb.BidRequest.Device.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<OpenRtb.BidRequest.Device.Builder>
      • getDefaultInstanceForType

        public OpenRtb.BidRequest.Device getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<OpenRtb.BidRequest.Device>
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public OpenRtb.BidRequest.Device build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public OpenRtb.BidRequest.Device buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.BidRequest.Device,​OpenRtb.BidRequest.Device.Builder>
      • mergeFrom

        public OpenRtb.BidRequest.Device.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                    throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<OpenRtb.BidRequest.Device.Builder>
        Throws:
        IOException
      • 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:
        hasGeo in interface OpenRtb.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:
        getGeo in interface OpenRtb.BidRequest.DeviceOrBuilder
        Returns:
        The geo.
      • setGeo

        public OpenRtb.BidRequest.Device.Builder setGeo​(OpenRtb.BidRequest.Geo value)
         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;
      • mergeGeo

        public OpenRtb.BidRequest.Device.Builder mergeGeo​(OpenRtb.BidRequest.Geo value)
         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;
      • clearGeo

        public OpenRtb.BidRequest.Device.Builder clearGeo()
         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;
      • getGeoBuilder

        public OpenRtb.BidRequest.Geo.Builder getGeoBuilder()
         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;
      • 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:
        hasDnt in interface OpenRtb.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:
        getDnt in interface OpenRtb.BidRequest.DeviceOrBuilder
        Returns:
        The dnt.
      • setDnt

        public OpenRtb.BidRequest.Device.Builder setDnt​(boolean value)
         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;
        Parameters:
        value - The dnt to set.
        Returns:
        This builder for chaining.
      • clearDnt

        public OpenRtb.BidRequest.Device.Builder clearDnt()
         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;
        Returns:
        This builder for chaining.
      • 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:
        hasLmt in interface OpenRtb.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:
        getLmt in interface OpenRtb.BidRequest.DeviceOrBuilder
        Returns:
        The lmt.
      • setLmt

        public OpenRtb.BidRequest.Device.Builder setLmt​(boolean value)
         "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;
        Parameters:
        value - The lmt to set.
        Returns:
        This builder for chaining.
      • clearLmt

        public OpenRtb.BidRequest.Device.Builder clearLmt()
         "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;
        Returns:
        This builder for chaining.
      • 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:
        hasUa in interface OpenRtb.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:
        getUa in interface OpenRtb.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:
        getUaBytes in interface OpenRtb.BidRequest.DeviceOrBuilder
        Returns:
        The bytes for ua.
      • setUa

        public OpenRtb.BidRequest.Device.Builder setUa​(String value)
         Browser user agent string. Certain data may be redacted or replaced.
         RECOMMENDED by the OpenRTB specification.
         
        optional string ua = 2;
        Parameters:
        value - The ua to set.
        Returns:
        This builder for chaining.
      • clearUa

        public OpenRtb.BidRequest.Device.Builder clearUa()
         Browser user agent string. Certain data may be redacted or replaced.
         RECOMMENDED by the OpenRTB specification.
         
        optional string ua = 2;
        Returns:
        This builder for chaining.
      • setUaBytes

        public OpenRtb.BidRequest.Device.Builder setUaBytes​(com.google.protobuf.ByteString value)
         Browser user agent string. Certain data may be redacted or replaced.
         RECOMMENDED by the OpenRTB specification.
         
        optional string ua = 2;
        Parameters:
        value - The bytes for ua to set.
        Returns:
        This builder for chaining.
      • hasIp

        public boolean hasIp()
         IPv4 address closest to device.
         RECOMMENDED by the OpenRTB specification.
         
        optional string ip = 3;
        Specified by:
        hasIp in interface OpenRtb.BidRequest.DeviceOrBuilder
        Returns:
        Whether the ip field is set.
      • getIpBytes

        public com.google.protobuf.ByteString getIpBytes()
         IPv4 address closest to device.
         RECOMMENDED by the OpenRTB specification.
         
        optional string ip = 3;
        Specified by:
        getIpBytes in interface OpenRtb.BidRequest.DeviceOrBuilder
        Returns:
        The bytes for ip.
      • setIp

        public OpenRtb.BidRequest.Device.Builder setIp​(String value)
         IPv4 address closest to device.
         RECOMMENDED by the OpenRTB specification.
         
        optional string ip = 3;
        Parameters:
        value - The ip to set.
        Returns:
        This builder for chaining.
      • clearIp

        public OpenRtb.BidRequest.Device.Builder clearIp()
         IPv4 address closest to device.
         RECOMMENDED by the OpenRTB specification.
         
        optional string ip = 3;
        Returns:
        This builder for chaining.
      • setIpBytes

        public OpenRtb.BidRequest.Device.Builder setIpBytes​(com.google.protobuf.ByteString value)
         IPv4 address closest to device.
         RECOMMENDED by the OpenRTB specification.
         
        optional string ip = 3;
        Parameters:
        value - The bytes for ip to set.
        Returns:
        This builder for chaining.
      • hasIpv6

        public boolean hasIpv6()
         IPv6 address closest to device.
         
        optional string ipv6 = 9;
        Specified by:
        hasIpv6 in interface OpenRtb.BidRequest.DeviceOrBuilder
        Returns:
        Whether the ipv6 field is set.
      • getIpv6Bytes

        public com.google.protobuf.ByteString getIpv6Bytes()
         IPv6 address closest to device.
         
        optional string ipv6 = 9;
        Specified by:
        getIpv6Bytes in interface OpenRtb.BidRequest.DeviceOrBuilder
        Returns:
        The bytes for ipv6.
      • setIpv6

        public OpenRtb.BidRequest.Device.Builder setIpv6​(String value)
         IPv6 address closest to device.
         
        optional string ipv6 = 9;
        Parameters:
        value - The ipv6 to set.
        Returns:
        This builder for chaining.
      • setIpv6Bytes

        public OpenRtb.BidRequest.Device.Builder setIpv6Bytes​(com.google.protobuf.ByteString value)
         IPv6 address closest to device.
         
        optional string ipv6 = 9;
        Parameters:
        value - The bytes for ipv6 to set.
        Returns:
        This builder for chaining.
      • hasDevicetype

        public boolean hasDevicetype()
         The general type of device.
         
        optional .com.google.openrtb.DeviceType devicetype = 18;
        Specified by:
        hasDevicetype in interface OpenRtb.BidRequest.DeviceOrBuilder
        Returns:
        Whether the devicetype field is set.
      • setDevicetype

        public OpenRtb.BidRequest.Device.Builder setDevicetype​(OpenRtb.DeviceType value)
         The general type of device.
         
        optional .com.google.openrtb.DeviceType devicetype = 18;
        Parameters:
        value - The devicetype to set.
        Returns:
        This builder for chaining.
      • clearDevicetype

        public OpenRtb.BidRequest.Device.Builder clearDevicetype()
         The general type of device.
         
        optional .com.google.openrtb.DeviceType devicetype = 18;
        Returns:
        This builder for chaining.
      • getMakeBytes

        public com.google.protobuf.ByteString getMakeBytes()
         Device make (e.g., "Apple").
         
        optional string make = 12;
        Specified by:
        getMakeBytes in interface OpenRtb.BidRequest.DeviceOrBuilder
        Returns:
        The bytes for make.
      • setMake

        public OpenRtb.BidRequest.Device.Builder setMake​(String value)
         Device make (e.g., "Apple").
         
        optional string make = 12;
        Parameters:
        value - The make to set.
        Returns:
        This builder for chaining.
      • setMakeBytes

        public OpenRtb.BidRequest.Device.Builder setMakeBytes​(com.google.protobuf.ByteString value)
         Device make (e.g., "Apple").
         
        optional string make = 12;
        Parameters:
        value - The bytes for make to set.
        Returns:
        This builder for chaining.
      • hasModel

        public boolean hasModel()
         Device model (e.g., "iPhone").
         
        optional string model = 13;
        Specified by:
        hasModel in interface OpenRtb.BidRequest.DeviceOrBuilder
        Returns:
        Whether the model field is set.
      • getModelBytes

        public com.google.protobuf.ByteString getModelBytes()
         Device model (e.g., "iPhone").
         
        optional string model = 13;
        Specified by:
        getModelBytes in interface OpenRtb.BidRequest.DeviceOrBuilder
        Returns:
        The bytes for model.
      • setModel

        public OpenRtb.BidRequest.Device.Builder setModel​(String value)
         Device model (e.g., "iPhone").
         
        optional string model = 13;
        Parameters:
        value - The model to set.
        Returns:
        This builder for chaining.
      • setModelBytes

        public OpenRtb.BidRequest.Device.Builder setModelBytes​(com.google.protobuf.ByteString value)
         Device model (e.g., "iPhone").
         
        optional string model = 13;
        Parameters:
        value - The bytes for model to set.
        Returns:
        This builder for chaining.
      • hasOs

        public boolean hasOs()
         Device operating system (e.g., "iOS").
         
        optional string os = 14;
        Specified by:
        hasOs in interface OpenRtb.BidRequest.DeviceOrBuilder
        Returns:
        Whether the os field is set.
      • getOsBytes

        public com.google.protobuf.ByteString getOsBytes()
         Device operating system (e.g., "iOS").
         
        optional string os = 14;
        Specified by:
        getOsBytes in interface OpenRtb.BidRequest.DeviceOrBuilder
        Returns:
        The bytes for os.
      • setOs

        public OpenRtb.BidRequest.Device.Builder setOs​(String value)
         Device operating system (e.g., "iOS").
         
        optional string os = 14;
        Parameters:
        value - The os to set.
        Returns:
        This builder for chaining.
      • setOsBytes

        public OpenRtb.BidRequest.Device.Builder setOsBytes​(com.google.protobuf.ByteString value)
         Device operating system (e.g., "iOS").
         
        optional string os = 14;
        Parameters:
        value - The bytes for os to set.
        Returns:
        This builder for chaining.
      • hasOsv

        public boolean hasOsv()
         Device operating system version (e.g., "3.1.2").
         
        optional string osv = 15;
        Specified by:
        hasOsv in interface OpenRtb.BidRequest.DeviceOrBuilder
        Returns:
        Whether the osv field is set.
      • getOsvBytes

        public com.google.protobuf.ByteString getOsvBytes()
         Device operating system version (e.g., "3.1.2").
         
        optional string osv = 15;
        Specified by:
        getOsvBytes in interface OpenRtb.BidRequest.DeviceOrBuilder
        Returns:
        The bytes for osv.
      • setOsv

        public OpenRtb.BidRequest.Device.Builder setOsv​(String value)
         Device operating system version (e.g., "3.1.2").
         
        optional string osv = 15;
        Parameters:
        value - The osv to set.
        Returns:
        This builder for chaining.
      • clearOsv

        public OpenRtb.BidRequest.Device.Builder clearOsv()
         Device operating system version (e.g., "3.1.2").
         
        optional string osv = 15;
        Returns:
        This builder for chaining.
      • setOsvBytes

        public OpenRtb.BidRequest.Device.Builder setOsvBytes​(com.google.protobuf.ByteString value)
         Device operating system version (e.g., "3.1.2").
         
        optional string osv = 15;
        Parameters:
        value - The bytes for osv to set.
        Returns:
        This builder for chaining.
      • hasHwv

        public boolean hasHwv()
         Hardware version of the device (e.g., "5S" for iPhone 5S).
         
        optional string hwv = 24;
        Specified by:
        hasHwv in interface OpenRtb.BidRequest.DeviceOrBuilder
        Returns:
        Whether the hwv field is set.
      • getHwvBytes

        public com.google.protobuf.ByteString getHwvBytes()
         Hardware version of the device (e.g., "5S" for iPhone 5S).
         
        optional string hwv = 24;
        Specified by:
        getHwvBytes in interface OpenRtb.BidRequest.DeviceOrBuilder
        Returns:
        The bytes for hwv.
      • setHwv

        public OpenRtb.BidRequest.Device.Builder setHwv​(String value)
         Hardware version of the device (e.g., "5S" for iPhone 5S).
         
        optional string hwv = 24;
        Parameters:
        value - The hwv to set.
        Returns:
        This builder for chaining.
      • clearHwv

        public OpenRtb.BidRequest.Device.Builder clearHwv()
         Hardware version of the device (e.g., "5S" for iPhone 5S).
         
        optional string hwv = 24;
        Returns:
        This builder for chaining.
      • setHwvBytes

        public OpenRtb.BidRequest.Device.Builder setHwvBytes​(com.google.protobuf.ByteString value)
         Hardware version of the device (e.g., "5S" for iPhone 5S).
         
        optional string hwv = 24;
        Parameters:
        value - The bytes for hwv to set.
        Returns:
        This builder for chaining.
      • hasW

        public boolean hasW()
         Physical width of the screen in pixels.
         
        optional int32 w = 25;
        Specified by:
        hasW in interface OpenRtb.BidRequest.DeviceOrBuilder
        Returns:
        Whether the w field is set.
      • setW

        public OpenRtb.BidRequest.Device.Builder setW​(int value)
         Physical width of the screen in pixels.
         
        optional int32 w = 25;
        Parameters:
        value - The w to set.
        Returns:
        This builder for chaining.
      • hasH

        public boolean hasH()
         Physical height of the screen in pixels.
         
        optional int32 h = 26;
        Specified by:
        hasH in interface OpenRtb.BidRequest.DeviceOrBuilder
        Returns:
        Whether the h field is set.
      • setH

        public OpenRtb.BidRequest.Device.Builder setH​(int value)
         Physical height of the screen in pixels.
         
        optional int32 h = 26;
        Parameters:
        value - The h to set.
        Returns:
        This builder for chaining.
      • hasPpi

        public boolean hasPpi()
         Screen size as pixels per linear inch.
         
        optional int32 ppi = 27;
        Specified by:
        hasPpi in interface OpenRtb.BidRequest.DeviceOrBuilder
        Returns:
        Whether the ppi field is set.
      • setPpi

        public OpenRtb.BidRequest.Device.Builder setPpi​(int value)
         Screen size as pixels per linear inch.
         
        optional int32 ppi = 27;
        Parameters:
        value - The ppi to set.
        Returns:
        This builder for chaining.
      • hasPxratio

        public boolean hasPxratio()
         The ratio of physical pixels to device independent pixels.
         
        optional double pxratio = 28;
        Specified by:
        hasPxratio in interface OpenRtb.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:
        getPxratio in interface OpenRtb.BidRequest.DeviceOrBuilder
        Returns:
        The pxratio.
      • setPxratio

        public OpenRtb.BidRequest.Device.Builder setPxratio​(double value)
         The ratio of physical pixels to device independent pixels.
         
        optional double pxratio = 28;
        Parameters:
        value - The pxratio to set.
        Returns:
        This builder for chaining.
      • clearPxratio

        public OpenRtb.BidRequest.Device.Builder clearPxratio()
         The ratio of physical pixels to device independent pixels.
         
        optional double pxratio = 28;
        Returns:
        This builder for chaining.
      • setJs

        public OpenRtb.BidRequest.Device.Builder setJs​(boolean value)
         Support for JavaScript.
         
        optional bool js = 16;
        Parameters:
        value - The js to set.
        Returns:
        This builder for chaining.
      • 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:
        hasGeofetch in interface OpenRtb.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:
        getGeofetch in interface OpenRtb.BidRequest.DeviceOrBuilder
        Returns:
        The geofetch.
      • setGeofetch

        public OpenRtb.BidRequest.Device.Builder setGeofetch​(boolean value)
         Indicates if the geolocation API will be available to JavaScript
         code running in the banner.
         
        optional bool geofetch = 29;
        Parameters:
        value - The geofetch to set.
        Returns:
        This builder for chaining.
      • clearGeofetch

        public OpenRtb.BidRequest.Device.Builder clearGeofetch()
         Indicates if the geolocation API will be available to JavaScript
         code running in the banner.
         
        optional bool geofetch = 29;
        Returns:
        This builder for chaining.
      • hasFlashver

        public boolean hasFlashver()
         Version of Flash supported by the browser.
         
        optional string flashver = 19;
        Specified by:
        hasFlashver in interface OpenRtb.BidRequest.DeviceOrBuilder
        Returns:
        Whether the flashver field is set.
      • getFlashverBytes

        public com.google.protobuf.ByteString getFlashverBytes()
         Version of Flash supported by the browser.
         
        optional string flashver = 19;
        Specified by:
        getFlashverBytes in interface OpenRtb.BidRequest.DeviceOrBuilder
        Returns:
        The bytes for flashver.
      • setFlashver

        public OpenRtb.BidRequest.Device.Builder setFlashver​(String value)
         Version of Flash supported by the browser.
         
        optional string flashver = 19;
        Parameters:
        value - The flashver to set.
        Returns:
        This builder for chaining.
      • clearFlashver

        public OpenRtb.BidRequest.Device.Builder clearFlashver()
         Version of Flash supported by the browser.
         
        optional string flashver = 19;
        Returns:
        This builder for chaining.
      • setFlashverBytes

        public OpenRtb.BidRequest.Device.Builder setFlashverBytes​(com.google.protobuf.ByteString value)
         Version of Flash supported by the browser.
         
        optional string flashver = 19;
        Parameters:
        value - The bytes for flashver to set.
        Returns:
        This builder for chaining.
      • hasLanguage

        public boolean hasLanguage()
         Browser language using ISO-639-1-alpha-2.
         
        optional string language = 11;
        Specified by:
        hasLanguage in interface OpenRtb.BidRequest.DeviceOrBuilder
        Returns:
        Whether the language field is set.
      • getLanguageBytes

        public com.google.protobuf.ByteString getLanguageBytes()
         Browser language using ISO-639-1-alpha-2.
         
        optional string language = 11;
        Specified by:
        getLanguageBytes in interface OpenRtb.BidRequest.DeviceOrBuilder
        Returns:
        The bytes for language.
      • setLanguage

        public OpenRtb.BidRequest.Device.Builder setLanguage​(String value)
         Browser language using ISO-639-1-alpha-2.
         
        optional string language = 11;
        Parameters:
        value - The language to set.
        Returns:
        This builder for chaining.
      • clearLanguage

        public OpenRtb.BidRequest.Device.Builder clearLanguage()
         Browser language using ISO-639-1-alpha-2.
         
        optional string language = 11;
        Returns:
        This builder for chaining.
      • setLanguageBytes

        public OpenRtb.BidRequest.Device.Builder setLanguageBytes​(com.google.protobuf.ByteString value)
         Browser language using ISO-639-1-alpha-2.
         
        optional string language = 11;
        Parameters:
        value - The bytes for language to set.
        Returns:
        This builder for chaining.
      • 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:
        hasCarrier in interface OpenRtb.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:
        getCarrier in interface OpenRtb.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:
        getCarrierBytes in interface OpenRtb.BidRequest.DeviceOrBuilder
        Returns:
        The bytes for carrier.
      • setCarrier

        public OpenRtb.BidRequest.Device.Builder setCarrier​(String value)
         Carrier or ISP (e.g., "VERIZON") using exchange curated string
         names which should be published to bidders a priori.
         
        optional string carrier = 10;
        Parameters:
        value - The carrier to set.
        Returns:
        This builder for chaining.
      • clearCarrier

        public OpenRtb.BidRequest.Device.Builder clearCarrier()
         Carrier or ISP (e.g., "VERIZON") using exchange curated string
         names which should be published to bidders a priori.
         
        optional string carrier = 10;
        Returns:
        This builder for chaining.
      • setCarrierBytes

        public OpenRtb.BidRequest.Device.Builder setCarrierBytes​(com.google.protobuf.ByteString value)
         Carrier or ISP (e.g., "VERIZON") using exchange curated string
         names which should be published to bidders a priori.
         
        optional string carrier = 10;
        Parameters:
        value - The bytes for carrier to set.
        Returns:
        This builder for chaining.
      • 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:
        hasMccmnc in interface OpenRtb.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:
        getMccmnc in interface OpenRtb.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:
        getMccmncBytes in interface OpenRtb.BidRequest.DeviceOrBuilder
        Returns:
        The bytes for mccmnc.
      • setMccmnc

        public OpenRtb.BidRequest.Device.Builder setMccmnc​(String value)
         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;
        Parameters:
        value - The mccmnc to set.
        Returns:
        This builder for chaining.
      • clearMccmnc

        public OpenRtb.BidRequest.Device.Builder clearMccmnc()
         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;
        Returns:
        This builder for chaining.
      • setMccmncBytes

        public OpenRtb.BidRequest.Device.Builder setMccmncBytes​(com.google.protobuf.ByteString value)
         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;
        Parameters:
        value - The bytes for mccmnc to set.
        Returns:
        This builder for chaining.
      • hasConnectiontype

        public boolean hasConnectiontype()
         Network connection type.
         
        optional .com.google.openrtb.ConnectionType connectiontype = 17;
        Specified by:
        hasConnectiontype in interface OpenRtb.BidRequest.DeviceOrBuilder
        Returns:
        Whether the connectiontype field is set.
      • setConnectiontype

        public OpenRtb.BidRequest.Device.Builder setConnectiontype​(OpenRtb.ConnectionType value)
         Network connection type.
         
        optional .com.google.openrtb.ConnectionType connectiontype = 17;
        Parameters:
        value - The connectiontype to set.
        Returns:
        This builder for chaining.
      • clearConnectiontype

        public OpenRtb.BidRequest.Device.Builder clearConnectiontype()
         Network connection type.
         
        optional .com.google.openrtb.ConnectionType connectiontype = 17;
        Returns:
        This builder for chaining.
      • hasIfa

        public boolean hasIfa()
         ID sanctioned for advertiser use in the clear (i.e., not hashed).
         
        optional string ifa = 20;
        Specified by:
        hasIfa in interface OpenRtb.BidRequest.DeviceOrBuilder
        Returns:
        Whether the ifa field is set.
      • 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:
        getIfaBytes in interface OpenRtb.BidRequest.DeviceOrBuilder
        Returns:
        The bytes for ifa.
      • setIfa

        public OpenRtb.BidRequest.Device.Builder setIfa​(String value)
         ID sanctioned for advertiser use in the clear (i.e., not hashed).
         
        optional string ifa = 20;
        Parameters:
        value - The ifa to set.
        Returns:
        This builder for chaining.
      • clearIfa

        public OpenRtb.BidRequest.Device.Builder clearIfa()
         ID sanctioned for advertiser use in the clear (i.e., not hashed).
         
        optional string ifa = 20;
        Returns:
        This builder for chaining.
      • setIfaBytes

        public OpenRtb.BidRequest.Device.Builder setIfaBytes​(com.google.protobuf.ByteString value)
         ID sanctioned for advertiser use in the clear (i.e., not hashed).
         
        optional string ifa = 20;
        Parameters:
        value - The bytes for ifa to set.
        Returns:
        This builder for chaining.
      • hasDidsha1

        public boolean hasDidsha1()
         Hardware device ID (e.g., IMEI); hashed via SHA1.
         
        optional string didsha1 = 5;
        Specified by:
        hasDidsha1 in interface OpenRtb.BidRequest.DeviceOrBuilder
        Returns:
        Whether the didsha1 field is set.
      • getDidsha1Bytes

        public com.google.protobuf.ByteString getDidsha1Bytes()
         Hardware device ID (e.g., IMEI); hashed via SHA1.
         
        optional string didsha1 = 5;
        Specified by:
        getDidsha1Bytes in interface OpenRtb.BidRequest.DeviceOrBuilder
        Returns:
        The bytes for didsha1.
      • setDidsha1

        public OpenRtb.BidRequest.Device.Builder setDidsha1​(String value)
         Hardware device ID (e.g., IMEI); hashed via SHA1.
         
        optional string didsha1 = 5;
        Parameters:
        value - The didsha1 to set.
        Returns:
        This builder for chaining.
      • clearDidsha1

        public OpenRtb.BidRequest.Device.Builder clearDidsha1()
         Hardware device ID (e.g., IMEI); hashed via SHA1.
         
        optional string didsha1 = 5;
        Returns:
        This builder for chaining.
      • setDidsha1Bytes

        public OpenRtb.BidRequest.Device.Builder setDidsha1Bytes​(com.google.protobuf.ByteString value)
         Hardware device ID (e.g., IMEI); hashed via SHA1.
         
        optional string didsha1 = 5;
        Parameters:
        value - The bytes for didsha1 to set.
        Returns:
        This builder for chaining.
      • hasDidmd5

        public boolean hasDidmd5()
         Hardware device ID (e.g., IMEI); hashed via MD5.
         
        optional string didmd5 = 6;
        Specified by:
        hasDidmd5 in interface OpenRtb.BidRequest.DeviceOrBuilder
        Returns:
        Whether the didmd5 field is set.
      • getDidmd5Bytes

        public com.google.protobuf.ByteString getDidmd5Bytes()
         Hardware device ID (e.g., IMEI); hashed via MD5.
         
        optional string didmd5 = 6;
        Specified by:
        getDidmd5Bytes in interface OpenRtb.BidRequest.DeviceOrBuilder
        Returns:
        The bytes for didmd5.
      • setDidmd5

        public OpenRtb.BidRequest.Device.Builder setDidmd5​(String value)
         Hardware device ID (e.g., IMEI); hashed via MD5.
         
        optional string didmd5 = 6;
        Parameters:
        value - The didmd5 to set.
        Returns:
        This builder for chaining.
      • clearDidmd5

        public OpenRtb.BidRequest.Device.Builder clearDidmd5()
         Hardware device ID (e.g., IMEI); hashed via MD5.
         
        optional string didmd5 = 6;
        Returns:
        This builder for chaining.
      • setDidmd5Bytes

        public OpenRtb.BidRequest.Device.Builder setDidmd5Bytes​(com.google.protobuf.ByteString value)
         Hardware device ID (e.g., IMEI); hashed via MD5.
         
        optional string didmd5 = 6;
        Parameters:
        value - The bytes for didmd5 to set.
        Returns:
        This builder for chaining.
      • hasDpidsha1

        public boolean hasDpidsha1()
         Platform device ID (e.g., Android ID); hashed via SHA1.
         
        optional string dpidsha1 = 7;
        Specified by:
        hasDpidsha1 in interface OpenRtb.BidRequest.DeviceOrBuilder
        Returns:
        Whether the dpidsha1 field is set.
      • getDpidsha1Bytes

        public com.google.protobuf.ByteString getDpidsha1Bytes()
         Platform device ID (e.g., Android ID); hashed via SHA1.
         
        optional string dpidsha1 = 7;
        Specified by:
        getDpidsha1Bytes in interface OpenRtb.BidRequest.DeviceOrBuilder
        Returns:
        The bytes for dpidsha1.
      • setDpidsha1

        public OpenRtb.BidRequest.Device.Builder setDpidsha1​(String value)
         Platform device ID (e.g., Android ID); hashed via SHA1.
         
        optional string dpidsha1 = 7;
        Parameters:
        value - The dpidsha1 to set.
        Returns:
        This builder for chaining.
      • clearDpidsha1

        public OpenRtb.BidRequest.Device.Builder clearDpidsha1()
         Platform device ID (e.g., Android ID); hashed via SHA1.
         
        optional string dpidsha1 = 7;
        Returns:
        This builder for chaining.
      • setDpidsha1Bytes

        public OpenRtb.BidRequest.Device.Builder setDpidsha1Bytes​(com.google.protobuf.ByteString value)
         Platform device ID (e.g., Android ID); hashed via SHA1.
         
        optional string dpidsha1 = 7;
        Parameters:
        value - The bytes for dpidsha1 to set.
        Returns:
        This builder for chaining.
      • hasDpidmd5

        public boolean hasDpidmd5()
         Platform device ID (e.g., Android ID); hashed via MD5.
         
        optional string dpidmd5 = 8;
        Specified by:
        hasDpidmd5 in interface OpenRtb.BidRequest.DeviceOrBuilder
        Returns:
        Whether the dpidmd5 field is set.
      • getDpidmd5Bytes

        public com.google.protobuf.ByteString getDpidmd5Bytes()
         Platform device ID (e.g., Android ID); hashed via MD5.
         
        optional string dpidmd5 = 8;
        Specified by:
        getDpidmd5Bytes in interface OpenRtb.BidRequest.DeviceOrBuilder
        Returns:
        The bytes for dpidmd5.
      • setDpidmd5

        public OpenRtb.BidRequest.Device.Builder setDpidmd5​(String value)
         Platform device ID (e.g., Android ID); hashed via MD5.
         
        optional string dpidmd5 = 8;
        Parameters:
        value - The dpidmd5 to set.
        Returns:
        This builder for chaining.
      • clearDpidmd5

        public OpenRtb.BidRequest.Device.Builder clearDpidmd5()
         Platform device ID (e.g., Android ID); hashed via MD5.
         
        optional string dpidmd5 = 8;
        Returns:
        This builder for chaining.
      • setDpidmd5Bytes

        public OpenRtb.BidRequest.Device.Builder setDpidmd5Bytes​(com.google.protobuf.ByteString value)
         Platform device ID (e.g., Android ID); hashed via MD5.
         
        optional string dpidmd5 = 8;
        Parameters:
        value - The bytes for dpidmd5 to set.
        Returns:
        This builder for chaining.
      • hasMacsha1

        public boolean hasMacsha1()
         MAC address of the device; hashed via SHA1.
         
        optional string macsha1 = 21;
        Specified by:
        hasMacsha1 in interface OpenRtb.BidRequest.DeviceOrBuilder
        Returns:
        Whether the macsha1 field is set.
      • getMacsha1Bytes

        public com.google.protobuf.ByteString getMacsha1Bytes()
         MAC address of the device; hashed via SHA1.
         
        optional string macsha1 = 21;
        Specified by:
        getMacsha1Bytes in interface OpenRtb.BidRequest.DeviceOrBuilder
        Returns:
        The bytes for macsha1.
      • setMacsha1

        public OpenRtb.BidRequest.Device.Builder setMacsha1​(String value)
         MAC address of the device; hashed via SHA1.
         
        optional string macsha1 = 21;
        Parameters:
        value - The macsha1 to set.
        Returns:
        This builder for chaining.
      • clearMacsha1

        public OpenRtb.BidRequest.Device.Builder clearMacsha1()
         MAC address of the device; hashed via SHA1.
         
        optional string macsha1 = 21;
        Returns:
        This builder for chaining.
      • setMacsha1Bytes

        public OpenRtb.BidRequest.Device.Builder setMacsha1Bytes​(com.google.protobuf.ByteString value)
         MAC address of the device; hashed via SHA1.
         
        optional string macsha1 = 21;
        Parameters:
        value - The bytes for macsha1 to set.
        Returns:
        This builder for chaining.
      • hasMacmd5

        public boolean hasMacmd5()
         MAC address of the device; hashed via MD5.
         
        optional string macmd5 = 22;
        Specified by:
        hasMacmd5 in interface OpenRtb.BidRequest.DeviceOrBuilder
        Returns:
        Whether the macmd5 field is set.
      • getMacmd5Bytes

        public com.google.protobuf.ByteString getMacmd5Bytes()
         MAC address of the device; hashed via MD5.
         
        optional string macmd5 = 22;
        Specified by:
        getMacmd5Bytes in interface OpenRtb.BidRequest.DeviceOrBuilder
        Returns:
        The bytes for macmd5.
      • setMacmd5

        public OpenRtb.BidRequest.Device.Builder setMacmd5​(String value)
         MAC address of the device; hashed via MD5.
         
        optional string macmd5 = 22;
        Parameters:
        value - The macmd5 to set.
        Returns:
        This builder for chaining.
      • clearMacmd5

        public OpenRtb.BidRequest.Device.Builder clearMacmd5()
         MAC address of the device; hashed via MD5.
         
        optional string macmd5 = 22;
        Returns:
        This builder for chaining.
      • setMacmd5Bytes

        public OpenRtb.BidRequest.Device.Builder setMacmd5Bytes​(com.google.protobuf.ByteString value)
         MAC address of the device; hashed via MD5.
         
        optional string macmd5 = 22;
        Parameters:
        value - The bytes for macmd5 to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final OpenRtb.BidRequest.Device.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<OpenRtb.BidRequest.Device.Builder>
      • mergeUnknownFields

        public final OpenRtb.BidRequest.Device.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<OpenRtb.BidRequest.Device.Builder>