# Google Cloud Vision Ai V1 Client - Class Entity (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 Entity.

The entity info for annotations from occupancy counting operator.

Generated from protobuf message `google.cloud.visionai.v1.OccupancyCountingPredictionResult.Entity`

## Namespace

Google \\ Cloud \\ VisionAI \\ V1 \\ OccupancyCountingPredictionResult

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ label_id` | `int|string` Label id. |
| `↳ label_string` | `string` Human readable string of the label. |

### getLabelId

Label id.

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

### setLabelId

Label id.

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

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

### getLabelString

Human readable string of the label.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setLabelString

Human readable string of the label.

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

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