Class: Google::Api::Distribution::BucketOptions::Linear
- Inherits:
-
Object
- Object
- Google::Api::Distribution::BucketOptions::Linear
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/api/distribution.rb
Overview
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)).
Instance Attribute Summary collapse
-
#num_finite_buckets ⇒ ::Integer
Must be greater than 0.
-
#offset ⇒ ::Float
Lower bound of the first bucket.
-
#width ⇒ ::Float
Must be greater than 0.
Instance Attribute Details
#num_finite_buckets ⇒ ::Integer
Returns Must be greater than 0.
147 148 149 150 |
# File 'proto_docs/google/api/distribution.rb', line 147 class Linear include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |