public interface CustomVoiceSampleOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getConsentAudioGcsUri()
public abstract String getConsentAudioGcsUri()Optional. Consent audio for voice cloning.
string consent_audio_gcs_uri = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The consentAudioGcsUri. |
getConsentAudioGcsUriBytes()
public abstract ByteString getConsentAudioGcsUriBytes()Optional. Consent audio for voice cloning.
string consent_audio_gcs_uri = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for consentAudioGcsUri. |
getName()
public abstract String getName()Optional. The user-defined name for the custom voice sample.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes()Optional. The user-defined name for the custom voice sample.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getPreviewAudioContent()
public abstract ByteString getPreviewAudioContent()Output only. Synthesized preview audio for custom voice, formatted as canonical WAV (LINEAR16, 24kHz, 16-bit, mono).
bytes preview_audio_content = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The previewAudioContent. |
getPreviewText()
public abstract String getPreviewText()Optional. Text for synthesizing preview audio for custom voice.
string preview_text = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The previewText. |
getPreviewTextBytes()
public abstract ByteString getPreviewTextBytes()Optional. Text for synthesizing preview audio for custom voice.
string preview_text = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for previewText. |
getVoiceInstruction()
public abstract String getVoiceInstruction()Optional. Natural language instructions for voice style, tone, pacing, or pronunciation.
string voice_instruction = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The voiceInstruction. |
getVoiceInstructionBytes()
public abstract ByteString getVoiceInstructionBytes()Optional. Natural language instructions for voice style, tone, pacing, or pronunciation.
string voice_instruction = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for voiceInstruction. |
getVoiceInstructionMode()
public abstract CustomVoiceSample.VoiceInstructionMode getVoiceInstructionMode()Optional. Instruction mode for the voice sample. If unspecified, defaults to NO_INSTRUCTION.
.google.cloud.ces.v1beta.CustomVoiceSample.VoiceInstructionMode voice_instruction_mode = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CustomVoiceSample.VoiceInstructionMode |
The voiceInstructionMode. |
getVoiceInstructionModeValue()
public abstract int getVoiceInstructionModeValue()Optional. Instruction mode for the voice sample. If unspecified, defaults to NO_INSTRUCTION.
.google.cloud.ces.v1beta.CustomVoiceSample.VoiceInstructionMode voice_instruction_mode = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for voiceInstructionMode. |
getVoiceSampleGcsUri()
public abstract String getVoiceSampleGcsUri()Optional. The Cloud Storage URI to the audio sample for voice cloning. The audio sample should be a mono-channel, 24kHz WAV file.
string voice_sample_gcs_uri = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The voiceSampleGcsUri. |
getVoiceSampleGcsUriBytes()
public abstract ByteString getVoiceSampleGcsUriBytes()Optional. The Cloud Storage URI to the audio sample for voice cloning. The audio sample should be a mono-channel, 24kHz WAV file.
string voice_sample_gcs_uri = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for voiceSampleGcsUri. |
getWarnings(int index)
public abstract CustomVoiceSample.Warning getWarnings(int index)Output only. Warning messages encountered during voice clone processing (e.g. low audio level).
repeated .google.cloud.ces.v1beta.CustomVoiceSample.Warning warnings = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CustomVoiceSample.Warning |
|
getWarningsCount()
public abstract int getWarningsCount()Output only. Warning messages encountered during voice clone processing (e.g. low audio level).
repeated .google.cloud.ces.v1beta.CustomVoiceSample.Warning warnings = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
|
getWarningsList()
public abstract List<CustomVoiceSample.Warning> getWarningsList()Output only. Warning messages encountered during voice clone processing (e.g. low audio level).
repeated .google.cloud.ces.v1beta.CustomVoiceSample.Warning warnings = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<Warning> |
|
getWarningsOrBuilder(int index)
public abstract CustomVoiceSample.WarningOrBuilder getWarningsOrBuilder(int index)Output only. Warning messages encountered during voice clone processing (e.g. low audio level).
repeated .google.cloud.ces.v1beta.CustomVoiceSample.Warning warnings = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CustomVoiceSample.WarningOrBuilder |
|
getWarningsOrBuilderList()
public abstract List<? extends CustomVoiceSample.WarningOrBuilder> getWarningsOrBuilderList()Output only. Warning messages encountered during voice clone processing (e.g. low audio level).
repeated .google.cloud.ces.v1beta.CustomVoiceSample.Warning warnings = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.ces.v1beta.CustomVoiceSample.WarningOrBuilder> |
|