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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.google.protobuf.ByteString getData()
      The raw bytes data of an image.
      long getFileSize()
      File size of the image asset in bytes.
      ImageDimension getFullSize()
      Metadata for this image at its original size.
      ImageDimensionOrBuilder getFullSizeOrBuilder()
      Metadata for this image at its original size.
      MimeTypeEnum.MimeType getMimeType()
      MIME type of the image asset.
      int getMimeTypeValue()
      MIME type of the image asset.
      boolean hasData()
      The raw bytes data of an image.
      boolean hasFileSize()
      File size of the image asset in bytes.
      boolean hasFullSize()
      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 Detail

      • 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.v10.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.v10.enums.MimeTypeEnum.MimeType mime_type = 3;
        Returns:
        The mimeType.
      • hasFullSize

        boolean hasFullSize()
         Metadata for this image at its original size.
         
        .google.ads.googleads.v10.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.v10.common.ImageDimension full_size = 4;
        Returns:
        The fullSize.
      • getFullSizeOrBuilder

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