|
@@ -194,7 +194,7 @@ namespace Google.Protobuf.Reflection {
|
|
|
/// The protocol compiler can output a FileDescriptorSet containing the .proto
|
|
|
/// files it parses.
|
|
|
/// </summary>
|
|
|
- public sealed partial class FileDescriptorSet : pb::IMessage<FileDescriptorSet> {
|
|
|
+ public sealed partial class FileDescriptorSet : pb::IMessage<FileDescriptorSet>, pb::IBufferMessage {
|
|
|
private static readonly pb::MessageParser<FileDescriptorSet> _parser = new pb::MessageParser<FileDescriptorSet>(() => new FileDescriptorSet());
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
@@ -299,14 +299,19 @@ namespace Google.Protobuf.Reflection {
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
public void MergeFrom(pb::CodedInputStream input) {
|
|
|
+ input.ReadRawMessage(this);
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
+ public void MergeFrom_Internal(ref pb::ParseContext input) {
|
|
|
uint tag;
|
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
|
switch(tag) {
|
|
|
default:
|
|
|
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
|
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
|
break;
|
|
|
case 10: {
|
|
|
- file_.AddEntriesFrom(input, _repeated_file_codec);
|
|
|
+ file_.AddEntriesFrom(ref input, _repeated_file_codec);
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
@@ -318,7 +323,7 @@ namespace Google.Protobuf.Reflection {
|
|
|
/// <summary>
|
|
|
/// Describes a complete .proto file.
|
|
|
/// </summary>
|
|
|
- public sealed partial class FileDescriptorProto : pb::IMessage<FileDescriptorProto> {
|
|
|
+ public sealed partial class FileDescriptorProto : pb::IMessage<FileDescriptorProto>, pb::IBufferMessage {
|
|
|
private static readonly pb::MessageParser<FileDescriptorProto> _parser = new pb::MessageParser<FileDescriptorProto>(() => new FileDescriptorProto());
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
@@ -730,11 +735,16 @@ namespace Google.Protobuf.Reflection {
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
public void MergeFrom(pb::CodedInputStream input) {
|
|
|
+ input.ReadRawMessage(this);
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
+ public void MergeFrom_Internal(ref pb::ParseContext input) {
|
|
|
uint tag;
|
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
|
switch(tag) {
|
|
|
default:
|
|
|
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
|
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
|
break;
|
|
|
case 10: {
|
|
|
Name = input.ReadString();
|
|
@@ -745,23 +755,23 @@ namespace Google.Protobuf.Reflection {
|
|
|
break;
|
|
|
}
|
|
|
case 26: {
|
|
|
- dependency_.AddEntriesFrom(input, _repeated_dependency_codec);
|
|
|
+ dependency_.AddEntriesFrom(ref input, _repeated_dependency_codec);
|
|
|
break;
|
|
|
}
|
|
|
case 34: {
|
|
|
- messageType_.AddEntriesFrom(input, _repeated_messageType_codec);
|
|
|
+ messageType_.AddEntriesFrom(ref input, _repeated_messageType_codec);
|
|
|
break;
|
|
|
}
|
|
|
case 42: {
|
|
|
- enumType_.AddEntriesFrom(input, _repeated_enumType_codec);
|
|
|
+ enumType_.AddEntriesFrom(ref input, _repeated_enumType_codec);
|
|
|
break;
|
|
|
}
|
|
|
case 50: {
|
|
|
- service_.AddEntriesFrom(input, _repeated_service_codec);
|
|
|
+ service_.AddEntriesFrom(ref input, _repeated_service_codec);
|
|
|
break;
|
|
|
}
|
|
|
case 58: {
|
|
|
- extension_.AddEntriesFrom(input, _repeated_extension_codec);
|
|
|
+ extension_.AddEntriesFrom(ref input, _repeated_extension_codec);
|
|
|
break;
|
|
|
}
|
|
|
case 66: {
|
|
@@ -780,12 +790,12 @@ namespace Google.Protobuf.Reflection {
|
|
|
}
|
|
|
case 82:
|
|
|
case 80: {
|
|
|
- publicDependency_.AddEntriesFrom(input, _repeated_publicDependency_codec);
|
|
|
+ publicDependency_.AddEntriesFrom(ref input, _repeated_publicDependency_codec);
|
|
|
break;
|
|
|
}
|
|
|
case 90:
|
|
|
case 88: {
|
|
|
- weakDependency_.AddEntriesFrom(input, _repeated_weakDependency_codec);
|
|
|
+ weakDependency_.AddEntriesFrom(ref input, _repeated_weakDependency_codec);
|
|
|
break;
|
|
|
}
|
|
|
case 98: {
|
|
@@ -801,7 +811,7 @@ namespace Google.Protobuf.Reflection {
|
|
|
/// <summary>
|
|
|
/// Describes a message type.
|
|
|
/// </summary>
|
|
|
- public sealed partial class DescriptorProto : pb::IMessage<DescriptorProto> {
|
|
|
+ public sealed partial class DescriptorProto : pb::IMessage<DescriptorProto>, pb::IBufferMessage {
|
|
|
private static readonly pb::MessageParser<DescriptorProto> _parser = new pb::MessageParser<DescriptorProto>(() => new DescriptorProto());
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
@@ -1095,34 +1105,39 @@ namespace Google.Protobuf.Reflection {
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
public void MergeFrom(pb::CodedInputStream input) {
|
|
|
+ input.ReadRawMessage(this);
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
+ public void MergeFrom_Internal(ref pb::ParseContext input) {
|
|
|
uint tag;
|
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
|
switch(tag) {
|
|
|
default:
|
|
|
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
|
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
|
break;
|
|
|
case 10: {
|
|
|
Name = input.ReadString();
|
|
|
break;
|
|
|
}
|
|
|
case 18: {
|
|
|
- field_.AddEntriesFrom(input, _repeated_field_codec);
|
|
|
+ field_.AddEntriesFrom(ref input, _repeated_field_codec);
|
|
|
break;
|
|
|
}
|
|
|
case 26: {
|
|
|
- nestedType_.AddEntriesFrom(input, _repeated_nestedType_codec);
|
|
|
+ nestedType_.AddEntriesFrom(ref input, _repeated_nestedType_codec);
|
|
|
break;
|
|
|
}
|
|
|
case 34: {
|
|
|
- enumType_.AddEntriesFrom(input, _repeated_enumType_codec);
|
|
|
+ enumType_.AddEntriesFrom(ref input, _repeated_enumType_codec);
|
|
|
break;
|
|
|
}
|
|
|
case 42: {
|
|
|
- extensionRange_.AddEntriesFrom(input, _repeated_extensionRange_codec);
|
|
|
+ extensionRange_.AddEntriesFrom(ref input, _repeated_extensionRange_codec);
|
|
|
break;
|
|
|
}
|
|
|
case 50: {
|
|
|
- extension_.AddEntriesFrom(input, _repeated_extension_codec);
|
|
|
+ extension_.AddEntriesFrom(ref input, _repeated_extension_codec);
|
|
|
break;
|
|
|
}
|
|
|
case 58: {
|
|
@@ -1133,15 +1148,15 @@ namespace Google.Protobuf.Reflection {
|
|
|
break;
|
|
|
}
|
|
|
case 66: {
|
|
|
- oneofDecl_.AddEntriesFrom(input, _repeated_oneofDecl_codec);
|
|
|
+ oneofDecl_.AddEntriesFrom(ref input, _repeated_oneofDecl_codec);
|
|
|
break;
|
|
|
}
|
|
|
case 74: {
|
|
|
- reservedRange_.AddEntriesFrom(input, _repeated_reservedRange_codec);
|
|
|
+ reservedRange_.AddEntriesFrom(ref input, _repeated_reservedRange_codec);
|
|
|
break;
|
|
|
}
|
|
|
case 82: {
|
|
|
- reservedName_.AddEntriesFrom(input, _repeated_reservedName_codec);
|
|
|
+ reservedName_.AddEntriesFrom(ref input, _repeated_reservedName_codec);
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
@@ -1152,7 +1167,7 @@ namespace Google.Protobuf.Reflection {
|
|
|
/// <summary>Container for nested types declared in the DescriptorProto message type.</summary>
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
public static partial class Types {
|
|
|
- public sealed partial class ExtensionRange : pb::IMessage<ExtensionRange> {
|
|
|
+ public sealed partial class ExtensionRange : pb::IMessage<ExtensionRange>, pb::IBufferMessage {
|
|
|
private static readonly pb::MessageParser<ExtensionRange> _parser = new pb::MessageParser<ExtensionRange>(() => new ExtensionRange());
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
private int _hasBits0;
|
|
@@ -1360,11 +1375,16 @@ namespace Google.Protobuf.Reflection {
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
public void MergeFrom(pb::CodedInputStream input) {
|
|
|
+ input.ReadRawMessage(this);
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
+ public void MergeFrom_Internal(ref pb::ParseContext input) {
|
|
|
uint tag;
|
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
|
switch(tag) {
|
|
|
default:
|
|
|
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
|
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
|
break;
|
|
|
case 8: {
|
|
|
Start = input.ReadInt32();
|
|
@@ -1392,7 +1412,7 @@ namespace Google.Protobuf.Reflection {
|
|
|
/// fields or extension ranges in the same message. Reserved ranges may
|
|
|
/// not overlap.
|
|
|
/// </summary>
|
|
|
- public sealed partial class ReservedRange : pb::IMessage<ReservedRange> {
|
|
|
+ public sealed partial class ReservedRange : pb::IMessage<ReservedRange>, pb::IBufferMessage {
|
|
|
private static readonly pb::MessageParser<ReservedRange> _parser = new pb::MessageParser<ReservedRange>(() => new ReservedRange());
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
private int _hasBits0;
|
|
@@ -1563,11 +1583,16 @@ namespace Google.Protobuf.Reflection {
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
public void MergeFrom(pb::CodedInputStream input) {
|
|
|
+ input.ReadRawMessage(this);
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
+ public void MergeFrom_Internal(ref pb::ParseContext input) {
|
|
|
uint tag;
|
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
|
switch(tag) {
|
|
|
default:
|
|
|
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
|
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
|
break;
|
|
|
case 8: {
|
|
|
Start = input.ReadInt32();
|
|
@@ -1588,7 +1613,7 @@ namespace Google.Protobuf.Reflection {
|
|
|
|
|
|
}
|
|
|
|
|
|
- public sealed partial class ExtensionRangeOptions : pb::IExtendableMessage<ExtensionRangeOptions> {
|
|
|
+ public sealed partial class ExtensionRangeOptions : pb::IExtendableMessage<ExtensionRangeOptions>, pb::IBufferMessage {
|
|
|
private static readonly pb::MessageParser<ExtensionRangeOptions> _parser = new pb::MessageParser<ExtensionRangeOptions>(() => new ExtensionRangeOptions());
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
internal pb::ExtensionSet<ExtensionRangeOptions> _extensions;
|
|
@@ -1712,16 +1737,21 @@ namespace Google.Protobuf.Reflection {
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
public void MergeFrom(pb::CodedInputStream input) {
|
|
|
+ input.ReadRawMessage(this);
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
+ public void MergeFrom_Internal(ref pb::ParseContext input) {
|
|
|
uint tag;
|
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
|
switch(tag) {
|
|
|
default:
|
|
|
- if (!pb::ExtensionSet.TryMergeFieldFrom(ref _extensions, input)) {
|
|
|
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
|
+ if (!pb::ExtensionSet.TryMergeFieldFrom(ref _extensions, ref input)) {
|
|
|
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
|
}
|
|
|
break;
|
|
|
case 7994: {
|
|
|
- uninterpretedOption_.AddEntriesFrom(input, _repeated_uninterpretedOption_codec);
|
|
|
+ uninterpretedOption_.AddEntriesFrom(ref input, _repeated_uninterpretedOption_codec);
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
@@ -1755,7 +1785,7 @@ namespace Google.Protobuf.Reflection {
|
|
|
/// <summary>
|
|
|
/// Describes a field within a message.
|
|
|
/// </summary>
|
|
|
- public sealed partial class FieldDescriptorProto : pb::IMessage<FieldDescriptorProto> {
|
|
|
+ public sealed partial class FieldDescriptorProto : pb::IMessage<FieldDescriptorProto>, pb::IBufferMessage {
|
|
|
private static readonly pb::MessageParser<FieldDescriptorProto> _parser = new pb::MessageParser<FieldDescriptorProto>(() => new FieldDescriptorProto());
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
private int _hasBits0;
|
|
@@ -2292,11 +2322,16 @@ namespace Google.Protobuf.Reflection {
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
public void MergeFrom(pb::CodedInputStream input) {
|
|
|
+ input.ReadRawMessage(this);
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
+ public void MergeFrom_Internal(ref pb::ParseContext input) {
|
|
|
uint tag;
|
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
|
switch(tag) {
|
|
|
default:
|
|
|
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
|
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
|
break;
|
|
|
case 10: {
|
|
|
Name = input.ReadString();
|
|
@@ -2421,7 +2456,7 @@ namespace Google.Protobuf.Reflection {
|
|
|
/// <summary>
|
|
|
/// Describes a oneof.
|
|
|
/// </summary>
|
|
|
- public sealed partial class OneofDescriptorProto : pb::IMessage<OneofDescriptorProto> {
|
|
|
+ public sealed partial class OneofDescriptorProto : pb::IMessage<OneofDescriptorProto>, pb::IBufferMessage {
|
|
|
private static readonly pb::MessageParser<OneofDescriptorProto> _parser = new pb::MessageParser<OneofDescriptorProto>(() => new OneofDescriptorProto());
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
@@ -2583,11 +2618,16 @@ namespace Google.Protobuf.Reflection {
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
public void MergeFrom(pb::CodedInputStream input) {
|
|
|
+ input.ReadRawMessage(this);
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
+ public void MergeFrom_Internal(ref pb::ParseContext input) {
|
|
|
uint tag;
|
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
|
switch(tag) {
|
|
|
default:
|
|
|
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
|
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
|
break;
|
|
|
case 10: {
|
|
|
Name = input.ReadString();
|
|
@@ -2609,7 +2649,7 @@ namespace Google.Protobuf.Reflection {
|
|
|
/// <summary>
|
|
|
/// Describes an enum type.
|
|
|
/// </summary>
|
|
|
- public sealed partial class EnumDescriptorProto : pb::IMessage<EnumDescriptorProto> {
|
|
|
+ public sealed partial class EnumDescriptorProto : pb::IMessage<EnumDescriptorProto>, pb::IBufferMessage {
|
|
|
private static readonly pb::MessageParser<EnumDescriptorProto> _parser = new pb::MessageParser<EnumDescriptorProto>(() => new EnumDescriptorProto());
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
@@ -2828,18 +2868,23 @@ namespace Google.Protobuf.Reflection {
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
public void MergeFrom(pb::CodedInputStream input) {
|
|
|
+ input.ReadRawMessage(this);
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
+ public void MergeFrom_Internal(ref pb::ParseContext input) {
|
|
|
uint tag;
|
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
|
switch(tag) {
|
|
|
default:
|
|
|
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
|
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
|
break;
|
|
|
case 10: {
|
|
|
Name = input.ReadString();
|
|
|
break;
|
|
|
}
|
|
|
case 18: {
|
|
|
- value_.AddEntriesFrom(input, _repeated_value_codec);
|
|
|
+ value_.AddEntriesFrom(ref input, _repeated_value_codec);
|
|
|
break;
|
|
|
}
|
|
|
case 26: {
|
|
@@ -2850,11 +2895,11 @@ namespace Google.Protobuf.Reflection {
|
|
|
break;
|
|
|
}
|
|
|
case 34: {
|
|
|
- reservedRange_.AddEntriesFrom(input, _repeated_reservedRange_codec);
|
|
|
+ reservedRange_.AddEntriesFrom(ref input, _repeated_reservedRange_codec);
|
|
|
break;
|
|
|
}
|
|
|
case 42: {
|
|
|
- reservedName_.AddEntriesFrom(input, _repeated_reservedName_codec);
|
|
|
+ reservedName_.AddEntriesFrom(ref input, _repeated_reservedName_codec);
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
@@ -2873,7 +2918,7 @@ namespace Google.Protobuf.Reflection {
|
|
|
/// is inclusive such that it can appropriately represent the entire int32
|
|
|
/// domain.
|
|
|
/// </summary>
|
|
|
- public sealed partial class EnumReservedRange : pb::IMessage<EnumReservedRange> {
|
|
|
+ public sealed partial class EnumReservedRange : pb::IMessage<EnumReservedRange>, pb::IBufferMessage {
|
|
|
private static readonly pb::MessageParser<EnumReservedRange> _parser = new pb::MessageParser<EnumReservedRange>(() => new EnumReservedRange());
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
private int _hasBits0;
|
|
@@ -3044,11 +3089,16 @@ namespace Google.Protobuf.Reflection {
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
public void MergeFrom(pb::CodedInputStream input) {
|
|
|
+ input.ReadRawMessage(this);
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
+ public void MergeFrom_Internal(ref pb::ParseContext input) {
|
|
|
uint tag;
|
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
|
switch(tag) {
|
|
|
default:
|
|
|
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
|
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
|
break;
|
|
|
case 8: {
|
|
|
Start = input.ReadInt32();
|
|
@@ -3072,7 +3122,7 @@ namespace Google.Protobuf.Reflection {
|
|
|
/// <summary>
|
|
|
/// Describes a value within an enum.
|
|
|
/// </summary>
|
|
|
- public sealed partial class EnumValueDescriptorProto : pb::IMessage<EnumValueDescriptorProto> {
|
|
|
+ public sealed partial class EnumValueDescriptorProto : pb::IMessage<EnumValueDescriptorProto>, pb::IBufferMessage {
|
|
|
private static readonly pb::MessageParser<EnumValueDescriptorProto> _parser = new pb::MessageParser<EnumValueDescriptorProto>(() => new EnumValueDescriptorProto());
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
private int _hasBits0;
|
|
@@ -3273,11 +3323,16 @@ namespace Google.Protobuf.Reflection {
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
public void MergeFrom(pb::CodedInputStream input) {
|
|
|
+ input.ReadRawMessage(this);
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
+ public void MergeFrom_Internal(ref pb::ParseContext input) {
|
|
|
uint tag;
|
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
|
switch(tag) {
|
|
|
default:
|
|
|
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
|
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
|
break;
|
|
|
case 10: {
|
|
|
Name = input.ReadString();
|
|
@@ -3303,7 +3358,7 @@ namespace Google.Protobuf.Reflection {
|
|
|
/// <summary>
|
|
|
/// Describes a service.
|
|
|
/// </summary>
|
|
|
- public sealed partial class ServiceDescriptorProto : pb::IMessage<ServiceDescriptorProto> {
|
|
|
+ public sealed partial class ServiceDescriptorProto : pb::IMessage<ServiceDescriptorProto>, pb::IBufferMessage {
|
|
|
private static readonly pb::MessageParser<ServiceDescriptorProto> _parser = new pb::MessageParser<ServiceDescriptorProto>(() => new ServiceDescriptorProto());
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
@@ -3481,18 +3536,23 @@ namespace Google.Protobuf.Reflection {
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
public void MergeFrom(pb::CodedInputStream input) {
|
|
|
+ input.ReadRawMessage(this);
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
+ public void MergeFrom_Internal(ref pb::ParseContext input) {
|
|
|
uint tag;
|
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
|
switch(tag) {
|
|
|
default:
|
|
|
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
|
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
|
break;
|
|
|
case 10: {
|
|
|
Name = input.ReadString();
|
|
|
break;
|
|
|
}
|
|
|
case 18: {
|
|
|
- method_.AddEntriesFrom(input, _repeated_method_codec);
|
|
|
+ method_.AddEntriesFrom(ref input, _repeated_method_codec);
|
|
|
break;
|
|
|
}
|
|
|
case 26: {
|
|
@@ -3511,7 +3571,7 @@ namespace Google.Protobuf.Reflection {
|
|
|
/// <summary>
|
|
|
/// Describes a method of a service.
|
|
|
/// </summary>
|
|
|
- public sealed partial class MethodDescriptorProto : pb::IMessage<MethodDescriptorProto> {
|
|
|
+ public sealed partial class MethodDescriptorProto : pb::IMessage<MethodDescriptorProto>, pb::IBufferMessage {
|
|
|
private static readonly pb::MessageParser<MethodDescriptorProto> _parser = new pb::MessageParser<MethodDescriptorProto>(() => new MethodDescriptorProto());
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
private int _hasBits0;
|
|
@@ -3831,11 +3891,16 @@ namespace Google.Protobuf.Reflection {
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
public void MergeFrom(pb::CodedInputStream input) {
|
|
|
+ input.ReadRawMessage(this);
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
+ public void MergeFrom_Internal(ref pb::ParseContext input) {
|
|
|
uint tag;
|
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
|
switch(tag) {
|
|
|
default:
|
|
|
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
|
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
|
break;
|
|
|
case 10: {
|
|
|
Name = input.ReadString();
|
|
@@ -3870,7 +3935,7 @@ namespace Google.Protobuf.Reflection {
|
|
|
|
|
|
}
|
|
|
|
|
|
- public sealed partial class FileOptions : pb::IExtendableMessage<FileOptions> {
|
|
|
+ public sealed partial class FileOptions : pb::IExtendableMessage<FileOptions>, pb::IBufferMessage {
|
|
|
private static readonly pb::MessageParser<FileOptions> _parser = new pb::MessageParser<FileOptions>(() => new FileOptions());
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
internal pb::ExtensionSet<FileOptions> _extensions;
|
|
@@ -4823,12 +4888,17 @@ namespace Google.Protobuf.Reflection {
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
public void MergeFrom(pb::CodedInputStream input) {
|
|
|
+ input.ReadRawMessage(this);
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
+ public void MergeFrom_Internal(ref pb::ParseContext input) {
|
|
|
uint tag;
|
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
|
switch(tag) {
|
|
|
default:
|
|
|
- if (!pb::ExtensionSet.TryMergeFieldFrom(ref _extensions, input)) {
|
|
|
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
|
+ if (!pb::ExtensionSet.TryMergeFieldFrom(ref _extensions, ref input)) {
|
|
|
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
|
}
|
|
|
break;
|
|
|
case 10: {
|
|
@@ -4912,7 +4982,7 @@ namespace Google.Protobuf.Reflection {
|
|
|
break;
|
|
|
}
|
|
|
case 7994: {
|
|
|
- uninterpretedOption_.AddEntriesFrom(input, _repeated_uninterpretedOption_codec);
|
|
|
+ uninterpretedOption_.AddEntriesFrom(ref input, _repeated_uninterpretedOption_codec);
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
@@ -4968,7 +5038,7 @@ namespace Google.Protobuf.Reflection {
|
|
|
|
|
|
}
|
|
|
|
|
|
- public sealed partial class MessageOptions : pb::IExtendableMessage<MessageOptions> {
|
|
|
+ public sealed partial class MessageOptions : pb::IExtendableMessage<MessageOptions>, pb::IBufferMessage {
|
|
|
private static readonly pb::MessageParser<MessageOptions> _parser = new pb::MessageParser<MessageOptions>(() => new MessageOptions());
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
internal pb::ExtensionSet<MessageOptions> _extensions;
|
|
@@ -5296,12 +5366,17 @@ namespace Google.Protobuf.Reflection {
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
public void MergeFrom(pb::CodedInputStream input) {
|
|
|
+ input.ReadRawMessage(this);
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
+ public void MergeFrom_Internal(ref pb::ParseContext input) {
|
|
|
uint tag;
|
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
|
switch(tag) {
|
|
|
default:
|
|
|
- if (!pb::ExtensionSet.TryMergeFieldFrom(ref _extensions, input)) {
|
|
|
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
|
+ if (!pb::ExtensionSet.TryMergeFieldFrom(ref _extensions, ref input)) {
|
|
|
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
|
}
|
|
|
break;
|
|
|
case 8: {
|
|
@@ -5321,7 +5396,7 @@ namespace Google.Protobuf.Reflection {
|
|
|
break;
|
|
|
}
|
|
|
case 7994: {
|
|
|
- uninterpretedOption_.AddEntriesFrom(input, _repeated_uninterpretedOption_codec);
|
|
|
+ uninterpretedOption_.AddEntriesFrom(ref input, _repeated_uninterpretedOption_codec);
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
@@ -5352,7 +5427,7 @@ namespace Google.Protobuf.Reflection {
|
|
|
|
|
|
}
|
|
|
|
|
|
- public sealed partial class FieldOptions : pb::IExtendableMessage<FieldOptions> {
|
|
|
+ public sealed partial class FieldOptions : pb::IExtendableMessage<FieldOptions>, pb::IBufferMessage {
|
|
|
private static readonly pb::MessageParser<FieldOptions> _parser = new pb::MessageParser<FieldOptions>(() => new FieldOptions());
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
internal pb::ExtensionSet<FieldOptions> _extensions;
|
|
@@ -5764,12 +5839,17 @@ namespace Google.Protobuf.Reflection {
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
public void MergeFrom(pb::CodedInputStream input) {
|
|
|
+ input.ReadRawMessage(this);
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
+ public void MergeFrom_Internal(ref pb::ParseContext input) {
|
|
|
uint tag;
|
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
|
switch(tag) {
|
|
|
default:
|
|
|
- if (!pb::ExtensionSet.TryMergeFieldFrom(ref _extensions, input)) {
|
|
|
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
|
+ if (!pb::ExtensionSet.TryMergeFieldFrom(ref _extensions, ref input)) {
|
|
|
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
|
}
|
|
|
break;
|
|
|
case 8: {
|
|
@@ -5797,7 +5877,7 @@ namespace Google.Protobuf.Reflection {
|
|
|
break;
|
|
|
}
|
|
|
case 7994: {
|
|
|
- uninterpretedOption_.AddEntriesFrom(input, _repeated_uninterpretedOption_codec);
|
|
|
+ uninterpretedOption_.AddEntriesFrom(ref input, _repeated_uninterpretedOption_codec);
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
@@ -5859,7 +5939,7 @@ namespace Google.Protobuf.Reflection {
|
|
|
|
|
|
}
|
|
|
|
|
|
- public sealed partial class OneofOptions : pb::IExtendableMessage<OneofOptions> {
|
|
|
+ public sealed partial class OneofOptions : pb::IExtendableMessage<OneofOptions>, pb::IBufferMessage {
|
|
|
private static readonly pb::MessageParser<OneofOptions> _parser = new pb::MessageParser<OneofOptions>(() => new OneofOptions());
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
internal pb::ExtensionSet<OneofOptions> _extensions;
|
|
@@ -5983,16 +6063,21 @@ namespace Google.Protobuf.Reflection {
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
public void MergeFrom(pb::CodedInputStream input) {
|
|
|
+ input.ReadRawMessage(this);
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
+ public void MergeFrom_Internal(ref pb::ParseContext input) {
|
|
|
uint tag;
|
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
|
switch(tag) {
|
|
|
default:
|
|
|
- if (!pb::ExtensionSet.TryMergeFieldFrom(ref _extensions, input)) {
|
|
|
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
|
+ if (!pb::ExtensionSet.TryMergeFieldFrom(ref _extensions, ref input)) {
|
|
|
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
|
}
|
|
|
break;
|
|
|
case 7994: {
|
|
|
- uninterpretedOption_.AddEntriesFrom(input, _repeated_uninterpretedOption_codec);
|
|
|
+ uninterpretedOption_.AddEntriesFrom(ref input, _repeated_uninterpretedOption_codec);
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
@@ -6023,7 +6108,7 @@ namespace Google.Protobuf.Reflection {
|
|
|
|
|
|
}
|
|
|
|
|
|
- public sealed partial class EnumOptions : pb::IExtendableMessage<EnumOptions> {
|
|
|
+ public sealed partial class EnumOptions : pb::IExtendableMessage<EnumOptions>, pb::IBufferMessage {
|
|
|
private static readonly pb::MessageParser<EnumOptions> _parser = new pb::MessageParser<EnumOptions>(() => new EnumOptions());
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
internal pb::ExtensionSet<EnumOptions> _extensions;
|
|
@@ -6233,12 +6318,17 @@ namespace Google.Protobuf.Reflection {
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
public void MergeFrom(pb::CodedInputStream input) {
|
|
|
+ input.ReadRawMessage(this);
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
+ public void MergeFrom_Internal(ref pb::ParseContext input) {
|
|
|
uint tag;
|
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
|
switch(tag) {
|
|
|
default:
|
|
|
- if (!pb::ExtensionSet.TryMergeFieldFrom(ref _extensions, input)) {
|
|
|
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
|
+ if (!pb::ExtensionSet.TryMergeFieldFrom(ref _extensions, ref input)) {
|
|
|
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
|
}
|
|
|
break;
|
|
|
case 16: {
|
|
@@ -6250,7 +6340,7 @@ namespace Google.Protobuf.Reflection {
|
|
|
break;
|
|
|
}
|
|
|
case 7994: {
|
|
|
- uninterpretedOption_.AddEntriesFrom(input, _repeated_uninterpretedOption_codec);
|
|
|
+ uninterpretedOption_.AddEntriesFrom(ref input, _repeated_uninterpretedOption_codec);
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
@@ -6281,7 +6371,7 @@ namespace Google.Protobuf.Reflection {
|
|
|
|
|
|
}
|
|
|
|
|
|
- public sealed partial class EnumValueOptions : pb::IExtendableMessage<EnumValueOptions> {
|
|
|
+ public sealed partial class EnumValueOptions : pb::IExtendableMessage<EnumValueOptions>, pb::IBufferMessage {
|
|
|
private static readonly pb::MessageParser<EnumValueOptions> _parser = new pb::MessageParser<EnumValueOptions>(() => new EnumValueOptions());
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
internal pb::ExtensionSet<EnumValueOptions> _extensions;
|
|
@@ -6450,12 +6540,17 @@ namespace Google.Protobuf.Reflection {
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
public void MergeFrom(pb::CodedInputStream input) {
|
|
|
+ input.ReadRawMessage(this);
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
+ public void MergeFrom_Internal(ref pb::ParseContext input) {
|
|
|
uint tag;
|
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
|
switch(tag) {
|
|
|
default:
|
|
|
- if (!pb::ExtensionSet.TryMergeFieldFrom(ref _extensions, input)) {
|
|
|
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
|
+ if (!pb::ExtensionSet.TryMergeFieldFrom(ref _extensions, ref input)) {
|
|
|
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
|
}
|
|
|
break;
|
|
|
case 8: {
|
|
@@ -6463,7 +6558,7 @@ namespace Google.Protobuf.Reflection {
|
|
|
break;
|
|
|
}
|
|
|
case 7994: {
|
|
|
- uninterpretedOption_.AddEntriesFrom(input, _repeated_uninterpretedOption_codec);
|
|
|
+ uninterpretedOption_.AddEntriesFrom(ref input, _repeated_uninterpretedOption_codec);
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
@@ -6494,7 +6589,7 @@ namespace Google.Protobuf.Reflection {
|
|
|
|
|
|
}
|
|
|
|
|
|
- public sealed partial class ServiceOptions : pb::IExtendableMessage<ServiceOptions> {
|
|
|
+ public sealed partial class ServiceOptions : pb::IExtendableMessage<ServiceOptions>, pb::IBufferMessage {
|
|
|
private static readonly pb::MessageParser<ServiceOptions> _parser = new pb::MessageParser<ServiceOptions>(() => new ServiceOptions());
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
internal pb::ExtensionSet<ServiceOptions> _extensions;
|
|
@@ -6663,12 +6758,17 @@ namespace Google.Protobuf.Reflection {
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
public void MergeFrom(pb::CodedInputStream input) {
|
|
|
+ input.ReadRawMessage(this);
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
+ public void MergeFrom_Internal(ref pb::ParseContext input) {
|
|
|
uint tag;
|
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
|
switch(tag) {
|
|
|
default:
|
|
|
- if (!pb::ExtensionSet.TryMergeFieldFrom(ref _extensions, input)) {
|
|
|
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
|
+ if (!pb::ExtensionSet.TryMergeFieldFrom(ref _extensions, ref input)) {
|
|
|
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
|
}
|
|
|
break;
|
|
|
case 264: {
|
|
@@ -6676,7 +6776,7 @@ namespace Google.Protobuf.Reflection {
|
|
|
break;
|
|
|
}
|
|
|
case 7994: {
|
|
|
- uninterpretedOption_.AddEntriesFrom(input, _repeated_uninterpretedOption_codec);
|
|
|
+ uninterpretedOption_.AddEntriesFrom(ref input, _repeated_uninterpretedOption_codec);
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
@@ -6707,7 +6807,7 @@ namespace Google.Protobuf.Reflection {
|
|
|
|
|
|
}
|
|
|
|
|
|
- public sealed partial class MethodOptions : pb::IExtendableMessage<MethodOptions> {
|
|
|
+ public sealed partial class MethodOptions : pb::IExtendableMessage<MethodOptions>, pb::IBufferMessage {
|
|
|
private static readonly pb::MessageParser<MethodOptions> _parser = new pb::MessageParser<MethodOptions>(() => new MethodOptions());
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
internal pb::ExtensionSet<MethodOptions> _extensions;
|
|
@@ -6913,12 +7013,17 @@ namespace Google.Protobuf.Reflection {
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
public void MergeFrom(pb::CodedInputStream input) {
|
|
|
+ input.ReadRawMessage(this);
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
+ public void MergeFrom_Internal(ref pb::ParseContext input) {
|
|
|
uint tag;
|
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
|
switch(tag) {
|
|
|
default:
|
|
|
- if (!pb::ExtensionSet.TryMergeFieldFrom(ref _extensions, input)) {
|
|
|
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
|
+ if (!pb::ExtensionSet.TryMergeFieldFrom(ref _extensions, ref input)) {
|
|
|
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
|
}
|
|
|
break;
|
|
|
case 264: {
|
|
@@ -6930,7 +7035,7 @@ namespace Google.Protobuf.Reflection {
|
|
|
break;
|
|
|
}
|
|
|
case 7994: {
|
|
|
- uninterpretedOption_.AddEntriesFrom(input, _repeated_uninterpretedOption_codec);
|
|
|
+ uninterpretedOption_.AddEntriesFrom(ref input, _repeated_uninterpretedOption_codec);
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
@@ -6993,7 +7098,7 @@ namespace Google.Protobuf.Reflection {
|
|
|
/// or produced by Descriptor::CopyTo()) will never have UninterpretedOptions
|
|
|
/// in them.
|
|
|
/// </summary>
|
|
|
- public sealed partial class UninterpretedOption : pb::IMessage<UninterpretedOption> {
|
|
|
+ public sealed partial class UninterpretedOption : pb::IMessage<UninterpretedOption>, pb::IBufferMessage {
|
|
|
private static readonly pb::MessageParser<UninterpretedOption> _parser = new pb::MessageParser<UninterpretedOption>(() => new UninterpretedOption());
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
private int _hasBits0;
|
|
@@ -7323,14 +7428,19 @@ namespace Google.Protobuf.Reflection {
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
public void MergeFrom(pb::CodedInputStream input) {
|
|
|
+ input.ReadRawMessage(this);
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
+ public void MergeFrom_Internal(ref pb::ParseContext input) {
|
|
|
uint tag;
|
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
|
switch(tag) {
|
|
|
default:
|
|
|
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
|
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
|
break;
|
|
|
case 18: {
|
|
|
- name_.AddEntriesFrom(input, _repeated_name_codec);
|
|
|
+ name_.AddEntriesFrom(ref input, _repeated_name_codec);
|
|
|
break;
|
|
|
}
|
|
|
case 26: {
|
|
@@ -7372,7 +7482,7 @@ namespace Google.Protobuf.Reflection {
|
|
|
/// E.g.,{ ["foo", false], ["bar.baz", true], ["qux", false] } represents
|
|
|
/// "foo.(bar.baz).qux".
|
|
|
/// </summary>
|
|
|
- public sealed partial class NamePart : pb::IMessage<NamePart> {
|
|
|
+ public sealed partial class NamePart : pb::IMessage<NamePart>, pb::IBufferMessage {
|
|
|
private static readonly pb::MessageParser<NamePart> _parser = new pb::MessageParser<NamePart>(() => new NamePart());
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
private int _hasBits0;
|
|
@@ -7536,11 +7646,16 @@ namespace Google.Protobuf.Reflection {
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
public void MergeFrom(pb::CodedInputStream input) {
|
|
|
+ input.ReadRawMessage(this);
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
+ public void MergeFrom_Internal(ref pb::ParseContext input) {
|
|
|
uint tag;
|
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
|
switch(tag) {
|
|
|
default:
|
|
|
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
|
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
|
break;
|
|
|
case 10: {
|
|
|
NamePart_ = input.ReadString();
|
|
@@ -7565,7 +7680,7 @@ namespace Google.Protobuf.Reflection {
|
|
|
/// Encapsulates information about the original source file from which a
|
|
|
/// FileDescriptorProto was generated.
|
|
|
/// </summary>
|
|
|
- public sealed partial class SourceCodeInfo : pb::IMessage<SourceCodeInfo> {
|
|
|
+ public sealed partial class SourceCodeInfo : pb::IMessage<SourceCodeInfo>, pb::IBufferMessage {
|
|
|
private static readonly pb::MessageParser<SourceCodeInfo> _parser = new pb::MessageParser<SourceCodeInfo>(() => new SourceCodeInfo());
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
@@ -7715,14 +7830,19 @@ namespace Google.Protobuf.Reflection {
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
public void MergeFrom(pb::CodedInputStream input) {
|
|
|
+ input.ReadRawMessage(this);
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
+ public void MergeFrom_Internal(ref pb::ParseContext input) {
|
|
|
uint tag;
|
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
|
switch(tag) {
|
|
|
default:
|
|
|
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
|
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
|
break;
|
|
|
case 10: {
|
|
|
- location_.AddEntriesFrom(input, _repeated_location_codec);
|
|
|
+ location_.AddEntriesFrom(ref input, _repeated_location_codec);
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
@@ -7733,7 +7853,7 @@ namespace Google.Protobuf.Reflection {
|
|
|
/// <summary>Container for nested types declared in the SourceCodeInfo message type.</summary>
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
public static partial class Types {
|
|
|
- public sealed partial class Location : pb::IMessage<Location> {
|
|
|
+ public sealed partial class Location : pb::IMessage<Location>, pb::IBufferMessage {
|
|
|
private static readonly pb::MessageParser<Location> _parser = new pb::MessageParser<Location>(() => new Location());
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
@@ -8023,20 +8143,25 @@ namespace Google.Protobuf.Reflection {
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
public void MergeFrom(pb::CodedInputStream input) {
|
|
|
+ input.ReadRawMessage(this);
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
+ public void MergeFrom_Internal(ref pb::ParseContext input) {
|
|
|
uint tag;
|
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
|
switch(tag) {
|
|
|
default:
|
|
|
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
|
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
|
break;
|
|
|
case 10:
|
|
|
case 8: {
|
|
|
- path_.AddEntriesFrom(input, _repeated_path_codec);
|
|
|
+ path_.AddEntriesFrom(ref input, _repeated_path_codec);
|
|
|
break;
|
|
|
}
|
|
|
case 18:
|
|
|
case 16: {
|
|
|
- span_.AddEntriesFrom(input, _repeated_span_codec);
|
|
|
+ span_.AddEntriesFrom(ref input, _repeated_span_codec);
|
|
|
break;
|
|
|
}
|
|
|
case 26: {
|
|
@@ -8048,7 +8173,7 @@ namespace Google.Protobuf.Reflection {
|
|
|
break;
|
|
|
}
|
|
|
case 50: {
|
|
|
- leadingDetachedComments_.AddEntriesFrom(input, _repeated_leadingDetachedComments_codec);
|
|
|
+ leadingDetachedComments_.AddEntriesFrom(ref input, _repeated_leadingDetachedComments_codec);
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
@@ -8067,7 +8192,7 @@ namespace Google.Protobuf.Reflection {
|
|
|
/// file. A GeneratedCodeInfo message is associated with only one generated
|
|
|
/// source file, but may contain references to different source .proto files.
|
|
|
/// </summary>
|
|
|
- public sealed partial class GeneratedCodeInfo : pb::IMessage<GeneratedCodeInfo> {
|
|
|
+ public sealed partial class GeneratedCodeInfo : pb::IMessage<GeneratedCodeInfo>, pb::IBufferMessage {
|
|
|
private static readonly pb::MessageParser<GeneratedCodeInfo> _parser = new pb::MessageParser<GeneratedCodeInfo>(() => new GeneratedCodeInfo());
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
@@ -8176,14 +8301,19 @@ namespace Google.Protobuf.Reflection {
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
public void MergeFrom(pb::CodedInputStream input) {
|
|
|
+ input.ReadRawMessage(this);
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
+ public void MergeFrom_Internal(ref pb::ParseContext input) {
|
|
|
uint tag;
|
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
|
switch(tag) {
|
|
|
default:
|
|
|
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
|
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
|
break;
|
|
|
case 10: {
|
|
|
- annotation_.AddEntriesFrom(input, _repeated_annotation_codec);
|
|
|
+ annotation_.AddEntriesFrom(ref input, _repeated_annotation_codec);
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
@@ -8194,7 +8324,7 @@ namespace Google.Protobuf.Reflection {
|
|
|
/// <summary>Container for nested types declared in the GeneratedCodeInfo message type.</summary>
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
public static partial class Types {
|
|
|
- public sealed partial class Annotation : pb::IMessage<Annotation> {
|
|
|
+ public sealed partial class Annotation : pb::IMessage<Annotation>, pb::IBufferMessage {
|
|
|
private static readonly pb::MessageParser<Annotation> _parser = new pb::MessageParser<Annotation>(() => new Annotation());
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
private int _hasBits0;
|
|
@@ -8427,15 +8557,20 @@ namespace Google.Protobuf.Reflection {
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
public void MergeFrom(pb::CodedInputStream input) {
|
|
|
+ input.ReadRawMessage(this);
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
+ public void MergeFrom_Internal(ref pb::ParseContext input) {
|
|
|
uint tag;
|
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
|
switch(tag) {
|
|
|
default:
|
|
|
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
|
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
|
break;
|
|
|
case 10:
|
|
|
case 8: {
|
|
|
- path_.AddEntriesFrom(input, _repeated_path_codec);
|
|
|
+ path_.AddEntriesFrom(ref input, _repeated_path_codec);
|
|
|
break;
|
|
|
}
|
|
|
case 18: {
|