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

Commit a785744

Browse files
docs: escape * characters in comments (#205)
* changes without context autosynth cannot find the source of changes triggered by earlier changes in this repository, or by version upgrades to tools such as linters. * chore: escape `*` characters in comments PiperOrigin-RevId: 325528080 Source-Author: Google APIs <noreply@google.com> Source-Date: Fri Aug 7 16:11:33 2020 -0700 Source-Repo: googleapis/googleapis Source-Sha: 9b0c7b1a4665909bd18a0e0fd33004945b5c9c13 Source-Link: googleapis/googleapis@9b0c7b1
1 parent b4bcfe7 commit a785744

File tree

10 files changed

+94
-94
lines changed

10 files changed

+94
-94
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file
1717
<dependency>
1818
<groupId>com.google.cloud</groupId>
1919
<artifactId>libraries-bom</artifactId>
20-
<version>8.0.0</version>
20+
<version>8.1.0</version>
2121
<type>pom</type>
2222
<scope>import</scope>
2323
</dependency>

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

+4-4
Original file line numberDiff line numberDiff line change
@@ -159,10 +159,10 @@ public TextToSpeechStub getStub() {
159159
* @param languageCode Optional. Recommended.
160160
* [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If specified, the
161161
* ListVoices call will only return voices that can be used to synthesize this language_code.
162-
* E.g. when specifying "en-NZ", you will get supported "en-&#42;" voices; when specifying
163-
* "no", you will get supported "no-&#42;" (Norwegian) and "nb-&#42;" (Norwegian Bokmal)
164-
* voices; specifying "zh" will also get supported "cmn-&#42;" voices; specifying "zh-hk" will
165-
* also get supported "yue-&#42;" voices.
162+
* E.g. when specifying "en-NZ", you will get supported "en-\&#42;" voices; when specifying
163+
* "no", you will get supported "no-\&#42;" (Norwegian) and "nb-\&#42;" (Norwegian Bokmal)
164+
* voices; specifying "zh" will also get supported "cmn-\&#42;" voices; specifying "zh-hk"
165+
* will also get supported "yue-\&#42;" voices.
166166
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
167167
*/
168168
public final ListVoicesResponse listVoices(String languageCode) {

google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1beta1/TextToSpeechClient.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -159,10 +159,10 @@ public TextToSpeechStub getStub() {
159159
* @param languageCode Optional. Recommended.
160160
* [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If specified, the
161161
* ListVoices call will only return voices that can be used to synthesize this language_code.
162-
* E.g. when specifying "en-NZ", you will get supported "en-&#42;" voices; when specifying
163-
* "no", you will get supported "no-&#42;" (Norwegian) and "nb-&#42;" (Norwegian Bokmal)
164-
* voices; specifying "zh" will also get supported "cmn-&#42;" voices; specifying "zh-hk" will
165-
* also get supported "yue-&#42;" voices.
162+
* E.g. when specifying "en-NZ", you will get supported "en-\&#42;" voices; when specifying
163+
* "no", you will get supported "no-\&#42;" (Norwegian) and "nb-\&#42;" (Norwegian Bokmal)
164+
* voices; specifying "zh" will also get supported "cmn-\&#42;" voices; specifying "zh-hk"
165+
* will also get supported "yue-\&#42;" voices.
166166
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
167167
*/
168168
public final ListVoicesResponse listVoices(String languageCode) {

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

+28-28
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
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
123123
* 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.
124+
* supported "en-&#92;*" voices; when specifying "no", you will get supported
125+
* "no-&#92;*" (Norwegian) and "nb-&#92;*" (Norwegian Bokmal) voices; specifying "zh"
126+
* will also get supported "cmn-&#92;*" voices; specifying "zh-hk" will also get
127+
* supported "yue-&#92;*" voices.
128128
* </pre>
129129
*
130130
* <code>string language_code = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
@@ -151,10 +151,10 @@ public java.lang.String getLanguageCode() {
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
153153
* synthesize this language_code. E.g. when specifying "en-NZ", you will get
154-
* supported "en-*" voices; when specifying "no", you will get supported
155-
* "no-*" (Norwegian) and "nb-*" (Norwegian Bokmal) voices; specifying "zh"
156-
* will also get supported "cmn-*" voices; specifying "zh-hk" will also get
157-
* supported "yue-*" voices.
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.
158158
* </pre>
159159
*
160160
* <code>string language_code = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
@@ -501,10 +501,10 @@ public Builder mergeFrom(
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
503503
* synthesize this language_code. E.g. when specifying "en-NZ", you will get
504-
* supported "en-*" voices; when specifying "no", you will get supported
505-
* "no-*" (Norwegian) and "nb-*" (Norwegian Bokmal) voices; specifying "zh"
506-
* will also get supported "cmn-*" voices; specifying "zh-hk" will also get
507-
* supported "yue-*" voices.
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.
508508
* </pre>
509509
*
510510
* <code>string language_code = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
@@ -530,10 +530,10 @@ public java.lang.String getLanguageCode() {
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
532532
* synthesize this language_code. E.g. when specifying "en-NZ", you will get
533-
* supported "en-*" voices; when specifying "no", you will get supported
534-
* "no-*" (Norwegian) and "nb-*" (Norwegian Bokmal) voices; specifying "zh"
535-
* will also get supported "cmn-*" voices; specifying "zh-hk" will also get
536-
* supported "yue-*" voices.
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.
537537
* </pre>
538538
*
539539
* <code>string language_code = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
@@ -559,10 +559,10 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() {
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
561561
* synthesize this language_code. E.g. when specifying "en-NZ", you will get
562-
* supported "en-*" voices; when specifying "no", you will get supported
563-
* "no-*" (Norwegian) and "nb-*" (Norwegian Bokmal) voices; specifying "zh"
564-
* will also get supported "cmn-*" voices; specifying "zh-hk" will also get
565-
* supported "yue-*" voices.
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.
566566
* </pre>
567567
*
568568
* <code>string language_code = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
@@ -587,10 +587,10 @@ public Builder setLanguageCode(java.lang.String value) {
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
589589
* synthesize this language_code. E.g. when specifying "en-NZ", you will get
590-
* supported "en-*" voices; when specifying "no", you will get supported
591-
* "no-*" (Norwegian) and "nb-*" (Norwegian Bokmal) voices; specifying "zh"
592-
* will also get supported "cmn-*" voices; specifying "zh-hk" will also get
593-
* supported "yue-*" voices.
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.
594594
* </pre>
595595
*
596596
* <code>string language_code = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
@@ -611,10 +611,10 @@ public Builder clearLanguageCode() {
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
613613
* synthesize this language_code. E.g. when specifying "en-NZ", you will get
614-
* supported "en-*" voices; when specifying "no", you will get supported
615-
* "no-*" (Norwegian) and "nb-*" (Norwegian Bokmal) voices; specifying "zh"
616-
* will also get supported "cmn-*" voices; specifying "zh-hk" will also get
617-
* supported "yue-*" voices.
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.
618618
* </pre>
619619
*
620620
* <code>string language_code = 1 [(.google.api.field_behavior) = OPTIONAL];</code>

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

+8-8
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ public interface ListVoicesRequestOrBuilder
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
3333
* 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 "zh"
36-
* will also get supported "cmn-*" voices; specifying "zh-hk" will also get
37-
* supported "yue-*" voices.
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.
3838
* </pre>
3939
*
4040
* <code>string language_code = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
@@ -50,10 +50,10 @@ public interface ListVoicesRequestOrBuilder
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
5252
* synthesize this language_code. E.g. when specifying "en-NZ", you will get
53-
* supported "en-*" voices; when specifying "no", you will get supported
54-
* "no-*" (Norwegian) and "nb-*" (Norwegian Bokmal) voices; specifying "zh"
55-
* will also get supported "cmn-*" voices; specifying "zh-hk" will also get
56-
* supported "yue-*" voices.
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.
5757
* </pre>
5858
*
5959
* <code>string language_code = 1 [(.google.api.field_behavior) = OPTIONAL];</code>

proto-google-cloud-texttospeech-v1/src/main/proto/google/cloud/texttospeech/v1/cloud_tts.proto

+4-4
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ message ListVoicesRequest {
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
6262
// 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.
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.
6767
string language_code = 1 [(google.api.field_behavior) = OPTIONAL];
6868
}
6969

proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/ListVoicesRequest.java

+28-28
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
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
123123
* 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.
124+
* supported "en-&#92;*" voices; when specifying "no", you will get supported
125+
* "no-&#92;*" (Norwegian) and "nb-&#92;*" (Norwegian Bokmal) voices; specifying "zh"
126+
* will also get supported "cmn-&#92;*" voices; specifying "zh-hk" will also get
127+
* supported "yue-&#92;*" voices.
128128
* </pre>
129129
*
130130
* <code>string language_code = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
@@ -151,10 +151,10 @@ public java.lang.String getLanguageCode() {
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
153153
* synthesize this language_code. E.g. when specifying "en-NZ", you will get
154-
* supported "en-*" voices; when specifying "no", you will get supported
155-
* "no-*" (Norwegian) and "nb-*" (Norwegian Bokmal) voices; specifying "zh"
156-
* will also get supported "cmn-*" voices; specifying "zh-hk" will also get
157-
* supported "yue-*" voices.
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.
158158
* </pre>
159159
*
160160
* <code>string language_code = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
@@ -502,10 +502,10 @@ public Builder mergeFrom(
502502
* [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If
503503
* specified, the ListVoices call will only return voices that can be used to
504504
* synthesize this language_code. E.g. when specifying "en-NZ", you will get
505-
* supported "en-*" voices; when specifying "no", you will get supported
506-
* "no-*" (Norwegian) and "nb-*" (Norwegian Bokmal) voices; specifying "zh"
507-
* will also get supported "cmn-*" voices; specifying "zh-hk" will also get
508-
* supported "yue-*" voices.
505+
* supported "en-&#92;*" voices; when specifying "no", you will get supported
506+
* "no-&#92;*" (Norwegian) and "nb-&#92;*" (Norwegian Bokmal) voices; specifying "zh"
507+
* will also get supported "cmn-&#92;*" voices; specifying "zh-hk" will also get
508+
* supported "yue-&#92;*" voices.
509509
* </pre>
510510
*
511511
* <code>string language_code = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
@@ -531,10 +531,10 @@ public java.lang.String getLanguageCode() {
531531
* [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If
532532
* specified, the ListVoices call will only return voices that can be used to
533533
* synthesize this language_code. E.g. when specifying "en-NZ", you will get
534-
* supported "en-*" voices; when specifying "no", you will get supported
535-
* "no-*" (Norwegian) and "nb-*" (Norwegian Bokmal) voices; specifying "zh"
536-
* will also get supported "cmn-*" voices; specifying "zh-hk" will also get
537-
* supported "yue-*" voices.
534+
* supported "en-&#92;*" voices; when specifying "no", you will get supported
535+
* "no-&#92;*" (Norwegian) and "nb-&#92;*" (Norwegian Bokmal) voices; specifying "zh"
536+
* will also get supported "cmn-&#92;*" voices; specifying "zh-hk" will also get
537+
* supported "yue-&#92;*" voices.
538538
* </pre>
539539
*
540540
* <code>string language_code = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
@@ -560,10 +560,10 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() {
560560
* [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If
561561
* specified, the ListVoices call will only return voices that can be used to
562562
* synthesize this language_code. E.g. when specifying "en-NZ", you will get
563-
* supported "en-*" voices; when specifying "no", you will get supported
564-
* "no-*" (Norwegian) and "nb-*" (Norwegian Bokmal) voices; specifying "zh"
565-
* will also get supported "cmn-*" voices; specifying "zh-hk" will also get
566-
* supported "yue-*" voices.
563+
* supported "en-&#92;*" voices; when specifying "no", you will get supported
564+
* "no-&#92;*" (Norwegian) and "nb-&#92;*" (Norwegian Bokmal) voices; specifying "zh"
565+
* will also get supported "cmn-&#92;*" voices; specifying "zh-hk" will also get
566+
* supported "yue-&#92;*" voices.
567567
* </pre>
568568
*
569569
* <code>string language_code = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
@@ -588,10 +588,10 @@ public Builder setLanguageCode(java.lang.String value) {
588588
* [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If
589589
* specified, the ListVoices call will only return voices that can be used to
590590
* synthesize this language_code. E.g. when specifying "en-NZ", you will get
591-
* supported "en-*" voices; when specifying "no", you will get supported
592-
* "no-*" (Norwegian) and "nb-*" (Norwegian Bokmal) voices; specifying "zh"
593-
* will also get supported "cmn-*" voices; specifying "zh-hk" will also get
594-
* supported "yue-*" voices.
591+
* supported "en-&#92;*" voices; when specifying "no", you will get supported
592+
* "no-&#92;*" (Norwegian) and "nb-&#92;*" (Norwegian Bokmal) voices; specifying "zh"
593+
* will also get supported "cmn-&#92;*" voices; specifying "zh-hk" will also get
594+
* supported "yue-&#92;*" voices.
595595
* </pre>
596596
*
597597
* <code>string language_code = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
@@ -612,10 +612,10 @@ public Builder clearLanguageCode() {
612612
* [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If
613613
* specified, the ListVoices call will only return voices that can be used to
614614
* synthesize this language_code. E.g. when specifying "en-NZ", you will get
615-
* supported "en-*" voices; when specifying "no", you will get supported
616-
* "no-*" (Norwegian) and "nb-*" (Norwegian Bokmal) voices; specifying "zh"
617-
* will also get supported "cmn-*" voices; specifying "zh-hk" will also get
618-
* supported "yue-*" voices.
615+
* supported "en-&#92;*" voices; when specifying "no", you will get supported
616+
* "no-&#92;*" (Norwegian) and "nb-&#92;*" (Norwegian Bokmal) voices; specifying "zh"
617+
* will also get supported "cmn-&#92;*" voices; specifying "zh-hk" will also get
618+
* supported "yue-&#92;*" voices.
619619
* </pre>
620620
*
621621
* <code>string language_code = 1 [(.google.api.field_behavior) = OPTIONAL];</code>

0 commit comments

Comments
 (0)