Class OpenRtb.BidRequest.Source.Builder

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

    public static final class OpenRtb.BidRequest.Source.Builder
    extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.BidRequest.Source,​OpenRtb.BidRequest.Source.Builder>
    implements OpenRtb.BidRequest.SourceOrBuilder
     OpenRTB 2.5: This object describes the nature and behavior of the entity
     that is the source of the bid request upstream from the exchange.
     The primary purpose of this object is to define post-auction or upstream
     decisioning when the exchange itself does not control the final decision.
     A common example of this is header bidding, but it can also apply to
     upstream server entities such as another RTB exchange, a mediation
     platform, or an ad server combines direct campaigns with 3rd party
     demand in decisioning.
     
    Protobuf type com.google.openrtb.BidRequest.Source
    • 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.Source.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.Source.Builder>
      • getDefaultInstanceForType

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

        public OpenRtb.BidRequest.Source 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.Source 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.Source,​OpenRtb.BidRequest.Source.Builder>
      • mergeFrom

        public OpenRtb.BidRequest.Source.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.Source.Builder>
        Throws:
        IOException
      • hasFd

        public boolean hasFd()
         Entity responsible for the final impression sale decision,
         where false = exchange, true = upstream source
         RECOMMENDED by the OpenRTB specification.
         
        optional bool fd = 1;
        Specified by:
        hasFd in interface OpenRtb.BidRequest.SourceOrBuilder
        Returns:
        Whether the fd field is set.
      • getFd

        public boolean getFd()
         Entity responsible for the final impression sale decision,
         where false = exchange, true = upstream source
         RECOMMENDED by the OpenRTB specification.
         
        optional bool fd = 1;
        Specified by:
        getFd in interface OpenRtb.BidRequest.SourceOrBuilder
        Returns:
        The fd.
      • setFd

        public OpenRtb.BidRequest.Source.Builder setFd​(boolean value)
         Entity responsible for the final impression sale decision,
         where false = exchange, true = upstream source
         RECOMMENDED by the OpenRTB specification.
         
        optional bool fd = 1;
        Parameters:
        value - The fd to set.
        Returns:
        This builder for chaining.
      • clearFd

        public OpenRtb.BidRequest.Source.Builder clearFd()
         Entity responsible for the final impression sale decision,
         where false = exchange, true = upstream source
         RECOMMENDED by the OpenRTB specification.
         
        optional bool fd = 1;
        Returns:
        This builder for chaining.
      • hasTid

        public boolean hasTid()
         Transaction ID that must be common across all participants in
         this bid request (e.g., potentially multiple exchanges).
         RECOMMENDED by the OpenRTB specification.
         
        optional string tid = 2;
        Specified by:
        hasTid in interface OpenRtb.BidRequest.SourceOrBuilder
        Returns:
        Whether the tid field is set.
      • getTid

        public String getTid()
         Transaction ID that must be common across all participants in
         this bid request (e.g., potentially multiple exchanges).
         RECOMMENDED by the OpenRTB specification.
         
        optional string tid = 2;
        Specified by:
        getTid in interface OpenRtb.BidRequest.SourceOrBuilder
        Returns:
        The tid.
      • getTidBytes

        public com.google.protobuf.ByteString getTidBytes()
         Transaction ID that must be common across all participants in
         this bid request (e.g., potentially multiple exchanges).
         RECOMMENDED by the OpenRTB specification.
         
        optional string tid = 2;
        Specified by:
        getTidBytes in interface OpenRtb.BidRequest.SourceOrBuilder
        Returns:
        The bytes for tid.
      • setTid

        public OpenRtb.BidRequest.Source.Builder setTid​(String value)
         Transaction ID that must be common across all participants in
         this bid request (e.g., potentially multiple exchanges).
         RECOMMENDED by the OpenRTB specification.
         
        optional string tid = 2;
        Parameters:
        value - The tid to set.
        Returns:
        This builder for chaining.
      • clearTid

        public OpenRtb.BidRequest.Source.Builder clearTid()
         Transaction ID that must be common across all participants in
         this bid request (e.g., potentially multiple exchanges).
         RECOMMENDED by the OpenRTB specification.
         
        optional string tid = 2;
        Returns:
        This builder for chaining.
      • setTidBytes

        public OpenRtb.BidRequest.Source.Builder setTidBytes​(com.google.protobuf.ByteString value)
         Transaction ID that must be common across all participants in
         this bid request (e.g., potentially multiple exchanges).
         RECOMMENDED by the OpenRTB specification.
         
        optional string tid = 2;
        Parameters:
        value - The bytes for tid to set.
        Returns:
        This builder for chaining.
      • hasPchain

        public boolean hasPchain()
         Payment ID chain string containing embedded syntax
         described in the TAG Payment ID Protocol v1.0.
         RECOMMENDED by the OpenRTB specification.
         
        optional string pchain = 3;
        Specified by:
        hasPchain in interface OpenRtb.BidRequest.SourceOrBuilder
        Returns:
        Whether the pchain field is set.
      • getPchain

        public String getPchain()
         Payment ID chain string containing embedded syntax
         described in the TAG Payment ID Protocol v1.0.
         RECOMMENDED by the OpenRTB specification.
         
        optional string pchain = 3;
        Specified by:
        getPchain in interface OpenRtb.BidRequest.SourceOrBuilder
        Returns:
        The pchain.
      • getPchainBytes

        public com.google.protobuf.ByteString getPchainBytes()
         Payment ID chain string containing embedded syntax
         described in the TAG Payment ID Protocol v1.0.
         RECOMMENDED by the OpenRTB specification.
         
        optional string pchain = 3;
        Specified by:
        getPchainBytes in interface OpenRtb.BidRequest.SourceOrBuilder
        Returns:
        The bytes for pchain.
      • setPchain

        public OpenRtb.BidRequest.Source.Builder setPchain​(String value)
         Payment ID chain string containing embedded syntax
         described in the TAG Payment ID Protocol v1.0.
         RECOMMENDED by the OpenRTB specification.
         
        optional string pchain = 3;
        Parameters:
        value - The pchain to set.
        Returns:
        This builder for chaining.
      • clearPchain

        public OpenRtb.BidRequest.Source.Builder clearPchain()
         Payment ID chain string containing embedded syntax
         described in the TAG Payment ID Protocol v1.0.
         RECOMMENDED by the OpenRTB specification.
         
        optional string pchain = 3;
        Returns:
        This builder for chaining.
      • setPchainBytes

        public OpenRtb.BidRequest.Source.Builder setPchainBytes​(com.google.protobuf.ByteString value)
         Payment ID chain string containing embedded syntax
         described in the TAG Payment ID Protocol v1.0.
         RECOMMENDED by the OpenRTB specification.
         
        optional string pchain = 3;
        Parameters:
        value - The bytes for pchain to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final OpenRtb.BidRequest.Source.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.Source.Builder>
      • mergeUnknownFields

        public final OpenRtb.BidRequest.Source.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.Source.Builder>