# Google Cloud Video Transcoder V1 Client - Class AdBreak (1.4.0)

1.4.0 (latest) 1.3.2 1.2.0 1.1.0 1.0.3 0.10.5 0.9.1 0.8.2 0.7.1 0.6.0 0.5.3 Reference documentation and code samples for the Google Cloud Video Transcoder V1 Client class AdBreak.

Ad break.

Generated from protobuf message `google.cloud.video.transcoder.v1.AdBreak`

## Namespace

Google \\ Cloud \\ Video \\ Transcoder \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ start_time_offset` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Duration` Start time in seconds for the ad break, relative to the output file timeline. The default is `0s`. |

### getStartTimeOffset

Start time in seconds for the ad break, relative to the output file
timeline. The default is `0s`.

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

### hasStartTimeOffset

### clearStartTimeOffset

### setStartTimeOffset

Start time in seconds for the ad break, relative to the output file
timeline. The default is `0s`.

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

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