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

Commit

Permalink
chore(ruby): Re-enable bigquery-storage-v1 generation, which also req…
Browse files Browse the repository at this point in the history
…uired updating protobuf from 3.15.3 to 3.18.1 for codegen (#553)

- [x] Regenerate this pull request now.

PiperOrigin-RevId: 403132955

Source-Link: googleapis/googleapis@d2977af

Source-Link: googleapis/googleapis-gen@99bb13c
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOTliYjEzYzgxM2MwZTljMjY4MmQwM2E4YjNjM2JjYjM4MmE5MDljOSJ9
  • Loading branch information
gcf-owl-bot[bot] committed Oct 19, 2021
1 parent 24dc36e commit ea2adbe
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
Expand Up @@ -366,7 +366,7 @@ public final boolean isInitialized() {

@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (!getTranslationBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(translation_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, translation_);
}
if (isFinal_ != false) {
Expand All @@ -381,7 +381,7 @@ public int getSerializedSize() {
if (size != -1) return size;

size = 0;
if (!getTranslationBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(translation_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, translation_);
}
if (isFinal_ != false) {
Expand Down
Expand Up @@ -418,19 +418,19 @@ public final boolean isInitialized() {

@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (!getAudioEncodingBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(audioEncoding_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, audioEncoding_);
}
if (!getSourceLanguageCodeBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceLanguageCode_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, sourceLanguageCode_);
}
if (!getTargetLanguageCodeBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetLanguageCode_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, targetLanguageCode_);
}
if (sampleRateHertz_ != 0) {
output.writeInt32(4, sampleRateHertz_);
}
if (!getModelBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(model_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, model_);
}
unknownFields.writeTo(output);
Expand All @@ -442,19 +442,19 @@ public int getSerializedSize() {
if (size != -1) return size;

size = 0;
if (!getAudioEncodingBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(audioEncoding_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, audioEncoding_);
}
if (!getSourceLanguageCodeBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceLanguageCode_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, sourceLanguageCode_);
}
if (!getTargetLanguageCodeBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetLanguageCode_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, targetLanguageCode_);
}
if (sampleRateHertz_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, sampleRateHertz_);
}
if (!getModelBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(model_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, model_);
}
size += unknownFields.getSerializedSize();
Expand Down

0 comments on commit ea2adbe

Please sign in to comment.