From 8187b8dee7a643ee7eb884f4562acbf541a51bc4 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 1 Mar 2021 09:30:41 -0800 Subject: [PATCH] feat(generator): update protoc to v3.15.3 (#387) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/4650efcc-2b5e-4632-92f4-e28824d4f0b4/targets - [ ] To automatically regenerate this PR, check this box. PiperOrigin-RevId: 359781040 Source-Link: https://github.com/googleapis/googleapis/commit/f6dd7e47620566925a4b3f1ce029e74e1b2f2516 --- .../cloud/texttospeech/v1/SynthesisInput.java | 64 +++++++++++++++++++ .../v1/SynthesisInputOrBuilder.java | 27 ++++++++ .../texttospeech/v1beta1/SynthesisInput.java | 64 +++++++++++++++++++ .../v1beta1/SynthesisInputOrBuilder.java | 27 ++++++++ synth.metadata | 10 +-- 5 files changed, 187 insertions(+), 5 deletions(-) diff --git a/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/SynthesisInput.java b/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/SynthesisInput.java index 327249f7..8cfc897d 100644 --- a/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/SynthesisInput.java +++ b/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/SynthesisInput.java @@ -167,6 +167,20 @@ public InputSourceCase getInputSourceCase() { } public static final int TEXT_FIELD_NUMBER = 1; + /** + * + * + *
+   * The raw text to be synthesized.
+   * 
+ * + * string text = 1; + * + * @return Whether the text field is set. + */ + public boolean hasText() { + return inputSourceCase_ == 1; + } /** * * @@ -223,6 +237,23 @@ public com.google.protobuf.ByteString getTextBytes() { } public static final int SSML_FIELD_NUMBER = 2; + /** + * + * + *
+   * 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](https://cloud.google.com/text-to-speech/docs/ssml).
+   * 
+ * + * string ssml = 2; + * + * @return Whether the ssml field is set. + */ + public boolean hasSsml() { + return inputSourceCase_ == 2; + } /** * * @@ -666,6 +697,21 @@ public Builder clearInputSource() { return this; } + /** + * + * + *
+     * The raw text to be synthesized.
+     * 
+ * + * string text = 1; + * + * @return Whether the text field is set. + */ + @java.lang.Override + public boolean hasText() { + return inputSourceCase_ == 1; + } /** * * @@ -785,6 +831,24 @@ public Builder setTextBytes(com.google.protobuf.ByteString value) { return this; } + /** + * + * + *
+     * 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](https://cloud.google.com/text-to-speech/docs/ssml).
+     * 
+ * + * string ssml = 2; + * + * @return Whether the ssml field is set. + */ + @java.lang.Override + public boolean hasSsml() { + return inputSourceCase_ == 2; + } /** * * diff --git a/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/SynthesisInputOrBuilder.java b/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/SynthesisInputOrBuilder.java index 169d1cb5..412be426 100644 --- a/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/SynthesisInputOrBuilder.java +++ b/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/SynthesisInputOrBuilder.java @@ -23,6 +23,18 @@ public interface SynthesisInputOrBuilder // @@protoc_insertion_point(interface_extends:google.cloud.texttospeech.v1.SynthesisInput) com.google.protobuf.MessageOrBuilder { + /** + * + * + *
+   * The raw text to be synthesized.
+   * 
+ * + * string text = 1; + * + * @return Whether the text field is set. + */ + boolean hasText(); /** * * @@ -48,6 +60,21 @@ public interface SynthesisInputOrBuilder */ 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](https://cloud.google.com/text-to-speech/docs/ssml).
+   * 
+ * + * string ssml = 2; + * + * @return Whether the ssml field is set. + */ + boolean hasSsml(); /** * * diff --git a/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/SynthesisInput.java b/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/SynthesisInput.java index 3ab25a4a..2af78ba5 100644 --- a/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/SynthesisInput.java +++ b/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/SynthesisInput.java @@ -167,6 +167,20 @@ public InputSourceCase getInputSourceCase() { } public static final int TEXT_FIELD_NUMBER = 1; + /** + * + * + *
+   * The raw text to be synthesized.
+   * 
+ * + * string text = 1; + * + * @return Whether the text field is set. + */ + public boolean hasText() { + return inputSourceCase_ == 1; + } /** * * @@ -223,6 +237,23 @@ public com.google.protobuf.ByteString getTextBytes() { } public static final int SSML_FIELD_NUMBER = 2; + /** + * + * + *
+   * 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](https://cloud.google.com/text-to-speech/docs/ssml).
+   * 
+ * + * string ssml = 2; + * + * @return Whether the ssml field is set. + */ + public boolean hasSsml() { + return inputSourceCase_ == 2; + } /** * * @@ -667,6 +698,21 @@ public Builder clearInputSource() { return this; } + /** + * + * + *
+     * The raw text to be synthesized.
+     * 
+ * + * string text = 1; + * + * @return Whether the text field is set. + */ + @java.lang.Override + public boolean hasText() { + return inputSourceCase_ == 1; + } /** * * @@ -786,6 +832,24 @@ public Builder setTextBytes(com.google.protobuf.ByteString value) { return this; } + /** + * + * + *
+     * 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](https://cloud.google.com/text-to-speech/docs/ssml).
+     * 
+ * + * string ssml = 2; + * + * @return Whether the ssml field is set. + */ + @java.lang.Override + public boolean hasSsml() { + return inputSourceCase_ == 2; + } /** * * diff --git a/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/SynthesisInputOrBuilder.java b/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/SynthesisInputOrBuilder.java index 9ed99112..b8c202e5 100644 --- a/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/SynthesisInputOrBuilder.java +++ b/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/SynthesisInputOrBuilder.java @@ -23,6 +23,18 @@ public interface SynthesisInputOrBuilder // @@protoc_insertion_point(interface_extends:google.cloud.texttospeech.v1beta1.SynthesisInput) com.google.protobuf.MessageOrBuilder { + /** + * + * + *
+   * The raw text to be synthesized.
+   * 
+ * + * string text = 1; + * + * @return Whether the text field is set. + */ + boolean hasText(); /** * * @@ -48,6 +60,21 @@ public interface SynthesisInputOrBuilder */ 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](https://cloud.google.com/text-to-speech/docs/ssml).
+   * 
+ * + * string ssml = 2; + * + * @return Whether the ssml field is set. + */ + boolean hasSsml(); /** * * diff --git a/synth.metadata b/synth.metadata index fa117515..326cc21d 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,23 +4,23 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-texttospeech.git", - "sha": "e7c32cb1fbef3d0a5f736d9d6696ad48fbfa0872" + "sha": "5278a0bc7ae654596165024e771a0cfa213b3ee7" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "af8f71dae961ee036a0ac52a1965270149a6b2c9", - "internalRef": "358516065" + "sha": "f6dd7e47620566925a4b3f1ce029e74e1b2f2516", + "internalRef": "359781040" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "af8f71dae961ee036a0ac52a1965270149a6b2c9", - "internalRef": "358516065" + "sha": "f6dd7e47620566925a4b3f1ce029e74e1b2f2516", + "internalRef": "359781040" } }, {