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

- [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 143c5a1 commit 3ea85da
Show file tree
Hide file tree
Showing 72 changed files with 272 additions and 272 deletions.
Expand Up @@ -1180,7 +1180,7 @@ public final boolean isInitialized() {

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

size = 0;
if (!getTopicBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, topic_);
}
size += unknownFields.getSerializedSize();
Expand Down
Expand Up @@ -180,7 +180,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 @@ -192,7 +192,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 @@ -294,13 +294,13 @@ public final boolean isInitialized() {

@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (!getProjectIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_);
}
if (!getDatasetIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(datasetId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, datasetId_);
}
if (!getTableIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, tableId_);
}
unknownFields.writeTo(output);
Expand All @@ -312,13 +312,13 @@ public int getSerializedSize() {
if (size != -1) return size;

size = 0;
if (!getProjectIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, projectId_);
}
if (!getDatasetIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(datasetId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, datasetId_);
}
if (!getTableIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, tableId_);
}
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 (!getNameBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
unknownFields.writeTo(output);
Expand All @@ -190,7 +190,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 @@ -338,7 +338,7 @@ public final boolean isInitialized() {

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

size = 0;
if (!getMaskingCharacterBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(maskingCharacter_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, maskingCharacter_);
}
if (numberToMask_ != 0) {
Expand Down
Expand Up @@ -176,7 +176,7 @@ public final boolean isInitialized() {

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

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

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

size = 0;
if (!getUrlBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(url_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, url_);
}
if (regexFileSet_ != null) {
Expand Down
Expand Up @@ -176,7 +176,7 @@ public final boolean isInitialized() {

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

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

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

size = 0;
if (!getBucketNameBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bucketName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, bucketName_);
}
{
Expand Down
Expand Up @@ -560,25 +560,25 @@ public final boolean isInitialized() {

@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (!getTypeBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, type_);
}
if (!getProjectIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, projectId_);
}
if (!getFullPathBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fullPath_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, fullPath_);
}
if (!getRootPathBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rootPath_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, rootPath_);
}
if (!getRelativePathBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(relativePath_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, relativePath_);
}
if (updateTime_ != null) {
output.writeMessage(6, getUpdateTime());
}
if (!getVersionBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, version_);
}
unknownFields.writeTo(output);
Expand All @@ -590,25 +590,25 @@ public int getSerializedSize() {
if (size != -1) return size;

size = 0;
if (!getTypeBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, type_);
}
if (!getProjectIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, projectId_);
}
if (!getFullPathBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fullPath_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, fullPath_);
}
if (!getRootPathBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rootPath_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, rootPath_);
}
if (!getRelativePathBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(relativePath_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, relativePath_);
}
if (updateTime_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime());
}
if (!getVersionBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, version_);
}
size += unknownFields.getSerializedSize();
Expand Down
Expand Up @@ -641,7 +641,7 @@ public final boolean isInitialized() {

@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (!getContainerNameBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(containerName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, containerName_);
}
if (locationCase_ == 2) {
Expand All @@ -656,7 +656,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (containerTimestamp_ != null) {
output.writeMessage(6, getContainerTimestamp());
}
if (!getContainerVersionBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(containerVersion_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, containerVersion_);
}
if (locationCase_ == 8) {
Expand All @@ -671,7 +671,7 @@ public int getSerializedSize() {
if (size != -1) return size;

size = 0;
if (!getContainerNameBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(containerName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, containerName_);
}
if (locationCase_ == 2) {
Expand All @@ -692,7 +692,7 @@ public int getSerializedSize() {
if (containerTimestamp_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getContainerTimestamp());
}
if (!getContainerVersionBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(containerVersion_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, containerVersion_);
}
if (locationCase_ == 8) {
Expand Down
Expand Up @@ -399,16 +399,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 (deidentifyTemplate_ != null) {
output.writeMessage(2, getDeidentifyTemplate());
}
if (!getTemplateIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(templateId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, templateId_);
}
if (!getLocationIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(locationId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, locationId_);
}
unknownFields.writeTo(output);
Expand All @@ -420,16 +420,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 (deidentifyTemplate_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDeidentifyTemplate());
}
if (!getTemplateIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(templateId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, templateId_);
}
if (!getLocationIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(locationId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, locationId_);
}
size += unknownFields.getSerializedSize();
Expand Down
Expand Up @@ -503,7 +503,7 @@ 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 (jobCase_ == 2) {
Expand All @@ -512,10 +512,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (jobCase_ == 3) {
output.writeMessage(3, (com.google.privacy.dlp.v2.RiskAnalysisJobConfig) job_);
}
if (!getJobIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, jobId_);
}
if (!getLocationIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(locationId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, locationId_);
}
unknownFields.writeTo(output);
Expand All @@ -527,7 +527,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_);
}
if (jobCase_ == 2) {
Expand All @@ -540,10 +540,10 @@ public int getSerializedSize() {
com.google.protobuf.CodedOutputStream.computeMessageSize(
3, (com.google.privacy.dlp.v2.RiskAnalysisJobConfig) job_);
}
if (!getJobIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, jobId_);
}
if (!getLocationIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(locationId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, locationId_);
}
size += unknownFields.getSerializedSize();
Expand Down

0 comments on commit 3ea85da

Please sign in to comment.