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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetAdIdToCopyImageFrom()An ad ID to copy the image from.com.google.protobuf.ByteStringgetData()Raw image data as bytes.ImageAdInfo.ImageCasegetImageCase()java.lang.StringgetImageUrl()URL of the full size image.com.google.protobuf.ByteStringgetImageUrlBytes()URL of the full size image.java.lang.StringgetMediaFile()The MediaFile resource to use for the image.com.google.protobuf.ByteStringgetMediaFileBytes()The MediaFile resource to use for the image.MimeTypeEnum.MimeTypegetMimeType()The mime type of the image.intgetMimeTypeValue()The mime type of the image.java.lang.StringgetName()The name of the image.com.google.protobuf.ByteStringgetNameBytes()The name of the image.longgetPixelHeight()Height in pixels of the full size image.longgetPixelWidth()Width in pixels of the full size image.java.lang.StringgetPreviewImageUrl()URL of the preview size image.com.google.protobuf.ByteStringgetPreviewImageUrlBytes()URL of the preview size image.longgetPreviewPixelHeight()Height in pixels of the preview size image.longgetPreviewPixelWidth()Width in pixels of the preview size image.booleanhasAdIdToCopyImageFrom()An ad ID to copy the image from.booleanhasData()Raw image data as bytes.booleanhasImageUrl()URL of the full size image.booleanhasMediaFile()The MediaFile resource to use for the image.booleanhasName()The name of the image.booleanhasPixelHeight()Height in pixels of the full size image.booleanhasPixelWidth()Width in pixels of the full size image.booleanhasPreviewImageUrl()URL of the preview size image.booleanhasPreviewPixelHeight()Height in pixels of the preview size image.booleanhasPreviewPixelWidth()Width in pixels of the preview size image.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
java.lang.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
java.lang.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.v10.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.v10.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
java.lang.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.
-
hasMediaFile
boolean hasMediaFile()
The MediaFile resource to use for the image.
string media_file = 12;- Returns:
- Whether the mediaFile field is set.
-
getMediaFile
java.lang.String getMediaFile()
The MediaFile resource to use for the image.
string media_file = 12;- Returns:
- The mediaFile.
-
getMediaFileBytes
com.google.protobuf.ByteString getMediaFileBytes()
The MediaFile resource to use for the image.
string media_file = 12;- Returns:
- The bytes for mediaFile.
-
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()
-
-