Interface InputAudioConfigOrBuilder (0.1.0)

public interface InputAudioConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAudioEncoding()

public abstract AudioEncoding getAudioEncoding()

Required. The encoding of the input audio data.

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

Returns
Type Description
AudioEncoding

The audioEncoding.

getAudioEncodingValue()

public abstract int getAudioEncodingValue()

Required. The encoding of the input audio data.

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

Returns
Type Description
int

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
String

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
ByteString

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
int

The sampleRateHertz.