Skip to content

Commit 5ebb5c1

Browse files
Google APIscopybara-github
authored andcommitted
feat: Add brand voice lite
PiperOrigin-RevId: 687058189
1 parent e60db19 commit 5ebb5c1

2 files changed

Lines changed: 11 additions & 2 deletions

File tree

google/cloud/texttospeech/v1beta1/cloud_tts.proto

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ import "google/api/client.proto";
2121
import "google/api/field_behavior.proto";
2222
import "google/api/resource.proto";
2323

24-
option cc_enable_arenas = true;
2524
option csharp_namespace = "Google.Cloud.TextToSpeech.V1Beta1";
2625
option go_package = "cloud.google.com/go/texttospeech/apiv1beta1/texttospeechpb;texttospeechpb";
2726
option java_multiple_files = true;
@@ -288,6 +287,11 @@ message VoiceSelectionParams {
288287
// the service will choose the custom voice matching the specified
289288
// configuration.
290289
CustomVoiceParams custom_voice = 4;
290+
291+
// Optional. The configuration for a voice clone. If
292+
// [VoiceCloneParams.voice_clone_key] is set, the service will choose the
293+
// voice clone matching the specified configuration.
294+
VoiceCloneParams voice_clone = 5 [(google.api.field_behavior) = OPTIONAL];
291295
}
292296

293297
// Description of audio data to be synthesized.
@@ -375,6 +379,12 @@ message CustomVoiceParams {
375379
[deprecated = true, (google.api.field_behavior) = OPTIONAL];
376380
}
377381

382+
// The configuration of Voice Clone feature.
383+
message VoiceCloneParams {
384+
// Required. Created by GenerateVoiceCloningKey.
385+
string voice_cloning_key = 1 [(google.api.field_behavior) = REQUIRED];
386+
}
387+
378388
// The message returned to the client by the `SynthesizeSpeech` method.
379389
message SynthesizeSpeechResponse {
380390
// The audio data bytes encoded as specified in the request, including the

google/cloud/texttospeech/v1beta1/cloud_tts_lrs.proto

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ import "google/cloud/texttospeech/v1beta1/cloud_tts.proto";
2323
import "google/longrunning/operations.proto";
2424
import "google/protobuf/timestamp.proto";
2525

26-
option cc_enable_arenas = true;
2726
option csharp_namespace = "Google.Cloud.TextToSpeech.V1Beta1";
2827
option go_package = "cloud.google.com/go/texttospeech/apiv1beta1/texttospeechpb;texttospeechpb";
2928
option java_multiple_files = true;

0 commit comments

Comments
 (0)