You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 16, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1/TextToSpeechClient.java
+5-6Lines changed: 5 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -151,12 +151,11 @@ public TextToSpeechStub getStub() {
151
151
* }</pre>
152
152
*
153
153
* @param languageCode Optional. Recommended.
154
-
* [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If specified, the
155
-
* ListVoices call will only return voices that can be used to synthesize this language_code.
156
-
* E.g. when specifying `"en-NZ"`, you will get supported `"en-\\*"` voices; when
157
-
* specifying `"no"`, you will get supported `"no-\\*"` (Norwegian) and `"nb-\\*"`
158
-
* (Norwegian Bokmal) voices; specifying `"zh"` will also get supported `"cmn-\\*"`
159
-
* voices; specifying `"zh-hk"` will also get supported `"yue-\\*"` voices.
154
+
* [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If not specified, the
155
+
* API will return all supported voices. If specified, the ListVoices call will only return
156
+
* voices that can be used to synthesize this language_code. For example, if you specify
157
+
* `"en-NZ"`, all `"en-NZ"` voices will be returned. If you specify `"no"`, both
158
+
* `"no-\\*"` (Norwegian) and `"nb-\\*"` (Norwegian Bokmal) voices will be returned.
160
159
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
Copy file name to clipboardExpand all lines: proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/ListVoicesRequestOrBuilder.java
+14-14Lines changed: 14 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -28,13 +28,13 @@ public interface ListVoicesRequestOrBuilder
28
28
*
29
29
* <pre>
30
30
* Optional. Recommended.
31
-
* [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If
32
-
* specified, the ListVoices call will only return voices that can be used to
33
-
* synthesize this language_code. E.g. when specifying `"en-NZ"`, you will get
34
-
* supported `"en-\*"` voices; when specifying `"no"`, you will get supported
35
-
* `"no-\*"` (Norwegian) and `"nb-\*"` (Norwegian Bokmal) voices; specifying
36
-
* `"zh"` will also get supported `"cmn-\*"` voices; specifying `"zh-hk"` will
37
-
* also get supported `"yue-\*"` voices.
31
+
* [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
32
+
* If not specified, the API will return all supported voices.
33
+
* If specified, the ListVoices call will only return voices that can be used
34
+
* to synthesize this language_code. For example, if you specify `"en-NZ"`,
35
+
* all `"en-NZ"` voices will be returned. If you specify `"no"`, both
36
+
* `"no-\*"` (Norwegian) and `"nb-\*"` (Norwegian Bokmal) voices will be
0 commit comments