Package com.google.openrtb
Class OpenRtb.NativeResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.NativeResponse,OpenRtb.NativeResponse.Builder>
-
- com.google.openrtb.OpenRtb.NativeResponse.Builder
-
- All Implemented Interfaces:
OpenRtb.NativeResponseOrBuilder,com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<OpenRtb.NativeResponse>,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- OpenRtb.NativeResponse
public static final class OpenRtb.NativeResponse.Builder extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.NativeResponse,OpenRtb.NativeResponse.Builder> 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
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description OpenRtb.NativeResponse.BuilderaddAllAssets(Iterable<? extends OpenRtb.NativeResponse.Asset> values)List of native ad's assets.OpenRtb.NativeResponse.BuilderaddAllEventtrackers(Iterable<? extends OpenRtb.NativeResponse.EventTracker> values)Array of response event trackers to run with the ad, in response to the declared supported methods in the NativeRequest.OpenRtb.NativeResponse.BuilderaddAllImptrackers(Iterable<String> values)Deprecated.com.google.openrtb.NativeResponse.imptrackers is deprecated.OpenRtb.NativeResponse.BuilderaddAssets(int index, OpenRtb.NativeResponse.Asset value)List of native ad's assets.OpenRtb.NativeResponse.BuilderaddAssets(int index, OpenRtb.NativeResponse.Asset.Builder builderForValue)List of native ad's assets.OpenRtb.NativeResponse.BuilderaddAssets(OpenRtb.NativeResponse.Asset value)List of native ad's assets.OpenRtb.NativeResponse.BuilderaddAssets(OpenRtb.NativeResponse.Asset.Builder builderForValue)List of native ad's assets.OpenRtb.NativeResponse.Asset.BuilderaddAssetsBuilder()List of native ad's assets.OpenRtb.NativeResponse.Asset.BuilderaddAssetsBuilder(int index)List of native ad's assets.OpenRtb.NativeResponse.BuilderaddEventtrackers(int index, OpenRtb.NativeResponse.EventTracker value)Array of response event trackers to run with the ad, in response to the declared supported methods in the NativeRequest.OpenRtb.NativeResponse.BuilderaddEventtrackers(int index, OpenRtb.NativeResponse.EventTracker.Builder builderForValue)Array of response event trackers to run with the ad, in response to the declared supported methods in the NativeRequest.OpenRtb.NativeResponse.BuilderaddEventtrackers(OpenRtb.NativeResponse.EventTracker value)Array of response event trackers to run with the ad, in response to the declared supported methods in the NativeRequest.OpenRtb.NativeResponse.BuilderaddEventtrackers(OpenRtb.NativeResponse.EventTracker.Builder builderForValue)Array of response event trackers to run with the ad, in response to the declared supported methods in the NativeRequest.OpenRtb.NativeResponse.EventTracker.BuilderaddEventtrackersBuilder()Array of response event trackers to run with the ad, in response to the declared supported methods in the NativeRequest.OpenRtb.NativeResponse.EventTracker.BuilderaddEventtrackersBuilder(int index)Array of response event trackers to run with the ad, in response to the declared supported methods in the NativeRequest.<Type> OpenRtb.NativeResponse.BuilderaddExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<OpenRtb.NativeResponse,List<Type>> extension, Type value)OpenRtb.NativeResponse.BuilderaddImptrackers(String value)Deprecated.com.google.openrtb.NativeResponse.imptrackers is deprecated.OpenRtb.NativeResponse.BuilderaddImptrackersBytes(com.google.protobuf.ByteString value)Deprecated.com.google.openrtb.NativeResponse.imptrackers is deprecated.OpenRtb.NativeResponse.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)OpenRtb.NativeResponsebuild()OpenRtb.NativeResponsebuildPartial()OpenRtb.NativeResponse.Builderclear()OpenRtb.NativeResponse.BuilderclearAssets()List of native ad's assets.OpenRtb.NativeResponse.BuilderclearAssetsurl()URL of alternate source for the assets object.OpenRtb.NativeResponse.BuilderclearDcourl()URL where a dynamic creative specification may be found for populating this ad, per the Dynamic Content Ads Specification.OpenRtb.NativeResponse.BuilderclearEventtrackers()Array of response event trackers to run with the ad, in response to the declared supported methods in the NativeRequest.<Type> OpenRtb.NativeResponse.BuilderclearExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<OpenRtb.NativeResponse,?> extension)OpenRtb.NativeResponse.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)OpenRtb.NativeResponse.BuilderclearImptrackers()Deprecated.com.google.openrtb.NativeResponse.imptrackers is deprecated.OpenRtb.NativeResponse.BuilderclearJstracker()Deprecated.com.google.openrtb.NativeResponse.jstracker is deprecated.OpenRtb.NativeResponse.BuilderclearLink()Destination Link.OpenRtb.NativeResponse.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)OpenRtb.NativeResponse.BuilderclearPrivacy()If support was indicated in the request, URL of a page informing the user about the buyer's targeting activity.OpenRtb.NativeResponse.BuilderclearVer()Version of the Native Markup version in use.OpenRtb.NativeResponse.Builderclone()OpenRtb.NativeResponse.AssetgetAssets(int index)List of native ad's assets.OpenRtb.NativeResponse.Asset.BuildergetAssetsBuilder(int index)List of native ad's assets.List<OpenRtb.NativeResponse.Asset.Builder>getAssetsBuilderList()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.OpenRtb.NativeResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()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.OpenRtb.NativeResponse.EventTracker.BuildergetEventtrackersBuilder(int index)Array of response event trackers to run with the ad, in response to the declared supported methods in the NativeRequest.List<OpenRtb.NativeResponse.EventTracker.Builder>getEventtrackersBuilderList()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.Link.BuildergetLinkBuilder()Destination Link.OpenRtb.NativeResponse.LinkOrBuildergetLinkOrBuilder()Destination Link.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.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.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()OpenRtb.NativeResponse.BuildermergeFrom(OpenRtb.NativeResponse other)OpenRtb.NativeResponse.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)OpenRtb.NativeResponse.BuildermergeFrom(com.google.protobuf.Message other)OpenRtb.NativeResponse.BuildermergeLink(OpenRtb.NativeResponse.Link value)Destination Link.OpenRtb.NativeResponse.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)OpenRtb.NativeResponse.BuilderremoveAssets(int index)List of native ad's assets.OpenRtb.NativeResponse.BuilderremoveEventtrackers(int index)Array of response event trackers to run with the ad, in response to the declared supported methods in the NativeRequest.OpenRtb.NativeResponse.BuildersetAssets(int index, OpenRtb.NativeResponse.Asset value)List of native ad's assets.OpenRtb.NativeResponse.BuildersetAssets(int index, OpenRtb.NativeResponse.Asset.Builder builderForValue)List of native ad's assets.OpenRtb.NativeResponse.BuildersetAssetsurl(String value)URL of alternate source for the assets object.OpenRtb.NativeResponse.BuildersetAssetsurlBytes(com.google.protobuf.ByteString value)URL of alternate source for the assets object.OpenRtb.NativeResponse.BuildersetDcourl(String value)URL where a dynamic creative specification may be found for populating this ad, per the Dynamic Content Ads Specification.OpenRtb.NativeResponse.BuildersetDcourlBytes(com.google.protobuf.ByteString value)URL where a dynamic creative specification may be found for populating this ad, per the Dynamic Content Ads Specification.OpenRtb.NativeResponse.BuildersetEventtrackers(int index, OpenRtb.NativeResponse.EventTracker value)Array of response event trackers to run with the ad, in response to the declared supported methods in the NativeRequest.OpenRtb.NativeResponse.BuildersetEventtrackers(int index, OpenRtb.NativeResponse.EventTracker.Builder builderForValue)Array of response event trackers to run with the ad, in response to the declared supported methods in the NativeRequest.<Type> OpenRtb.NativeResponse.BuildersetExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<OpenRtb.NativeResponse,List<Type>> extension, int index, Type value)<Type> OpenRtb.NativeResponse.BuildersetExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<OpenRtb.NativeResponse,Type> extension, Type value)OpenRtb.NativeResponse.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)OpenRtb.NativeResponse.BuildersetImptrackers(int index, String value)Deprecated.com.google.openrtb.NativeResponse.imptrackers is deprecated.OpenRtb.NativeResponse.BuildersetJstracker(String value)Deprecated.com.google.openrtb.NativeResponse.jstracker is deprecated.OpenRtb.NativeResponse.BuildersetJstrackerBytes(com.google.protobuf.ByteString value)Deprecated.com.google.openrtb.NativeResponse.jstracker is deprecated.OpenRtb.NativeResponse.BuildersetLink(OpenRtb.NativeResponse.Link value)Destination Link.OpenRtb.NativeResponse.BuildersetLink(OpenRtb.NativeResponse.Link.Builder builderForValue)Destination Link.OpenRtb.NativeResponse.BuildersetPrivacy(String value)If support was indicated in the request, URL of a page informing the user about the buyer's targeting activity.OpenRtb.NativeResponse.BuildersetPrivacyBytes(com.google.protobuf.ByteString value)If support was indicated in the request, URL of a page informing the user about the buyer's targeting activity.OpenRtb.NativeResponse.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)OpenRtb.NativeResponse.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)OpenRtb.NativeResponse.BuildersetVer(String value)Version of the Native Markup version in use.OpenRtb.NativeResponse.BuildersetVerBytes(com.google.protobuf.ByteString value)Version of the Native Markup version in use.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder
addExtension, addExtension, clearExtension, clearExtension, extensionsAreInitialized, getAllFields, getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, getField, getFieldBuilder, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, hasExtension, hasExtension, hasExtension, hasField, mergeExtensionFields, newBuilderForField, setExtension, setExtension, setExtension, setExtension
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getOneofFieldDescriptor, getParentForChildren, getUnknownFields, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, 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
-
-
-
-
Method Detail
-
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.Builder<OpenRtb.NativeResponse.Builder>
-
clear
public OpenRtb.NativeResponse.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.NativeResponse,OpenRtb.NativeResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<OpenRtb.NativeResponse.Builder>
-
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
-
build
public OpenRtb.NativeResponse build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public OpenRtb.NativeResponse buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public OpenRtb.NativeResponse.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<OpenRtb.NativeResponse.Builder>
-
setField
public OpenRtb.NativeResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.NativeResponse,OpenRtb.NativeResponse.Builder>
-
clearField
public OpenRtb.NativeResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.NativeResponse,OpenRtb.NativeResponse.Builder>
-
clearOneof
public OpenRtb.NativeResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<OpenRtb.NativeResponse.Builder>
-
setRepeatedField
public OpenRtb.NativeResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.NativeResponse,OpenRtb.NativeResponse.Builder>
-
addRepeatedField
public OpenRtb.NativeResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.NativeResponse,OpenRtb.NativeResponse.Builder>
-
setExtension
public <Type> OpenRtb.NativeResponse.Builder setExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<OpenRtb.NativeResponse,Type> extension, Type value)
- Overrides:
setExtensionin classcom.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.NativeResponse,OpenRtb.NativeResponse.Builder>
-
setExtension
public <Type> OpenRtb.NativeResponse.Builder setExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<OpenRtb.NativeResponse,List<Type>> extension, int index, Type value)
- Overrides:
setExtensionin classcom.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.NativeResponse,OpenRtb.NativeResponse.Builder>
-
addExtension
public <Type> OpenRtb.NativeResponse.Builder addExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<OpenRtb.NativeResponse,List<Type>> extension, Type value)
- Overrides:
addExtensionin classcom.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.NativeResponse,OpenRtb.NativeResponse.Builder>
-
clearExtension
public <Type> OpenRtb.NativeResponse.Builder clearExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<OpenRtb.NativeResponse,?> extension)
- Overrides:
clearExtensionin classcom.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.NativeResponse,OpenRtb.NativeResponse.Builder>
-
mergeFrom
public OpenRtb.NativeResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OpenRtb.NativeResponse.Builder>
-
mergeFrom
public OpenRtb.NativeResponse.Builder mergeFrom(OpenRtb.NativeResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.NativeResponse,OpenRtb.NativeResponse.Builder>
-
mergeFrom
public OpenRtb.NativeResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OpenRtb.NativeResponse.Builder>- Throws:
IOException
-
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.
-
setVer
public OpenRtb.NativeResponse.Builder setVer(String value)
Version of the Native Markup version in use. RECOMMENDED by the OpenRTB Native specification.
optional string ver = 1;- Parameters:
value- The ver to set.- Returns:
- This builder for chaining.
-
clearVer
public OpenRtb.NativeResponse.Builder clearVer()
Version of the Native Markup version in use. RECOMMENDED by the OpenRTB Native specification.
optional string ver = 1;- Returns:
- This builder for chaining.
-
setVerBytes
public OpenRtb.NativeResponse.Builder setVerBytes(com.google.protobuf.ByteString value)
Version of the Native Markup version in use. RECOMMENDED by the OpenRTB Native specification.
optional string ver = 1;- Parameters:
value- The bytes for ver to set.- Returns:
- This builder for chaining.
-
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
-
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
-
setAssets
public OpenRtb.NativeResponse.Builder setAssets(int index, OpenRtb.NativeResponse.Asset value)
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;
-
setAssets
public OpenRtb.NativeResponse.Builder setAssets(int index, OpenRtb.NativeResponse.Asset.Builder builderForValue)
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;
-
addAssets
public OpenRtb.NativeResponse.Builder addAssets(OpenRtb.NativeResponse.Asset value)
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;
-
addAssets
public OpenRtb.NativeResponse.Builder addAssets(int index, OpenRtb.NativeResponse.Asset value)
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;
-
addAssets
public OpenRtb.NativeResponse.Builder addAssets(OpenRtb.NativeResponse.Asset.Builder builderForValue)
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;
-
addAssets
public OpenRtb.NativeResponse.Builder addAssets(int index, OpenRtb.NativeResponse.Asset.Builder builderForValue)
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;
-
addAllAssets
public OpenRtb.NativeResponse.Builder addAllAssets(Iterable<? extends OpenRtb.NativeResponse.Asset> values)
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;
-
clearAssets
public OpenRtb.NativeResponse.Builder clearAssets()
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;
-
removeAssets
public OpenRtb.NativeResponse.Builder removeAssets(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;
-
getAssetsBuilder
public OpenRtb.NativeResponse.Asset.Builder getAssetsBuilder(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;
-
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
-
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
-
addAssetsBuilder
public OpenRtb.NativeResponse.Asset.Builder addAssetsBuilder()
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;
-
addAssetsBuilder
public OpenRtb.NativeResponse.Asset.Builder addAssetsBuilder(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;
-
getAssetsBuilderList
public List<OpenRtb.NativeResponse.Asset.Builder> getAssetsBuilderList()
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;
-
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.
-
setAssetsurl
public OpenRtb.NativeResponse.Builder setAssetsurl(String value)
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;- Parameters:
value- The assetsurl to set.- Returns:
- This builder for chaining.
-
clearAssetsurl
public OpenRtb.NativeResponse.Builder clearAssetsurl()
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;- Returns:
- This builder for chaining.
-
setAssetsurlBytes
public OpenRtb.NativeResponse.Builder setAssetsurlBytes(com.google.protobuf.ByteString value)
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;- Parameters:
value- The bytes for assetsurl to set.- Returns:
- This builder for chaining.
-
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.
-
setDcourl
public OpenRtb.NativeResponse.Builder setDcourl(String value)
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;- Parameters:
value- The dcourl to set.- Returns:
- This builder for chaining.
-
clearDcourl
public OpenRtb.NativeResponse.Builder clearDcourl()
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;- Returns:
- This builder for chaining.
-
setDcourlBytes
public OpenRtb.NativeResponse.Builder setDcourlBytes(com.google.protobuf.ByteString value)
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;- Parameters:
value- The bytes for dcourl to set.- Returns:
- This builder for chaining.
-
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.
-
setLink
public OpenRtb.NativeResponse.Builder setLink(OpenRtb.NativeResponse.Link value)
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;
-
setLink
public OpenRtb.NativeResponse.Builder setLink(OpenRtb.NativeResponse.Link.Builder builderForValue)
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;
-
mergeLink
public OpenRtb.NativeResponse.Builder mergeLink(OpenRtb.NativeResponse.Link value)
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;
-
clearLink
public OpenRtb.NativeResponse.Builder clearLink()
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;
-
getLinkBuilder
public OpenRtb.NativeResponse.Link.Builder getLinkBuilder()
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;
-
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.
-
setImptrackers
@Deprecated public OpenRtb.NativeResponse.Builder setImptrackers(int index, String value)
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];- Parameters:
index- The index to set the value at.value- The imptrackers to set.- Returns:
- This builder for chaining.
-
addImptrackers
@Deprecated public OpenRtb.NativeResponse.Builder addImptrackers(String value)
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];- Parameters:
value- The imptrackers to add.- Returns:
- This builder for chaining.
-
addAllImptrackers
@Deprecated public OpenRtb.NativeResponse.Builder addAllImptrackers(Iterable<String> values)
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];- Parameters:
values- The imptrackers to add.- Returns:
- This builder for chaining.
-
clearImptrackers
@Deprecated public OpenRtb.NativeResponse.Builder clearImptrackers()
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];- Returns:
- This builder for chaining.
-
addImptrackersBytes
@Deprecated public OpenRtb.NativeResponse.Builder addImptrackersBytes(com.google.protobuf.ByteString value)
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];- Parameters:
value- The bytes of the imptrackers to add.- Returns:
- This builder for chaining.
-
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.
-
setJstracker
@Deprecated public OpenRtb.NativeResponse.Builder setJstracker(String value)
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];- Parameters:
value- The jstracker to set.- Returns:
- This builder for chaining.
-
clearJstracker
@Deprecated public OpenRtb.NativeResponse.Builder clearJstracker()
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];- Returns:
- This builder for chaining.
-
setJstrackerBytes
@Deprecated public OpenRtb.NativeResponse.Builder setJstrackerBytes(com.google.protobuf.ByteString value)
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];- Parameters:
value- The bytes for jstracker to set.- Returns:
- This builder for chaining.
-
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
-
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
-
setEventtrackers
public OpenRtb.NativeResponse.Builder setEventtrackers(int index, OpenRtb.NativeResponse.EventTracker value)
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;
-
setEventtrackers
public OpenRtb.NativeResponse.Builder setEventtrackers(int index, OpenRtb.NativeResponse.EventTracker.Builder builderForValue)
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;
-
addEventtrackers
public OpenRtb.NativeResponse.Builder addEventtrackers(OpenRtb.NativeResponse.EventTracker value)
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;
-
addEventtrackers
public OpenRtb.NativeResponse.Builder addEventtrackers(int index, OpenRtb.NativeResponse.EventTracker value)
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;
-
addEventtrackers
public OpenRtb.NativeResponse.Builder addEventtrackers(OpenRtb.NativeResponse.EventTracker.Builder builderForValue)
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;
-
addEventtrackers
public OpenRtb.NativeResponse.Builder addEventtrackers(int index, OpenRtb.NativeResponse.EventTracker.Builder builderForValue)
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;
-
addAllEventtrackers
public OpenRtb.NativeResponse.Builder addAllEventtrackers(Iterable<? extends OpenRtb.NativeResponse.EventTracker> values)
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;
-
clearEventtrackers
public OpenRtb.NativeResponse.Builder clearEventtrackers()
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;
-
removeEventtrackers
public OpenRtb.NativeResponse.Builder removeEventtrackers(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;
-
getEventtrackersBuilder
public OpenRtb.NativeResponse.EventTracker.Builder getEventtrackersBuilder(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;
-
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
-
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
-
addEventtrackersBuilder
public OpenRtb.NativeResponse.EventTracker.Builder addEventtrackersBuilder()
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;
-
addEventtrackersBuilder
public OpenRtb.NativeResponse.EventTracker.Builder addEventtrackersBuilder(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;
-
getEventtrackersBuilderList
public List<OpenRtb.NativeResponse.EventTracker.Builder> getEventtrackersBuilderList()
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;
-
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.
-
setPrivacy
public OpenRtb.NativeResponse.Builder setPrivacy(String value)
If support was indicated in the request, URL of a page informing the user about the buyer's targeting activity.
optional string privacy = 9;- Parameters:
value- The privacy to set.- Returns:
- This builder for chaining.
-
clearPrivacy
public OpenRtb.NativeResponse.Builder clearPrivacy()
If support was indicated in the request, URL of a page informing the user about the buyer's targeting activity.
optional string privacy = 9;- Returns:
- This builder for chaining.
-
setPrivacyBytes
public OpenRtb.NativeResponse.Builder setPrivacyBytes(com.google.protobuf.ByteString value)
If support was indicated in the request, URL of a page informing the user about the buyer's targeting activity.
optional string privacy = 9;- Parameters:
value- The bytes for privacy to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final OpenRtb.NativeResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<OpenRtb.NativeResponse.Builder>
-
mergeUnknownFields
public final OpenRtb.NativeResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<OpenRtb.NativeResponse.Builder>
-
-