1// <auto-generated>
2//     Generated by the protocol buffer compiler.  DO NOT EDIT!
3//     source: old_extensions1.proto
4// </auto-generated>
5#pragma warning disable 1591, 0612, 3021
6#region Designer generated code
7
8using pb = global::Google.Protobuf;
9using pbc = global::Google.Protobuf.Collections;
10using pbr = global::Google.Protobuf.Reflection;
11using scg = global::System.Collections.Generic;
12namespace Google.Protobuf.TestProtos.OldGenerator {
13
14  /// <summary>Holder for reflection information generated from old_extensions1.proto</summary>
15  public static partial class OldExtensions1Reflection {
16
17    #region Descriptor
18    /// <summary>File descriptor for old_extensions1.proto</summary>
19    public static pbr::FileDescriptor Descriptor {
20      get { return descriptor; }
21    }
22    private static pbr::FileDescriptor descriptor;
23
24    static OldExtensions1Reflection() {
25      byte[] descriptorData = global::System.Convert.FromBase64String(
26          string.Concat(
27            "ChVvbGRfZXh0ZW5zaW9uczEucHJvdG8aFW9sZF9leHRlbnNpb25zMi5wcm90",
28            "byINCgtUZXN0TWVzc2FnZUIqqgInR29vZ2xlLlByb3RvYnVmLlRlc3RQcm90",
29            "b3MuT2xkR2VuZXJhdG9yYgZwcm90bzM="));
30      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
31          new pbr::FileDescriptor[] { global::Google.Protobuf.TestProtos.OldGenerator.OldExtensions2Reflection.Descriptor, },
32          new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
33            new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.TestProtos.OldGenerator.TestMessage), global::Google.Protobuf.TestProtos.OldGenerator.TestMessage.Parser, null, null, null, null)
34          }));
35    }
36    #endregion
37
38  }
39  #region Messages
40  /// <summary>
41  /// We don't use this message other than to get its descriptor.
42  /// </summary>
43  public sealed partial class TestMessage : pb::IMessage<TestMessage> {
44    private static readonly pb::MessageParser<TestMessage> _parser = new pb::MessageParser<TestMessage>(() => new TestMessage());
45    private pb::UnknownFieldSet _unknownFields;
46    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
47    public static pb::MessageParser<TestMessage> Parser { get { return _parser; } }
48
49    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
50    public static pbr::MessageDescriptor Descriptor {
51      get { return global::Google.Protobuf.TestProtos.OldGenerator.OldExtensions1Reflection.Descriptor.MessageTypes[0]; }
52    }
53
54    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
55    pbr::MessageDescriptor pb::IMessage.Descriptor {
56      get { return Descriptor; }
57    }
58
59    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
60    public TestMessage() {
61      OnConstruction();
62    }
63
64    partial void OnConstruction();
65
66    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
67    public TestMessage(TestMessage other) : this() {
68      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
69    }
70
71    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
72    public TestMessage Clone() {
73      return new TestMessage(this);
74    }
75
76    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
77    public override bool Equals(object other) {
78      return Equals(other as TestMessage);
79    }
80
81    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
82    public bool Equals(TestMessage other) {
83      if (ReferenceEquals(other, null)) {
84        return false;
85      }
86      if (ReferenceEquals(other, this)) {
87        return true;
88      }
89      return Equals(_unknownFields, other._unknownFields);
90    }
91
92    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
93    public override int GetHashCode() {
94      int hash = 1;
95      if (_unknownFields != null) {
96        hash ^= _unknownFields.GetHashCode();
97      }
98      return hash;
99    }
100
101    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
102    public override string ToString() {
103      return pb::JsonFormatter.ToDiagnosticString(this);
104    }
105
106    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
107    public void WriteTo(pb::CodedOutputStream output) {
108      if (_unknownFields != null) {
109        _unknownFields.WriteTo(output);
110      }
111    }
112
113    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
114    public int CalculateSize() {
115      int size = 0;
116      if (_unknownFields != null) {
117        size += _unknownFields.CalculateSize();
118      }
119      return size;
120    }
121
122    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
123    public void MergeFrom(TestMessage other) {
124      if (other == null) {
125        return;
126      }
127      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
128    }
129
130    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
131    public void MergeFrom(pb::CodedInputStream input) {
132      uint tag;
133      while ((tag = input.ReadTag()) != 0) {
134        switch(tag) {
135          default:
136            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
137            break;
138        }
139      }
140    }
141
142  }
143
144  #endregion
145
146}
147
148#endregion Designer generated code
149