public static final class Openrtb.NativeResponse.Link extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<Openrtb.NativeResponse.Link> implements Openrtb.NativeResponse.LinkOrBuilder
OpenRTB Native 5.8: Used for "call to action" assets, or other links from the Native ad. This Object should be associated to its peer object in the parent Asset Object. When that peer object is activated (clicked) the action should take the user to the location of the link.Protobuf type
openrtb.NativeResponse.Link| Modifier and Type | Class and Description |
|---|---|
static class |
Openrtb.NativeResponse.Link.Builder
OpenRTB Native 5.8: Used for "call to action" assets, or other links from the Native ad.
|
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 |
CLICKTRACKERS_FIELD_NUMBER |
static int |
FALLBACK_FIELD_NUMBER |
static com.google.protobuf.Parser<Openrtb.NativeResponse.Link> |
PARSER
Deprecated.
|
static int |
URL_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getClicktrackers(int index)
List of third-party tracker URLs to be fired on click of the URL.
|
com.google.protobuf.ByteString |
getClicktrackersBytes(int index)
List of third-party tracker URLs to be fired on click of the URL.
|
int |
getClicktrackersCount()
List of third-party tracker URLs to be fired on click of the URL.
|
com.google.protobuf.ProtocolStringList |
getClicktrackersList()
List of third-party tracker URLs to be fired on click of the URL.
|
static Openrtb.NativeResponse.Link |
getDefaultInstance() |
Openrtb.NativeResponse.Link |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getFallback()
Fallback URL for deeplink.
|
com.google.protobuf.ByteString |
getFallbackBytes()
Fallback URL for deeplink.
|
com.google.protobuf.Parser<Openrtb.NativeResponse.Link> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
String |
getUrl()
Landing URL of the clickable link.
|
com.google.protobuf.ByteString |
getUrlBytes()
Landing URL of the clickable link.
|
boolean |
hasFallback()
Fallback URL for deeplink.
|
int |
hashCode() |
boolean |
hasUrl()
Landing URL of the clickable link.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Openrtb.NativeResponse.Link.Builder |
newBuilder() |
static Openrtb.NativeResponse.Link.Builder |
newBuilder(Openrtb.NativeResponse.Link prototype) |
Openrtb.NativeResponse.Link.Builder |
newBuilderForType() |
protected Openrtb.NativeResponse.Link.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Openrtb.NativeResponse.Link |
parseDelimitedFrom(InputStream input) |
static Openrtb.NativeResponse.Link |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Openrtb.NativeResponse.Link |
parseFrom(byte[] data) |
static Openrtb.NativeResponse.Link |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Openrtb.NativeResponse.Link |
parseFrom(com.google.protobuf.ByteString data) |
static Openrtb.NativeResponse.Link |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Openrtb.NativeResponse.Link |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Openrtb.NativeResponse.Link |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Openrtb.NativeResponse.Link |
parseFrom(InputStream input) |
static Openrtb.NativeResponse.Link |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Openrtb.NativeResponse.Link> |
parser() |
Openrtb.NativeResponse.Link.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 URL_FIELD_NUMBER
public static final int CLICKTRACKERS_FIELD_NUMBER
public static final int FALLBACK_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<Openrtb.NativeResponse.Link> 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 hasUrl()
Landing URL of the clickable link.
optional string url = 1;hasUrl in interface Openrtb.NativeResponse.LinkOrBuilderpublic String getUrl()
Landing URL of the clickable link.
optional string url = 1;getUrl in interface Openrtb.NativeResponse.LinkOrBuilderpublic com.google.protobuf.ByteString getUrlBytes()
Landing URL of the clickable link.
optional string url = 1;getUrlBytes in interface Openrtb.NativeResponse.LinkOrBuilderpublic com.google.protobuf.ProtocolStringList getClicktrackersList()
List of third-party tracker URLs to be fired on click of the URL.
repeated string clicktrackers = 2;getClicktrackersList in interface Openrtb.NativeResponse.LinkOrBuilderpublic int getClicktrackersCount()
List of third-party tracker URLs to be fired on click of the URL.
repeated string clicktrackers = 2;getClicktrackersCount in interface Openrtb.NativeResponse.LinkOrBuilderpublic String getClicktrackers(int index)
List of third-party tracker URLs to be fired on click of the URL.
repeated string clicktrackers = 2;getClicktrackers in interface Openrtb.NativeResponse.LinkOrBuilderpublic com.google.protobuf.ByteString getClicktrackersBytes(int index)
List of third-party tracker URLs to be fired on click of the URL.
repeated string clicktrackers = 2;getClicktrackersBytes in interface Openrtb.NativeResponse.LinkOrBuilderpublic boolean hasFallback()
Fallback URL for deeplink. To be used if the URL given in url is not supported by the device.
optional string fallback = 3;hasFallback in interface Openrtb.NativeResponse.LinkOrBuilderpublic String getFallback()
Fallback URL for deeplink. To be used if the URL given in url is not supported by the device.
optional string fallback = 3;getFallback in interface Openrtb.NativeResponse.LinkOrBuilderpublic com.google.protobuf.ByteString getFallbackBytes()
Fallback URL for deeplink. To be used if the URL given in url is not supported by the device.
optional string fallback = 3;getFallbackBytes in interface Openrtb.NativeResponse.LinkOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.ExtendableMessage<Openrtb.NativeResponse.Link>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.Link parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Openrtb.NativeResponse.Link parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Openrtb.NativeResponse.Link parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Openrtb.NativeResponse.Link parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Openrtb.NativeResponse.Link parseFrom(InputStream input) throws IOException
IOExceptionpublic static Openrtb.NativeResponse.Link parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Openrtb.NativeResponse.Link parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Openrtb.NativeResponse.Link parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Openrtb.NativeResponse.Link parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Openrtb.NativeResponse.Link parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Openrtb.NativeResponse.Link.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Openrtb.NativeResponse.Link.Builder newBuilder()
public static Openrtb.NativeResponse.Link.Builder newBuilder(Openrtb.NativeResponse.Link prototype)
public Openrtb.NativeResponse.Link.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Openrtb.NativeResponse.Link.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Openrtb.NativeResponse.Link getDefaultInstance()
public static com.google.protobuf.Parser<Openrtb.NativeResponse.Link> parser()
public com.google.protobuf.Parser<Openrtb.NativeResponse.Link> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Openrtb.NativeResponse.Link getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<Openrtb.NativeResponse.Link>getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2017. All rights reserved.