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

The object info and accumulated count for annotations from occupancy
counting operator.

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

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ start_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` The start time of the accumulated count. |
| `↳ object_count` | `https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.OccupancyCountingPredictionResult.Stats.ObjectCount` The object count for the accumulated count. |

### getStartTime

The start time of the accumulated count.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasStartTime

### clearStartTime

### setStartTime

The start time of the accumulated count.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

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

### getObjectCount

The object count for the accumulated count.

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

### hasObjectCount

### clearObjectCount

### setObjectCount

The object count for the accumulated count.

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

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