public static final class Openrtb.NativeResponse extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<Openrtb.NativeResponse> implements Openrtb.NativeResponseOrBuilder
OpenRTB Native 5.2: The native response object is the top level JSON object which identifies an native response.Protobuf type
openrtb.NativeResponse| Modifier and Type | Class and Description |
|---|---|
static class |
Openrtb.NativeResponse.Asset
OpenRTB Native 5.3: Corresponds to the Asset Object in the request.
|
static interface |
Openrtb.NativeResponse.AssetOrBuilder |
static class |
Openrtb.NativeResponse.Builder
OpenRTB Native 5.2: The native response object is the top level JSON object which identifies
an native response.
|
static class |
Openrtb.NativeResponse.Link
OpenRTB Native 5.8: Used for "call to action" assets, or other links from the Native ad.
|
static interface |
Openrtb.NativeResponse.LinkOrBuilder |
com.google.protobuf.GeneratedMessageV3.ExtendableMessage.ExtensionWritercom.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 |
ASSETS_FIELD_NUMBER |
static int |
IMPTRACKERS_FIELD_NUMBER |
static int |
JSTRACKER_FIELD_NUMBER |
static int |
LINK_FIELD_NUMBER |
static com.google.protobuf.Parser<Openrtb.NativeResponse> |
PARSER
Deprecated.
|
static int |
VER_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Openrtb.NativeResponse.Asset |
getAssets(int index)
List of native ad's assets.
|
int |
getAssetsCount()
List of native ad's assets.
|
List<Openrtb.NativeResponse.Asset> |
getAssetsList()
List of native ad's assets.
|
Openrtb.NativeResponse.AssetOrBuilder |
getAssetsOrBuilder(int index)
List of native ad's assets.
|
List<? extends Openrtb.NativeResponse.AssetOrBuilder> |
getAssetsOrBuilderList()
List of native ad's assets.
|
static Openrtb.NativeResponse |
getDefaultInstance() |
Openrtb.NativeResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getImptrackers(int index)
Array of impression tracking URLs, expected to return a 1x1 image or 204 response -
typically only passed when using 3rd party trackers.
|
com.google.protobuf.ByteString |
getImptrackersBytes(int index)
Array of impression tracking URLs, expected to return a 1x1 image or 204 response -
typically only passed when using 3rd party trackers.
|
int |
getImptrackersCount()
Array of impression tracking URLs, expected to return a 1x1 image or 204 response -
typically only passed when using 3rd party trackers.
|
com.google.protobuf.ProtocolStringList |
getImptrackersList()
Array of impression tracking URLs, expected to return a 1x1 image or 204 response -
typically only passed when using 3rd party trackers.
|
String |
getJstracker()
Optional javascript impression tracker.
|
com.google.protobuf.ByteString |
getJstrackerBytes()
Optional javascript impression tracker.
|
Openrtb.NativeResponse.Link |
getLink()
Destination Link.
|
Openrtb.NativeResponse.LinkOrBuilder |
getLinkOrBuilder()
Destination Link.
|
com.google.protobuf.Parser<Openrtb.NativeResponse> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
String |
getVer()
Version of the Native Markup version in use.
|
com.google.protobuf.ByteString |
getVerBytes()
Version of the Native Markup version in use.
|
int |
hashCode() |
boolean |
hasJstracker()
Optional javascript impression tracker.
|
boolean |
hasLink()
Destination Link.
|
boolean |
hasVer()
Version of the Native Markup version in use.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Openrtb.NativeResponse.Builder |
newBuilder() |
static Openrtb.NativeResponse.Builder |
newBuilder(Openrtb.NativeResponse prototype) |
Openrtb.NativeResponse.Builder |
newBuilderForType() |
protected Openrtb.NativeResponse.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Openrtb.NativeResponse |
parseDelimitedFrom(InputStream input) |
static Openrtb.NativeResponse |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Openrtb.NativeResponse |
parseFrom(byte[] data) |
static Openrtb.NativeResponse |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Openrtb.NativeResponse |
parseFrom(com.google.protobuf.ByteString data) |
static Openrtb.NativeResponse |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Openrtb.NativeResponse |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Openrtb.NativeResponse |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Openrtb.NativeResponse |
parseFrom(InputStream input) |
static Openrtb.NativeResponse |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Openrtb.NativeResponse> |
parser() |
Openrtb.NativeResponse.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, parseDelimitedWithIOException, parseDelimitedWithIOException, 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, waitgetExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, hasExtension, hasExtension, hasExtensionpublic static final int VER_FIELD_NUMBER
public static final int ASSETS_FIELD_NUMBER
public static final int LINK_FIELD_NUMBER
public static final int IMPTRACKERS_FIELD_NUMBER
public static final int JSTRACKER_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<Openrtb.NativeResponse> 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 hasVer()
Version of the Native Markup version in use.
optional string ver = 1;hasVer in interface Openrtb.NativeResponseOrBuilderpublic String getVer()
Version of the Native Markup version in use.
optional string ver = 1;getVer in interface Openrtb.NativeResponseOrBuilderpublic com.google.protobuf.ByteString getVerBytes()
Version of the Native Markup version in use.
optional string ver = 1;getVerBytes in interface Openrtb.NativeResponseOrBuilderpublic List<Openrtb.NativeResponse.Asset> getAssetsList()
List of native ad's assets.
repeated .openrtb.NativeResponse.Asset assets = 2;getAssetsList in interface Openrtb.NativeResponseOrBuilderpublic List<? extends Openrtb.NativeResponse.AssetOrBuilder> getAssetsOrBuilderList()
List of native ad's assets.
repeated .openrtb.NativeResponse.Asset assets = 2;getAssetsOrBuilderList in interface Openrtb.NativeResponseOrBuilderpublic int getAssetsCount()
List of native ad's assets.
repeated .openrtb.NativeResponse.Asset assets = 2;getAssetsCount in interface Openrtb.NativeResponseOrBuilderpublic Openrtb.NativeResponse.Asset getAssets(int index)
List of native ad's assets.
repeated .openrtb.NativeResponse.Asset assets = 2;getAssets in interface Openrtb.NativeResponseOrBuilderpublic Openrtb.NativeResponse.AssetOrBuilder getAssetsOrBuilder(int index)
List of native ad's assets.
repeated .openrtb.NativeResponse.Asset assets = 2;getAssetsOrBuilder in interface Openrtb.NativeResponseOrBuilderpublic boolean hasLink()
Destination Link.
required .openrtb.NativeResponse.Link link = 3;hasLink in interface Openrtb.NativeResponseOrBuilderpublic Openrtb.NativeResponse.Link getLink()
Destination Link.
required .openrtb.NativeResponse.Link link = 3;getLink in interface Openrtb.NativeResponseOrBuilderpublic Openrtb.NativeResponse.LinkOrBuilder getLinkOrBuilder()
Destination Link.
required .openrtb.NativeResponse.Link link = 3;getLinkOrBuilder in interface Openrtb.NativeResponseOrBuilderpublic com.google.protobuf.ProtocolStringList getImptrackersList()
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;getImptrackersList in interface Openrtb.NativeResponseOrBuilderpublic int getImptrackersCount()
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;getImptrackersCount in interface Openrtb.NativeResponseOrBuilderpublic String getImptrackers(int index)
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;getImptrackers in interface Openrtb.NativeResponseOrBuilderpublic com.google.protobuf.ByteString getImptrackersBytes(int index)
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;getImptrackersBytes in interface Openrtb.NativeResponseOrBuilderpublic boolean hasJstracker()
Optional javascript impression tracker. Contains <script> tags to be executed at impression time where it can be supported.
optional string jstracker = 5;hasJstracker in interface Openrtb.NativeResponseOrBuilderpublic String getJstracker()
Optional javascript impression tracker. Contains <script> tags to be executed at impression time where it can be supported.
optional string jstracker = 5;getJstracker in interface Openrtb.NativeResponseOrBuilderpublic com.google.protobuf.ByteString getJstrackerBytes()
Optional javascript impression tracker. Contains <script> tags to be executed at impression time where it can be supported.
optional string jstracker = 5;getJstrackerBytes in interface Openrtb.NativeResponseOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.ExtendableMessage<Openrtb.NativeResponse>public 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.NativeResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Openrtb.NativeResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Openrtb.NativeResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Openrtb.NativeResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Openrtb.NativeResponse parseFrom(InputStream input) throws IOException
IOExceptionpublic static Openrtb.NativeResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Openrtb.NativeResponse parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Openrtb.NativeResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Openrtb.NativeResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Openrtb.NativeResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Openrtb.NativeResponse.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Openrtb.NativeResponse.Builder newBuilder()
public static Openrtb.NativeResponse.Builder newBuilder(Openrtb.NativeResponse prototype)
public Openrtb.NativeResponse.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Openrtb.NativeResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Openrtb.NativeResponse getDefaultInstance()
public static com.google.protobuf.Parser<Openrtb.NativeResponse> parser()
public com.google.protobuf.Parser<Openrtb.NativeResponse> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Openrtb.NativeResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<Openrtb.NativeResponse>getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2017. All rights reserved.