com.explorestack.protobuf.adcom.Placement.DisplayPlacement.NativeFormat
AssetFormat
Companion class AssetFormat
object AssetFormat extends GeneratedMessageCompanion[AssetFormat]
- Alphabetic
- By Inheritance
- AssetFormat
- GeneratedMessageCompanion
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- implicit class AssetFormatLens[UpperPB] extends ObjectLens[UpperPB, AssetFormat]
- final case class DataAssetFormat(type: NativeDataAssetType = com.explorestack.protobuf.adcom.NativeDataAssetType.NATIVE_DATA_ASSET_TYPE_INVALID, len: Int = 0, ext: Option[Struct] = _root_.scala.None, extProto: Seq[Any] = _root_.scala.Seq.empty) extends GeneratedMessage with Updatable[DataAssetFormat] with Product with Serializable
This object is used to provide native asset format specifications for a data element.
This object is used to provide native asset format specifications for a data element. A data asset is used for all miscellaneous elements such as brand name, ratings, stars, review count, downloads, prices, etc. It is purposefully generic to support native elements not currently contemplated by this specification.
- type
The type of data asset supported.
- len
The maximum allowed length of the data value.
- ext
Optional vendor-specific extensions.
- extProto
Legacy proto extensions.
- Annotations
- @SerialVersionUID()
- 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.
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()
- final case class TitleAssetFormat(len: Int = 0, ext: Option[Struct] = _root_.scala.None, extProto: Seq[Any] = _root_.scala.Seq.empty) extends GeneratedMessage with Updatable[TitleAssetFormat] with Product with Serializable
This object is used to provide native asset format specifications for a title element.
This object is used to provide native asset format specifications for a title element. Title elements are simple strings.
- len
The maximum allowed length of the title value. Recommended lengths are 25, 90, or 140.
- ext
Optional vendor-specific extensions.
- extProto
Legacy proto extensions.
- Annotations
- @SerialVersionUID()
- type ValueType = AssetFormat
- Definition Classes
- GeneratedMessageCompanion
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
- final val DATA_FIELD_NUMBER: Int(6)
- final val EXT_FIELD_NUMBER: Int(8)
- final val EXT_PROTO_FIELD_NUMBER: Int(7)
- final val ID_FIELD_NUMBER: Int(1)
- final val IMG_FIELD_NUMBER: Int(4)
- final val REQ_FIELD_NUMBER: Int(2)
- final val TITLE_FIELD_NUMBER: Int(3)
- final val VIDEO_FIELD_NUMBER: Int(5)
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- lazy val defaultInstance: AssetFormat
- Definition Classes
- AssetFormat → GeneratedMessageCompanion
- def enumCompanionForField(field: FieldDescriptor): GeneratedEnumCompanion[_]
- Definition Classes
- GeneratedMessageCompanion
- def enumCompanionForFieldNumber(__fieldNumber: Int): GeneratedEnumCompanion[_]
- Definition Classes
- AssetFormat → GeneratedMessageCompanion
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def fromAscii(s: String): AssetFormat
- Definition Classes
- GeneratedMessageCompanion
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def javaDescriptor: Descriptor
- Definition Classes
- AssetFormat → GeneratedMessageCompanion
- def merge(a: AssetFormat, input: CodedInputStream): AssetFormat
- Definition Classes
- GeneratedMessageCompanion
- implicit def messageCompanion: GeneratedMessageCompanion[AssetFormat]
- def messageCompanionForField(field: FieldDescriptor): GeneratedMessageCompanion[_]
- Definition Classes
- GeneratedMessageCompanion
- def messageCompanionForFieldNumber(__number: Int): GeneratedMessageCompanion[_]
- Definition Classes
- AssetFormat → GeneratedMessageCompanion
- implicit def messageReads: Reads[AssetFormat]
- Definition Classes
- AssetFormat → GeneratedMessageCompanion
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- lazy val nestedMessagesCompanions: Seq[GeneratedMessageCompanion[_ <: GeneratedMessage]]
- Definition Classes
- AssetFormat → GeneratedMessageCompanion
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def of(id: Int, req: Boolean, title: Option[TitleAssetFormat], img: Option[ImageAssetFormat], video: Option[VideoPlacement], data: Option[DataAssetFormat], ext: Option[Struct], extProto: Seq[Any]): AssetFormat
- def parseDelimitedFrom(input: InputStream): Option[AssetFormat]
- Definition Classes
- GeneratedMessageCompanion
- def parseDelimitedFrom(input: CodedInputStream): Option[AssetFormat]
- Definition Classes
- GeneratedMessageCompanion
- def parseFrom(_input__: CodedInputStream): AssetFormat
- Definition Classes
- AssetFormat → GeneratedMessageCompanion
- def parseFrom(s: Array[Byte]): AssetFormat
- Definition Classes
- GeneratedMessageCompanion
- def parseFrom(input: InputStream): AssetFormat
- Definition Classes
- GeneratedMessageCompanion
- def scalaDescriptor: Descriptor
- Definition Classes
- AssetFormat → GeneratedMessageCompanion
- def streamFromDelimitedInput(input: InputStream): Stream[AssetFormat]
- Definition Classes
- GeneratedMessageCompanion
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toByteArray(a: AssetFormat): Array[Byte]
- Definition Classes
- GeneratedMessageCompanion
- def toString(): String
- Definition Classes
- AnyRef → Any
- def validate(s: Array[Byte]): Try[AssetFormat]
- Definition Classes
- GeneratedMessageCompanion
- def validateAscii(s: String): Either[TextFormatError, AssetFormat]
- Definition Classes
- GeneratedMessageCompanion
- 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])
- object DataAssetFormat extends GeneratedMessageCompanion[DataAssetFormat]
- object ImageAssetFormat extends GeneratedMessageCompanion[ImageAssetFormat]
- object TitleAssetFormat extends GeneratedMessageCompanion[TitleAssetFormat]
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)