From 0967de5fd68097b8555a0cf04b0bb4bb0f0e674c Mon Sep 17 00:00:00 2001 From: yoshi-automation Date: Fri, 26 Feb 2021 16:13:56 -0800 Subject: [PATCH] chore: update protobuf v3.15.3 This release makes --experimental_allow_proto3_optional no longer necessary. PiperOrigin-RevId: 359781040 Source-Author: Google APIs Source-Date: Fri Feb 26 09:59:49 2021 -0800 Source-Repo: googleapis/googleapis Source-Sha: f6dd7e47620566925a4b3f1ce029e74e1b2f2516 Source-Link: https://github.com/googleapis/googleapis/commit/f6dd7e47620566925a4b3f1ce029e74e1b2f2516 --- .../io/grafeas/v1/CloudRepoSourceContext.java | 29 +++++++++++++++++++ .../v1/CloudRepoSourceContextOrBuilder.java | 12 ++++++++ .../io/grafeas/v1/GerritSourceContext.java | 29 +++++++++++++++++++ .../v1/GerritSourceContextOrBuilder.java | 12 ++++++++ src/main/java/io/grafeas/v1/RepoId.java | 29 +++++++++++++++++++ .../java/io/grafeas/v1/RepoIdOrBuilder.java | 12 ++++++++ synth.metadata | 6 ++-- 7 files changed, 126 insertions(+), 3 deletions(-) diff --git a/src/main/java/io/grafeas/v1/CloudRepoSourceContext.java b/src/main/java/io/grafeas/v1/CloudRepoSourceContext.java index e6bdfde7..1754e180 100644 --- a/src/main/java/io/grafeas/v1/CloudRepoSourceContext.java +++ b/src/main/java/io/grafeas/v1/CloudRepoSourceContext.java @@ -232,6 +232,20 @@ public io.grafeas.v1.RepoIdOrBuilder getRepoIdOrBuilder() { } public static final int REVISION_ID_FIELD_NUMBER = 2; + /** + * + * + *
+   * A revision ID.
+   * 
+ * + * string revision_id = 2; + * + * @return Whether the revisionId field is set. + */ + public boolean hasRevisionId() { + return revisionCase_ == 2; + } /** * * @@ -916,6 +930,21 @@ public io.grafeas.v1.RepoIdOrBuilder getRepoIdOrBuilder() { return repoIdBuilder_; } + /** + * + * + *
+     * A revision ID.
+     * 
+ * + * string revision_id = 2; + * + * @return Whether the revisionId field is set. + */ + @java.lang.Override + public boolean hasRevisionId() { + return revisionCase_ == 2; + } /** * * diff --git a/src/main/java/io/grafeas/v1/CloudRepoSourceContextOrBuilder.java b/src/main/java/io/grafeas/v1/CloudRepoSourceContextOrBuilder.java index 008b820b..ae43194f 100644 --- a/src/main/java/io/grafeas/v1/CloudRepoSourceContextOrBuilder.java +++ b/src/main/java/io/grafeas/v1/CloudRepoSourceContextOrBuilder.java @@ -59,6 +59,18 @@ public interface CloudRepoSourceContextOrBuilder */ io.grafeas.v1.RepoIdOrBuilder getRepoIdOrBuilder(); + /** + * + * + *
+   * A revision ID.
+   * 
+ * + * string revision_id = 2; + * + * @return Whether the revisionId field is set. + */ + boolean hasRevisionId(); /** * * diff --git a/src/main/java/io/grafeas/v1/GerritSourceContext.java b/src/main/java/io/grafeas/v1/GerritSourceContext.java index c1f599f5..ce45d34f 100644 --- a/src/main/java/io/grafeas/v1/GerritSourceContext.java +++ b/src/main/java/io/grafeas/v1/GerritSourceContext.java @@ -290,6 +290,20 @@ public com.google.protobuf.ByteString getGerritProjectBytes() { } public static final int REVISION_ID_FIELD_NUMBER = 3; + /** + * + * + *
+   * A revision (commit) ID.
+   * 
+ * + * string revision_id = 3; + * + * @return Whether the revisionId field is set. + */ + public boolean hasRevisionId() { + return revisionCase_ == 3; + } /** * * @@ -1027,6 +1041,21 @@ public Builder setGerritProjectBytes(com.google.protobuf.ByteString value) { return this; } + /** + * + * + *
+     * A revision (commit) ID.
+     * 
+ * + * string revision_id = 3; + * + * @return Whether the revisionId field is set. + */ + @java.lang.Override + public boolean hasRevisionId() { + return revisionCase_ == 3; + } /** * * diff --git a/src/main/java/io/grafeas/v1/GerritSourceContextOrBuilder.java b/src/main/java/io/grafeas/v1/GerritSourceContextOrBuilder.java index f51e1f05..240e4d8b 100644 --- a/src/main/java/io/grafeas/v1/GerritSourceContextOrBuilder.java +++ b/src/main/java/io/grafeas/v1/GerritSourceContextOrBuilder.java @@ -78,6 +78,18 @@ public interface GerritSourceContextOrBuilder */ com.google.protobuf.ByteString getGerritProjectBytes(); + /** + * + * + *
+   * A revision (commit) ID.
+   * 
+ * + * string revision_id = 3; + * + * @return Whether the revisionId field is set. + */ + boolean hasRevisionId(); /** * * diff --git a/src/main/java/io/grafeas/v1/RepoId.java b/src/main/java/io/grafeas/v1/RepoId.java index 21391d7d..1db1b28e 100644 --- a/src/main/java/io/grafeas/v1/RepoId.java +++ b/src/main/java/io/grafeas/v1/RepoId.java @@ -220,6 +220,20 @@ public io.grafeas.v1.ProjectRepoIdOrBuilder getProjectRepoIdOrBuilder() { } public static final int UID_FIELD_NUMBER = 2; + /** + * + * + *
+   * A server-assigned, globally unique identifier.
+   * 
+ * + * string uid = 2; + * + * @return Whether the uid field is set. + */ + public boolean hasUid() { + return idCase_ == 2; + } /** * * @@ -854,6 +868,21 @@ public io.grafeas.v1.ProjectRepoIdOrBuilder getProjectRepoIdOrBuilder() { return projectRepoIdBuilder_; } + /** + * + * + *
+     * A server-assigned, globally unique identifier.
+     * 
+ * + * string uid = 2; + * + * @return Whether the uid field is set. + */ + @java.lang.Override + public boolean hasUid() { + return idCase_ == 2; + } /** * * diff --git a/src/main/java/io/grafeas/v1/RepoIdOrBuilder.java b/src/main/java/io/grafeas/v1/RepoIdOrBuilder.java index 7b252ab6..2a9d9c8e 100644 --- a/src/main/java/io/grafeas/v1/RepoIdOrBuilder.java +++ b/src/main/java/io/grafeas/v1/RepoIdOrBuilder.java @@ -59,6 +59,18 @@ public interface RepoIdOrBuilder */ io.grafeas.v1.ProjectRepoIdOrBuilder getProjectRepoIdOrBuilder(); + /** + * + * + *
+   * A server-assigned, globally unique identifier.
+   * 
+ * + * string uid = 2; + * + * @return Whether the uid field is set. + */ + boolean hasUid(); /** * * diff --git a/synth.metadata b/synth.metadata index dd7dc552..fff13a71 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,15 +4,15 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-grafeas.git", - "sha": "aed649ec5e7430e972122e8be718046905a4d71e" + "sha": "a3b90e4e70511ab65331d7a30b22fa3448a22232" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "af8f71dae961ee036a0ac52a1965270149a6b2c9", - "internalRef": "358516065" + "sha": "f6dd7e47620566925a4b3f1ce029e74e1b2f2516", + "internalRef": "359781040" } }, {