From 12cc78efedf0090a09afa21ef39aec5cb57ea8a1 Mon Sep 17 00:00:00 2001 From: yoshi-automation Date: Thu, 14 Oct 2021 14:46:11 -0700 Subject: [PATCH] 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-Author: Google APIs Source-Date: Thu Oct 14 10:50:47 2021 -0700 Source-Repo: googleapis/googleapis Source-Sha: d2977af9e9f1fc0c9dc8368352daa032471f3c63 Source-Link: https://github.com/googleapis/googleapis/commit/d2977af9e9f1fc0c9dc8368352daa032471f3c63 --- .../v1/GetVulnerabilityOccurrencesSummaryRequest.java | 8 ++++---- .../v1/VulnerabilityOccurrencesSummary.java | 4 ++-- synth.metadata | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/proto-google-cloud-containeranalysis-v1/src/main/java/com/google/containeranalysis/v1/GetVulnerabilityOccurrencesSummaryRequest.java b/proto-google-cloud-containeranalysis-v1/src/main/java/com/google/containeranalysis/v1/GetVulnerabilityOccurrencesSummaryRequest.java index 7231b6fc..66322147 100644 --- a/proto-google-cloud-containeranalysis-v1/src/main/java/com/google/containeranalysis/v1/GetVulnerabilityOccurrencesSummaryRequest.java +++ b/proto-google-cloud-containeranalysis-v1/src/main/java/com/google/containeranalysis/v1/GetVulnerabilityOccurrencesSummaryRequest.java @@ -241,10 +241,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 (!getFilterBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, filter_); } unknownFields.writeTo(output); @@ -256,10 +256,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 (!getFilterBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); } size += unknownFields.getSerializedSize(); diff --git a/proto-google-cloud-containeranalysis-v1/src/main/java/com/google/containeranalysis/v1/VulnerabilityOccurrencesSummary.java b/proto-google-cloud-containeranalysis-v1/src/main/java/com/google/containeranalysis/v1/VulnerabilityOccurrencesSummary.java index b1835121..79eaabc8 100644 --- a/proto-google-cloud-containeranalysis-v1/src/main/java/com/google/containeranalysis/v1/VulnerabilityOccurrencesSummary.java +++ b/proto-google-cloud-containeranalysis-v1/src/main/java/com/google/containeranalysis/v1/VulnerabilityOccurrencesSummary.java @@ -459,7 +459,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getResourceUriBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resourceUri_); } if (severity_ != io.grafeas.v1.Severity.SEVERITY_UNSPECIFIED.getNumber()) { @@ -480,7 +480,7 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getResourceUriBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, resourceUri_); } if (severity_ != io.grafeas.v1.Severity.SEVERITY_UNSPECIFIED.getNumber()) { diff --git a/synth.metadata b/synth.metadata index a0a9e98a..6d2ffee4 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,15 +4,15 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-containeranalysis.git", - "sha": "e82b1fc8fd69b6fd8711fa0c576ceb2897f00c3a" + "sha": "345cd80877bce3c41d30809461d176d25310b5cf" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "e1738ee972b49fd0c4d4718b035444495142b781", - "internalRef": "391407209" + "sha": "d2977af9e9f1fc0c9dc8368352daa032471f3c63", + "internalRef": "403132955" } }, {