Linear

com.google.api.distribution.Distribution$.BucketOptions$.Linear
See theLinear companion object
final case class Linear(numFiniteBuckets: Int, width: Double, offset: Double, unknownFields: UnknownFieldSet) extends GeneratedMessage with Updatable[Linear]

Specifies a linear sequence of buckets that all have the same width (except overflow and underflow). Each bucket represents a constant absolute uncertainty on the specific value in the bucket.

There are num_finite_buckets + 2 (= N) buckets. Bucket i has the following boundaries:

Upper bound (0 <= i < N-1): offset + (width * i).

Lower bound (1 <= i < N): offset + (width * (i - 1)).

Attributes

numFiniteBuckets

Must be greater than 0.

offset

Lower bound of the first bucket.

width

Must be greater than 0.

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

Members list

Concise view

Value members

Concrete methods

def companion: Linear.type

Attributes

Source:
Distribution.scala
def getField(`__field`: FieldDescriptor): PValue

Attributes

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

Attributes

Source:
Distribution.scala
override def serializedSize: Int

Attributes

Definition Classes
GeneratedMessage
Source:
Distribution.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:
Distribution.scala

Attributes

Source:
Distribution.scala
def withOffset(`__v`: Double): Linear

Attributes

Source:
Distribution.scala
def withUnknownFields(`__v`: UnknownFieldSet): Linear

Attributes

Source:
Distribution.scala
def withWidth(`__v`: Double): Linear

Attributes

Source:
Distribution.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:
Distribution.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
def update(ms: Lens[Linear, Linear] => () => Linear*): A

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