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

* chore(ruby): Re-enable bigquery-storage-v1 generation, which also required updating protobuf from 3.15.3 to 3.18.1 for codegen

PiperOrigin-RevId: 403132955

Source-Link: googleapis/googleapis@d2977af

Source-Link: https://github.com/googleapis/googleapis-gen/commit/99bb13c813c0e9c2682d03a8b3c3bcb382a909c9
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOTliYjEzYzgxM2MwZTljMjY4MmQwM2E4YjNjM2JjYjM4MmE5MDljOSJ9

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Oct 25, 2021
1 parent 706e2a4 commit 37fde4e
Show file tree
Hide file tree
Showing 16 changed files with 58 additions and 58 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public final boolean isInitialized() {

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

size = 0;
if (!getProjectNameBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, projectName_);
}
size += unknownFields.getSerializedSize();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (httpRequest_ != null) {
output.writeMessage(1, getHttpRequest());
}
if (!getUserBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(user_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, user_);
}
if (reportLocation_ != null) {
Expand All @@ -361,7 +361,7 @@ public int getSerializedSize() {
if (httpRequest_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getHttpRequest());
}
if (!getUserBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(user_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, user_);
}
if (reportLocation_ != null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (serviceContext_ != null) {
output.writeMessage(2, getServiceContext());
}
if (!getMessageBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, message_);
}
if (context_ != null) {
Expand All @@ -402,7 +402,7 @@ public int getSerializedSize() {
if (serviceContext_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getServiceContext());
}
if (!getMessageBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, message_);
}
if (context_ != null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -383,10 +383,10 @@ 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 (!getGroupIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(groupId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, groupId_);
}
for (int i = 0; i < trackingIssues_.size(); i++) {
Expand All @@ -407,10 +407,10 @@ 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 (!getGroupIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(groupId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, groupId_);
}
for (int i = 0; i < trackingIssues_.size(); i++) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public final boolean isInitialized() {

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

size = 0;
if (!getGroupNameBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(groupName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, groupName_);
}
size += unknownFields.getSerializedSize();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -434,22 +434,22 @@ public final boolean isInitialized() {

@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (!getMethodBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(method_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, method_);
}
if (!getUrlBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(url_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, url_);
}
if (!getUserAgentBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userAgent_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, userAgent_);
}
if (!getReferrerBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(referrer_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, referrer_);
}
if (responseStatusCode_ != 0) {
output.writeInt32(5, responseStatusCode_);
}
if (!getRemoteIpBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(remoteIp_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, remoteIp_);
}
unknownFields.writeTo(output);
Expand All @@ -461,22 +461,22 @@ public int getSerializedSize() {
if (size != -1) return size;

size = 0;
if (!getMethodBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(method_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, method_);
}
if (!getUrlBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(url_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, url_);
}
if (!getUserAgentBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userAgent_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, userAgent_);
}
if (!getReferrerBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(referrer_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, referrer_);
}
if (responseStatusCode_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, responseStatusCode_);
}
if (!getRemoteIpBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(remoteIp_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, remoteIp_);
}
size += unknownFields.getSerializedSize();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -481,10 +481,10 @@ public final boolean isInitialized() {

@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (!getProjectNameBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectName_);
}
if (!getGroupIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(groupId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, groupId_);
}
if (serviceFilter_ != null) {
Expand All @@ -496,7 +496,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (pageSize_ != 0) {
output.writeInt32(6, pageSize_);
}
if (!getPageTokenBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, pageToken_);
}
unknownFields.writeTo(output);
Expand All @@ -508,10 +508,10 @@ public int getSerializedSize() {
if (size != -1) return size;

size = 0;
if (!getProjectNameBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, projectName_);
}
if (!getGroupIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(groupId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, groupId_);
}
if (serviceFilter_ != null) {
Expand All @@ -523,7 +523,7 @@ public int getSerializedSize() {
if (pageSize_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, pageSize_);
}
if (!getPageTokenBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, pageToken_);
}
size += unknownFields.getSerializedSize();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
for (int i = 0; i < errorEvents_.size(); i++) {
output.writeMessage(1, errorEvents_.get(i));
}
if (!getNextPageTokenBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_);
}
if (timeRangeBegin_ != null) {
Expand All @@ -353,7 +353,7 @@ public int getSerializedSize() {
for (int i = 0; i < errorEvents_.size(); i++) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, errorEvents_.get(i));
}
if (!getNextPageTokenBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_);
}
if (timeRangeBegin_ != null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -765,7 +765,7 @@ public final boolean isInitialized() {

@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (!getProjectNameBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectName_);
}
for (int i = 0; i < groupId_.size(); i++) {
Expand Down Expand Up @@ -797,7 +797,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (pageSize_ != 0) {
output.writeInt32(11, pageSize_);
}
if (!getPageTokenBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 12, pageToken_);
}
unknownFields.writeTo(output);
Expand All @@ -809,7 +809,7 @@ public int getSerializedSize() {
if (size != -1) return size;

size = 0;
if (!getProjectNameBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, projectName_);
}
{
Expand Down Expand Up @@ -846,7 +846,7 @@ public int getSerializedSize() {
if (pageSize_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeInt32Size(11, pageSize_);
}
if (!getPageTokenBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, pageToken_);
}
size += unknownFields.getSerializedSize();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
for (int i = 0; i < errorGroupStats_.size(); i++) {
output.writeMessage(1, errorGroupStats_.get(i));
}
if (!getNextPageTokenBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_);
}
if (timeRangeBegin_ != null) {
Expand All @@ -374,7 +374,7 @@ public int getSerializedSize() {
for (int i = 0; i < errorGroupStats_.size(); i++) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, errorGroupStats_.get(i));
}
if (!getNextPageTokenBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_);
}
if (timeRangeBegin_ != null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ public final boolean isInitialized() {

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

size = 0;
if (!getProjectNameBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, projectName_);
}
if (event_ != null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (serviceContext_ != null) {
output.writeMessage(2, getServiceContext());
}
if (!getMessageBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, message_);
}
if (context_ != null) {
Expand All @@ -461,7 +461,7 @@ public int getSerializedSize() {
if (serviceContext_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getServiceContext());
}
if (!getMessageBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, message_);
}
if (context_ != null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -311,13 +311,13 @@ public final boolean isInitialized() {

@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (!getServiceBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(service_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, service_);
}
if (!getVersionBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, version_);
}
if (!getResourceTypeBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceType_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, resourceType_);
}
unknownFields.writeTo(output);
Expand All @@ -329,13 +329,13 @@ public int getSerializedSize() {
if (size != -1) return size;

size = 0;
if (!getServiceBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(service_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, service_);
}
if (!getVersionBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, version_);
}
if (!getResourceTypeBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceType_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, resourceType_);
}
size += unknownFields.getSerializedSize();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -297,13 +297,13 @@ public final boolean isInitialized() {

@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (!getServiceBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(service_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, service_);
}
if (!getVersionBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, version_);
}
if (!getResourceTypeBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceType_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, resourceType_);
}
unknownFields.writeTo(output);
Expand All @@ -315,13 +315,13 @@ public int getSerializedSize() {
if (size != -1) return size;

size = 0;
if (!getServiceBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(service_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, service_);
}
if (!getVersionBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, version_);
}
if (!getResourceTypeBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceType_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, resourceType_);
}
size += unknownFields.getSerializedSize();
Expand Down
Loading

0 comments on commit 37fde4e

Please sign in to comment.