# Interface AudioStream.AudioMappingOrBuilder (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.AudioStream.AudioMappingOrBuilder)
- [0.15.0](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.video.transcoder.v1.AudioStream.AudioMappingOrBuilder)
- [0.14.1](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.video.transcoder.v1.AudioStream.AudioMappingOrBuilder)

    public static interface AudioStream.AudioMappingOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getAtomKey()

    public abstract String getAtomKey()

Required. The `EditAtom.key` that references the atom with audio inputs
in the `Job.edit_list`.

`string atom_key = 1;`

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

### getAtomKeyBytes()

    public abstract ByteString getAtomKeyBytes()

Required. The `EditAtom.key` that references the atom with audio inputs
in the `Job.edit_list`.

`string atom_key = 1;`

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

### getGainDb()

    public abstract double getGainDb()

Audio volume control in dB. Negative values decrease volume,
positive values increase. The default is 0.

`double gain_db = 6;`

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

### getInputChannel()

    public abstract int getInputChannel()

Required. The zero-based index of the channel in the input audio stream.

`int32 input_channel = 4;`

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

### getInputKey()

    public abstract String getInputKey()

Required. The `Input.key` that identifies the input file.

`string input_key = 2;`

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

### getInputKeyBytes()

    public abstract ByteString getInputKeyBytes()

Required. The `Input.key` that identifies the input file.

`string input_key = 2;`

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

### getInputTrack()

    public abstract int getInputTrack()

Required. The zero-based index of the track in the input file.

`int32 input_track = 3;`

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

### getOutputChannel()

    public abstract int getOutputChannel()

Required. The zero-based index of the channel in the output audio stream.

`int32 output_channel = 5;`

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