Class Distribution.Types.BucketOptions.Types.Exponential
Specifies an exponential sequence of buckets that have a width that is
proportional to the value of the lower bound. Each bucket represents a
constant relative uncertainty on a specific value in the bucket.
There are num_finite_buckets + 2
(= N) buckets. Bucket i
has the
following boundaries:
Upper bound (0 <= i < N-1): scale * (growth_factor ^ i).
Lower bound (1 <= i < N): scale * (growth_factor ^ (i - 1)).
Inheritance
System.Object
Distribution.Types.BucketOptions.Types.Exponential
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Google.Api.CommonProtos.dll
Syntax
public sealed class Exponential : IMessage<Distribution.Types.BucketOptions.Types.Exponential>, IMessage, IEquatable<Distribution.Types.BucketOptions.Types.Exponential>, IDeepCloneable<Distribution.Types.BucketOptions.Types.Exponential>
Constructors
Exponential()
Declaration
Exponential(Distribution.Types.BucketOptions.Types.Exponential)
Declaration
public Exponential(Distribution.Types.BucketOptions.Types.Exponential other)
Parameters
Fields
GrowthFactorFieldNumber
Field number for the "growth_factor" field.
Declaration
public const int GrowthFactorFieldNumber = 2
Field Value
Type |
Description |
System.Int32 |
|
NumFiniteBucketsFieldNumber
Field number for the "num_finite_buckets" field.
Declaration
public const int NumFiniteBucketsFieldNumber = 1
Field Value
Type |
Description |
System.Int32 |
|
ScaleFieldNumber
Field number for the "scale" field.
Declaration
public const int ScaleFieldNumber = 3
Field Value
Type |
Description |
System.Int32 |
|
Properties
Descriptor
Declaration
public static MessageDescriptor Descriptor { get; }
Property Value
GrowthFactor
Declaration
public double GrowthFactor { get; set; }
Property Value
Type |
Description |
System.Double |
|
NumFiniteBuckets
Declaration
public int NumFiniteBuckets { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Parser
Declaration
public static MessageParser<Distribution.Types.BucketOptions.Types.Exponential> Parser { get; }
Property Value
Scale
Declaration
public double Scale { get; set; }
Property Value
Type |
Description |
System.Double |
|
Methods
CalculateSize()
Declaration
public int CalculateSize()
Returns
Type |
Description |
System.Int32 |
|
Implements
Clone()
Declaration
public Distribution.Types.BucketOptions.Types.Exponential Clone()
Returns
Implements
Equals(Distribution.Types.BucketOptions.Types.Exponential)
Declaration
public bool Equals(Distribution.Types.BucketOptions.Types.Exponential other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Implements
System.IEquatable<T>.Equals(T)
Equals(Object)
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
System.Object |
other |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.Object.Equals(System.Object)
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()
MergeFrom(Distribution.Types.BucketOptions.Types.Exponential)
Declaration
public void MergeFrom(Distribution.Types.BucketOptions.Types.Exponential other)
Parameters
Implements
Declaration
public void MergeFrom(CodedInputStream input)
Parameters
Implements
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
WriteTo(CodedOutputStream)
Declaration
public void WriteTo(CodedOutputStream output)
Parameters
Implements
Explicit Interface Implementations
IMessage.Descriptor
Declaration
MessageDescriptor IMessage.Descriptor { get; }
Returns
Implements