Class Distribution.Types.LinearBuckets (1.4.0)

public sealed class LinearBuckets : IMessage<Distribution.Types.LinearBuckets>, IEquatable<Distribution.Types.LinearBuckets>, IDeepCloneable<Distribution.Types.LinearBuckets>, IBufferMessage, IMessage

Describing buckets with constant width.

Inheritance

Object > Distribution.Types.LinearBuckets

Namespace

Google.Cloud.ServiceControl.V1

Assembly

Google.Cloud.ServiceControl.V1.dll

Constructors

LinearBuckets()

public LinearBuckets()

LinearBuckets(Distribution.Types.LinearBuckets)

public LinearBuckets(Distribution.Types.LinearBuckets other)
Parameter
NameDescription
otherDistribution.Types.LinearBuckets

Properties

NumFiniteBuckets

public int NumFiniteBuckets { get; set; }

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.

Property Value
TypeDescription
Int32

Offset

public double Offset { get; set; }

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.

Property Value
TypeDescription
Double

Width

public double Width { get; set; }

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.

Property Value
TypeDescription
Double