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

feat(generator): update protoc to v3.15.3 #235

Merged
merged 2 commits into from Mar 2, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
@@ -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