# Google API Common Protos Client - Class Exponential (4.14.0)

4.14.0 (latest) 4.13.0 4.12.5 4.11.0 4.10.0 4.9.0 4.8.3 Reference documentation and code samples for the Google API Common Protos Client class 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)).

Generated from protobuf message `google.api.Distribution.BucketOptions.Exponential`

## Namespace

Google \\ Api \\ Distribution \\ BucketOptions

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ num_finite_buckets` | `int` Must be greater than 0. |
| `↳ growth_factor` | `float` Must be greater than 1. |
| `↳ scale` | `float` Must be greater than 0. |

### getNumFiniteBuckets

Must be greater than 0.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### setNumFiniteBuckets

Must be greater than 0.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getGrowthFactor

Must be greater than 1.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `float` |   |

### setGrowthFactor

Must be greater than 1.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `float` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getScale

Must be greater than 0.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `float` |   |

### setScale

Must be greater than 0.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `float` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |