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

Prediction output format for Generic Object Detection.

Generated from protobuf message `google.cloud.visionai.v1.ObjectDetectionPredictionResult`

## Namespace

Google \\ Cloud \\ VisionAI \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ current_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Current timestamp. |
| `↳ identified_boxes` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.ObjectDetectionPredictionResult.IdentifiedBox>` A list of identified boxes. |

### getCurrentTime

Current timestamp.

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

### hasCurrentTime

### clearCurrentTime

### setCurrentTime

Current timestamp.

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

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

### getIdentifiedBoxes

A list of identified boxes.

| **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.ObjectDetectionPredictionResult.IdentifiedBox>` |   |

### setIdentifiedBoxes

A list of identified boxes.

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

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