public sealed class 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 documentation page covers the \u003ccode\u003eDistribution.Types.LinearBuckets\u003c/code\u003e class within the Service Control v1 API, specifically focusing on version 2.1.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLinearBuckets\u003c/code\u003e class is used to define buckets with a constant width for data distribution, inheriting from \u003ccode\u003eObject\u003c/code\u003e and implementing 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\u003eIt defines the structure of linear buckets through properties such as \u003ccode\u003eNumFiniteBuckets\u003c/code\u003e (the quantity of finite buckets), \u003ccode\u003eOffset\u003c/code\u003e (the starting point of the bucket intervals), and \u003ccode\u003eWidth\u003c/code\u003e (the constant width of each bucket).\u003c/p\u003e\n"],["\u003cp\u003eThe page provides access to different versioned links for the \u003ccode\u003eLinearBuckets\u003c/code\u003e class, ranging from 1.0.0 to 2.4.0, with the later being the latest.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes two constructors, a default one, and one that accepts another \u003ccode\u003eLinearBuckets\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,[]]