final case class Metric(type: String = "", value: Float = 0.0f, vendor: String = "", ext: Option[Struct] = _root_.scala.None, extProto: Seq[Any] = _root_.scala.Seq.empty) extends GeneratedMessage with Updatable[Metric] with Product with Serializable
This object is associated with an item as an array of metrics. These metrics can offer insight to assist with decisioning such as average recent viewability, click-through rate, etc. Each metric is identified by its type, reports the value of the metric, and optionally identifies the source or vendor measuring the value.
- type
Type of metric being presented using exchange curated string names. @required
- value
Number representing the value of the metric. @required
- vendor
Source of the value using exchange curated string names. @recommended
- ext
Optional vendor-specific extensions.
- extProto
Legacy proto extensions.
- Annotations
- @SerialVersionUID()
- Alphabetic
- By Inheritance
- Metric
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Metric(type: String = "", value: Float = 0.0f, vendor: String = "", ext: Option[Struct] = _root_.scala.None, extProto: Seq[Any] = _root_.scala.Seq.empty)
- type
Type of metric being presented using exchange curated string names. @required
- value
Number representing the value of the metric. @required
- vendor
Source of the value using exchange curated string names. @recommended
- 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]): Metric
- def addExtProto(__vs: Any*): Metric
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearExt: Metric
- def clearExtProto: Metric
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def companion: Metric.type
- Definition Classes
- Metric → 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
- Metric → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- Metric → GeneratedMessage
- 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
- def serializedSize: Int
- Definition Classes
- Metric → 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
- Metric → GeneratedMessage
- val type: String
- def update(ms: (Lens[Metric, Metric]) => Mutation[Metric]*): Metric
- Definition Classes
- Updatable
- val value: Float
- val vendor: String
- 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): Metric
- def withExtProto(__v: Seq[Any]): Metric
- def withType(__v: String): Metric
- def withValue(__v: Float): Metric
- def withVendor(__v: String): Metric
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- Metric → 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)