using System; using System.Diagnostics; using Google.Protobuf.Collections; using Google.Protobuf.Reflection; namespace Google.Protobuf.WellKnownTypes { // Token: 0x0200001C RID: 28 public sealed class Api : IMessage, IMessage, IEquatable, IDeepCloneable { // Token: 0x17000030 RID: 48 // (get) Token: 0x0600016E RID: 366 RVA: 0x00008021 File Offset: 0x00006221 [DebuggerNonUserCode] public static MessageParser Parser { get { return Api._parser; } } // Token: 0x17000031 RID: 49 // (get) Token: 0x0600016F RID: 367 RVA: 0x00008028 File Offset: 0x00006228 [DebuggerNonUserCode] public static MessageDescriptor Descriptor { get { return ApiReflection.Descriptor.MessageTypes[0]; } } // Token: 0x17000032 RID: 50 // (get) Token: 0x06000170 RID: 368 RVA: 0x0000803A File Offset: 0x0000623A [DebuggerNonUserCode] MessageDescriptor IMessage.Descriptor { get { return Api.Descriptor; } } // Token: 0x06000171 RID: 369 RVA: 0x00008041 File Offset: 0x00006241 [DebuggerNonUserCode] public Api() { } // Token: 0x06000172 RID: 370 RVA: 0x00008080 File Offset: 0x00006280 [DebuggerNonUserCode] public Api(Api other) : this() { this.name_ = other.name_; this.methods_ = other.methods_.Clone(); this.options_ = other.options_.Clone(); this.version_ = other.version_; this.SourceContext = ((other.sourceContext_ != null) ? other.SourceContext.Clone() : null); this.mixins_ = other.mixins_.Clone(); this.syntax_ = other.syntax_; } // Token: 0x06000173 RID: 371 RVA: 0x00008106 File Offset: 0x00006306 [DebuggerNonUserCode] public Api Clone() { return new Api(this); } // Token: 0x17000033 RID: 51 // (get) Token: 0x06000174 RID: 372 RVA: 0x0000810E File Offset: 0x0000630E // (set) Token: 0x06000175 RID: 373 RVA: 0x00008116 File Offset: 0x00006316 [DebuggerNonUserCode] public string Name { get { return this.name_; } set { this.name_ = ProtoPreconditions.CheckNotNull(value, "value"); } } // Token: 0x17000034 RID: 52 // (get) Token: 0x06000176 RID: 374 RVA: 0x00008129 File Offset: 0x00006329 [DebuggerNonUserCode] public RepeatedField Methods { get { return this.methods_; } } // Token: 0x17000035 RID: 53 // (get) Token: 0x06000177 RID: 375 RVA: 0x00008131 File Offset: 0x00006331 [DebuggerNonUserCode] public RepeatedField