public sealed class Distribution.Types.ExplicitBuckets : IMessage<Distribution.Types.ExplicitBuckets>, IEquatable<Distribution.Types.ExplicitBuckets>, IDeepCloneable<Distribution.Types.ExplicitBuckets>, IBufferMessage, IMessage
Reference documentation and code samples for the Service Control v1 API class Distribution.Types.ExplicitBuckets.
Describing buckets with arbitrary user-provided width.
'bound' is a list of strictly increasing boundaries between
buckets. Note that a list of length N-1 defines N buckets because
of fenceposting. See comments on bucket_options for details.
The i'th finite bucket covers the interval
[bound[i-1], bound[i])
where i ranges from 1 to bound_size() - 1. Note that there are no
finite buckets at all if 'bound' only contains a single element; in
that special case the single bound defines the boundary between the
underflow and overflow buckets.
bucket number lower bound upper bound
i == 0 (underflow) -inf bound[i]
0 < i < bound_size() bound[i-1] bound[i]
i == bound_size() (overflow) bound[i-1] +inf
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["The `Distribution.Types.ExplicitBuckets` class in the Service Control v1 API allows for defining custom bucket boundaries for data distribution, with the latest version being 2.4.0."],["This class, part of the `Google.Cloud.ServiceControl.V1` namespace, is used to describe buckets with arbitrary, user-provided widths."],["It implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, offering functionalities such as message handling, equality checks, deep cloning, and buffered message management."],["The `Bounds` property, of type `RepeatedField\u003cdouble\u003e`, allows users to define a list of increasing boundaries, where N-1 boundaries create N buckets, managing the ranges for each bucket."],["Constructors are available for creating new instances of `ExplicitBuckets`, either empty or by cloning from an existing instance, specified by parameter `other`."]]],[]]