Package com.google.openrtb
Class OpenRtb.BidRequest.Producer
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.protobuf.GeneratedMessageV3.ExtendableMessage<OpenRtb.BidRequest.Producer>
-
- com.google.openrtb.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 typecom.google.openrtb.BidRequest.Producer- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOpenRtb.BidRequest.Producer.BuilderOpenRTB 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
-
-
Field Summary
Fields Modifier and Type Field Description static intCAT_FIELD_NUMBERstatic intDOMAIN_FIELD_NUMBERstatic intID_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic com.google.protobuf.Parser<OpenRtb.BidRequest.Producer>PARSERDeprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetCat(int index)Array of IAB content categories that describe the content producer.com.google.protobuf.ByteStringgetCatBytes(int index)Array of IAB content categories that describe the content producer.intgetCatCount()Array of IAB content categories that describe the content producer.com.google.protobuf.ProtocolStringListgetCatList()Array of IAB content categories that describe the content producer.static OpenRtb.BidRequest.ProducergetDefaultInstance()OpenRtb.BidRequest.ProducergetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetDomain()Highest level domain of the content producer (e.g., "producer.com").com.google.protobuf.ByteStringgetDomainBytes()Highest level domain of the content producer (e.g., "producer.com").StringgetId()Content producer or originator ID.com.google.protobuf.ByteStringgetIdBytes()Content producer or originator ID.StringgetName()Content producer or originator name (e.g., "Warner Bros").com.google.protobuf.ByteStringgetNameBytes()Content producer or originator name (e.g., "Warner Bros").com.google.protobuf.Parser<OpenRtb.BidRequest.Producer>getParserForType()intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasDomain()Highest level domain of the content producer (e.g., "producer.com").inthashCode()booleanhasId()Content producer or originator ID.booleanhasName()Content producer or originator name (e.g., "Warner Bros").protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static OpenRtb.BidRequest.Producer.BuildernewBuilder()static OpenRtb.BidRequest.Producer.BuildernewBuilder(OpenRtb.BidRequest.Producer prototype)OpenRtb.BidRequest.Producer.BuildernewBuilderForType()protected OpenRtb.BidRequest.Producer.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static OpenRtb.BidRequest.ProducerparseDelimitedFrom(InputStream input)static OpenRtb.BidRequest.ProducerparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OpenRtb.BidRequest.ProducerparseFrom(byte[] data)static OpenRtb.BidRequest.ProducerparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OpenRtb.BidRequest.ProducerparseFrom(com.google.protobuf.ByteString data)static OpenRtb.BidRequest.ProducerparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OpenRtb.BidRequest.ProducerparseFrom(com.google.protobuf.CodedInputStream input)static OpenRtb.BidRequest.ProducerparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OpenRtb.BidRequest.ProducerparseFrom(InputStream input)static OpenRtb.BidRequest.ProducerparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OpenRtb.BidRequest.ProducerparseFrom(ByteBuffer data)static OpenRtb.BidRequest.ProducerparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<OpenRtb.BidRequest.Producer>parser()OpenRtb.BidRequest.Producer.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.ExtendableMessage
extensionsAreInitialized, extensionsSerializedSize, extensionsSerializedSizeAsMessageSet, getAllFields, getAllFieldsRaw, getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, getExtensionFields, getField, getRepeatedField, getRepeatedFieldCount, hasExtension, hasExtension, hasExtension, hasField, makeExtensionsImmutable, newExtensionWriter, newMessageSetExtensionWriter, parseUnknownField, parseUnknownFieldProto3
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getDescriptorForType, getOneofFieldDescriptor, hasOneof, internalGetMapField, isStringEmpty, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder
getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, hasExtension, hasExtension, hasExtension
-
-
-
-
Field Detail
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CAT_FIELD_NUMBER
public static final int CAT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DOMAIN_FIELD_NUMBER
public static final int DOMAIN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<OpenRtb.BidRequest.Producer> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.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:
hasIdin interfaceOpenRtb.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:
getIdin interfaceOpenRtb.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:
getIdBytesin interfaceOpenRtb.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:
hasNamein interfaceOpenRtb.BidRequest.ProducerOrBuilder- Returns:
- Whether the name field is set.
-
getName
public String getName()
Content producer or originator name (e.g., "Warner Bros").
optional string name = 2;- Specified by:
getNamein interfaceOpenRtb.BidRequest.ProducerOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Content producer or originator name (e.g., "Warner Bros").
optional string name = 2;- Specified by:
getNameBytesin interfaceOpenRtb.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:
getCatListin interfaceOpenRtb.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:
getCatCountin interfaceOpenRtb.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:
getCatin interfaceOpenRtb.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:
getCatBytesin interfaceOpenRtb.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:
hasDomainin interfaceOpenRtb.BidRequest.ProducerOrBuilder- Returns:
- Whether the domain field is set.
-
getDomain
public String getDomain()
Highest level domain of the content producer (e.g., "producer.com").
optional string domain = 4;- Specified by:
getDomainin interfaceOpenRtb.BidRequest.ProducerOrBuilder- Returns:
- The domain.
-
getDomainBytes
public com.google.protobuf.ByteString getDomainBytes()
Highest level domain of the content producer (e.g., "producer.com").
optional string domain = 4;- Specified by:
getDomainBytesin interfaceOpenRtb.BidRequest.ProducerOrBuilder- Returns:
- The bytes for domain.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.ExtendableMessage<OpenRtb.BidRequest.Producer>
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
-
parseFrom
public static OpenRtb.BidRequest.Producer parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static OpenRtb.BidRequest.Producer parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static OpenRtb.BidRequest.Producer parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static OpenRtb.BidRequest.Producer parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static OpenRtb.BidRequest.Producer parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static OpenRtb.BidRequest.Producer parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public OpenRtb.BidRequest.Producer.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static OpenRtb.BidRequest.Producer.Builder newBuilder()
-
newBuilder
public static OpenRtb.BidRequest.Producer.Builder newBuilder(OpenRtb.BidRequest.Producer prototype)
-
toBuilder
public OpenRtb.BidRequest.Producer.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected OpenRtb.BidRequest.Producer.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static OpenRtb.BidRequest.Producer getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<OpenRtb.BidRequest.Producer> parser()
-
getParserForType
public com.google.protobuf.Parser<OpenRtb.BidRequest.Producer> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public OpenRtb.BidRequest.Producer getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<OpenRtb.BidRequest.Producer>- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-