Package com.google.openrtb
Class OpenRtb.NativeResponse
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.protobuf.GeneratedMessageV3.ExtendableMessage<OpenRtb.NativeResponse>
-
- com.google.openrtb.OpenRtb.NativeResponse
-
- All Implemented Interfaces:
OpenRtb.NativeResponseOrBuilder,com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<OpenRtb.NativeResponse>,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- OpenRtb
public static final class OpenRtb.NativeResponse extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<OpenRtb.NativeResponse> implements OpenRtb.NativeResponseOrBuilder
OpenRTB Native 1.0: The native response object is the top level JSON object which identifies an native response.
Protobuf typecom.google.openrtb.NativeResponse- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOpenRtb.NativeResponse.AssetOpenRTB Native 1.0: Corresponds to the Asset Object in the request.static interfaceOpenRtb.NativeResponse.AssetOrBuilderstatic classOpenRtb.NativeResponse.BuilderOpenRTB Native 1.0: The native response object is the top level JSON object which identifies an native response.static classOpenRtb.NativeResponse.EventTrackerOpenRTB Native 1.2: The event trackers response is an array of objects and specifies the types of events the bidder wishes to track and the URLs/information to track them.static interfaceOpenRtb.NativeResponse.EventTrackerOrBuilderstatic classOpenRtb.NativeResponse.LinkOpenRTB Native 1.0: Used for "call to action" assets, or other links from the Native ad.static interfaceOpenRtb.NativeResponse.LinkOrBuilder-
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 intASSETS_FIELD_NUMBERstatic intASSETSURL_FIELD_NUMBERstatic intDCOURL_FIELD_NUMBERstatic intEVENTTRACKERS_FIELD_NUMBERstatic intIMPTRACKERS_FIELD_NUMBERstatic intJSTRACKER_FIELD_NUMBERstatic intLINK_FIELD_NUMBERstatic com.google.protobuf.Parser<OpenRtb.NativeResponse>PARSERDeprecated.static intPRIVACY_FIELD_NUMBERstatic intVER_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object obj)OpenRtb.NativeResponse.AssetgetAssets(int index)List of native ad's assets.intgetAssetsCount()List of native ad's assets.List<OpenRtb.NativeResponse.Asset>getAssetsList()List of native ad's assets.OpenRtb.NativeResponse.AssetOrBuildergetAssetsOrBuilder(int index)List of native ad's assets.List<? extends OpenRtb.NativeResponse.AssetOrBuilder>getAssetsOrBuilderList()List of native ad's assets.StringgetAssetsurl()URL of alternate source for the assets object.com.google.protobuf.ByteStringgetAssetsurlBytes()URL of alternate source for the assets object.StringgetDcourl()URL where a dynamic creative specification may be found for populating this ad, per the Dynamic Content Ads Specification.com.google.protobuf.ByteStringgetDcourlBytes()URL where a dynamic creative specification may be found for populating this ad, per the Dynamic Content Ads Specification.static OpenRtb.NativeResponsegetDefaultInstance()OpenRtb.NativeResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()OpenRtb.NativeResponse.EventTrackergetEventtrackers(int index)Array of response event trackers to run with the ad, in response to the declared supported methods in the NativeRequest.intgetEventtrackersCount()Array of response event trackers to run with the ad, in response to the declared supported methods in the NativeRequest.List<OpenRtb.NativeResponse.EventTracker>getEventtrackersList()Array of response event trackers to run with the ad, in response to the declared supported methods in the NativeRequest.OpenRtb.NativeResponse.EventTrackerOrBuildergetEventtrackersOrBuilder(int index)Array of response event trackers to run with the ad, in response to the declared supported methods in the NativeRequest.List<? extends OpenRtb.NativeResponse.EventTrackerOrBuilder>getEventtrackersOrBuilderList()Array of response event trackers to run with the ad, in response to the declared supported methods in the NativeRequest.StringgetImptrackers(int index)Deprecated.com.google.openrtb.NativeResponse.imptrackers is deprecated.com.google.protobuf.ByteStringgetImptrackersBytes(int index)Deprecated.com.google.openrtb.NativeResponse.imptrackers is deprecated.intgetImptrackersCount()Deprecated.com.google.openrtb.NativeResponse.imptrackers is deprecated.com.google.protobuf.ProtocolStringListgetImptrackersList()Deprecated.com.google.openrtb.NativeResponse.imptrackers is deprecated.StringgetJstracker()Deprecated.com.google.openrtb.NativeResponse.jstracker is deprecated.com.google.protobuf.ByteStringgetJstrackerBytes()Deprecated.com.google.openrtb.NativeResponse.jstracker is deprecated.OpenRtb.NativeResponse.LinkgetLink()Destination Link.OpenRtb.NativeResponse.LinkOrBuildergetLinkOrBuilder()Destination Link.com.google.protobuf.Parser<OpenRtb.NativeResponse>getParserForType()StringgetPrivacy()If support was indicated in the request, URL of a page informing the user about the buyer's targeting activity.com.google.protobuf.ByteStringgetPrivacyBytes()If support was indicated in the request, URL of a page informing the user about the buyer's targeting activity.intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()StringgetVer()Version of the Native Markup version in use.com.google.protobuf.ByteStringgetVerBytes()Version of the Native Markup version in use.booleanhasAssetsurl()URL of alternate source for the assets object.booleanhasDcourl()URL where a dynamic creative specification may be found for populating this ad, per the Dynamic Content Ads Specification.inthashCode()booleanhasJstracker()Deprecated.com.google.openrtb.NativeResponse.jstracker is deprecated.booleanhasLink()Destination Link.booleanhasPrivacy()If support was indicated in the request, URL of a page informing the user about the buyer's targeting activity.booleanhasVer()Version of the Native Markup version in use.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static OpenRtb.NativeResponse.BuildernewBuilder()static OpenRtb.NativeResponse.BuildernewBuilder(OpenRtb.NativeResponse prototype)OpenRtb.NativeResponse.BuildernewBuilderForType()protected OpenRtb.NativeResponse.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static OpenRtb.NativeResponseparseDelimitedFrom(InputStream input)static OpenRtb.NativeResponseparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OpenRtb.NativeResponseparseFrom(byte[] data)static OpenRtb.NativeResponseparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OpenRtb.NativeResponseparseFrom(com.google.protobuf.ByteString data)static OpenRtb.NativeResponseparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OpenRtb.NativeResponseparseFrom(com.google.protobuf.CodedInputStream input)static OpenRtb.NativeResponseparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OpenRtb.NativeResponseparseFrom(InputStream input)static OpenRtb.NativeResponseparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OpenRtb.NativeResponseparseFrom(ByteBuffer data)static OpenRtb.NativeResponseparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<OpenRtb.NativeResponse>parser()OpenRtb.NativeResponse.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
-
VER_FIELD_NUMBER
public static final int VER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ASSETS_FIELD_NUMBER
public static final int ASSETS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ASSETSURL_FIELD_NUMBER
public static final int ASSETSURL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DCOURL_FIELD_NUMBER
public static final int DCOURL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LINK_FIELD_NUMBER
public static final int LINK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IMPTRACKERS_FIELD_NUMBER
public static final int IMPTRACKERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
JSTRACKER_FIELD_NUMBER
public static final int JSTRACKER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EVENTTRACKERS_FIELD_NUMBER
public static final int EVENTTRACKERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRIVACY_FIELD_NUMBER
public static final int PRIVACY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<OpenRtb.NativeResponse> 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
-
hasVer
public boolean hasVer()
Version of the Native Markup version in use. RECOMMENDED by the OpenRTB Native specification.
optional string ver = 1;- Specified by:
hasVerin interfaceOpenRtb.NativeResponseOrBuilder- Returns:
- Whether the ver field is set.
-
getVer
public String getVer()
Version of the Native Markup version in use. RECOMMENDED by the OpenRTB Native specification.
optional string ver = 1;- Specified by:
getVerin interfaceOpenRtb.NativeResponseOrBuilder- Returns:
- The ver.
-
getVerBytes
public com.google.protobuf.ByteString getVerBytes()
Version of the Native Markup version in use. RECOMMENDED by the OpenRTB Native specification.
optional string ver = 1;- Specified by:
getVerBytesin interfaceOpenRtb.NativeResponseOrBuilder- Returns:
- The bytes for ver.
-
getAssetsList
public List<OpenRtb.NativeResponse.Asset> getAssetsList()
List of native ad's assets. RECOMMENDED in 1.0, 1.1, or in 1.2 as a fallback if assetsurl is provided. REQUIRED in 1.2, if not assetsurl is provided.
repeated .com.google.openrtb.NativeResponse.Asset assets = 2;- Specified by:
getAssetsListin interfaceOpenRtb.NativeResponseOrBuilder
-
getAssetsOrBuilderList
public List<? extends OpenRtb.NativeResponse.AssetOrBuilder> getAssetsOrBuilderList()
List of native ad's assets. RECOMMENDED in 1.0, 1.1, or in 1.2 as a fallback if assetsurl is provided. REQUIRED in 1.2, if not assetsurl is provided.
repeated .com.google.openrtb.NativeResponse.Asset assets = 2;- Specified by:
getAssetsOrBuilderListin interfaceOpenRtb.NativeResponseOrBuilder
-
getAssetsCount
public int getAssetsCount()
List of native ad's assets. RECOMMENDED in 1.0, 1.1, or in 1.2 as a fallback if assetsurl is provided. REQUIRED in 1.2, if not assetsurl is provided.
repeated .com.google.openrtb.NativeResponse.Asset assets = 2;- Specified by:
getAssetsCountin interfaceOpenRtb.NativeResponseOrBuilder
-
getAssets
public OpenRtb.NativeResponse.Asset getAssets(int index)
List of native ad's assets. RECOMMENDED in 1.0, 1.1, or in 1.2 as a fallback if assetsurl is provided. REQUIRED in 1.2, if not assetsurl is provided.
repeated .com.google.openrtb.NativeResponse.Asset assets = 2;- Specified by:
getAssetsin interfaceOpenRtb.NativeResponseOrBuilder
-
getAssetsOrBuilder
public OpenRtb.NativeResponse.AssetOrBuilder getAssetsOrBuilder(int index)
List of native ad's assets. RECOMMENDED in 1.0, 1.1, or in 1.2 as a fallback if assetsurl is provided. REQUIRED in 1.2, if not assetsurl is provided.
repeated .com.google.openrtb.NativeResponse.Asset assets = 2;- Specified by:
getAssetsOrBuilderin interfaceOpenRtb.NativeResponseOrBuilder
-
hasAssetsurl
public boolean hasAssetsurl()
URL of alternate source for the assets object. The expected response is a JSON object mirroring the asset object in the bid response, subject to certain requirements as specified in the individual objects. Where present, overrides the assets object in the response.
optional string assetsurl = 6;- Specified by:
hasAssetsurlin interfaceOpenRtb.NativeResponseOrBuilder- Returns:
- Whether the assetsurl field is set.
-
getAssetsurl
public String getAssetsurl()
URL of alternate source for the assets object. The expected response is a JSON object mirroring the asset object in the bid response, subject to certain requirements as specified in the individual objects. Where present, overrides the assets object in the response.
optional string assetsurl = 6;- Specified by:
getAssetsurlin interfaceOpenRtb.NativeResponseOrBuilder- Returns:
- The assetsurl.
-
getAssetsurlBytes
public com.google.protobuf.ByteString getAssetsurlBytes()
URL of alternate source for the assets object. The expected response is a JSON object mirroring the asset object in the bid response, subject to certain requirements as specified in the individual objects. Where present, overrides the assets object in the response.
optional string assetsurl = 6;- Specified by:
getAssetsurlBytesin interfaceOpenRtb.NativeResponseOrBuilder- Returns:
- The bytes for assetsurl.
-
hasDcourl
public boolean hasDcourl()
URL where a dynamic creative specification may be found for populating this ad, per the Dynamic Content Ads Specification. Note this is a beta option as the interpretation of the Dynamic Content Ads Specification and how to assign those elementes into a native ad is outside the scope of this spec and must be agreed offline between parties or as may be specified in a future revision of the Dynamic Content Ads spec. Where present, overrides the assets object in the response.
optional string dcourl = 7;- Specified by:
hasDcourlin interfaceOpenRtb.NativeResponseOrBuilder- Returns:
- Whether the dcourl field is set.
-
getDcourl
public String getDcourl()
URL where a dynamic creative specification may be found for populating this ad, per the Dynamic Content Ads Specification. Note this is a beta option as the interpretation of the Dynamic Content Ads Specification and how to assign those elementes into a native ad is outside the scope of this spec and must be agreed offline between parties or as may be specified in a future revision of the Dynamic Content Ads spec. Where present, overrides the assets object in the response.
optional string dcourl = 7;- Specified by:
getDcourlin interfaceOpenRtb.NativeResponseOrBuilder- Returns:
- The dcourl.
-
getDcourlBytes
public com.google.protobuf.ByteString getDcourlBytes()
URL where a dynamic creative specification may be found for populating this ad, per the Dynamic Content Ads Specification. Note this is a beta option as the interpretation of the Dynamic Content Ads Specification and how to assign those elementes into a native ad is outside the scope of this spec and must be agreed offline between parties or as may be specified in a future revision of the Dynamic Content Ads spec. Where present, overrides the assets object in the response.
optional string dcourl = 7;- Specified by:
getDcourlBytesin interfaceOpenRtb.NativeResponseOrBuilder- Returns:
- The bytes for dcourl.
-
hasLink
public boolean hasLink()
Destination Link. This is default link object for the ad. Individual assets can also have a link object which applies if the asset is activated (clicked). If the asset doesn't have a link object, the parent link object applies. See ResponseLink definition. REQUIRED by the OpenRTB Native specification.
required .com.google.openrtb.NativeResponse.Link link = 3;- Specified by:
hasLinkin interfaceOpenRtb.NativeResponseOrBuilder- Returns:
- Whether the link field is set.
-
getLink
public OpenRtb.NativeResponse.Link getLink()
Destination Link. This is default link object for the ad. Individual assets can also have a link object which applies if the asset is activated (clicked). If the asset doesn't have a link object, the parent link object applies. See ResponseLink definition. REQUIRED by the OpenRTB Native specification.
required .com.google.openrtb.NativeResponse.Link link = 3;- Specified by:
getLinkin interfaceOpenRtb.NativeResponseOrBuilder- Returns:
- The link.
-
getLinkOrBuilder
public OpenRtb.NativeResponse.LinkOrBuilder getLinkOrBuilder()
Destination Link. This is default link object for the ad. Individual assets can also have a link object which applies if the asset is activated (clicked). If the asset doesn't have a link object, the parent link object applies. See ResponseLink definition. REQUIRED by the OpenRTB Native specification.
required .com.google.openrtb.NativeResponse.Link link = 3;- Specified by:
getLinkOrBuilderin interfaceOpenRtb.NativeResponseOrBuilder
-
getImptrackersList
@Deprecated public com.google.protobuf.ProtocolStringList getImptrackersList()
Deprecated.com.google.openrtb.NativeResponse.imptrackers is deprecated. See openrtb.proto;l=1689DEPRECATED in OpenRTB Native 1.2+. Prefer object <code>EventTracker</code>. Array of impression tracking URLs, expected to return a 1x1 image or 204 response - typically only passed when using 3rd party trackers.
repeated string imptrackers = 4 [deprecated = true];- Specified by:
getImptrackersListin interfaceOpenRtb.NativeResponseOrBuilder- Returns:
- A list containing the imptrackers.
-
getImptrackersCount
@Deprecated public int getImptrackersCount()
Deprecated.com.google.openrtb.NativeResponse.imptrackers is deprecated. See openrtb.proto;l=1689DEPRECATED in OpenRTB Native 1.2+. Prefer object <code>EventTracker</code>. Array of impression tracking URLs, expected to return a 1x1 image or 204 response - typically only passed when using 3rd party trackers.
repeated string imptrackers = 4 [deprecated = true];- Specified by:
getImptrackersCountin interfaceOpenRtb.NativeResponseOrBuilder- Returns:
- The count of imptrackers.
-
getImptrackers
@Deprecated public String getImptrackers(int index)
Deprecated.com.google.openrtb.NativeResponse.imptrackers is deprecated. See openrtb.proto;l=1689DEPRECATED in OpenRTB Native 1.2+. Prefer object <code>EventTracker</code>. Array of impression tracking URLs, expected to return a 1x1 image or 204 response - typically only passed when using 3rd party trackers.
repeated string imptrackers = 4 [deprecated = true];- Specified by:
getImptrackersin interfaceOpenRtb.NativeResponseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The imptrackers at the given index.
-
getImptrackersBytes
@Deprecated public com.google.protobuf.ByteString getImptrackersBytes(int index)
Deprecated.com.google.openrtb.NativeResponse.imptrackers is deprecated. See openrtb.proto;l=1689DEPRECATED in OpenRTB Native 1.2+. Prefer object <code>EventTracker</code>. Array of impression tracking URLs, expected to return a 1x1 image or 204 response - typically only passed when using 3rd party trackers.
repeated string imptrackers = 4 [deprecated = true];- Specified by:
getImptrackersBytesin interfaceOpenRtb.NativeResponseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the imptrackers at the given index.
-
hasJstracker
@Deprecated public boolean hasJstracker()
Deprecated.com.google.openrtb.NativeResponse.jstracker is deprecated. See openrtb.proto;l=1694DEPRECATED in OpenRTB Native 1.2+. Prefer object <code>EventTracker</code>. Optional javascript impression tracker. Contains <script> tags to be executed at impression time where it can be supported.
optional string jstracker = 5 [deprecated = true];- Specified by:
hasJstrackerin interfaceOpenRtb.NativeResponseOrBuilder- Returns:
- Whether the jstracker field is set.
-
getJstracker
@Deprecated public String getJstracker()
Deprecated.com.google.openrtb.NativeResponse.jstracker is deprecated. See openrtb.proto;l=1694DEPRECATED in OpenRTB Native 1.2+. Prefer object <code>EventTracker</code>. Optional javascript impression tracker. Contains <script> tags to be executed at impression time where it can be supported.
optional string jstracker = 5 [deprecated = true];- Specified by:
getJstrackerin interfaceOpenRtb.NativeResponseOrBuilder- Returns:
- The jstracker.
-
getJstrackerBytes
@Deprecated public com.google.protobuf.ByteString getJstrackerBytes()
Deprecated.com.google.openrtb.NativeResponse.jstracker is deprecated. See openrtb.proto;l=1694DEPRECATED in OpenRTB Native 1.2+. Prefer object <code>EventTracker</code>. Optional javascript impression tracker. Contains <script> tags to be executed at impression time where it can be supported.
optional string jstracker = 5 [deprecated = true];- Specified by:
getJstrackerBytesin interfaceOpenRtb.NativeResponseOrBuilder- Returns:
- The bytes for jstracker.
-
getEventtrackersList
public List<OpenRtb.NativeResponse.EventTracker> getEventtrackersList()
Array of response event trackers to run with the ad, in response to the declared supported methods in the NativeRequest. Replaces imptrackers and jstrackers.
repeated .com.google.openrtb.NativeResponse.EventTracker eventtrackers = 8;- Specified by:
getEventtrackersListin interfaceOpenRtb.NativeResponseOrBuilder
-
getEventtrackersOrBuilderList
public List<? extends OpenRtb.NativeResponse.EventTrackerOrBuilder> getEventtrackersOrBuilderList()
Array of response event trackers to run with the ad, in response to the declared supported methods in the NativeRequest. Replaces imptrackers and jstrackers.
repeated .com.google.openrtb.NativeResponse.EventTracker eventtrackers = 8;- Specified by:
getEventtrackersOrBuilderListin interfaceOpenRtb.NativeResponseOrBuilder
-
getEventtrackersCount
public int getEventtrackersCount()
Array of response event trackers to run with the ad, in response to the declared supported methods in the NativeRequest. Replaces imptrackers and jstrackers.
repeated .com.google.openrtb.NativeResponse.EventTracker eventtrackers = 8;- Specified by:
getEventtrackersCountin interfaceOpenRtb.NativeResponseOrBuilder
-
getEventtrackers
public OpenRtb.NativeResponse.EventTracker getEventtrackers(int index)
Array of response event trackers to run with the ad, in response to the declared supported methods in the NativeRequest. Replaces imptrackers and jstrackers.
repeated .com.google.openrtb.NativeResponse.EventTracker eventtrackers = 8;- Specified by:
getEventtrackersin interfaceOpenRtb.NativeResponseOrBuilder
-
getEventtrackersOrBuilder
public OpenRtb.NativeResponse.EventTrackerOrBuilder getEventtrackersOrBuilder(int index)
Array of response event trackers to run with the ad, in response to the declared supported methods in the NativeRequest. Replaces imptrackers and jstrackers.
repeated .com.google.openrtb.NativeResponse.EventTracker eventtrackers = 8;- Specified by:
getEventtrackersOrBuilderin interfaceOpenRtb.NativeResponseOrBuilder
-
hasPrivacy
public boolean hasPrivacy()
If support was indicated in the request, URL of a page informing the user about the buyer's targeting activity.
optional string privacy = 9;- Specified by:
hasPrivacyin interfaceOpenRtb.NativeResponseOrBuilder- Returns:
- Whether the privacy field is set.
-
getPrivacy
public String getPrivacy()
If support was indicated in the request, URL of a page informing the user about the buyer's targeting activity.
optional string privacy = 9;- Specified by:
getPrivacyin interfaceOpenRtb.NativeResponseOrBuilder- Returns:
- The privacy.
-
getPrivacyBytes
public com.google.protobuf.ByteString getPrivacyBytes()
If support was indicated in the request, URL of a page informing the user about the buyer's targeting activity.
optional string privacy = 9;- Specified by:
getPrivacyBytesin interfaceOpenRtb.NativeResponseOrBuilder- Returns:
- The bytes for privacy.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.ExtendableMessage<OpenRtb.NativeResponse>
-
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.NativeResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpenRtb.NativeResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpenRtb.NativeResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpenRtb.NativeResponse 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.NativeResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpenRtb.NativeResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpenRtb.NativeResponse parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static OpenRtb.NativeResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static OpenRtb.NativeResponse parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static OpenRtb.NativeResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static OpenRtb.NativeResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static OpenRtb.NativeResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public OpenRtb.NativeResponse.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static OpenRtb.NativeResponse.Builder newBuilder()
-
newBuilder
public static OpenRtb.NativeResponse.Builder newBuilder(OpenRtb.NativeResponse prototype)
-
toBuilder
public OpenRtb.NativeResponse.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected OpenRtb.NativeResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static OpenRtb.NativeResponse getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<OpenRtb.NativeResponse> parser()
-
getParserForType
public com.google.protobuf.Parser<OpenRtb.NativeResponse> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public OpenRtb.NativeResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<OpenRtb.NativeResponse>- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-