# Google Cloud Video Stitcher V1 Client - Class ProgressEvent (1.2.0)

1.2.0 (latest) 1.1.2 1.0.4 0.9.1 0.8.4 0.7.3 0.6.2 0.5.1 0.3.4 Reference documentation and code samples for the Google Cloud Video Stitcher V1 Client class ProgressEvent.

Indicates a time in which a list of events should be triggered
during media playback.

Generated from protobuf message `google.cloud.video.stitcher.v1.ProgressEvent`

## Namespace

Google \\ Cloud \\ Video \\ Stitcher \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ time_offset` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Duration` The time when the following tracking events occurs. The time is in seconds relative to the start of the VOD asset. |
| `↳ events` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-video-stitcher/latest/V1.Event>` The list of progress tracking events for the ad break. These can be of the following IAB types: `BREAK_START`, `BREAK_END`, `IMPRESSION`, `CREATIVE_VIEW`, `START`, `FIRST_QUARTILE`, `MIDPOINT`, `THIRD_QUARTILE`, `COMPLETE`, `PROGRESS`. |

### getTimeOffset

The time when the following tracking events occurs. The time is in
seconds relative to the start of the VOD asset.

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

### hasTimeOffset

### clearTimeOffset

### setTimeOffset

The time when the following tracking events occurs. The time is in
seconds relative to the start of the VOD asset.

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

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

### getEvents

The list of progress tracking events for the ad break. These can be of
the following IAB types: `BREAK_START`, `BREAK_END`, `IMPRESSION`,
`CREATIVE_VIEW`, `START`, `FIRST_QUARTILE`, `MIDPOINT`, `THIRD_QUARTILE`,
`COMPLETE`, `PROGRESS`.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-video-stitcher/latest/V1.Event>` |   |

### setEvents

The list of progress tracking events for the ad break. These can be of
the following IAB types: `BREAK_START`, `BREAK_END`, `IMPRESSION`,
`CREATIVE_VIEW`, `START`, `FIRST_QUARTILE`, `MIDPOINT`, `THIRD_QUARTILE`,
`COMPLETE`, `PROGRESS`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-video-stitcher/latest/V1.Event>` |

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