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