Re-generate csharp and php golden proto files after changes to descriptor.proto.

pull/10005/head
David L. Jones 3 years ago
parent d0a4dc7661
commit 7f2368933a
  1. BIN
      csharp/src/Google.Protobuf.Test/testprotos.pb
  2. 7
      csharp/src/Google.Protobuf/Reflection/Descriptor.cs
  3. 24
      php/src/Google/Protobuf/Internal/FieldOptions.php

@ -7098,11 +7098,8 @@ namespace Google.Protobuf.Reflection {
/// check its required fields, regardless of whether or not the message has /// check its required fields, regardless of whether or not the message has
/// been parsed. /// been parsed.
/// ///
/// As of 2021, lazy does no correctness checks on the byte stream during /// As of May 2022, lazy verifies the contents of the byte stream during
/// parsing. This may lead to crashes if and when an invalid byte stream is /// parsing. An invalid byte stream will cause the overall parsing to fail.
/// finally parsed upon access.
///
/// TODO(b/211906113): Enable validation on lazy fields.
/// </summary> /// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]

@ -74,10 +74,8 @@ class FieldOptions extends \Google\Protobuf\Internal\Message
* implementation must either *always* check its required fields, or *never* * implementation must either *always* check its required fields, or *never*
* check its required fields, regardless of whether or not the message has * check its required fields, regardless of whether or not the message has
* been parsed. * been parsed.
* As of 2021, lazy does no correctness checks on the byte stream during * As of May 2022, lazy verifies the contents of the byte stream during
* parsing. This may lead to crashes if and when an invalid byte stream is * parsing. An invalid byte stream will cause the overall parsing to fail.
* finally parsed upon access.
* TODO(b/211906113): Enable validation on lazy fields.
* *
* Generated from protobuf field <code>optional bool lazy = 5 [default = false];</code> * Generated from protobuf field <code>optional bool lazy = 5 [default = false];</code>
*/ */
@ -165,10 +163,8 @@ class FieldOptions extends \Google\Protobuf\Internal\Message
* implementation must either *always* check its required fields, or *never* * implementation must either *always* check its required fields, or *never*
* check its required fields, regardless of whether or not the message has * check its required fields, regardless of whether or not the message has
* been parsed. * been parsed.
* As of 2021, lazy does no correctness checks on the byte stream during * As of May 2022, lazy verifies the contents of the byte stream during
* parsing. This may lead to crashes if and when an invalid byte stream is * parsing. An invalid byte stream will cause the overall parsing to fail.
* finally parsed upon access.
* TODO(b/211906113): Enable validation on lazy fields.
* @type bool $unverified_lazy * @type bool $unverified_lazy
* unverified_lazy does no correctness checks on the byte stream. This should * unverified_lazy does no correctness checks on the byte stream. This should
* only be used where lazy with verification is prohibitive for performance * only be used where lazy with verification is prohibitive for performance
@ -354,10 +350,8 @@ class FieldOptions extends \Google\Protobuf\Internal\Message
* implementation must either *always* check its required fields, or *never* * implementation must either *always* check its required fields, or *never*
* check its required fields, regardless of whether or not the message has * check its required fields, regardless of whether or not the message has
* been parsed. * been parsed.
* As of 2021, lazy does no correctness checks on the byte stream during * As of May 2022, lazy verifies the contents of the byte stream during
* parsing. This may lead to crashes if and when an invalid byte stream is * parsing. An invalid byte stream will cause the overall parsing to fail.
* finally parsed upon access.
* TODO(b/211906113): Enable validation on lazy fields.
* *
* Generated from protobuf field <code>optional bool lazy = 5 [default = false];</code> * Generated from protobuf field <code>optional bool lazy = 5 [default = false];</code>
* @return bool * @return bool
@ -402,10 +396,8 @@ class FieldOptions extends \Google\Protobuf\Internal\Message
* implementation must either *always* check its required fields, or *never* * implementation must either *always* check its required fields, or *never*
* check its required fields, regardless of whether or not the message has * check its required fields, regardless of whether or not the message has
* been parsed. * been parsed.
* As of 2021, lazy does no correctness checks on the byte stream during * As of May 2022, lazy verifies the contents of the byte stream during
* parsing. This may lead to crashes if and when an invalid byte stream is * parsing. An invalid byte stream will cause the overall parsing to fail.
* finally parsed upon access.
* TODO(b/211906113): Enable validation on lazy fields.
* *
* Generated from protobuf field <code>optional bool lazy = 5 [default = false];</code> * Generated from protobuf field <code>optional bool lazy = 5 [default = false];</code>
* @param bool $var * @param bool $var

Loading…
Cancel
Save