# Google API Common Protos Client - Class Explicit (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 Explicit.

Specifies a set of buckets with arbitrary widths.

There are `size(bounds) + 1` (= N) buckets. Bucket `i` has the following
boundaries:
Upper bound (0 \<= i \< N-1): bounds\[i\]
Lower bound (1 \<= i \< N); bounds\[i - 1\]
The `bounds` field must contain at least one element. If `bounds` has
only one element, then there are no finite buckets, and that single
element is the common boundary of the overflow and underflow buckets.

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

## Namespace

Google \\ Api \\ Distribution \\ BucketOptions

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ bounds` | `float[]` The values must be monotonically increasing. |

### getBounds

The values must be monotonically increasing.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<float>` |   |

### setBounds

The values must be monotonically increasing.

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

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