# Google Cloud Vision Ai V1 Client - Class Range (0.3.0)

0.3.0 (latest) 0.2.0 0.1.0 Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class Range.

The range of values \[start, end) for which faceting is applied.

Generated from protobuf message `google.cloud.visionai.v1.FacetBucket.Range`

## Namespace

Google \\ Cloud \\ VisionAI \\ V1 \\ FacetBucket

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ start` | `https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.FacetValue` Start of the range. Non-existence indicates some bound (e.g. -inf). |
| `↳ end` | `https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.FacetValue` End of the range. Non-existence indicates some bound (e.g. inf). |

### getStart

Start of the range. Non-existence indicates some bound (e.g. -inf).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.FacetValue|null` |   |

### hasStart

### clearStart

### setStart

Start of the range. Non-existence indicates some bound (e.g. -inf).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.FacetValue` |

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

### getEnd

End of the range. Non-existence indicates some bound (e.g. inf).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.FacetValue|null` |   |

### hasEnd

### clearEnd

### setEnd

End of the range. Non-existence indicates some bound (e.g. inf).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.FacetValue` |

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