Interface OpenRtb.NativeResponse.Asset.ImageOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getH()
      Height of the image in pixels.
      OpenRtb.ImageAssetType getType()
      The type of image element being submitted from the ImageType enum.
      String getUrl()
      URL of the image asset.
      com.google.protobuf.ByteString getUrlBytes()
      URL of the image asset.
      int getW()
      Width of the image in pixels.
      boolean hasH()
      Height of the image in pixels.
      boolean hasType()
      The type of image element being submitted from the ImageType enum.
      boolean hasUrl()
      URL of the image asset.
      boolean hasW()
      Width of the image in pixels.
      • 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

      • hasType

        boolean hasType()
         The type of image element being submitted from the ImageType enum.
         REQUIRED for assetsurl or dcourl responses,
         not required to embedded asset responses.
         
        optional .com.google.openrtb.ImageAssetType type = 4;
        Returns:
        Whether the type field is set.
      • getType

        OpenRtb.ImageAssetType getType()
         The type of image element being submitted from the ImageType enum.
         REQUIRED for assetsurl or dcourl responses,
         not required to embedded asset responses.
         
        optional .com.google.openrtb.ImageAssetType type = 4;
        Returns:
        The type.
      • hasUrl

        boolean hasUrl()
         URL of the image asset.
         REQUIRED by the OpenRTB Native specification.
         
        required string url = 1;
        Returns:
        Whether the url field is set.
      • getUrl

        String getUrl()
         URL of the image asset.
         REQUIRED by the OpenRTB Native specification.
         
        required string url = 1;
        Returns:
        The url.
      • getUrlBytes

        com.google.protobuf.ByteString getUrlBytes()
         URL of the image asset.
         REQUIRED by the OpenRTB Native specification.
         
        required string url = 1;
        Returns:
        The bytes for url.
      • hasW

        boolean hasW()
         Width of the image in pixels.
         RECOMMENDED in 1.0, 1.1, or in 1.2 for embedded asset responses.
         REQUIRED in 1.2 for assetsurl or dcourl if multiple assets
         of the same type submitted.
         
        optional int32 w = 2;
        Returns:
        Whether the w field is set.
      • getW

        int getW()
         Width of the image in pixels.
         RECOMMENDED in 1.0, 1.1, or in 1.2 for embedded asset responses.
         REQUIRED in 1.2 for assetsurl or dcourl if multiple assets
         of the same type submitted.
         
        optional int32 w = 2;
        Returns:
        The w.
      • hasH

        boolean hasH()
         Height of the image in pixels.
         RECOMMENDED in 1.0, 1.1, or in 1.2 for embedded asset responses.
         REQUIRED in 1.2 for assetsurl or dcourl if multiple assets
         of the same type submitted.
         
        optional int32 h = 3;
        Returns:
        Whether the h field is set.
      • getH

        int getH()
         Height of the image in pixels.
         RECOMMENDED in 1.0, 1.1, or in 1.2 for embedded asset responses.
         REQUIRED in 1.2 for assetsurl or dcourl if multiple assets
         of the same type submitted.
         
        optional int32 h = 3;
        Returns:
        The h.