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-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 inherits from \u003ccode\u003eobject\u003c/code\u003e and 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.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eExplicitBuckets\u003c/code\u003e class provides a \u003ccode\u003eBounds\u003c/code\u003e property, which is a list of strictly increasing boundaries that define the buckets.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation includes access to versions of the API dating back to version 1.0.0 of the API.\u003c/p\u003e\n"]]],[],null,[]]