using System; using System.Diagnostics; using Google.Protobuf.Collections; using Google.Protobuf.Reflection; namespace Google.Protobuf.WellKnownTypes { // Token: 0x02000032 RID: 50 public sealed class Field : IMessage, IMessage, IEquatable, IDeepCloneable { // Token: 0x17000080 RID: 128 // (get) Token: 0x06000291 RID: 657 RVA: 0x0000B299 File Offset: 0x00009499 [DebuggerNonUserCode] public static MessageParser Parser { get { return Field._parser; } } // Token: 0x17000081 RID: 129 // (get) Token: 0x06000292 RID: 658 RVA: 0x0000B2A0 File Offset: 0x000094A0 [DebuggerNonUserCode] public static MessageDescriptor Descriptor { get { return TypeReflection.Descriptor.MessageTypes[1]; } } // Token: 0x17000082 RID: 130 // (get) Token: 0x06000293 RID: 659 RVA: 0x0000B2B2 File Offset: 0x000094B2 [DebuggerNonUserCode] MessageDescriptor IMessage.Descriptor { get { return Field.Descriptor; } } // Token: 0x06000294 RID: 660 RVA: 0x0000B2B9 File Offset: 0x000094B9 [DebuggerNonUserCode] public Field() { } // Token: 0x06000295 RID: 661 RVA: 0x0000B2F8 File Offset: 0x000094F8 [DebuggerNonUserCode] public Field(Field other) : this() { this.kind_ = other.kind_; this.cardinality_ = other.cardinality_; this.number_ = other.number_; this.name_ = other.name_; this.typeUrl_ = other.typeUrl_; this.oneofIndex_ = other.oneofIndex_; this.packed_ = other.packed_; this.options_ = other.options_.Clone(); this.jsonName_ = other.jsonName_; this.defaultValue_ = other.defaultValue_; } // Token: 0x06000296 RID: 662 RVA: 0x0000B388 File Offset: 0x00009588 [DebuggerNonUserCode] public Field Clone() { return new Field(this); } // Token: 0x17000083 RID: 131 // (get) Token: 0x06000297 RID: 663 RVA: 0x0000B390 File Offset: 0x00009590 // (set) Token: 0x06000298 RID: 664 RVA: 0x0000B398 File Offset: 0x00009598 [DebuggerNonUserCode] public Field.Types.Kind Kind { get { return this.kind_; } set { this.kind_ = value; } } // Token: 0x17000084 RID: 132 // (get) Token: 0x06000299 RID: 665 RVA: 0x0000B3A1 File Offset: 0x000095A1 // (set) Token: 0x0600029A RID: 666 RVA: 0x0000B3A9 File Offset: 0x000095A9 [DebuggerNonUserCode] public Field.Types.Cardinality Cardinality { get { return this.cardinality_; } set { this.cardinality_ = value; } } // Token: 0x17000085 RID: 133 // (get) Token: 0x0600029B RID: 667 RVA: 0x0000B3B2 File Offset: 0x000095B2 // (set) Token: 0x0600029C RID: 668 RVA: 0x0000B3BA File Offset: 0x000095BA [DebuggerNonUserCode] public int Number { get { return this.number_; } set { this.number_ = value; } } // Token: 0x17000086 RID: 134 // (get) Token: 0x0600029D RID: 669 RVA: 0x0000B3C3 File Offset: 0x000095C3 // (set) Token: 0x0600029E RID: 670 RVA: 0x0000B3CB File Offset: 0x000095CB [DebuggerNonUserCode] public string Name { get { return this.name_; } set { this.name_ = ProtoPreconditions.CheckNotNull(value, "value"); } } // Token: 0x17000087 RID: 135 // (get) Token: 0x0600029F RID: 671 RVA: 0x0000B3DE File Offset: 0x000095DE // (set) Token: 0x060002A0 RID: 672 RVA: 0x0000B3E6 File Offset: 0x000095E6 [DebuggerNonUserCode] public string TypeUrl { get { return this.typeUrl_; } set { this.typeUrl_ = ProtoPreconditions.CheckNotNull(value, "value"); } } // Token: 0x17000088 RID: 136 // (get) Token: 0x060002A1 RID: 673 RVA: 0x0000B3F9 File Offset: 0x000095F9 // (set) Token: 0x060002A2 RID: 674 RVA: 0x0000B401 File Offset: 0x00009601 [DebuggerNonUserCode] public int OneofIndex { get { return this.oneofIndex_; } set { this.oneofIndex_ = value; } } // Token: 0x17000089 RID: 137 // (get) Token: 0x060002A3 RID: 675 RVA: 0x0000B40A File Offset: 0x0000960A // (set) Token: 0x060002A4 RID: 676 RVA: 0x0000B412 File Offset: 0x00009612 [DebuggerNonUserCode] public bool Packed { get { return this.packed_; } set { this.packed_ = value; } } // Token: 0x1700008A RID: 138 // (get) Token: 0x060002A5 RID: 677 RVA: 0x0000B41B File Offset: 0x0000961B [DebuggerNonUserCode] public RepeatedField