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

docs: escape * characters in comments #205

Merged
merged 2 commits into from Aug 10, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -17,7 +17,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>libraries-bom</artifactId>
<version>8.0.0</version>
<version>8.1.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down
Expand Up @@ -159,10 +159,10 @@ public TextToSpeechStub getStub() {
* @param languageCode Optional. Recommended.
* [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If specified, the
* ListVoices call will only return voices that can be used to synthesize this language_code.
* E.g. when specifying "en-NZ", you will get supported "en-&#42;" voices; when specifying
* "no", you will get supported "no-&#42;" (Norwegian) and "nb-&#42;" (Norwegian Bokmal)
* voices; specifying "zh" will also get supported "cmn-&#42;" voices; specifying "zh-hk" will
* also get supported "yue-&#42;" voices.
* E.g. when specifying "en-NZ", you will get supported "en-\&#42;" voices; when specifying
* "no", you will get supported "no-\&#42;" (Norwegian) and "nb-\&#42;" (Norwegian Bokmal)
* voices; specifying "zh" will also get supported "cmn-\&#42;" voices; specifying "zh-hk"
* will also get supported "yue-\&#42;" voices.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final ListVoicesResponse listVoices(String languageCode) {
Expand Down
Expand Up @@ -159,10 +159,10 @@ public TextToSpeechStub getStub() {
* @param languageCode Optional. Recommended.
* [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If specified, the
* ListVoices call will only return voices that can be used to synthesize this language_code.
* E.g. when specifying "en-NZ", you will get supported "en-&#42;" voices; when specifying
* "no", you will get supported "no-&#42;" (Norwegian) and "nb-&#42;" (Norwegian Bokmal)
* voices; specifying "zh" will also get supported "cmn-&#42;" voices; specifying "zh-hk" will
* also get supported "yue-&#42;" voices.
* E.g. when specifying "en-NZ", you will get supported "en-\&#42;" voices; when specifying
* "no", you will get supported "no-\&#42;" (Norwegian) and "nb-\&#42;" (Norwegian Bokmal)
* voices; specifying "zh" will also get supported "cmn-\&#42;" voices; specifying "zh-hk"
* will also get supported "yue-\&#42;" voices.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final ListVoicesResponse listVoices(String languageCode) {
Expand Down
Expand Up @@ -121,10 +121,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
* [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If
* specified, the ListVoices call will only return voices that can be used to
* synthesize this language_code. E.g. when specifying "en-NZ", you will get
* supported "en-*" voices; when specifying "no", you will get supported
* "no-*" (Norwegian) and "nb-*" (Norwegian Bokmal) voices; specifying "zh"
* will also get supported "cmn-*" voices; specifying "zh-hk" will also get
* supported "yue-*" voices.
* supported "en-&#92;*" voices; when specifying "no", you will get supported
* "no-&#92;*" (Norwegian) and "nb-&#92;*" (Norwegian Bokmal) voices; specifying "zh"
* will also get supported "cmn-&#92;*" voices; specifying "zh-hk" will also get
* supported "yue-&#92;*" voices.
* </pre>
*
* <code>string language_code = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
Expand All @@ -151,10 +151,10 @@ public java.lang.String getLanguageCode() {
* [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If
* specified, the ListVoices call will only return voices that can be used to
* synthesize this language_code. E.g. when specifying "en-NZ", you will get
* supported "en-*" voices; when specifying "no", you will get supported
* "no-*" (Norwegian) and "nb-*" (Norwegian Bokmal) voices; specifying "zh"
* will also get supported "cmn-*" voices; specifying "zh-hk" will also get
* supported "yue-*" voices.
* supported "en-&#92;*" voices; when specifying "no", you will get supported
* "no-&#92;*" (Norwegian) and "nb-&#92;*" (Norwegian Bokmal) voices; specifying "zh"
* will also get supported "cmn-&#92;*" voices; specifying "zh-hk" will also get
* supported "yue-&#92;*" voices.
* </pre>
*
* <code>string language_code = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
Expand Down Expand Up @@ -501,10 +501,10 @@ public Builder mergeFrom(
* [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If
* specified, the ListVoices call will only return voices that can be used to
* synthesize this language_code. E.g. when specifying "en-NZ", you will get
* supported "en-*" voices; when specifying "no", you will get supported
* "no-*" (Norwegian) and "nb-*" (Norwegian Bokmal) voices; specifying "zh"
* will also get supported "cmn-*" voices; specifying "zh-hk" will also get
* supported "yue-*" voices.
* supported "en-&#92;*" voices; when specifying "no", you will get supported
* "no-&#92;*" (Norwegian) and "nb-&#92;*" (Norwegian Bokmal) voices; specifying "zh"
* will also get supported "cmn-&#92;*" voices; specifying "zh-hk" will also get
* supported "yue-&#92;*" voices.
* </pre>
*
* <code>string language_code = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
Expand All @@ -530,10 +530,10 @@ public java.lang.String getLanguageCode() {
* [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If
* specified, the ListVoices call will only return voices that can be used to
* synthesize this language_code. E.g. when specifying "en-NZ", you will get
* supported "en-*" voices; when specifying "no", you will get supported
* "no-*" (Norwegian) and "nb-*" (Norwegian Bokmal) voices; specifying "zh"
* will also get supported "cmn-*" voices; specifying "zh-hk" will also get
* supported "yue-*" voices.
* supported "en-&#92;*" voices; when specifying "no", you will get supported
* "no-&#92;*" (Norwegian) and "nb-&#92;*" (Norwegian Bokmal) voices; specifying "zh"
* will also get supported "cmn-&#92;*" voices; specifying "zh-hk" will also get
* supported "yue-&#92;*" voices.
* </pre>
*
* <code>string language_code = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
Expand All @@ -559,10 +559,10 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() {
* [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If
* specified, the ListVoices call will only return voices that can be used to
* synthesize this language_code. E.g. when specifying "en-NZ", you will get
* supported "en-*" voices; when specifying "no", you will get supported
* "no-*" (Norwegian) and "nb-*" (Norwegian Bokmal) voices; specifying "zh"
* will also get supported "cmn-*" voices; specifying "zh-hk" will also get
* supported "yue-*" voices.
* supported "en-&#92;*" voices; when specifying "no", you will get supported
* "no-&#92;*" (Norwegian) and "nb-&#92;*" (Norwegian Bokmal) voices; specifying "zh"
* will also get supported "cmn-&#92;*" voices; specifying "zh-hk" will also get
* supported "yue-&#92;*" voices.
* </pre>
*
* <code>string language_code = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
Expand All @@ -587,10 +587,10 @@ public Builder setLanguageCode(java.lang.String value) {
* [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If
* specified, the ListVoices call will only return voices that can be used to
* synthesize this language_code. E.g. when specifying "en-NZ", you will get
* supported "en-*" voices; when specifying "no", you will get supported
* "no-*" (Norwegian) and "nb-*" (Norwegian Bokmal) voices; specifying "zh"
* will also get supported "cmn-*" voices; specifying "zh-hk" will also get
* supported "yue-*" voices.
* supported "en-&#92;*" voices; when specifying "no", you will get supported
* "no-&#92;*" (Norwegian) and "nb-&#92;*" (Norwegian Bokmal) voices; specifying "zh"
* will also get supported "cmn-&#92;*" voices; specifying "zh-hk" will also get
* supported "yue-&#92;*" voices.
* </pre>
*
* <code>string language_code = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
Expand All @@ -611,10 +611,10 @@ public Builder clearLanguageCode() {
* [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If
* specified, the ListVoices call will only return voices that can be used to
* synthesize this language_code. E.g. when specifying "en-NZ", you will get
* supported "en-*" voices; when specifying "no", you will get supported
* "no-*" (Norwegian) and "nb-*" (Norwegian Bokmal) voices; specifying "zh"
* will also get supported "cmn-*" voices; specifying "zh-hk" will also get
* supported "yue-*" voices.
* supported "en-&#92;*" voices; when specifying "no", you will get supported
* "no-&#92;*" (Norwegian) and "nb-&#92;*" (Norwegian Bokmal) voices; specifying "zh"
* will also get supported "cmn-&#92;*" voices; specifying "zh-hk" will also get
* supported "yue-&#92;*" voices.
* </pre>
*
* <code>string language_code = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
Expand Down
Expand Up @@ -31,10 +31,10 @@ public interface ListVoicesRequestOrBuilder
* [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If
* specified, the ListVoices call will only return voices that can be used to
* synthesize this language_code. E.g. when specifying "en-NZ", you will get
* supported "en-*" voices; when specifying "no", you will get supported
* "no-*" (Norwegian) and "nb-*" (Norwegian Bokmal) voices; specifying "zh"
* will also get supported "cmn-*" voices; specifying "zh-hk" will also get
* supported "yue-*" voices.
* supported "en-&#92;*" voices; when specifying "no", you will get supported
* "no-&#92;*" (Norwegian) and "nb-&#92;*" (Norwegian Bokmal) voices; specifying "zh"
* will also get supported "cmn-&#92;*" voices; specifying "zh-hk" will also get
* supported "yue-&#92;*" voices.
* </pre>
*
* <code>string language_code = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
Expand All @@ -50,10 +50,10 @@ public interface ListVoicesRequestOrBuilder
* [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If
* specified, the ListVoices call will only return voices that can be used to
* synthesize this language_code. E.g. when specifying "en-NZ", you will get
* supported "en-*" voices; when specifying "no", you will get supported
* "no-*" (Norwegian) and "nb-*" (Norwegian Bokmal) voices; specifying "zh"
* will also get supported "cmn-*" voices; specifying "zh-hk" will also get
* supported "yue-*" voices.
* supported "en-&#92;*" voices; when specifying "no", you will get supported
* "no-&#92;*" (Norwegian) and "nb-&#92;*" (Norwegian Bokmal) voices; specifying "zh"
* will also get supported "cmn-&#92;*" voices; specifying "zh-hk" will also get
* supported "yue-&#92;*" voices.
* </pre>
*
* <code>string language_code = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
Expand Down
Expand Up @@ -60,10 +60,10 @@ message ListVoicesRequest {
// [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If
// specified, the ListVoices call will only return voices that can be used to
// synthesize this language_code. E.g. when specifying "en-NZ", you will get
// supported "en-*" voices; when specifying "no", you will get supported
// "no-*" (Norwegian) and "nb-*" (Norwegian Bokmal) voices; specifying "zh"
// will also get supported "cmn-*" voices; specifying "zh-hk" will also get
// supported "yue-*" voices.
// supported "en-\*" voices; when specifying "no", you will get supported
// "no-\*" (Norwegian) and "nb-\*" (Norwegian Bokmal) voices; specifying "zh"
// will also get supported "cmn-\*" voices; specifying "zh-hk" will also get
// supported "yue-\*" voices.
string language_code = 1 [(google.api.field_behavior) = OPTIONAL];
}

Expand Down
Expand Up @@ -121,10 +121,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
* [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If
* specified, the ListVoices call will only return voices that can be used to
* synthesize this language_code. E.g. when specifying "en-NZ", you will get
* supported "en-*" voices; when specifying "no", you will get supported
* "no-*" (Norwegian) and "nb-*" (Norwegian Bokmal) voices; specifying "zh"
* will also get supported "cmn-*" voices; specifying "zh-hk" will also get
* supported "yue-*" voices.
* supported "en-&#92;*" voices; when specifying "no", you will get supported
* "no-&#92;*" (Norwegian) and "nb-&#92;*" (Norwegian Bokmal) voices; specifying "zh"
* will also get supported "cmn-&#92;*" voices; specifying "zh-hk" will also get
* supported "yue-&#92;*" voices.
* </pre>
*
* <code>string language_code = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
Expand All @@ -151,10 +151,10 @@ public java.lang.String getLanguageCode() {
* [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If
* specified, the ListVoices call will only return voices that can be used to
* synthesize this language_code. E.g. when specifying "en-NZ", you will get
* supported "en-*" voices; when specifying "no", you will get supported
* "no-*" (Norwegian) and "nb-*" (Norwegian Bokmal) voices; specifying "zh"
* will also get supported "cmn-*" voices; specifying "zh-hk" will also get
* supported "yue-*" voices.
* supported "en-&#92;*" voices; when specifying "no", you will get supported
* "no-&#92;*" (Norwegian) and "nb-&#92;*" (Norwegian Bokmal) voices; specifying "zh"
* will also get supported "cmn-&#92;*" voices; specifying "zh-hk" will also get
* supported "yue-&#92;*" voices.
* </pre>
*
* <code>string language_code = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
Expand Down Expand Up @@ -502,10 +502,10 @@ public Builder mergeFrom(
* [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If
* specified, the ListVoices call will only return voices that can be used to
* synthesize this language_code. E.g. when specifying "en-NZ", you will get
* supported "en-*" voices; when specifying "no", you will get supported
* "no-*" (Norwegian) and "nb-*" (Norwegian Bokmal) voices; specifying "zh"
* will also get supported "cmn-*" voices; specifying "zh-hk" will also get
* supported "yue-*" voices.
* supported "en-&#92;*" voices; when specifying "no", you will get supported
* "no-&#92;*" (Norwegian) and "nb-&#92;*" (Norwegian Bokmal) voices; specifying "zh"
* will also get supported "cmn-&#92;*" voices; specifying "zh-hk" will also get
* supported "yue-&#92;*" voices.
* </pre>
*
* <code>string language_code = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
Expand All @@ -531,10 +531,10 @@ public java.lang.String getLanguageCode() {
* [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If
* specified, the ListVoices call will only return voices that can be used to
* synthesize this language_code. E.g. when specifying "en-NZ", you will get
* supported "en-*" voices; when specifying "no", you will get supported
* "no-*" (Norwegian) and "nb-*" (Norwegian Bokmal) voices; specifying "zh"
* will also get supported "cmn-*" voices; specifying "zh-hk" will also get
* supported "yue-*" voices.
* supported "en-&#92;*" voices; when specifying "no", you will get supported
* "no-&#92;*" (Norwegian) and "nb-&#92;*" (Norwegian Bokmal) voices; specifying "zh"
* will also get supported "cmn-&#92;*" voices; specifying "zh-hk" will also get
* supported "yue-&#92;*" voices.
* </pre>
*
* <code>string language_code = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
Expand All @@ -560,10 +560,10 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() {
* [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If
* specified, the ListVoices call will only return voices that can be used to
* synthesize this language_code. E.g. when specifying "en-NZ", you will get
* supported "en-*" voices; when specifying "no", you will get supported
* "no-*" (Norwegian) and "nb-*" (Norwegian Bokmal) voices; specifying "zh"
* will also get supported "cmn-*" voices; specifying "zh-hk" will also get
* supported "yue-*" voices.
* supported "en-&#92;*" voices; when specifying "no", you will get supported
* "no-&#92;*" (Norwegian) and "nb-&#92;*" (Norwegian Bokmal) voices; specifying "zh"
* will also get supported "cmn-&#92;*" voices; specifying "zh-hk" will also get
* supported "yue-&#92;*" voices.
* </pre>
*
* <code>string language_code = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
Expand All @@ -588,10 +588,10 @@ public Builder setLanguageCode(java.lang.String value) {
* [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If
* specified, the ListVoices call will only return voices that can be used to
* synthesize this language_code. E.g. when specifying "en-NZ", you will get
* supported "en-*" voices; when specifying "no", you will get supported
* "no-*" (Norwegian) and "nb-*" (Norwegian Bokmal) voices; specifying "zh"
* will also get supported "cmn-*" voices; specifying "zh-hk" will also get
* supported "yue-*" voices.
* supported "en-&#92;*" voices; when specifying "no", you will get supported
* "no-&#92;*" (Norwegian) and "nb-&#92;*" (Norwegian Bokmal) voices; specifying "zh"
* will also get supported "cmn-&#92;*" voices; specifying "zh-hk" will also get
* supported "yue-&#92;*" voices.
* </pre>
*
* <code>string language_code = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
Expand All @@ -612,10 +612,10 @@ public Builder clearLanguageCode() {
* [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If
* specified, the ListVoices call will only return voices that can be used to
* synthesize this language_code. E.g. when specifying "en-NZ", you will get
* supported "en-*" voices; when specifying "no", you will get supported
* "no-*" (Norwegian) and "nb-*" (Norwegian Bokmal) voices; specifying "zh"
* will also get supported "cmn-*" voices; specifying "zh-hk" will also get
* supported "yue-*" voices.
* supported "en-&#92;*" voices; when specifying "no", you will get supported
* "no-&#92;*" (Norwegian) and "nb-&#92;*" (Norwegian Bokmal) voices; specifying "zh"
* will also get supported "cmn-&#92;*" voices; specifying "zh-hk" will also get
* supported "yue-&#92;*" voices.
* </pre>
*
* <code>string language_code = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
Expand Down