# Google Cloud Video Stitcher V1 Client - Class Interstitials (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 Interstitials.

Describes what was stitched into a VOD session's manifest.

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

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ ad_breaks` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-video-stitcher/latest/V1.VodSessionAdBreak>` List of ad breaks ordered by time. |
| `↳ session_content` | `https://docs.cloud.google.com/php/docs/reference/cloud-video-stitcher/latest/V1.VodSessionContent` Information related to the content of the VOD session. |

### getAdBreaks

List of ad breaks ordered by time.

| **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.VodSessionAdBreak>` |   |

### setAdBreaks

List of ad breaks ordered by time.

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

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

### getSessionContent

Information related to the content of the VOD session.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-video-stitcher/latest/V1.VodSessionContent|null` |   |

### hasSessionContent

### clearSessionContent

### setSessionContent

Information related to the content of the VOD session.

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

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