Skip to content
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion generation_config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
gapic_generator_version: 2.62.0
googleapis_commitish: 525c95a7a122ec2869ae06cd02fa5013819463f6
googleapis_commitish: b738e78ed63effb7d199ed2d61c9e03291b6077f
libraries_bom_version: 26.66.0

# the libraries are ordered with respect to library name, which is
Expand Down
8 changes: 4 additions & 4 deletions java-texttospeech/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-texttospeech</artifactId>
<version>2.73.0</version>
<version>2.74.0</version>
</dependency>
```

If you are using Gradle without BOM, add this to your dependencies:

```Groovy
implementation 'com.google.cloud:google-cloud-texttospeech:2.73.0'
implementation 'com.google.cloud:google-cloud-texttospeech:2.74.0'
```

If you are using SBT, add this to your dependencies:

```Scala
libraryDependencies += "com.google.cloud" % "google-cloud-texttospeech" % "2.73.0"
libraryDependencies += "com.google.cloud" % "google-cloud-texttospeech" % "2.74.0"
```

## Authentication
Expand Down Expand Up @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-texttospeech.svg
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-texttospeech/2.73.0
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-texttospeech/2.74.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
* </tr>
* <tr>
* <td><p> StreamingSynthesize</td>
* <td><p> Performs bidirectional streaming speech synthesis: receive audio while sending text.</td>
* <td><p> Performs bidirectional streaming speech synthesis: receives audio while sending text.</td>
* <td>
* <p>Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.</p>
* <ul>
Expand Down Expand Up @@ -393,7 +393,7 @@ public final SynthesizeSpeechResponse synthesizeSpeech(SynthesizeSpeechRequest r

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Performs bidirectional streaming speech synthesis: receive audio while sending text.
* Performs bidirectional streaming speech synthesis: receives audio while sending text.
*
* <p>Sample code:
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ default void synthesizeSpeech(
*
*
* <pre>
* Performs bidirectional streaming speech synthesis: receive audio while
* Performs bidirectional streaming speech synthesis: receives audio while
* sending text.
* </pre>
*/
Expand Down Expand Up @@ -361,7 +361,7 @@ public void synthesizeSpeech(
*
*
* <pre>
* Performs bidirectional streaming speech synthesis: receive audio while
* Performs bidirectional streaming speech synthesis: receives audio while
* sending text.
* </pre>
*/
Expand Down Expand Up @@ -426,7 +426,7 @@ public com.google.cloud.texttospeech.v1beta1.SynthesizeSpeechResponse synthesize
*
*
* <pre>
* Performs bidirectional streaming speech synthesis: receive audio while
* Performs bidirectional streaming speech synthesis: receives audio while
* sending text.
* </pre>
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* <pre>
* Only for Journey voices. If false, the synthesis will be context aware
* and have higher latency.
* Only for Journey voices. If false, the synthesis is context aware
* and has a higher latency.
* </pre>
*
* <code>optional bool low_latency_journey_synthesis = 1;</code>
Expand All @@ -87,8 +87,8 @@ public boolean hasLowLatencyJourneySynthesis() {
*
*
* <pre>
* Only for Journey voices. If false, the synthesis will be context aware
* and have higher latency.
* Only for Journey voices. If false, the synthesis is context aware
* and has a higher latency.
* </pre>
*
* <code>optional bool low_latency_journey_synthesis = 1;</code>
Expand Down Expand Up @@ -457,8 +457,8 @@ public Builder mergeFrom(
*
*
* <pre>
* Only for Journey voices. If false, the synthesis will be context aware
* and have higher latency.
* Only for Journey voices. If false, the synthesis is context aware
* and has a higher latency.
* </pre>
*
* <code>optional bool low_latency_journey_synthesis = 1;</code>
Expand All @@ -474,8 +474,8 @@ public boolean hasLowLatencyJourneySynthesis() {
*
*
* <pre>
* Only for Journey voices. If false, the synthesis will be context aware
* and have higher latency.
* Only for Journey voices. If false, the synthesis is context aware
* and has a higher latency.
* </pre>
*
* <code>optional bool low_latency_journey_synthesis = 1;</code>
Expand All @@ -491,8 +491,8 @@ public boolean getLowLatencyJourneySynthesis() {
*
*
* <pre>
* Only for Journey voices. If false, the synthesis will be context aware
* and have higher latency.
* Only for Journey voices. If false, the synthesis is context aware
* and has a higher latency.
* </pre>
*
* <code>optional bool low_latency_journey_synthesis = 1;</code>
Expand All @@ -512,8 +512,8 @@ public Builder setLowLatencyJourneySynthesis(boolean value) {
*
*
* <pre>
* Only for Journey voices. If false, the synthesis will be context aware
* and have higher latency.
* Only for Journey voices. If false, the synthesis is context aware
* and has a higher latency.
* </pre>
*
* <code>optional bool low_latency_journey_synthesis = 1;</code>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ public interface AdvancedVoiceOptionsOrBuilder
*
*
* <pre>
* Only for Journey voices. If false, the synthesis will be context aware
* and have higher latency.
* Only for Journey voices. If false, the synthesis is context aware
* and has a higher latency.
* </pre>
*
* <code>optional bool low_latency_journey_synthesis = 1;</code>
Expand All @@ -42,8 +42,8 @@ public interface AdvancedVoiceOptionsOrBuilder
*
*
* <pre>
* Only for Journey voices. If false, the synthesis will be context aware
* and have higher latency.
* Only for Journey voices. If false, the synthesis is context aware
* and has a higher latency.
* </pre>
*
* <code>optional bool low_latency_journey_synthesis = 1;</code>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,10 @@ public com.google.cloud.texttospeech.v1beta1.AudioEncoding getAudioEncoding() {
*
*
* <pre>
* Optional. Input only. Speaking rate/speed, in the range [0.25, 4.0]. 1.0 is
* Optional. Input only. Speaking rate/speed, in the range [0.25, 2.0]. 1.0 is
* the normal native speed supported by the specific voice. 2.0 is twice as
* fast, and 0.5 is half as fast. If unset(0.0), defaults to the native 1.0
* speed. Any other values &lt; 0.25 or &gt; 4.0 will return an error.
* speed. Any other values &lt; 0.25 or &gt; 2.0 will return an error.
* </pre>
*
* <code>
Expand Down Expand Up @@ -899,10 +899,10 @@ public Builder clearAudioEncoding() {
*
*
* <pre>
* Optional. Input only. Speaking rate/speed, in the range [0.25, 4.0]. 1.0 is
* Optional. Input only. Speaking rate/speed, in the range [0.25, 2.0]. 1.0 is
* the normal native speed supported by the specific voice. 2.0 is twice as
* fast, and 0.5 is half as fast. If unset(0.0), defaults to the native 1.0
* speed. Any other values &lt; 0.25 or &gt; 4.0 will return an error.
* speed. Any other values &lt; 0.25 or &gt; 2.0 will return an error.
* </pre>
*
* <code>
Expand All @@ -920,10 +920,10 @@ public double getSpeakingRate() {
*
*
* <pre>
* Optional. Input only. Speaking rate/speed, in the range [0.25, 4.0]. 1.0 is
* Optional. Input only. Speaking rate/speed, in the range [0.25, 2.0]. 1.0 is
* the normal native speed supported by the specific voice. 2.0 is twice as
* fast, and 0.5 is half as fast. If unset(0.0), defaults to the native 1.0
* speed. Any other values &lt; 0.25 or &gt; 4.0 will return an error.
* speed. Any other values &lt; 0.25 or &gt; 2.0 will return an error.
* </pre>
*
* <code>
Expand All @@ -945,10 +945,10 @@ public Builder setSpeakingRate(double value) {
*
*
* <pre>
* Optional. Input only. Speaking rate/speed, in the range [0.25, 4.0]. 1.0 is
* Optional. Input only. Speaking rate/speed, in the range [0.25, 2.0]. 1.0 is
* the normal native speed supported by the specific voice. 2.0 is twice as
* fast, and 0.5 is half as fast. If unset(0.0), defaults to the native 1.0
* speed. Any other values &lt; 0.25 or &gt; 4.0 will return an error.
* speed. Any other values &lt; 0.25 or &gt; 2.0 will return an error.
* </pre>
*
* <code>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ public interface AudioConfigOrBuilder
*
*
* <pre>
* Optional. Input only. Speaking rate/speed, in the range [0.25, 4.0]. 1.0 is
* Optional. Input only. Speaking rate/speed, in the range [0.25, 2.0]. 1.0 is
* the normal native speed supported by the specific voice. 2.0 is twice as
* fast, and 0.5 is half as fast. If unset(0.0), defaults to the native 1.0
* speed. Any other values &lt; 0.25 or &gt; 4.0 will return an error.
* speed. Any other values &lt; 0.25 or &gt; 2.0 will return an error.
* </pre>
*
* <code>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ public enum AudioEncoding implements com.google.protobuf.ProtocolMessageEnum {
*
*
* <pre>
* Not specified. Will return result
* Not specified. Only used by GenerateVoiceCloningKey. Otherwise, will return
* result
* [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT].
* </pre>
*
Expand Down Expand Up @@ -76,7 +77,7 @@ public enum AudioEncoding implements com.google.protobuf.ProtocolMessageEnum {
*
*
* <pre>
* Opus encoded audio wrapped in an ogg container. The result will be a
* Opus encoded audio wrapped in an ogg container. The result is a
* file which can be played natively on Android, and in browsers (at least
* Chrome and Firefox). The quality of the encoding is considerably higher
* than MP3 while using approximately the same bitrate.
Expand Down Expand Up @@ -112,21 +113,32 @@ public enum AudioEncoding implements com.google.protobuf.ProtocolMessageEnum {
*
* <pre>
* Uncompressed 16-bit signed little-endian samples (Linear PCM).
* Note that as opposed to LINEAR16, audio will not be wrapped in a WAV (or
* Note that as opposed to LINEAR16, audio won't be wrapped in a WAV (or
* any other) header.
* </pre>
*
* <code>PCM = 7;</code>
*/
PCM(7),
/**
*
*
* <pre>
* M4A audio.
* </pre>
*
* <code>M4A = 8;</code>
*/
M4A(8),
UNRECOGNIZED(-1),
;

/**
*
*
* <pre>
* Not specified. Will return result
* Not specified. Only used by GenerateVoiceCloningKey. Otherwise, will return
* result
* [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT].
* </pre>
*
Expand Down Expand Up @@ -172,7 +184,7 @@ public enum AudioEncoding implements com.google.protobuf.ProtocolMessageEnum {
*
*
* <pre>
* Opus encoded audio wrapped in an ogg container. The result will be a
* Opus encoded audio wrapped in an ogg container. The result is a
* file which can be played natively on Android, and in browsers (at least
* Chrome and Firefox). The quality of the encoding is considerably higher
* than MP3 while using approximately the same bitrate.
Expand Down Expand Up @@ -211,14 +223,25 @@ public enum AudioEncoding implements com.google.protobuf.ProtocolMessageEnum {
*
* <pre>
* Uncompressed 16-bit signed little-endian samples (Linear PCM).
* Note that as opposed to LINEAR16, audio will not be wrapped in a WAV (or
* Note that as opposed to LINEAR16, audio won't be wrapped in a WAV (or
* any other) header.
* </pre>
*
* <code>PCM = 7;</code>
*/
public static final int PCM_VALUE = 7;

/**
*
*
* <pre>
* M4A audio.
* </pre>
*
* <code>M4A = 8;</code>
*/
public static final int M4A_VALUE = 8;

public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
Expand Down Expand Up @@ -259,6 +282,8 @@ public static AudioEncoding forNumber(int value) {
return ALAW;
case 7:
return PCM;
case 8:
return M4A;
default:
return null;
}
Expand Down
Loading
Loading