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

Prediction output format for Video Object Tracking.

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

## Namespace

Google \\ Cloud \\ VisionAI \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ segment_start_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` The beginning, inclusive, of the video's time segment in which the current identifications happens. |
| `↳ segment_end_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` The end, inclusive, of the video's time segment in which the current identifications happen. Particularly, if the end is the same as the start, it means the identifications happen on a specific video frame. |
| `↳ objects` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.VideoObjectTrackingPredictionResult.DetectedObject>` All of the objects detected in the specified time range. |

### getSegmentStartTime

The beginning, inclusive, of the video's time segment in which the
current identifications happens.

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

### hasSegmentStartTime

### clearSegmentStartTime

### setSegmentStartTime

The beginning, inclusive, of the video's time segment in which the
current identifications happens.

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

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

### getSegmentEndTime

The end, inclusive, of the video's time segment in which the current
identifications happen. Particularly, if the end is the same as the start,
it means the identifications happen on a specific video frame.

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

### hasSegmentEndTime

### clearSegmentEndTime

### setSegmentEndTime

The end, inclusive, of the video's time segment in which the current
identifications happen. Particularly, if the end is the same as the start,
it means the identifications happen on a specific video frame.

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

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

### getObjects

All of the objects detected in the specified time range.

| **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.VideoObjectTrackingPredictionResult.DetectedObject>` |   |

### setObjects

All of the objects detected in the specified time range.

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

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