Auto-generate files after cl/596018472

pull/15291/head
Protobuf Team Bot 1 year ago
parent 679c1c9342
commit 55260d8321
  1. BIN
      csharp/src/Google.Protobuf.Test/testprotos.pb
  2. 18
      csharp/src/Google.Protobuf/Reflection/Descriptor.pb.cs

@ -8002,19 +8002,11 @@ namespace Google.Protobuf.Reflection {
/// call from multiple threads concurrently, while non-const methods continue
/// to require exclusive access.
///
/// Note that implementations may choose not to check required fields within
/// a lazy sub-message. That is, calling IsInitialized() on the outer message
/// may return true even if the inner message has missing required fields.
/// This is necessary because otherwise the inner message would have to be
/// parsed in order to perform the check, defeating the purpose of lazy
/// parsing. An implementation which chooses not to check required fields
/// must be consistent about it. That is, for any particular sub-message, the
/// implementation must either *always* check its required fields, or *never*
/// check its required fields, regardless of whether or not the message has
/// been parsed.
///
/// As of May 2022, lazy verifies the contents of the byte stream during
/// parsing. An invalid byte stream will cause the overall parsing to fail.
/// Note that lazy message fields are still eagerly verified to check
/// ill-formed wireformat or missing required fields. Calling IsInitialized()
/// on the outer message would fail if the inner message has missing required
/// fields. Failed verification would result in parsing failure (except when
/// uninitialized messages are acceptable).
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]

Loading…
Cancel
Save