com.explorestack.protobuf.adcom.Placement.DisplayPlacement.NativeFormat.AssetFormat
ImageAssetFormat
Companion object ImageAssetFormat
final case class ImageAssetFormat(type: NativeImageAssetType = com.explorestack.protobuf.adcom.NativeImageAssetType.NATIVE_IMAGE_ASSET_TYPE_INVALID, mime: Seq[String] = _root_.scala.Seq.empty, w: Int = 0, h: Int = 0, wmin: Int = 0, hmin: Int = 0, wratio: Int = 0, hratio: Int = 0, ext: Option[Struct] = _root_.scala.None, extProto: Seq[Any] = _root_.scala.Seq.empty) extends GeneratedMessage with Updatable[ImageAssetFormat] with Product with Serializable
This object is used to provide native asset format specifications for an image element. Image elements are typically used for the actual creative image and icons.
- type
The type of image asset supported.
- mime
Array of supported mime types (e.g., "image/jpeg", "image/gif").
- w
Absolute width of the image asset in device independent pixels (DIPS).
- h
Absolute height of the image asset in device independent pixels (DIPS).
- wmin
The minimum requested absolute width of the image in device independent pixels (DIPS). This option should be used for any scaling of images by the client.
- hmin
The minimum requested absolute height of the image in device independent pixels (DIPS). This option should be used for any scaling of images by the client.
- wratio
Relative width of the image asset when expressing size as a ratio.
- hratio
Relative height of the image asset when expressing size as a ratio.
- ext
Optional vendor-specific extensions.
- extProto
Legacy proto extensions.
- Annotations
- @SerialVersionUID()
- Alphabetic
- By Inheritance
- ImageAssetFormat
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ImageAssetFormat(type: NativeImageAssetType = com.explorestack.protobuf.adcom.NativeImageAssetType.NATIVE_IMAGE_ASSET_TYPE_INVALID, mime: Seq[String] = _root_.scala.Seq.empty, w: Int = 0, h: Int = 0, wmin: Int = 0, hmin: Int = 0, wratio: Int = 0, hratio: Int = 0, ext: Option[Struct] = _root_.scala.None, extProto: Seq[Any] = _root_.scala.Seq.empty)
- type
The type of image asset supported.
- mime
Array of supported mime types (e.g., "image/jpeg", "image/gif").
- w
Absolute width of the image asset in device independent pixels (DIPS).
- h
Absolute height of the image asset in device independent pixels (DIPS).
- wmin
The minimum requested absolute width of the image in device independent pixels (DIPS). This option should be used for any scaling of images by the client.
- hmin
The minimum requested absolute height of the image in device independent pixels (DIPS). This option should be used for any scaling of images by the client.
- wratio
Relative width of the image asset when expressing size as a ratio.
- hratio
Relative height of the image asset when expressing size as a ratio.
- ext
Optional vendor-specific extensions.
- extProto
Legacy proto extensions.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addAllExtProto(__vs: Iterable[Any]): ImageAssetFormat
- def addAllMime(__vs: Iterable[String]): ImageAssetFormat
- def addExtProto(__vs: Any*): ImageAssetFormat
- def addMime(__vs: String*): ImageAssetFormat
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearExt: ImageAssetFormat
- def clearExtProto: ImageAssetFormat
- def clearMime: ImageAssetFormat
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def companion: ImageAssetFormat.type
- Definition Classes
- ImageAssetFormat → GeneratedMessage
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val ext: Option[Struct]
- val extProto: Seq[Any]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def getExt: Struct
- def getField(__field: FieldDescriptor): PValue
- Definition Classes
- ImageAssetFormat → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- ImageAssetFormat → GeneratedMessage
- val h: Int
- val hmin: Int
- val hratio: Int
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val mime: Seq[String]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def serializedSize: Int
- Definition Classes
- ImageAssetFormat → GeneratedMessage
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def toByteArray: Array[Byte]
- Definition Classes
- GeneratedMessage
- final def toByteString: ByteString
- Definition Classes
- GeneratedMessage
- final def toPMessage: PMessage
- Definition Classes
- GeneratedMessage
- def toProtoString: String
- Definition Classes
- ImageAssetFormat → GeneratedMessage
- val type: NativeImageAssetType
- def update(ms: (Lens[ImageAssetFormat, ImageAssetFormat]) => Mutation[ImageAssetFormat]*): ImageAssetFormat
- Definition Classes
- Updatable
- val w: Int
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withExt(__v: Struct): ImageAssetFormat
- def withExtProto(__v: Seq[Any]): ImageAssetFormat
- def withH(__v: Int): ImageAssetFormat
- def withHmin(__v: Int): ImageAssetFormat
- def withHratio(__v: Int): ImageAssetFormat
- def withMime(__v: Seq[String]): ImageAssetFormat
- def withType(__v: NativeImageAssetType): ImageAssetFormat
- def withW(__v: Int): ImageAssetFormat
- def withWmin(__v: Int): ImageAssetFormat
- def withWratio(__v: Int): ImageAssetFormat
- val wmin: Int
- val wratio: Int
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- ImageAssetFormat → GeneratedMessage
- final def writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)