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