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

Commit

Permalink
feat(generator): update protoc to v3.15.3 (#235)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
yoshi-automation committed Mar 2, 2021
1 parent 209abeb commit e67e0f8
Show file tree
Hide file tree
Showing 4 changed files with 74 additions and 3 deletions.
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- see http://www.mojohaus.org/clirr-maven-plugin/examples/ignored-differences.html -->
<differences>
<difference>
<differenceType>7012</differenceType>
<className>com/google/cloud/mediatranslation/v1beta1/*OrBuilder</className>
<method>* has*(*)</method>
</difference>
</differences>
Expand Up @@ -255,6 +255,28 @@ public boolean hasStreamingConfig() {
}

public static final int AUDIO_CONTENT_FIELD_NUMBER = 2;
/**
*
*
* <pre>
* The audio data to be translated. Sequential chunks of audio data are sent
* in sequential `StreamingTranslateSpeechRequest` messages. The first
* `StreamingTranslateSpeechRequest` message must not contain
* `audio_content` data and all subsequent `StreamingTranslateSpeechRequest`
* messages must contain `audio_content` data. The audio bytes must be
* encoded as specified in `StreamingTranslateSpeechConfig`. Note: as with
* all bytes fields, protobuffers use a pure binary representation (not
* base64).
* </pre>
*
* <code>bytes audio_content = 2;</code>
*
* @return Whether the audioContent field is set.
*/
@java.lang.Override
public boolean hasAudioContent() {
return streamingRequestCase_ == 2;
}
/**
*
*
Expand Down Expand Up @@ -951,6 +973,27 @@ public Builder clearStreamingConfig() {
return streamingConfigBuilder_;
}

/**
*
*
* <pre>
* The audio data to be translated. Sequential chunks of audio data are sent
* in sequential `StreamingTranslateSpeechRequest` messages. The first
* `StreamingTranslateSpeechRequest` message must not contain
* `audio_content` data and all subsequent `StreamingTranslateSpeechRequest`
* messages must contain `audio_content` data. The audio bytes must be
* encoded as specified in `StreamingTranslateSpeechConfig`. Note: as with
* all bytes fields, protobuffers use a pure binary representation (not
* base64).
* </pre>
*
* <code>bytes audio_content = 2;</code>
*
* @return Whether the audioContent field is set.
*/
public boolean hasAudioContent() {
return streamingRequestCase_ == 2;
}
/**
*
*
Expand Down
Expand Up @@ -71,6 +71,25 @@ public interface StreamingTranslateSpeechRequestOrBuilder
com.google.cloud.mediatranslation.v1beta1.StreamingTranslateSpeechConfigOrBuilder
getStreamingConfigOrBuilder();

/**
*
*
* <pre>
* The audio data to be translated. Sequential chunks of audio data are sent
* in sequential `StreamingTranslateSpeechRequest` messages. The first
* `StreamingTranslateSpeechRequest` message must not contain
* `audio_content` data and all subsequent `StreamingTranslateSpeechRequest`
* messages must contain `audio_content` data. The audio bytes must be
* encoded as specified in `StreamingTranslateSpeechConfig`. Note: as with
* all bytes fields, protobuffers use a pure binary representation (not
* base64).
* </pre>
*
* <code>bytes audio_content = 2;</code>
*
* @return Whether the audioContent field is set.
*/
boolean hasAudioContent();
/**
*
*
Expand Down
6 changes: 3 additions & 3 deletions synth.metadata
Expand Up @@ -4,15 +4,15 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-mediatranslation.git",
"sha": "d006dd255388bd945e5be3b8ba7f3f1c6f977213"
"sha": "209abebf925e0bf803a5b10a7cb35a07c8ecef12"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "af8f71dae961ee036a0ac52a1965270149a6b2c9",
"internalRef": "358516065"
"sha": "f6dd7e47620566925a4b3f1ce029e74e1b2f2516",
"internalRef": "359781040"
}
},
{
Expand Down

0 comments on commit e67e0f8

Please sign in to comment.