Distribution

com.google.api.distribution.Distribution$
See theDistribution companion class
object Distribution extends GeneratedMessageCompanion[Distribution]

Attributes

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

Members list

Concise view

Type members

Classlikes

final case class BucketOptions(options: Options, unknownFields: UnknownFieldSet) extends GeneratedMessage with Updatable[BucketOptions]

BucketOptions describes the bucket boundaries used to create a histogram for the distribution. The buckets can be in a linear sequence, an exponential sequence, or each bucket can be specified explicitly. BucketOptions does not include the number of values in each bucket.

BucketOptions describes the bucket boundaries used to create a histogram for the distribution. The buckets can be in a linear sequence, an exponential sequence, or each bucket can be specified explicitly. BucketOptions does not include the number of values in each bucket.

A bucket has an inclusive lower bound and exclusive upper bound for the values that are counted for that bucket. The upper bound of a bucket must be strictly greater than the lower bound. The sequence of N buckets for a distribution consists of an underflow bucket (number 0), zero or more finite buckets (number 1 through N - 2) and an overflow bucket (number N - 1). The buckets are contiguous: the lower bound of bucket i (i > 0) is the same as the upper bound of bucket i - 1. The buckets span the whole range of finite values: lower bound of the underflow bucket is -infinity and the upper bound of the overflow bucket is +infinity. The finite buckets are so-called because both bounds are finite.

Attributes

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

Attributes

Companion:
class
Source:
Distribution.scala
Graph
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[BucketOptions]
trait Serializable
class Object
trait Matchable
class Any
Self type
implicit class DistributionLens[UpperPB](_l: Lens[UpperPB, Distribution]) extends ObjectLens[UpperPB, Distribution]

Attributes

Source:
Distribution.scala
Graph
Supertypes
class ObjectLens[UpperPB, Distribution]
trait Lens[UpperPB, Distribution]
trait Serializable
class Object
trait Matchable
class Any
final case class Exemplar(value: Double, timestamp: Option[Timestamp], attachments: Seq[Any], unknownFields: UnknownFieldSet) extends GeneratedMessage with Updatable[Exemplar]

Exemplars are example points that may be used to annotate aggregated distribution values. They are metadata that gives information about a particular value added to a Distribution bucket, such as a trace ID that was active when a value was added. They may contain further information, such as a example values and timestamps, origin, etc.

Exemplars are example points that may be used to annotate aggregated distribution values. They are metadata that gives information about a particular value added to a Distribution bucket, such as a trace ID that was active when a value was added. They may contain further information, such as a example values and timestamps, origin, etc.

Attributes

attachments

Contextual information about the example value. Examples are: Trace: type.googleapis.com/google.monitoring.v3.SpanContext Literal string: type.googleapis.com/google.protobuf.StringValue Labels dropped during aggregation: type.googleapis.com/google.monitoring.v3.DroppedLabels There may be only a single attachment of any given message type in a single exemplar, and this is enforced by the system.

timestamp

The observation (sampling) time of the above value.

value

Value of the exemplar point. This value determines to which bucket the exemplar belongs.

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

Attributes

Companion:
class
Source:
Distribution.scala
Graph
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[Exemplar]
trait Serializable
class Object
trait Matchable
class Any
Self type
final case class Range(min: Double, max: Double, unknownFields: UnknownFieldSet) extends GeneratedMessage with Updatable[Range]

The range of the population values.

The range of the population values.

Attributes

max

The maximum of the population values.

min

The minimum of the population values.

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

Attributes

Companion:
class
Source:
Distribution.scala
Graph
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[Range]
trait Serializable
class Object
trait Matchable
class Any
Self type
Range.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:
Distribution.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:
Distribution.scala
def messageCompanionForFieldNumber(`__number`: Int): GeneratedMessageCompanion[_]

Attributes

Source:
Distribution.scala
def of(count: Long, mean: Double, sumOfSquaredDeviation: Double, range: Option[Range], bucketOptions: Option[BucketOptions], bucketCounts: Seq[Long], exemplars: Seq[Exemplar]): Distribution

Attributes

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

Parses a message from a CodedInputStream.

Parses a message from a CodedInputStream.

Attributes

Source:
Distribution.scala
def scalaDescriptor: Descriptor

Attributes

Source:
Distribution.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: Distribution, 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

Attributes

Source:
Distribution.scala

Attributes

Source:
Distribution.scala
final val COUNT_FIELD_NUMBER: 1

Attributes

Source:
Distribution.scala

Attributes

Source:
Distribution.scala
final val MEAN_FIELD_NUMBER: 2

Attributes

Source:
Distribution.scala
final val RANGE_FIELD_NUMBER: 4

Attributes

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

Attributes

Source:
Distribution.scala

Implicits

Implicits

final implicit def DistributionLens[UpperPB](_l: Lens[UpperPB, Distribution]): DistributionLens[UpperPB]

Attributes

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

Attributes

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

Attributes

Source:
Distribution.scala