MetricKind

com.google.api.metric.MetricDescriptor$.MetricKind$
See theMetricKind companion class
object MetricKind extends GeneratedEnumCompanion[MetricKind]

Attributes

Companion:
class
Source:
MetricDescriptor.scala
Graph
Supertypes
trait Sum
trait Mirror
trait GeneratedEnumCompanion[MetricKind]
trait Serializable
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

case object CUMULATIVE extends MetricKind with Recognized

A value accumulated over a time interval. Cumulative measurements in a time series should have the same start time and increasing end times, until an event resets the cumulative value to zero and sets a new start time for the following points.

A value accumulated over a time interval. Cumulative measurements in a time series should have the same start time and increasing end times, until an event resets the cumulative value to zero and sets a new start time for the following points.

Attributes

Source:
MetricDescriptor.scala
Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
case object DELTA extends MetricKind with Recognized

The change in a value during a time interval.

The change in a value during a time interval.

Attributes

Source:
MetricDescriptor.scala
Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
DELTA.type
case object GAUGE extends MetricKind with Recognized

An instantaneous measurement of a value.

An instantaneous measurement of a value.

Attributes

Source:
MetricDescriptor.scala
Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
GAUGE.type

Do not use this default value.

Do not use this default value.

Attributes

Source:
MetricDescriptor.scala
Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
sealed trait Recognized extends MetricKind

Attributes

Source:
MetricDescriptor.scala
Graph
Supertypes
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Known subtypes
object CUMULATIVE.type
object DELTA.type
object GAUGE.type
final case class Unrecognized(unrecognizedValue: Int) extends MetricKind with UnrecognizedEnum

Attributes

Source:
MetricDescriptor.scala
Graph
Supertypes
trait UnrecognizedEnum
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source:
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source:
Mirror.scala
type ValueType = A

Attributes

Inherited from:
GeneratedEnumCompanion
Source:
GeneratedMessageCompanion.scala

Value members

Concrete methods

def fromValue(`__value`: Int): MetricKind

Attributes

Source:
MetricDescriptor.scala
def javaDescriptor: EnumDescriptor

Returns the Java descriptors for this enum. 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 enum. 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

Source:
MetricDescriptor.scala
def scalaDescriptor: EnumDescriptor

Attributes

Source:
MetricDescriptor.scala

Inherited methods

def fromName(name: String): Option[A]

Attributes

Inherited from:
GeneratedEnumCompanion
Source:
GeneratedMessageCompanion.scala

Concrete fields

lazy val values: Seq[MetricKind]

Attributes

Source:
MetricDescriptor.scala

Implicits

Implicits

implicit def enumCompanion: GeneratedEnumCompanion[MetricKind]

Attributes

Source:
MetricDescriptor.scala