Package com.google.openrtb
Interface OpenRtb.NativeResponse.LinkOrBuilder
-
- All Superinterfaces:
com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<OpenRtb.NativeResponse.Link>,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OpenRtb.NativeResponse.Link,OpenRtb.NativeResponse.Link.Builder
- Enclosing class:
- OpenRtb.NativeResponse
public static interface OpenRtb.NativeResponse.LinkOrBuilder extends com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<OpenRtb.NativeResponse.Link>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetClicktrackers(int index)List of third-party tracker URLs to be fired on click of the URL.com.google.protobuf.ByteStringgetClicktrackersBytes(int index)List of third-party tracker URLs to be fired on click of the URL.intgetClicktrackersCount()List of third-party tracker URLs to be fired on click of the URL.List<String>getClicktrackersList()List of third-party tracker URLs to be fired on click of the URL.StringgetFallback()Fallback URL for deeplink.com.google.protobuf.ByteStringgetFallbackBytes()Fallback URL for deeplink.StringgetUrl()Landing URL of the clickable link.com.google.protobuf.ByteStringgetUrlBytes()Landing URL of the clickable link.booleanhasFallback()Fallback URL for deeplink.booleanhasUrl()Landing URL of the clickable link.-
Methods inherited from interface com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder
getDefaultInstanceForType, getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, hasExtension, hasExtension, hasExtension
-
-
-
-
Method Detail
-
hasUrl
boolean hasUrl()
Landing URL of the clickable link. REQUIRED by the OpenRTB Native specification.
required string url = 1;- Returns:
- Whether the url field is set.
-
getUrl
String getUrl()
Landing URL of the clickable link. REQUIRED by the OpenRTB Native specification.
required string url = 1;- Returns:
- The url.
-
getUrlBytes
com.google.protobuf.ByteString getUrlBytes()
Landing URL of the clickable link. REQUIRED by the OpenRTB Native specification.
required string url = 1;- Returns:
- The bytes for url.
-
getClicktrackersList
List<String> getClicktrackersList()
List of third-party tracker URLs to be fired on click of the URL.
repeated string clicktrackers = 2;- Returns:
- A list containing the clicktrackers.
-
getClicktrackersCount
int getClicktrackersCount()
List of third-party tracker URLs to be fired on click of the URL.
repeated string clicktrackers = 2;- Returns:
- The count of clicktrackers.
-
getClicktrackers
String getClicktrackers(int index)
List of third-party tracker URLs to be fired on click of the URL.
repeated string clicktrackers = 2;- Parameters:
index- The index of the element to return.- Returns:
- The clicktrackers at the given index.
-
getClicktrackersBytes
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;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the clicktrackers at the given index.
-
hasFallback
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;- Returns:
- Whether the fallback field is set.
-
getFallback
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;- Returns:
- The fallback.
-
getFallbackBytes
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;- Returns:
- The bytes for fallback.
-
-