# Interface EditAtomOrBuilder (0.16.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [0.16.0 (latest)](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.video.transcoder.v1.EditAtomOrBuilder)
- [0.15.0](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.video.transcoder.v1.EditAtomOrBuilder)
- [0.14.1](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.video.transcoder.v1.EditAtomOrBuilder)

    public interface EditAtomOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getEndTimeOffset()

    public abstract Duration 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.

`.google.protobuf.Duration end_time_offset = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Duration.html` | The endTimeOffset. |

### getEndTimeOffsetOrBuilder()

    public abstract DurationOrBuilder getEndTimeOffsetOrBuilder()

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.

`.google.protobuf.Duration end_time_offset = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.DurationOrBuilder.html` |   |

### getInputs(int index)

    public abstract String getInputs(int index)

List of `Input.key`s identifying files that should be used in this atom.
The listed `inputs` must have the same timeline.

`repeated string inputs = 2;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the element to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The inputs at the given index. |

### getInputsBytes(int index)

    public abstract ByteString getInputsBytes(int index)

List of `Input.key`s identifying files that should be used in this atom.
The listed `inputs` must have the same timeline.

`repeated string inputs = 2;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the value to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes of the inputs at the given index. |

### getInputsCount()

    public abstract int getInputsCount()

List of `Input.key`s identifying files that should be used in this atom.
The listed `inputs` must have the same timeline.

`repeated string inputs = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The count of inputs. |

### getInputsList()

    public abstract List<String> getInputsList()

List of `Input.key`s identifying files that should be used in this atom.
The listed `inputs` must have the same timeline.

`repeated string inputs = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>` | A list containing the inputs. |

### getKey()

    public abstract String getKey()

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

`string key = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The key. |

### getKeyBytes()

    public abstract ByteString getKeyBytes()

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

`string key = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for key. |

### getStartTimeOffset()

    public abstract Duration getStartTimeOffset()

Start time in seconds for the atom, relative to the input file timeline.
The default is `0s`.

`.google.protobuf.Duration start_time_offset = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Duration.html` | The startTimeOffset. |

### getStartTimeOffsetOrBuilder()

    public abstract DurationOrBuilder getStartTimeOffsetOrBuilder()

Start time in seconds for the atom, relative to the input file timeline.
The default is `0s`.

`.google.protobuf.Duration start_time_offset = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.DurationOrBuilder.html` |   |

### hasEndTimeOffset()

    public abstract boolean hasEndTimeOffset()

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.

`.google.protobuf.Duration end_time_offset = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the endTimeOffset field is set. |

### hasStartTimeOffset()

    public abstract boolean hasStartTimeOffset()

Start time in seconds for the atom, relative to the input file timeline.
The default is `0s`.

`.google.protobuf.Duration start_time_offset = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the startTimeOffset field is set. |