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

Edit atom.

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

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ key` | `string` A unique key for this atom. Must be specified when using advanced mapping. |
| `↳ inputs` | `string[]` List of [Input.key](https://docs.cloud.google.com/php/docs/reference/cloud-video-transcoder/latest/V1.Input#_Google_Cloud_Video_Transcoder_V1_Input__getKey__) values identifying files that should be used in this atom. The listed `inputs` must have the same timeline. |
| `↳ end_time_offset` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Duration` End time in seconds for the atom, relative to the input file timeline. When `end_time_offset` is not specified, the `inputs` are used until the end of the atom. |
| `↳ start_time_offset` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Duration` Start time in seconds for the atom, relative to the input file timeline. The default is `0s`. |

### getKey

A unique key for this atom. Must be specified when using advanced
mapping.

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

### setKey

A unique key for this atom. Must be specified when using advanced
mapping.

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

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

### getInputs

List of [Input.key](https://docs.cloud.google.com/php/docs/reference/cloud-video-transcoder/latest/V1.Input#_Google_Cloud_Video_Transcoder_V1_Input__getKey__) values
identifying files that should be used in this atom. The listed `inputs`
must have the same timeline.

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

### setInputs

List of [Input.key](https://docs.cloud.google.com/php/docs/reference/cloud-video-transcoder/latest/V1.Input#_Google_Cloud_Video_Transcoder_V1_Input__getKey__) values
identifying files that should be used in this atom. The listed `inputs`
must have the same timeline.

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

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

### getEndTimeOffset

End time in seconds for the atom, relative to the input file timeline.

When `end_time_offset` is not specified, the `inputs` are used until
the end of the atom.

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

### hasEndTimeOffset

### clearEndTimeOffset

### setEndTimeOffset

End time in seconds for the atom, relative to the input file timeline.

When `end_time_offset` is not specified, the `inputs` are used until
the end of the atom.

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

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

### getStartTimeOffset

Start time in seconds for the atom, relative to the input 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 atom, relative to the input file timeline.

The default is `0s`.

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

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