Interface ImageAssetOrBuilder

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

public interface ImageAssetOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.protobuf.ByteString
    The raw bytes data of an image.
    long
    File size of the image asset in bytes.
    Metadata for this image at its original size.
    Metadata for this image at its original size.
    MIME type of the image asset.
    int
    MIME type of the image asset.
    boolean
    The raw bytes data of an image.
    boolean
    File size of the image asset in bytes.
    boolean
    Metadata for this image at its original size.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasData

      boolean hasData()
       The raw bytes data of an image. This field is mutate only.
       
      optional bytes data = 5;
      Returns:
      Whether the data field is set.
    • getData

      com.google.protobuf.ByteString getData()
       The raw bytes data of an image. This field is mutate only.
       
      optional bytes data = 5;
      Returns:
      The data.
    • hasFileSize

      boolean hasFileSize()
       File size of the image asset in bytes.
       
      optional int64 file_size = 6;
      Returns:
      Whether the fileSize field is set.
    • getFileSize

      long getFileSize()
       File size of the image asset in bytes.
       
      optional int64 file_size = 6;
      Returns:
      The fileSize.
    • getMimeTypeValue

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

      MimeTypeEnum.MimeType getMimeType()
       MIME type of the image asset.
       
      .google.ads.googleads.v18.enums.MimeTypeEnum.MimeType mime_type = 3;
      Returns:
      The mimeType.
    • hasFullSize

      boolean hasFullSize()
       Metadata for this image at its original size.
       
      .google.ads.googleads.v18.common.ImageDimension full_size = 4;
      Returns:
      Whether the fullSize field is set.
    • getFullSize

      ImageDimension getFullSize()
       Metadata for this image at its original size.
       
      .google.ads.googleads.v18.common.ImageDimension full_size = 4;
      Returns:
      The fullSize.
    • getFullSizeOrBuilder

      ImageDimensionOrBuilder getFullSizeOrBuilder()
       Metadata for this image at its original size.
       
      .google.ads.googleads.v18.common.ImageDimension full_size = 4;