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 (#716)

- [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 c45eeed commit 7edf4d3
Show file tree
Hide file tree
Showing 71 changed files with 192 additions and 192 deletions.
Expand Up @@ -556,7 +556,7 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
getSerializedSize();
if (!getInputUriBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inputUri_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, inputUri_);
}
if (getFeaturesList().size() > 0) {
Expand All @@ -569,10 +569,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (videoContext_ != null) {
output.writeMessage(3, getVideoContext());
}
if (!getOutputUriBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(outputUri_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, outputUri_);
}
if (!getLocationIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(locationId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, locationId_);
}
if (!inputContent_.isEmpty()) {
Expand All @@ -587,7 +587,7 @@ public int getSerializedSize() {
if (size != -1) return size;

size = 0;
if (!getInputUriBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inputUri_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, inputUri_);
}
{
Expand All @@ -605,10 +605,10 @@ public int getSerializedSize() {
if (videoContext_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getVideoContext());
}
if (!getOutputUriBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(outputUri_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, outputUri_);
}
if (!getLocationIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(locationId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, locationId_);
}
if (!inputContent_.isEmpty()) {
Expand Down
Expand Up @@ -258,13 +258,13 @@ public final boolean isInitialized() {

@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (!getNameBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
if (confidence_ != 0F) {
output.writeFloat(2, confidence_);
}
if (!getValueBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, value_);
}
unknownFields.writeTo(output);
Expand All @@ -276,13 +276,13 @@ public int getSerializedSize() {
if (size != -1) return size;

size = 0;
if (!getNameBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
if (confidence_ != 0F) {
size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, confidence_);
}
if (!getValueBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, value_);
}
size += unknownFields.getSerializedSize();
Expand Down
Expand Up @@ -266,7 +266,7 @@ public final boolean isInitialized() {

@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (!getNameBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
if (point_ != null) {
Expand All @@ -284,7 +284,7 @@ public int getSerializedSize() {
if (size != -1) return size;

size = 0;
if (!getNameBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
if (point_ != null) {
Expand Down
Expand Up @@ -292,13 +292,13 @@ public final boolean isInitialized() {

@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (!getEntityIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entityId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, entityId_);
}
if (!getDescriptionBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, description_);
}
if (!getLanguageCodeBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(languageCode_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, languageCode_);
}
unknownFields.writeTo(output);
Expand All @@ -310,13 +310,13 @@ public int getSerializedSize() {
if (size != -1) return size;

size = 0;
if (!getEntityIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entityId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, entityId_);
}
if (!getDescriptionBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_);
}
if (!getLanguageCodeBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(languageCode_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, languageCode_);
}
size += unknownFields.getSerializedSize();
Expand Down
Expand Up @@ -270,7 +270,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
for (int i = 0; i < frames_.size(); i++) {
output.writeMessage(1, frames_.get(i));
}
if (!getVersionBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, version_);
}
unknownFields.writeTo(output);
Expand All @@ -285,7 +285,7 @@ public int getSerializedSize() {
for (int i = 0; i < frames_.size(); i++) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, frames_.get(i));
}
if (!getVersionBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, version_);
}
size += unknownFields.getSerializedSize();
Expand Down
Expand Up @@ -179,7 +179,7 @@ public final boolean isInitialized() {

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

size = 0;
if (!getModelBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(model_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, model_);
}
size += unknownFields.getSerializedSize();
Expand Down
Expand Up @@ -289,7 +289,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (!thumbnail_.isEmpty()) {
output.writeBytes(4, thumbnail_);
}
if (!getVersionBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, version_);
}
unknownFields.writeTo(output);
Expand All @@ -307,7 +307,7 @@ public int getSerializedSize() {
if (!thumbnail_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream.computeBytesSize(4, thumbnail_);
}
if (!getVersionBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, version_);
}
size += unknownFields.getSerializedSize();
Expand Down
Expand Up @@ -225,7 +225,7 @@ public final boolean isInitialized() {

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

size = 0;
if (!getModelBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(model_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, model_);
}
if (includeBoundingBoxes_ != false) {
Expand Down
Expand Up @@ -525,7 +525,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
for (int i = 0; i < frames_.size(); i++) {
output.writeMessage(4, frames_.get(i));
}
if (!getVersionBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, version_);
}
unknownFields.writeTo(output);
Expand All @@ -549,7 +549,7 @@ public int getSerializedSize() {
for (int i = 0; i < frames_.size(); i++) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, frames_.get(i));
}
if (!getVersionBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, version_);
}
size += unknownFields.getSerializedSize();
Expand Down
Expand Up @@ -317,7 +317,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (stationaryCamera_ != false) {
output.writeBool(2, stationaryCamera_);
}
if (!getModelBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(model_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, model_);
}
if (frameConfidenceThreshold_ != 0F) {
Expand All @@ -343,7 +343,7 @@ public int getSerializedSize() {
if (stationaryCamera_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, stationaryCamera_);
}
if (!getModelBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(model_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, model_);
}
if (frameConfidenceThreshold_ != 0F) {
Expand Down
Expand Up @@ -552,7 +552,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (trackInfoCase_ == 5) {
output.writeInt64(5, (long) ((java.lang.Long) trackInfo_));
}
if (!getVersionBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, version_);
}
unknownFields.writeTo(output);
Expand Down Expand Up @@ -583,7 +583,7 @@ public int getSerializedSize() {
com.google.protobuf.CodedOutputStream.computeInt64Size(
5, (long) ((java.lang.Long) trackInfo_));
}
if (!getVersionBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, version_);
}
size += unknownFields.getSerializedSize();
Expand Down
Expand Up @@ -178,7 +178,7 @@ public final boolean isInitialized() {

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

size = 0;
if (!getModelBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(model_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, model_);
}
size += unknownFields.getSerializedSize();
Expand Down
Expand Up @@ -262,7 +262,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
for (int i = 0; i < tracks_.size(); i++) {
output.writeMessage(1, tracks_.get(i));
}
if (!getVersionBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, version_);
}
unknownFields.writeTo(output);
Expand All @@ -277,7 +277,7 @@ public int getSerializedSize() {
for (int i = 0; i < tracks_.size(); i++) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, tracks_.get(i));
}
if (!getVersionBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, version_);
}
size += unknownFields.getSerializedSize();
Expand Down
Expand Up @@ -178,7 +178,7 @@ public final boolean isInitialized() {

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

size = 0;
if (!getModelBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(model_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, model_);
}
size += unknownFields.getSerializedSize();
Expand Down
Expand Up @@ -307,7 +307,7 @@ public final boolean isInitialized() {

@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (!getTranscriptBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(transcript_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, transcript_);
}
if (confidence_ != 0F) {
Expand All @@ -325,7 +325,7 @@ public int getSerializedSize() {
if (size != -1) return size;

size = 0;
if (!getTranscriptBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(transcript_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, transcript_);
}
if (confidence_ != 0F) {
Expand Down
Expand Up @@ -299,7 +299,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
for (int i = 0; i < alternatives_.size(); i++) {
output.writeMessage(1, alternatives_.get(i));
}
if (!getLanguageCodeBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(languageCode_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, languageCode_);
}
unknownFields.writeTo(output);
Expand All @@ -314,7 +314,7 @@ public int getSerializedSize() {
for (int i = 0; i < alternatives_.size(); i++) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, alternatives_.get(i));
}
if (!getLanguageCodeBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(languageCode_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, languageCode_);
}
size += unknownFields.getSerializedSize();
Expand Down
Expand Up @@ -521,7 +521,7 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
getSerializedSize();
if (!getLanguageCodeBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(languageCode_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, languageCode_);
}
if (maxAlternatives_ != 0) {
Expand Down Expand Up @@ -561,7 +561,7 @@ public int getSerializedSize() {
if (size != -1) return size;

size = 0;
if (!getLanguageCodeBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(languageCode_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, languageCode_);
}
if (maxAlternatives_ != 0) {
Expand Down
Expand Up @@ -321,13 +321,13 @@ public final boolean isInitialized() {

@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (!getTextBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(text_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, text_);
}
for (int i = 0; i < segments_.size(); i++) {
output.writeMessage(2, segments_.get(i));
}
if (!getVersionBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, version_);
}
unknownFields.writeTo(output);
Expand All @@ -339,13 +339,13 @@ public int getSerializedSize() {
if (size != -1) return size;

size = 0;
if (!getTextBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(text_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, text_);
}
for (int i = 0; i < segments_.size(); i++) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, segments_.get(i));
}
if (!getVersionBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, version_);
}
size += unknownFields.getSerializedSize();
Expand Down

0 comments on commit 7edf4d3

Please sign in to comment.