Skip to content

Commit a44d90e

Browse files
1 parent bf42991 commit a44d90e

File tree

20 files changed

+582
-30
lines changed

20 files changed

+582
-30
lines changed

clients/google-api-services-texttospeech/v1/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-texttospeech</artifactId>
25-
<version>v1-rev20241008-2.0.0</version>
25+
<version>v1-rev20241026-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-texttospeech:v1-rev20241008-2.0.0'
38+
implementation 'com.google.apis:google-api-services-texttospeech:v1-rev20241026-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-texttospeech/v1/2.0.0/com/google/api/services/texttospeech/v1/model/AdvancedVoiceOptions.java

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,25 +31,22 @@
3131
public final class AdvancedVoiceOptions extends com.google.api.client.json.GenericJson {
3232

3333
/**
34-
* Only for Jounrney voices. If false, the synthesis will be context aware and have higher
35-
* latency.
34+
* Only for Journey voices. If false, the synthesis will be context aware and have higher latency.
3635
* The value may be {@code null}.
3736
*/
3837
@com.google.api.client.util.Key
3938
private java.lang.Boolean lowLatencyJourneySynthesis;
4039

4140
/**
42-
* Only for Jounrney voices. If false, the synthesis will be context aware and have higher
43-
* latency.
41+
* Only for Journey voices. If false, the synthesis will be context aware and have higher latency.
4442
* @return value or {@code null} for none
4543
*/
4644
public java.lang.Boolean getLowLatencyJourneySynthesis() {
4745
return lowLatencyJourneySynthesis;
4846
}
4947

5048
/**
51-
* Only for Jounrney voices. If false, the synthesis will be context aware and have higher
52-
* latency.
49+
* Only for Journey voices. If false, the synthesis will be context aware and have higher latency.
5350
* @param lowLatencyJourneySynthesis lowLatencyJourneySynthesis or {@code null} for none
5451
*/
5552
public AdvancedVoiceOptions setLowLatencyJourneySynthesis(java.lang.Boolean lowLatencyJourneySynthesis) {
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.texttospeech.v1.model;
18+
19+
/**
20+
* A collection of turns for multi-speaker synthesis.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Cloud Text-to-Speech API. For a detailed explanation
24+
* see:
25+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class MultiSpeakerMarkup extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Required. Speaker turns.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.util.List<Turn> turns;
39+
40+
/**
41+
* Required. Speaker turns.
42+
* @return value or {@code null} for none
43+
*/
44+
public java.util.List<Turn> getTurns() {
45+
return turns;
46+
}
47+
48+
/**
49+
* Required. Speaker turns.
50+
* @param turns turns or {@code null} for none
51+
*/
52+
public MultiSpeakerMarkup setTurns(java.util.List<Turn> turns) {
53+
this.turns = turns;
54+
return this;
55+
}
56+
57+
@Override
58+
public MultiSpeakerMarkup set(String fieldName, Object value) {
59+
return (MultiSpeakerMarkup) super.set(fieldName, value);
60+
}
61+
62+
@Override
63+
public MultiSpeakerMarkup clone() {
64+
return (MultiSpeakerMarkup) super.clone();
65+
}
66+
67+
}

clients/google-api-services-texttospeech/v1/2.0.0/com/google/api/services/texttospeech/v1/model/SynthesisInput.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,13 @@ public final class SynthesisInput extends com.google.api.client.json.GenericJson
4444
@com.google.api.client.util.Key
4545
private CustomPronunciations customPronunciations;
4646

47+
/**
48+
* The multi-speaker input to be synthesized. Only applicable for multi-speaker synthesis.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private MultiSpeakerMarkup multiSpeakerMarkup;
53+
4754
/**
4855
* The SSML document to be synthesized. The SSML document must be valid and well-formed. Otherwise
4956
* the RPC will fail and return google.rpc.Code.INVALID_ARGUMENT. For more information, see
@@ -89,6 +96,23 @@ public SynthesisInput setCustomPronunciations(CustomPronunciations customPronunc
8996
return this;
9097
}
9198

99+
/**
100+
* The multi-speaker input to be synthesized. Only applicable for multi-speaker synthesis.
101+
* @return value or {@code null} for none
102+
*/
103+
public MultiSpeakerMarkup getMultiSpeakerMarkup() {
104+
return multiSpeakerMarkup;
105+
}
106+
107+
/**
108+
* The multi-speaker input to be synthesized. Only applicable for multi-speaker synthesis.
109+
* @param multiSpeakerMarkup multiSpeakerMarkup or {@code null} for none
110+
*/
111+
public SynthesisInput setMultiSpeakerMarkup(MultiSpeakerMarkup multiSpeakerMarkup) {
112+
this.multiSpeakerMarkup = multiSpeakerMarkup;
113+
return this;
114+
}
115+
92116
/**
93117
* The SSML document to be synthesized. The SSML document must be valid and well-formed. Otherwise
94118
* the RPC will fail and return google.rpc.Code.INVALID_ARGUMENT. For more information, see

clients/google-api-services-texttospeech/v1/2.0.0/com/google/api/services/texttospeech/v1/model/SynthesizeSpeechRequest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
public final class SynthesizeSpeechRequest extends com.google.api.client.json.GenericJson {
3232

3333
/**
34-
* Adnanced voice options.
34+
* Advanced voice options.
3535
* The value may be {@code null}.
3636
*/
3737
@com.google.api.client.util.Key
@@ -59,15 +59,15 @@ public final class SynthesizeSpeechRequest extends com.google.api.client.json.Ge
5959
private VoiceSelectionParams voice;
6060

6161
/**
62-
* Adnanced voice options.
62+
* Advanced voice options.
6363
* @return value or {@code null} for none
6464
*/
6565
public AdvancedVoiceOptions getAdvancedVoiceOptions() {
6666
return advancedVoiceOptions;
6767
}
6868

6969
/**
70-
* Adnanced voice options.
70+
* Advanced voice options.
7171
* @param advancedVoiceOptions advancedVoiceOptions or {@code null} for none
7272
*/
7373
public SynthesizeSpeechRequest setAdvancedVoiceOptions(AdvancedVoiceOptions advancedVoiceOptions) {
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.texttospeech.v1.model;
18+
19+
/**
20+
* A Multi-speaker turn.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Cloud Text-to-Speech API. For a detailed explanation
24+
* see:
25+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class Turn extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Required. The speaker of the turn, for example, 'O' or 'Q'. Please refer to documentation for
35+
* available speakers.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String speaker;
40+
41+
/**
42+
* Required. The text to speak.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.lang.String text;
47+
48+
/**
49+
* Required. The speaker of the turn, for example, 'O' or 'Q'. Please refer to documentation for
50+
* available speakers.
51+
* @return value or {@code null} for none
52+
*/
53+
public java.lang.String getSpeaker() {
54+
return speaker;
55+
}
56+
57+
/**
58+
* Required. The speaker of the turn, for example, 'O' or 'Q'. Please refer to documentation for
59+
* available speakers.
60+
* @param speaker speaker or {@code null} for none
61+
*/
62+
public Turn setSpeaker(java.lang.String speaker) {
63+
this.speaker = speaker;
64+
return this;
65+
}
66+
67+
/**
68+
* Required. The text to speak.
69+
* @return value or {@code null} for none
70+
*/
71+
public java.lang.String getText() {
72+
return text;
73+
}
74+
75+
/**
76+
* Required. The text to speak.
77+
* @param text text or {@code null} for none
78+
*/
79+
public Turn setText(java.lang.String text) {
80+
this.text = text;
81+
return this;
82+
}
83+
84+
@Override
85+
public Turn set(String fieldName, Object value) {
86+
return (Turn) super.set(fieldName, value);
87+
}
88+
89+
@Override
90+
public Turn clone() {
91+
return (Turn) super.clone();
92+
}
93+
94+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.texttospeech.v1.model;
18+
19+
/**
20+
* The configuration of Voice Clone feature.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Cloud Text-to-Speech API. For a detailed explanation
24+
* see:
25+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class VoiceCloneParams extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Required. Created by GenerateVoiceCloningKey.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String voiceCloningKey;
39+
40+
/**
41+
* Required. Created by GenerateVoiceCloningKey.
42+
* @return value or {@code null} for none
43+
*/
44+
public java.lang.String getVoiceCloningKey() {
45+
return voiceCloningKey;
46+
}
47+
48+
/**
49+
* Required. Created by GenerateVoiceCloningKey.
50+
* @param voiceCloningKey voiceCloningKey or {@code null} for none
51+
*/
52+
public VoiceCloneParams setVoiceCloningKey(java.lang.String voiceCloningKey) {
53+
this.voiceCloningKey = voiceCloningKey;
54+
return this;
55+
}
56+
57+
@Override
58+
public VoiceCloneParams set(String fieldName, Object value) {
59+
return (VoiceCloneParams) super.set(fieldName, value);
60+
}
61+
62+
@Override
63+
public VoiceCloneParams clone() {
64+
return (VoiceCloneParams) super.clone();
65+
}
66+
67+
}

clients/google-api-services-texttospeech/v1/2.0.0/com/google/api/services/texttospeech/v1/model/VoiceSelectionParams.java

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,14 @@ public final class VoiceSelectionParams extends com.google.api.client.json.Gener
7070
@com.google.api.client.util.Key
7171
private java.lang.String ssmlGender;
7272

73+
/**
74+
* Optional. The configuration for a voice clone. If [VoiceCloneParams.voice_clone_key] is set,
75+
* the service will choose the voice clone matching the specified configuration.
76+
* The value may be {@code null}.
77+
*/
78+
@com.google.api.client.util.Key
79+
private VoiceCloneParams voiceClone;
80+
7381
/**
7482
* The configuration for a custom voice. If [CustomVoiceParams.model] is set, the service will
7583
* choose the custom voice matching the specified configuration.
@@ -162,6 +170,25 @@ public VoiceSelectionParams setSsmlGender(java.lang.String ssmlGender) {
162170
return this;
163171
}
164172

173+
/**
174+
* Optional. The configuration for a voice clone. If [VoiceCloneParams.voice_clone_key] is set,
175+
* the service will choose the voice clone matching the specified configuration.
176+
* @return value or {@code null} for none
177+
*/
178+
public VoiceCloneParams getVoiceClone() {
179+
return voiceClone;
180+
}
181+
182+
/**
183+
* Optional. The configuration for a voice clone. If [VoiceCloneParams.voice_clone_key] is set,
184+
* the service will choose the voice clone matching the specified configuration.
185+
* @param voiceClone voiceClone or {@code null} for none
186+
*/
187+
public VoiceSelectionParams setVoiceClone(VoiceCloneParams voiceClone) {
188+
this.voiceClone = voiceClone;
189+
return this;
190+
}
191+
165192
@Override
166193
public VoiceSelectionParams set(String fieldName, Object value) {
167194
return (VoiceSelectionParams) super.set(fieldName, value);

clients/google-api-services-texttospeech/v1/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-texttospeech</artifactId>
11-
<version>v1-rev20241008-2.0.0</version>
12-
<name>Cloud Text-to-Speech API v1-rev20241008-2.0.0</name>
11+
<version>v1-rev20241026-2.0.0</version>
12+
<name>Cloud Text-to-Speech API v1-rev20241026-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

0 commit comments

Comments
 (0)