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

Commit e67e0f8

Browse files
feat(generator): update protoc to v3.15.3 (#235)
This PR was generated using Autosynth. 🌈 Synth log will be available here: https://source.cloud.google.com/results/invocations/03645e34-b7a2-470a-9ea5-23f9d034150c/targets - [ ] To automatically regenerate this PR, check this box. PiperOrigin-RevId: 359781040 Source-Link: googleapis/googleapis@f6dd7e4
1 parent 209abeb commit e67e0f8

File tree

4 files changed

+74
-3
lines changed

4 files changed

+74
-3
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!-- see http://www.mojohaus.org/clirr-maven-plugin/examples/ignored-differences.html -->
3+
<differences>
4+
<difference>
5+
<differenceType>7012</differenceType>
6+
<className>com/google/cloud/mediatranslation/v1beta1/*OrBuilder</className>
7+
<method>* has*(*)</method>
8+
</difference>
9+
</differences>

proto-google-cloud-mediatranslation-v1beta1/src/main/java/com/google/cloud/mediatranslation/v1beta1/StreamingTranslateSpeechRequest.java

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,28 @@ public boolean hasStreamingConfig() {
255255
}
256256

257257
public static final int AUDIO_CONTENT_FIELD_NUMBER = 2;
258+
/**
259+
*
260+
*
261+
* <pre>
262+
* The audio data to be translated. Sequential chunks of audio data are sent
263+
* in sequential `StreamingTranslateSpeechRequest` messages. The first
264+
* `StreamingTranslateSpeechRequest` message must not contain
265+
* `audio_content` data and all subsequent `StreamingTranslateSpeechRequest`
266+
* messages must contain `audio_content` data. The audio bytes must be
267+
* encoded as specified in `StreamingTranslateSpeechConfig`. Note: as with
268+
* all bytes fields, protobuffers use a pure binary representation (not
269+
* base64).
270+
* </pre>
271+
*
272+
* <code>bytes audio_content = 2;</code>
273+
*
274+
* @return Whether the audioContent field is set.
275+
*/
276+
@java.lang.Override
277+
public boolean hasAudioContent() {
278+
return streamingRequestCase_ == 2;
279+
}
258280
/**
259281
*
260282
*
@@ -951,6 +973,27 @@ public Builder clearStreamingConfig() {
951973
return streamingConfigBuilder_;
952974
}
953975

976+
/**
977+
*
978+
*
979+
* <pre>
980+
* The audio data to be translated. Sequential chunks of audio data are sent
981+
* in sequential `StreamingTranslateSpeechRequest` messages. The first
982+
* `StreamingTranslateSpeechRequest` message must not contain
983+
* `audio_content` data and all subsequent `StreamingTranslateSpeechRequest`
984+
* messages must contain `audio_content` data. The audio bytes must be
985+
* encoded as specified in `StreamingTranslateSpeechConfig`. Note: as with
986+
* all bytes fields, protobuffers use a pure binary representation (not
987+
* base64).
988+
* </pre>
989+
*
990+
* <code>bytes audio_content = 2;</code>
991+
*
992+
* @return Whether the audioContent field is set.
993+
*/
994+
public boolean hasAudioContent() {
995+
return streamingRequestCase_ == 2;
996+
}
954997
/**
955998
*
956999
*

proto-google-cloud-mediatranslation-v1beta1/src/main/java/com/google/cloud/mediatranslation/v1beta1/StreamingTranslateSpeechRequestOrBuilder.java

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,25 @@ public interface StreamingTranslateSpeechRequestOrBuilder
7171
com.google.cloud.mediatranslation.v1beta1.StreamingTranslateSpeechConfigOrBuilder
7272
getStreamingConfigOrBuilder();
7373

74+
/**
75+
*
76+
*
77+
* <pre>
78+
* The audio data to be translated. Sequential chunks of audio data are sent
79+
* in sequential `StreamingTranslateSpeechRequest` messages. The first
80+
* `StreamingTranslateSpeechRequest` message must not contain
81+
* `audio_content` data and all subsequent `StreamingTranslateSpeechRequest`
82+
* messages must contain `audio_content` data. The audio bytes must be
83+
* encoded as specified in `StreamingTranslateSpeechConfig`. Note: as with
84+
* all bytes fields, protobuffers use a pure binary representation (not
85+
* base64).
86+
* </pre>
87+
*
88+
* <code>bytes audio_content = 2;</code>
89+
*
90+
* @return Whether the audioContent field is set.
91+
*/
92+
boolean hasAudioContent();
7493
/**
7594
*
7695
*

synth.metadata

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/java-mediatranslation.git",
7-
"sha": "d006dd255388bd945e5be3b8ba7f3f1c6f977213"
7+
"sha": "209abebf925e0bf803a5b10a7cb35a07c8ecef12"
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
{

0 commit comments

Comments
 (0)