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

- [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 22df539 commit b8144e6
Show file tree
Hide file tree
Showing 35 changed files with 176 additions and 176 deletions.
Expand Up @@ -205,7 +205,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 (approved_ != false) {
Expand All @@ -220,7 +220,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 (approved_ != false) {
Expand Down
Expand Up @@ -235,10 +235,10 @@ public final boolean isInitialized() {

@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (!getTagBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tag_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, tag_);
}
if (!getImageBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(image_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, image_);
}
unknownFields.writeTo(output);
Expand All @@ -250,10 +250,10 @@ public int getSerializedSize() {
if (size != -1) return size;

size = 0;
if (!getTagBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tag_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tag_);
}
if (!getImageBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(image_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, image_);
}
size += unknownFields.getSerializedSize();
Expand Down
Expand Up @@ -330,13 +330,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_);
}
for (int i = 0; i < supportedVersions_.size(); i++) {
output.writeMessage(2, supportedVersions_.get(i));
}
if (!getDefaultSkaffoldVersionBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultSkaffoldVersion_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, defaultSkaffoldVersion_);
}
unknownFields.writeTo(output);
Expand All @@ -348,14 +348,14 @@ 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_);
}
for (int i = 0; i < supportedVersions_.size(); i++) {
size +=
com.google.protobuf.CodedOutputStream.computeMessageSize(2, supportedVersions_.get(i));
}
if (!getDefaultSkaffoldVersionBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultSkaffoldVersion_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, defaultSkaffoldVersion_);
}
size += unknownFields.getSerializedSize();
Expand Down
Expand Up @@ -408,16 +408,16 @@ 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 (!getDeliveryPipelineIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(deliveryPipelineId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, deliveryPipelineId_);
}
if (deliveryPipeline_ != null) {
output.writeMessage(3, getDeliveryPipeline());
}
if (!getRequestIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, requestId_);
}
if (validateOnly_ != false) {
Expand All @@ -432,16 +432,16 @@ 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 (!getDeliveryPipelineIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(deliveryPipelineId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, deliveryPipelineId_);
}
if (deliveryPipeline_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getDeliveryPipeline());
}
if (!getRequestIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_);
}
if (validateOnly_ != false) {
Expand Down
Expand Up @@ -404,16 +404,16 @@ 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 (!getReleaseIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(releaseId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, releaseId_);
}
if (release_ != null) {
output.writeMessage(3, getRelease());
}
if (!getRequestIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, requestId_);
}
if (validateOnly_ != false) {
Expand All @@ -428,16 +428,16 @@ 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 (!getReleaseIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(releaseId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, releaseId_);
}
if (release_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRelease());
}
if (!getRequestIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_);
}
if (validateOnly_ != false) {
Expand Down
Expand Up @@ -404,16 +404,16 @@ 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 (!getRolloutIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rolloutId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, rolloutId_);
}
if (rollout_ != null) {
output.writeMessage(3, getRollout());
}
if (!getRequestIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, requestId_);
}
if (validateOnly_ != false) {
Expand All @@ -428,16 +428,16 @@ 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 (!getRolloutIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rolloutId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, rolloutId_);
}
if (rollout_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRollout());
}
if (!getRequestIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_);
}
if (validateOnly_ != false) {
Expand Down
Expand Up @@ -404,16 +404,16 @@ 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 (!getTargetIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, targetId_);
}
if (target_ != null) {
output.writeMessage(3, getTarget());
}
if (!getRequestIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, requestId_);
}
if (validateOnly_ != false) {
Expand All @@ -428,16 +428,16 @@ 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 (!getTargetIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, targetId_);
}
if (target_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTarget());
}
if (!getRequestIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_);
}
if (validateOnly_ != false) {
Expand Down
Expand Up @@ -241,10 +241,10 @@ public final boolean isInitialized() {

@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (!getServiceAccountBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccount_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceAccount_);
}
if (!getArtifactStorageBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(artifactStorage_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, artifactStorage_);
}
unknownFields.writeTo(output);
Expand All @@ -256,10 +256,10 @@ public int getSerializedSize() {
if (size != -1) return size;

size = 0;
if (!getServiceAccountBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccount_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, serviceAccount_);
}
if (!getArtifactStorageBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(artifactStorage_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, artifactStorage_);
}
size += unknownFields.getSerializedSize();
Expand Down
Expand Up @@ -391,10 +391,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 (!getRequestIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, requestId_);
}
if (allowMissing_ != false) {
Expand All @@ -403,7 +403,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (validateOnly_ != false) {
output.writeBool(4, validateOnly_);
}
if (!getEtagBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, etag_);
}
if (force_ != false) {
Expand All @@ -418,10 +418,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 (!getRequestIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, requestId_);
}
if (allowMissing_ != false) {
Expand All @@ -430,7 +430,7 @@ public int getSerializedSize() {
if (validateOnly_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_);
}
if (!getEtagBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, etag_);
}
if (force_ != false) {
Expand Down
Expand Up @@ -366,10 +366,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 (!getRequestIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, requestId_);
}
if (allowMissing_ != false) {
Expand All @@ -378,7 +378,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (validateOnly_ != false) {
output.writeBool(4, validateOnly_);
}
if (!getEtagBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, etag_);
}
unknownFields.writeTo(output);
Expand All @@ -390,10 +390,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 (!getRequestIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, requestId_);
}
if (allowMissing_ != false) {
Expand All @@ -402,7 +402,7 @@ public int getSerializedSize() {
if (validateOnly_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_);
}
if (!getEtagBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, etag_);
}
size += unknownFields.getSerializedSize();
Expand Down

0 comments on commit b8144e6

Please sign in to comment.