Auto-generate files after cl/605097398

pull/15756/head
Protobuf Team Bot 1 year ago
parent 49fdc9d1cd
commit 4767a309d3
  1. BIN
      csharp/src/Google.Protobuf.Test/testprotos.pb
  2. 16
      csharp/src/Google.Protobuf/Reflection/Descriptor.pb.cs

@ -6031,12 +6031,16 @@ namespace Google.Protobuf.Reflection {
private bool javaStringCheckUtf8_; private bool javaStringCheckUtf8_;
/// <summary> /// <summary>
/// If set true, then the Java2 code generator will generate code that /// A proto2 file can set this to true to opt in to UTF-8 checking for Java,
/// throws an exception whenever an attempt is made to assign a non-UTF-8 /// which will throw an exception if invalid UTF-8 is parsed from the wire or
/// byte sequence to a string field. /// assigned to a string field.
/// Message reflection will do the same. ///
/// However, an extension field still accepts non-UTF-8 byte sequences. /// TODO: clarify exactly what kinds of field types this option
/// This option has no effect on when used with the lite runtime. /// applies to, and update these docs accordingly.
///
/// Proto3 files already perform these checks. Setting the option explicitly to
/// false has no effect: it cannot be used to opt proto3 files out of UTF-8
/// checks.
/// </summary> /// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]

Loading…
Cancel
Save