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.ByteStringgetData()The raw bytes data of an image.longgetFileSize()File size of the image asset in bytes.ImageDimensiongetFullSize()Metadata for this image at its original size.ImageDimensionOrBuildergetFullSizeOrBuilder()Metadata for this image at its original size.MimeTypeEnum.MimeTypegetMimeType()MIME type of the image asset.intgetMimeTypeValue()MIME type of the image asset.booleanhasData()The raw bytes data of an image.booleanhasFileSize()File size of the image asset in bytes.booleanhasFullSize()Metadata for this image at its original size.-
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;
-
-