1ffe3c632Sopenharmony_ci// <auto-generated> 2ffe3c632Sopenharmony_ci// Generated by the protocol buffer compiler. DO NOT EDIT! 3ffe3c632Sopenharmony_ci// source: unittest_import_public_proto3.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 Google.Protobuf.TestProtos { 13ffe3c632Sopenharmony_ci 14ffe3c632Sopenharmony_ci /// <summary>Holder for reflection information generated from unittest_import_public_proto3.proto</summary> 15ffe3c632Sopenharmony_ci public static partial class UnittestImportPublicProto3Reflection { 16ffe3c632Sopenharmony_ci 17ffe3c632Sopenharmony_ci #region Descriptor 18ffe3c632Sopenharmony_ci /// <summary>File descriptor for unittest_import_public_proto3.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 UnittestImportPublicProto3Reflection() { 25ffe3c632Sopenharmony_ci byte[] descriptorData = global::System.Convert.FromBase64String( 26ffe3c632Sopenharmony_ci string.Concat( 27ffe3c632Sopenharmony_ci "CiN1bml0dGVzdF9pbXBvcnRfcHVibGljX3Byb3RvMy5wcm90bxIYcHJvdG9i", 28ffe3c632Sopenharmony_ci "dWZfdW5pdHRlc3RfaW1wb3J0IiAKE1B1YmxpY0ltcG9ydE1lc3NhZ2USCQoB", 29ffe3c632Sopenharmony_ci "ZRgBIAEoBUIdqgIaR29vZ2xlLlByb3RvYnVmLlRlc3RQcm90b3NiBnByb3Rv", 30ffe3c632Sopenharmony_ci "Mw==")); 31ffe3c632Sopenharmony_ci descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, 32ffe3c632Sopenharmony_ci new pbr::FileDescriptor[] { }, 33ffe3c632Sopenharmony_ci new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { 34ffe3c632Sopenharmony_ci new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.TestProtos.PublicImportMessage), global::Google.Protobuf.TestProtos.PublicImportMessage.Parser, new[]{ "E" }, null, null, null, null) 35ffe3c632Sopenharmony_ci })); 36ffe3c632Sopenharmony_ci } 37ffe3c632Sopenharmony_ci #endregion 38ffe3c632Sopenharmony_ci 39ffe3c632Sopenharmony_ci } 40ffe3c632Sopenharmony_ci #region Messages 41ffe3c632Sopenharmony_ci public sealed partial class PublicImportMessage : pb::IMessage<PublicImportMessage> 42ffe3c632Sopenharmony_ci #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 43ffe3c632Sopenharmony_ci , pb::IBufferMessage 44ffe3c632Sopenharmony_ci #endif 45ffe3c632Sopenharmony_ci { 46ffe3c632Sopenharmony_ci private static readonly pb::MessageParser<PublicImportMessage> _parser = new pb::MessageParser<PublicImportMessage>(() => new PublicImportMessage()); 47ffe3c632Sopenharmony_ci private pb::UnknownFieldSet _unknownFields; 48ffe3c632Sopenharmony_ci [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 49ffe3c632Sopenharmony_ci public static pb::MessageParser<PublicImportMessage> Parser { get { return _parser; } } 50ffe3c632Sopenharmony_ci 51ffe3c632Sopenharmony_ci [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 52ffe3c632Sopenharmony_ci public static pbr::MessageDescriptor Descriptor { 53ffe3c632Sopenharmony_ci get { return global::Google.Protobuf.TestProtos.UnittestImportPublicProto3Reflection.Descriptor.MessageTypes[0]; } 54ffe3c632Sopenharmony_ci } 55ffe3c632Sopenharmony_ci 56ffe3c632Sopenharmony_ci [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 57ffe3c632Sopenharmony_ci pbr::MessageDescriptor pb::IMessage.Descriptor { 58ffe3c632Sopenharmony_ci get { return Descriptor; } 59ffe3c632Sopenharmony_ci } 60ffe3c632Sopenharmony_ci 61ffe3c632Sopenharmony_ci [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 62ffe3c632Sopenharmony_ci public PublicImportMessage() { 63ffe3c632Sopenharmony_ci OnConstruction(); 64ffe3c632Sopenharmony_ci } 65ffe3c632Sopenharmony_ci 66ffe3c632Sopenharmony_ci partial void OnConstruction(); 67ffe3c632Sopenharmony_ci 68ffe3c632Sopenharmony_ci [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 69ffe3c632Sopenharmony_ci public PublicImportMessage(PublicImportMessage other) : this() { 70ffe3c632Sopenharmony_ci e_ = other.e_; 71ffe3c632Sopenharmony_ci _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); 72ffe3c632Sopenharmony_ci } 73ffe3c632Sopenharmony_ci 74ffe3c632Sopenharmony_ci [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 75ffe3c632Sopenharmony_ci public PublicImportMessage Clone() { 76ffe3c632Sopenharmony_ci return new PublicImportMessage(this); 77ffe3c632Sopenharmony_ci } 78ffe3c632Sopenharmony_ci 79ffe3c632Sopenharmony_ci /// <summary>Field number for the "e" field.</summary> 80ffe3c632Sopenharmony_ci public const int EFieldNumber = 1; 81ffe3c632Sopenharmony_ci private int e_; 82ffe3c632Sopenharmony_ci [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 83ffe3c632Sopenharmony_ci public int E { 84ffe3c632Sopenharmony_ci get { return e_; } 85ffe3c632Sopenharmony_ci set { 86ffe3c632Sopenharmony_ci e_ = value; 87ffe3c632Sopenharmony_ci } 88ffe3c632Sopenharmony_ci } 89ffe3c632Sopenharmony_ci 90ffe3c632Sopenharmony_ci [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 91ffe3c632Sopenharmony_ci public override bool Equals(object other) { 92ffe3c632Sopenharmony_ci return Equals(other as PublicImportMessage); 93ffe3c632Sopenharmony_ci } 94ffe3c632Sopenharmony_ci 95ffe3c632Sopenharmony_ci [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 96ffe3c632Sopenharmony_ci public bool Equals(PublicImportMessage other) { 97ffe3c632Sopenharmony_ci if (ReferenceEquals(other, null)) { 98ffe3c632Sopenharmony_ci return false; 99ffe3c632Sopenharmony_ci } 100ffe3c632Sopenharmony_ci if (ReferenceEquals(other, this)) { 101ffe3c632Sopenharmony_ci return true; 102ffe3c632Sopenharmony_ci } 103ffe3c632Sopenharmony_ci if (E != other.E) return false; 104ffe3c632Sopenharmony_ci return Equals(_unknownFields, other._unknownFields); 105ffe3c632Sopenharmony_ci } 106ffe3c632Sopenharmony_ci 107ffe3c632Sopenharmony_ci [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 108ffe3c632Sopenharmony_ci public override int GetHashCode() { 109ffe3c632Sopenharmony_ci int hash = 1; 110ffe3c632Sopenharmony_ci if (E != 0) hash ^= E.GetHashCode(); 111ffe3c632Sopenharmony_ci if (_unknownFields != null) { 112ffe3c632Sopenharmony_ci hash ^= _unknownFields.GetHashCode(); 113ffe3c632Sopenharmony_ci } 114ffe3c632Sopenharmony_ci return hash; 115ffe3c632Sopenharmony_ci } 116ffe3c632Sopenharmony_ci 117ffe3c632Sopenharmony_ci [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 118ffe3c632Sopenharmony_ci public override string ToString() { 119ffe3c632Sopenharmony_ci return pb::JsonFormatter.ToDiagnosticString(this); 120ffe3c632Sopenharmony_ci } 121ffe3c632Sopenharmony_ci 122ffe3c632Sopenharmony_ci [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 123ffe3c632Sopenharmony_ci public void WriteTo(pb::CodedOutputStream output) { 124ffe3c632Sopenharmony_ci #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 125ffe3c632Sopenharmony_ci output.WriteRawMessage(this); 126ffe3c632Sopenharmony_ci #else 127ffe3c632Sopenharmony_ci if (E != 0) { 128ffe3c632Sopenharmony_ci output.WriteRawTag(8); 129ffe3c632Sopenharmony_ci output.WriteInt32(E); 130ffe3c632Sopenharmony_ci } 131ffe3c632Sopenharmony_ci if (_unknownFields != null) { 132ffe3c632Sopenharmony_ci _unknownFields.WriteTo(output); 133ffe3c632Sopenharmony_ci } 134ffe3c632Sopenharmony_ci #endif 135ffe3c632Sopenharmony_ci } 136ffe3c632Sopenharmony_ci 137ffe3c632Sopenharmony_ci #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 138ffe3c632Sopenharmony_ci [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 139ffe3c632Sopenharmony_ci void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { 140ffe3c632Sopenharmony_ci if (E != 0) { 141ffe3c632Sopenharmony_ci output.WriteRawTag(8); 142ffe3c632Sopenharmony_ci output.WriteInt32(E); 143ffe3c632Sopenharmony_ci } 144ffe3c632Sopenharmony_ci if (_unknownFields != null) { 145ffe3c632Sopenharmony_ci _unknownFields.WriteTo(ref output); 146ffe3c632Sopenharmony_ci } 147ffe3c632Sopenharmony_ci } 148ffe3c632Sopenharmony_ci #endif 149ffe3c632Sopenharmony_ci 150ffe3c632Sopenharmony_ci [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 151ffe3c632Sopenharmony_ci public int CalculateSize() { 152ffe3c632Sopenharmony_ci int size = 0; 153ffe3c632Sopenharmony_ci if (E != 0) { 154ffe3c632Sopenharmony_ci size += 1 + pb::CodedOutputStream.ComputeInt32Size(E); 155ffe3c632Sopenharmony_ci } 156ffe3c632Sopenharmony_ci if (_unknownFields != null) { 157ffe3c632Sopenharmony_ci size += _unknownFields.CalculateSize(); 158ffe3c632Sopenharmony_ci } 159ffe3c632Sopenharmony_ci return size; 160ffe3c632Sopenharmony_ci } 161ffe3c632Sopenharmony_ci 162ffe3c632Sopenharmony_ci [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 163ffe3c632Sopenharmony_ci public void MergeFrom(PublicImportMessage other) { 164ffe3c632Sopenharmony_ci if (other == null) { 165ffe3c632Sopenharmony_ci return; 166ffe3c632Sopenharmony_ci } 167ffe3c632Sopenharmony_ci if (other.E != 0) { 168ffe3c632Sopenharmony_ci E = other.E; 169ffe3c632Sopenharmony_ci } 170ffe3c632Sopenharmony_ci _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); 171ffe3c632Sopenharmony_ci } 172ffe3c632Sopenharmony_ci 173ffe3c632Sopenharmony_ci [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 174ffe3c632Sopenharmony_ci public void MergeFrom(pb::CodedInputStream input) { 175ffe3c632Sopenharmony_ci #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 176ffe3c632Sopenharmony_ci input.ReadRawMessage(this); 177ffe3c632Sopenharmony_ci #else 178ffe3c632Sopenharmony_ci uint tag; 179ffe3c632Sopenharmony_ci while ((tag = input.ReadTag()) != 0) { 180ffe3c632Sopenharmony_ci switch(tag) { 181ffe3c632Sopenharmony_ci default: 182ffe3c632Sopenharmony_ci _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); 183ffe3c632Sopenharmony_ci break; 184ffe3c632Sopenharmony_ci case 8: { 185ffe3c632Sopenharmony_ci E = input.ReadInt32(); 186ffe3c632Sopenharmony_ci break; 187ffe3c632Sopenharmony_ci } 188ffe3c632Sopenharmony_ci } 189ffe3c632Sopenharmony_ci } 190ffe3c632Sopenharmony_ci #endif 191ffe3c632Sopenharmony_ci } 192ffe3c632Sopenharmony_ci 193ffe3c632Sopenharmony_ci #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 194ffe3c632Sopenharmony_ci [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 195ffe3c632Sopenharmony_ci void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { 196ffe3c632Sopenharmony_ci uint tag; 197ffe3c632Sopenharmony_ci while ((tag = input.ReadTag()) != 0) { 198ffe3c632Sopenharmony_ci switch(tag) { 199ffe3c632Sopenharmony_ci default: 200ffe3c632Sopenharmony_ci _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); 201ffe3c632Sopenharmony_ci break; 202ffe3c632Sopenharmony_ci case 8: { 203ffe3c632Sopenharmony_ci E = input.ReadInt32(); 204ffe3c632Sopenharmony_ci break; 205ffe3c632Sopenharmony_ci } 206ffe3c632Sopenharmony_ci } 207ffe3c632Sopenharmony_ci } 208ffe3c632Sopenharmony_ci } 209ffe3c632Sopenharmony_ci #endif 210ffe3c632Sopenharmony_ci 211ffe3c632Sopenharmony_ci } 212ffe3c632Sopenharmony_ci 213ffe3c632Sopenharmony_ci #endregion 214ffe3c632Sopenharmony_ci 215ffe3c632Sopenharmony_ci} 216ffe3c632Sopenharmony_ci 217ffe3c632Sopenharmony_ci#endregion Designer generated code 218