public sealed class Distribution.Types.LinearBuckets : IMessage<Distribution.Types.LinearBuckets>, IEquatable<Distribution.Types.LinearBuckets>, IDeepCloneable<Distribution.Types.LinearBuckets>, IBufferMessage, IMessage
Reference documentation and code samples for the Service Control v1 API class Distribution.Types.LinearBuckets.
The number of finite buckets. With the underflow and overflow buckets,
the total number of buckets is num_finite_buckets + 2.
See comments on bucket_options for details.
The i'th linear bucket covers the interval
[offset + (i-1) * width, offset + i * width)
where i ranges from 1 to num_finite_buckets, inclusive.
Must be strictly positive.
[[["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\u003eThis page provides documentation for the \u003ccode\u003eDistribution.Types.LinearBuckets\u003c/code\u003e class within the Service Control v1 API, specifically for version 2.2.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLinearBuckets\u003c/code\u003e class is used to define buckets of constant width for data distribution and implements multiple 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 class offers two constructors, one default and another allowing the cloning of an existing \u003ccode\u003eLinearBuckets\u003c/code\u003e object, and it contains three properties: \u003ccode\u003eNumFiniteBuckets\u003c/code\u003e, \u003ccode\u003eOffset\u003c/code\u003e, and \u003ccode\u003eWidth\u003c/code\u003e, which define the bucket configuration.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this specific class can be found under \u003ccode\u003e2.4.0\u003c/code\u003e, with versions all the way down to \u003ccode\u003e1.0.0\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eLinearBuckets\u003c/code\u003e inherits from the Object class, and inherited members include \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eGetType\u003c/code\u003e and \u003ccode\u003eToString\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]