Interface ImageAdInfoOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ImageAdInfo, ImageAdInfo.Builder

public interface ImageAdInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasPixelWidth

      boolean hasPixelWidth()
       Width in pixels of the full size image.
       
      optional int64 pixel_width = 15;
      Returns:
      Whether the pixelWidth field is set.
    • getPixelWidth

      long getPixelWidth()
       Width in pixels of the full size image.
       
      optional int64 pixel_width = 15;
      Returns:
      The pixelWidth.
    • hasPixelHeight

      boolean hasPixelHeight()
       Height in pixels of the full size image.
       
      optional int64 pixel_height = 16;
      Returns:
      Whether the pixelHeight field is set.
    • getPixelHeight

      long getPixelHeight()
       Height in pixels of the full size image.
       
      optional int64 pixel_height = 16;
      Returns:
      The pixelHeight.
    • hasImageUrl

      boolean hasImageUrl()
       URL of the full size image.
       
      optional string image_url = 17;
      Returns:
      Whether the imageUrl field is set.
    • getImageUrl

      String getImageUrl()
       URL of the full size image.
       
      optional string image_url = 17;
      Returns:
      The imageUrl.
    • getImageUrlBytes

      com.google.protobuf.ByteString getImageUrlBytes()
       URL of the full size image.
       
      optional string image_url = 17;
      Returns:
      The bytes for imageUrl.
    • hasPreviewPixelWidth

      boolean hasPreviewPixelWidth()
       Width in pixels of the preview size image.
       
      optional int64 preview_pixel_width = 18;
      Returns:
      Whether the previewPixelWidth field is set.
    • getPreviewPixelWidth

      long getPreviewPixelWidth()
       Width in pixels of the preview size image.
       
      optional int64 preview_pixel_width = 18;
      Returns:
      The previewPixelWidth.
    • hasPreviewPixelHeight

      boolean hasPreviewPixelHeight()
       Height in pixels of the preview size image.
       
      optional int64 preview_pixel_height = 19;
      Returns:
      Whether the previewPixelHeight field is set.
    • getPreviewPixelHeight

      long getPreviewPixelHeight()
       Height in pixels of the preview size image.
       
      optional int64 preview_pixel_height = 19;
      Returns:
      The previewPixelHeight.
    • hasPreviewImageUrl

      boolean hasPreviewImageUrl()
       URL of the preview size image.
       
      optional string preview_image_url = 20;
      Returns:
      Whether the previewImageUrl field is set.
    • getPreviewImageUrl

      String getPreviewImageUrl()
       URL of the preview size image.
       
      optional string preview_image_url = 20;
      Returns:
      The previewImageUrl.
    • getPreviewImageUrlBytes

      com.google.protobuf.ByteString getPreviewImageUrlBytes()
       URL of the preview size image.
       
      optional string preview_image_url = 20;
      Returns:
      The bytes for previewImageUrl.
    • getMimeTypeValue

      int getMimeTypeValue()
       The mime type of the image.
       
      .google.ads.googleads.v18.enums.MimeTypeEnum.MimeType mime_type = 10;
      Returns:
      The enum numeric value on the wire for mimeType.
    • getMimeType

      MimeTypeEnum.MimeType getMimeType()
       The mime type of the image.
       
      .google.ads.googleads.v18.enums.MimeTypeEnum.MimeType mime_type = 10;
      Returns:
      The mimeType.
    • hasName

      boolean hasName()
       The name of the image. If the image was created from a MediaFile, this is
       the MediaFile's name. If the image was created from bytes, this is empty.
       
      optional string name = 21;
      Returns:
      Whether the name field is set.
    • getName

      String getName()
       The name of the image. If the image was created from a MediaFile, this is
       the MediaFile's name. If the image was created from bytes, this is empty.
       
      optional string name = 21;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       The name of the image. If the image was created from a MediaFile, this is
       the MediaFile's name. If the image was created from bytes, this is empty.
       
      optional string name = 21;
      Returns:
      The bytes for name.
    • hasImageAsset

      boolean hasImageAsset()
       The image assets used for the ad.
       
      .google.ads.googleads.v18.common.AdImageAsset image_asset = 22;
      Returns:
      Whether the imageAsset field is set.
    • getImageAsset

      AdImageAsset getImageAsset()
       The image assets used for the ad.
       
      .google.ads.googleads.v18.common.AdImageAsset image_asset = 22;
      Returns:
      The imageAsset.
    • getImageAssetOrBuilder

      AdImageAssetOrBuilder getImageAssetOrBuilder()
       The image assets used for the ad.
       
      .google.ads.googleads.v18.common.AdImageAsset image_asset = 22;
    • hasData

      boolean hasData()
       Raw image data as bytes.
       
      bytes data = 13;
      Returns:
      Whether the data field is set.
    • getData

      com.google.protobuf.ByteString getData()
       Raw image data as bytes.
       
      bytes data = 13;
      Returns:
      The data.
    • hasAdIdToCopyImageFrom

      boolean hasAdIdToCopyImageFrom()
       An ad ID to copy the image from.
       
      int64 ad_id_to_copy_image_from = 14;
      Returns:
      Whether the adIdToCopyImageFrom field is set.
    • getAdIdToCopyImageFrom

      long getAdIdToCopyImageFrom()
       An ad ID to copy the image from.
       
      int64 ad_id_to_copy_image_from = 14;
      Returns:
      The adIdToCopyImageFrom.
    • getImageCase

      ImageAdInfo.ImageCase getImageCase()