Distribution_BucketOptions class final
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.
- Inheritance
-
- Object
- ProtoMessage
- Distribution_BucketOptions
Constructors
- Distribution_BucketOptions({Distribution_BucketOptions_Linear? linearBuckets, Distribution_BucketOptions_Exponential? exponentialBuckets, Distribution_BucketOptions_Explicit? explicitBuckets})
-
Distribution_BucketOptions.fromJson(Map<
String, dynamic> json) -
factory
Properties
- explicitBuckets → Distribution_BucketOptions_Explicit?
-
The explicit buckets.
final
- exponentialBuckets → Distribution_BucketOptions_Exponential?
-
The exponential buckets.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- linearBuckets → Distribution_BucketOptions_Linear?
-
The linear bucket.
final
- qualifiedName → String
-
The fully qualified name of this message, i.e.,
google.protobuf.Durationorgoogle.rpc.ErrorInfo.finalinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Object -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- fullyQualifiedName → const String