# Interface InputAudioConfigOrBuilder (0.9.0)

0.9.0 (latest) 0.7.0 0.4.0 0.3.0 0.1.0

    public interface InputAudioConfigOrBuilder 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 input audio data.

`
.google.cloud.ces.v1beta.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.v1beta.AudioEncoding` | The audioEncoding. |

### getAudioEncodingValue()

    public abstract int getAudioEncodingValue()

Required. The encoding of the input audio data.

`
.google.cloud.ces.v1beta.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. |

### getNoiseSuppressionLevel()

    public abstract String getNoiseSuppressionLevel()

Optional. Whether to enable noise suppression on the input audio.
Available values are "low", "moderate", "high", "very_high".

`string noise_suppression_level = 6 [(.google.api.field_behavior) = OPTIONAL];`

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

### getNoiseSuppressionLevelBytes()

    public abstract ByteString getNoiseSuppressionLevelBytes()

Optional. Whether to enable noise suppression on the input audio.
Available values are "low", "moderate", "high", "very_high".

`string noise_suppression_level = 6 [(.google.api.field_behavior) = OPTIONAL];`

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

### getSampleRateHertz()

    public abstract int getSampleRateHertz()

Required. The sample rate (in Hertz) of the input 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. |