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

The statistics info for annotations from occupancy counting operator.

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

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ full_frame_count` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.OccupancyCountingPredictionResult.Stats.ObjectCount>` Counts of the full frame. |
| `↳ crossing_line_counts` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.OccupancyCountingPredictionResult.Stats.CrossingLineCount>` Crossing line counts. |
| `↳ active_zone_counts` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.OccupancyCountingPredictionResult.Stats.ActiveZoneCount>` Active zone counts. |

### getFullFrameCount

Counts of the full frame.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.OccupancyCountingPredictionResult.Stats.ObjectCount>` |   |

### setFullFrameCount

Counts of the full frame.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.OccupancyCountingPredictionResult.Stats.ObjectCount>` |

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

### getCrossingLineCounts

Crossing line counts.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.OccupancyCountingPredictionResult.Stats.CrossingLineCount>` |   |

### setCrossingLineCounts

Crossing line counts.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.OccupancyCountingPredictionResult.Stats.CrossingLineCount>` |

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

### getActiveZoneCounts

Active zone counts.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.OccupancyCountingPredictionResult.Stats.ActiveZoneCount>` |   |

### setActiveZoneCounts

Active zone counts.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.OccupancyCountingPredictionResult.Stats.ActiveZoneCount>` |

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