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

PiperOrigin-RevId: 403132955

Source-Author: Google APIs <[email protected]>
Source-Date: Thu Oct 14 10:50:47 2021 -0700
Source-Repo: googleapis/googleapis
Source-Sha: d2977af9e9f1fc0c9dc8368352daa032471f3c63
Source-Link: googleapis/googleapis@d2977af

Co-authored-by: Chanseok Oh <[email protected]>
  • Loading branch information
yoshi-automation and chanseokoh authored Nov 15, 2021
1 parent 8dd21a9 commit bd07d48
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -508,13 +508,13 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (action_ != com.google.iam.v1.AuditConfigDelta.Action.ACTION_UNSPECIFIED.getNumber()) {
output.writeEnum(1, action_);
}
if (!getServiceBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(service_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, service_);
}
if (!getExemptedMemberBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(exemptedMember_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, exemptedMember_);
}
if (!getLogTypeBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(logType_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, logType_);
}
unknownFields.writeTo(output);
Expand All @@ -529,13 +529,13 @@ public int getSerializedSize() {
if (action_ != com.google.iam.v1.AuditConfigDelta.Action.ACTION_UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, action_);
}
if (!getServiceBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(service_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, service_);
}
if (!getExemptedMemberBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(exemptedMember_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, exemptedMember_);
}
if (!getLogTypeBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(logType_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, logType_);
}
size += unknownFields.getSerializedSize();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ public final boolean isInitialized() {

@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (!getRoleBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(role_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, role_);
}
for (int i = 0; i < members_.size(); i++) {
Expand All @@ -388,7 +388,7 @@ public int getSerializedSize() {
if (size != -1) return size;

size = 0;
if (!getRoleBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(role_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, role_);
}
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -504,10 +504,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (action_ != com.google.iam.v1.BindingDelta.Action.ACTION_UNSPECIFIED.getNumber()) {
output.writeEnum(1, action_);
}
if (!getRoleBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(role_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, role_);
}
if (!getMemberBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(member_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, member_);
}
if (condition_ != null) {
Expand All @@ -525,10 +525,10 @@ public int getSerializedSize() {
if (action_ != com.google.iam.v1.BindingDelta.Action.ACTION_UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, action_);
}
if (!getRoleBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(role_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, role_);
}
if (!getMemberBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(member_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, member_);
}
if (condition_ != null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ public final boolean isInitialized() {

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

size = 0;
if (!getResourceBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resource_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, resource_);
}
if (options_ != null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ public final boolean isInitialized() {

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

size = 0;
if (!getResourceBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resource_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, resource_);
}
if (policy_ != null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ public final boolean isInitialized() {

@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (!getResourceBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resource_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resource_);
}
for (int i = 0; i < permissions_.size(); i++) {
Expand All @@ -283,7 +283,7 @@ public int getSerializedSize() {
if (size != -1) return size;

size = 0;
if (!getResourceBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resource_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, resource_);
}
{
Expand Down
4 changes: 2 additions & 2 deletions synth.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "0e915217fb5261c1e57bfaf0e16ee5c7feaaba89",
"internalRef": "361377784"
"sha": "d2977af9e9f1fc0c9dc8368352daa032471f3c63",
"internalRef": "403132955"
}
},
{
Expand Down

0 comments on commit bd07d48

Please sign in to comment.