io.opencensus.proto.agent.metrics.v1.metrics_service
ExportMetricsServiceRequest
Companion object ExportMetricsServiceRequest
final case class ExportMetricsServiceRequest(node: Option[Node] = _root_.scala.None, metrics: Seq[Metric] = _root_.scala.Seq.empty, resource: Option[Resource] = _root_.scala.None, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[ExportMetricsServiceRequest] with Product with Serializable
- node
This is required only in the first message on the stream or if the previous sent ExportMetricsServiceRequest message has a different Node (e.g. when the same RPC is used to send Metrics from multiple Applications).
- metrics
A list of metrics that belong to the last received Node.
- resource
The resource for the metrics in this message that do not have an explicit resource set. If unset, the most recently set resource in the RPC stream applies. It is valid to never be set within a stream, e.g. when no resource info is known at all or when all sent metrics have an explicit resource set.
- Annotations
- @SerialVersionUID()
- Source
- ExportMetricsServiceRequest.scala
- Alphabetic
- By Inheritance
- ExportMetricsServiceRequest
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ExportMetricsServiceRequest(node: Option[Node] = _root_.scala.None, metrics: Seq[Metric] = _root_.scala.Seq.empty, resource: Option[Resource] = _root_.scala.None, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty)
- node
This is required only in the first message on the stream or if the previous sent ExportMetricsServiceRequest message has a different Node (e.g. when the same RPC is used to send Metrics from multiple Applications).
- metrics
A list of metrics that belong to the last received Node.
- resource
The resource for the metrics in this message that do not have an explicit resource set. If unset, the most recently set resource in the RPC stream applies. It is valid to never be set within a stream, e.g. when no resource info is known at all or when all sent metrics have an explicit resource set.
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 addAllMetrics(__vs: Iterable[Metric]): ExportMetricsServiceRequest
- def addMetrics(__vs: Metric*): ExportMetricsServiceRequest
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearMetrics: ExportMetricsServiceRequest
- def clearNode: ExportMetricsServiceRequest
- def clearResource: ExportMetricsServiceRequest
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def companion: ExportMetricsServiceRequest.type
- Definition Classes
- ExportMetricsServiceRequest → GeneratedMessage
- def discardUnknownFields: ExportMetricsServiceRequest
- 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
- ExportMetricsServiceRequest → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- ExportMetricsServiceRequest → GeneratedMessage
- def getNode: Node
- def getResource: Resource
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val metrics: Seq[Metric]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val node: Option[Node]
- 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
- val resource: Option[Resource]
- def serializedSize: Int
- Definition Classes
- ExportMetricsServiceRequest → 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
- ExportMetricsServiceRequest → GeneratedMessage
- val unknownFields: UnknownFieldSet
- def update(ms: (Lens[ExportMetricsServiceRequest, ExportMetricsServiceRequest]) => Mutation[ExportMetricsServiceRequest]*): ExportMetricsServiceRequest
- 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 withMetrics(__v: Seq[Metric]): ExportMetricsServiceRequest
- def withNode(__v: Node): ExportMetricsServiceRequest
- def withResource(__v: Resource): ExportMetricsServiceRequest
- def withUnknownFields(__v: UnknownFieldSet): ExportMetricsServiceRequest
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- ExportMetricsServiceRequest → GeneratedMessage
- final def writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage