Package com.google.openrtb
Class OpenRtb.BidRequest.Site
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.protobuf.GeneratedMessageV3.ExtendableMessage<OpenRtb.BidRequest.Site>
-
- com.google.openrtb.OpenRtb.BidRequest.Site
-
- All Implemented Interfaces:
OpenRtb.BidRequest.SiteOrBuilder,com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<OpenRtb.BidRequest.Site>,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.Site extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<OpenRtb.BidRequest.Site> implements OpenRtb.BidRequest.SiteOrBuilder
OpenRTB 2.0: This object should be included if the ad supported content is a website as opposed to a non-browser application. A bid request must not contain both a Site and an App object. At a minimum, it is useful to provide a site ID or page URL, but this is not strictly required.
Protobuf typecom.google.openrtb.BidRequest.Site- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOpenRtb.BidRequest.Site.BuilderOpenRTB 2.0: This object should be included if the ad supported content is a website as opposed to a non-browser application.-
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 intCONTENT_FIELD_NUMBERstatic intDOMAIN_FIELD_NUMBERstatic intID_FIELD_NUMBERstatic intKEYWORDS_FIELD_NUMBERstatic intMOBILE_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intPAGE_FIELD_NUMBERstatic intPAGECAT_FIELD_NUMBERstatic com.google.protobuf.Parser<OpenRtb.BidRequest.Site>PARSERDeprecated.static intPRIVACYPOLICY_FIELD_NUMBERstatic intPUBLISHER_FIELD_NUMBERstatic intREF_FIELD_NUMBERstatic intSEARCH_FIELD_NUMBERstatic intSECTIONCAT_FIELD_NUMBER
-
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 of the site.com.google.protobuf.ByteStringgetCatBytes(int index)Array of IAB content categories of the site.intgetCatCount()Array of IAB content categories of the site.com.google.protobuf.ProtocolStringListgetCatList()Array of IAB content categories of the site.OpenRtb.BidRequest.ContentgetContent()Details about the Content (Section 3.2.9) within the site.OpenRtb.BidRequest.ContentOrBuildergetContentOrBuilder()Details about the Content (Section 3.2.9) within the site.static OpenRtb.BidRequest.SitegetDefaultInstance()OpenRtb.BidRequest.SitegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetDomain()Domain of the site, used for advertiser side blocking.com.google.protobuf.ByteStringgetDomainBytes()Domain of the site, used for advertiser side blocking.StringgetId()Site ID on the exchange.com.google.protobuf.ByteStringgetIdBytes()Site ID on the exchange.StringgetKeywords()Comma separated list of keywords about this site.com.google.protobuf.ByteStringgetKeywordsBytes()Comma separated list of keywords about this site.booleangetMobile()Indicates if the site has been programmed to optimize layout when viewed on mobile devices.StringgetName()Site name (may be masked at publisher's request).com.google.protobuf.ByteStringgetNameBytes()Site name (may be masked at publisher's request).StringgetPage()URL of the page where the impression will be shown.com.google.protobuf.ByteStringgetPageBytes()URL of the page where the impression will be shown.StringgetPagecat(int index)Array of IAB content categories that describe the current page or view of the site.com.google.protobuf.ByteStringgetPagecatBytes(int index)Array of IAB content categories that describe the current page or view of the site.intgetPagecatCount()Array of IAB content categories that describe the current page or view of the site.com.google.protobuf.ProtocolStringListgetPagecatList()Array of IAB content categories that describe the current page or view of the site.com.google.protobuf.Parser<OpenRtb.BidRequest.Site>getParserForType()booleangetPrivacypolicy()Indicates if the site has a privacy policy.OpenRtb.BidRequest.PublishergetPublisher()Details about the Publisher (Section 3.2.8) of the site.OpenRtb.BidRequest.PublisherOrBuildergetPublisherOrBuilder()Details about the Publisher (Section 3.2.8) of the site.StringgetRef()Referrer URL that caused navigation to the current page.com.google.protobuf.ByteStringgetRefBytes()Referrer URL that caused navigation to the current page.StringgetSearch()Search string that caused navigation to the current page.com.google.protobuf.ByteStringgetSearchBytes()Search string that caused navigation to the current page.StringgetSectioncat(int index)Array of IAB content categories that describe the current section of the site.com.google.protobuf.ByteStringgetSectioncatBytes(int index)Array of IAB content categories that describe the current section of the site.intgetSectioncatCount()Array of IAB content categories that describe the current section of the site.com.google.protobuf.ProtocolStringListgetSectioncatList()Array of IAB content categories that describe the current section of the site.intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasContent()Details about the Content (Section 3.2.9) within the site.booleanhasDomain()Domain of the site, used for advertiser side blocking.inthashCode()booleanhasId()Site ID on the exchange.booleanhasKeywords()Comma separated list of keywords about this site.booleanhasMobile()Indicates if the site has been programmed to optimize layout when viewed on mobile devices.booleanhasName()Site name (may be masked at publisher's request).booleanhasPage()URL of the page where the impression will be shown.booleanhasPrivacypolicy()Indicates if the site has a privacy policy.booleanhasPublisher()Details about the Publisher (Section 3.2.8) of the site.booleanhasRef()Referrer URL that caused navigation to the current page.booleanhasSearch()Search string that caused navigation to the current page.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static OpenRtb.BidRequest.Site.BuildernewBuilder()static OpenRtb.BidRequest.Site.BuildernewBuilder(OpenRtb.BidRequest.Site prototype)OpenRtb.BidRequest.Site.BuildernewBuilderForType()protected OpenRtb.BidRequest.Site.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static OpenRtb.BidRequest.SiteparseDelimitedFrom(InputStream input)static OpenRtb.BidRequest.SiteparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OpenRtb.BidRequest.SiteparseFrom(byte[] data)static OpenRtb.BidRequest.SiteparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OpenRtb.BidRequest.SiteparseFrom(com.google.protobuf.ByteString data)static OpenRtb.BidRequest.SiteparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OpenRtb.BidRequest.SiteparseFrom(com.google.protobuf.CodedInputStream input)static OpenRtb.BidRequest.SiteparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OpenRtb.BidRequest.SiteparseFrom(InputStream input)static OpenRtb.BidRequest.SiteparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OpenRtb.BidRequest.SiteparseFrom(ByteBuffer data)static OpenRtb.BidRequest.SiteparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<OpenRtb.BidRequest.Site>parser()OpenRtb.BidRequest.Site.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
-
DOMAIN_FIELD_NUMBER
public static final int DOMAIN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CAT_FIELD_NUMBER
public static final int CAT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SECTIONCAT_FIELD_NUMBER
public static final int SECTIONCAT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PAGECAT_FIELD_NUMBER
public static final int PAGECAT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PAGE_FIELD_NUMBER
public static final int PAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRIVACYPOLICY_FIELD_NUMBER
public static final int PRIVACYPOLICY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REF_FIELD_NUMBER
public static final int REF_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SEARCH_FIELD_NUMBER
public static final int SEARCH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PUBLISHER_FIELD_NUMBER
public static final int PUBLISHER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONTENT_FIELD_NUMBER
public static final int CONTENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
KEYWORDS_FIELD_NUMBER
public static final int KEYWORDS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MOBILE_FIELD_NUMBER
public static final int MOBILE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<OpenRtb.BidRequest.Site> 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()
Site ID on the exchange. RECOMMENDED by the OpenRTB specification.
optional string id = 1;- Specified by:
hasIdin interfaceOpenRtb.BidRequest.SiteOrBuilder- Returns:
- Whether the id field is set.
-
getId
public String getId()
Site ID on the exchange. RECOMMENDED by the OpenRTB specification.
optional string id = 1;- Specified by:
getIdin interfaceOpenRtb.BidRequest.SiteOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
Site ID on the exchange. RECOMMENDED by the OpenRTB specification.
optional string id = 1;- Specified by:
getIdBytesin interfaceOpenRtb.BidRequest.SiteOrBuilder- Returns:
- The bytes for id.
-
hasName
public boolean hasName()
Site name (may be masked at publisher's request).
optional string name = 2;- Specified by:
hasNamein interfaceOpenRtb.BidRequest.SiteOrBuilder- Returns:
- Whether the name field is set.
-
getName
public String getName()
Site name (may be masked at publisher's request).
optional string name = 2;- Specified by:
getNamein interfaceOpenRtb.BidRequest.SiteOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Site name (may be masked at publisher's request).
optional string name = 2;- Specified by:
getNameBytesin interfaceOpenRtb.BidRequest.SiteOrBuilder- Returns:
- The bytes for name.
-
hasDomain
public boolean hasDomain()
Domain of the site, used for advertiser side blocking. For example, "foo.com".
optional string domain = 3;- Specified by:
hasDomainin interfaceOpenRtb.BidRequest.SiteOrBuilder- Returns:
- Whether the domain field is set.
-
getDomain
public String getDomain()
Domain of the site, used for advertiser side blocking. For example, "foo.com".
optional string domain = 3;- Specified by:
getDomainin interfaceOpenRtb.BidRequest.SiteOrBuilder- Returns:
- The domain.
-
getDomainBytes
public com.google.protobuf.ByteString getDomainBytes()
Domain of the site, used for advertiser side blocking. For example, "foo.com".
optional string domain = 3;- Specified by:
getDomainBytesin interfaceOpenRtb.BidRequest.SiteOrBuilder- Returns:
- The bytes for domain.
-
getCatList
public com.google.protobuf.ProtocolStringList getCatList()
Array of IAB content categories of the site. See enum ContentCategory.
repeated string cat = 4;- Specified by:
getCatListin interfaceOpenRtb.BidRequest.SiteOrBuilder- Returns:
- A list containing the cat.
-
getCatCount
public int getCatCount()
Array of IAB content categories of the site. See enum ContentCategory.
repeated string cat = 4;- Specified by:
getCatCountin interfaceOpenRtb.BidRequest.SiteOrBuilder- Returns:
- The count of cat.
-
getCat
public String getCat(int index)
Array of IAB content categories of the site. See enum ContentCategory.
repeated string cat = 4;- Specified by:
getCatin interfaceOpenRtb.BidRequest.SiteOrBuilder- 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 of the site. See enum ContentCategory.
repeated string cat = 4;- Specified by:
getCatBytesin interfaceOpenRtb.BidRequest.SiteOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the cat at the given index.
-
getSectioncatList
public com.google.protobuf.ProtocolStringList getSectioncatList()
Array of IAB content categories that describe the current section of the site. See enum ContentCategory.
repeated string sectioncat = 5;- Specified by:
getSectioncatListin interfaceOpenRtb.BidRequest.SiteOrBuilder- Returns:
- A list containing the sectioncat.
-
getSectioncatCount
public int getSectioncatCount()
Array of IAB content categories that describe the current section of the site. See enum ContentCategory.
repeated string sectioncat = 5;- Specified by:
getSectioncatCountin interfaceOpenRtb.BidRequest.SiteOrBuilder- Returns:
- The count of sectioncat.
-
getSectioncat
public String getSectioncat(int index)
Array of IAB content categories that describe the current section of the site. See enum ContentCategory.
repeated string sectioncat = 5;- Specified by:
getSectioncatin interfaceOpenRtb.BidRequest.SiteOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The sectioncat at the given index.
-
getSectioncatBytes
public com.google.protobuf.ByteString getSectioncatBytes(int index)
Array of IAB content categories that describe the current section of the site. See enum ContentCategory.
repeated string sectioncat = 5;- Specified by:
getSectioncatBytesin interfaceOpenRtb.BidRequest.SiteOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the sectioncat at the given index.
-
getPagecatList
public com.google.protobuf.ProtocolStringList getPagecatList()
Array of IAB content categories that describe the current page or view of the site. See enum ContentCategory.
repeated string pagecat = 6;- Specified by:
getPagecatListin interfaceOpenRtb.BidRequest.SiteOrBuilder- Returns:
- A list containing the pagecat.
-
getPagecatCount
public int getPagecatCount()
Array of IAB content categories that describe the current page or view of the site. See enum ContentCategory.
repeated string pagecat = 6;- Specified by:
getPagecatCountin interfaceOpenRtb.BidRequest.SiteOrBuilder- Returns:
- The count of pagecat.
-
getPagecat
public String getPagecat(int index)
Array of IAB content categories that describe the current page or view of the site. See enum ContentCategory.
repeated string pagecat = 6;- Specified by:
getPagecatin interfaceOpenRtb.BidRequest.SiteOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The pagecat at the given index.
-
getPagecatBytes
public com.google.protobuf.ByteString getPagecatBytes(int index)
Array of IAB content categories that describe the current page or view of the site. See enum ContentCategory.
repeated string pagecat = 6;- Specified by:
getPagecatBytesin interfaceOpenRtb.BidRequest.SiteOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the pagecat at the given index.
-
hasPage
public boolean hasPage()
URL of the page where the impression will be shown.
optional string page = 7;- Specified by:
hasPagein interfaceOpenRtb.BidRequest.SiteOrBuilder- Returns:
- Whether the page field is set.
-
getPage
public String getPage()
URL of the page where the impression will be shown.
optional string page = 7;- Specified by:
getPagein interfaceOpenRtb.BidRequest.SiteOrBuilder- Returns:
- The page.
-
getPageBytes
public com.google.protobuf.ByteString getPageBytes()
URL of the page where the impression will be shown.
optional string page = 7;- Specified by:
getPageBytesin interfaceOpenRtb.BidRequest.SiteOrBuilder- Returns:
- The bytes for page.
-
hasPrivacypolicy
public boolean hasPrivacypolicy()
Indicates if the site has a privacy policy.
optional bool privacypolicy = 8;- Specified by:
hasPrivacypolicyin interfaceOpenRtb.BidRequest.SiteOrBuilder- Returns:
- Whether the privacypolicy field is set.
-
getPrivacypolicy
public boolean getPrivacypolicy()
Indicates if the site has a privacy policy.
optional bool privacypolicy = 8;- Specified by:
getPrivacypolicyin interfaceOpenRtb.BidRequest.SiteOrBuilder- Returns:
- The privacypolicy.
-
hasRef
public boolean hasRef()
Referrer URL that caused navigation to the current page.
optional string ref = 9;- Specified by:
hasRefin interfaceOpenRtb.BidRequest.SiteOrBuilder- Returns:
- Whether the ref field is set.
-
getRef
public String getRef()
Referrer URL that caused navigation to the current page.
optional string ref = 9;- Specified by:
getRefin interfaceOpenRtb.BidRequest.SiteOrBuilder- Returns:
- The ref.
-
getRefBytes
public com.google.protobuf.ByteString getRefBytes()
Referrer URL that caused navigation to the current page.
optional string ref = 9;- Specified by:
getRefBytesin interfaceOpenRtb.BidRequest.SiteOrBuilder- Returns:
- The bytes for ref.
-
hasSearch
public boolean hasSearch()
Search string that caused navigation to the current page.
optional string search = 10;- Specified by:
hasSearchin interfaceOpenRtb.BidRequest.SiteOrBuilder- Returns:
- Whether the search field is set.
-
getSearch
public String getSearch()
Search string that caused navigation to the current page.
optional string search = 10;- Specified by:
getSearchin interfaceOpenRtb.BidRequest.SiteOrBuilder- Returns:
- The search.
-
getSearchBytes
public com.google.protobuf.ByteString getSearchBytes()
Search string that caused navigation to the current page.
optional string search = 10;- Specified by:
getSearchBytesin interfaceOpenRtb.BidRequest.SiteOrBuilder- Returns:
- The bytes for search.
-
hasPublisher
public boolean hasPublisher()
Details about the Publisher (Section 3.2.8) of the site.
optional .com.google.openrtb.BidRequest.Publisher publisher = 11;- Specified by:
hasPublisherin interfaceOpenRtb.BidRequest.SiteOrBuilder- Returns:
- Whether the publisher field is set.
-
getPublisher
public OpenRtb.BidRequest.Publisher getPublisher()
Details about the Publisher (Section 3.2.8) of the site.
optional .com.google.openrtb.BidRequest.Publisher publisher = 11;- Specified by:
getPublisherin interfaceOpenRtb.BidRequest.SiteOrBuilder- Returns:
- The publisher.
-
getPublisherOrBuilder
public OpenRtb.BidRequest.PublisherOrBuilder getPublisherOrBuilder()
Details about the Publisher (Section 3.2.8) of the site.
optional .com.google.openrtb.BidRequest.Publisher publisher = 11;- Specified by:
getPublisherOrBuilderin interfaceOpenRtb.BidRequest.SiteOrBuilder
-
hasContent
public boolean hasContent()
Details about the Content (Section 3.2.9) within the site.
optional .com.google.openrtb.BidRequest.Content content = 12;- Specified by:
hasContentin interfaceOpenRtb.BidRequest.SiteOrBuilder- Returns:
- Whether the content field is set.
-
getContent
public OpenRtb.BidRequest.Content getContent()
Details about the Content (Section 3.2.9) within the site.
optional .com.google.openrtb.BidRequest.Content content = 12;- Specified by:
getContentin interfaceOpenRtb.BidRequest.SiteOrBuilder- Returns:
- The content.
-
getContentOrBuilder
public OpenRtb.BidRequest.ContentOrBuilder getContentOrBuilder()
Details about the Content (Section 3.2.9) within the site.
optional .com.google.openrtb.BidRequest.Content content = 12;- Specified by:
getContentOrBuilderin interfaceOpenRtb.BidRequest.SiteOrBuilder
-
hasKeywords
public boolean hasKeywords()
Comma separated list of keywords about this site. Note: OpenRTB 2.2 allowed an array-of-strings as alternate implementation but this was fixed in 2.3+ where it's definitely a single string with CSV content again. Compatibility with some OpenRTB 2.2 exchanges that adopted the alternate representation may require custom handling of the JSON.
optional string keywords = 13;- Specified by:
hasKeywordsin interfaceOpenRtb.BidRequest.SiteOrBuilder- Returns:
- Whether the keywords field is set.
-
getKeywords
public String getKeywords()
Comma separated list of keywords about this site. Note: OpenRTB 2.2 allowed an array-of-strings as alternate implementation but this was fixed in 2.3+ where it's definitely a single string with CSV content again. Compatibility with some OpenRTB 2.2 exchanges that adopted the alternate representation may require custom handling of the JSON.
optional string keywords = 13;- Specified by:
getKeywordsin interfaceOpenRtb.BidRequest.SiteOrBuilder- Returns:
- The keywords.
-
getKeywordsBytes
public com.google.protobuf.ByteString getKeywordsBytes()
Comma separated list of keywords about this site. Note: OpenRTB 2.2 allowed an array-of-strings as alternate implementation but this was fixed in 2.3+ where it's definitely a single string with CSV content again. Compatibility with some OpenRTB 2.2 exchanges that adopted the alternate representation may require custom handling of the JSON.
optional string keywords = 13;- Specified by:
getKeywordsBytesin interfaceOpenRtb.BidRequest.SiteOrBuilder- Returns:
- The bytes for keywords.
-
hasMobile
public boolean hasMobile()
Indicates if the site has been programmed to optimize layout when viewed on mobile devices.
optional bool mobile = 15;- Specified by:
hasMobilein interfaceOpenRtb.BidRequest.SiteOrBuilder- Returns:
- Whether the mobile field is set.
-
getMobile
public boolean getMobile()
Indicates if the site has been programmed to optimize layout when viewed on mobile devices.
optional bool mobile = 15;- Specified by:
getMobilein interfaceOpenRtb.BidRequest.SiteOrBuilder- Returns:
- The mobile.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.ExtendableMessage<OpenRtb.BidRequest.Site>
-
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.Site parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpenRtb.BidRequest.Site parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpenRtb.BidRequest.Site parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpenRtb.BidRequest.Site 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.Site parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpenRtb.BidRequest.Site parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpenRtb.BidRequest.Site parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static OpenRtb.BidRequest.Site parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static OpenRtb.BidRequest.Site parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static OpenRtb.BidRequest.Site parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static OpenRtb.BidRequest.Site parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static OpenRtb.BidRequest.Site parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public OpenRtb.BidRequest.Site.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static OpenRtb.BidRequest.Site.Builder newBuilder()
-
newBuilder
public static OpenRtb.BidRequest.Site.Builder newBuilder(OpenRtb.BidRequest.Site prototype)
-
toBuilder
public OpenRtb.BidRequest.Site.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected OpenRtb.BidRequest.Site.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static OpenRtb.BidRequest.Site getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<OpenRtb.BidRequest.Site> parser()
-
getParserForType
public com.google.protobuf.Parser<OpenRtb.BidRequest.Site> 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.Site getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<OpenRtb.BidRequest.Site>- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-