final case class MetricDescriptor(name: String = "", description: String = "", unit: String = "", type: Type = io.opencensus.proto.metrics.v1.metrics.MetricDescriptor.Type.UNSPECIFIED, labelKeys: Seq[LabelKey] = _root_.scala.Seq.empty, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[MetricDescriptor] with Product with Serializable
Defines a metric type and its schema.
- name
The metric type, including its DNS name prefix. It must be unique.
- description
A detailed description of the metric, which can be used in documentation.
- unit
The unit in which the metric value is reported. Follows the format described by http://unitsofmeasure.org/ucum.html.
- labelKeys
The label keys associated with the metric descriptor.
- Annotations
- @SerialVersionUID()
- Source
- MetricDescriptor.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- MetricDescriptor
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new MetricDescriptor(name: String = "", description: String = "", unit: String = "", type: Type = io.opencensus.proto.metrics.v1.metrics.MetricDescriptor.Type.UNSPECIFIED, labelKeys: Seq[LabelKey] = _root_.scala.Seq.empty, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty)
- name
The metric type, including its DNS name prefix. It must be unique.
- description
A detailed description of the metric, which can be used in documentation.
- unit
The unit in which the metric value is reported. Follows the format described by http://unitsofmeasure.org/ucum.html.
- labelKeys
The label keys associated with the metric descriptor.
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 addAllLabelKeys(__vs: Iterable[LabelKey]): MetricDescriptor
- def addLabelKeys(__vs: LabelKey*): MetricDescriptor
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearLabelKeys: MetricDescriptor
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def companion: MetricDescriptor.type
- Definition Classes
- MetricDescriptor → GeneratedMessage
- val description: String
- def discardUnknownFields: MetricDescriptor
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getField(__field: FieldDescriptor): PValue
- Definition Classes
- MetricDescriptor → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- MetricDescriptor → GeneratedMessage
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val labelKeys: Seq[LabelKey]
- val name: String
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def serializedSize: Int
- Definition Classes
- MetricDescriptor → 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
- MetricDescriptor → GeneratedMessage
- val type: Type
- val unit: String
- val unknownFields: UnknownFieldSet
- def update(ms: (Lens[MetricDescriptor, MetricDescriptor]) => Mutation[MetricDescriptor]*): MetricDescriptor
- Definition Classes
- Updatable
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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]) @native()
- def withDescription(__v: String): MetricDescriptor
- def withLabelKeys(__v: Seq[LabelKey]): MetricDescriptor
- def withName(__v: String): MetricDescriptor
- def withType(__v: Type): MetricDescriptor
- def withUnit(__v: String): MetricDescriptor
- def withUnknownFields(__v: UnknownFieldSet): MetricDescriptor
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- MetricDescriptor → GeneratedMessage
- final def writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage