MetricDescriptor

com.google.api.metric.MetricDescriptor$
See theMetricDescriptor companion class
object MetricDescriptor extends GeneratedMessageCompanion[MetricDescriptor]

Attributes

Companion:
class
Source:
MetricDescriptor.scala
Graph
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[MetricDescriptor]
trait Serializable
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

implicit class MetricDescriptorLens[UpperPB](_l: Lens[UpperPB, MetricDescriptor]) extends ObjectLens[UpperPB, MetricDescriptor]

Attributes

Source:
MetricDescriptor.scala
Graph
Supertypes
class ObjectLens[UpperPB, MetricDescriptor]
trait Lens[UpperPB, MetricDescriptor]
trait Serializable
class Object
trait Matchable
class Any
final case class MetricDescriptorMetadata(launchStage: LaunchStage, samplePeriod: Option[Duration], ingestDelay: Option[Duration], unknownFields: UnknownFieldSet) extends GeneratedMessage with Updatable[MetricDescriptorMetadata]

Additional annotations that can be used to guide the usage of a metric.

Additional annotations that can be used to guide the usage of a metric.

Attributes

ingestDelay

The delay of data points caused by ingestion. Data points older than this age are guaranteed to be ingested and available to be read, excluding data loss due to errors.

launchStage

Deprecated. Must use the [MetricDescriptor.launch_stage][google.api.MetricDescriptor.launch_stage] instead.

samplePeriod

The sampling period of metric data points. For metrics which are written periodically, consecutive data points are stored at this time interval, excluding data loss due to errors. Metrics with a higher granularity have a smaller sampling period.

Companion:
object
Source:
MetricDescriptor.scala
Graph
Supertypes
trait Updatable[MetricDescriptorMetadata]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
object MetricDescriptorMetadata extends GeneratedMessageCompanion[MetricDescriptorMetadata]

Attributes

Companion:
class
Source:
MetricDescriptor.scala
Graph
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[MetricDescriptorMetadata]
trait Serializable
class Object
trait Matchable
class Any
Self type
sealed abstract class MetricKind(val value: Int) extends GeneratedEnum

The kind of measurement. It describes how the data is reported. For information on setting the start time and end time based on the MetricKind, see [TimeInterval][google.monitoring.v3.TimeInterval].

The kind of measurement. It describes how the data is reported. For information on setting the start time and end time based on the MetricKind, see [TimeInterval][google.monitoring.v3.TimeInterval].

Attributes

Companion:
object
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
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
sealed abstract class ValueTypeEnum(val value: Int) extends GeneratedEnum

The value type of a metric.

The value type of a metric.

Attributes

Companion:
object
Source:
MetricDescriptor.scala
Graph
Supertypes
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Known subtypes
object BOOL.type
object DISTRIBUTION.type
object DOUBLE.type
object INT64.type
object MONEY.type
object STRING.type
object ValueTypeEnum extends GeneratedEnumCompanion[ValueTypeEnum]

Attributes

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

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:
GeneratedMessageCompanion
Source:
GeneratedMessageCompanion.scala

Value members

Concrete methods

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

Attributes

Source:
MetricDescriptor.scala
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

Source:
MetricDescriptor.scala
def messageCompanionForFieldNumber(`__number`: Int): GeneratedMessageCompanion[_]

Attributes

Source:
MetricDescriptor.scala
def of(name: String, `type`: String, labels: Seq[LabelDescriptor], metricKind: MetricKind, valueType: ValueTypeEnum, unit: String, description: String, displayName: String, metadata: Option[MetricDescriptorMetadata], launchStage: LaunchStage, monitoredResourceTypes: Seq[String]): MetricDescriptor

Attributes

Source:
MetricDescriptor.scala
def parseFrom(`_input__`: CodedInputStream): MetricDescriptor

Parses a message from a CodedInputStream.

Parses a message from a CodedInputStream.

Attributes

Source:
MetricDescriptor.scala
def scalaDescriptor: Descriptor

Attributes

Source:
MetricDescriptor.scala

Inherited methods

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

Attributes

Inherited from:
GeneratedMessageCompanion
Source:
GeneratedMessageCompanion.scala
def fromAscii(s: String): A

Attributes

Inherited from:
GeneratedMessageCompanion
Source:
GeneratedMessageCompanion.scala
def merge(a: MetricDescriptor, input: CodedInputStream): A

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
Source:
GeneratedMessageCompanion.scala
def messageCompanionForField(field: FieldDescriptor): GeneratedMessageCompanion[_]

Attributes

Inherited from:
GeneratedMessageCompanion
Source:
GeneratedMessageCompanion.scala
def parseDelimitedFrom(input: InputStream): Option[A]

Attributes

Inherited from:
GeneratedMessageCompanion
Source:
GeneratedMessageCompanion.scala
def parseDelimitedFrom(input: CodedInputStream): Option[A]

Attributes

Inherited from:
GeneratedMessageCompanion
Source:
GeneratedMessageCompanion.scala
def parseFrom(s: Array[Byte]): A

Attributes

Inherited from:
GeneratedMessageCompanion
Source:
GeneratedMessageCompanion.scala
def parseFrom(input: InputStream): A

Attributes

Inherited from:
GeneratedMessageCompanion
Source:
GeneratedMessageCompanion.scala
def streamFromDelimitedInput(input: InputStream): Stream[A]

Attributes

Inherited from:
GeneratedMessageCompanion
Source:
GeneratedMessageCompanion.scala

Attributes

Inherited from:
GeneratedMessageCompanion
Source:
GeneratedMessageCompanion.scala
def validate(s: Array[Byte]): Try[A]

Attributes

Inherited from:
GeneratedMessageCompanion
Source:
GeneratedMessageCompanion.scala
def validateAscii(s: String): Either[TextFormatError, A]

Attributes

Inherited from:
GeneratedMessageCompanion
Source:
GeneratedMessageCompanion.scala

Concrete fields

final val LABELS_FIELD_NUMBER: 2

Attributes

Source:
MetricDescriptor.scala
final val METADATA_FIELD_NUMBER: 10

Attributes

Source:
MetricDescriptor.scala
final val NAME_FIELD_NUMBER: 1

Attributes

Source:
MetricDescriptor.scala
final val TYPE_FIELD_NUMBER: 8

Attributes

Source:
MetricDescriptor.scala
final val UNIT_FIELD_NUMBER: 5

Attributes

Source:
MetricDescriptor.scala

Attributes

Source:
MetricDescriptor.scala
lazy val nestedMessagesCompanions: Seq[GeneratedMessageCompanion[_ <: GeneratedMessage]]

Attributes

Source:
MetricDescriptor.scala

Implicits

Implicits

final implicit def MetricDescriptorLens[UpperPB](_l: Lens[UpperPB, MetricDescriptor]): MetricDescriptorLens[UpperPB]

Attributes

Source:
MetricDescriptor.scala
implicit def messageCompanion: GeneratedMessageCompanion[MetricDescriptor]

Attributes

Source:
MetricDescriptor.scala
implicit def messageReads: Reads[MetricDescriptor]

Attributes

Source:
MetricDescriptor.scala