|
|
@ -257,7 +257,11 @@ namespace UnitTest.Issues.TestProtos { |
|
|
|
/// A test message with custom options at all possible locations (and also some |
|
|
|
/// A test message with custom options at all possible locations (and also some |
|
|
|
/// regular options, to make sure they interact nicely). |
|
|
|
/// regular options, to make sure they interact nicely). |
|
|
|
/// </summary> |
|
|
|
/// </summary> |
|
|
|
public sealed partial class TestMessageWithCustomOptions : pb::IMessage<TestMessageWithCustomOptions>, pb::IBufferMessage { |
|
|
|
public sealed partial class TestMessageWithCustomOptions : pb::IMessage<TestMessageWithCustomOptions> |
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
|
|
|
|
, pb::IBufferMessage |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
{ |
|
|
|
private static readonly pb::MessageParser<TestMessageWithCustomOptions> _parser = new pb::MessageParser<TestMessageWithCustomOptions>(() => new TestMessageWithCustomOptions()); |
|
|
|
private static readonly pb::MessageParser<TestMessageWithCustomOptions> _parser = new pb::MessageParser<TestMessageWithCustomOptions>(() => new TestMessageWithCustomOptions()); |
|
|
|
private pb::UnknownFieldSet _unknownFields; |
|
|
|
private pb::UnknownFieldSet _unknownFields; |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
@ -422,9 +426,29 @@ namespace UnitTest.Issues.TestProtos { |
|
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
public void MergeFrom(pb::CodedInputStream input) { |
|
|
|
public void MergeFrom(pb::CodedInputStream input) { |
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
input.ReadRawMessage(this); |
|
|
|
input.ReadRawMessage(this); |
|
|
|
|
|
|
|
#else |
|
|
|
|
|
|
|
uint tag; |
|
|
|
|
|
|
|
while ((tag = input.ReadTag()) != 0) { |
|
|
|
|
|
|
|
switch(tag) { |
|
|
|
|
|
|
|
default: |
|
|
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
case 10: { |
|
|
|
|
|
|
|
Field1 = input.ReadString(); |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
case 16: { |
|
|
|
|
|
|
|
OneofField = input.ReadInt32(); |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
#endif |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
|
|
|
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
|
|
|
uint tag; |
|
|
|
uint tag; |
|
|
@ -444,6 +468,7 @@ namespace UnitTest.Issues.TestProtos { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#region Nested types |
|
|
|
#region Nested types |
|
|
|
/// <summary>Container for nested types declared in the TestMessageWithCustomOptions message type.</summary> |
|
|
|
/// <summary>Container for nested types declared in the TestMessageWithCustomOptions message type.</summary> |
|
|
@ -464,7 +489,11 @@ namespace UnitTest.Issues.TestProtos { |
|
|
|
/// A test RPC service with custom options at all possible locations (and also |
|
|
|
/// A test RPC service with custom options at all possible locations (and also |
|
|
|
/// some regular options, to make sure they interact nicely). |
|
|
|
/// some regular options, to make sure they interact nicely). |
|
|
|
/// </summary> |
|
|
|
/// </summary> |
|
|
|
public sealed partial class CustomOptionFooRequest : pb::IMessage<CustomOptionFooRequest>, pb::IBufferMessage { |
|
|
|
public sealed partial class CustomOptionFooRequest : pb::IMessage<CustomOptionFooRequest> |
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
|
|
|
|
, pb::IBufferMessage |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
{ |
|
|
|
private static readonly pb::MessageParser<CustomOptionFooRequest> _parser = new pb::MessageParser<CustomOptionFooRequest>(() => new CustomOptionFooRequest()); |
|
|
|
private static readonly pb::MessageParser<CustomOptionFooRequest> _parser = new pb::MessageParser<CustomOptionFooRequest>(() => new CustomOptionFooRequest()); |
|
|
|
private pb::UnknownFieldSet _unknownFields; |
|
|
|
private pb::UnknownFieldSet _unknownFields; |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
@ -553,9 +582,21 @@ namespace UnitTest.Issues.TestProtos { |
|
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
public void MergeFrom(pb::CodedInputStream input) { |
|
|
|
public void MergeFrom(pb::CodedInputStream input) { |
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
input.ReadRawMessage(this); |
|
|
|
input.ReadRawMessage(this); |
|
|
|
|
|
|
|
#else |
|
|
|
|
|
|
|
uint tag; |
|
|
|
|
|
|
|
while ((tag = input.ReadTag()) != 0) { |
|
|
|
|
|
|
|
switch(tag) { |
|
|
|
|
|
|
|
default: |
|
|
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
#endif |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
|
|
|
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
|
|
|
uint tag; |
|
|
|
uint tag; |
|
|
@ -567,10 +608,15 @@ namespace UnitTest.Issues.TestProtos { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public sealed partial class CustomOptionFooResponse : pb::IMessage<CustomOptionFooResponse>, pb::IBufferMessage { |
|
|
|
public sealed partial class CustomOptionFooResponse : pb::IMessage<CustomOptionFooResponse> |
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
|
|
|
|
, pb::IBufferMessage |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
{ |
|
|
|
private static readonly pb::MessageParser<CustomOptionFooResponse> _parser = new pb::MessageParser<CustomOptionFooResponse>(() => new CustomOptionFooResponse()); |
|
|
|
private static readonly pb::MessageParser<CustomOptionFooResponse> _parser = new pb::MessageParser<CustomOptionFooResponse>(() => new CustomOptionFooResponse()); |
|
|
|
private pb::UnknownFieldSet _unknownFields; |
|
|
|
private pb::UnknownFieldSet _unknownFields; |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
@ -659,9 +705,21 @@ namespace UnitTest.Issues.TestProtos { |
|
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
public void MergeFrom(pb::CodedInputStream input) { |
|
|
|
public void MergeFrom(pb::CodedInputStream input) { |
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
input.ReadRawMessage(this); |
|
|
|
input.ReadRawMessage(this); |
|
|
|
|
|
|
|
#else |
|
|
|
|
|
|
|
uint tag; |
|
|
|
|
|
|
|
while ((tag = input.ReadTag()) != 0) { |
|
|
|
|
|
|
|
switch(tag) { |
|
|
|
|
|
|
|
default: |
|
|
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
#endif |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
|
|
|
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
|
|
|
uint tag; |
|
|
|
uint tag; |
|
|
@ -673,10 +731,15 @@ namespace UnitTest.Issues.TestProtos { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public sealed partial class CustomOptionFooClientMessage : pb::IMessage<CustomOptionFooClientMessage>, pb::IBufferMessage { |
|
|
|
public sealed partial class CustomOptionFooClientMessage : pb::IMessage<CustomOptionFooClientMessage> |
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
|
|
|
|
, pb::IBufferMessage |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
{ |
|
|
|
private static readonly pb::MessageParser<CustomOptionFooClientMessage> _parser = new pb::MessageParser<CustomOptionFooClientMessage>(() => new CustomOptionFooClientMessage()); |
|
|
|
private static readonly pb::MessageParser<CustomOptionFooClientMessage> _parser = new pb::MessageParser<CustomOptionFooClientMessage>(() => new CustomOptionFooClientMessage()); |
|
|
|
private pb::UnknownFieldSet _unknownFields; |
|
|
|
private pb::UnknownFieldSet _unknownFields; |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
@ -765,9 +828,21 @@ namespace UnitTest.Issues.TestProtos { |
|
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
public void MergeFrom(pb::CodedInputStream input) { |
|
|
|
public void MergeFrom(pb::CodedInputStream input) { |
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
input.ReadRawMessage(this); |
|
|
|
input.ReadRawMessage(this); |
|
|
|
|
|
|
|
#else |
|
|
|
|
|
|
|
uint tag; |
|
|
|
|
|
|
|
while ((tag = input.ReadTag()) != 0) { |
|
|
|
|
|
|
|
switch(tag) { |
|
|
|
|
|
|
|
default: |
|
|
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
#endif |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
|
|
|
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
|
|
|
uint tag; |
|
|
|
uint tag; |
|
|
@ -779,10 +854,15 @@ namespace UnitTest.Issues.TestProtos { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public sealed partial class CustomOptionFooServerMessage : pb::IMessage<CustomOptionFooServerMessage>, pb::IBufferMessage { |
|
|
|
public sealed partial class CustomOptionFooServerMessage : pb::IMessage<CustomOptionFooServerMessage> |
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
|
|
|
|
, pb::IBufferMessage |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
{ |
|
|
|
private static readonly pb::MessageParser<CustomOptionFooServerMessage> _parser = new pb::MessageParser<CustomOptionFooServerMessage>(() => new CustomOptionFooServerMessage()); |
|
|
|
private static readonly pb::MessageParser<CustomOptionFooServerMessage> _parser = new pb::MessageParser<CustomOptionFooServerMessage>(() => new CustomOptionFooServerMessage()); |
|
|
|
private pb::UnknownFieldSet _unknownFields; |
|
|
|
private pb::UnknownFieldSet _unknownFields; |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
@ -871,9 +951,21 @@ namespace UnitTest.Issues.TestProtos { |
|
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
public void MergeFrom(pb::CodedInputStream input) { |
|
|
|
public void MergeFrom(pb::CodedInputStream input) { |
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
input.ReadRawMessage(this); |
|
|
|
input.ReadRawMessage(this); |
|
|
|
|
|
|
|
#else |
|
|
|
|
|
|
|
uint tag; |
|
|
|
|
|
|
|
while ((tag = input.ReadTag()) != 0) { |
|
|
|
|
|
|
|
switch(tag) { |
|
|
|
|
|
|
|
default: |
|
|
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
#endif |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
|
|
|
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
|
|
|
uint tag; |
|
|
|
uint tag; |
|
|
@ -885,10 +977,15 @@ namespace UnitTest.Issues.TestProtos { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public sealed partial class DummyMessageContainingEnum : pb::IMessage<DummyMessageContainingEnum>, pb::IBufferMessage { |
|
|
|
public sealed partial class DummyMessageContainingEnum : pb::IMessage<DummyMessageContainingEnum> |
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
|
|
|
|
, pb::IBufferMessage |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
{ |
|
|
|
private static readonly pb::MessageParser<DummyMessageContainingEnum> _parser = new pb::MessageParser<DummyMessageContainingEnum>(() => new DummyMessageContainingEnum()); |
|
|
|
private static readonly pb::MessageParser<DummyMessageContainingEnum> _parser = new pb::MessageParser<DummyMessageContainingEnum>(() => new DummyMessageContainingEnum()); |
|
|
|
private pb::UnknownFieldSet _unknownFields; |
|
|
|
private pb::UnknownFieldSet _unknownFields; |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
@ -977,9 +1074,21 @@ namespace UnitTest.Issues.TestProtos { |
|
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
public void MergeFrom(pb::CodedInputStream input) { |
|
|
|
public void MergeFrom(pb::CodedInputStream input) { |
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
input.ReadRawMessage(this); |
|
|
|
input.ReadRawMessage(this); |
|
|
|
|
|
|
|
#else |
|
|
|
|
|
|
|
uint tag; |
|
|
|
|
|
|
|
while ((tag = input.ReadTag()) != 0) { |
|
|
|
|
|
|
|
switch(tag) { |
|
|
|
|
|
|
|
default: |
|
|
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
#endif |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
|
|
|
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
|
|
|
uint tag; |
|
|
|
uint tag; |
|
|
@ -991,6 +1100,7 @@ namespace UnitTest.Issues.TestProtos { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#region Nested types |
|
|
|
#region Nested types |
|
|
|
/// <summary>Container for nested types declared in the DummyMessageContainingEnum message type.</summary> |
|
|
|
/// <summary>Container for nested types declared in the DummyMessageContainingEnum message type.</summary> |
|
|
@ -1007,7 +1117,11 @@ namespace UnitTest.Issues.TestProtos { |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public sealed partial class DummyMessageInvalidAsOptionType : pb::IMessage<DummyMessageInvalidAsOptionType>, pb::IBufferMessage { |
|
|
|
public sealed partial class DummyMessageInvalidAsOptionType : pb::IMessage<DummyMessageInvalidAsOptionType> |
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
|
|
|
|
, pb::IBufferMessage |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
{ |
|
|
|
private static readonly pb::MessageParser<DummyMessageInvalidAsOptionType> _parser = new pb::MessageParser<DummyMessageInvalidAsOptionType>(() => new DummyMessageInvalidAsOptionType()); |
|
|
|
private static readonly pb::MessageParser<DummyMessageInvalidAsOptionType> _parser = new pb::MessageParser<DummyMessageInvalidAsOptionType>(() => new DummyMessageInvalidAsOptionType()); |
|
|
|
private pb::UnknownFieldSet _unknownFields; |
|
|
|
private pb::UnknownFieldSet _unknownFields; |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
@ -1096,9 +1210,21 @@ namespace UnitTest.Issues.TestProtos { |
|
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
public void MergeFrom(pb::CodedInputStream input) { |
|
|
|
public void MergeFrom(pb::CodedInputStream input) { |
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
input.ReadRawMessage(this); |
|
|
|
input.ReadRawMessage(this); |
|
|
|
|
|
|
|
#else |
|
|
|
|
|
|
|
uint tag; |
|
|
|
|
|
|
|
while ((tag = input.ReadTag()) != 0) { |
|
|
|
|
|
|
|
switch(tag) { |
|
|
|
|
|
|
|
default: |
|
|
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
#endif |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
|
|
|
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
|
|
|
uint tag; |
|
|
|
uint tag; |
|
|
@ -1110,10 +1236,15 @@ namespace UnitTest.Issues.TestProtos { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public sealed partial class CustomOptionMinIntegerValues : pb::IMessage<CustomOptionMinIntegerValues>, pb::IBufferMessage { |
|
|
|
public sealed partial class CustomOptionMinIntegerValues : pb::IMessage<CustomOptionMinIntegerValues> |
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
|
|
|
|
, pb::IBufferMessage |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
{ |
|
|
|
private static readonly pb::MessageParser<CustomOptionMinIntegerValues> _parser = new pb::MessageParser<CustomOptionMinIntegerValues>(() => new CustomOptionMinIntegerValues()); |
|
|
|
private static readonly pb::MessageParser<CustomOptionMinIntegerValues> _parser = new pb::MessageParser<CustomOptionMinIntegerValues>(() => new CustomOptionMinIntegerValues()); |
|
|
|
private pb::UnknownFieldSet _unknownFields; |
|
|
|
private pb::UnknownFieldSet _unknownFields; |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
@ -1202,9 +1333,21 @@ namespace UnitTest.Issues.TestProtos { |
|
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
public void MergeFrom(pb::CodedInputStream input) { |
|
|
|
public void MergeFrom(pb::CodedInputStream input) { |
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
input.ReadRawMessage(this); |
|
|
|
input.ReadRawMessage(this); |
|
|
|
|
|
|
|
#else |
|
|
|
|
|
|
|
uint tag; |
|
|
|
|
|
|
|
while ((tag = input.ReadTag()) != 0) { |
|
|
|
|
|
|
|
switch(tag) { |
|
|
|
|
|
|
|
default: |
|
|
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
#endif |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
|
|
|
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
|
|
|
uint tag; |
|
|
|
uint tag; |
|
|
@ -1216,10 +1359,15 @@ namespace UnitTest.Issues.TestProtos { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public sealed partial class CustomOptionMaxIntegerValues : pb::IMessage<CustomOptionMaxIntegerValues>, pb::IBufferMessage { |
|
|
|
public sealed partial class CustomOptionMaxIntegerValues : pb::IMessage<CustomOptionMaxIntegerValues> |
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
|
|
|
|
, pb::IBufferMessage |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
{ |
|
|
|
private static readonly pb::MessageParser<CustomOptionMaxIntegerValues> _parser = new pb::MessageParser<CustomOptionMaxIntegerValues>(() => new CustomOptionMaxIntegerValues()); |
|
|
|
private static readonly pb::MessageParser<CustomOptionMaxIntegerValues> _parser = new pb::MessageParser<CustomOptionMaxIntegerValues>(() => new CustomOptionMaxIntegerValues()); |
|
|
|
private pb::UnknownFieldSet _unknownFields; |
|
|
|
private pb::UnknownFieldSet _unknownFields; |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
@ -1308,9 +1456,21 @@ namespace UnitTest.Issues.TestProtos { |
|
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
public void MergeFrom(pb::CodedInputStream input) { |
|
|
|
public void MergeFrom(pb::CodedInputStream input) { |
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
input.ReadRawMessage(this); |
|
|
|
input.ReadRawMessage(this); |
|
|
|
|
|
|
|
#else |
|
|
|
|
|
|
|
uint tag; |
|
|
|
|
|
|
|
while ((tag = input.ReadTag()) != 0) { |
|
|
|
|
|
|
|
switch(tag) { |
|
|
|
|
|
|
|
default: |
|
|
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
#endif |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
|
|
|
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
|
|
|
uint tag; |
|
|
|
uint tag; |
|
|
@ -1322,10 +1482,15 @@ namespace UnitTest.Issues.TestProtos { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public sealed partial class CustomOptionOtherValues : pb::IMessage<CustomOptionOtherValues>, pb::IBufferMessage { |
|
|
|
public sealed partial class CustomOptionOtherValues : pb::IMessage<CustomOptionOtherValues> |
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
|
|
|
|
, pb::IBufferMessage |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
{ |
|
|
|
private static readonly pb::MessageParser<CustomOptionOtherValues> _parser = new pb::MessageParser<CustomOptionOtherValues>(() => new CustomOptionOtherValues()); |
|
|
|
private static readonly pb::MessageParser<CustomOptionOtherValues> _parser = new pb::MessageParser<CustomOptionOtherValues>(() => new CustomOptionOtherValues()); |
|
|
|
private pb::UnknownFieldSet _unknownFields; |
|
|
|
private pb::UnknownFieldSet _unknownFields; |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
@ -1414,9 +1579,21 @@ namespace UnitTest.Issues.TestProtos { |
|
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
public void MergeFrom(pb::CodedInputStream input) { |
|
|
|
public void MergeFrom(pb::CodedInputStream input) { |
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
input.ReadRawMessage(this); |
|
|
|
input.ReadRawMessage(this); |
|
|
|
|
|
|
|
#else |
|
|
|
|
|
|
|
uint tag; |
|
|
|
|
|
|
|
while ((tag = input.ReadTag()) != 0) { |
|
|
|
|
|
|
|
switch(tag) { |
|
|
|
|
|
|
|
default: |
|
|
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
#endif |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
|
|
|
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
|
|
|
uint tag; |
|
|
|
uint tag; |
|
|
@ -1428,10 +1605,15 @@ namespace UnitTest.Issues.TestProtos { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public sealed partial class SettingRealsFromPositiveInts : pb::IMessage<SettingRealsFromPositiveInts>, pb::IBufferMessage { |
|
|
|
public sealed partial class SettingRealsFromPositiveInts : pb::IMessage<SettingRealsFromPositiveInts> |
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
|
|
|
|
, pb::IBufferMessage |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
{ |
|
|
|
private static readonly pb::MessageParser<SettingRealsFromPositiveInts> _parser = new pb::MessageParser<SettingRealsFromPositiveInts>(() => new SettingRealsFromPositiveInts()); |
|
|
|
private static readonly pb::MessageParser<SettingRealsFromPositiveInts> _parser = new pb::MessageParser<SettingRealsFromPositiveInts>(() => new SettingRealsFromPositiveInts()); |
|
|
|
private pb::UnknownFieldSet _unknownFields; |
|
|
|
private pb::UnknownFieldSet _unknownFields; |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
@ -1520,9 +1702,21 @@ namespace UnitTest.Issues.TestProtos { |
|
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
public void MergeFrom(pb::CodedInputStream input) { |
|
|
|
public void MergeFrom(pb::CodedInputStream input) { |
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
input.ReadRawMessage(this); |
|
|
|
input.ReadRawMessage(this); |
|
|
|
|
|
|
|
#else |
|
|
|
|
|
|
|
uint tag; |
|
|
|
|
|
|
|
while ((tag = input.ReadTag()) != 0) { |
|
|
|
|
|
|
|
switch(tag) { |
|
|
|
|
|
|
|
default: |
|
|
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
#endif |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
|
|
|
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
|
|
|
uint tag; |
|
|
|
uint tag; |
|
|
@ -1534,10 +1728,15 @@ namespace UnitTest.Issues.TestProtos { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public sealed partial class SettingRealsFromNegativeInts : pb::IMessage<SettingRealsFromNegativeInts>, pb::IBufferMessage { |
|
|
|
public sealed partial class SettingRealsFromNegativeInts : pb::IMessage<SettingRealsFromNegativeInts> |
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
|
|
|
|
, pb::IBufferMessage |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
{ |
|
|
|
private static readonly pb::MessageParser<SettingRealsFromNegativeInts> _parser = new pb::MessageParser<SettingRealsFromNegativeInts>(() => new SettingRealsFromNegativeInts()); |
|
|
|
private static readonly pb::MessageParser<SettingRealsFromNegativeInts> _parser = new pb::MessageParser<SettingRealsFromNegativeInts>(() => new SettingRealsFromNegativeInts()); |
|
|
|
private pb::UnknownFieldSet _unknownFields; |
|
|
|
private pb::UnknownFieldSet _unknownFields; |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
@ -1626,9 +1825,21 @@ namespace UnitTest.Issues.TestProtos { |
|
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
public void MergeFrom(pb::CodedInputStream input) { |
|
|
|
public void MergeFrom(pb::CodedInputStream input) { |
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
input.ReadRawMessage(this); |
|
|
|
input.ReadRawMessage(this); |
|
|
|
|
|
|
|
#else |
|
|
|
|
|
|
|
uint tag; |
|
|
|
|
|
|
|
while ((tag = input.ReadTag()) != 0) { |
|
|
|
|
|
|
|
switch(tag) { |
|
|
|
|
|
|
|
default: |
|
|
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
#endif |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
|
|
|
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
|
|
|
uint tag; |
|
|
|
uint tag; |
|
|
@ -1640,10 +1851,15 @@ namespace UnitTest.Issues.TestProtos { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public sealed partial class ComplexOptionType1 : pb::IMessage<ComplexOptionType1>, pb::IBufferMessage { |
|
|
|
public sealed partial class ComplexOptionType1 : pb::IMessage<ComplexOptionType1> |
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
|
|
|
|
, pb::IBufferMessage |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
{ |
|
|
|
private static readonly pb::MessageParser<ComplexOptionType1> _parser = new pb::MessageParser<ComplexOptionType1>(() => new ComplexOptionType1()); |
|
|
|
private static readonly pb::MessageParser<ComplexOptionType1> _parser = new pb::MessageParser<ComplexOptionType1>(() => new ComplexOptionType1()); |
|
|
|
private pb::UnknownFieldSet _unknownFields; |
|
|
|
private pb::UnknownFieldSet _unknownFields; |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
@ -1820,9 +2036,38 @@ namespace UnitTest.Issues.TestProtos { |
|
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
public void MergeFrom(pb::CodedInputStream input) { |
|
|
|
public void MergeFrom(pb::CodedInputStream input) { |
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
input.ReadRawMessage(this); |
|
|
|
input.ReadRawMessage(this); |
|
|
|
|
|
|
|
#else |
|
|
|
|
|
|
|
uint tag; |
|
|
|
|
|
|
|
while ((tag = input.ReadTag()) != 0) { |
|
|
|
|
|
|
|
switch(tag) { |
|
|
|
|
|
|
|
default: |
|
|
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
case 8: { |
|
|
|
|
|
|
|
Foo = input.ReadInt32(); |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
case 16: { |
|
|
|
|
|
|
|
Foo2 = input.ReadInt32(); |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
case 24: { |
|
|
|
|
|
|
|
Foo3 = input.ReadInt32(); |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
case 34: |
|
|
|
|
|
|
|
case 32: { |
|
|
|
|
|
|
|
foo4_.AddEntriesFrom(input, _repeated_foo4_codec); |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
#endif |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
|
|
|
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
|
|
|
uint tag; |
|
|
|
uint tag; |
|
|
@ -1851,10 +2096,15 @@ namespace UnitTest.Issues.TestProtos { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public sealed partial class ComplexOptionType2 : pb::IMessage<ComplexOptionType2>, pb::IBufferMessage { |
|
|
|
public sealed partial class ComplexOptionType2 : pb::IMessage<ComplexOptionType2> |
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
|
|
|
|
, pb::IBufferMessage |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
{ |
|
|
|
private static readonly pb::MessageParser<ComplexOptionType2> _parser = new pb::MessageParser<ComplexOptionType2>(() => new ComplexOptionType2()); |
|
|
|
private static readonly pb::MessageParser<ComplexOptionType2> _parser = new pb::MessageParser<ComplexOptionType2>(() => new ComplexOptionType2()); |
|
|
|
private pb::UnknownFieldSet _unknownFields; |
|
|
|
private pb::UnknownFieldSet _unknownFields; |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
@ -2037,9 +2287,43 @@ namespace UnitTest.Issues.TestProtos { |
|
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
public void MergeFrom(pb::CodedInputStream input) { |
|
|
|
public void MergeFrom(pb::CodedInputStream input) { |
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
input.ReadRawMessage(this); |
|
|
|
input.ReadRawMessage(this); |
|
|
|
|
|
|
|
#else |
|
|
|
|
|
|
|
uint tag; |
|
|
|
|
|
|
|
while ((tag = input.ReadTag()) != 0) { |
|
|
|
|
|
|
|
switch(tag) { |
|
|
|
|
|
|
|
default: |
|
|
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
case 10: { |
|
|
|
|
|
|
|
if (bar_ == null) { |
|
|
|
|
|
|
|
Bar = new global::UnitTest.Issues.TestProtos.ComplexOptionType1(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
input.ReadMessage(Bar); |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
case 16: { |
|
|
|
|
|
|
|
Baz = input.ReadInt32(); |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
case 26: { |
|
|
|
|
|
|
|
if (fred_ == null) { |
|
|
|
|
|
|
|
Fred = new global::UnitTest.Issues.TestProtos.ComplexOptionType2.Types.ComplexOptionType4(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
input.ReadMessage(Fred); |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
case 34: { |
|
|
|
|
|
|
|
barney_.AddEntriesFrom(input, _repeated_barney_codec); |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
#endif |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
|
|
|
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
|
|
|
uint tag; |
|
|
|
uint tag; |
|
|
@ -2073,12 +2357,17 @@ namespace UnitTest.Issues.TestProtos { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#region Nested types |
|
|
|
#region Nested types |
|
|
|
/// <summary>Container for nested types declared in the ComplexOptionType2 message type.</summary> |
|
|
|
/// <summary>Container for nested types declared in the ComplexOptionType2 message type.</summary> |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
public static partial class Types { |
|
|
|
public static partial class Types { |
|
|
|
public sealed partial class ComplexOptionType4 : pb::IMessage<ComplexOptionType4>, pb::IBufferMessage { |
|
|
|
public sealed partial class ComplexOptionType4 : pb::IMessage<ComplexOptionType4> |
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
|
|
|
|
, pb::IBufferMessage |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
{ |
|
|
|
private static readonly pb::MessageParser<ComplexOptionType4> _parser = new pb::MessageParser<ComplexOptionType4>(() => new ComplexOptionType4()); |
|
|
|
private static readonly pb::MessageParser<ComplexOptionType4> _parser = new pb::MessageParser<ComplexOptionType4>(() => new ComplexOptionType4()); |
|
|
|
private pb::UnknownFieldSet _unknownFields; |
|
|
|
private pb::UnknownFieldSet _unknownFields; |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
@ -2191,9 +2480,25 @@ namespace UnitTest.Issues.TestProtos { |
|
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
public void MergeFrom(pb::CodedInputStream input) { |
|
|
|
public void MergeFrom(pb::CodedInputStream input) { |
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
input.ReadRawMessage(this); |
|
|
|
input.ReadRawMessage(this); |
|
|
|
|
|
|
|
#else |
|
|
|
|
|
|
|
uint tag; |
|
|
|
|
|
|
|
while ((tag = input.ReadTag()) != 0) { |
|
|
|
|
|
|
|
switch(tag) { |
|
|
|
|
|
|
|
default: |
|
|
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
case 8: { |
|
|
|
|
|
|
|
Waldo = input.ReadInt32(); |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
#endif |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
|
|
|
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
|
|
|
uint tag; |
|
|
|
uint tag; |
|
|
@ -2209,6 +2514,7 @@ namespace UnitTest.Issues.TestProtos { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#region Extensions |
|
|
|
#region Extensions |
|
|
|
/// <summary>Container for extensions for other messages declared in the ComplexOptionType4 message type.</summary> |
|
|
|
/// <summary>Container for extensions for other messages declared in the ComplexOptionType4 message type.</summary> |
|
|
@ -2226,7 +2532,11 @@ namespace UnitTest.Issues.TestProtos { |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public sealed partial class ComplexOptionType3 : pb::IMessage<ComplexOptionType3>, pb::IBufferMessage { |
|
|
|
public sealed partial class ComplexOptionType3 : pb::IMessage<ComplexOptionType3> |
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
|
|
|
|
, pb::IBufferMessage |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
{ |
|
|
|
private static readonly pb::MessageParser<ComplexOptionType3> _parser = new pb::MessageParser<ComplexOptionType3>(() => new ComplexOptionType3()); |
|
|
|
private static readonly pb::MessageParser<ComplexOptionType3> _parser = new pb::MessageParser<ComplexOptionType3>(() => new ComplexOptionType3()); |
|
|
|
private pb::UnknownFieldSet _unknownFields; |
|
|
|
private pb::UnknownFieldSet _unknownFields; |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
@ -2339,9 +2649,25 @@ namespace UnitTest.Issues.TestProtos { |
|
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
public void MergeFrom(pb::CodedInputStream input) { |
|
|
|
public void MergeFrom(pb::CodedInputStream input) { |
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
input.ReadRawMessage(this); |
|
|
|
input.ReadRawMessage(this); |
|
|
|
|
|
|
|
#else |
|
|
|
|
|
|
|
uint tag; |
|
|
|
|
|
|
|
while ((tag = input.ReadTag()) != 0) { |
|
|
|
|
|
|
|
switch(tag) { |
|
|
|
|
|
|
|
default: |
|
|
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
case 8: { |
|
|
|
|
|
|
|
Qux = input.ReadInt32(); |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
#endif |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
|
|
|
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
|
|
|
uint tag; |
|
|
|
uint tag; |
|
|
@ -2357,13 +2683,18 @@ namespace UnitTest.Issues.TestProtos { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/// <summary> |
|
|
|
/// <summary> |
|
|
|
/// Note that we try various different ways of naming the same extension. |
|
|
|
/// Note that we try various different ways of naming the same extension. |
|
|
|
/// </summary> |
|
|
|
/// </summary> |
|
|
|
public sealed partial class VariousComplexOptions : pb::IMessage<VariousComplexOptions>, pb::IBufferMessage { |
|
|
|
public sealed partial class VariousComplexOptions : pb::IMessage<VariousComplexOptions> |
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
|
|
|
|
, pb::IBufferMessage |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
{ |
|
|
|
private static readonly pb::MessageParser<VariousComplexOptions> _parser = new pb::MessageParser<VariousComplexOptions>(() => new VariousComplexOptions()); |
|
|
|
private static readonly pb::MessageParser<VariousComplexOptions> _parser = new pb::MessageParser<VariousComplexOptions>(() => new VariousComplexOptions()); |
|
|
|
private pb::UnknownFieldSet _unknownFields; |
|
|
|
private pb::UnknownFieldSet _unknownFields; |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
@ -2452,9 +2783,21 @@ namespace UnitTest.Issues.TestProtos { |
|
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
public void MergeFrom(pb::CodedInputStream input) { |
|
|
|
public void MergeFrom(pb::CodedInputStream input) { |
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
input.ReadRawMessage(this); |
|
|
|
input.ReadRawMessage(this); |
|
|
|
|
|
|
|
#else |
|
|
|
|
|
|
|
uint tag; |
|
|
|
|
|
|
|
while ((tag = input.ReadTag()) != 0) { |
|
|
|
|
|
|
|
switch(tag) { |
|
|
|
|
|
|
|
default: |
|
|
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
#endif |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
|
|
|
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
|
|
|
uint tag; |
|
|
|
uint tag; |
|
|
@ -2466,13 +2809,18 @@ namespace UnitTest.Issues.TestProtos { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/// <summary> |
|
|
|
/// <summary> |
|
|
|
/// A helper type used to test aggregate option parsing |
|
|
|
/// A helper type used to test aggregate option parsing |
|
|
|
/// </summary> |
|
|
|
/// </summary> |
|
|
|
public sealed partial class Aggregate : pb::IMessage<Aggregate>, pb::IBufferMessage { |
|
|
|
public sealed partial class Aggregate : pb::IMessage<Aggregate> |
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
|
|
|
|
, pb::IBufferMessage |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
{ |
|
|
|
private static readonly pb::MessageParser<Aggregate> _parser = new pb::MessageParser<Aggregate>(() => new Aggregate()); |
|
|
|
private static readonly pb::MessageParser<Aggregate> _parser = new pb::MessageParser<Aggregate>(() => new Aggregate()); |
|
|
|
private pb::UnknownFieldSet _unknownFields; |
|
|
|
private pb::UnknownFieldSet _unknownFields; |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
@ -2639,9 +2987,36 @@ namespace UnitTest.Issues.TestProtos { |
|
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
public void MergeFrom(pb::CodedInputStream input) { |
|
|
|
public void MergeFrom(pb::CodedInputStream input) { |
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
input.ReadRawMessage(this); |
|
|
|
input.ReadRawMessage(this); |
|
|
|
|
|
|
|
#else |
|
|
|
|
|
|
|
uint tag; |
|
|
|
|
|
|
|
while ((tag = input.ReadTag()) != 0) { |
|
|
|
|
|
|
|
switch(tag) { |
|
|
|
|
|
|
|
default: |
|
|
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
case 8: { |
|
|
|
|
|
|
|
I = input.ReadInt32(); |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
case 18: { |
|
|
|
|
|
|
|
S = input.ReadString(); |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
case 26: { |
|
|
|
|
|
|
|
if (sub_ == null) { |
|
|
|
|
|
|
|
Sub = new global::UnitTest.Issues.TestProtos.Aggregate(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
input.ReadMessage(Sub); |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
#endif |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
|
|
|
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
|
|
|
uint tag; |
|
|
|
uint tag; |
|
|
@ -2668,10 +3043,15 @@ namespace UnitTest.Issues.TestProtos { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public sealed partial class AggregateMessage : pb::IMessage<AggregateMessage>, pb::IBufferMessage { |
|
|
|
public sealed partial class AggregateMessage : pb::IMessage<AggregateMessage> |
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
|
|
|
|
, pb::IBufferMessage |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
{ |
|
|
|
private static readonly pb::MessageParser<AggregateMessage> _parser = new pb::MessageParser<AggregateMessage>(() => new AggregateMessage()); |
|
|
|
private static readonly pb::MessageParser<AggregateMessage> _parser = new pb::MessageParser<AggregateMessage>(() => new AggregateMessage()); |
|
|
|
private pb::UnknownFieldSet _unknownFields; |
|
|
|
private pb::UnknownFieldSet _unknownFields; |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
@ -2784,9 +3164,25 @@ namespace UnitTest.Issues.TestProtos { |
|
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
public void MergeFrom(pb::CodedInputStream input) { |
|
|
|
public void MergeFrom(pb::CodedInputStream input) { |
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
input.ReadRawMessage(this); |
|
|
|
input.ReadRawMessage(this); |
|
|
|
|
|
|
|
#else |
|
|
|
|
|
|
|
uint tag; |
|
|
|
|
|
|
|
while ((tag = input.ReadTag()) != 0) { |
|
|
|
|
|
|
|
switch(tag) { |
|
|
|
|
|
|
|
default: |
|
|
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
case 8: { |
|
|
|
|
|
|
|
Fieldname = input.ReadInt32(); |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
#endif |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
|
|
|
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
|
|
|
uint tag; |
|
|
|
uint tag; |
|
|
@ -2802,13 +3198,18 @@ namespace UnitTest.Issues.TestProtos { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/// <summary> |
|
|
|
/// <summary> |
|
|
|
/// Test custom options for nested type. |
|
|
|
/// Test custom options for nested type. |
|
|
|
/// </summary> |
|
|
|
/// </summary> |
|
|
|
public sealed partial class NestedOptionType : pb::IMessage<NestedOptionType>, pb::IBufferMessage { |
|
|
|
public sealed partial class NestedOptionType : pb::IMessage<NestedOptionType> |
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
|
|
|
|
, pb::IBufferMessage |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
{ |
|
|
|
private static readonly pb::MessageParser<NestedOptionType> _parser = new pb::MessageParser<NestedOptionType>(() => new NestedOptionType()); |
|
|
|
private static readonly pb::MessageParser<NestedOptionType> _parser = new pb::MessageParser<NestedOptionType>(() => new NestedOptionType()); |
|
|
|
private pb::UnknownFieldSet _unknownFields; |
|
|
|
private pb::UnknownFieldSet _unknownFields; |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
@ -2897,9 +3298,21 @@ namespace UnitTest.Issues.TestProtos { |
|
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
public void MergeFrom(pb::CodedInputStream input) { |
|
|
|
public void MergeFrom(pb::CodedInputStream input) { |
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
input.ReadRawMessage(this); |
|
|
|
input.ReadRawMessage(this); |
|
|
|
|
|
|
|
#else |
|
|
|
|
|
|
|
uint tag; |
|
|
|
|
|
|
|
while ((tag = input.ReadTag()) != 0) { |
|
|
|
|
|
|
|
switch(tag) { |
|
|
|
|
|
|
|
default: |
|
|
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
#endif |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
|
|
|
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
|
|
|
uint tag; |
|
|
|
uint tag; |
|
|
@ -2911,6 +3324,7 @@ namespace UnitTest.Issues.TestProtos { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#region Nested types |
|
|
|
#region Nested types |
|
|
|
/// <summary>Container for nested types declared in the NestedOptionType message type.</summary> |
|
|
|
/// <summary>Container for nested types declared in the NestedOptionType message type.</summary> |
|
|
@ -2921,7 +3335,11 @@ namespace UnitTest.Issues.TestProtos { |
|
|
|
[pbr::OriginalName("NESTED_ENUM_VALUE")] Value = 1, |
|
|
|
[pbr::OriginalName("NESTED_ENUM_VALUE")] Value = 1, |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public sealed partial class NestedMessage : pb::IMessage<NestedMessage>, pb::IBufferMessage { |
|
|
|
public sealed partial class NestedMessage : pb::IMessage<NestedMessage> |
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
|
|
|
|
, pb::IBufferMessage |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
{ |
|
|
|
private static readonly pb::MessageParser<NestedMessage> _parser = new pb::MessageParser<NestedMessage>(() => new NestedMessage()); |
|
|
|
private static readonly pb::MessageParser<NestedMessage> _parser = new pb::MessageParser<NestedMessage>(() => new NestedMessage()); |
|
|
|
private pb::UnknownFieldSet _unknownFields; |
|
|
|
private pb::UnknownFieldSet _unknownFields; |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
@ -3034,9 +3452,25 @@ namespace UnitTest.Issues.TestProtos { |
|
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
public void MergeFrom(pb::CodedInputStream input) { |
|
|
|
public void MergeFrom(pb::CodedInputStream input) { |
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
input.ReadRawMessage(this); |
|
|
|
input.ReadRawMessage(this); |
|
|
|
|
|
|
|
#else |
|
|
|
|
|
|
|
uint tag; |
|
|
|
|
|
|
|
while ((tag = input.ReadTag()) != 0) { |
|
|
|
|
|
|
|
switch(tag) { |
|
|
|
|
|
|
|
default: |
|
|
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
case 8: { |
|
|
|
|
|
|
|
NestedField = input.ReadInt32(); |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
#endif |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
|
|
|
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
|
|
|
uint tag; |
|
|
|
uint tag; |
|
|
@ -3052,6 +3486,7 @@ namespace UnitTest.Issues.TestProtos { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|