From 1e61adb4b817ff099e17ccc9a4433fc5061a4826 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 1 Mar 2021 09:30:10 -0800 Subject: [PATCH] feat(generator): update protoc to v3.15.3 (#454) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/03645e34-b7a2-470a-9ea5-23f9d034150c/targets - [ ] To automatically regenerate this PR, check this box. PiperOrigin-RevId: 359781040 Source-Link: https://github.com/googleapis/googleapis/commit/f6dd7e47620566925a4b3f1ce029e74e1b2f2516 --- .../java/com/google/logging/v2/LogEntry.java | 29 +++++++++++++++++++ .../google/logging/v2/LogEntryOrBuilder.java | 12 ++++++++ synth.metadata | 6 ++-- 3 files changed, 44 insertions(+), 3 deletions(-) diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntry.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntry.java index 4cd7900db..62660fbda 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntry.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntry.java @@ -558,6 +558,20 @@ public com.google.protobuf.AnyOrBuilder getProtoPayloadOrBuilder() { } public static final int TEXT_PAYLOAD_FIELD_NUMBER = 3; + /** + * + * + *
+   * The log entry payload, represented as a Unicode string (UTF-8).
+   * 
+ * + * string text_payload = 3; + * + * @return Whether the textPayload field is set. + */ + public boolean hasTextPayload() { + return payloadCase_ == 3; + } /** * * @@ -2675,6 +2689,21 @@ public com.google.protobuf.AnyOrBuilder getProtoPayloadOrBuilder() { return protoPayloadBuilder_; } + /** + * + * + *
+     * The log entry payload, represented as a Unicode string (UTF-8).
+     * 
+ * + * string text_payload = 3; + * + * @return Whether the textPayload field is set. + */ + @java.lang.Override + public boolean hasTextPayload() { + return payloadCase_ == 3; + } /** * * diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOrBuilder.java index 839677d0a..2a7e00bb9 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOrBuilder.java @@ -179,6 +179,18 @@ public interface LogEntryOrBuilder */ com.google.protobuf.AnyOrBuilder getProtoPayloadOrBuilder(); + /** + * + * + *
+   * The log entry payload, represented as a Unicode string (UTF-8).
+   * 
+ * + * string text_payload = 3; + * + * @return Whether the textPayload field is set. + */ + boolean hasTextPayload(); /** * * diff --git a/synth.metadata b/synth.metadata index 65e011402..b41321da8 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,15 +4,15 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-logging.git", - "sha": "9cd8474fdcd313f08216642254d72de9ce1a3214" + "sha": "23ea72e4f371bfa1509983c41840427afb7a9384" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "af8f71dae961ee036a0ac52a1965270149a6b2c9", - "internalRef": "358516065" + "sha": "f6dd7e47620566925a4b3f1ce029e74e1b2f2516", + "internalRef": "359781040" } }, {