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

Prediction output format for Video Classification.

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

## 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 classifications have been identified. |
| `↳ 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 classifications have been identified. Particularly, if the end is the same as the start, it means the identification happens on a specific video frame. |
| `↳ classifications` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.VideoClassificationPredictionResult.IdentifiedClassification>` All of the classifications identified in the time range. |

### getSegmentStartTime

The beginning, inclusive, of the video's time segment in which the
classifications have been identified.

| **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
classifications have been identified.

| **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
classifications have been identified. Particularly, if the end is the same
as the start, it means the identification happens 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
classifications have been identified. Particularly, if the end is the same
as the start, it means the identification happens on a specific video
frame.

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

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

### getClassifications

All of the classifications identified in the 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.VideoClassificationPredictionResult.IdentifiedClassification>` |   |

### setClassifications

All of the classifications identified in the time range.

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

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