Class OpenRtb.BidRequest.Producer.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<OpenRtb.BidRequest.Producer.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.Producer.Builder>
      • getDefaultInstanceForType

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

        public OpenRtb.BidRequest.Producer 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.Producer buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • mergeFrom

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

        public boolean hasId()
         Content producer or originator ID. Useful if content is syndicated,
         and may be posted on a site using embed tags.
         
        optional string id = 1;
        Specified by:
        hasId in interface OpenRtb.BidRequest.ProducerOrBuilder
        Returns:
        Whether the id field is set.
      • getId

        public String getId()
         Content producer or originator ID. Useful if content is syndicated,
         and may be posted on a site using embed tags.
         
        optional string id = 1;
        Specified by:
        getId in interface OpenRtb.BidRequest.ProducerOrBuilder
        Returns:
        The id.
      • getIdBytes

        public com.google.protobuf.ByteString getIdBytes()
         Content producer or originator ID. Useful if content is syndicated,
         and may be posted on a site using embed tags.
         
        optional string id = 1;
        Specified by:
        getIdBytes in interface OpenRtb.BidRequest.ProducerOrBuilder
        Returns:
        The bytes for id.
      • setId

        public OpenRtb.BidRequest.Producer.Builder setId​(String value)
         Content producer or originator ID. Useful if content is syndicated,
         and may be posted on a site using embed tags.
         
        optional string id = 1;
        Parameters:
        value - The id to set.
        Returns:
        This builder for chaining.
      • clearId

        public OpenRtb.BidRequest.Producer.Builder clearId()
         Content producer or originator ID. Useful if content is syndicated,
         and may be posted on a site using embed tags.
         
        optional string id = 1;
        Returns:
        This builder for chaining.
      • setIdBytes

        public OpenRtb.BidRequest.Producer.Builder setIdBytes​(com.google.protobuf.ByteString value)
         Content producer or originator ID. Useful if content is syndicated,
         and may be posted on a site using embed tags.
         
        optional string id = 1;
        Parameters:
        value - The bytes for id to set.
        Returns:
        This builder for chaining.
      • hasName

        public boolean hasName()
         Content producer or originator name (e.g., "Warner Bros").
         
        optional string name = 2;
        Specified by:
        hasName in interface OpenRtb.BidRequest.ProducerOrBuilder
        Returns:
        Whether the name field is set.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Content producer or originator name (e.g., "Warner Bros").
         
        optional string name = 2;
        Specified by:
        getNameBytes in interface OpenRtb.BidRequest.ProducerOrBuilder
        Returns:
        The bytes for name.
      • setName

        public OpenRtb.BidRequest.Producer.Builder setName​(String value)
         Content producer or originator name (e.g., "Warner Bros").
         
        optional string name = 2;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public OpenRtb.BidRequest.Producer.Builder clearName()
         Content producer or originator name (e.g., "Warner Bros").
         
        optional string name = 2;
        Returns:
        This builder for chaining.
      • setNameBytes

        public OpenRtb.BidRequest.Producer.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Content producer or originator name (e.g., "Warner Bros").
         
        optional string name = 2;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getCatList

        public com.google.protobuf.ProtocolStringList getCatList()
         Array of IAB content categories that describe the content producer.
         See enum ContentCategory.
         
        repeated string cat = 3;
        Specified by:
        getCatList in interface OpenRtb.BidRequest.ProducerOrBuilder
        Returns:
        A list containing the cat.
      • getCatCount

        public int getCatCount()
         Array of IAB content categories that describe the content producer.
         See enum ContentCategory.
         
        repeated string cat = 3;
        Specified by:
        getCatCount in interface OpenRtb.BidRequest.ProducerOrBuilder
        Returns:
        The count of cat.
      • getCat

        public String getCat​(int index)
         Array of IAB content categories that describe the content producer.
         See enum ContentCategory.
         
        repeated string cat = 3;
        Specified by:
        getCat in interface OpenRtb.BidRequest.ProducerOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The cat at the given index.
      • getCatBytes

        public com.google.protobuf.ByteString getCatBytes​(int index)
         Array of IAB content categories that describe the content producer.
         See enum ContentCategory.
         
        repeated string cat = 3;
        Specified by:
        getCatBytes in interface OpenRtb.BidRequest.ProducerOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the cat at the given index.
      • setCat

        public OpenRtb.BidRequest.Producer.Builder setCat​(int index,
                                                          String value)
         Array of IAB content categories that describe the content producer.
         See enum ContentCategory.
         
        repeated string cat = 3;
        Parameters:
        index - The index to set the value at.
        value - The cat to set.
        Returns:
        This builder for chaining.
      • addCat

        public OpenRtb.BidRequest.Producer.Builder addCat​(String value)
         Array of IAB content categories that describe the content producer.
         See enum ContentCategory.
         
        repeated string cat = 3;
        Parameters:
        value - The cat to add.
        Returns:
        This builder for chaining.
      • addAllCat

        public OpenRtb.BidRequest.Producer.Builder addAllCat​(Iterable<String> values)
         Array of IAB content categories that describe the content producer.
         See enum ContentCategory.
         
        repeated string cat = 3;
        Parameters:
        values - The cat to add.
        Returns:
        This builder for chaining.
      • clearCat

        public OpenRtb.BidRequest.Producer.Builder clearCat()
         Array of IAB content categories that describe the content producer.
         See enum ContentCategory.
         
        repeated string cat = 3;
        Returns:
        This builder for chaining.
      • addCatBytes

        public OpenRtb.BidRequest.Producer.Builder addCatBytes​(com.google.protobuf.ByteString value)
         Array of IAB content categories that describe the content producer.
         See enum ContentCategory.
         
        repeated string cat = 3;
        Parameters:
        value - The bytes of the cat to add.
        Returns:
        This builder for chaining.
      • hasDomain

        public boolean hasDomain()
         Highest level domain of the content producer (e.g., "producer.com").
         
        optional string domain = 4;
        Specified by:
        hasDomain in interface OpenRtb.BidRequest.ProducerOrBuilder
        Returns:
        Whether the domain field is set.
      • getDomainBytes

        public com.google.protobuf.ByteString getDomainBytes()
         Highest level domain of the content producer (e.g., "producer.com").
         
        optional string domain = 4;
        Specified by:
        getDomainBytes in interface OpenRtb.BidRequest.ProducerOrBuilder
        Returns:
        The bytes for domain.
      • setDomain

        public OpenRtb.BidRequest.Producer.Builder setDomain​(String value)
         Highest level domain of the content producer (e.g., "producer.com").
         
        optional string domain = 4;
        Parameters:
        value - The domain to set.
        Returns:
        This builder for chaining.
      • clearDomain

        public OpenRtb.BidRequest.Producer.Builder clearDomain()
         Highest level domain of the content producer (e.g., "producer.com").
         
        optional string domain = 4;
        Returns:
        This builder for chaining.
      • setDomainBytes

        public OpenRtb.BidRequest.Producer.Builder setDomainBytes​(com.google.protobuf.ByteString value)
         Highest level domain of the content producer (e.g., "producer.com").
         
        optional string domain = 4;
        Parameters:
        value - The bytes for domain to set.
        Returns:
        This builder for chaining.
      • mergeUnknownFields

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