Interface ReplicatedVoiceConfigOrBuilder (3.82.0)

public interface ReplicatedVoiceConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMimeType()

public abstract String getMimeType()

Optional. The mimetype of the voice sample. The only currently supported value is audio/wav. This represents 16-bit signed little-endian wav data, with a 24kHz sampling rate. mime_type will default to audio/wav if not set.

string mime_type = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The mimeType.

getMimeTypeBytes()

public abstract ByteString getMimeTypeBytes()

Optional. The mimetype of the voice sample. The only currently supported value is audio/wav. This represents 16-bit signed little-endian wav data, with a 24kHz sampling rate. mime_type will default to audio/wav if not set.

string mime_type = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for mimeType.

getVoiceSampleAudio()

public abstract ByteString getVoiceSampleAudio()

Optional. The sample of the custom voice.

bytes voice_sample_audio = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The voiceSampleAudio.