Class OpenRtb.BidRequest.Producer

  • All Implemented Interfaces:
    OpenRtb.BidRequest.ProducerOrBuilder, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<OpenRtb.BidRequest.Producer>, 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.Producer
    extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<OpenRtb.BidRequest.Producer>
    implements OpenRtb.BidRequest.ProducerOrBuilder
     OpenRTB 2.0: This object defines the producer of the content in which
     the ad will be shown. This is particularly useful when the content is
     syndicated and may be distributed through different publishers and thus
     when the producer and publisher are not necessarily the same entity.
     
    Protobuf type com.google.openrtb.BidRequest.Producer
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  OpenRtb.BidRequest.Producer.Builder
      OpenRTB 2.0: This object defines the producer of the content in which the ad will be shown.
      • 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
      • Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

        com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int CAT_FIELD_NUMBER  
      static int DOMAIN_FIELD_NUMBER  
      static int ID_FIELD_NUMBER  
      static int NAME_FIELD_NUMBER  
      static com.google.protobuf.Parser<OpenRtb.BidRequest.Producer> PARSER
      Deprecated.
      • Fields inherited from class com.google.protobuf.GeneratedMessageV3

        alwaysUseFieldBuilders, unknownFields
      • Fields inherited from class com.google.protobuf.AbstractMessage

        memoizedSize
      • Fields inherited from class com.google.protobuf.AbstractMessageLite

        memoizedHashCode
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields in class com.google.protobuf.GeneratedMessageV3
      • 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
      • 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.
      • 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.
      • 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.
      • 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.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.ExtendableMessage<OpenRtb.BidRequest.Producer>
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static OpenRtb.BidRequest.Producer parseFrom​(ByteBuffer data)
                                                     throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static OpenRtb.BidRequest.Producer parseFrom​(ByteBuffer data,
                                                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                     throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static OpenRtb.BidRequest.Producer parseFrom​(com.google.protobuf.ByteString data)
                                                     throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static OpenRtb.BidRequest.Producer 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.Producer parseFrom​(byte[] data)
                                                     throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static OpenRtb.BidRequest.Producer parseFrom​(byte[] data,
                                                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                     throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • newBuilderForType

        public OpenRtb.BidRequest.Producer.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public OpenRtb.BidRequest.Producer.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected OpenRtb.BidRequest.Producer.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<OpenRtb.BidRequest.Producer> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • 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