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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eDistribution.Types.ExplicitBuckets\u003c/code\u003e class in the Service Control v1 API allows for defining custom bucket boundaries for data distribution, with the latest version being 2.4.0.\u003c/p\u003e\n"],["\u003cp\u003eThis class, part of the \u003ccode\u003eGoogle.Cloud.ServiceControl.V1\u003c/code\u003e namespace, is used to describe buckets with arbitrary, user-provided widths.\u003c/p\u003e\n"],["\u003cp\u003eIt implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, offering functionalities such as message handling, equality checks, deep cloning, and buffered message management.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBounds\u003c/code\u003e property, of type \u003ccode\u003eRepeatedField<double>\u003c/code\u003e, allows users to define a list of increasing boundaries, where N-1 boundaries create N buckets, managing the ranges for each bucket.\u003c/p\u003e\n"],["\u003cp\u003eConstructors are available for creating new instances of \u003ccode\u003eExplicitBuckets\u003c/code\u003e, either empty or by cloning from an existing instance, specified by parameter \u003ccode\u003eother\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]