MetricDescriptorMetadata

com.google.api.metric.MetricDescriptor$.MetricDescriptorMetadata
See theMetricDescriptorMetadata companion object
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.

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

Members list

Concise view

Value members

Concrete methods

def getField(`__field`: FieldDescriptor): PValue

Attributes

Source:
MetricDescriptor.scala
def getFieldByNumber(`__fieldNumber`: Int): Any

Attributes

Source:
MetricDescriptor.scala
override def serializedSize: Int

Attributes

Definition Classes
GeneratedMessage
Source:
MetricDescriptor.scala

Returns a human-readable ASCII format representation of this message.

Returns a human-readable ASCII format representation of this message.

The original message can be decoded from this format by using fromAscii on the companion object.

Attributes

Returns:

human-readable representation of this message.

Source:
MetricDescriptor.scala
def withUnknownFields(`__v`: UnknownFieldSet): MetricDescriptorMetadata

Attributes

Source:
MetricDescriptor.scala
def writeTo(`_output__`: CodedOutputStream): Unit

Serializes the message into the given coded output stream

Serializes the message into the given coded output stream

Attributes

Source:
MetricDescriptor.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
final def toByteArray: Array[Byte]

Serializes the message and returns a byte array containing its raw bytes

Serializes the message and returns a byte array containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala
final def toByteString: ByteString

Serializes the message and returns a ByteString containing its raw bytes

Serializes the message and returns a ByteString containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala
final def toPMessage: PMessage

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala

Attributes

Inherited from:
Updatable
Source:
Lenses.scala
final def writeDelimitedTo(output: OutputStream): Unit

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala
final def writeTo(output: OutputStream): Unit

Serializes the message into the given output stream

Serializes the message into the given output stream

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala