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

Manifest configuration.

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

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ file_name` | `string` The name of the generated file. The default is `manifest` with the extension suffix corresponding to the [Manifest.type](https://docs.cloud.google.com/php/docs/reference/cloud-video-transcoder/latest/V1.Manifest#_Google_Cloud_Video_Transcoder_V1_Manifest__getType__). |
| `↳ type` | `int` Required. Type of the manifest. |
| `↳ mux_streams` | `string[]` Required. List of user supplied [MuxStream.key](https://docs.cloud.google.com/php/docs/reference/cloud-video-transcoder/latest/V1.MuxStream#_Google_Cloud_Video_Transcoder_V1_MuxStream__getKey__) values that should appear in this manifest. When [Manifest.type](https://docs.cloud.google.com/php/docs/reference/cloud-video-transcoder/latest/V1.Manifest#_Google_Cloud_Video_Transcoder_V1_Manifest__getType__) is `HLS`, a media manifest with name [MuxStream.key](https://docs.cloud.google.com/php/docs/reference/cloud-video-transcoder/latest/V1.MuxStream#_Google_Cloud_Video_Transcoder_V1_MuxStream__getKey__) and `.m3u8` extension is generated for each element in this list. |
| `↳ dash` | `https://docs.cloud.google.com/php/docs/reference/cloud-video-transcoder/latest/V1.Manifest.DashConfig` `DASH` manifest configuration. |

### getFileName

The name of the generated file. The default is `manifest` with the
extension suffix corresponding to the
[Manifest.type](https://docs.cloud.google.com/php/docs/reference/cloud-video-transcoder/latest/V1.Manifest#_Google_Cloud_Video_Transcoder_V1_Manifest__getType__).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setFileName

The name of the generated file. The default is `manifest` with the
extension suffix corresponding to the
[Manifest.type](https://docs.cloud.google.com/php/docs/reference/cloud-video-transcoder/latest/V1.Manifest#_Google_Cloud_Video_Transcoder_V1_Manifest__getType__).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

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

### getType

Required. Type of the manifest.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [ManifestType](https://docs.cloud.google.com/php/docs/reference/cloud-video-transcoder/latest/V1.Manifest.ManifestType). |

### setType

Required. Type of the manifest.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [ManifestType](https://docs.cloud.google.com/php/docs/reference/cloud-video-transcoder/latest/V1.Manifest.ManifestType). |

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

### getMuxStreams

Required. List of user supplied
[MuxStream.key](https://docs.cloud.google.com/php/docs/reference/cloud-video-transcoder/latest/V1.MuxStream#_Google_Cloud_Video_Transcoder_V1_MuxStream__getKey__) values that
should appear in this manifest.

When [Manifest.type](https://docs.cloud.google.com/php/docs/reference/cloud-video-transcoder/latest/V1.Manifest#_Google_Cloud_Video_Transcoder_V1_Manifest__getType__) is
`HLS`, a media manifest with name
[MuxStream.key](https://docs.cloud.google.com/php/docs/reference/cloud-video-transcoder/latest/V1.MuxStream#_Google_Cloud_Video_Transcoder_V1_MuxStream__getKey__) and `.m3u8`
extension is generated for each element in this list.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setMuxStreams

Required. List of user supplied
[MuxStream.key](https://docs.cloud.google.com/php/docs/reference/cloud-video-transcoder/latest/V1.MuxStream#_Google_Cloud_Video_Transcoder_V1_MuxStream__getKey__) values that
should appear in this manifest.

When [Manifest.type](https://docs.cloud.google.com/php/docs/reference/cloud-video-transcoder/latest/V1.Manifest#_Google_Cloud_Video_Transcoder_V1_Manifest__getType__) is
`HLS`, a media manifest with name
[MuxStream.key](https://docs.cloud.google.com/php/docs/reference/cloud-video-transcoder/latest/V1.MuxStream#_Google_Cloud_Video_Transcoder_V1_MuxStream__getKey__) and `.m3u8`
extension is generated for each element in this list.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string[]` |

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

### getDash

`DASH` manifest configuration.

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

### hasDash

### setDash

`DASH` manifest configuration.

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

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

### getManifestConfig

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |