Skip to content
This repository has been archived by the owner on Sep 27, 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 (#1096)

* 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: googleapis/googleapis-gen@99bb13c
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] committed Oct 19, 2021
1 parent 3160ab9 commit bbc23cd
Show file tree
Hide file tree
Showing 23 changed files with 102 additions and 102 deletions.
Expand Up @@ -187,7 +187,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_);
}
unknownFields.writeTo(output);
Expand All @@ -199,7 +199,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_);
}
size += unknownFields.getSerializedSize();
Expand Down
Expand Up @@ -476,19 +476,19 @@ public final boolean isInitialized() {

@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (!getParentBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
}
if (transferConfig_ != null) {
output.writeMessage(2, getTransferConfig());
}
if (!getAuthorizationCodeBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(authorizationCode_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, authorizationCode_);
}
if (!getVersionInfoBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(versionInfo_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, versionInfo_);
}
if (!getServiceAccountNameBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccountName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, serviceAccountName_);
}
unknownFields.writeTo(output);
Expand All @@ -500,19 +500,19 @@ public int getSerializedSize() {
if (size != -1) return size;

size = 0;
if (!getParentBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
}
if (transferConfig_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTransferConfig());
}
if (!getAuthorizationCodeBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(authorizationCode_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, authorizationCode_);
}
if (!getVersionInfoBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(versionInfo_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, versionInfo_);
}
if (!getServiceAccountNameBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccountName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, serviceAccountName_);
}
size += unknownFields.getSerializedSize();
Expand Down
Expand Up @@ -1404,19 +1404,19 @@ 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 (!getDataSourceIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataSourceId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, dataSourceId_);
}
if (!getDisplayNameBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, displayName_);
}
if (!getDescriptionBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, description_);
}
if (!getClientIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clientId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, clientId_);
}
for (int i = 0; i < scopes_.size(); i++) {
Expand All @@ -1433,7 +1433,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (updateDeadlineSeconds_ != 0) {
output.writeInt32(9, updateDeadlineSeconds_);
}
if (!getDefaultScheduleBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultSchedule_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 10, defaultSchedule_);
}
if (supportsCustomSchedule_ != false) {
Expand All @@ -1442,7 +1442,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
for (int i = 0; i < parameters_.size(); i++) {
output.writeMessage(12, parameters_.get(i));
}
if (!getHelpUrlBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(helpUrl_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 13, helpUrl_);
}
if (authorizationType_
Expand Down Expand Up @@ -1475,19 +1475,19 @@ 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 (!getDataSourceIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataSourceId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, dataSourceId_);
}
if (!getDisplayNameBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, displayName_);
}
if (!getDescriptionBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, description_);
}
if (!getClientIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clientId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, clientId_);
}
{
Expand All @@ -1509,7 +1509,7 @@ public int getSerializedSize() {
if (updateDeadlineSeconds_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeInt32Size(9, updateDeadlineSeconds_);
}
if (!getDefaultScheduleBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultSchedule_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, defaultSchedule_);
}
if (supportsCustomSchedule_ != false) {
Expand All @@ -1518,7 +1518,7 @@ public int getSerializedSize() {
for (int i = 0; i < parameters_.size(); i++) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, parameters_.get(i));
}
if (!getHelpUrlBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(helpUrl_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, helpUrl_);
}
if (authorizationType_
Expand Down
Expand Up @@ -1165,13 +1165,13 @@ public final boolean isInitialized() {

@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (!getParamIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(paramId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, paramId_);
}
if (!getDisplayNameBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, displayName_);
}
if (!getDescriptionBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_);
}
if (type_
Expand All @@ -1185,7 +1185,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (repeated_ != false) {
output.writeBool(6, repeated_);
}
if (!getValidationRegexBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(validationRegex_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, validationRegex_);
}
for (int i = 0; i < allowedValues_.size(); i++) {
Expand All @@ -1200,10 +1200,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
for (int i = 0; i < fields_.size(); i++) {
output.writeMessage(11, fields_.get(i));
}
if (!getValidationDescriptionBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(validationDescription_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 12, validationDescription_);
}
if (!getValidationHelpUrlBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(validationHelpUrl_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 13, validationHelpUrl_);
}
if (immutable_ != false) {
Expand All @@ -1224,13 +1224,13 @@ public int getSerializedSize() {
if (size != -1) return size;

size = 0;
if (!getParamIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(paramId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, paramId_);
}
if (!getDisplayNameBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_);
}
if (!getDescriptionBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_);
}
if (type_
Expand All @@ -1244,7 +1244,7 @@ public int getSerializedSize() {
if (repeated_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, repeated_);
}
if (!getValidationRegexBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(validationRegex_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, validationRegex_);
}
{
Expand All @@ -1264,10 +1264,10 @@ public int getSerializedSize() {
for (int i = 0; i < fields_.size(); i++) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, fields_.get(i));
}
if (!getValidationDescriptionBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(validationDescription_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, validationDescription_);
}
if (!getValidationHelpUrlBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(validationHelpUrl_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, validationHelpUrl_);
}
if (immutable_ != false) {
Expand Down
Expand Up @@ -183,7 +183,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_);
}
unknownFields.writeTo(output);
Expand All @@ -195,7 +195,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_);
}
size += unknownFields.getSerializedSize();
Expand Down
Expand Up @@ -182,7 +182,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_);
}
unknownFields.writeTo(output);
Expand All @@ -194,7 +194,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_);
}
size += unknownFields.getSerializedSize();
Expand Down
Expand Up @@ -182,7 +182,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_);
}
unknownFields.writeTo(output);
Expand All @@ -194,7 +194,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_);
}
size += unknownFields.getSerializedSize();
Expand Down
Expand Up @@ -182,7 +182,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_);
}
unknownFields.writeTo(output);
Expand All @@ -194,7 +194,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_);
}
size += unknownFields.getSerializedSize();
Expand Down
Expand Up @@ -182,7 +182,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_);
}
unknownFields.writeTo(output);
Expand All @@ -194,7 +194,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_);
}
size += unknownFields.getSerializedSize();
Expand Down
Expand Up @@ -270,10 +270,10 @@ public final boolean isInitialized() {

@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (!getParentBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
}
if (!getPageTokenBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_);
}
if (pageSize_ != 0) {
Expand All @@ -288,10 +288,10 @@ public int getSerializedSize() {
if (size != -1) return size;

size = 0;
if (!getParentBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
}
if (!getPageTokenBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_);
}
if (pageSize_ != 0) {
Expand Down
Expand Up @@ -271,7 +271,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
for (int i = 0; i < dataSources_.size(); i++) {
output.writeMessage(1, dataSources_.get(i));
}
if (!getNextPageTokenBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_);
}
unknownFields.writeTo(output);
Expand All @@ -286,7 +286,7 @@ public int getSerializedSize() {
for (int i = 0; i < dataSources_.size(); i++) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, dataSources_.get(i));
}
if (!getNextPageTokenBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_);
}
size += unknownFields.getSerializedSize();
Expand Down
Expand Up @@ -346,13 +346,13 @@ public final boolean isInitialized() {

@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (!getParentBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
}
for (int i = 0; i < dataSourceIds_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, dataSourceIds_.getRaw(i));
}
if (!getPageTokenBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_);
}
if (pageSize_ != 0) {
Expand All @@ -367,7 +367,7 @@ public int getSerializedSize() {
if (size != -1) return size;

size = 0;
if (!getParentBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
}
{
Expand All @@ -378,7 +378,7 @@ public int getSerializedSize() {
size += dataSize;
size += 1 * getDataSourceIdsList().size();
}
if (!getPageTokenBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_);
}
if (pageSize_ != 0) {
Expand Down

0 comments on commit bbc23cd

Please sign in to comment.