# Interface OutputAudioConfigOrBuilder (0.9.0)

0.9.0 (latest) 0.7.0 0.4.0 0.3.0 0.1.0

    public interface OutputAudioConfigOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getAudioEncoding()

    public abstract AudioEncoding getAudioEncoding()

Required. The encoding of the output audio data.

`
.google.cloud.ces.v1.AudioEncoding audio_encoding = 1 [(.google.api.field_behavior) = REQUIRED];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1.AudioEncoding` | The audioEncoding. |

### getAudioEncodingValue()

    public abstract int getAudioEncodingValue()

Required. The encoding of the output audio data.

`
.google.cloud.ces.v1.AudioEncoding audio_encoding = 1 [(.google.api.field_behavior) = REQUIRED];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for audioEncoding. |

### getSampleRateHertz()

    public abstract int getSampleRateHertz()

Required. The sample rate (in Hertz) of the output audio data.

`int32 sample_rate_hertz = 2 [(.google.api.field_behavior) = REQUIRED];`

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