This commit is contained in:
niko
2026-06-04 11:42:34 +02:00
parent f39ba70a9f
commit e720b98cd1
7488 changed files with 2493818 additions and 0 deletions
+158
View File
@@ -0,0 +1,158 @@
using System;
using System.Diagnostics;
using Google.Protobuf.Collections;
namespace Google.Protobuf.Reflection
{
// Token: 0x0200004D RID: 77
internal sealed class OneofOptions : IMessage<OneofOptions>, IMessage, IEquatable<OneofOptions>, IDeepCloneable<OneofOptions>
{
// Token: 0x17000137 RID: 311
// (get) Token: 0x060004C9 RID: 1225 RVA: 0x00012103 File Offset: 0x00010303
[DebuggerNonUserCode]
public static MessageParser<OneofOptions> Parser
{
get
{
return OneofOptions._parser;
}
}
// Token: 0x17000138 RID: 312
// (get) Token: 0x060004CA RID: 1226 RVA: 0x0001210A File Offset: 0x0001030A
[DebuggerNonUserCode]
public static MessageDescriptor Descriptor
{
get
{
return DescriptorReflection.Descriptor.MessageTypes[12];
}
}
// Token: 0x17000139 RID: 313
// (get) Token: 0x060004CB RID: 1227 RVA: 0x0001211D File Offset: 0x0001031D
[DebuggerNonUserCode]
MessageDescriptor IMessage.Descriptor
{
get
{
return OneofOptions.Descriptor;
}
}
// Token: 0x060004CC RID: 1228 RVA: 0x00012124 File Offset: 0x00010324
[DebuggerNonUserCode]
public OneofOptions()
{
}
// Token: 0x060004CD RID: 1229 RVA: 0x00012137 File Offset: 0x00010337
[DebuggerNonUserCode]
public OneofOptions(OneofOptions other)
: this()
{
this.uninterpretedOption_ = other.uninterpretedOption_.Clone();
}
// Token: 0x060004CE RID: 1230 RVA: 0x00012150 File Offset: 0x00010350
[DebuggerNonUserCode]
public OneofOptions Clone()
{
return new OneofOptions(this);
}
// Token: 0x1700013A RID: 314
// (get) Token: 0x060004CF RID: 1231 RVA: 0x00012158 File Offset: 0x00010358
[DebuggerNonUserCode]
public RepeatedField<UninterpretedOption> UninterpretedOption
{
get
{
return this.uninterpretedOption_;
}
}
// Token: 0x060004D0 RID: 1232 RVA: 0x00012160 File Offset: 0x00010360
[DebuggerNonUserCode]
public override bool Equals(object other)
{
return this.Equals(other as OneofOptions);
}
// Token: 0x060004D1 RID: 1233 RVA: 0x0001216E File Offset: 0x0001036E
[DebuggerNonUserCode]
public bool Equals(OneofOptions other)
{
return other != null && (other == this || this.uninterpretedOption_.Equals(other.uninterpretedOption_));
}
// Token: 0x060004D2 RID: 1234 RVA: 0x00012191 File Offset: 0x00010391
[DebuggerNonUserCode]
public override int GetHashCode()
{
return 1 ^ this.uninterpretedOption_.GetHashCode();
}
// Token: 0x060004D3 RID: 1235 RVA: 0x00007C02 File Offset: 0x00005E02
[DebuggerNonUserCode]
public override string ToString()
{
return JsonFormatter.ToDiagnosticString(this);
}
// Token: 0x060004D4 RID: 1236 RVA: 0x000121A0 File Offset: 0x000103A0
[DebuggerNonUserCode]
public void WriteTo(CodedOutputStream output)
{
this.uninterpretedOption_.WriteTo(output, OneofOptions._repeated_uninterpretedOption_codec);
}
// Token: 0x060004D5 RID: 1237 RVA: 0x000121B3 File Offset: 0x000103B3
[DebuggerNonUserCode]
public int CalculateSize()
{
return 0 + this.uninterpretedOption_.CalculateSize(OneofOptions._repeated_uninterpretedOption_codec);
}
// Token: 0x060004D6 RID: 1238 RVA: 0x000121C7 File Offset: 0x000103C7
[DebuggerNonUserCode]
public void MergeFrom(OneofOptions other)
{
if (other == null)
{
return;
}
this.uninterpretedOption_.Add(other.uninterpretedOption_);
}
// Token: 0x060004D7 RID: 1239 RVA: 0x000121E0 File Offset: 0x000103E0
[DebuggerNonUserCode]
public void MergeFrom(CodedInputStream input)
{
uint num;
while ((num = input.ReadTag()) != 0U)
{
if (num != 7994U)
{
input.SkipLastField();
}
else
{
this.uninterpretedOption_.AddEntriesFrom(input, OneofOptions._repeated_uninterpretedOption_codec);
}
}
}
// Token: 0x040001D0 RID: 464
private static readonly MessageParser<OneofOptions> _parser = new MessageParser<OneofOptions>(() => new OneofOptions());
// Token: 0x040001D1 RID: 465
public const int UninterpretedOptionFieldNumber = 999;
// Token: 0x040001D2 RID: 466
private static readonly FieldCodec<UninterpretedOption> _repeated_uninterpretedOption_codec = FieldCodec.ForMessage<UninterpretedOption>(7994U, Google.Protobuf.Reflection.UninterpretedOption.Parser);
// Token: 0x040001D3 RID: 467
private readonly RepeatedField<UninterpretedOption> uninterpretedOption_ = new RepeatedField<UninterpretedOption>();
}
}