public static final class Openrtb.NativeRequest extends com.google.protobuf.GeneratedMessage.ExtendableMessage<Openrtb.NativeRequest> 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 | Class and Description |
|---|---|
static class |
Openrtb.NativeRequest.AdUnitId
Protobuf enum
openrtb.NativeRequest.AdUnitId |
static class |
Openrtb.NativeRequest.Asset
Protobuf type
openrtb.NativeRequest.Asset |
static interface |
Openrtb.NativeRequest.AssetOrBuilder |
static class |
Openrtb.NativeRequest.Builder
Protobuf type
openrtb.NativeRequest |
static class |
Openrtb.NativeRequest.LayoutId
Protobuf enum
openrtb.NativeRequest.LayoutId |
com.google.protobuf.GeneratedMessage.ExtendableMessage.ExtensionWritercom.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>| Modifier and Type | Field and Description |
|---|---|
static int |
ADUNIT_FIELD_NUMBER |
static int |
ASSETS_FIELD_NUMBER |
static int |
LAYOUT_FIELD_NUMBER |
static com.google.protobuf.Parser<Openrtb.NativeRequest> |
PARSER
Deprecated.
|
static int |
PLCMTCNT_FIELD_NUMBER |
static int |
SEQ_FIELD_NUMBER |
static int |
VER_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
Openrtb.NativeRequest.AdUnitId |
getAdunit()
optional .openrtb.NativeRequest.AdUnitId adunit = 3; |
Openrtb.NativeRequest.Asset |
getAssets(int index)
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; |
static Openrtb.NativeRequest |
getDefaultInstance() |
Openrtb.NativeRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Openrtb.NativeRequest.LayoutId |
getLayout()
optional .openrtb.NativeRequest.LayoutId layout = 2; |
com.google.protobuf.Parser<Openrtb.NativeRequest> |
getParserForType() |
int |
getPlcmtcnt()
optional int32 plcmtcnt = 4 [default = 1]; |
int |
getSeq()
optional int32 seq = 5 [default = 0]; |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
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() |
static Openrtb.NativeRequest.Builder |
newBuilder() |
static Openrtb.NativeRequest.Builder |
newBuilder(Openrtb.NativeRequest prototype) |
Openrtb.NativeRequest.Builder |
newBuilderForType() |
protected Openrtb.NativeRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static Openrtb.NativeRequest |
parseDelimitedFrom(InputStream input) |
static Openrtb.NativeRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Openrtb.NativeRequest |
parseFrom(byte[] data) |
static Openrtb.NativeRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Openrtb.NativeRequest |
parseFrom(com.google.protobuf.ByteString data) |
static Openrtb.NativeRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Openrtb.NativeRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Openrtb.NativeRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Openrtb.NativeRequest |
parseFrom(InputStream input) |
static Openrtb.NativeRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Openrtb.NativeRequest> |
parser() |
Openrtb.NativeRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
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, parseUnknownFieldcomputeStringSize, computeStringSizeNoTag, getDescriptorForType, getOneofFieldDescriptor, hasOneof, internalGetMapField, newBuilderForType, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, writeReplace, writeString, writeStringNoTagequals, findInitializationErrors, getInitializationErrorString, hashBoolean, hashCode, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, hasExtension, hasExtension, hasExtensionpublic static final int VER_FIELD_NUMBER
public static final int LAYOUT_FIELD_NUMBER
public static final int ADUNIT_FIELD_NUMBER
public static final int PLCMTCNT_FIELD_NUMBER
public static final int SEQ_FIELD_NUMBER
public static final int ASSETS_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<Openrtb.NativeRequest> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic 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 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 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 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 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 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 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 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.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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.ExtendableMessage<Openrtb.NativeRequest>public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessagepublic static Openrtb.NativeRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Openrtb.NativeRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Openrtb.NativeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Openrtb.NativeRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Openrtb.NativeRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static Openrtb.NativeRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Openrtb.NativeRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Openrtb.NativeRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Openrtb.NativeRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Openrtb.NativeRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Openrtb.NativeRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Openrtb.NativeRequest.Builder newBuilder()
public static Openrtb.NativeRequest.Builder newBuilder(Openrtb.NativeRequest prototype)
public Openrtb.NativeRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Openrtb.NativeRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessagepublic static Openrtb.NativeRequest getDefaultInstance()
public static com.google.protobuf.Parser<Openrtb.NativeRequest> parser()
public com.google.protobuf.Parser<Openrtb.NativeRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic 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.MessageOrBuilderCopyright © 2017. All rights reserved.