Skip to content

Commit 76370cc

Browse files
chore: update protobuf v3.15.3
This release makes --experimental_allow_proto3_optional no longer necessary. PiperOrigin-RevId: 359781040 Source-Author: Google APIs <[email protected]> Source-Date: Fri Feb 26 09:59:49 2021 -0800 Source-Repo: googleapis/googleapis Source-Sha: f6dd7e47620566925a4b3f1ce029e74e1b2f2516 Source-Link: googleapis/googleapis@f6dd7e4
1 parent 23ea72e commit 76370cc

File tree

3 files changed

+44
-3
lines changed

3 files changed

+44
-3
lines changed

proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntry.java

+29
Original file line numberDiff line numberDiff line change
@@ -558,6 +558,20 @@ public com.google.protobuf.AnyOrBuilder getProtoPayloadOrBuilder() {
558558
}
559559

560560
public static final int TEXT_PAYLOAD_FIELD_NUMBER = 3;
561+
/**
562+
*
563+
*
564+
* <pre>
565+
* The log entry payload, represented as a Unicode string (UTF-8).
566+
* </pre>
567+
*
568+
* <code>string text_payload = 3;</code>
569+
*
570+
* @return Whether the textPayload field is set.
571+
*/
572+
public boolean hasTextPayload() {
573+
return payloadCase_ == 3;
574+
}
561575
/**
562576
*
563577
*
@@ -2675,6 +2689,21 @@ public com.google.protobuf.AnyOrBuilder getProtoPayloadOrBuilder() {
26752689
return protoPayloadBuilder_;
26762690
}
26772691

2692+
/**
2693+
*
2694+
*
2695+
* <pre>
2696+
* The log entry payload, represented as a Unicode string (UTF-8).
2697+
* </pre>
2698+
*
2699+
* <code>string text_payload = 3;</code>
2700+
*
2701+
* @return Whether the textPayload field is set.
2702+
*/
2703+
@java.lang.Override
2704+
public boolean hasTextPayload() {
2705+
return payloadCase_ == 3;
2706+
}
26782707
/**
26792708
*
26802709
*

proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOrBuilder.java

+12
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,18 @@ public interface LogEntryOrBuilder
179179
*/
180180
com.google.protobuf.AnyOrBuilder getProtoPayloadOrBuilder();
181181

182+
/**
183+
*
184+
*
185+
* <pre>
186+
* The log entry payload, represented as a Unicode string (UTF-8).
187+
* </pre>
188+
*
189+
* <code>string text_payload = 3;</code>
190+
*
191+
* @return Whether the textPayload field is set.
192+
*/
193+
boolean hasTextPayload();
182194
/**
183195
*
184196
*

synth.metadata

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/java-logging.git",
7-
"sha": "9cd8474fdcd313f08216642254d72de9ce1a3214"
7+
"sha": "23ea72e4f371bfa1509983c41840427afb7a9384"
88
}
99
},
1010
{
1111
"git": {
1212
"name": "googleapis",
1313
"remote": "https://github.com/googleapis/googleapis.git",
14-
"sha": "af8f71dae961ee036a0ac52a1965270149a6b2c9",
15-
"internalRef": "358516065"
14+
"sha": "f6dd7e47620566925a4b3f1ce029e74e1b2f2516",
15+
"internalRef": "359781040"
1616
}
1717
},
1818
{

0 commit comments

Comments
 (0)