public static final class Openrtb.NativeResponse extends com.google.protobuf.GeneratedMessage.ExtendableMessage<Openrtb.NativeResponse> implements Openrtb.NativeResponseOrBuilder
openrtb.NativeResponse
OpenRTB Native 5.2: The native response object is the top level JSON object which identifies an native response.
| Modifier and Type | Class and Description |
|---|---|
static class |
Openrtb.NativeResponse.Asset
Protobuf type
openrtb.NativeResponse.Asset |
static interface |
Openrtb.NativeResponse.AssetOrBuilder |
static class |
Openrtb.NativeResponse.Builder
Protobuf type
openrtb.NativeResponse |
static class |
Openrtb.NativeResponse.Link
Protobuf type
openrtb.NativeResponse.Link |
static interface |
Openrtb.NativeResponse.LinkOrBuilder |
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 |
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 |
|---|---|
Openrtb.NativeResponse.Asset |
getAssets(int index)
repeated .openrtb.NativeResponse.Asset assets = 2; |
int |
getAssetsCount()
repeated .openrtb.NativeResponse.Asset assets = 2; |
List<Openrtb.NativeResponse.Asset> |
getAssetsList()
repeated .openrtb.NativeResponse.Asset assets = 2; |
Openrtb.NativeResponse.AssetOrBuilder |
getAssetsOrBuilder(int index)
repeated .openrtb.NativeResponse.Asset assets = 2; |
List<? extends Openrtb.NativeResponse.AssetOrBuilder> |
getAssetsOrBuilderList()
repeated .openrtb.NativeResponse.Asset assets = 2; |
static Openrtb.NativeResponse |
getDefaultInstance() |
Openrtb.NativeResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getImptrackers(int index)
repeated string imptrackers = 4; |
com.google.protobuf.ByteString |
getImptrackersBytes(int index)
repeated string imptrackers = 4; |
int |
getImptrackersCount()
repeated string imptrackers = 4; |
com.google.protobuf.ProtocolStringList |
getImptrackersList()
repeated string imptrackers = 4; |
String |
getJstracker()
optional string jstracker = 5; |
com.google.protobuf.ByteString |
getJstrackerBytes()
optional string jstracker = 5; |
Openrtb.NativeResponse.Link |
getLink()
required .openrtb.NativeResponse.Link link = 3; |
Openrtb.NativeResponse.LinkOrBuilder |
getLinkOrBuilder()
required .openrtb.NativeResponse.Link link = 3; |
com.google.protobuf.Parser<Openrtb.NativeResponse> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
String |
getVer()
optional string ver = 1; |
com.google.protobuf.ByteString |
getVerBytes()
optional string ver = 1; |
boolean |
hasJstracker()
optional string jstracker = 5; |
boolean |
hasLink()
required .openrtb.NativeResponse.Link link = 3; |
boolean |
hasVer()
optional string ver = 1; |
protected com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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, 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 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.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.NativeResponseOrBuilderpublic String getVer()
optional string ver = 1;
Version of the Native Markup version in use.
getVer in interface Openrtb.NativeResponseOrBuilderpublic com.google.protobuf.ByteString getVerBytes()
optional string ver = 1;
Version of the Native Markup version in use.
getVerBytes in interface Openrtb.NativeResponseOrBuilderpublic List<Openrtb.NativeResponse.Asset> getAssetsList()
repeated .openrtb.NativeResponse.Asset assets = 2;
List of native ad's assets.
getAssetsList in interface Openrtb.NativeResponseOrBuilderpublic List<? extends Openrtb.NativeResponse.AssetOrBuilder> getAssetsOrBuilderList()
repeated .openrtb.NativeResponse.Asset assets = 2;
List of native ad's assets.
getAssetsOrBuilderList in interface Openrtb.NativeResponseOrBuilderpublic int getAssetsCount()
repeated .openrtb.NativeResponse.Asset assets = 2;
List of native ad's assets.
getAssetsCount in interface Openrtb.NativeResponseOrBuilderpublic Openrtb.NativeResponse.Asset getAssets(int index)
repeated .openrtb.NativeResponse.Asset assets = 2;
List of native ad's assets.
getAssets in interface Openrtb.NativeResponseOrBuilderpublic Openrtb.NativeResponse.AssetOrBuilder getAssetsOrBuilder(int index)
repeated .openrtb.NativeResponse.Asset assets = 2;
List of native ad's assets.
getAssetsOrBuilder in interface Openrtb.NativeResponseOrBuilderpublic boolean hasLink()
required .openrtb.NativeResponse.Link link = 3;
Destination Link.
hasLink in interface Openrtb.NativeResponseOrBuilderpublic Openrtb.NativeResponse.Link getLink()
required .openrtb.NativeResponse.Link link = 3;
Destination Link.
getLink in interface Openrtb.NativeResponseOrBuilderpublic Openrtb.NativeResponse.LinkOrBuilder getLinkOrBuilder()
required .openrtb.NativeResponse.Link link = 3;
Destination Link.
getLinkOrBuilder in interface Openrtb.NativeResponseOrBuilderpublic com.google.protobuf.ProtocolStringList getImptrackersList()
repeated string imptrackers = 4;
Array of impression tracking URLs, expected to return a 1x1 image or 204 response - typically only passed when using 3rd party trackers.
getImptrackersList in interface Openrtb.NativeResponseOrBuilderpublic int getImptrackersCount()
repeated string imptrackers = 4;
Array of impression tracking URLs, expected to return a 1x1 image or 204 response - typically only passed when using 3rd party trackers.
getImptrackersCount in interface Openrtb.NativeResponseOrBuilderpublic String getImptrackers(int index)
repeated string imptrackers = 4;
Array of impression tracking URLs, expected to return a 1x1 image or 204 response - typically only passed when using 3rd party trackers.
getImptrackers in interface Openrtb.NativeResponseOrBuilderpublic com.google.protobuf.ByteString getImptrackersBytes(int index)
repeated string imptrackers = 4;
Array of impression tracking URLs, expected to return a 1x1 image or 204 response - typically only passed when using 3rd party trackers.
getImptrackersBytes in interface Openrtb.NativeResponseOrBuilderpublic boolean hasJstracker()
optional string jstracker = 5;
Optional javascript impression tracker. Contains <script> tags to be executed at impression time where it can be supported.
hasJstracker in interface Openrtb.NativeResponseOrBuilderpublic String getJstracker()
optional string jstracker = 5;
Optional javascript impression tracker. Contains <script> tags to be executed at impression time where it can be supported.
getJstracker in interface Openrtb.NativeResponseOrBuilderpublic com.google.protobuf.ByteString getJstrackerBytes()
optional string jstracker = 5;
Optional javascript impression tracker. Contains <script> tags to be executed at impression time where it can be supported.
getJstrackerBytes in interface Openrtb.NativeResponseOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.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.GeneratedMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessagepublic 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.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessagepublic 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.GeneratedMessagepublic Openrtb.NativeResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<Openrtb.NativeResponse>getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2017. All rights reserved.