BucketOptions

com.google.api.distribution.Distribution$.BucketOptions$
See theBucketOptions companion class
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

Members list

Concise view

Type members

Classlikes

implicit class BucketOptionsLens[UpperPB](_l: Lens[UpperPB, BucketOptions]) extends ObjectLens[UpperPB, BucketOptions]

Attributes

Source:
Distribution.scala
Graph
Supertypes
class ObjectLens[UpperPB, BucketOptions]
trait Lens[UpperPB, BucketOptions]
trait Serializable
class Object
trait Matchable
class Any
final case class Explicit(bounds: Seq[Double], unknownFields: UnknownFieldSet) extends GeneratedMessage with Updatable[Explicit]

Specifies a set of buckets with arbitrary widths.

Specifies a set of buckets with arbitrary widths.

There are size(bounds) + 1 (= N) buckets. Bucket i has the following boundaries:

Upper bound (0 <= i < N-1): bounds[i] Lower bound (1 <= i < N); bounds[i - 1]

The bounds field must contain at least one element. If bounds has only one element, then there are no finite buckets, and that single element is the common boundary of the overflow and underflow buckets.

Attributes

bounds

The values must be monotonically increasing.

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

Attributes

Companion:
class
Source:
Distribution.scala
Graph
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[Explicit]
trait Serializable
class Object
trait Matchable
class Any
Self type
final case class Exponential(numFiniteBuckets: Int, growthFactor: Double, scale: Double, unknownFields: UnknownFieldSet) extends GeneratedMessage with Updatable[Exponential]

Specifies an exponential sequence of buckets that have a width that is proportional to the value of the lower bound. Each bucket represents a constant relative uncertainty on a specific value in the bucket.

Specifies an exponential sequence of buckets that have a width that is proportional to the value of the lower bound. Each bucket represents a constant relative uncertainty on a 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): scale * (growth_factor ^ i).

Lower bound (1 <= i < N): scale * (growth_factor ^ (i - 1)).

Attributes

growthFactor

Must be greater than 1.

numFiniteBuckets

Must be greater than 0.

scale

Must be greater than 0.

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

Attributes

Companion:
class
Source:
Distribution.scala
Graph
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[Exponential]
trait Serializable
class Object
trait Matchable
class Any
Self type
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.

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
object Linear extends GeneratedMessageCompanion[Linear]

Attributes

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

Attributes

Companion:
trait
Source:
Distribution.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Options.type
sealed trait Options extends GeneratedOneof

Attributes

Companion:
object
Source:
Distribution.scala
Graph
Supertypes
trait GeneratedOneof
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Known subtypes

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(options: Options): BucketOptions

Attributes

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

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: BucketOptions, 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
lazy val nestedMessagesCompanions: Seq[GeneratedMessageCompanion[_ <: GeneratedMessage]]

Attributes

Source:
Distribution.scala

Implicits

Implicits

final implicit def BucketOptionsLens[UpperPB](_l: Lens[UpperPB, BucketOptions]): BucketOptionsLens[UpperPB]

Attributes

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

Attributes

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

Attributes

Source:
Distribution.scala