Skip to content
This repository was archived by the owner on Sep 16, 2023. It is now read-only.

Commit 8187b8d

Browse files
feat(generator): update protoc to v3.15.3 (#387)
This PR was generated using Autosynth. 🌈 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: googleapis/googleapis@f6dd7e4
1 parent 5278a0b commit 8187b8d

File tree

5 files changed

+187
-5
lines changed

5 files changed

+187
-5
lines changed

Diff for: proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/SynthesisInput.java

+64
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,20 @@ public InputSourceCase getInputSourceCase() {
167167
}
168168

169169
public static final int TEXT_FIELD_NUMBER = 1;
170+
/**
171+
*
172+
*
173+
* <pre>
174+
* The raw text to be synthesized.
175+
* </pre>
176+
*
177+
* <code>string text = 1;</code>
178+
*
179+
* @return Whether the text field is set.
180+
*/
181+
public boolean hasText() {
182+
return inputSourceCase_ == 1;
183+
}
170184
/**
171185
*
172186
*
@@ -223,6 +237,23 @@ public com.google.protobuf.ByteString getTextBytes() {
223237
}
224238

225239
public static final int SSML_FIELD_NUMBER = 2;
240+
/**
241+
*
242+
*
243+
* <pre>
244+
* The SSML document to be synthesized. The SSML document must be valid
245+
* and well-formed. Otherwise the RPC will fail and return
246+
* [google.rpc.Code.INVALID_ARGUMENT][]. For more information, see
247+
* [SSML](https://cloud.google.com/text-to-speech/docs/ssml).
248+
* </pre>
249+
*
250+
* <code>string ssml = 2;</code>
251+
*
252+
* @return Whether the ssml field is set.
253+
*/
254+
public boolean hasSsml() {
255+
return inputSourceCase_ == 2;
256+
}
226257
/**
227258
*
228259
*
@@ -666,6 +697,21 @@ public Builder clearInputSource() {
666697
return this;
667698
}
668699

700+
/**
701+
*
702+
*
703+
* <pre>
704+
* The raw text to be synthesized.
705+
* </pre>
706+
*
707+
* <code>string text = 1;</code>
708+
*
709+
* @return Whether the text field is set.
710+
*/
711+
@java.lang.Override
712+
public boolean hasText() {
713+
return inputSourceCase_ == 1;
714+
}
669715
/**
670716
*
671717
*
@@ -785,6 +831,24 @@ public Builder setTextBytes(com.google.protobuf.ByteString value) {
785831
return this;
786832
}
787833

834+
/**
835+
*
836+
*
837+
* <pre>
838+
* The SSML document to be synthesized. The SSML document must be valid
839+
* and well-formed. Otherwise the RPC will fail and return
840+
* [google.rpc.Code.INVALID_ARGUMENT][]. For more information, see
841+
* [SSML](https://cloud.google.com/text-to-speech/docs/ssml).
842+
* </pre>
843+
*
844+
* <code>string ssml = 2;</code>
845+
*
846+
* @return Whether the ssml field is set.
847+
*/
848+
@java.lang.Override
849+
public boolean hasSsml() {
850+
return inputSourceCase_ == 2;
851+
}
788852
/**
789853
*
790854
*

Diff for: proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/SynthesisInputOrBuilder.java

+27
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,18 @@ public interface SynthesisInputOrBuilder
2323
// @@protoc_insertion_point(interface_extends:google.cloud.texttospeech.v1.SynthesisInput)
2424
com.google.protobuf.MessageOrBuilder {
2525

26+
/**
27+
*
28+
*
29+
* <pre>
30+
* The raw text to be synthesized.
31+
* </pre>
32+
*
33+
* <code>string text = 1;</code>
34+
*
35+
* @return Whether the text field is set.
36+
*/
37+
boolean hasText();
2638
/**
2739
*
2840
*
@@ -48,6 +60,21 @@ public interface SynthesisInputOrBuilder
4860
*/
4961
com.google.protobuf.ByteString getTextBytes();
5062

63+
/**
64+
*
65+
*
66+
* <pre>
67+
* The SSML document to be synthesized. The SSML document must be valid
68+
* and well-formed. Otherwise the RPC will fail and return
69+
* [google.rpc.Code.INVALID_ARGUMENT][]. For more information, see
70+
* [SSML](https://cloud.google.com/text-to-speech/docs/ssml).
71+
* </pre>
72+
*
73+
* <code>string ssml = 2;</code>
74+
*
75+
* @return Whether the ssml field is set.
76+
*/
77+
boolean hasSsml();
5178
/**
5279
*
5380
*

Diff for: proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/SynthesisInput.java

+64
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,20 @@ public InputSourceCase getInputSourceCase() {
167167
}
168168

169169
public static final int TEXT_FIELD_NUMBER = 1;
170+
/**
171+
*
172+
*
173+
* <pre>
174+
* The raw text to be synthesized.
175+
* </pre>
176+
*
177+
* <code>string text = 1;</code>
178+
*
179+
* @return Whether the text field is set.
180+
*/
181+
public boolean hasText() {
182+
return inputSourceCase_ == 1;
183+
}
170184
/**
171185
*
172186
*
@@ -223,6 +237,23 @@ public com.google.protobuf.ByteString getTextBytes() {
223237
}
224238

225239
public static final int SSML_FIELD_NUMBER = 2;
240+
/**
241+
*
242+
*
243+
* <pre>
244+
* The SSML document to be synthesized. The SSML document must be valid
245+
* and well-formed. Otherwise the RPC will fail and return
246+
* [google.rpc.Code.INVALID_ARGUMENT][]. For more information, see
247+
* [SSML](https://cloud.google.com/text-to-speech/docs/ssml).
248+
* </pre>
249+
*
250+
* <code>string ssml = 2;</code>
251+
*
252+
* @return Whether the ssml field is set.
253+
*/
254+
public boolean hasSsml() {
255+
return inputSourceCase_ == 2;
256+
}
226257
/**
227258
*
228259
*
@@ -667,6 +698,21 @@ public Builder clearInputSource() {
667698
return this;
668699
}
669700

701+
/**
702+
*
703+
*
704+
* <pre>
705+
* The raw text to be synthesized.
706+
* </pre>
707+
*
708+
* <code>string text = 1;</code>
709+
*
710+
* @return Whether the text field is set.
711+
*/
712+
@java.lang.Override
713+
public boolean hasText() {
714+
return inputSourceCase_ == 1;
715+
}
670716
/**
671717
*
672718
*
@@ -786,6 +832,24 @@ public Builder setTextBytes(com.google.protobuf.ByteString value) {
786832
return this;
787833
}
788834

835+
/**
836+
*
837+
*
838+
* <pre>
839+
* The SSML document to be synthesized. The SSML document must be valid
840+
* and well-formed. Otherwise the RPC will fail and return
841+
* [google.rpc.Code.INVALID_ARGUMENT][]. For more information, see
842+
* [SSML](https://cloud.google.com/text-to-speech/docs/ssml).
843+
* </pre>
844+
*
845+
* <code>string ssml = 2;</code>
846+
*
847+
* @return Whether the ssml field is set.
848+
*/
849+
@java.lang.Override
850+
public boolean hasSsml() {
851+
return inputSourceCase_ == 2;
852+
}
789853
/**
790854
*
791855
*

Diff for: proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/SynthesisInputOrBuilder.java

+27
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,18 @@ public interface SynthesisInputOrBuilder
2323
// @@protoc_insertion_point(interface_extends:google.cloud.texttospeech.v1beta1.SynthesisInput)
2424
com.google.protobuf.MessageOrBuilder {
2525

26+
/**
27+
*
28+
*
29+
* <pre>
30+
* The raw text to be synthesized.
31+
* </pre>
32+
*
33+
* <code>string text = 1;</code>
34+
*
35+
* @return Whether the text field is set.
36+
*/
37+
boolean hasText();
2638
/**
2739
*
2840
*
@@ -48,6 +60,21 @@ public interface SynthesisInputOrBuilder
4860
*/
4961
com.google.protobuf.ByteString getTextBytes();
5062

63+
/**
64+
*
65+
*
66+
* <pre>
67+
* The SSML document to be synthesized. The SSML document must be valid
68+
* and well-formed. Otherwise the RPC will fail and return
69+
* [google.rpc.Code.INVALID_ARGUMENT][]. For more information, see
70+
* [SSML](https://cloud.google.com/text-to-speech/docs/ssml).
71+
* </pre>
72+
*
73+
* <code>string ssml = 2;</code>
74+
*
75+
* @return Whether the ssml field is set.
76+
*/
77+
boolean hasSsml();
5178
/**
5279
*
5380
*

Diff for: synth.metadata

+5-5
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,23 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/java-texttospeech.git",
7-
"sha": "e7c32cb1fbef3d0a5f736d9d6696ad48fbfa0872"
7+
"sha": "5278a0bc7ae654596165024e771a0cfa213b3ee7"
88
}
99
},
1010
{
1111
"git": {
1212
"name": "googleapis",
1313
"remote": "https://github.com/googleapis/googleapis.git",
14-
"sha": "af8f71dae961ee036a0ac52a1965270149a6b2c9",
15-
"internalRef": "358516065"
14+
"sha": "f6dd7e47620566925a4b3f1ce029e74e1b2f2516",
15+
"internalRef": "359781040"
1616
}
1717
},
1818
{
1919
"git": {
2020
"name": "googleapis",
2121
"remote": "https://github.com/googleapis/googleapis.git",
22-
"sha": "af8f71dae961ee036a0ac52a1965270149a6b2c9",
23-
"internalRef": "358516065"
22+
"sha": "f6dd7e47620566925a4b3f1ce029e74e1b2f2516",
23+
"internalRef": "359781040"
2424
}
2525
},
2626
{

0 commit comments

Comments
 (0)