com.explorestack.protobuf.adcom.Placement.DisplayPlacement.NativeFormat
AssetFormat
Companion object AssetFormat
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()
- Alphabetic
- By Inheritance
- AssetFormat
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- 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
- 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]): AssetFormat
- def addExtProto(__vs: Any*): AssetFormat
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearData: AssetFormat
- def clearExt: AssetFormat
- def clearExtProto: AssetFormat
- def clearImg: AssetFormat
- def clearTitle: AssetFormat
- def clearVideo: AssetFormat
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def companion: AssetFormat.type
- Definition Classes
- AssetFormat → GeneratedMessage
- val data: Option[DataAssetFormat]
- 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 getData: DataAssetFormat
- def getExt: Struct
- def getField(__field: FieldDescriptor): PValue
- Definition Classes
- AssetFormat → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- AssetFormat → GeneratedMessage
- def getImg: ImageAssetFormat
- def getTitle: TitleAssetFormat
- def getVideo: VideoPlacement
- val id: Int
- val img: Option[ImageAssetFormat]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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
- val req: Boolean
- def serializedSize: Int
- Definition Classes
- AssetFormat → GeneratedMessage
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val title: Option[TitleAssetFormat]
- 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
- AssetFormat → GeneratedMessage
- def update(ms: (Lens[AssetFormat, AssetFormat]) => Mutation[AssetFormat]*): AssetFormat
- Definition Classes
- Updatable
- val video: Option[VideoPlacement]
- 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 withData(__v: DataAssetFormat): AssetFormat
- def withExt(__v: Struct): AssetFormat
- def withExtProto(__v: Seq[Any]): AssetFormat
- def withId(__v: Int): AssetFormat
- def withImg(__v: ImageAssetFormat): AssetFormat
- def withReq(__v: Boolean): AssetFormat
- def withTitle(__v: TitleAssetFormat): AssetFormat
- def withVideo(__v: VideoPlacement): AssetFormat
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- AssetFormat → 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)