public sealed class LinearBuckets : IMessage<Distribution.Types.LinearBuckets>, IEquatable<Distribution.Types.LinearBuckets>, IDeepCloneable<Distribution.Types.LinearBuckets>, IBufferMessage, IMessageDescribing buckets with constant width.
Implements
IMessage<Distribution.Types.LinearBuckets>, IEquatable<Distribution.Types.LinearBuckets>, IDeepCloneable<Distribution.Types.LinearBuckets>, IBufferMessage, IMessageNamespace
Google.Cloud.ServiceControl.V1Assembly
Google.Cloud.ServiceControl.V1.dll
Constructors
LinearBuckets()
public LinearBuckets()LinearBuckets(Distribution.Types.LinearBuckets)
public LinearBuckets(Distribution.Types.LinearBuckets other)| Parameter | |
|---|---|
| Name | Description |
other |
Distribution.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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
Double |
|