final case class Asset(id: Int = 0, req: Boolean = false, title: Option[TitleAsset] = _root_.scala.None, image: Option[ImageAsset] = _root_.scala.None, video: Option[VideoAsset] = _root_.scala.None, data: Option[DataAsset] = _root_.scala.None, link: Option[LinkAsset] = _root_.scala.None, label: Option[LabelAsset] = _root_.scala.None, disclaimer: Option[DisclaimerAsset] = _root_.scala.None, ext: Option[Struct] = _root_.scala.None, extProto: Seq[Any] = _root_.scala.Seq.empty) extends GeneratedMessage with Updatable[Asset] with Product with Serializable
- id
The value of "AssetFormat.id" if this ad references a specific native placement defined by a "Placement" object and its structure.
- req
Indicates if the asset is required to be displayed.
- title
Asset Subtype Object that indicates this is a title asset and provides additional detail as such.
- image
Asset Subtype Object that indicates this is an image asset and provides additional detail as such.
- video
Asset Subtype Object that indicates this is a video asset and provides additional detail as such.
- data
Asset Subtype Object that indicates this is a data asset and provides additional detail as such.
- link
Asset Subtype Object that indicates this is a link asset and provides additional detail as such.
- label
Asset Subtype Object that indicates this is a label asset
- ext
Optional vendor-specific extensions.
- extProto
Legacy proto extensions.
- Annotations
- @SerialVersionUID()
- Alphabetic
- By Inheritance
- Asset
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Asset(id: Int = 0, req: Boolean = false, title: Option[TitleAsset] = _root_.scala.None, image: Option[ImageAsset] = _root_.scala.None, video: Option[VideoAsset] = _root_.scala.None, data: Option[DataAsset] = _root_.scala.None, link: Option[LinkAsset] = _root_.scala.None, label: Option[LabelAsset] = _root_.scala.None, disclaimer: Option[DisclaimerAsset] = _root_.scala.None, ext: Option[Struct] = _root_.scala.None, extProto: Seq[Any] = _root_.scala.Seq.empty)
- id
The value of "AssetFormat.id" if this ad references a specific native placement defined by a "Placement" object and its structure.
- req
Indicates if the asset is required to be displayed.
- title
Asset Subtype Object that indicates this is a title asset and provides additional detail as such.
- image
Asset Subtype Object that indicates this is an image asset and provides additional detail as such.
- video
Asset Subtype Object that indicates this is a video asset and provides additional detail as such.
- data
Asset Subtype Object that indicates this is a data asset and provides additional detail as such.
- link
Asset Subtype Object that indicates this is a link asset and provides additional detail as such.
- label
Asset Subtype Object that indicates this is a label asset
- 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]): Asset
- def addExtProto(__vs: Any*): Asset
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearData: Asset
- def clearDisclaimer: Asset
- def clearExt: Asset
- def clearExtProto: Asset
- def clearImage: Asset
- def clearLabel: Asset
- def clearLink: Asset
- def clearTitle: Asset
- def clearVideo: Asset
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def companion: Asset.type
- Definition Classes
- Asset → GeneratedMessage
- val data: Option[DataAsset]
- val disclaimer: Option[DisclaimerAsset]
- 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: DataAsset
- def getDisclaimer: DisclaimerAsset
- def getExt: Struct
- def getField(__field: FieldDescriptor): PValue
- Definition Classes
- Asset → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- Asset → GeneratedMessage
- def getImage: ImageAsset
- def getLabel: LabelAsset
- def getLink: LinkAsset
- def getTitle: TitleAsset
- def getVideo: VideoAsset
- val id: Int
- val image: Option[ImageAsset]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val label: Option[LabelAsset]
- val link: Option[LinkAsset]
- 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
- Asset → GeneratedMessage
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val title: Option[TitleAsset]
- 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
- Asset → GeneratedMessage
- def update(ms: (Lens[Asset, Asset]) => Mutation[Asset]*): Asset
- Definition Classes
- Updatable
- val video: Option[VideoAsset]
- 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: DataAsset): Asset
- def withDisclaimer(__v: DisclaimerAsset): Asset
- def withExt(__v: Struct): Asset
- def withExtProto(__v: Seq[Any]): Asset
- def withId(__v: Int): Asset
- def withImage(__v: ImageAsset): Asset
- def withLabel(__v: LabelAsset): Asset
- def withLink(__v: LinkAsset): Asset
- def withReq(__v: Boolean): Asset
- def withTitle(__v: TitleAsset): Asset
- def withVideo(__v: VideoAsset): Asset
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- Asset → 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)