public sealed class Distribution.Types.BucketOptions.Types.Exponential : IMessage<Distribution.Types.BucketOptions.Types.Exponential>, IEquatable<Distribution.Types.BucketOptions.Types.Exponential>, IDeepCloneable<Distribution.Types.BucketOptions.Types.Exponential>, IBufferMessage, IMessage
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:
[[["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-28 UTC."],[[["\u003cp\u003eThis documentation outlines the \u003ccode\u003eExponential\u003c/code\u003e class, which defines an exponential sequence of buckets within the \u003ccode\u003eDistribution.Types.BucketOptions.Types\u003c/code\u003e namespace, used to represent data distributions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eExponential\u003c/code\u003e class specifies that each bucket in the sequence has a width proportional to the value of its lower bound, ensuring a constant relative uncertainty for values within that bucket.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eExponential\u003c/code\u003e include \u003ccode\u003eGrowthFactor\u003c/code\u003e, which must be greater than 1, \u003ccode\u003eNumFiniteBuckets\u003c/code\u003e, which must be greater than 0, and \u003ccode\u003eScale\u003c/code\u003e, which also must be greater than 0, determining the shape and size of the buckets.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides methods for calculating the message size (\u003ccode\u003eCalculateSize()\u003c/code\u003e), creating a deep clone (\u003ccode\u003eClone()\u003c/code\u003e), merging data from other \u003ccode\u003eExponential\u003c/code\u003e instances or streams (\u003ccode\u003eMergeFrom()\u003c/code\u003e), and comparing instances for equality (\u003ccode\u003eEquals()\u003c/code\u003e).\u003c/p\u003e\n"]]],[],null,["# Class Distribution.Types.BucketOptions.Types.Exponential (2.17.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.17.0 (latest)](/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api.Distribution.Types.BucketOptions.Types.Exponential)\n- [2.15.0](/dotnet/docs/reference/Google.Api.CommonProtos/2.15.0/Google.Api.Distribution.Types.BucketOptions.Types.Exponential)\n- [2.10.0](/dotnet/docs/reference/Google.Api.CommonProtos/2.10.0/Google.Api.Distribution.Types.BucketOptions.Types.Exponential)\n- [2.2.0](/dotnet/docs/reference/Google.Api.CommonProtos/2.2.0/Google.Api.Distribution.Types.BucketOptions.Types.Exponential) \n\n public sealed class Distribution.Types.BucketOptions.Types.Exponential : IMessage\u003cDistribution.Types.BucketOptions.Types.Exponential\u003e, IEquatable\u003cDistribution.Types.BucketOptions.Types.Exponential\u003e, IDeepCloneable\u003cDistribution.Types.BucketOptions.Types.Exponential\u003e, IBufferMessage, IMessage\n\nSpecifies an exponential sequence of buckets that have a width that is\nproportional to the value of the lower bound. Each bucket represents a\nconstant relative uncertainty on a specific value in the bucket.\n\nThere are `num_finite_buckets + 2` (= N) buckets. Bucket `i` has the\nfollowing boundaries:\n\nUpper bound (0 \\\u003c= i \\\u003c N-1): scale \\* (growth_factor \\^ i).\n\nLower bound (1 \\\u003c= i \\\u003c N): scale \\* (growth_factor \\^ (i - 1)). \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Distribution.Types.BucketOptions.Types.Exponential \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Distribution](/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api.Distribution)[Types](/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api.Distribution.Types)[BucketOptions](/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api.Distribution.Types.BucketOptions)[Types](/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api.Distribution.Types.BucketOptions.Types)[Exponential](/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api.Distribution.Types.BucketOptions.Types.Exponential), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Distribution](/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api.Distribution)[Types](/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api.Distribution.Types)[BucketOptions](/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api.Distribution.Types.BucketOptions)[Types](/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api.Distribution.Types.BucketOptions.Types)[Exponential](/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api.Distribution.Types.BucketOptions.Types.Exponential), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Distribution](/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api.Distribution)[Types](/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api.Distribution.Types)[BucketOptions](/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api.Distribution.Types.BucketOptions)[Types](/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api.Distribution.Types.BucketOptions.Types)[Exponential](/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api.Distribution.Types.BucketOptions.Types.Exponential), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals)\n\nNamespace\n---------\n\n[Google.Api](/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api)\n\nAssembly\n--------\n\nGoogle.Api.CommonProtos.dll\n\nConstructors\n------------\n\n### Exponential()\n\n public Exponential()\n\n### Exponential(Exponential)\n\n public Exponential(Distribution.Types.BucketOptions.Types.Exponential other)\n\nFields\n------\n\n### GrowthFactorFieldNumber\n\n public const int GrowthFactorFieldNumber = 2\n\nField number for the \"growth_factor\" field.\n\n### NumFiniteBucketsFieldNumber\n\n public const int NumFiniteBucketsFieldNumber = 1\n\nField number for the \"num_finite_buckets\" field.\n\n### ScaleFieldNumber\n\n public const int ScaleFieldNumber = 3\n\nField number for the \"scale\" field.\n\nProperties\n----------\n\n### Descriptor\n\n public static MessageDescriptor Descriptor { get; }\n\n### GrowthFactor\n\n public double GrowthFactor { get; set; }\n\nMust be greater than 1.\n\n### NumFiniteBuckets\n\n public int NumFiniteBuckets { get; set; }\n\nMust be greater than 0.\n\n### Parser\n\n public static MessageParser\u003cDistribution.Types.BucketOptions.Types.Exponential\u003e Parser { get; }\n\n### Scale\n\n public double Scale { get; set; }\n\nMust be greater than 0.\n\nMethods\n-------\n\n### CalculateSize()\n\n public int CalculateSize()\n\n### Clone()\n\n public Distribution.Types.BucketOptions.Types.Exponential Clone()\n\n### Equals(Exponential)\n\n public bool Equals(Distribution.Types.BucketOptions.Types.Exponential other)\n\n### Equals(object)\n\n public override bool Equals(object other)\n\n**Overrides** \n[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object))\n\n### GetHashCode()\n\n public override int GetHashCode()\n\n**Overrides** \n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode)\n\n### MergeFrom(Exponential)\n\n public void MergeFrom(Distribution.Types.BucketOptions.Types.Exponential other)\n\n### MergeFrom(CodedInputStream)\n\n public void MergeFrom(CodedInputStream input)\n\n### ToString()\n\n public override string ToString()\n\n**Overrides** \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\n### WriteTo(CodedOutputStream)\n\n public void WriteTo(CodedOutputStream output)"]]