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"]],[["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.LinearBuckets\u003c/code\u003e class in the Service Control v1 API is used to describe buckets with a constant width, utilized for data distribution.\u003c/p\u003e\n"],["\u003cp\u003eThis class 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, demonstrating its versatility in different data operations.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of \u003ccode\u003eDistribution.Types.LinearBuckets\u003c/code\u003e is 2.4.0, while the page also provides access to previous versions ranging from 1.0.0 to 2.3.0, supporting the need for historical code referencing.\u003c/p\u003e\n"],["\u003cp\u003eThe class has properties such as \u003ccode\u003eNumFiniteBuckets\u003c/code\u003e, \u003ccode\u003eOffset\u003c/code\u003e, and \u003ccode\u003eWidth\u003c/code\u003e which define the specifics of the linear buckets, such as the quantity of finite buckets and their range.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLinearBuckets\u003c/code\u003e class is constructed using either a default constructor or by providing another instance of \u003ccode\u003eLinearBuckets\u003c/code\u003e, allowing for object duplication and instantiation flexibility.\u003c/p\u003e\n"]]],[],null,[]]