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 TypeMethodDescriptioncom.google.protobuf.ByteStringgetData()The raw bytes data of an image.longFile 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.intMIME type of the image asset.booleanhasData()The raw bytes data of an image.booleanFile size of the image asset in bytes.booleanMetadata for this image at its original size.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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;
-