Class AdxExt.DeviceExt.Builder

    • 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<AdxExt.DeviceExt.Builder>
      • clear

        public AdxExt.DeviceExt.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<AdxExt.DeviceExt.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<AdxExt.DeviceExt.Builder>
      • getDefaultInstanceForType

        public AdxExt.DeviceExt getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public AdxExt.DeviceExt build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public AdxExt.DeviceExt buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public AdxExt.DeviceExt.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<AdxExt.DeviceExt.Builder>
      • setField

        public AdxExt.DeviceExt.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                 Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<AdxExt.DeviceExt.Builder>
      • clearField

        public AdxExt.DeviceExt.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<AdxExt.DeviceExt.Builder>
      • clearOneof

        public AdxExt.DeviceExt.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AdxExt.DeviceExt.Builder>
      • setRepeatedField

        public AdxExt.DeviceExt.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                         int index,
                                                         Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AdxExt.DeviceExt.Builder>
      • addRepeatedField

        public AdxExt.DeviceExt.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                         Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AdxExt.DeviceExt.Builder>
      • mergeFrom

        public AdxExt.DeviceExt.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AdxExt.DeviceExt.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AdxExt.DeviceExt.Builder>
      • mergeFrom

        public AdxExt.DeviceExt.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<AdxExt.DeviceExt.Builder>
        Throws:
        IOException
      • hasSessionId

        public boolean hasSessionId()
         Represents a short-lived user session on CTV/OTT devices,
         with a maximum session duration of 6 hours.
         The use of session_id is never allowed for ads personalization.
         session_id may only be used for frequency capping, competitive exclusions
         or related purposes. This field is populated with web-safe base64 alphabet.
         
        optional string session_id = 1;
        Specified by:
        hasSessionId in interface AdxExt.DeviceExtOrBuilder
        Returns:
        Whether the sessionId field is set.
      • getSessionId

        public String getSessionId()
         Represents a short-lived user session on CTV/OTT devices,
         with a maximum session duration of 6 hours.
         The use of session_id is never allowed for ads personalization.
         session_id may only be used for frequency capping, competitive exclusions
         or related purposes. This field is populated with web-safe base64 alphabet.
         
        optional string session_id = 1;
        Specified by:
        getSessionId in interface AdxExt.DeviceExtOrBuilder
        Returns:
        The sessionId.
      • getSessionIdBytes

        public com.google.protobuf.ByteString getSessionIdBytes()
         Represents a short-lived user session on CTV/OTT devices,
         with a maximum session duration of 6 hours.
         The use of session_id is never allowed for ads personalization.
         session_id may only be used for frequency capping, competitive exclusions
         or related purposes. This field is populated with web-safe base64 alphabet.
         
        optional string session_id = 1;
        Specified by:
        getSessionIdBytes in interface AdxExt.DeviceExtOrBuilder
        Returns:
        The bytes for sessionId.
      • setSessionId

        public AdxExt.DeviceExt.Builder setSessionId​(String value)
         Represents a short-lived user session on CTV/OTT devices,
         with a maximum session duration of 6 hours.
         The use of session_id is never allowed for ads personalization.
         session_id may only be used for frequency capping, competitive exclusions
         or related purposes. This field is populated with web-safe base64 alphabet.
         
        optional string session_id = 1;
        Parameters:
        value - The sessionId to set.
        Returns:
        This builder for chaining.
      • clearSessionId

        public AdxExt.DeviceExt.Builder clearSessionId()
         Represents a short-lived user session on CTV/OTT devices,
         with a maximum session duration of 6 hours.
         The use of session_id is never allowed for ads personalization.
         session_id may only be used for frequency capping, competitive exclusions
         or related purposes. This field is populated with web-safe base64 alphabet.
         
        optional string session_id = 1;
        Returns:
        This builder for chaining.
      • setSessionIdBytes

        public AdxExt.DeviceExt.Builder setSessionIdBytes​(com.google.protobuf.ByteString value)
         Represents a short-lived user session on CTV/OTT devices,
         with a maximum session duration of 6 hours.
         The use of session_id is never allowed for ads personalization.
         session_id may only be used for frequency capping, competitive exclusions
         or related purposes. This field is populated with web-safe base64 alphabet.
         
        optional string session_id = 1;
        Parameters:
        value - The bytes for sessionId to set.
        Returns:
        This builder for chaining.
      • hasUserAgentData

        public boolean hasUserAgentData()
         User Agent information.
         
        optional .com.google.doubleclick.DeviceExt.UserAgent user_agent_data = 2;
        Specified by:
        hasUserAgentData in interface AdxExt.DeviceExtOrBuilder
        Returns:
        Whether the userAgentData field is set.
      • clearUserAgentData

        public AdxExt.DeviceExt.Builder clearUserAgentData()
         User Agent information.
         
        optional .com.google.doubleclick.DeviceExt.UserAgent user_agent_data = 2;
      • getUserAgentDataBuilder

        public AdxExt.DeviceExt.UserAgent.Builder getUserAgentDataBuilder()
         User Agent information.
         
        optional .com.google.doubleclick.DeviceExt.UserAgent user_agent_data = 2;
      • hasAtts

        public boolean hasAtts()
         (iOS Only) An integer passed to represent the app's app tracking
         authorization status, where 0 = not determined 1 = restricted 2 = denied
         3 = authorized. This value is retrieved from ATTrackingManager and
         provided as is. See
         https://github.com/InteractiveAdvertisingBureau/openrtb/blob/master/extensions/community_extensions/skadnetwork.md#bid-request-1
         For more information about iOS's app tracking authorization status, see:
         https://developer.apple.com/documentation/apptrackingtransparency/attrackingmanager/authorizationstatus
         
        optional int32 atts = 3;
        Specified by:
        hasAtts in interface AdxExt.DeviceExtOrBuilder
        Returns:
        Whether the atts field is set.
      • getAtts

        public int getAtts()
         (iOS Only) An integer passed to represent the app's app tracking
         authorization status, where 0 = not determined 1 = restricted 2 = denied
         3 = authorized. This value is retrieved from ATTrackingManager and
         provided as is. See
         https://github.com/InteractiveAdvertisingBureau/openrtb/blob/master/extensions/community_extensions/skadnetwork.md#bid-request-1
         For more information about iOS's app tracking authorization status, see:
         https://developer.apple.com/documentation/apptrackingtransparency/attrackingmanager/authorizationstatus
         
        optional int32 atts = 3;
        Specified by:
        getAtts in interface AdxExt.DeviceExtOrBuilder
        Returns:
        The atts.
      • setAtts

        public AdxExt.DeviceExt.Builder setAtts​(int value)
         (iOS Only) An integer passed to represent the app's app tracking
         authorization status, where 0 = not determined 1 = restricted 2 = denied
         3 = authorized. This value is retrieved from ATTrackingManager and
         provided as is. See
         https://github.com/InteractiveAdvertisingBureau/openrtb/blob/master/extensions/community_extensions/skadnetwork.md#bid-request-1
         For more information about iOS's app tracking authorization status, see:
         https://developer.apple.com/documentation/apptrackingtransparency/attrackingmanager/authorizationstatus
         
        optional int32 atts = 3;
        Parameters:
        value - The atts to set.
        Returns:
        This builder for chaining.
      • clearAtts

        public AdxExt.DeviceExt.Builder clearAtts()
         (iOS Only) An integer passed to represent the app's app tracking
         authorization status, where 0 = not determined 1 = restricted 2 = denied
         3 = authorized. This value is retrieved from ATTrackingManager and
         provided as is. See
         https://github.com/InteractiveAdvertisingBureau/openrtb/blob/master/extensions/community_extensions/skadnetwork.md#bid-request-1
         For more information about iOS's app tracking authorization status, see:
         https://developer.apple.com/documentation/apptrackingtransparency/attrackingmanager/authorizationstatus
         
        optional int32 atts = 3;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final AdxExt.DeviceExt.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<AdxExt.DeviceExt.Builder>
      • mergeUnknownFields

        public final AdxExt.DeviceExt.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<AdxExt.DeviceExt.Builder>