Interface OpenRtb.NativeResponse.LinkOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      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.
      List<String> getClicktrackersList()
      List of third-party tracker URLs to be fired on click of the URL.
      String getFallback()
      Fallback URL for deeplink.
      com.google.protobuf.ByteString getFallbackBytes()
      Fallback URL for deeplink.
      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.
      boolean hasUrl()
      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
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • 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.