diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e9cc523..41254c76 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +### [2.1.1](https://www.github.com/googleapis/java-texttospeech/compare/v2.1.0...v2.1.1) (2022-01-07) + + +### Documentation + +* update comments for ListVoicesRequest ([#611](https://www.github.com/googleapis/java-texttospeech/issues/611)) ([9323550](https://www.github.com/googleapis/java-texttospeech/commit/93235503915ec6848300d05baa9c7e6a64363331)) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.6.0 ([#619](https://www.github.com/googleapis/java-texttospeech/issues/619)) ([c977bff](https://www.github.com/googleapis/java-texttospeech/commit/c977bff8c3b2f0c6e4a8d6724423fb7079d2c020)) + ## [2.1.0](https://www.github.com/googleapis/java-texttospeech/compare/v2.0.6...v2.1.0) (2021-12-06) diff --git a/README.md b/README.md index a5643d5b..2920751f 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file com.google.cloud libraries-bom - 24.0.0 + 24.1.2 pom import @@ -42,7 +42,7 @@ If you are using Maven without BOM, add this to your dependencies: com.google.cloud google-cloud-texttospeech - 2.0.6 + 2.1.0 ``` @@ -50,20 +50,20 @@ If you are using Maven without BOM, add this to your dependencies: If you are using Gradle 5.x or later, add this to your dependencies ```Groovy -implementation platform('com.google.cloud:libraries-bom:24.0.0') +implementation platform('com.google.cloud:libraries-bom:24.1.2') implementation 'com.google.cloud:google-cloud-texttospeech' ``` If you are using Gradle without BOM, add this to your dependencies ```Groovy -implementation 'com.google.cloud:google-cloud-texttospeech:2.0.6' +implementation 'com.google.cloud:google-cloud-texttospeech:2.1.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-texttospeech" % "2.0.6" +libraryDependencies += "com.google.cloud" % "google-cloud-texttospeech" % "2.1.0" ``` ## Authentication diff --git a/google-cloud-texttospeech-bom/pom.xml b/google-cloud-texttospeech-bom/pom.xml index 8003d0c9..d9800168 100644 --- a/google-cloud-texttospeech-bom/pom.xml +++ b/google-cloud-texttospeech-bom/pom.xml @@ -3,12 +3,12 @@ 4.0.0 com.google.cloud google-cloud-texttospeech-bom - 2.1.0 + 2.1.1 pom com.google.cloud google-cloud-shared-config - 1.2.2 + 1.2.4 Google Cloud texttospeech BOM @@ -52,27 +52,27 @@ com.google.cloud google-cloud-texttospeech - 2.1.0 + 2.1.1 com.google.api.grpc grpc-google-cloud-texttospeech-v1beta1 - 0.90.0 + 0.90.1 com.google.api.grpc grpc-google-cloud-texttospeech-v1 - 2.1.0 + 2.1.1 com.google.api.grpc proto-google-cloud-texttospeech-v1 - 2.1.0 + 2.1.1 com.google.api.grpc proto-google-cloud-texttospeech-v1beta1 - 0.90.0 + 0.90.1 diff --git a/google-cloud-texttospeech/pom.xml b/google-cloud-texttospeech/pom.xml index 55554c0f..fdffdc1f 100644 --- a/google-cloud-texttospeech/pom.xml +++ b/google-cloud-texttospeech/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-texttospeech - 2.1.0 + 2.1.1 jar Google Cloud Text-to-Speech https://github.com/googleapis/java-texttospeech @@ -11,7 +11,7 @@ com.google.cloud google-cloud-texttospeech-parent - 2.1.0 + 2.1.1 google-cloud-texttospeech diff --git a/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1beta1/TextToSpeechClient.java b/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1beta1/TextToSpeechClient.java index 20e524fc..c000f2bc 100644 --- a/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1beta1/TextToSpeechClient.java +++ b/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1beta1/TextToSpeechClient.java @@ -154,11 +154,9 @@ public TextToSpeechStub getStub() { * @param languageCode Optional. Recommended. * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If not specified, the * API will return all supported voices. 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-NZ"` 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-hk"` voices. + * voices that can be used to synthesize this language_code. For example, if you specify + * `"en-NZ"`, all `"en-NZ"` voices will be returned. If you specify `"no"`, both + * `"no-\\*"` (Norwegian) and `"nb-\\*"` (Norwegian Bokmal) voices will be returned. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListVoicesResponse listVoices(String languageCode) { diff --git a/grpc-google-cloud-texttospeech-v1/pom.xml b/grpc-google-cloud-texttospeech-v1/pom.xml index 4cd40634..c8af7202 100644 --- a/grpc-google-cloud-texttospeech-v1/pom.xml +++ b/grpc-google-cloud-texttospeech-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-texttospeech-v1 - 2.1.0 + 2.1.1 grpc-google-cloud-texttospeech-v1 GRPC library for grpc-google-cloud-texttospeech-v1 com.google.cloud google-cloud-texttospeech-parent - 2.1.0 + 2.1.1 diff --git a/grpc-google-cloud-texttospeech-v1beta1/pom.xml b/grpc-google-cloud-texttospeech-v1beta1/pom.xml index 2ccbe771..d65028a5 100644 --- a/grpc-google-cloud-texttospeech-v1beta1/pom.xml +++ b/grpc-google-cloud-texttospeech-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-texttospeech-v1beta1 - 0.90.0 + 0.90.1 grpc-google-cloud-texttospeech-v1beta1 GRPC library for grpc-google-cloud-texttospeech-v1beta1 com.google.cloud google-cloud-texttospeech-parent - 2.1.0 + 2.1.1 diff --git a/pom.xml b/pom.xml index 5018b0ae..8b4aefea 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-texttospeech-parent pom - 2.1.0 + 2.1.1 Google Cloud Text-to-Speech Parent https://github.com/googleapis/java-texttospeech @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.2.2 + 1.2.4 @@ -61,33 +61,33 @@ com.google.api.grpc proto-google-cloud-texttospeech-v1 - 2.1.0 + 2.1.1 com.google.api.grpc proto-google-cloud-texttospeech-v1beta1 - 0.90.0 + 0.90.1 com.google.api.grpc grpc-google-cloud-texttospeech-v1beta1 - 0.90.0 + 0.90.1 com.google.api.grpc grpc-google-cloud-texttospeech-v1 - 2.1.0 + 2.1.1 com.google.cloud google-cloud-texttospeech - 2.1.0 + 2.1.1 com.google.cloud google-cloud-shared-dependencies - 2.5.1 + 2.6.0 pom import diff --git a/proto-google-cloud-texttospeech-v1/pom.xml b/proto-google-cloud-texttospeech-v1/pom.xml index 96454e48..5eafeb71 100644 --- a/proto-google-cloud-texttospeech-v1/pom.xml +++ b/proto-google-cloud-texttospeech-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-texttospeech-v1 - 2.1.0 + 2.1.1 proto-google-cloud-texttospeech-v1 PROTO library for proto-google-cloud-texttospeech-v1 com.google.cloud google-cloud-texttospeech-parent - 2.1.0 + 2.1.1 diff --git a/proto-google-cloud-texttospeech-v1beta1/pom.xml b/proto-google-cloud-texttospeech-v1beta1/pom.xml index b163cb25..a1147165 100644 --- a/proto-google-cloud-texttospeech-v1beta1/pom.xml +++ b/proto-google-cloud-texttospeech-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-texttospeech-v1beta1 - 0.90.0 + 0.90.1 proto-google-cloud-texttospeech-v1beta1 PROTO library for proto-google-cloud-texttospeech-v1beta1 com.google.cloud google-cloud-texttospeech-parent - 2.1.0 + 2.1.1 diff --git a/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/ListVoicesRequest.java b/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/ListVoicesRequest.java index e429442c..3581ad5f 100644 --- a/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/ListVoicesRequest.java +++ b/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/ListVoicesRequest.java @@ -121,11 +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 not specified, the API will return all supported voices. * 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-NZ"` 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-hk"` voices. + * to synthesize this language_code. For example, if you specify `"en-NZ"`, + * all `"en-NZ"` voices will be returned. If you specify `"no"`, both + * `"no-\*"` (Norwegian) and `"nb-\*"` (Norwegian Bokmal) voices will be + * returned. * * * string language_code = 1 [(.google.api.field_behavior) = OPTIONAL]; @@ -152,11 +151,10 @@ public java.lang.String getLanguageCode() { * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. * If not specified, the API will return all supported voices. * 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-NZ"` 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-hk"` voices. + * to synthesize this language_code. For example, if you specify `"en-NZ"`, + * all `"en-NZ"` voices will be returned. If you specify `"no"`, both + * `"no-\*"` (Norwegian) and `"nb-\*"` (Norwegian Bokmal) voices will be + * returned. * * * string language_code = 1 [(.google.api.field_behavior) = OPTIONAL]; @@ -504,11 +502,10 @@ public Builder mergeFrom( * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. * If not specified, the API will return all supported voices. * 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-NZ"` 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-hk"` voices. + * to synthesize this language_code. For example, if you specify `"en-NZ"`, + * all `"en-NZ"` voices will be returned. If you specify `"no"`, both + * `"no-\*"` (Norwegian) and `"nb-\*"` (Norwegian Bokmal) voices will be + * returned. * * * string language_code = 1 [(.google.api.field_behavior) = OPTIONAL]; @@ -534,11 +531,10 @@ public java.lang.String getLanguageCode() { * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. * If not specified, the API will return all supported voices. * 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-NZ"` 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-hk"` voices. + * to synthesize this language_code. For example, if you specify `"en-NZ"`, + * all `"en-NZ"` voices will be returned. If you specify `"no"`, both + * `"no-\*"` (Norwegian) and `"nb-\*"` (Norwegian Bokmal) voices will be + * returned. * * * string language_code = 1 [(.google.api.field_behavior) = OPTIONAL]; @@ -564,11 +560,10 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. * If not specified, the API will return all supported voices. * 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-NZ"` 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-hk"` voices. + * to synthesize this language_code. For example, if you specify `"en-NZ"`, + * all `"en-NZ"` voices will be returned. If you specify `"no"`, both + * `"no-\*"` (Norwegian) and `"nb-\*"` (Norwegian Bokmal) voices will be + * returned. * * * string language_code = 1 [(.google.api.field_behavior) = OPTIONAL]; @@ -593,11 +588,10 @@ public Builder setLanguageCode(java.lang.String value) { * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. * If not specified, the API will return all supported voices. * 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-NZ"` 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-hk"` voices. + * to synthesize this language_code. For example, if you specify `"en-NZ"`, + * all `"en-NZ"` voices will be returned. If you specify `"no"`, both + * `"no-\*"` (Norwegian) and `"nb-\*"` (Norwegian Bokmal) voices will be + * returned. * * * string language_code = 1 [(.google.api.field_behavior) = OPTIONAL]; @@ -618,11 +612,10 @@ public Builder clearLanguageCode() { * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. * If not specified, the API will return all supported voices. * 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-NZ"` 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-hk"` voices. + * to synthesize this language_code. For example, if you specify `"en-NZ"`, + * all `"en-NZ"` voices will be returned. If you specify `"no"`, both + * `"no-\*"` (Norwegian) and `"nb-\*"` (Norwegian Bokmal) voices will be + * returned. * * * string language_code = 1 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/ListVoicesRequestOrBuilder.java b/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/ListVoicesRequestOrBuilder.java index 66177312..5acb975b 100644 --- a/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/ListVoicesRequestOrBuilder.java +++ b/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/ListVoicesRequestOrBuilder.java @@ -31,11 +31,10 @@ public interface ListVoicesRequestOrBuilder * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. * If not specified, the API will return all supported voices. * 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-NZ"` 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-hk"` voices. + * to synthesize this language_code. For example, if you specify `"en-NZ"`, + * all `"en-NZ"` voices will be returned. If you specify `"no"`, both + * `"no-\*"` (Norwegian) and `"nb-\*"` (Norwegian Bokmal) voices will be + * returned. * * * string language_code = 1 [(.google.api.field_behavior) = OPTIONAL]; @@ -51,11 +50,10 @@ public interface ListVoicesRequestOrBuilder * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. * If not specified, the API will return all supported voices. * 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-NZ"` 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-hk"` voices. + * to synthesize this language_code. For example, if you specify `"en-NZ"`, + * all `"en-NZ"` voices will be returned. If you specify `"no"`, both + * `"no-\*"` (Norwegian) and `"nb-\*"` (Norwegian Bokmal) voices will be + * returned. * * * string language_code = 1 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-texttospeech-v1beta1/src/main/proto/google/cloud/texttospeech/v1beta1/cloud_tts.proto b/proto-google-cloud-texttospeech-v1beta1/src/main/proto/google/cloud/texttospeech/v1beta1/cloud_tts.proto index 55a62bf8..4fdd68b2 100644 --- a/proto-google-cloud-texttospeech-v1beta1/src/main/proto/google/cloud/texttospeech/v1beta1/cloud_tts.proto +++ b/proto-google-cloud-texttospeech-v1beta1/src/main/proto/google/cloud/texttospeech/v1beta1/cloud_tts.proto @@ -64,11 +64,10 @@ message ListVoicesRequest { // [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. // If not specified, the API will return all supported voices. // 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-NZ"` 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-hk"` voices. + // to synthesize this language_code. For example, if you specify `"en-NZ"`, + // all `"en-NZ"` voices will be returned. If you specify `"no"`, both + // `"no-\*"` (Norwegian) and `"nb-\*"` (Norwegian Bokmal) voices will be + // returned. string language_code = 1 [(google.api.field_behavior) = OPTIONAL]; } diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index 0e255389..8839d35e 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -14,7 +14,7 @@ com.google.cloud.samples shared-configuration - 1.0.23 + 1.2.0 @@ -29,7 +29,7 @@ com.google.cloud google-cloud-texttospeech - 2.0.6 + 2.1.0 diff --git a/samples/pom.xml b/samples/pom.xml index 86f4ba5d..1be8879e 100644 --- a/samples/pom.xml +++ b/samples/pom.xml @@ -18,7 +18,7 @@ com.google.cloud.samples shared-configuration - 1.0.23 + 1.2.0 diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 627baabf..0bff1cd9 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -14,7 +14,7 @@ com.google.cloud.samples shared-configuration - 1.0.23 + 1.2.0 @@ -28,7 +28,7 @@ com.google.cloud google-cloud-texttospeech - 2.1.0 + 2.1.1 diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 36805535..66bcc7cf 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -14,7 +14,7 @@ com.google.cloud.samples shared-configuration - 1.0.23 + 1.2.0 @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 24.0.0 + 24.1.2 pom import diff --git a/versions.txt b/versions.txt index 0a3dec2a..624ba150 100644 --- a/versions.txt +++ b/versions.txt @@ -1,8 +1,8 @@ # Format: # module:released-version:current-version -google-cloud-texttospeech:2.1.0:2.1.0 -grpc-google-cloud-texttospeech-v1beta1:0.90.0:0.90.0 -grpc-google-cloud-texttospeech-v1:2.1.0:2.1.0 -proto-google-cloud-texttospeech-v1:2.1.0:2.1.0 -proto-google-cloud-texttospeech-v1beta1:0.90.0:0.90.0 +google-cloud-texttospeech:2.1.1:2.1.1 +grpc-google-cloud-texttospeech-v1beta1:0.90.1:0.90.1 +grpc-google-cloud-texttospeech-v1:2.1.1:2.1.1 +proto-google-cloud-texttospeech-v1:2.1.1:2.1.1 +proto-google-cloud-texttospeech-v1beta1:0.90.1:0.90.1