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 65218866..2a6e729e 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 @@ -152,12 +152,13 @@ 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-\\*" 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. + * [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. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListVoicesResponse listVoices(String languageCode) { diff --git a/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/AudioEncoding.java b/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/AudioEncoding.java index a25ee778..706e6f33 100644 --- a/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/AudioEncoding.java +++ b/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/AudioEncoding.java @@ -94,6 +94,17 @@ public enum AudioEncoding implements com.google.protobuf.ProtocolMessageEnum { * MULAW = 5; */ MULAW(5), + /** + * + * + *
+   * 8-bit samples that compand 14-bit audio samples using G.711 PCMU/A-law.
+   * Audio content returned as ALAW also contains a WAV header.
+   * 
+ * + * ALAW = 6; + */ + ALAW(6), UNRECOGNIZED(-1), ; @@ -162,6 +173,17 @@ public enum AudioEncoding implements com.google.protobuf.ProtocolMessageEnum { * MULAW = 5; */ public static final int MULAW_VALUE = 5; + /** + * + * + *
+   * 8-bit samples that compand 14-bit audio samples using G.711 PCMU/A-law.
+   * Audio content returned as ALAW also contains a WAV header.
+   * 
+ * + * ALAW = 6; + */ + public static final int ALAW_VALUE = 6; public final int getNumber() { if (this == UNRECOGNIZED) { @@ -199,6 +221,8 @@ public static AudioEncoding forNumber(int value) { return OGG_OPUS; case 5: return MULAW; + case 6: + return ALAW; default: return null; } 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 76555cb2..090a0c54 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 @@ -118,13 +118,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * 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-\*" voices; when specifying "no", you will get supported
+   * [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-\*" voices.
+   * supported "yue-hk" voices.
    * 
* * string language_code = 1 [(.google.api.field_behavior) = OPTIONAL]; @@ -148,13 +149,14 @@ public java.lang.String getLanguageCode() { * *
    * 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-\*" voices; when specifying "no", you will get supported
+   * [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-\*" voices.
+   * supported "yue-hk" voices.
    * 
* * string language_code = 1 [(.google.api.field_behavior) = OPTIONAL]; @@ -499,13 +501,14 @@ public Builder mergeFrom( * *
      * 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-\*" voices; when specifying "no", you will get supported
+     * [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-\*" voices.
+     * supported "yue-hk" voices.
      * 
* * string language_code = 1 [(.google.api.field_behavior) = OPTIONAL]; @@ -528,13 +531,14 @@ public java.lang.String getLanguageCode() { * *
      * 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-\*" voices; when specifying "no", you will get supported
+     * [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-\*" voices.
+     * supported "yue-hk" voices.
      * 
* * string language_code = 1 [(.google.api.field_behavior) = OPTIONAL]; @@ -557,13 +561,14 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * *
      * 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-\*" voices; when specifying "no", you will get supported
+     * [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-\*" voices.
+     * supported "yue-hk" voices.
      * 
* * string language_code = 1 [(.google.api.field_behavior) = OPTIONAL]; @@ -585,13 +590,14 @@ public Builder setLanguageCode(java.lang.String value) { * *
      * 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-\*" voices; when specifying "no", you will get supported
+     * [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-\*" voices.
+     * supported "yue-hk" voices.
      * 
* * string language_code = 1 [(.google.api.field_behavior) = OPTIONAL]; @@ -609,13 +615,14 @@ public Builder clearLanguageCode() { * *
      * 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-\*" voices; when specifying "no", you will get supported
+     * [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-\*" voices.
+     * supported "yue-hk" voices.
      * 
* * 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 6acdeaa4..1bc59e44 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 @@ -28,13 +28,14 @@ public interface ListVoicesRequestOrBuilder * *
    * 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-\*" voices; when specifying "no", you will get supported
+   * [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-\*" voices.
+   * supported "yue-hk" voices.
    * 
* * string language_code = 1 [(.google.api.field_behavior) = OPTIONAL]; @@ -47,13 +48,14 @@ public interface ListVoicesRequestOrBuilder * *
    * 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-\*" voices; when specifying "no", you will get supported
+   * [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-\*" voices.
+   * supported "yue-hk" voices.
    * 
* * 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/SynthesizeSpeechRequest.java b/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/SynthesizeSpeechRequest.java index f7ec768c..47163cec 100644 --- a/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/SynthesizeSpeechRequest.java +++ b/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/SynthesizeSpeechRequest.java @@ -508,7 +508,7 @@ public com.google.cloud.texttospeech.v1beta1.AudioConfigOrBuilder getAudioConfig * * *
-   * Whether and what timepoints should be returned in the response.
+   * Whether and what timepoints are returned in the response.
    * 
* * @@ -529,7 +529,7 @@ public com.google.cloud.texttospeech.v1beta1.AudioConfigOrBuilder getAudioConfig * * *
-   * Whether and what timepoints should be returned in the response.
+   * Whether and what timepoints are returned in the response.
    * 
* * @@ -546,7 +546,7 @@ public int getEnableTimePointingCount() { * * *
-   * Whether and what timepoints should be returned in the response.
+   * Whether and what timepoints are returned in the response.
    * 
* * @@ -565,7 +565,7 @@ public int getEnableTimePointingCount() { * * *
-   * Whether and what timepoints should be returned in the response.
+   * Whether and what timepoints are returned in the response.
    * 
* * @@ -582,7 +582,7 @@ public java.util.List getEnableTimePointingValueList() { * * *
-   * Whether and what timepoints should be returned in the response.
+   * Whether and what timepoints are returned in the response.
    * 
* * @@ -1660,7 +1660,7 @@ private void ensureEnableTimePointingIsMutable() { * * *
-     * Whether and what timepoints should be returned in the response.
+     * Whether and what timepoints are returned in the response.
      * 
* * @@ -1681,7 +1681,7 @@ private void ensureEnableTimePointingIsMutable() { * * *
-     * Whether and what timepoints should be returned in the response.
+     * Whether and what timepoints are returned in the response.
      * 
* * @@ -1697,7 +1697,7 @@ public int getEnableTimePointingCount() { * * *
-     * Whether and what timepoints should be returned in the response.
+     * Whether and what timepoints are returned in the response.
      * 
* * @@ -1715,7 +1715,7 @@ public int getEnableTimePointingCount() { * * *
-     * Whether and what timepoints should be returned in the response.
+     * Whether and what timepoints are returned in the response.
      * 
* * @@ -1741,7 +1741,7 @@ public Builder setEnableTimePointing( * * *
-     * Whether and what timepoints should be returned in the response.
+     * Whether and what timepoints are returned in the response.
      * 
* * @@ -1765,7 +1765,7 @@ public Builder addEnableTimePointing( * * *
-     * Whether and what timepoints should be returned in the response.
+     * Whether and what timepoints are returned in the response.
      * 
* * @@ -1792,7 +1792,7 @@ public Builder addAllEnableTimePointing( * * *
-     * Whether and what timepoints should be returned in the response.
+     * Whether and what timepoints are returned in the response.
      * 
* * @@ -1811,7 +1811,7 @@ public Builder clearEnableTimePointing() { * * *
-     * Whether and what timepoints should be returned in the response.
+     * Whether and what timepoints are returned in the response.
      * 
* * @@ -1827,7 +1827,7 @@ public java.util.List getEnableTimePointingValueList() { * * *
-     * Whether and what timepoints should be returned in the response.
+     * Whether and what timepoints are returned in the response.
      * 
* * @@ -1844,7 +1844,7 @@ public int getEnableTimePointingValue(int index) { * * *
-     * Whether and what timepoints should be returned in the response.
+     * Whether and what timepoints are returned in the response.
      * 
* * @@ -1865,7 +1865,7 @@ public Builder setEnableTimePointingValue(int index, int value) { * * *
-     * Whether and what timepoints should be returned in the response.
+     * Whether and what timepoints are returned in the response.
      * 
* * @@ -1885,7 +1885,7 @@ public Builder addEnableTimePointingValue(int value) { * * *
-     * Whether and what timepoints should be returned in the response.
+     * Whether and what timepoints are returned in the response.
      * 
* * diff --git a/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/SynthesizeSpeechRequestOrBuilder.java b/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/SynthesizeSpeechRequestOrBuilder.java index 44a860bc..0b7fd937 100644 --- a/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/SynthesizeSpeechRequestOrBuilder.java +++ b/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/SynthesizeSpeechRequestOrBuilder.java @@ -150,7 +150,7 @@ public interface SynthesizeSpeechRequestOrBuilder * * *
-   * Whether and what timepoints should be returned in the response.
+   * Whether and what timepoints are returned in the response.
    * 
* * @@ -165,7 +165,7 @@ public interface SynthesizeSpeechRequestOrBuilder * * *
-   * Whether and what timepoints should be returned in the response.
+   * Whether and what timepoints are returned in the response.
    * 
* * @@ -179,7 +179,7 @@ public interface SynthesizeSpeechRequestOrBuilder * * *
-   * Whether and what timepoints should be returned in the response.
+   * Whether and what timepoints are returned in the response.
    * 
* * @@ -195,7 +195,7 @@ com.google.cloud.texttospeech.v1beta1.SynthesizeSpeechRequest.TimepointType getE * * *
-   * Whether and what timepoints should be returned in the response.
+   * Whether and what timepoints are returned in the response.
    * 
* * @@ -209,7 +209,7 @@ com.google.cloud.texttospeech.v1beta1.SynthesizeSpeechRequest.TimepointType getE * * *
-   * Whether and what timepoints should be returned in the response.
+   * Whether and what timepoints are returned in the response.
    * 
* * diff --git a/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/TextToSpeechProto.java b/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/TextToSpeechProto.java index 9f6217be..9a805d2d 100644 --- a/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/TextToSpeechProto.java +++ b/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/TextToSpeechProto.java @@ -113,28 +113,29 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "g\"4\n\tTimepoint\022\021\n\tmark_name\030\004 \001(\t\022\024\n\014tim" + "e_seconds\030\003 \001(\001*W\n\017SsmlVoiceGender\022!\n\035SS" + "ML_VOICE_GENDER_UNSPECIFIED\020\000\022\010\n\004MALE\020\001\022" - + "\n\n\006FEMALE\020\002\022\013\n\007NEUTRAL\020\003*p\n\rAudioEncodin" + + "\n\n\006FEMALE\020\002\022\013\n\007NEUTRAL\020\003*z\n\rAudioEncodin" + "g\022\036\n\032AUDIO_ENCODING_UNSPECIFIED\020\000\022\014\n\010LIN" + "EAR16\020\001\022\007\n\003MP3\020\002\022\017\n\013MP3_64_KBPS\020\004\022\014\n\010OGG" - + "_OPUS\020\003\022\t\n\005MULAW\020\0052\322\003\n\014TextToSpeech\022\242\001\n\n" - + "ListVoices\0224.google.cloud.texttospeech.v" - + "1beta1.ListVoicesRequest\0325.google.cloud." - + "texttospeech.v1beta1.ListVoicesResponse\"" - + "\'\202\323\344\223\002\021\022\017/v1beta1/voices\332A\rlanguage_code" - + "\022\313\001\n\020SynthesizeSpeech\022:.google.cloud.tex" - + "ttospeech.v1beta1.SynthesizeSpeechReques" - + "t\032;.google.cloud.texttospeech.v1beta1.Sy" - + "nthesizeSpeechResponse\">\202\323\344\223\002\035\"\030/v1beta1" - + "/text:synthesize:\001*\332A\030input,voice,audio_" - + "config\032O\312A\033texttospeech.googleapis.com\322A" - + ".https://www.googleapis.com/auth/cloud-p" - + "latformB\375\001\n%com.google.cloud.texttospeec" - + "h.v1beta1B\021TextToSpeechProtoP\001ZMgoogle.g" - + "olang.org/genproto/googleapis/cloud/text" - + "tospeech/v1beta1;texttospeech\370\001\001\252\002!Googl" - + "e.Cloud.TextToSpeech.V1beta1\312\002!Google\\Cl" - + "oud\\TextToSpeech\\V1beta1\352\002$Google::Cloud" - + "::TextToSpeech::V1beta1b\006proto3" + + "_OPUS\020\003\022\t\n\005MULAW\020\005\022\010\n\004ALAW\020\0062\322\003\n\014TextToS" + + "peech\022\242\001\n\nListVoices\0224.google.cloud.text" + + "tospeech.v1beta1.ListVoicesRequest\0325.goo" + + "gle.cloud.texttospeech.v1beta1.ListVoice" + + "sResponse\"\'\202\323\344\223\002\021\022\017/v1beta1/voices\332A\rlan" + + "guage_code\022\313\001\n\020SynthesizeSpeech\022:.google" + + ".cloud.texttospeech.v1beta1.SynthesizeSp" + + "eechRequest\032;.google.cloud.texttospeech." + + "v1beta1.SynthesizeSpeechResponse\">\202\323\344\223\002\035" + + "\"\030/v1beta1/text:synthesize:\001*\332A\030input,vo" + + "ice,audio_config\032O\312A\033texttospeech.google" + + "apis.com\322A.https://www.googleapis.com/au" + + "th/cloud-platformB\375\001\n%com.google.cloud.t" + + "exttospeech.v1beta1B\021TextToSpeechProtoP\001" + + "ZMgoogle.golang.org/genproto/googleapis/" + + "cloud/texttospeech/v1beta1;texttospeech\370" + + "\001\001\252\002!Google.Cloud.TextToSpeech.V1beta1\312\002" + + "!Google\\Cloud\\TextToSpeech\\V1beta1\352\002$Goo" + + "gle::Cloud::TextToSpeech::V1beta1b\006proto" + + "3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( 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 9b67d924..1c390d87 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 @@ -1,4 +1,4 @@ -// Copyright 2019 Google LLC. +// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -56,13 +56,14 @@ service TextToSpeech { // The top-level message sent by the client for the `ListVoices` method. message ListVoicesRequest { // 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-\*" voices; when specifying "no", you will get supported + // [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-\*" voices. + // supported "yue-hk" voices. string language_code = 1 [(google.api.field_behavior) = OPTIONAL]; } @@ -111,6 +112,10 @@ enum AudioEncoding { // 8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law. // Audio content returned as MULAW also contains a WAV header. MULAW = 5; + + // 8-bit samples that compand 14-bit audio samples using G.711 PCMU/A-law. + // Audio content returned as ALAW also contains a WAV header. + ALAW = 6; } // The message returned to the client by the `ListVoices` method. @@ -156,7 +161,7 @@ message SynthesizeSpeechRequest { // Required. The configuration of the synthesized audio. AudioConfig audio_config = 3 [(google.api.field_behavior) = REQUIRED]; - // Whether and what timepoints should be returned in the response. + // Whether and what timepoints are returned in the response. repeated TimepointType enable_time_pointing = 4; } diff --git a/synth.metadata b/synth.metadata index bab173a3..e5b53510 100644 --- a/synth.metadata +++ b/synth.metadata @@ -11,16 +11,16 @@ "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "1305ca41d554eb0725237561e34129373bb8cbc1", - "internalRef": "362856902" + "sha": "45445f476c39de13be89a3c5a45b67c7a2320fcf", + "internalRef": "365608171" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "1305ca41d554eb0725237561e34129373bb8cbc1", - "internalRef": "362856902" + "sha": "45445f476c39de13be89a3c5a45b67c7a2320fcf", + "internalRef": "365608171" } }, {