Interface OpenRtb.BidRequest.Imp.NativeOrBuilder

    • Method Detail

      • hasRequest

        boolean hasRequest()
         Request payload complying with the Native Ad Specification.
         Exactly one of {request, request_native} should be used;
         this is the OpenRTB-compliant field for JSON serialization.
         
        string request = 1;
        Returns:
        Whether the request field is set.
      • getRequest

        String getRequest()
         Request payload complying with the Native Ad Specification.
         Exactly one of {request, request_native} should be used;
         this is the OpenRTB-compliant field for JSON serialization.
         
        string request = 1;
        Returns:
        The request.
      • getRequestBytes

        com.google.protobuf.ByteString getRequestBytes()
         Request payload complying with the Native Ad Specification.
         Exactly one of {request, request_native} should be used;
         this is the OpenRTB-compliant field for JSON serialization.
         
        string request = 1;
        Returns:
        The bytes for request.
      • hasRequestNative

        boolean hasRequestNative()
         Request payload complying with the Native Ad Specification.
         Exactly one of {request, request_native} should be used;
         this is an alternate field preferred for Protobuf serialization.
         
        .com.google.openrtb.NativeRequest request_native = 50;
        Returns:
        Whether the requestNative field is set.
      • getRequestNative

        OpenRtb.NativeRequest getRequestNative()
         Request payload complying with the Native Ad Specification.
         Exactly one of {request, request_native} should be used;
         this is an alternate field preferred for Protobuf serialization.
         
        .com.google.openrtb.NativeRequest request_native = 50;
        Returns:
        The requestNative.
      • getRequestNativeOrBuilder

        OpenRtb.NativeRequestOrBuilder getRequestNativeOrBuilder()
         Request payload complying with the Native Ad Specification.
         Exactly one of {request, request_native} should be used;
         this is an alternate field preferred for Protobuf serialization.
         
        .com.google.openrtb.NativeRequest request_native = 50;
      • hasVer

        boolean hasVer()
         Version of the Native Ad Specification to which request complies.
         RECOMMENDED by the OpenRTB specification.
         
        optional string ver = 2;
        Returns:
        Whether the ver field is set.
      • getVer

        String getVer()
         Version of the Native Ad Specification to which request complies.
         RECOMMENDED by the OpenRTB specification.
         
        optional string ver = 2;
        Returns:
        The ver.
      • getVerBytes

        com.google.protobuf.ByteString getVerBytes()
         Version of the Native Ad Specification to which request complies.
         RECOMMENDED by the OpenRTB specification.
         
        optional string ver = 2;
        Returns:
        The bytes for ver.
      • getApiList

        List<OpenRtb.APIFramework> getApiList()
         List of supported API frameworks for this impression.
         If an API is not explicitly listed, it is assumed not to be supported.
         
        repeated .com.google.openrtb.APIFramework api = 3 [packed = true];
        Returns:
        A list containing the api.
      • getApiCount

        int getApiCount()
         List of supported API frameworks for this impression.
         If an API is not explicitly listed, it is assumed not to be supported.
         
        repeated .com.google.openrtb.APIFramework api = 3 [packed = true];
        Returns:
        The count of api.
      • getApi

        OpenRtb.APIFramework getApi​(int index)
         List of supported API frameworks for this impression.
         If an API is not explicitly listed, it is assumed not to be supported.
         
        repeated .com.google.openrtb.APIFramework api = 3 [packed = true];
        Parameters:
        index - The index of the element to return.
        Returns:
        The api at the given index.
      • getBattrList

        List<OpenRtb.CreativeAttribute> getBattrList()
         Blocked creative attributes.
         
        repeated .com.google.openrtb.CreativeAttribute battr = 4 [packed = true];
        Returns:
        A list containing the battr.
      • getBattrCount

        int getBattrCount()
         Blocked creative attributes.
         
        repeated .com.google.openrtb.CreativeAttribute battr = 4 [packed = true];
        Returns:
        The count of battr.
      • getBattr

        OpenRtb.CreativeAttribute getBattr​(int index)
         Blocked creative attributes.
         
        repeated .com.google.openrtb.CreativeAttribute battr = 4 [packed = true];
        Parameters:
        index - The index of the element to return.
        Returns:
        The battr at the given index.