Skip to content
This repository was archived by the owner on Sep 16, 2023. It is now read-only.

Commit 4c445df

Browse files
docs: fix docstring formatting (#597)
- [ ] Regenerate this pull request now. Committer: @parthea PiperOrigin-RevId: 409547475 Source-Link: googleapis/googleapis@4be99b0 Source-Link: https://github.com/googleapis/googleapis-gen/commit/55a8479e1d4d514e4e3ccfe1f855067d1412f401 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNTVhODQ3OWUxZDRkNTE0ZTRlM2NjZmUxZjg1NTA2N2QxNDEyZjQwMSJ9
1 parent e00e27a commit 4c445df

File tree

4 files changed

+54
-54
lines changed

4 files changed

+54
-54
lines changed

Diff for: google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1/TextToSpeechClient.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -153,10 +153,10 @@ public TextToSpeechStub getStub() {
153153
* @param languageCode Optional. Recommended.
154154
* [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If specified, the
155155
* 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 specifying
157-
* "no", you will get supported "no-\\*" (Norwegian) and "nb-\\*" (Norwegian Bokmal)
158-
* voices; specifying "zh" will also get supported "cmn-\\*" voices; specifying "zh-hk"
159-
* will also get supported "yue-\\*" voices.
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.
160160
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
161161
*/
162162
public final ListVoicesResponse listVoices(String languageCode) {

Diff for: proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/ListVoicesRequest.java

+35-35
Original file line numberDiff line numberDiff line change
@@ -120,11 +120,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
120120
* Optional. Recommended.
121121
* [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If
122122
* specified, the ListVoices call will only return voices that can be used to
123-
* synthesize this language_code. E.g. when specifying "en-NZ", you will get
124-
* supported "en-\*" voices; when specifying "no", you will get supported
125-
* "no-\*" (Norwegian) and "nb-\*" (Norwegian Bokmal) voices; specifying "zh"
126-
* will also get supported "cmn-\*" voices; specifying "zh-hk" will also get
127-
* supported "yue-\*" voices.
123+
* synthesize this language_code. E.g. when specifying `"en-NZ"`, you will get
124+
* supported `"en-\*"` voices; when specifying `"no"`, you will get supported
125+
* `"no-\*"` (Norwegian) and `"nb-\*"` (Norwegian Bokmal) voices; specifying
126+
* `"zh"` will also get supported `"cmn-\*"` voices; specifying `"zh-hk"` will
127+
* also get supported `"yue-\*"` voices.
128128
* </pre>
129129
*
130130
* <code>string language_code = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
@@ -150,11 +150,11 @@ public java.lang.String getLanguageCode() {
150150
* Optional. Recommended.
151151
* [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If
152152
* specified, the ListVoices call will only return voices that can be used to
153-
* synthesize this language_code. E.g. when specifying "en-NZ", you will get
154-
* supported "en-&#92;*" voices; when specifying "no", you will get supported
155-
* "no-&#92;*" (Norwegian) and "nb-&#92;*" (Norwegian Bokmal) voices; specifying "zh"
156-
* will also get supported "cmn-&#92;*" voices; specifying "zh-hk" will also get
157-
* supported "yue-&#92;*" voices.
153+
* synthesize this language_code. E.g. when specifying `"en-NZ"`, you will get
154+
* supported `"en-&#92;*"` voices; when specifying `"no"`, you will get supported
155+
* `"no-&#92;*"` (Norwegian) and `"nb-&#92;*"` (Norwegian Bokmal) voices; specifying
156+
* `"zh"` will also get supported `"cmn-&#92;*"` voices; specifying `"zh-hk"` will
157+
* also get supported `"yue-&#92;*"` voices.
158158
* </pre>
159159
*
160160
* <code>string language_code = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
@@ -500,11 +500,11 @@ public Builder mergeFrom(
500500
* Optional. Recommended.
501501
* [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If
502502
* specified, the ListVoices call will only return voices that can be used to
503-
* synthesize this language_code. E.g. when specifying "en-NZ", you will get
504-
* supported "en-&#92;*" voices; when specifying "no", you will get supported
505-
* "no-&#92;*" (Norwegian) and "nb-&#92;*" (Norwegian Bokmal) voices; specifying "zh"
506-
* will also get supported "cmn-&#92;*" voices; specifying "zh-hk" will also get
507-
* supported "yue-&#92;*" voices.
503+
* synthesize this language_code. E.g. when specifying `"en-NZ"`, you will get
504+
* supported `"en-&#92;*"` voices; when specifying `"no"`, you will get supported
505+
* `"no-&#92;*"` (Norwegian) and `"nb-&#92;*"` (Norwegian Bokmal) voices; specifying
506+
* `"zh"` will also get supported `"cmn-&#92;*"` voices; specifying `"zh-hk"` will
507+
* also get supported `"yue-&#92;*"` voices.
508508
* </pre>
509509
*
510510
* <code>string language_code = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
@@ -529,11 +529,11 @@ public java.lang.String getLanguageCode() {
529529
* Optional. Recommended.
530530
* [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If
531531
* specified, the ListVoices call will only return voices that can be used to
532-
* synthesize this language_code. E.g. when specifying "en-NZ", you will get
533-
* supported "en-&#92;*" voices; when specifying "no", you will get supported
534-
* "no-&#92;*" (Norwegian) and "nb-&#92;*" (Norwegian Bokmal) voices; specifying "zh"
535-
* will also get supported "cmn-&#92;*" voices; specifying "zh-hk" will also get
536-
* supported "yue-&#92;*" voices.
532+
* synthesize this language_code. E.g. when specifying `"en-NZ"`, you will get
533+
* supported `"en-&#92;*"` voices; when specifying `"no"`, you will get supported
534+
* `"no-&#92;*"` (Norwegian) and `"nb-&#92;*"` (Norwegian Bokmal) voices; specifying
535+
* `"zh"` will also get supported `"cmn-&#92;*"` voices; specifying `"zh-hk"` will
536+
* also get supported `"yue-&#92;*"` voices.
537537
* </pre>
538538
*
539539
* <code>string language_code = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
@@ -558,11 +558,11 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() {
558558
* Optional. Recommended.
559559
* [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If
560560
* specified, the ListVoices call will only return voices that can be used to
561-
* synthesize this language_code. E.g. when specifying "en-NZ", you will get
562-
* supported "en-&#92;*" voices; when specifying "no", you will get supported
563-
* "no-&#92;*" (Norwegian) and "nb-&#92;*" (Norwegian Bokmal) voices; specifying "zh"
564-
* will also get supported "cmn-&#92;*" voices; specifying "zh-hk" will also get
565-
* supported "yue-&#92;*" voices.
561+
* synthesize this language_code. E.g. when specifying `"en-NZ"`, you will get
562+
* supported `"en-&#92;*"` voices; when specifying `"no"`, you will get supported
563+
* `"no-&#92;*"` (Norwegian) and `"nb-&#92;*"` (Norwegian Bokmal) voices; specifying
564+
* `"zh"` will also get supported `"cmn-&#92;*"` voices; specifying `"zh-hk"` will
565+
* also get supported `"yue-&#92;*"` voices.
566566
* </pre>
567567
*
568568
* <code>string language_code = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
@@ -586,11 +586,11 @@ public Builder setLanguageCode(java.lang.String value) {
586586
* Optional. Recommended.
587587
* [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If
588588
* specified, the ListVoices call will only return voices that can be used to
589-
* synthesize this language_code. E.g. when specifying "en-NZ", you will get
590-
* supported "en-&#92;*" voices; when specifying "no", you will get supported
591-
* "no-&#92;*" (Norwegian) and "nb-&#92;*" (Norwegian Bokmal) voices; specifying "zh"
592-
* will also get supported "cmn-&#92;*" voices; specifying "zh-hk" will also get
593-
* supported "yue-&#92;*" voices.
589+
* synthesize this language_code. E.g. when specifying `"en-NZ"`, you will get
590+
* supported `"en-&#92;*"` voices; when specifying `"no"`, you will get supported
591+
* `"no-&#92;*"` (Norwegian) and `"nb-&#92;*"` (Norwegian Bokmal) voices; specifying
592+
* `"zh"` will also get supported `"cmn-&#92;*"` voices; specifying `"zh-hk"` will
593+
* also get supported `"yue-&#92;*"` voices.
594594
* </pre>
595595
*
596596
* <code>string language_code = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
@@ -610,11 +610,11 @@ public Builder clearLanguageCode() {
610610
* Optional. Recommended.
611611
* [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If
612612
* specified, the ListVoices call will only return voices that can be used to
613-
* synthesize this language_code. E.g. when specifying "en-NZ", you will get
614-
* supported "en-&#92;*" voices; when specifying "no", you will get supported
615-
* "no-&#92;*" (Norwegian) and "nb-&#92;*" (Norwegian Bokmal) voices; specifying "zh"
616-
* will also get supported "cmn-&#92;*" voices; specifying "zh-hk" will also get
617-
* supported "yue-&#92;*" voices.
613+
* synthesize this language_code. E.g. when specifying `"en-NZ"`, you will get
614+
* supported `"en-&#92;*"` voices; when specifying `"no"`, you will get supported
615+
* `"no-&#92;*"` (Norwegian) and `"nb-&#92;*"` (Norwegian Bokmal) voices; specifying
616+
* `"zh"` will also get supported `"cmn-&#92;*"` voices; specifying `"zh-hk"` will
617+
* also get supported `"yue-&#92;*"` voices.
618618
* </pre>
619619
*
620620
* <code>string language_code = 1 [(.google.api.field_behavior) = OPTIONAL];</code>

Diff for: proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/ListVoicesRequestOrBuilder.java

+10-10
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ public interface ListVoicesRequestOrBuilder
3030
* Optional. Recommended.
3131
* [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If
3232
* 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-&#92;*" voices; when specifying "no", you will get supported
35-
* "no-&#92;*" (Norwegian) and "nb-&#92;*" (Norwegian Bokmal) voices; specifying "zh"
36-
* will also get supported "cmn-&#92;*" voices; specifying "zh-hk" will also get
37-
* supported "yue-&#92;*" voices.
33+
* synthesize this language_code. E.g. when specifying `"en-NZ"`, you will get
34+
* supported `"en-&#92;*"` voices; when specifying `"no"`, you will get supported
35+
* `"no-&#92;*"` (Norwegian) and `"nb-&#92;*"` (Norwegian Bokmal) voices; specifying
36+
* `"zh"` will also get supported `"cmn-&#92;*"` voices; specifying `"zh-hk"` will
37+
* also get supported `"yue-&#92;*"` voices.
3838
* </pre>
3939
*
4040
* <code>string language_code = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
@@ -49,11 +49,11 @@ public interface ListVoicesRequestOrBuilder
4949
* Optional. Recommended.
5050
* [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If
5151
* specified, the ListVoices call will only return voices that can be used to
52-
* synthesize this language_code. E.g. when specifying "en-NZ", you will get
53-
* supported "en-&#92;*" voices; when specifying "no", you will get supported
54-
* "no-&#92;*" (Norwegian) and "nb-&#92;*" (Norwegian Bokmal) voices; specifying "zh"
55-
* will also get supported "cmn-&#92;*" voices; specifying "zh-hk" will also get
56-
* supported "yue-&#92;*" voices.
52+
* synthesize this language_code. E.g. when specifying `"en-NZ"`, you will get
53+
* supported `"en-&#92;*"` voices; when specifying `"no"`, you will get supported
54+
* `"no-&#92;*"` (Norwegian) and `"nb-&#92;*"` (Norwegian Bokmal) voices; specifying
55+
* `"zh"` will also get supported `"cmn-&#92;*"` voices; specifying `"zh-hk"` will
56+
* also get supported `"yue-&#92;*"` voices.
5757
* </pre>
5858
*
5959
* <code>string language_code = 1 [(.google.api.field_behavior) = OPTIONAL];</code>

Diff for: proto-google-cloud-texttospeech-v1/src/main/proto/google/cloud/texttospeech/v1/cloud_tts.proto

+5-5
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,11 @@ message ListVoicesRequest {
5959
// Optional. Recommended.
6060
// [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If
6161
// specified, the ListVoices call will only return voices that can be used to
62-
// synthesize this language_code. E.g. when specifying "en-NZ", you will get
63-
// supported "en-\*" voices; when specifying "no", you will get supported
64-
// "no-\*" (Norwegian) and "nb-\*" (Norwegian Bokmal) voices; specifying "zh"
65-
// will also get supported "cmn-\*" voices; specifying "zh-hk" will also get
66-
// supported "yue-\*" voices.
62+
// synthesize this language_code. E.g. when specifying `"en-NZ"`, you will get
63+
// supported `"en-\*"` voices; when specifying `"no"`, you will get supported
64+
// `"no-\*"` (Norwegian) and `"nb-\*"` (Norwegian Bokmal) voices; specifying
65+
// `"zh"` will also get supported `"cmn-\*"` voices; specifying `"zh-hk"` will
66+
// also get supported `"yue-\*"` voices.
6767
string language_code = 1 [(google.api.field_behavior) = OPTIONAL];
6868
}
6969

0 commit comments

Comments
 (0)