Skip to content
Permalink
Browse files
docs: update relative URLs and regenerate with updated protoc (#154)
This PR was generated using Autosynth. 🌈

Synth log will be available here:
https://source.cloud.google.com/results/invocations/cee9e42c-941c-49fe-b176-a9e83c067c7c/targets

- [ ] To automatically regenerate this PR, check this box.

PiperOrigin-RevId: 314438331
Source-Link: googleapis/googleapis@55094be
PiperOrigin-RevId: 313460921
Source-Link: googleapis/googleapis@c4e3701
  • Loading branch information
yoshi-automation committed Jun 5, 2020
1 parent 71794e8 commit 3e7b0a51ec4113dc7f70715151af57a425f5b881
Showing with 146 additions and 24 deletions.
  1. +13 −0 proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/AudioConfig.java
  2. +4 −0 proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/AudioEncoding.java
  3. +2 −0 ...oogle-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/ListVoicesRequest.java
  4. +5 −0 ...ogle-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/ListVoicesResponse.java
  5. +4 −0 ...-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/SsmlVoiceGender.java
  6. +11 −7 ...o-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/SynthesisInput.java
  7. +2 −2 ...cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/SynthesisInputOrBuilder.java
  8. +9 −0 ...cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/SynthesizeSpeechRequest.java
  9. +2 −0 ...loud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/SynthesizeSpeechResponse.java
  10. +9 −0 proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/Voice.java
  11. +9 −0 ...le-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/VoiceSelectionParams.java
  12. +1 −1 proto-google-cloud-texttospeech-v1/src/main/proto/google/cloud/texttospeech/v1/cloud_tts.proto
  13. +13 −0 ...e-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/AudioConfig.java
  14. +4 −0 ...cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/AudioEncoding.java
  15. +2 −0 ...d-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/ListVoicesRequest.java
  16. +5 −0 ...-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/ListVoicesResponse.java
  17. +4 −0 ...oud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/SsmlVoiceGender.java
  18. +11 −7 ...loud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/SynthesisInput.java
  19. +2 −2 ...tospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/SynthesisInputOrBuilder.java
  20. +9 −0 ...tospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/SynthesizeSpeechRequest.java
  21. +2 −0 ...ospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/SynthesizeSpeechResponse.java
  22. +9 −0 ...-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/Voice.java
  23. +9 −0 ...exttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/VoiceSelectionParams.java
  24. +1 −1 ...oogle-cloud-texttospeech-v1beta1/src/main/proto/google/cloud/texttospeech/v1beta1/cloud_tts.proto
  25. +4 −4 synth.metadata
@@ -161,6 +161,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The enum numeric value on the wire for audioEncoding.
*/
@java.lang.Override
public int getAudioEncodingValue() {
return audioEncoding_;
}
@@ -177,6 +178,7 @@ public int getAudioEncodingValue() {
*
* @return The audioEncoding.
*/
@java.lang.Override
public com.google.cloud.texttospeech.v1.AudioEncoding getAudioEncoding() {
@SuppressWarnings("deprecation")
com.google.cloud.texttospeech.v1.AudioEncoding result =
@@ -202,6 +204,7 @@ public com.google.cloud.texttospeech.v1.AudioEncoding getAudioEncoding() {
*
* @return The speakingRate.
*/
@java.lang.Override
public double getSpeakingRate() {
return speakingRate_;
}
@@ -223,6 +226,7 @@ public double getSpeakingRate() {
*
* @return The pitch.
*/
@java.lang.Override
public double getPitch() {
return pitch_;
}
@@ -249,6 +253,7 @@ public double getPitch() {
*
* @return The volumeGainDb.
*/
@java.lang.Override
public double getVolumeGainDb() {
return volumeGainDb_;
}
@@ -272,6 +277,7 @@ public double getVolumeGainDb() {
*
* @return The sampleRateHertz.
*/
@java.lang.Override
public int getSampleRateHertz() {
return sampleRateHertz_;
}
@@ -803,6 +809,7 @@ public Builder mergeFrom(
*
* @return The enum numeric value on the wire for audioEncoding.
*/
@java.lang.Override
public int getAudioEncodingValue() {
return audioEncoding_;
}
@@ -821,6 +828,7 @@ public int getAudioEncodingValue() {
* @return This builder for chaining.
*/
public Builder setAudioEncodingValue(int value) {

audioEncoding_ = value;
onChanged();
return this;
@@ -838,6 +846,7 @@ public Builder setAudioEncodingValue(int value) {
*
* @return The audioEncoding.
*/
@java.lang.Override
public com.google.cloud.texttospeech.v1.AudioEncoding getAudioEncoding() {
@SuppressWarnings("deprecation")
com.google.cloud.texttospeech.v1.AudioEncoding result =
@@ -904,6 +913,7 @@ public Builder clearAudioEncoding() {
*
* @return The speakingRate.
*/
@java.lang.Override
public double getSpeakingRate() {
return speakingRate_;
}
@@ -969,6 +979,7 @@ public Builder clearSpeakingRate() {
*
* @return The pitch.
*/
@java.lang.Override
public double getPitch() {
return pitch_;
}
@@ -1037,6 +1048,7 @@ public Builder clearPitch() {
*
* @return The volumeGainDb.
*/
@java.lang.Override
public double getVolumeGainDb() {
return volumeGainDb_;
}
@@ -1112,6 +1124,7 @@ public Builder clearVolumeGainDb() {
*
* @return The sampleRateHertz.
*/
@java.lang.Override
public int getSampleRateHertz() {
return sampleRateHertz_;
}
@@ -170,6 +170,10 @@ public AudioEncoding findValueByNumber(int number) {
};

public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}

@@ -131,6 +131,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The languageCode.
*/
@java.lang.Override
public java.lang.String getLanguageCode() {
java.lang.Object ref = languageCode_;
if (ref instanceof java.lang.String) {
@@ -160,6 +161,7 @@ public java.lang.String getLanguageCode() {
*
* @return The bytes for languageCode.
*/
@java.lang.Override
public com.google.protobuf.ByteString getLanguageCodeBytes() {
java.lang.Object ref = languageCode_;
if (ref instanceof java.lang.String) {
@@ -130,6 +130,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* <code>repeated .google.cloud.texttospeech.v1.Voice voices = 1;</code>
*/
@java.lang.Override
public java.util.List<com.google.cloud.texttospeech.v1.Voice> getVoicesList() {
return voices_;
}
@@ -142,6 +143,7 @@ public java.util.List<com.google.cloud.texttospeech.v1.Voice> getVoicesList() {
*
* <code>repeated .google.cloud.texttospeech.v1.Voice voices = 1;</code>
*/
@java.lang.Override
public java.util.List<? extends com.google.cloud.texttospeech.v1.VoiceOrBuilder>
getVoicesOrBuilderList() {
return voices_;
@@ -155,6 +157,7 @@ public java.util.List<com.google.cloud.texttospeech.v1.Voice> getVoicesList() {
*
* <code>repeated .google.cloud.texttospeech.v1.Voice voices = 1;</code>
*/
@java.lang.Override
public int getVoicesCount() {
return voices_.size();
}
@@ -167,6 +170,7 @@ public int getVoicesCount() {
*
* <code>repeated .google.cloud.texttospeech.v1.Voice voices = 1;</code>
*/
@java.lang.Override
public com.google.cloud.texttospeech.v1.Voice getVoices(int index) {
return voices_.get(index);
}
@@ -179,6 +183,7 @@ public com.google.cloud.texttospeech.v1.Voice getVoices(int index) {
*
* <code>repeated .google.cloud.texttospeech.v1.Voice voices = 1;</code>
*/
@java.lang.Override
public com.google.cloud.texttospeech.v1.VoiceOrBuilder getVoicesOrBuilder(int index) {
return voices_.get(index);
}
@@ -170,6 +170,10 @@ public SsmlVoiceGender findValueByNumber(int number) {
};

public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}

@@ -230,7 +230,7 @@ public com.google.protobuf.ByteString getTextBytes() {
* The SSML document to be synthesized. The SSML document must be valid
* and well-formed. Otherwise the RPC will fail and return
* [google.rpc.Code.INVALID_ARGUMENT][]. For more information, see
* [SSML](/speech/text-to-speech/docs/ssml).
* [SSML](https://cloud.google.com/text-to-speech/docs/ssml).
* </pre>
*
* <code>string ssml = 2;</code>
@@ -260,7 +260,7 @@ public java.lang.String getSsml() {
* The SSML document to be synthesized. The SSML document must be valid
* and well-formed. Otherwise the RPC will fail and return
* [google.rpc.Code.INVALID_ARGUMENT][]. For more information, see
* [SSML](/speech/text-to-speech/docs/ssml).
* [SSML](https://cloud.google.com/text-to-speech/docs/ssml).
* </pre>
*
* <code>string ssml = 2;</code>
@@ -677,6 +677,7 @@ public Builder clearInputSource() {
*
* @return The text.
*/
@java.lang.Override
public java.lang.String getText() {
java.lang.Object ref = "";
if (inputSourceCase_ == 1) {
@@ -704,6 +705,7 @@ public java.lang.String getText() {
*
* @return The bytes for text.
*/
@java.lang.Override
public com.google.protobuf.ByteString getTextBytes() {
java.lang.Object ref = "";
if (inputSourceCase_ == 1) {
@@ -790,13 +792,14 @@ public Builder setTextBytes(com.google.protobuf.ByteString value) {
* The SSML document to be synthesized. The SSML document must be valid
* and well-formed. Otherwise the RPC will fail and return
* [google.rpc.Code.INVALID_ARGUMENT][]. For more information, see
* [SSML](/speech/text-to-speech/docs/ssml).
* [SSML](https://cloud.google.com/text-to-speech/docs/ssml).
* </pre>
*
* <code>string ssml = 2;</code>
*
* @return The ssml.
*/
@java.lang.Override
public java.lang.String getSsml() {
java.lang.Object ref = "";
if (inputSourceCase_ == 2) {
@@ -820,13 +823,14 @@ public java.lang.String getSsml() {
* The SSML document to be synthesized. The SSML document must be valid
* and well-formed. Otherwise the RPC will fail and return
* [google.rpc.Code.INVALID_ARGUMENT][]. For more information, see
* [SSML](/speech/text-to-speech/docs/ssml).
* [SSML](https://cloud.google.com/text-to-speech/docs/ssml).
* </pre>
*
* <code>string ssml = 2;</code>
*
* @return The bytes for ssml.
*/
@java.lang.Override
public com.google.protobuf.ByteString getSsmlBytes() {
java.lang.Object ref = "";
if (inputSourceCase_ == 2) {
@@ -850,7 +854,7 @@ public com.google.protobuf.ByteString getSsmlBytes() {
* The SSML document to be synthesized. The SSML document must be valid
* and well-formed. Otherwise the RPC will fail and return
* [google.rpc.Code.INVALID_ARGUMENT][]. For more information, see
* [SSML](/speech/text-to-speech/docs/ssml).
* [SSML](https://cloud.google.com/text-to-speech/docs/ssml).
* </pre>
*
* <code>string ssml = 2;</code>
@@ -874,7 +878,7 @@ public Builder setSsml(java.lang.String value) {
* The SSML document to be synthesized. The SSML document must be valid
* and well-formed. Otherwise the RPC will fail and return
* [google.rpc.Code.INVALID_ARGUMENT][]. For more information, see
* [SSML](/speech/text-to-speech/docs/ssml).
* [SSML](https://cloud.google.com/text-to-speech/docs/ssml).
* </pre>
*
* <code>string ssml = 2;</code>
@@ -896,7 +900,7 @@ public Builder clearSsml() {
* The SSML document to be synthesized. The SSML document must be valid
* and well-formed. Otherwise the RPC will fail and return
* [google.rpc.Code.INVALID_ARGUMENT][]. For more information, see
* [SSML](/speech/text-to-speech/docs/ssml).
* [SSML](https://cloud.google.com/text-to-speech/docs/ssml).
* </pre>
*
* <code>string ssml = 2;</code>
@@ -55,7 +55,7 @@
* The SSML document to be synthesized. The SSML document must be valid
* and well-formed. Otherwise the RPC will fail and return
* [google.rpc.Code.INVALID_ARGUMENT][]. For more information, see
* [SSML](/speech/text-to-speech/docs/ssml).
* [SSML](https://cloud.google.com/text-to-speech/docs/ssml).
* </pre>
*
* <code>string ssml = 2;</code>
@@ -70,7 +70,7 @@
* The SSML document to be synthesized. The SSML document must be valid
* and well-formed. Otherwise the RPC will fail and return
* [google.rpc.Code.INVALID_ARGUMENT][]. For more information, see
* [SSML](/speech/text-to-speech/docs/ssml).
* [SSML](https://cloud.google.com/text-to-speech/docs/ssml).
* </pre>
*
* <code>string ssml = 2;</code>
@@ -166,6 +166,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return Whether the input field is set.
*/
@java.lang.Override
public boolean hasInput() {
return input_ != null;
}
@@ -182,6 +183,7 @@ public boolean hasInput() {
*
* @return The input.
*/
@java.lang.Override
public com.google.cloud.texttospeech.v1.SynthesisInput getInput() {
return input_ == null
? com.google.cloud.texttospeech.v1.SynthesisInput.getDefaultInstance()
@@ -198,6 +200,7 @@ public com.google.cloud.texttospeech.v1.SynthesisInput getInput() {
* .google.cloud.texttospeech.v1.SynthesisInput input = 1 [(.google.api.field_behavior) = REQUIRED];
* </code>
*/
@java.lang.Override
public com.google.cloud.texttospeech.v1.SynthesisInputOrBuilder getInputOrBuilder() {
return getInput();
}
@@ -217,6 +220,7 @@ public com.google.cloud.texttospeech.v1.SynthesisInputOrBuilder getInputOrBuilde
*
* @return Whether the voice field is set.
*/
@java.lang.Override
public boolean hasVoice() {
return voice_ != null;
}
@@ -233,6 +237,7 @@ public boolean hasVoice() {
*
* @return The voice.
*/
@java.lang.Override
public com.google.cloud.texttospeech.v1.VoiceSelectionParams getVoice() {
return voice_ == null
? com.google.cloud.texttospeech.v1.VoiceSelectionParams.getDefaultInstance()
@@ -249,6 +254,7 @@ public com.google.cloud.texttospeech.v1.VoiceSelectionParams getVoice() {
* .google.cloud.texttospeech.v1.VoiceSelectionParams voice = 2 [(.google.api.field_behavior) = REQUIRED];
* </code>
*/
@java.lang.Override
public com.google.cloud.texttospeech.v1.VoiceSelectionParamsOrBuilder getVoiceOrBuilder() {
return getVoice();
}
@@ -268,6 +274,7 @@ public com.google.cloud.texttospeech.v1.VoiceSelectionParamsOrBuilder getVoiceOr
*
* @return Whether the audioConfig field is set.
*/
@java.lang.Override
public boolean hasAudioConfig() {
return audioConfig_ != null;
}
@@ -284,6 +291,7 @@ public boolean hasAudioConfig() {
*
* @return The audioConfig.
*/
@java.lang.Override
public com.google.cloud.texttospeech.v1.AudioConfig getAudioConfig() {
return audioConfig_ == null
? com.google.cloud.texttospeech.v1.AudioConfig.getDefaultInstance()
@@ -300,6 +308,7 @@ public com.google.cloud.texttospeech.v1.AudioConfig getAudioConfig() {
* .google.cloud.texttospeech.v1.AudioConfig audio_config = 3 [(.google.api.field_behavior) = REQUIRED];
* </code>
*/
@java.lang.Override
public com.google.cloud.texttospeech.v1.AudioConfigOrBuilder getAudioConfigOrBuilder() {
return getAudioConfig();
}
@@ -126,6 +126,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The audioContent.
*/
@java.lang.Override
public com.google.protobuf.ByteString getAudioContent() {
return audioContent_;
}
@@ -464,6 +465,7 @@ public Builder mergeFrom(
*
* @return The audioContent.
*/
@java.lang.Override
public com.google.protobuf.ByteString getAudioContent() {
return audioContent_;
}

0 comments on commit 3e7b0a5

Please sign in to comment.