1ffe3c632Sopenharmony_ci// <auto-generated> 2ffe3c632Sopenharmony_ci// Generated by the protocol buffer compiler. DO NOT EDIT! 3ffe3c632Sopenharmony_ci// source: unittest_issue6936_b.proto 4ffe3c632Sopenharmony_ci// </auto-generated> 5ffe3c632Sopenharmony_ci#pragma warning disable 1591, 0612, 3021 6ffe3c632Sopenharmony_ci#region Designer generated code 7ffe3c632Sopenharmony_ci 8ffe3c632Sopenharmony_ciusing pb = global::Google.Protobuf; 9ffe3c632Sopenharmony_ciusing pbc = global::Google.Protobuf.Collections; 10ffe3c632Sopenharmony_ciusing pbr = global::Google.Protobuf.Reflection; 11ffe3c632Sopenharmony_ciusing scg = global::System.Collections.Generic; 12ffe3c632Sopenharmony_cinamespace UnitTest.Issues.TestProtos { 13ffe3c632Sopenharmony_ci 14ffe3c632Sopenharmony_ci /// <summary>Holder for reflection information generated from unittest_issue6936_b.proto</summary> 15ffe3c632Sopenharmony_ci public static partial class UnittestIssue6936BReflection { 16ffe3c632Sopenharmony_ci 17ffe3c632Sopenharmony_ci #region Descriptor 18ffe3c632Sopenharmony_ci /// <summary>File descriptor for unittest_issue6936_b.proto</summary> 19ffe3c632Sopenharmony_ci public static pbr::FileDescriptor Descriptor { 20ffe3c632Sopenharmony_ci get { return descriptor; } 21ffe3c632Sopenharmony_ci } 22ffe3c632Sopenharmony_ci private static pbr::FileDescriptor descriptor; 23ffe3c632Sopenharmony_ci 24ffe3c632Sopenharmony_ci static UnittestIssue6936BReflection() { 25ffe3c632Sopenharmony_ci byte[] descriptorData = global::System.Convert.FromBase64String( 26ffe3c632Sopenharmony_ci string.Concat( 27ffe3c632Sopenharmony_ci "Chp1bml0dGVzdF9pc3N1ZTY5MzZfYi5wcm90bxIPdW5pdHRlc3RfaXNzdWVz", 28ffe3c632Sopenharmony_ci "Ghp1bml0dGVzdF9pc3N1ZTY5MzZfYS5wcm90byIOCgNGb286B4K1GANmb29C", 29ffe3c632Sopenharmony_ci "HaoCGlVuaXRUZXN0Lklzc3Vlcy5UZXN0UHJvdG9zYgZwcm90bzM=")); 30ffe3c632Sopenharmony_ci descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, 31ffe3c632Sopenharmony_ci new pbr::FileDescriptor[] { global::UnitTest.Issues.TestProtos.UnittestIssue6936AReflection.Descriptor, }, 32ffe3c632Sopenharmony_ci new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { 33ffe3c632Sopenharmony_ci new pbr::GeneratedClrTypeInfo(typeof(global::UnitTest.Issues.TestProtos.Foo), global::UnitTest.Issues.TestProtos.Foo.Parser, null, null, null, null, null) 34ffe3c632Sopenharmony_ci })); 35ffe3c632Sopenharmony_ci } 36ffe3c632Sopenharmony_ci #endregion 37ffe3c632Sopenharmony_ci 38ffe3c632Sopenharmony_ci } 39ffe3c632Sopenharmony_ci #region Messages 40ffe3c632Sopenharmony_ci public sealed partial class Foo : pb::IMessage<Foo> 41ffe3c632Sopenharmony_ci #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 42ffe3c632Sopenharmony_ci , pb::IBufferMessage 43ffe3c632Sopenharmony_ci #endif 44ffe3c632Sopenharmony_ci { 45ffe3c632Sopenharmony_ci private static readonly pb::MessageParser<Foo> _parser = new pb::MessageParser<Foo>(() => new Foo()); 46ffe3c632Sopenharmony_ci private pb::UnknownFieldSet _unknownFields; 47ffe3c632Sopenharmony_ci [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 48ffe3c632Sopenharmony_ci public static pb::MessageParser<Foo> Parser { get { return _parser; } } 49ffe3c632Sopenharmony_ci 50ffe3c632Sopenharmony_ci [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 51ffe3c632Sopenharmony_ci public static pbr::MessageDescriptor Descriptor { 52ffe3c632Sopenharmony_ci get { return global::UnitTest.Issues.TestProtos.UnittestIssue6936BReflection.Descriptor.MessageTypes[0]; } 53ffe3c632Sopenharmony_ci } 54ffe3c632Sopenharmony_ci 55ffe3c632Sopenharmony_ci [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 56ffe3c632Sopenharmony_ci pbr::MessageDescriptor pb::IMessage.Descriptor { 57ffe3c632Sopenharmony_ci get { return Descriptor; } 58ffe3c632Sopenharmony_ci } 59ffe3c632Sopenharmony_ci 60ffe3c632Sopenharmony_ci [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 61ffe3c632Sopenharmony_ci public Foo() { 62ffe3c632Sopenharmony_ci OnConstruction(); 63ffe3c632Sopenharmony_ci } 64ffe3c632Sopenharmony_ci 65ffe3c632Sopenharmony_ci partial void OnConstruction(); 66ffe3c632Sopenharmony_ci 67ffe3c632Sopenharmony_ci [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 68ffe3c632Sopenharmony_ci public Foo(Foo other) : this() { 69ffe3c632Sopenharmony_ci _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); 70ffe3c632Sopenharmony_ci } 71ffe3c632Sopenharmony_ci 72ffe3c632Sopenharmony_ci [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 73ffe3c632Sopenharmony_ci public Foo Clone() { 74ffe3c632Sopenharmony_ci return new Foo(this); 75ffe3c632Sopenharmony_ci } 76ffe3c632Sopenharmony_ci 77ffe3c632Sopenharmony_ci [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 78ffe3c632Sopenharmony_ci public override bool Equals(object other) { 79ffe3c632Sopenharmony_ci return Equals(other as Foo); 80ffe3c632Sopenharmony_ci } 81ffe3c632Sopenharmony_ci 82ffe3c632Sopenharmony_ci [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 83ffe3c632Sopenharmony_ci public bool Equals(Foo other) { 84ffe3c632Sopenharmony_ci if (ReferenceEquals(other, null)) { 85ffe3c632Sopenharmony_ci return false; 86ffe3c632Sopenharmony_ci } 87ffe3c632Sopenharmony_ci if (ReferenceEquals(other, this)) { 88ffe3c632Sopenharmony_ci return true; 89ffe3c632Sopenharmony_ci } 90ffe3c632Sopenharmony_ci return Equals(_unknownFields, other._unknownFields); 91ffe3c632Sopenharmony_ci } 92ffe3c632Sopenharmony_ci 93ffe3c632Sopenharmony_ci [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 94ffe3c632Sopenharmony_ci public override int GetHashCode() { 95ffe3c632Sopenharmony_ci int hash = 1; 96ffe3c632Sopenharmony_ci if (_unknownFields != null) { 97ffe3c632Sopenharmony_ci hash ^= _unknownFields.GetHashCode(); 98ffe3c632Sopenharmony_ci } 99ffe3c632Sopenharmony_ci return hash; 100ffe3c632Sopenharmony_ci } 101ffe3c632Sopenharmony_ci 102ffe3c632Sopenharmony_ci [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 103ffe3c632Sopenharmony_ci public override string ToString() { 104ffe3c632Sopenharmony_ci return pb::JsonFormatter.ToDiagnosticString(this); 105ffe3c632Sopenharmony_ci } 106ffe3c632Sopenharmony_ci 107ffe3c632Sopenharmony_ci [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 108ffe3c632Sopenharmony_ci public void WriteTo(pb::CodedOutputStream output) { 109ffe3c632Sopenharmony_ci #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 110ffe3c632Sopenharmony_ci output.WriteRawMessage(this); 111ffe3c632Sopenharmony_ci #else 112ffe3c632Sopenharmony_ci if (_unknownFields != null) { 113ffe3c632Sopenharmony_ci _unknownFields.WriteTo(output); 114ffe3c632Sopenharmony_ci } 115ffe3c632Sopenharmony_ci #endif 116ffe3c632Sopenharmony_ci } 117ffe3c632Sopenharmony_ci 118ffe3c632Sopenharmony_ci #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 119ffe3c632Sopenharmony_ci [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 120ffe3c632Sopenharmony_ci void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { 121ffe3c632Sopenharmony_ci if (_unknownFields != null) { 122ffe3c632Sopenharmony_ci _unknownFields.WriteTo(ref output); 123ffe3c632Sopenharmony_ci } 124ffe3c632Sopenharmony_ci } 125ffe3c632Sopenharmony_ci #endif 126ffe3c632Sopenharmony_ci 127ffe3c632Sopenharmony_ci [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 128ffe3c632Sopenharmony_ci public int CalculateSize() { 129ffe3c632Sopenharmony_ci int size = 0; 130ffe3c632Sopenharmony_ci if (_unknownFields != null) { 131ffe3c632Sopenharmony_ci size += _unknownFields.CalculateSize(); 132ffe3c632Sopenharmony_ci } 133ffe3c632Sopenharmony_ci return size; 134ffe3c632Sopenharmony_ci } 135ffe3c632Sopenharmony_ci 136ffe3c632Sopenharmony_ci [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 137ffe3c632Sopenharmony_ci public void MergeFrom(Foo other) { 138ffe3c632Sopenharmony_ci if (other == null) { 139ffe3c632Sopenharmony_ci return; 140ffe3c632Sopenharmony_ci } 141ffe3c632Sopenharmony_ci _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); 142ffe3c632Sopenharmony_ci } 143ffe3c632Sopenharmony_ci 144ffe3c632Sopenharmony_ci [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 145ffe3c632Sopenharmony_ci public void MergeFrom(pb::CodedInputStream input) { 146ffe3c632Sopenharmony_ci #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 147ffe3c632Sopenharmony_ci input.ReadRawMessage(this); 148ffe3c632Sopenharmony_ci #else 149ffe3c632Sopenharmony_ci uint tag; 150ffe3c632Sopenharmony_ci while ((tag = input.ReadTag()) != 0) { 151ffe3c632Sopenharmony_ci switch(tag) { 152ffe3c632Sopenharmony_ci default: 153ffe3c632Sopenharmony_ci _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); 154ffe3c632Sopenharmony_ci break; 155ffe3c632Sopenharmony_ci } 156ffe3c632Sopenharmony_ci } 157ffe3c632Sopenharmony_ci #endif 158ffe3c632Sopenharmony_ci } 159ffe3c632Sopenharmony_ci 160ffe3c632Sopenharmony_ci #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 161ffe3c632Sopenharmony_ci [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 162ffe3c632Sopenharmony_ci void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { 163ffe3c632Sopenharmony_ci uint tag; 164ffe3c632Sopenharmony_ci while ((tag = input.ReadTag()) != 0) { 165ffe3c632Sopenharmony_ci switch(tag) { 166ffe3c632Sopenharmony_ci default: 167ffe3c632Sopenharmony_ci _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); 168ffe3c632Sopenharmony_ci break; 169ffe3c632Sopenharmony_ci } 170ffe3c632Sopenharmony_ci } 171ffe3c632Sopenharmony_ci } 172ffe3c632Sopenharmony_ci #endif 173ffe3c632Sopenharmony_ci 174ffe3c632Sopenharmony_ci } 175ffe3c632Sopenharmony_ci 176ffe3c632Sopenharmony_ci #endregion 177ffe3c632Sopenharmony_ci 178ffe3c632Sopenharmony_ci} 179ffe3c632Sopenharmony_ci 180ffe3c632Sopenharmony_ci#endregion Designer generated code 181