SessionMetrics

io.predictor.v1.SessionMetrics
See theSessionMetrics companion class
object SessionMetrics extends GeneratedMessageCompanion[SessionMetrics]

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[SessionMetrics]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type

Members list

Type members

Classlikes

final case class AdReqsMetrics(interstitial: Option[WindowCounters], rewarded: Option[WindowCounters], unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[AdReqsMetrics]

Attributes

Companion
object
Supertypes
trait Updatable[AdReqsMetrics]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object AdReqsMetrics extends GeneratedMessageCompanion[AdReqsMetrics]

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[AdReqsMetrics]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
final case class AdTypeMetrics(impressions: Int, adRequests: Int, bids: Int, wins: Int, losses: Int, lurls: Int, nurls: Int, cumulativeBidPrice: Double, cumulativeLurlPrice: Double, cumulativeNurlPrice: Double, ecpm: Option[EcpmMetrics], unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[AdTypeMetrics]

Value parameters

ecpm

repeated Auction auctions = 12; // most recent 10 auctions repeated google.protobuf.Timestamp ad_request_timestamps = 13; // most recent 10 timestamps

Attributes

Companion
object
Supertypes
trait Updatable[AdTypeMetrics]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object AdTypeMetrics extends GeneratedMessageCompanion[AdTypeMetrics]

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[AdTypeMetrics]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
final case class EcpmMetrics(firstPrices: Seq[Double], lastPrices: Seq[Double], count: Int, unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[EcpmMetrics]

Attributes

Companion
object
Supertypes
trait Updatable[EcpmMetrics]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object EcpmMetrics extends GeneratedMessageCompanion[EcpmMetrics]

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[EcpmMetrics]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
final case class Session(interstitial: Option[AdTypeMetrics], rewarded: Option[AdTypeMetrics], isPurchaser: Boolean, unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[Session]

Value parameters

interstitial

optional int64 session_start = 1; optional int64 last_activity = 2;

isPurchaser

optional AdTypeMetrics banner = 5; optional string rejection_reason = 7;

Attributes

Companion
object
Supertypes
trait Updatable[Session]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Session extends GeneratedMessageCompanion[Session]

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[Session]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
Session.type
final case class SessionDepth(adreqs: Option[AdReqsMetrics], unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[SessionDepth]

Session depth metrics combining impressions and ad requests

Session depth metrics combining impressions and ad requests

Value parameters

adreqs

optional ImpsMetrics imps = 1;

Attributes

Companion
object
Supertypes
trait Updatable[SessionDepth]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object SessionDepth extends GeneratedMessageCompanion[SessionDepth]

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[SessionDepth]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
implicit class SessionMetricsLens[UpperPB](_l: Lens[UpperPB, SessionMetrics]) extends ObjectLens[UpperPB, SessionMetrics]

Attributes

Supertypes
class ObjectLens[UpperPB, SessionMetrics]
trait Lens[UpperPB, SessionMetrics]
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class WindowCounters(last1H: Int, last1D: Int, last7D: Int, unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[WindowCounters]

Attributes

Companion
object
Supertypes
trait Updatable[WindowCounters]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object WindowCounters extends GeneratedMessageCompanion[WindowCounters]

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[WindowCounters]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type

Inherited types

Attributes

Inherited from:
GeneratedMessageCompanion

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def enumCompanionForFieldNumber(`__fieldNumber`: Int): GeneratedEnumCompanion[_]
def javaDescriptor: Descriptor

Returns the Java descriptors for this message. It is recommended to use scalaDescriptors. The Java descriptors are available even when Java conversions is disabled, however they are not available in Scala.js or scala-native.

Returns the Java descriptors for this message. It is recommended to use scalaDescriptors. The Java descriptors are available even when Java conversions is disabled, however they are not available in Scala.js or scala-native.

Attributes

def messageCompanionForFieldNumber(`__number`: Int): GeneratedMessageCompanion[_]
def of(depth: Option[SessionDepth], session: Option[Session]): SessionMetrics
def parseFrom(`_input__`: CodedInputStream): SessionMetrics

Parses a message from a CodedInputStream.

Parses a message from a CodedInputStream.

Attributes

def scalaDescriptor: Descriptor

Inherited methods

def enumCompanionForField(field: FieldDescriptor): GeneratedEnumCompanion[_]

Attributes

Inherited from:
GeneratedMessageCompanion
def fromAscii(s: String): SessionMetrics

Attributes

Inherited from:
GeneratedMessageCompanion
def merge(a: SessionMetrics, input: CodedInputStream): SessionMetrics

Merges the given message with the additional fields in the steam.

Merges the given message with the additional fields in the steam.

Attributes

Inherited from:
GeneratedMessageCompanion
def messageCompanionForField(field: FieldDescriptor): GeneratedMessageCompanion[_]

Attributes

Inherited from:
GeneratedMessageCompanion
def parseDelimitedFrom(input: InputStream): Option[SessionMetrics]

Attributes

Inherited from:
GeneratedMessageCompanion
def parseDelimitedFrom(input: CodedInputStream): Option[SessionMetrics]

Attributes

Inherited from:
GeneratedMessageCompanion
def parseFrom(s: Array[Byte]): SessionMetrics

Attributes

Inherited from:
GeneratedMessageCompanion
def parseFrom(input: InputStream): SessionMetrics

Attributes

Inherited from:
GeneratedMessageCompanion
def streamFromDelimitedInput(input: InputStream): Stream[SessionMetrics]

Attributes

Inherited from:
GeneratedMessageCompanion
def toByteArray(a: SessionMetrics): Array[Byte]

Attributes

Inherited from:
GeneratedMessageCompanion
def validate(s: Array[Byte]): Try[SessionMetrics]

Attributes

Inherited from:
GeneratedMessageCompanion
def validateAscii(s: String): Either[TextFormatError, SessionMetrics]

Attributes

Inherited from:
GeneratedMessageCompanion

Concrete fields

final val DEPTH_FIELD_NUMBER: 1
final val SESSION_FIELD_NUMBER: 2
lazy val nestedMessagesCompanions: Seq[GeneratedMessageCompanion[_ <: GeneratedMessage]]

Implicits

Implicits

final implicit def SessionMetricsLens[UpperPB](_l: Lens[UpperPB, SessionMetrics]): SessionMetricsLens[UpperPB]
implicit def messageCompanion: GeneratedMessageCompanion[SessionMetrics]
implicit def messageReads: Reads[SessionMetrics]