public static final class Openrtb.NativeResponse.Link extends com.google.protobuf.GeneratedMessage.ExtendableMessage<Openrtb.NativeResponse.Link> implements Openrtb.NativeResponse.LinkOrBuilder
openrtb.NativeResponse.Link
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.
| Modifier and Type | Class and Description |
|---|---|
static class |
Openrtb.NativeResponse.Link.Builder
Protobuf type
openrtb.NativeResponse.Link |
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 |
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 |
|---|---|
String |
getClicktrackers(int index)
repeated string clicktrackers = 2; |
com.google.protobuf.ByteString |
getClicktrackersBytes(int index)
repeated string clicktrackers = 2; |
int |
getClicktrackersCount()
repeated string clicktrackers = 2; |
com.google.protobuf.ProtocolStringList |
getClicktrackersList()
repeated string clicktrackers = 2; |
static Openrtb.NativeResponse.Link |
getDefaultInstance() |
Openrtb.NativeResponse.Link |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getFallback()
optional string fallback = 3; |
com.google.protobuf.ByteString |
getFallbackBytes()
optional string fallback = 3; |
com.google.protobuf.Parser<Openrtb.NativeResponse.Link> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
String |
getUrl()
optional string url = 1; |
com.google.protobuf.ByteString |
getUrlBytes()
optional string url = 1; |
boolean |
hasFallback()
optional string fallback = 3; |
boolean |
hasUrl()
optional string url = 1; |
protected com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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, 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 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.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic boolean hasUrl()
optional string url = 1;
Landing URL of the clickable link.
hasUrl in interface Openrtb.NativeResponse.LinkOrBuilderpublic String getUrl()
optional string url = 1;
Landing URL of the clickable link.
getUrl in interface Openrtb.NativeResponse.LinkOrBuilderpublic com.google.protobuf.ByteString getUrlBytes()
optional string url = 1;
Landing URL of the clickable link.
getUrlBytes in interface Openrtb.NativeResponse.LinkOrBuilderpublic com.google.protobuf.ProtocolStringList getClicktrackersList()
repeated string clicktrackers = 2;
List of third-party tracker URLs to be fired on click of the URL.
getClicktrackersList in interface Openrtb.NativeResponse.LinkOrBuilderpublic int getClicktrackersCount()
repeated string clicktrackers = 2;
List of third-party tracker URLs to be fired on click of the URL.
getClicktrackersCount in interface Openrtb.NativeResponse.LinkOrBuilderpublic String getClicktrackers(int index)
repeated string clicktrackers = 2;
List of third-party tracker URLs to be fired on click of the URL.
getClicktrackers in interface Openrtb.NativeResponse.LinkOrBuilderpublic com.google.protobuf.ByteString getClicktrackersBytes(int index)
repeated string clicktrackers = 2;
List of third-party tracker URLs to be fired on click of the URL.
getClicktrackersBytes in interface Openrtb.NativeResponse.LinkOrBuilderpublic boolean hasFallback()
optional string fallback = 3;
Fallback URL for deeplink. To be used if the URL given in url is not supported by the device.
hasFallback in interface Openrtb.NativeResponse.LinkOrBuilderpublic String getFallback()
optional string fallback = 3;
Fallback URL for deeplink. To be used if the URL given in url is not supported by the device.
getFallback in interface Openrtb.NativeResponse.LinkOrBuilderpublic com.google.protobuf.ByteString getFallbackBytes()
optional string fallback = 3;
Fallback URL for deeplink. To be used if the URL given in url is not supported by the device.
getFallbackBytes in interface Openrtb.NativeResponse.LinkOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.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.GeneratedMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessagepublic 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.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessagepublic 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.GeneratedMessagepublic Openrtb.NativeResponse.Link getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<Openrtb.NativeResponse.Link>getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2017. All rights reserved.