BucketOptions

object BucketOptions extends GeneratedMessageCompanion[BucketOptions] with JavaProtoSupport[BucketOptions, BucketOptions]
Companion
class
trait Product
trait Mirror
trait JavaProtoSupport[BucketOptions, BucketOptions]
trait GeneratedMessageCompanion[BucketOptions]
trait Serializable
class Object
trait Matchable
class Any

Type members

Classlikes

implicit
class BucketOptionsLens[UpperPB](_l: Lens[UpperPB, BucketOptions]) extends ObjectLens[UpperPB, BucketOptions]
@SerialVersionUID(0L)
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.

Value Params
bounds

The values must be monotonically increasing.

Companion
object
object Explicit extends GeneratedMessageCompanion[Explicit] with JavaProtoSupport[Explicit, Explicit]
Companion
class
@SerialVersionUID(0L)
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)).

Value Params
growthFactor

Must be greater than 1.

numFiniteBuckets

Must be greater than 0.

scale

Must be greater than 0.

Companion
object
object Exponential extends GeneratedMessageCompanion[Exponential] with JavaProtoSupport[Exponential, Exponential]
Companion
class
@SerialVersionUID(0L)
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)).

Value Params
numFiniteBuckets

Must be greater than 0.

offset

Lower bound of the first bucket.

width

Must be greater than 0.

Companion
object
object Linear extends GeneratedMessageCompanion[Linear] with JavaProtoSupport[Linear, Linear]
Companion
class
object Options
Companion
class
sealed
trait Options extends GeneratedOneof
Companion
object

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from
Mirror
type ValueType = A
Inherited from
GeneratedMessageCompanion

Value members

Concrete methods

def enumCompanionForFieldNumber(`__fieldNumber`: Int): GeneratedEnumCompanion[_]
def fromJavaProto(javaPbSource: BucketOptions): BucketOptions
def javaDescriptor: Descriptor
def messageCompanionForFieldNumber(`__number`: Int): GeneratedMessageCompanion[_]
def of(options: Options): BucketOptions
def parseFrom(`_input__`: CodedInputStream): BucketOptions
def scalaDescriptor: Descriptor
def toJavaProto(scalaPbSource: BucketOptions): BucketOptions

Inherited methods

def enumCompanionForField(field: FieldDescriptor): GeneratedEnumCompanion[_]
Inherited from
GeneratedMessageCompanion
def fromAscii(s: String): BucketOptions
Inherited from
GeneratedMessageCompanion
def merge(a: BucketOptions, input: CodedInputStream): BucketOptions

Merges the given message with the additional fields in the steam.

Merges the given message with the additional fields in the steam.

Inherited from
GeneratedMessageCompanion
def messageCompanionForField(field: FieldDescriptor): GeneratedMessageCompanion[_]
Inherited from
GeneratedMessageCompanion
def parseDelimitedFrom(input: InputStream): Option[BucketOptions]
Inherited from
GeneratedMessageCompanion
def parseDelimitedFrom(input: CodedInputStream): Option[BucketOptions]
Inherited from
GeneratedMessageCompanion
def parseFrom(s: Array[Byte]): BucketOptions
Inherited from
GeneratedMessageCompanion
def parseFrom(input: InputStream): BucketOptions
Inherited from
GeneratedMessageCompanion
@nowarn("cat=deprecation")
def streamFromDelimitedInput(input: InputStream): Stream[BucketOptions]
Inherited from
GeneratedMessageCompanion
def toByteArray(a: BucketOptions): Array[Byte]
Inherited from
GeneratedMessageCompanion
def validate(s: Array[Byte]): Try[BucketOptions]
Inherited from
GeneratedMessageCompanion
def validateAscii(s: String): Either[TextFormatError, BucketOptions]
Inherited from
GeneratedMessageCompanion

Concrete fields

lazy
val nestedMessagesCompanions: Seq[GeneratedMessageCompanion[_ <: GeneratedMessage]]

Implicits

Implicits

final implicit
def BucketOptionsLens[UpperPB](_l: Lens[UpperPB, BucketOptions]): BucketOptionsLens[UpperPB]
implicit
def messageCompanion: GeneratedMessageCompanion[BucketOptions] & JavaProtoSupport[BucketOptions, BucketOptions]
implicit