public static final class Openrtb.NativeRequest.Builder extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<Openrtb.NativeRequest,Openrtb.NativeRequest.Builder> implements Openrtb.NativeRequestOrBuilder
openrtb.NativeRequest
OpenRTB Native 4.1: The Native Object defines the native advertising opportunity available for bid via this bid request. It must be included directly in the impression object if the impression offered for auction is a native ad format.
| Modifier and Type | Method and Description |
|---|---|
Openrtb.NativeRequest.Builder |
addAllAssets(Iterable<? extends Openrtb.NativeRequest.Asset> values)
repeated .openrtb.NativeRequest.Asset assets = 6; |
Openrtb.NativeRequest.Builder |
addAssets(int index,
Openrtb.NativeRequest.Asset.Builder builderForValue)
repeated .openrtb.NativeRequest.Asset assets = 6; |
Openrtb.NativeRequest.Builder |
addAssets(int index,
Openrtb.NativeRequest.Asset value)
repeated .openrtb.NativeRequest.Asset assets = 6; |
Openrtb.NativeRequest.Builder |
addAssets(Openrtb.NativeRequest.Asset.Builder builderForValue)
repeated .openrtb.NativeRequest.Asset assets = 6; |
Openrtb.NativeRequest.Builder |
addAssets(Openrtb.NativeRequest.Asset value)
repeated .openrtb.NativeRequest.Asset assets = 6; |
Openrtb.NativeRequest.Asset.Builder |
addAssetsBuilder()
repeated .openrtb.NativeRequest.Asset assets = 6; |
Openrtb.NativeRequest.Asset.Builder |
addAssetsBuilder(int index)
repeated .openrtb.NativeRequest.Asset assets = 6; |
Openrtb.NativeRequest |
build() |
Openrtb.NativeRequest |
buildPartial() |
Openrtb.NativeRequest.Builder |
clear() |
Openrtb.NativeRequest.Builder |
clearAdunit()
optional .openrtb.NativeRequest.AdUnitId adunit = 3; |
Openrtb.NativeRequest.Builder |
clearAssets()
repeated .openrtb.NativeRequest.Asset assets = 6; |
Openrtb.NativeRequest.Builder |
clearLayout()
optional .openrtb.NativeRequest.LayoutId layout = 2; |
Openrtb.NativeRequest.Builder |
clearPlcmtcnt()
optional int32 plcmtcnt = 4 [default = 1]; |
Openrtb.NativeRequest.Builder |
clearSeq()
optional int32 seq = 5 [default = 0]; |
Openrtb.NativeRequest.Builder |
clearVer()
optional string ver = 1; |
Openrtb.NativeRequest.AdUnitId |
getAdunit()
optional .openrtb.NativeRequest.AdUnitId adunit = 3; |
Openrtb.NativeRequest.Asset |
getAssets(int index)
repeated .openrtb.NativeRequest.Asset assets = 6; |
Openrtb.NativeRequest.Asset.Builder |
getAssetsBuilder(int index)
repeated .openrtb.NativeRequest.Asset assets = 6; |
List<Openrtb.NativeRequest.Asset.Builder> |
getAssetsBuilderList()
repeated .openrtb.NativeRequest.Asset assets = 6; |
int |
getAssetsCount()
repeated .openrtb.NativeRequest.Asset assets = 6; |
List<Openrtb.NativeRequest.Asset> |
getAssetsList()
repeated .openrtb.NativeRequest.Asset assets = 6; |
Openrtb.NativeRequest.AssetOrBuilder |
getAssetsOrBuilder(int index)
repeated .openrtb.NativeRequest.Asset assets = 6; |
List<? extends Openrtb.NativeRequest.AssetOrBuilder> |
getAssetsOrBuilderList()
repeated .openrtb.NativeRequest.Asset assets = 6; |
Openrtb.NativeRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Openrtb.NativeRequest.LayoutId |
getLayout()
optional .openrtb.NativeRequest.LayoutId layout = 2; |
int |
getPlcmtcnt()
optional int32 plcmtcnt = 4 [default = 1]; |
int |
getSeq()
optional int32 seq = 5 [default = 0]; |
String |
getVer()
optional string ver = 1; |
com.google.protobuf.ByteString |
getVerBytes()
optional string ver = 1; |
boolean |
hasAdunit()
optional .openrtb.NativeRequest.AdUnitId adunit = 3; |
boolean |
hasLayout()
optional .openrtb.NativeRequest.LayoutId layout = 2; |
boolean |
hasPlcmtcnt()
optional int32 plcmtcnt = 4 [default = 1]; |
boolean |
hasSeq()
optional int32 seq = 5 [default = 0]; |
boolean |
hasVer()
optional string ver = 1; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Openrtb.NativeRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Openrtb.NativeRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
Openrtb.NativeRequest.Builder |
mergeFrom(Openrtb.NativeRequest other) |
Openrtb.NativeRequest.Builder |
removeAssets(int index)
repeated .openrtb.NativeRequest.Asset assets = 6; |
Openrtb.NativeRequest.Builder |
setAdunit(Openrtb.NativeRequest.AdUnitId value)
optional .openrtb.NativeRequest.AdUnitId adunit = 3; |
Openrtb.NativeRequest.Builder |
setAssets(int index,
Openrtb.NativeRequest.Asset.Builder builderForValue)
repeated .openrtb.NativeRequest.Asset assets = 6; |
Openrtb.NativeRequest.Builder |
setAssets(int index,
Openrtb.NativeRequest.Asset value)
repeated .openrtb.NativeRequest.Asset assets = 6; |
Openrtb.NativeRequest.Builder |
setLayout(Openrtb.NativeRequest.LayoutId value)
optional .openrtb.NativeRequest.LayoutId layout = 2; |
Openrtb.NativeRequest.Builder |
setPlcmtcnt(int value)
optional int32 plcmtcnt = 4 [default = 1]; |
Openrtb.NativeRequest.Builder |
setSeq(int value)
optional int32 seq = 5 [default = 0]; |
Openrtb.NativeRequest.Builder |
setVer(String value)
optional string ver = 1; |
Openrtb.NativeRequest.Builder |
setVerBytes(com.google.protobuf.ByteString value)
optional string ver = 1; |
addExtension, addExtension, addExtension, addRepeatedField, clearExtension, clearExtension, clearExtension, clearField, clone, extensionsAreInitialized, getAllFields, getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, getField, getRepeatedField, getRepeatedFieldCount, hasExtension, hasExtension, hasExtension, hasField, mergeExtensionFields, parseUnknownField, setExtension, setExtension, setExtension, setExtension, setExtension, setExtension, setField, setRepeatedFieldclearOneof, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedFieldBuilder, getUnknownFields, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, setUnknownFieldsfindInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, hasExtension, hasExtension, hasExtensionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Openrtb.NativeRequest.Builder>public Openrtb.NativeRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.ExtendableBuilder<Openrtb.NativeRequest,Openrtb.NativeRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Openrtb.NativeRequest.Builder>public Openrtb.NativeRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<Openrtb.NativeRequest>getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Openrtb.NativeRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Openrtb.NativeRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Openrtb.NativeRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Openrtb.NativeRequest.Builder>public Openrtb.NativeRequest.Builder mergeFrom(Openrtb.NativeRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.ExtendableBuilder<Openrtb.NativeRequest,Openrtb.NativeRequest.Builder>public Openrtb.NativeRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Openrtb.NativeRequest.Builder>IOExceptionpublic boolean hasVer()
optional string ver = 1;
Version of the Native Markup version in use.
hasVer in interface Openrtb.NativeRequestOrBuilderpublic String getVer()
optional string ver = 1;
Version of the Native Markup version in use.
getVer in interface Openrtb.NativeRequestOrBuilderpublic com.google.protobuf.ByteString getVerBytes()
optional string ver = 1;
Version of the Native Markup version in use.
getVerBytes in interface Openrtb.NativeRequestOrBuilderpublic Openrtb.NativeRequest.Builder setVer(String value)
optional string ver = 1;
Version of the Native Markup version in use.
public Openrtb.NativeRequest.Builder clearVer()
optional string ver = 1;
Version of the Native Markup version in use.
public Openrtb.NativeRequest.Builder setVerBytes(com.google.protobuf.ByteString value)
optional string ver = 1;
Version of the Native Markup version in use.
public boolean hasLayout()
optional .openrtb.NativeRequest.LayoutId layout = 2;
The Layout ID of the native ad unit. This field is not required, but it's highly recommended.
hasLayout in interface Openrtb.NativeRequestOrBuilderpublic Openrtb.NativeRequest.LayoutId getLayout()
optional .openrtb.NativeRequest.LayoutId layout = 2;
The Layout ID of the native ad unit. This field is not required, but it's highly recommended.
getLayout in interface Openrtb.NativeRequestOrBuilderpublic Openrtb.NativeRequest.Builder setLayout(Openrtb.NativeRequest.LayoutId value)
optional .openrtb.NativeRequest.LayoutId layout = 2;
The Layout ID of the native ad unit. This field is not required, but it's highly recommended.
public Openrtb.NativeRequest.Builder clearLayout()
optional .openrtb.NativeRequest.LayoutId layout = 2;
The Layout ID of the native ad unit. This field is not required, but it's highly recommended.
public boolean hasAdunit()
optional .openrtb.NativeRequest.AdUnitId adunit = 3;
The Ad unit ID of the native ad unit. This corresponds to one of IAB Core-6 native ad units. This field is not required, but it's highly recommended.
hasAdunit in interface Openrtb.NativeRequestOrBuilderpublic Openrtb.NativeRequest.AdUnitId getAdunit()
optional .openrtb.NativeRequest.AdUnitId adunit = 3;
The Ad unit ID of the native ad unit. This corresponds to one of IAB Core-6 native ad units. This field is not required, but it's highly recommended.
getAdunit in interface Openrtb.NativeRequestOrBuilderpublic Openrtb.NativeRequest.Builder setAdunit(Openrtb.NativeRequest.AdUnitId value)
optional .openrtb.NativeRequest.AdUnitId adunit = 3;
The Ad unit ID of the native ad unit. This corresponds to one of IAB Core-6 native ad units. This field is not required, but it's highly recommended.
public Openrtb.NativeRequest.Builder clearAdunit()
optional .openrtb.NativeRequest.AdUnitId adunit = 3;
The Ad unit ID of the native ad unit. This corresponds to one of IAB Core-6 native ad units. This field is not required, but it's highly recommended.
public boolean hasPlcmtcnt()
optional int32 plcmtcnt = 4 [default = 1];
The number of identical placements in this Layout.
hasPlcmtcnt in interface Openrtb.NativeRequestOrBuilderpublic int getPlcmtcnt()
optional int32 plcmtcnt = 4 [default = 1];
The number of identical placements in this Layout.
getPlcmtcnt in interface Openrtb.NativeRequestOrBuilderpublic Openrtb.NativeRequest.Builder setPlcmtcnt(int value)
optional int32 plcmtcnt = 4 [default = 1];
The number of identical placements in this Layout.
public Openrtb.NativeRequest.Builder clearPlcmtcnt()
optional int32 plcmtcnt = 4 [default = 1];
The number of identical placements in this Layout.
public boolean hasSeq()
optional int32 seq = 5 [default = 0];
0 for the first ad, 1 for the second ad, and so on. This is not the sequence number of the content in the stream.
hasSeq in interface Openrtb.NativeRequestOrBuilderpublic int getSeq()
optional int32 seq = 5 [default = 0];
0 for the first ad, 1 for the second ad, and so on. This is not the sequence number of the content in the stream.
getSeq in interface Openrtb.NativeRequestOrBuilderpublic Openrtb.NativeRequest.Builder setSeq(int value)
optional int32 seq = 5 [default = 0];
0 for the first ad, 1 for the second ad, and so on. This is not the sequence number of the content in the stream.
public Openrtb.NativeRequest.Builder clearSeq()
optional int32 seq = 5 [default = 0];
0 for the first ad, 1 for the second ad, and so on. This is not the sequence number of the content in the stream.
public List<Openrtb.NativeRequest.Asset> getAssetsList()
repeated .openrtb.NativeRequest.Asset assets = 6;
Any bid must comply with the array of elements expressed by the Exchange.
getAssetsList in interface Openrtb.NativeRequestOrBuilderpublic int getAssetsCount()
repeated .openrtb.NativeRequest.Asset assets = 6;
Any bid must comply with the array of elements expressed by the Exchange.
getAssetsCount in interface Openrtb.NativeRequestOrBuilderpublic Openrtb.NativeRequest.Asset getAssets(int index)
repeated .openrtb.NativeRequest.Asset assets = 6;
Any bid must comply with the array of elements expressed by the Exchange.
getAssets in interface Openrtb.NativeRequestOrBuilderpublic Openrtb.NativeRequest.Builder setAssets(int index, Openrtb.NativeRequest.Asset value)
repeated .openrtb.NativeRequest.Asset assets = 6;
Any bid must comply with the array of elements expressed by the Exchange.
public Openrtb.NativeRequest.Builder setAssets(int index, Openrtb.NativeRequest.Asset.Builder builderForValue)
repeated .openrtb.NativeRequest.Asset assets = 6;
Any bid must comply with the array of elements expressed by the Exchange.
public Openrtb.NativeRequest.Builder addAssets(Openrtb.NativeRequest.Asset value)
repeated .openrtb.NativeRequest.Asset assets = 6;
Any bid must comply with the array of elements expressed by the Exchange.
public Openrtb.NativeRequest.Builder addAssets(int index, Openrtb.NativeRequest.Asset value)
repeated .openrtb.NativeRequest.Asset assets = 6;
Any bid must comply with the array of elements expressed by the Exchange.
public Openrtb.NativeRequest.Builder addAssets(Openrtb.NativeRequest.Asset.Builder builderForValue)
repeated .openrtb.NativeRequest.Asset assets = 6;
Any bid must comply with the array of elements expressed by the Exchange.
public Openrtb.NativeRequest.Builder addAssets(int index, Openrtb.NativeRequest.Asset.Builder builderForValue)
repeated .openrtb.NativeRequest.Asset assets = 6;
Any bid must comply with the array of elements expressed by the Exchange.
public Openrtb.NativeRequest.Builder addAllAssets(Iterable<? extends Openrtb.NativeRequest.Asset> values)
repeated .openrtb.NativeRequest.Asset assets = 6;
Any bid must comply with the array of elements expressed by the Exchange.
public Openrtb.NativeRequest.Builder clearAssets()
repeated .openrtb.NativeRequest.Asset assets = 6;
Any bid must comply with the array of elements expressed by the Exchange.
public Openrtb.NativeRequest.Builder removeAssets(int index)
repeated .openrtb.NativeRequest.Asset assets = 6;
Any bid must comply with the array of elements expressed by the Exchange.
public Openrtb.NativeRequest.Asset.Builder getAssetsBuilder(int index)
repeated .openrtb.NativeRequest.Asset assets = 6;
Any bid must comply with the array of elements expressed by the Exchange.
public Openrtb.NativeRequest.AssetOrBuilder getAssetsOrBuilder(int index)
repeated .openrtb.NativeRequest.Asset assets = 6;
Any bid must comply with the array of elements expressed by the Exchange.
getAssetsOrBuilder in interface Openrtb.NativeRequestOrBuilderpublic List<? extends Openrtb.NativeRequest.AssetOrBuilder> getAssetsOrBuilderList()
repeated .openrtb.NativeRequest.Asset assets = 6;
Any bid must comply with the array of elements expressed by the Exchange.
getAssetsOrBuilderList in interface Openrtb.NativeRequestOrBuilderpublic Openrtb.NativeRequest.Asset.Builder addAssetsBuilder()
repeated .openrtb.NativeRequest.Asset assets = 6;
Any bid must comply with the array of elements expressed by the Exchange.
public Openrtb.NativeRequest.Asset.Builder addAssetsBuilder(int index)
repeated .openrtb.NativeRequest.Asset assets = 6;
Any bid must comply with the array of elements expressed by the Exchange.
public List<Openrtb.NativeRequest.Asset.Builder> getAssetsBuilderList()
repeated .openrtb.NativeRequest.Asset assets = 6;
Any bid must comply with the array of elements expressed by the Exchange.
Copyright © 2017. All rights reserved.