Package com.google.openrtb
Class OpenRtb.BidRequest.Publisher
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.protobuf.GeneratedMessageV3.ExtendableMessage<OpenRtb.BidRequest.Publisher>
-
- com.google.openrtb.OpenRtb.BidRequest.Publisher
-
- All Implemented Interfaces:
OpenRtb.BidRequest.PublisherOrBuilder,com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<OpenRtb.BidRequest.Publisher>,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.Publisher extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<OpenRtb.BidRequest.Publisher> implements OpenRtb.BidRequest.PublisherOrBuilder
OpenRTB 2.0: This object describes the publisher of the media in which the ad will be displayed. The publisher is typically the seller in an OpenRTB transaction.
Protobuf typecom.google.openrtb.BidRequest.Publisher- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOpenRtb.BidRequest.Publisher.BuilderOpenRTB 2.0: This object describes the publisher of the media in which the ad will be displayed.-
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.Publisher>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 publisher.com.google.protobuf.ByteStringgetCatBytes(int index)Array of IAB content categories that describe the publisher.intgetCatCount()Array of IAB content categories that describe the publisher.com.google.protobuf.ProtocolStringListgetCatList()Array of IAB content categories that describe the publisher.static OpenRtb.BidRequest.PublishergetDefaultInstance()OpenRtb.BidRequest.PublishergetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetDomain()Highest level domain of the publisher (e.g., "publisher.com").com.google.protobuf.ByteStringgetDomainBytes()Highest level domain of the publisher (e.g., "publisher.com").StringgetId()Exchange-specific publisher ID.com.google.protobuf.ByteStringgetIdBytes()Exchange-specific publisher ID.StringgetName()Publisher name (may be aliased at publisher's request).com.google.protobuf.ByteStringgetNameBytes()Publisher name (may be aliased at publisher's request).com.google.protobuf.Parser<OpenRtb.BidRequest.Publisher>getParserForType()intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasDomain()Highest level domain of the publisher (e.g., "publisher.com").inthashCode()booleanhasId()Exchange-specific publisher ID.booleanhasName()Publisher name (may be aliased at publisher's request).protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static OpenRtb.BidRequest.Publisher.BuildernewBuilder()static OpenRtb.BidRequest.Publisher.BuildernewBuilder(OpenRtb.BidRequest.Publisher prototype)OpenRtb.BidRequest.Publisher.BuildernewBuilderForType()protected OpenRtb.BidRequest.Publisher.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static OpenRtb.BidRequest.PublisherparseDelimitedFrom(InputStream input)static OpenRtb.BidRequest.PublisherparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OpenRtb.BidRequest.PublisherparseFrom(byte[] data)static OpenRtb.BidRequest.PublisherparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OpenRtb.BidRequest.PublisherparseFrom(com.google.protobuf.ByteString data)static OpenRtb.BidRequest.PublisherparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OpenRtb.BidRequest.PublisherparseFrom(com.google.protobuf.CodedInputStream input)static OpenRtb.BidRequest.PublisherparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OpenRtb.BidRequest.PublisherparseFrom(InputStream input)static OpenRtb.BidRequest.PublisherparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OpenRtb.BidRequest.PublisherparseFrom(ByteBuffer data)static OpenRtb.BidRequest.PublisherparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<OpenRtb.BidRequest.Publisher>parser()OpenRtb.BidRequest.Publisher.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.Publisher> 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()
Exchange-specific publisher ID.
optional string id = 1;- Specified by:
hasIdin interfaceOpenRtb.BidRequest.PublisherOrBuilder- Returns:
- Whether the id field is set.
-
getId
public String getId()
Exchange-specific publisher ID.
optional string id = 1;- Specified by:
getIdin interfaceOpenRtb.BidRequest.PublisherOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
Exchange-specific publisher ID.
optional string id = 1;- Specified by:
getIdBytesin interfaceOpenRtb.BidRequest.PublisherOrBuilder- Returns:
- The bytes for id.
-
hasName
public boolean hasName()
Publisher name (may be aliased at publisher's request).
optional string name = 2;- Specified by:
hasNamein interfaceOpenRtb.BidRequest.PublisherOrBuilder- Returns:
- Whether the name field is set.
-
getName
public String getName()
Publisher name (may be aliased at publisher's request).
optional string name = 2;- Specified by:
getNamein interfaceOpenRtb.BidRequest.PublisherOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Publisher name (may be aliased at publisher's request).
optional string name = 2;- Specified by:
getNameBytesin interfaceOpenRtb.BidRequest.PublisherOrBuilder- Returns:
- The bytes for name.
-
getCatList
public com.google.protobuf.ProtocolStringList getCatList()
Array of IAB content categories that describe the publisher. See enum ContentCategory.
repeated string cat = 3;- Specified by:
getCatListin interfaceOpenRtb.BidRequest.PublisherOrBuilder- Returns:
- A list containing the cat.
-
getCatCount
public int getCatCount()
Array of IAB content categories that describe the publisher. See enum ContentCategory.
repeated string cat = 3;- Specified by:
getCatCountin interfaceOpenRtb.BidRequest.PublisherOrBuilder- Returns:
- The count of cat.
-
getCat
public String getCat(int index)
Array of IAB content categories that describe the publisher. See enum ContentCategory.
repeated string cat = 3;- Specified by:
getCatin interfaceOpenRtb.BidRequest.PublisherOrBuilder- 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 publisher. See enum ContentCategory.
repeated string cat = 3;- Specified by:
getCatBytesin interfaceOpenRtb.BidRequest.PublisherOrBuilder- 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 publisher (e.g., "publisher.com").
optional string domain = 4;- Specified by:
hasDomainin interfaceOpenRtb.BidRequest.PublisherOrBuilder- Returns:
- Whether the domain field is set.
-
getDomain
public String getDomain()
Highest level domain of the publisher (e.g., "publisher.com").
optional string domain = 4;- Specified by:
getDomainin interfaceOpenRtb.BidRequest.PublisherOrBuilder- Returns:
- The domain.
-
getDomainBytes
public com.google.protobuf.ByteString getDomainBytes()
Highest level domain of the publisher (e.g., "publisher.com").
optional string domain = 4;- Specified by:
getDomainBytesin interfaceOpenRtb.BidRequest.PublisherOrBuilder- 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.Publisher>
-
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.Publisher parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpenRtb.BidRequest.Publisher parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpenRtb.BidRequest.Publisher parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpenRtb.BidRequest.Publisher 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.Publisher parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpenRtb.BidRequest.Publisher parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpenRtb.BidRequest.Publisher parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static OpenRtb.BidRequest.Publisher parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static OpenRtb.BidRequest.Publisher parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static OpenRtb.BidRequest.Publisher parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static OpenRtb.BidRequest.Publisher parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static OpenRtb.BidRequest.Publisher parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public OpenRtb.BidRequest.Publisher.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static OpenRtb.BidRequest.Publisher.Builder newBuilder()
-
newBuilder
public static OpenRtb.BidRequest.Publisher.Builder newBuilder(OpenRtb.BidRequest.Publisher prototype)
-
toBuilder
public OpenRtb.BidRequest.Publisher.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected OpenRtb.BidRequest.Publisher.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static OpenRtb.BidRequest.Publisher getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<OpenRtb.BidRequest.Publisher> parser()
-
getParserForType
public com.google.protobuf.Parser<OpenRtb.BidRequest.Publisher> 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.Publisher getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<OpenRtb.BidRequest.Publisher>- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-