Packages

final case class AssetFormat(id: Int = 0, req: Boolean = false, title: Option[TitleAssetFormat] = _root_.scala.None, img: Option[ImageAssetFormat] = _root_.scala.None, video: Option[VideoPlacement] = _root_.scala.None, data: Option[DataAssetFormat] = _root_.scala.None, ext: Option[Struct] = _root_.scala.None, extProto: Seq[Any] = _root_.scala.Seq.empty) extends GeneratedMessage with Updatable[AssetFormat] with Product with Serializable

This object represents the permitted specifications of a single asset of a native ad. Along with its own attributes, exactly one of the asset subtype objects must be included. All others must be omitted.

id

Asset ID, unique within the scope of this placement specification.

req

Indicator of whether or not this asset is required

title

Asset Format Subtype Object that indicates this is specifying a title asset and provides additional detail as such.

img

Asset Format Subtype Object that indicates this is specifying an image asset and provides additional detail as such.

video

Asset Format Subtype Object, which leverages the "VideoPlacement" object, that indicates this is specifying a video asset and provides additional detail as such.

data

Asset Format Subtype Object that indicates this is specifying a data asset and provides additional detail as such.

ext

Optional vendor-specific extensions.

extProto

Legacy proto extensions.

Annotations
@SerialVersionUID()
Linear Supertypes
Updatable[AssetFormat], GeneratedMessage, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AssetFormat
  2. Updatable
  3. GeneratedMessage
  4. Serializable
  5. Product
  6. Equals
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new AssetFormat(id: Int = 0, req: Boolean = false, title: Option[TitleAssetFormat] = _root_.scala.None, img: Option[ImageAssetFormat] = _root_.scala.None, video: Option[VideoPlacement] = _root_.scala.None, data: Option[DataAssetFormat] = _root_.scala.None, ext: Option[Struct] = _root_.scala.None, extProto: Seq[Any] = _root_.scala.Seq.empty)

    id

    Asset ID, unique within the scope of this placement specification.

    req

    Indicator of whether or not this asset is required

    title

    Asset Format Subtype Object that indicates this is specifying a title asset and provides additional detail as such.

    img

    Asset Format Subtype Object that indicates this is specifying an image asset and provides additional detail as such.

    video

    Asset Format Subtype Object, which leverages the "VideoPlacement" object, that indicates this is specifying a video asset and provides additional detail as such.

    data

    Asset Format Subtype Object that indicates this is specifying a data asset and provides additional detail as such.

    ext

    Optional vendor-specific extensions.

    extProto

    Legacy proto extensions.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addAllExtProto(__vs: Iterable[Any]): AssetFormat
  5. def addExtProto(__vs: Any*): AssetFormat
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clearData: AssetFormat
  8. def clearExt: AssetFormat
  9. def clearExtProto: AssetFormat
  10. def clearImg: AssetFormat
  11. def clearTitle: AssetFormat
  12. def clearVideo: AssetFormat
  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  14. def companion: AssetFormat.type
    Definition Classes
    AssetFormat → GeneratedMessage
  15. val data: Option[DataAssetFormat]
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. val ext: Option[Struct]
  18. val extProto: Seq[Any]
  19. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  20. def getData: DataAssetFormat
  21. def getExt: Struct
  22. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    AssetFormat → GeneratedMessage
  23. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    AssetFormat → GeneratedMessage
  24. def getImg: ImageAssetFormat
  25. def getTitle: TitleAssetFormat
  26. def getVideo: VideoPlacement
  27. val id: Int
  28. val img: Option[ImageAssetFormat]
  29. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  30. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  31. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  32. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  33. def productElementNames: Iterator[String]
    Definition Classes
    Product
  34. val req: Boolean
  35. def serializedSize: Int
    Definition Classes
    AssetFormat → GeneratedMessage
  36. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  37. val title: Option[TitleAssetFormat]
  38. final def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  39. final def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  40. final def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  41. def toProtoString: String
    Definition Classes
    AssetFormat → GeneratedMessage
  42. def update(ms: (Lens[AssetFormat, AssetFormat]) => Mutation[AssetFormat]*): AssetFormat
    Definition Classes
    Updatable
  43. val video: Option[VideoPlacement]
  44. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  45. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  46. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  47. def withData(__v: DataAssetFormat): AssetFormat
  48. def withExt(__v: Struct): AssetFormat
  49. def withExtProto(__v: Seq[Any]): AssetFormat
  50. def withId(__v: Int): AssetFormat
  51. def withImg(__v: ImageAssetFormat): AssetFormat
  52. def withReq(__v: Boolean): AssetFormat
  53. def withTitle(__v: TitleAssetFormat): AssetFormat
  54. def withVideo(__v: VideoPlacement): AssetFormat
  55. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  56. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    AssetFormat → GeneratedMessage
  57. final def writeTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Updatable[AssetFormat]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped