Show / Hide Table of Contents

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
Implements
IMessage<Distribution.Types.BucketOptions.Types.Exponential>
IMessage
System.IEquatable<Distribution.Types.BucketOptions.Types.Exponential>
IDeepCloneable<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()
Namespace: Google.Api
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
public Exponential()

Exponential(Distribution.Types.BucketOptions.Types.Exponential)

Declaration
public Exponential(Distribution.Types.BucketOptions.Types.Exponential other)
Parameters
Type Name Description
Distribution.Types.BucketOptions.Types.Exponential other

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
Type Description
MessageDescriptor

GrowthFactor

Must be greater than 1.

Declaration
public double GrowthFactor { get; set; }
Property Value
Type Description
System.Double

NumFiniteBuckets

Must be greater than 0.

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
Type Description
MessageParser<Distribution.Types.BucketOptions.Types.Exponential>

Scale

Must be greater than 0.

Declaration
public double Scale { get; set; }
Property Value
Type Description
System.Double

Methods

CalculateSize()

Declaration
public int CalculateSize()
Returns
Type Description
System.Int32
Implements
IMessage.CalculateSize()

Clone()

Declaration
public Distribution.Types.BucketOptions.Types.Exponential Clone()
Returns
Type Description
Distribution.Types.BucketOptions.Types.Exponential
Implements
IDeepCloneable<T>.Clone()

Equals(Distribution.Types.BucketOptions.Types.Exponential)

Declaration
public bool Equals(Distribution.Types.BucketOptions.Types.Exponential other)
Parameters
Type Name Description
Distribution.Types.BucketOptions.Types.Exponential other
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
Type Name Description
Distribution.Types.BucketOptions.Types.Exponential other
Implements
IMessage<T>.MergeFrom(T)

MergeFrom(CodedInputStream)

Declaration
public void MergeFrom(CodedInputStream input)
Parameters
Type Name Description
CodedInputStream input
Implements
IMessage.MergeFrom(CodedInputStream)

ToString()

Declaration
public override string ToString()
Returns
Type Description
System.String
Overrides
System.Object.ToString()

WriteTo(CodedOutputStream)

Declaration
public void WriteTo(CodedOutputStream output)
Parameters
Type Name Description
CodedOutputStream output
Implements
IMessage.WriteTo(CodedOutputStream)

Explicit Interface Implementations

IMessage.Descriptor

Declaration
MessageDescriptor IMessage.Descriptor { get; }
Returns
Type Description
MessageDescriptor
Implements
IMessage.Descriptor
Back to top