public static final class Openrtb.BidRequest.Impression.Native extends com.google.protobuf.GeneratedMessageV3 implements Openrtb.BidRequest.Impression.NativeOrBuilder
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.Protobuf type
openrtb.BidRequest.Impression.Native| Modifier and Type | Class and Description |
|---|---|
static class |
Openrtb.BidRequest.Impression.Native.Builder
OpenRTB 3.2.5: This object represents a native type impression.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| 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 |
|---|---|
boolean |
equals(Object obj) |
OpenrtbCommon.Enums.BidRequest.Impression.ApiFramework |
getApi(int index)
List of supported API frameworks for this impression.
|
int |
getApiCount()
List of supported API frameworks for this impression.
|
List<OpenrtbCommon.Enums.BidRequest.Impression.ApiFramework> |
getApiList()
List of supported API frameworks for this impression.
|
OpenrtbCommon.CreativeAttribute |
getBattr(int index)
Blocked creative attributes.
|
int |
getBattrCount()
Blocked creative attributes.
|
List<OpenrtbCommon.CreativeAttribute> |
getBattrList()
Blocked creative attributes.
|
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()
Request payload complying with the Native Ad Specification.
|
Openrtb.NativeRequestOrBuilder |
getRequestOrBuilder()
Request payload complying with the Native Ad Specification.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
String |
getVer()
Version of the Native Ad Specification to which request complies;
highly recommended for efficient parsing.
|
com.google.protobuf.ByteString |
getVerBytes()
Version of the Native Ad Specification to which request complies;
highly recommended for efficient parsing.
|
boolean |
hasExt()
optional .openrtb.NativeExtensions ext = 1000; |
int |
hashCode() |
boolean |
hasRequest()
Request payload complying with the Native Ad Specification.
|
boolean |
hasVer()
Version of the Native Ad Specification to which request complies;
highly recommended for efficient parsing.
|
protected com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, 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.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasRequest()
Request payload complying with the Native Ad Specification.
required .openrtb.NativeRequest request = 1;hasRequest in interface Openrtb.BidRequest.Impression.NativeOrBuilderpublic Openrtb.NativeRequest getRequest()
Request payload complying with the Native Ad Specification.
required .openrtb.NativeRequest request = 1;getRequest in interface Openrtb.BidRequest.Impression.NativeOrBuilderpublic Openrtb.NativeRequestOrBuilder getRequestOrBuilder()
Request payload complying with the Native Ad Specification.
required .openrtb.NativeRequest request = 1;getRequestOrBuilder in interface Openrtb.BidRequest.Impression.NativeOrBuilderpublic boolean hasVer()
Version of the Native Ad Specification to which request complies; highly recommended for efficient parsing.
optional string ver = 2;hasVer in interface Openrtb.BidRequest.Impression.NativeOrBuilderpublic String getVer()
Version of the Native Ad Specification to which request complies; highly recommended for efficient parsing.
optional string ver = 2;getVer in interface Openrtb.BidRequest.Impression.NativeOrBuilderpublic com.google.protobuf.ByteString getVerBytes()
Version of the Native Ad Specification to which request complies; highly recommended for efficient parsing.
optional string ver = 2;getVerBytes in interface Openrtb.BidRequest.Impression.NativeOrBuilderpublic List<OpenrtbCommon.Enums.BidRequest.Impression.ApiFramework> getApiList()
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.
repeated .openrtb.Enums.BidRequest.Impression.ApiFramework api = 3 [packed = true];getApiList in interface Openrtb.BidRequest.Impression.NativeOrBuilderpublic int getApiCount()
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.
repeated .openrtb.Enums.BidRequest.Impression.ApiFramework api = 3 [packed = true];getApiCount in interface Openrtb.BidRequest.Impression.NativeOrBuilderpublic OpenrtbCommon.Enums.BidRequest.Impression.ApiFramework getApi(int index)
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.
repeated .openrtb.Enums.BidRequest.Impression.ApiFramework api = 3 [packed = true];getApi in interface Openrtb.BidRequest.Impression.NativeOrBuilderpublic List<OpenrtbCommon.CreativeAttribute> getBattrList()
Blocked creative attributes. Refer to List 5.3.
repeated .openrtb.CreativeAttribute battr = 4 [packed = true];getBattrList in interface Openrtb.BidRequest.Impression.NativeOrBuilderpublic int getBattrCount()
Blocked creative attributes. Refer to List 5.3.
repeated .openrtb.CreativeAttribute battr = 4 [packed = true];getBattrCount in interface Openrtb.BidRequest.Impression.NativeOrBuilderpublic OpenrtbCommon.CreativeAttribute getBattr(int index)
Blocked creative attributes. Refer to List 5.3.
repeated .openrtb.CreativeAttribute battr = 4 [packed = true];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.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic 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.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public 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.GeneratedMessageV3public Openrtb.BidRequest.Impression.Native getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2017. All rights reserved.