public static final class Openrtb.BidRequest.Impression.Native extends com.google.protobuf.GeneratedMessage implements Openrtb.BidRequest.Impression.NativeOrBuilder
openrtb.BidRequest.Impression.Native
OpenRTB 3.2.5: This object represents a native type impression. Native ad units are intended to blend seamlessly into the surrounding content (e.g., a sponsored Twitter or Facebook post). As such, the response must be well-structured to afford the publisher fine-grained control over rendering. The Native Subcommittee has developed a companion specification to OpenRTB called the Native Ad Specification. It defines the request parameters and response markup structure of native ad units. This object provides the means of transporting request parameters as an opaque string so that the specific parameters can evolve separately under the auspices of the Native Ad Specification. Similarly, the ad markup served will be structured according to that specification. The presence of a Native as a subordinate of the Imp object indicates that this impression is offered as a native type impression. At the publisher's discretion, that same impression may also be offered as banner and/or video by also including as Imp subordinates the Banner and/or Video objects, respectively. However, any given bid for the impression must conform to one of the offered types.
| Modifier and Type | Class and Description |
|---|---|
static class |
Openrtb.BidRequest.Impression.Native.Builder
Protobuf type
openrtb.BidRequest.Impression.Native |
com.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 |
API_FIELD_NUMBER |
static int |
BATTR_FIELD_NUMBER |
static int |
EXT_FIELD_NUMBER |
static com.google.protobuf.Parser<Openrtb.BidRequest.Impression.Native> |
PARSER
Deprecated.
|
static int |
REQUEST_FIELD_NUMBER |
static int |
VER_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
OpenrtbCommon.Enums.BidRequest.Impression.ApiFramework |
getApi(int index)
repeated .openrtb.Enums.BidRequest.Impression.ApiFramework api = 3 [packed = true]; |
int |
getApiCount()
repeated .openrtb.Enums.BidRequest.Impression.ApiFramework api = 3 [packed = true]; |
List<OpenrtbCommon.Enums.BidRequest.Impression.ApiFramework> |
getApiList()
repeated .openrtb.Enums.BidRequest.Impression.ApiFramework api = 3 [packed = true]; |
OpenrtbCommon.CreativeAttribute |
getBattr(int index)
repeated .openrtb.CreativeAttribute battr = 4 [packed = true]; |
int |
getBattrCount()
repeated .openrtb.CreativeAttribute battr = 4 [packed = true]; |
List<OpenrtbCommon.CreativeAttribute> |
getBattrList()
repeated .openrtb.CreativeAttribute battr = 4 [packed = true]; |
static Openrtb.BidRequest.Impression.Native |
getDefaultInstance() |
Openrtb.BidRequest.Impression.Native |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Extension.NativeExtensions |
getExt()
optional .openrtb.NativeExtensions ext = 1000; |
Extension.NativeExtensionsOrBuilder |
getExtOrBuilder()
optional .openrtb.NativeExtensions ext = 1000; |
com.google.protobuf.Parser<Openrtb.BidRequest.Impression.Native> |
getParserForType() |
Openrtb.NativeRequest |
getRequest()
required .openrtb.NativeRequest request = 1; |
Openrtb.NativeRequestOrBuilder |
getRequestOrBuilder()
required .openrtb.NativeRequest request = 1; |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
String |
getVer()
optional string ver = 2; |
com.google.protobuf.ByteString |
getVerBytes()
optional string ver = 2; |
boolean |
hasExt()
optional .openrtb.NativeExtensions ext = 1000; |
boolean |
hasRequest()
required .openrtb.NativeRequest request = 1; |
boolean |
hasVer()
optional string ver = 2; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Openrtb.BidRequest.Impression.Native.Builder |
newBuilder() |
static Openrtb.BidRequest.Impression.Native.Builder |
newBuilder(Openrtb.BidRequest.Impression.Native prototype) |
Openrtb.BidRequest.Impression.Native.Builder |
newBuilderForType() |
protected Openrtb.BidRequest.Impression.Native.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static Openrtb.BidRequest.Impression.Native |
parseDelimitedFrom(InputStream input) |
static Openrtb.BidRequest.Impression.Native |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Openrtb.BidRequest.Impression.Native |
parseFrom(byte[] data) |
static Openrtb.BidRequest.Impression.Native |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Openrtb.BidRequest.Impression.Native |
parseFrom(com.google.protobuf.ByteString data) |
static Openrtb.BidRequest.Impression.Native |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Openrtb.BidRequest.Impression.Native |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Openrtb.BidRequest.Impression.Native |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Openrtb.BidRequest.Impression.Native |
parseFrom(InputStream input) |
static Openrtb.BidRequest.Impression.Native |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Openrtb.BidRequest.Impression.Native> |
parser() |
Openrtb.BidRequest.Impression.Native.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, 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, waitpublic static final int REQUEST_FIELD_NUMBER
public static final int VER_FIELD_NUMBER
public static final int API_FIELD_NUMBER
public static final int BATTR_FIELD_NUMBER
public static final int EXT_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<Openrtb.BidRequest.Impression.Native> 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 hasRequest()
required .openrtb.NativeRequest request = 1;
Request payload complying with the Native Ad Specification.
hasRequest in interface Openrtb.BidRequest.Impression.NativeOrBuilderpublic Openrtb.NativeRequest getRequest()
required .openrtb.NativeRequest request = 1;
Request payload complying with the Native Ad Specification.
getRequest in interface Openrtb.BidRequest.Impression.NativeOrBuilderpublic Openrtb.NativeRequestOrBuilder getRequestOrBuilder()
required .openrtb.NativeRequest request = 1;
Request payload complying with the Native Ad Specification.
getRequestOrBuilder in interface Openrtb.BidRequest.Impression.NativeOrBuilderpublic boolean hasVer()
optional string ver = 2;
Version of the Native Ad Specification to which request complies; highly recommended for efficient parsing.
hasVer in interface Openrtb.BidRequest.Impression.NativeOrBuilderpublic String getVer()
optional string ver = 2;
Version of the Native Ad Specification to which request complies; highly recommended for efficient parsing.
getVer in interface Openrtb.BidRequest.Impression.NativeOrBuilderpublic com.google.protobuf.ByteString getVerBytes()
optional string ver = 2;
Version of the Native Ad Specification to which request complies; highly recommended for efficient parsing.
getVerBytes in interface Openrtb.BidRequest.Impression.NativeOrBuilderpublic List<OpenrtbCommon.Enums.BidRequest.Impression.ApiFramework> getApiList()
repeated .openrtb.Enums.BidRequest.Impression.ApiFramework api = 3 [packed = true];
List of supported API frameworks for this impression. Refer to List 5.6. If an API is not explicitly listed, it is assumed not to be supported.
getApiList in interface Openrtb.BidRequest.Impression.NativeOrBuilderpublic int getApiCount()
repeated .openrtb.Enums.BidRequest.Impression.ApiFramework api = 3 [packed = true];
List of supported API frameworks for this impression. Refer to List 5.6. If an API is not explicitly listed, it is assumed not to be supported.
getApiCount in interface Openrtb.BidRequest.Impression.NativeOrBuilderpublic OpenrtbCommon.Enums.BidRequest.Impression.ApiFramework getApi(int index)
repeated .openrtb.Enums.BidRequest.Impression.ApiFramework api = 3 [packed = true];
List of supported API frameworks for this impression. Refer to List 5.6. If an API is not explicitly listed, it is assumed not to be supported.
getApi in interface Openrtb.BidRequest.Impression.NativeOrBuilderpublic List<OpenrtbCommon.CreativeAttribute> getBattrList()
repeated .openrtb.CreativeAttribute battr = 4 [packed = true];
Blocked creative attributes. Refer to List 5.3.
getBattrList in interface Openrtb.BidRequest.Impression.NativeOrBuilderpublic int getBattrCount()
repeated .openrtb.CreativeAttribute battr = 4 [packed = true];
Blocked creative attributes. Refer to List 5.3.
getBattrCount in interface Openrtb.BidRequest.Impression.NativeOrBuilderpublic OpenrtbCommon.CreativeAttribute getBattr(int index)
repeated .openrtb.CreativeAttribute battr = 4 [packed = true];
Blocked creative attributes. Refer to List 5.3.
getBattr in interface Openrtb.BidRequest.Impression.NativeOrBuilderpublic boolean hasExt()
optional .openrtb.NativeExtensions ext = 1000;hasExt in interface Openrtb.BidRequest.Impression.NativeOrBuilderpublic Extension.NativeExtensions getExt()
optional .openrtb.NativeExtensions ext = 1000;getExt in interface Openrtb.BidRequest.Impression.NativeOrBuilderpublic Extension.NativeExtensionsOrBuilder getExtOrBuilder()
optional .openrtb.NativeExtensions ext = 1000;getExtOrBuilder in interface Openrtb.BidRequest.Impression.NativeOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic 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.BidRequest.Impression.Native parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Openrtb.BidRequest.Impression.Native parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Openrtb.BidRequest.Impression.Native parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Openrtb.BidRequest.Impression.Native parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Openrtb.BidRequest.Impression.Native parseFrom(InputStream input) throws IOException
IOExceptionpublic static Openrtb.BidRequest.Impression.Native parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Openrtb.BidRequest.Impression.Native parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Openrtb.BidRequest.Impression.Native parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Openrtb.BidRequest.Impression.Native parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Openrtb.BidRequest.Impression.Native parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Openrtb.BidRequest.Impression.Native.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Openrtb.BidRequest.Impression.Native.Builder newBuilder()
public static Openrtb.BidRequest.Impression.Native.Builder newBuilder(Openrtb.BidRequest.Impression.Native prototype)
public Openrtb.BidRequest.Impression.Native.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Openrtb.BidRequest.Impression.Native.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessagepublic static Openrtb.BidRequest.Impression.Native getDefaultInstance()
public static com.google.protobuf.Parser<Openrtb.BidRequest.Impression.Native> parser()
public com.google.protobuf.Parser<Openrtb.BidRequest.Impression.Native> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic Openrtb.BidRequest.Impression.Native getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2017. All rights reserved.