| Index: third_party/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/UnittestWellKnownTypes.cs
|
| diff --git a/third_party/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/UnittestWellKnownTypes.cs b/third_party/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/UnittestWellKnownTypes.cs
|
| index ae12f4a4b9c33e61d4ac4e289c2d2bf5d65ea8ff..6e87fb5da56b34d8b60ab498f2009f68aafa83e4 100644
|
| --- a/third_party/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/UnittestWellKnownTypes.cs
|
| +++ b/third_party/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/UnittestWellKnownTypes.cs
|
| @@ -10,7 +10,6 @@ using scg = global::System.Collections.Generic;
|
| namespace Google.Protobuf.TestProtos {
|
|
|
| /// <summary>Holder for reflection information generated from google/protobuf/unittest_well_known_types.proto</summary>
|
| - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
| public static partial class UnittestWellKnownTypesReflection {
|
|
|
| #region Descriptor
|
| @@ -178,25 +177,29 @@ namespace Google.Protobuf.TestProtos {
|
| /// Each wrapper type is included separately, as languages
|
| /// map handle different wrappers in different ways.
|
| /// </summary>
|
| - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
| public sealed partial class TestWellKnownTypes : pb::IMessage<TestWellKnownTypes> {
|
| private static readonly pb::MessageParser<TestWellKnownTypes> _parser = new pb::MessageParser<TestWellKnownTypes>(() => new TestWellKnownTypes());
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public static pb::MessageParser<TestWellKnownTypes> Parser { get { return _parser; } }
|
|
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public static pbr::MessageDescriptor Descriptor {
|
| get { return global::Google.Protobuf.TestProtos.UnittestWellKnownTypesReflection.Descriptor.MessageTypes[0]; }
|
| }
|
|
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| pbr::MessageDescriptor pb::IMessage.Descriptor {
|
| get { return Descriptor; }
|
| }
|
|
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public TestWellKnownTypes() {
|
| OnConstruction();
|
| }
|
|
|
| partial void OnConstruction();
|
|
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public TestWellKnownTypes(TestWellKnownTypes other) : this() {
|
| AnyField = other.anyField_ != null ? other.AnyField.Clone() : null;
|
| ApiField = other.apiField_ != null ? other.ApiField.Clone() : null;
|
| @@ -219,6 +222,7 @@ namespace Google.Protobuf.TestProtos {
|
| ValueField = other.valueField_ != null ? other.ValueField.Clone() : null;
|
| }
|
|
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public TestWellKnownTypes Clone() {
|
| return new TestWellKnownTypes(this);
|
| }
|
| @@ -226,6 +230,7 @@ namespace Google.Protobuf.TestProtos {
|
| /// <summary>Field number for the "any_field" field.</summary>
|
| public const int AnyFieldFieldNumber = 1;
|
| private global::Google.Protobuf.WellKnownTypes.Any anyField_;
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public global::Google.Protobuf.WellKnownTypes.Any AnyField {
|
| get { return anyField_; }
|
| set {
|
| @@ -236,6 +241,7 @@ namespace Google.Protobuf.TestProtos {
|
| /// <summary>Field number for the "api_field" field.</summary>
|
| public const int ApiFieldFieldNumber = 2;
|
| private global::Google.Protobuf.WellKnownTypes.Api apiField_;
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public global::Google.Protobuf.WellKnownTypes.Api ApiField {
|
| get { return apiField_; }
|
| set {
|
| @@ -246,6 +252,7 @@ namespace Google.Protobuf.TestProtos {
|
| /// <summary>Field number for the "duration_field" field.</summary>
|
| public const int DurationFieldFieldNumber = 3;
|
| private global::Google.Protobuf.WellKnownTypes.Duration durationField_;
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public global::Google.Protobuf.WellKnownTypes.Duration DurationField {
|
| get { return durationField_; }
|
| set {
|
| @@ -256,6 +263,7 @@ namespace Google.Protobuf.TestProtos {
|
| /// <summary>Field number for the "empty_field" field.</summary>
|
| public const int EmptyFieldFieldNumber = 4;
|
| private global::Google.Protobuf.WellKnownTypes.Empty emptyField_;
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public global::Google.Protobuf.WellKnownTypes.Empty EmptyField {
|
| get { return emptyField_; }
|
| set {
|
| @@ -266,6 +274,7 @@ namespace Google.Protobuf.TestProtos {
|
| /// <summary>Field number for the "field_mask_field" field.</summary>
|
| public const int FieldMaskFieldFieldNumber = 5;
|
| private global::Google.Protobuf.WellKnownTypes.FieldMask fieldMaskField_;
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public global::Google.Protobuf.WellKnownTypes.FieldMask FieldMaskField {
|
| get { return fieldMaskField_; }
|
| set {
|
| @@ -276,6 +285,7 @@ namespace Google.Protobuf.TestProtos {
|
| /// <summary>Field number for the "source_context_field" field.</summary>
|
| public const int SourceContextFieldFieldNumber = 6;
|
| private global::Google.Protobuf.WellKnownTypes.SourceContext sourceContextField_;
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public global::Google.Protobuf.WellKnownTypes.SourceContext SourceContextField {
|
| get { return sourceContextField_; }
|
| set {
|
| @@ -286,6 +296,7 @@ namespace Google.Protobuf.TestProtos {
|
| /// <summary>Field number for the "struct_field" field.</summary>
|
| public const int StructFieldFieldNumber = 7;
|
| private global::Google.Protobuf.WellKnownTypes.Struct structField_;
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public global::Google.Protobuf.WellKnownTypes.Struct StructField {
|
| get { return structField_; }
|
| set {
|
| @@ -296,6 +307,7 @@ namespace Google.Protobuf.TestProtos {
|
| /// <summary>Field number for the "timestamp_field" field.</summary>
|
| public const int TimestampFieldFieldNumber = 8;
|
| private global::Google.Protobuf.WellKnownTypes.Timestamp timestampField_;
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public global::Google.Protobuf.WellKnownTypes.Timestamp TimestampField {
|
| get { return timestampField_; }
|
| set {
|
| @@ -306,6 +318,7 @@ namespace Google.Protobuf.TestProtos {
|
| /// <summary>Field number for the "type_field" field.</summary>
|
| public const int TypeFieldFieldNumber = 9;
|
| private global::Google.Protobuf.WellKnownTypes.Type typeField_;
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public global::Google.Protobuf.WellKnownTypes.Type TypeField {
|
| get { return typeField_; }
|
| set {
|
| @@ -317,6 +330,7 @@ namespace Google.Protobuf.TestProtos {
|
| public const int DoubleFieldFieldNumber = 10;
|
| private static readonly pb::FieldCodec<double?> _single_doubleField_codec = pb::FieldCodec.ForStructWrapper<double>(82);
|
| private double? doubleField_;
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public double? DoubleField {
|
| get { return doubleField_; }
|
| set {
|
| @@ -328,6 +342,7 @@ namespace Google.Protobuf.TestProtos {
|
| public const int FloatFieldFieldNumber = 11;
|
| private static readonly pb::FieldCodec<float?> _single_floatField_codec = pb::FieldCodec.ForStructWrapper<float>(90);
|
| private float? floatField_;
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public float? FloatField {
|
| get { return floatField_; }
|
| set {
|
| @@ -339,6 +354,7 @@ namespace Google.Protobuf.TestProtos {
|
| public const int Int64FieldFieldNumber = 12;
|
| private static readonly pb::FieldCodec<long?> _single_int64Field_codec = pb::FieldCodec.ForStructWrapper<long>(98);
|
| private long? int64Field_;
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public long? Int64Field {
|
| get { return int64Field_; }
|
| set {
|
| @@ -350,6 +366,7 @@ namespace Google.Protobuf.TestProtos {
|
| public const int Uint64FieldFieldNumber = 13;
|
| private static readonly pb::FieldCodec<ulong?> _single_uint64Field_codec = pb::FieldCodec.ForStructWrapper<ulong>(106);
|
| private ulong? uint64Field_;
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public ulong? Uint64Field {
|
| get { return uint64Field_; }
|
| set {
|
| @@ -361,6 +378,7 @@ namespace Google.Protobuf.TestProtos {
|
| public const int Int32FieldFieldNumber = 14;
|
| private static readonly pb::FieldCodec<int?> _single_int32Field_codec = pb::FieldCodec.ForStructWrapper<int>(114);
|
| private int? int32Field_;
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public int? Int32Field {
|
| get { return int32Field_; }
|
| set {
|
| @@ -372,6 +390,7 @@ namespace Google.Protobuf.TestProtos {
|
| public const int Uint32FieldFieldNumber = 15;
|
| private static readonly pb::FieldCodec<uint?> _single_uint32Field_codec = pb::FieldCodec.ForStructWrapper<uint>(122);
|
| private uint? uint32Field_;
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public uint? Uint32Field {
|
| get { return uint32Field_; }
|
| set {
|
| @@ -383,6 +402,7 @@ namespace Google.Protobuf.TestProtos {
|
| public const int BoolFieldFieldNumber = 16;
|
| private static readonly pb::FieldCodec<bool?> _single_boolField_codec = pb::FieldCodec.ForStructWrapper<bool>(130);
|
| private bool? boolField_;
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public bool? BoolField {
|
| get { return boolField_; }
|
| set {
|
| @@ -394,6 +414,7 @@ namespace Google.Protobuf.TestProtos {
|
| public const int StringFieldFieldNumber = 17;
|
| private static readonly pb::FieldCodec<string> _single_stringField_codec = pb::FieldCodec.ForClassWrapper<string>(138);
|
| private string stringField_;
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public string StringField {
|
| get { return stringField_; }
|
| set {
|
| @@ -405,6 +426,7 @@ namespace Google.Protobuf.TestProtos {
|
| public const int BytesFieldFieldNumber = 18;
|
| private static readonly pb::FieldCodec<pb::ByteString> _single_bytesField_codec = pb::FieldCodec.ForClassWrapper<pb::ByteString>(146);
|
| private pb::ByteString bytesField_;
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public pb::ByteString BytesField {
|
| get { return bytesField_; }
|
| set {
|
| @@ -418,6 +440,7 @@ namespace Google.Protobuf.TestProtos {
|
| /// <summary>
|
| /// Part of struct, but useful to be able to test separately
|
| /// </summary>
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public global::Google.Protobuf.WellKnownTypes.Value ValueField {
|
| get { return valueField_; }
|
| set {
|
| @@ -425,10 +448,12 @@ namespace Google.Protobuf.TestProtos {
|
| }
|
| }
|
|
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public override bool Equals(object other) {
|
| return Equals(other as TestWellKnownTypes);
|
| }
|
|
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public bool Equals(TestWellKnownTypes other) {
|
| if (ReferenceEquals(other, null)) {
|
| return false;
|
| @@ -458,6 +483,7 @@ namespace Google.Protobuf.TestProtos {
|
| return true;
|
| }
|
|
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public override int GetHashCode() {
|
| int hash = 1;
|
| if (anyField_ != null) hash ^= AnyField.GetHashCode();
|
| @@ -482,10 +508,12 @@ namespace Google.Protobuf.TestProtos {
|
| return hash;
|
| }
|
|
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public override string ToString() {
|
| return pb::JsonFormatter.ToDiagnosticString(this);
|
| }
|
|
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public void WriteTo(pb::CodedOutputStream output) {
|
| if (anyField_ != null) {
|
| output.WriteRawTag(10);
|
| @@ -556,6 +584,7 @@ namespace Google.Protobuf.TestProtos {
|
| }
|
| }
|
|
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public int CalculateSize() {
|
| int size = 0;
|
| if (anyField_ != null) {
|
| @@ -618,6 +647,7 @@ namespace Google.Protobuf.TestProtos {
|
| return size;
|
| }
|
|
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public void MergeFrom(TestWellKnownTypes other) {
|
| if (other == null) {
|
| return;
|
| @@ -729,6 +759,7 @@ namespace Google.Protobuf.TestProtos {
|
| }
|
| }
|
|
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public void MergeFrom(pb::CodedInputStream input) {
|
| uint tag;
|
| while ((tag = input.ReadTag()) != 0) {
|
| @@ -878,25 +909,29 @@ namespace Google.Protobuf.TestProtos {
|
| /// <summary>
|
| /// A repeated field for each well-known type.
|
| /// </summary>
|
| - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
| public sealed partial class RepeatedWellKnownTypes : pb::IMessage<RepeatedWellKnownTypes> {
|
| private static readonly pb::MessageParser<RepeatedWellKnownTypes> _parser = new pb::MessageParser<RepeatedWellKnownTypes>(() => new RepeatedWellKnownTypes());
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public static pb::MessageParser<RepeatedWellKnownTypes> Parser { get { return _parser; } }
|
|
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public static pbr::MessageDescriptor Descriptor {
|
| get { return global::Google.Protobuf.TestProtos.UnittestWellKnownTypesReflection.Descriptor.MessageTypes[1]; }
|
| }
|
|
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| pbr::MessageDescriptor pb::IMessage.Descriptor {
|
| get { return Descriptor; }
|
| }
|
|
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public RepeatedWellKnownTypes() {
|
| OnConstruction();
|
| }
|
|
|
| partial void OnConstruction();
|
|
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public RepeatedWellKnownTypes(RepeatedWellKnownTypes other) : this() {
|
| anyField_ = other.anyField_.Clone();
|
| apiField_ = other.apiField_.Clone();
|
| @@ -918,6 +953,7 @@ namespace Google.Protobuf.TestProtos {
|
| bytesField_ = other.bytesField_.Clone();
|
| }
|
|
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public RepeatedWellKnownTypes Clone() {
|
| return new RepeatedWellKnownTypes(this);
|
| }
|
| @@ -927,6 +963,7 @@ namespace Google.Protobuf.TestProtos {
|
| private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownTypes.Any> _repeated_anyField_codec
|
| = pb::FieldCodec.ForMessage(10, global::Google.Protobuf.WellKnownTypes.Any.Parser);
|
| private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Any> anyField_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Any>();
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Any> AnyField {
|
| get { return anyField_; }
|
| }
|
| @@ -936,6 +973,7 @@ namespace Google.Protobuf.TestProtos {
|
| private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownTypes.Api> _repeated_apiField_codec
|
| = pb::FieldCodec.ForMessage(18, global::Google.Protobuf.WellKnownTypes.Api.Parser);
|
| private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Api> apiField_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Api>();
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Api> ApiField {
|
| get { return apiField_; }
|
| }
|
| @@ -945,6 +983,7 @@ namespace Google.Protobuf.TestProtos {
|
| private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownTypes.Duration> _repeated_durationField_codec
|
| = pb::FieldCodec.ForMessage(26, global::Google.Protobuf.WellKnownTypes.Duration.Parser);
|
| private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Duration> durationField_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Duration>();
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Duration> DurationField {
|
| get { return durationField_; }
|
| }
|
| @@ -954,6 +993,7 @@ namespace Google.Protobuf.TestProtos {
|
| private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownTypes.Empty> _repeated_emptyField_codec
|
| = pb::FieldCodec.ForMessage(34, global::Google.Protobuf.WellKnownTypes.Empty.Parser);
|
| private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Empty> emptyField_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Empty>();
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Empty> EmptyField {
|
| get { return emptyField_; }
|
| }
|
| @@ -963,6 +1003,7 @@ namespace Google.Protobuf.TestProtos {
|
| private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownTypes.FieldMask> _repeated_fieldMaskField_codec
|
| = pb::FieldCodec.ForMessage(42, global::Google.Protobuf.WellKnownTypes.FieldMask.Parser);
|
| private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.FieldMask> fieldMaskField_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.FieldMask>();
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.FieldMask> FieldMaskField {
|
| get { return fieldMaskField_; }
|
| }
|
| @@ -972,6 +1013,7 @@ namespace Google.Protobuf.TestProtos {
|
| private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownTypes.SourceContext> _repeated_sourceContextField_codec
|
| = pb::FieldCodec.ForMessage(50, global::Google.Protobuf.WellKnownTypes.SourceContext.Parser);
|
| private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.SourceContext> sourceContextField_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.SourceContext>();
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.SourceContext> SourceContextField {
|
| get { return sourceContextField_; }
|
| }
|
| @@ -981,6 +1023,7 @@ namespace Google.Protobuf.TestProtos {
|
| private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownTypes.Struct> _repeated_structField_codec
|
| = pb::FieldCodec.ForMessage(58, global::Google.Protobuf.WellKnownTypes.Struct.Parser);
|
| private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Struct> structField_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Struct>();
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Struct> StructField {
|
| get { return structField_; }
|
| }
|
| @@ -990,6 +1033,7 @@ namespace Google.Protobuf.TestProtos {
|
| private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownTypes.Timestamp> _repeated_timestampField_codec
|
| = pb::FieldCodec.ForMessage(66, global::Google.Protobuf.WellKnownTypes.Timestamp.Parser);
|
| private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Timestamp> timestampField_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Timestamp>();
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Timestamp> TimestampField {
|
| get { return timestampField_; }
|
| }
|
| @@ -999,6 +1043,7 @@ namespace Google.Protobuf.TestProtos {
|
| private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownTypes.Type> _repeated_typeField_codec
|
| = pb::FieldCodec.ForMessage(74, global::Google.Protobuf.WellKnownTypes.Type.Parser);
|
| private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Type> typeField_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Type>();
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Type> TypeField {
|
| get { return typeField_; }
|
| }
|
| @@ -1011,6 +1056,7 @@ namespace Google.Protobuf.TestProtos {
|
| /// <summary>
|
| /// These don't actually make a lot of sense, but they're not prohibited...
|
| /// </summary>
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public pbc::RepeatedField<double?> DoubleField {
|
| get { return doubleField_; }
|
| }
|
| @@ -1020,6 +1066,7 @@ namespace Google.Protobuf.TestProtos {
|
| private static readonly pb::FieldCodec<float?> _repeated_floatField_codec
|
| = pb::FieldCodec.ForStructWrapper<float>(90);
|
| private readonly pbc::RepeatedField<float?> floatField_ = new pbc::RepeatedField<float?>();
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public pbc::RepeatedField<float?> FloatField {
|
| get { return floatField_; }
|
| }
|
| @@ -1029,6 +1076,7 @@ namespace Google.Protobuf.TestProtos {
|
| private static readonly pb::FieldCodec<long?> _repeated_int64Field_codec
|
| = pb::FieldCodec.ForStructWrapper<long>(98);
|
| private readonly pbc::RepeatedField<long?> int64Field_ = new pbc::RepeatedField<long?>();
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public pbc::RepeatedField<long?> Int64Field {
|
| get { return int64Field_; }
|
| }
|
| @@ -1038,6 +1086,7 @@ namespace Google.Protobuf.TestProtos {
|
| private static readonly pb::FieldCodec<ulong?> _repeated_uint64Field_codec
|
| = pb::FieldCodec.ForStructWrapper<ulong>(106);
|
| private readonly pbc::RepeatedField<ulong?> uint64Field_ = new pbc::RepeatedField<ulong?>();
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public pbc::RepeatedField<ulong?> Uint64Field {
|
| get { return uint64Field_; }
|
| }
|
| @@ -1047,6 +1096,7 @@ namespace Google.Protobuf.TestProtos {
|
| private static readonly pb::FieldCodec<int?> _repeated_int32Field_codec
|
| = pb::FieldCodec.ForStructWrapper<int>(114);
|
| private readonly pbc::RepeatedField<int?> int32Field_ = new pbc::RepeatedField<int?>();
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public pbc::RepeatedField<int?> Int32Field {
|
| get { return int32Field_; }
|
| }
|
| @@ -1056,6 +1106,7 @@ namespace Google.Protobuf.TestProtos {
|
| private static readonly pb::FieldCodec<uint?> _repeated_uint32Field_codec
|
| = pb::FieldCodec.ForStructWrapper<uint>(122);
|
| private readonly pbc::RepeatedField<uint?> uint32Field_ = new pbc::RepeatedField<uint?>();
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public pbc::RepeatedField<uint?> Uint32Field {
|
| get { return uint32Field_; }
|
| }
|
| @@ -1065,6 +1116,7 @@ namespace Google.Protobuf.TestProtos {
|
| private static readonly pb::FieldCodec<bool?> _repeated_boolField_codec
|
| = pb::FieldCodec.ForStructWrapper<bool>(130);
|
| private readonly pbc::RepeatedField<bool?> boolField_ = new pbc::RepeatedField<bool?>();
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public pbc::RepeatedField<bool?> BoolField {
|
| get { return boolField_; }
|
| }
|
| @@ -1074,6 +1126,7 @@ namespace Google.Protobuf.TestProtos {
|
| private static readonly pb::FieldCodec<string> _repeated_stringField_codec
|
| = pb::FieldCodec.ForClassWrapper<string>(138);
|
| private readonly pbc::RepeatedField<string> stringField_ = new pbc::RepeatedField<string>();
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public pbc::RepeatedField<string> StringField {
|
| get { return stringField_; }
|
| }
|
| @@ -1083,14 +1136,17 @@ namespace Google.Protobuf.TestProtos {
|
| private static readonly pb::FieldCodec<pb::ByteString> _repeated_bytesField_codec
|
| = pb::FieldCodec.ForClassWrapper<pb::ByteString>(146);
|
| private readonly pbc::RepeatedField<pb::ByteString> bytesField_ = new pbc::RepeatedField<pb::ByteString>();
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public pbc::RepeatedField<pb::ByteString> BytesField {
|
| get { return bytesField_; }
|
| }
|
|
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public override bool Equals(object other) {
|
| return Equals(other as RepeatedWellKnownTypes);
|
| }
|
|
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public bool Equals(RepeatedWellKnownTypes other) {
|
| if (ReferenceEquals(other, null)) {
|
| return false;
|
| @@ -1119,6 +1175,7 @@ namespace Google.Protobuf.TestProtos {
|
| return true;
|
| }
|
|
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public override int GetHashCode() {
|
| int hash = 1;
|
| hash ^= anyField_.GetHashCode();
|
| @@ -1142,10 +1199,12 @@ namespace Google.Protobuf.TestProtos {
|
| return hash;
|
| }
|
|
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public override string ToString() {
|
| return pb::JsonFormatter.ToDiagnosticString(this);
|
| }
|
|
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public void WriteTo(pb::CodedOutputStream output) {
|
| anyField_.WriteTo(output, _repeated_anyField_codec);
|
| apiField_.WriteTo(output, _repeated_apiField_codec);
|
| @@ -1167,6 +1226,7 @@ namespace Google.Protobuf.TestProtos {
|
| bytesField_.WriteTo(output, _repeated_bytesField_codec);
|
| }
|
|
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public int CalculateSize() {
|
| int size = 0;
|
| size += anyField_.CalculateSize(_repeated_anyField_codec);
|
| @@ -1190,6 +1250,7 @@ namespace Google.Protobuf.TestProtos {
|
| return size;
|
| }
|
|
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public void MergeFrom(RepeatedWellKnownTypes other) {
|
| if (other == null) {
|
| return;
|
| @@ -1214,6 +1275,7 @@ namespace Google.Protobuf.TestProtos {
|
| bytesField_.Add(other.bytesField_);
|
| }
|
|
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public void MergeFrom(pb::CodedInputStream input) {
|
| uint tag;
|
| while ((tag = input.ReadTag()) != 0) {
|
| @@ -1299,25 +1361,29 @@ namespace Google.Protobuf.TestProtos {
|
|
|
| }
|
|
|
| - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
| public sealed partial class OneofWellKnownTypes : pb::IMessage<OneofWellKnownTypes> {
|
| private static readonly pb::MessageParser<OneofWellKnownTypes> _parser = new pb::MessageParser<OneofWellKnownTypes>(() => new OneofWellKnownTypes());
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public static pb::MessageParser<OneofWellKnownTypes> Parser { get { return _parser; } }
|
|
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public static pbr::MessageDescriptor Descriptor {
|
| get { return global::Google.Protobuf.TestProtos.UnittestWellKnownTypesReflection.Descriptor.MessageTypes[2]; }
|
| }
|
|
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| pbr::MessageDescriptor pb::IMessage.Descriptor {
|
| get { return Descriptor; }
|
| }
|
|
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public OneofWellKnownTypes() {
|
| OnConstruction();
|
| }
|
|
|
| partial void OnConstruction();
|
|
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public OneofWellKnownTypes(OneofWellKnownTypes other) : this() {
|
| switch (other.OneofFieldCase) {
|
| case OneofFieldOneofCase.AnyField:
|
| @@ -1378,12 +1444,14 @@ namespace Google.Protobuf.TestProtos {
|
|
|
| }
|
|
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public OneofWellKnownTypes Clone() {
|
| return new OneofWellKnownTypes(this);
|
| }
|
|
|
| /// <summary>Field number for the "any_field" field.</summary>
|
| public const int AnyFieldFieldNumber = 1;
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public global::Google.Protobuf.WellKnownTypes.Any AnyField {
|
| get { return oneofFieldCase_ == OneofFieldOneofCase.AnyField ? (global::Google.Protobuf.WellKnownTypes.Any) oneofField_ : null; }
|
| set {
|
| @@ -1394,6 +1462,7 @@ namespace Google.Protobuf.TestProtos {
|
|
|
| /// <summary>Field number for the "api_field" field.</summary>
|
| public const int ApiFieldFieldNumber = 2;
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public global::Google.Protobuf.WellKnownTypes.Api ApiField {
|
| get { return oneofFieldCase_ == OneofFieldOneofCase.ApiField ? (global::Google.Protobuf.WellKnownTypes.Api) oneofField_ : null; }
|
| set {
|
| @@ -1404,6 +1473,7 @@ namespace Google.Protobuf.TestProtos {
|
|
|
| /// <summary>Field number for the "duration_field" field.</summary>
|
| public const int DurationFieldFieldNumber = 3;
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public global::Google.Protobuf.WellKnownTypes.Duration DurationField {
|
| get { return oneofFieldCase_ == OneofFieldOneofCase.DurationField ? (global::Google.Protobuf.WellKnownTypes.Duration) oneofField_ : null; }
|
| set {
|
| @@ -1414,6 +1484,7 @@ namespace Google.Protobuf.TestProtos {
|
|
|
| /// <summary>Field number for the "empty_field" field.</summary>
|
| public const int EmptyFieldFieldNumber = 4;
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public global::Google.Protobuf.WellKnownTypes.Empty EmptyField {
|
| get { return oneofFieldCase_ == OneofFieldOneofCase.EmptyField ? (global::Google.Protobuf.WellKnownTypes.Empty) oneofField_ : null; }
|
| set {
|
| @@ -1424,6 +1495,7 @@ namespace Google.Protobuf.TestProtos {
|
|
|
| /// <summary>Field number for the "field_mask_field" field.</summary>
|
| public const int FieldMaskFieldFieldNumber = 5;
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public global::Google.Protobuf.WellKnownTypes.FieldMask FieldMaskField {
|
| get { return oneofFieldCase_ == OneofFieldOneofCase.FieldMaskField ? (global::Google.Protobuf.WellKnownTypes.FieldMask) oneofField_ : null; }
|
| set {
|
| @@ -1434,6 +1506,7 @@ namespace Google.Protobuf.TestProtos {
|
|
|
| /// <summary>Field number for the "source_context_field" field.</summary>
|
| public const int SourceContextFieldFieldNumber = 6;
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public global::Google.Protobuf.WellKnownTypes.SourceContext SourceContextField {
|
| get { return oneofFieldCase_ == OneofFieldOneofCase.SourceContextField ? (global::Google.Protobuf.WellKnownTypes.SourceContext) oneofField_ : null; }
|
| set {
|
| @@ -1444,6 +1517,7 @@ namespace Google.Protobuf.TestProtos {
|
|
|
| /// <summary>Field number for the "struct_field" field.</summary>
|
| public const int StructFieldFieldNumber = 7;
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public global::Google.Protobuf.WellKnownTypes.Struct StructField {
|
| get { return oneofFieldCase_ == OneofFieldOneofCase.StructField ? (global::Google.Protobuf.WellKnownTypes.Struct) oneofField_ : null; }
|
| set {
|
| @@ -1454,6 +1528,7 @@ namespace Google.Protobuf.TestProtos {
|
|
|
| /// <summary>Field number for the "timestamp_field" field.</summary>
|
| public const int TimestampFieldFieldNumber = 8;
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public global::Google.Protobuf.WellKnownTypes.Timestamp TimestampField {
|
| get { return oneofFieldCase_ == OneofFieldOneofCase.TimestampField ? (global::Google.Protobuf.WellKnownTypes.Timestamp) oneofField_ : null; }
|
| set {
|
| @@ -1464,6 +1539,7 @@ namespace Google.Protobuf.TestProtos {
|
|
|
| /// <summary>Field number for the "type_field" field.</summary>
|
| public const int TypeFieldFieldNumber = 9;
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public global::Google.Protobuf.WellKnownTypes.Type TypeField {
|
| get { return oneofFieldCase_ == OneofFieldOneofCase.TypeField ? (global::Google.Protobuf.WellKnownTypes.Type) oneofField_ : null; }
|
| set {
|
| @@ -1475,6 +1551,7 @@ namespace Google.Protobuf.TestProtos {
|
| /// <summary>Field number for the "double_field" field.</summary>
|
| public const int DoubleFieldFieldNumber = 10;
|
| private static readonly pb::FieldCodec<double?> _oneof_doubleField_codec = pb::FieldCodec.ForStructWrapper<double>(82);
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public double? DoubleField {
|
| get { return oneofFieldCase_ == OneofFieldOneofCase.DoubleField ? (double?) oneofField_ : (double?) null; }
|
| set {
|
| @@ -1486,6 +1563,7 @@ namespace Google.Protobuf.TestProtos {
|
| /// <summary>Field number for the "float_field" field.</summary>
|
| public const int FloatFieldFieldNumber = 11;
|
| private static readonly pb::FieldCodec<float?> _oneof_floatField_codec = pb::FieldCodec.ForStructWrapper<float>(90);
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public float? FloatField {
|
| get { return oneofFieldCase_ == OneofFieldOneofCase.FloatField ? (float?) oneofField_ : (float?) null; }
|
| set {
|
| @@ -1497,6 +1575,7 @@ namespace Google.Protobuf.TestProtos {
|
| /// <summary>Field number for the "int64_field" field.</summary>
|
| public const int Int64FieldFieldNumber = 12;
|
| private static readonly pb::FieldCodec<long?> _oneof_int64Field_codec = pb::FieldCodec.ForStructWrapper<long>(98);
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public long? Int64Field {
|
| get { return oneofFieldCase_ == OneofFieldOneofCase.Int64Field ? (long?) oneofField_ : (long?) null; }
|
| set {
|
| @@ -1508,6 +1587,7 @@ namespace Google.Protobuf.TestProtos {
|
| /// <summary>Field number for the "uint64_field" field.</summary>
|
| public const int Uint64FieldFieldNumber = 13;
|
| private static readonly pb::FieldCodec<ulong?> _oneof_uint64Field_codec = pb::FieldCodec.ForStructWrapper<ulong>(106);
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public ulong? Uint64Field {
|
| get { return oneofFieldCase_ == OneofFieldOneofCase.Uint64Field ? (ulong?) oneofField_ : (ulong?) null; }
|
| set {
|
| @@ -1519,6 +1599,7 @@ namespace Google.Protobuf.TestProtos {
|
| /// <summary>Field number for the "int32_field" field.</summary>
|
| public const int Int32FieldFieldNumber = 14;
|
| private static readonly pb::FieldCodec<int?> _oneof_int32Field_codec = pb::FieldCodec.ForStructWrapper<int>(114);
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public int? Int32Field {
|
| get { return oneofFieldCase_ == OneofFieldOneofCase.Int32Field ? (int?) oneofField_ : (int?) null; }
|
| set {
|
| @@ -1530,6 +1611,7 @@ namespace Google.Protobuf.TestProtos {
|
| /// <summary>Field number for the "uint32_field" field.</summary>
|
| public const int Uint32FieldFieldNumber = 15;
|
| private static readonly pb::FieldCodec<uint?> _oneof_uint32Field_codec = pb::FieldCodec.ForStructWrapper<uint>(122);
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public uint? Uint32Field {
|
| get { return oneofFieldCase_ == OneofFieldOneofCase.Uint32Field ? (uint?) oneofField_ : (uint?) null; }
|
| set {
|
| @@ -1541,6 +1623,7 @@ namespace Google.Protobuf.TestProtos {
|
| /// <summary>Field number for the "bool_field" field.</summary>
|
| public const int BoolFieldFieldNumber = 16;
|
| private static readonly pb::FieldCodec<bool?> _oneof_boolField_codec = pb::FieldCodec.ForStructWrapper<bool>(130);
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public bool? BoolField {
|
| get { return oneofFieldCase_ == OneofFieldOneofCase.BoolField ? (bool?) oneofField_ : (bool?) null; }
|
| set {
|
| @@ -1552,6 +1635,7 @@ namespace Google.Protobuf.TestProtos {
|
| /// <summary>Field number for the "string_field" field.</summary>
|
| public const int StringFieldFieldNumber = 17;
|
| private static readonly pb::FieldCodec<string> _oneof_stringField_codec = pb::FieldCodec.ForClassWrapper<string>(138);
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public string StringField {
|
| get { return oneofFieldCase_ == OneofFieldOneofCase.StringField ? (string) oneofField_ : (string) null; }
|
| set {
|
| @@ -1563,6 +1647,7 @@ namespace Google.Protobuf.TestProtos {
|
| /// <summary>Field number for the "bytes_field" field.</summary>
|
| public const int BytesFieldFieldNumber = 18;
|
| private static readonly pb::FieldCodec<pb::ByteString> _oneof_bytesField_codec = pb::FieldCodec.ForClassWrapper<pb::ByteString>(146);
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public pb::ByteString BytesField {
|
| get { return oneofFieldCase_ == OneofFieldOneofCase.BytesField ? (pb::ByteString) oneofField_ : (pb::ByteString) null; }
|
| set {
|
| @@ -1595,19 +1680,23 @@ namespace Google.Protobuf.TestProtos {
|
| BytesField = 18,
|
| }
|
| private OneofFieldOneofCase oneofFieldCase_ = OneofFieldOneofCase.None;
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public OneofFieldOneofCase OneofFieldCase {
|
| get { return oneofFieldCase_; }
|
| }
|
|
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public void ClearOneofField() {
|
| oneofFieldCase_ = OneofFieldOneofCase.None;
|
| oneofField_ = null;
|
| }
|
|
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public override bool Equals(object other) {
|
| return Equals(other as OneofWellKnownTypes);
|
| }
|
|
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public bool Equals(OneofWellKnownTypes other) {
|
| if (ReferenceEquals(other, null)) {
|
| return false;
|
| @@ -1637,6 +1726,7 @@ namespace Google.Protobuf.TestProtos {
|
| return true;
|
| }
|
|
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public override int GetHashCode() {
|
| int hash = 1;
|
| if (oneofFieldCase_ == OneofFieldOneofCase.AnyField) hash ^= AnyField.GetHashCode();
|
| @@ -1661,10 +1751,12 @@ namespace Google.Protobuf.TestProtos {
|
| return hash;
|
| }
|
|
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public override string ToString() {
|
| return pb::JsonFormatter.ToDiagnosticString(this);
|
| }
|
|
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public void WriteTo(pb::CodedOutputStream output) {
|
| if (oneofFieldCase_ == OneofFieldOneofCase.AnyField) {
|
| output.WriteRawTag(10);
|
| @@ -1731,6 +1823,7 @@ namespace Google.Protobuf.TestProtos {
|
| }
|
| }
|
|
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public int CalculateSize() {
|
| int size = 0;
|
| if (oneofFieldCase_ == OneofFieldOneofCase.AnyField) {
|
| @@ -1790,6 +1883,7 @@ namespace Google.Protobuf.TestProtos {
|
| return size;
|
| }
|
|
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public void MergeFrom(OneofWellKnownTypes other) {
|
| if (other == null) {
|
| return;
|
| @@ -1853,6 +1947,7 @@ namespace Google.Protobuf.TestProtos {
|
|
|
| }
|
|
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public void MergeFrom(pb::CodedInputStream input) {
|
| uint tag;
|
| while ((tag = input.ReadTag()) != 0) {
|
| @@ -1988,25 +2083,29 @@ namespace Google.Protobuf.TestProtos {
|
| /// need to worry about the value part of the map being the
|
| /// well-known types, as messages can't be map keys.
|
| /// </summary>
|
| - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
| public sealed partial class MapWellKnownTypes : pb::IMessage<MapWellKnownTypes> {
|
| private static readonly pb::MessageParser<MapWellKnownTypes> _parser = new pb::MessageParser<MapWellKnownTypes>(() => new MapWellKnownTypes());
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public static pb::MessageParser<MapWellKnownTypes> Parser { get { return _parser; } }
|
|
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public static pbr::MessageDescriptor Descriptor {
|
| get { return global::Google.Protobuf.TestProtos.UnittestWellKnownTypesReflection.Descriptor.MessageTypes[3]; }
|
| }
|
|
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| pbr::MessageDescriptor pb::IMessage.Descriptor {
|
| get { return Descriptor; }
|
| }
|
|
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public MapWellKnownTypes() {
|
| OnConstruction();
|
| }
|
|
|
| partial void OnConstruction();
|
|
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public MapWellKnownTypes(MapWellKnownTypes other) : this() {
|
| anyField_ = other.anyField_.Clone();
|
| apiField_ = other.apiField_.Clone();
|
| @@ -2028,6 +2127,7 @@ namespace Google.Protobuf.TestProtos {
|
| bytesField_ = other.bytesField_.Clone();
|
| }
|
|
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public MapWellKnownTypes Clone() {
|
| return new MapWellKnownTypes(this);
|
| }
|
| @@ -2037,6 +2137,7 @@ namespace Google.Protobuf.TestProtos {
|
| private static readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Any>.Codec _map_anyField_codec
|
| = new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Any>.Codec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForMessage(18, global::Google.Protobuf.WellKnownTypes.Any.Parser), 10);
|
| private readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Any> anyField_ = new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Any>();
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Any> AnyField {
|
| get { return anyField_; }
|
| }
|
| @@ -2046,6 +2147,7 @@ namespace Google.Protobuf.TestProtos {
|
| private static readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Api>.Codec _map_apiField_codec
|
| = new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Api>.Codec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForMessage(18, global::Google.Protobuf.WellKnownTypes.Api.Parser), 18);
|
| private readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Api> apiField_ = new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Api>();
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Api> ApiField {
|
| get { return apiField_; }
|
| }
|
| @@ -2055,6 +2157,7 @@ namespace Google.Protobuf.TestProtos {
|
| private static readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Duration>.Codec _map_durationField_codec
|
| = new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Duration>.Codec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForMessage(18, global::Google.Protobuf.WellKnownTypes.Duration.Parser), 26);
|
| private readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Duration> durationField_ = new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Duration>();
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Duration> DurationField {
|
| get { return durationField_; }
|
| }
|
| @@ -2064,6 +2167,7 @@ namespace Google.Protobuf.TestProtos {
|
| private static readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Empty>.Codec _map_emptyField_codec
|
| = new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Empty>.Codec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForMessage(18, global::Google.Protobuf.WellKnownTypes.Empty.Parser), 34);
|
| private readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Empty> emptyField_ = new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Empty>();
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Empty> EmptyField {
|
| get { return emptyField_; }
|
| }
|
| @@ -2073,6 +2177,7 @@ namespace Google.Protobuf.TestProtos {
|
| private static readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.FieldMask>.Codec _map_fieldMaskField_codec
|
| = new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.FieldMask>.Codec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForMessage(18, global::Google.Protobuf.WellKnownTypes.FieldMask.Parser), 42);
|
| private readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.FieldMask> fieldMaskField_ = new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.FieldMask>();
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.FieldMask> FieldMaskField {
|
| get { return fieldMaskField_; }
|
| }
|
| @@ -2082,6 +2187,7 @@ namespace Google.Protobuf.TestProtos {
|
| private static readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.SourceContext>.Codec _map_sourceContextField_codec
|
| = new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.SourceContext>.Codec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForMessage(18, global::Google.Protobuf.WellKnownTypes.SourceContext.Parser), 50);
|
| private readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.SourceContext> sourceContextField_ = new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.SourceContext>();
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.SourceContext> SourceContextField {
|
| get { return sourceContextField_; }
|
| }
|
| @@ -2091,6 +2197,7 @@ namespace Google.Protobuf.TestProtos {
|
| private static readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Struct>.Codec _map_structField_codec
|
| = new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Struct>.Codec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForMessage(18, global::Google.Protobuf.WellKnownTypes.Struct.Parser), 58);
|
| private readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Struct> structField_ = new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Struct>();
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Struct> StructField {
|
| get { return structField_; }
|
| }
|
| @@ -2100,6 +2207,7 @@ namespace Google.Protobuf.TestProtos {
|
| private static readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Timestamp>.Codec _map_timestampField_codec
|
| = new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Timestamp>.Codec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForMessage(18, global::Google.Protobuf.WellKnownTypes.Timestamp.Parser), 66);
|
| private readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Timestamp> timestampField_ = new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Timestamp>();
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Timestamp> TimestampField {
|
| get { return timestampField_; }
|
| }
|
| @@ -2109,6 +2217,7 @@ namespace Google.Protobuf.TestProtos {
|
| private static readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Type>.Codec _map_typeField_codec
|
| = new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Type>.Codec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForMessage(18, global::Google.Protobuf.WellKnownTypes.Type.Parser), 74);
|
| private readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Type> typeField_ = new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Type>();
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Type> TypeField {
|
| get { return typeField_; }
|
| }
|
| @@ -2118,6 +2227,7 @@ namespace Google.Protobuf.TestProtos {
|
| private static readonly pbc::MapField<int, double?>.Codec _map_doubleField_codec
|
| = new pbc::MapField<int, double?>.Codec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForStructWrapper<double>(18), 82);
|
| private readonly pbc::MapField<int, double?> doubleField_ = new pbc::MapField<int, double?>();
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public pbc::MapField<int, double?> DoubleField {
|
| get { return doubleField_; }
|
| }
|
| @@ -2127,6 +2237,7 @@ namespace Google.Protobuf.TestProtos {
|
| private static readonly pbc::MapField<int, float?>.Codec _map_floatField_codec
|
| = new pbc::MapField<int, float?>.Codec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForStructWrapper<float>(18), 90);
|
| private readonly pbc::MapField<int, float?> floatField_ = new pbc::MapField<int, float?>();
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public pbc::MapField<int, float?> FloatField {
|
| get { return floatField_; }
|
| }
|
| @@ -2136,6 +2247,7 @@ namespace Google.Protobuf.TestProtos {
|
| private static readonly pbc::MapField<int, long?>.Codec _map_int64Field_codec
|
| = new pbc::MapField<int, long?>.Codec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForStructWrapper<long>(18), 98);
|
| private readonly pbc::MapField<int, long?> int64Field_ = new pbc::MapField<int, long?>();
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public pbc::MapField<int, long?> Int64Field {
|
| get { return int64Field_; }
|
| }
|
| @@ -2145,6 +2257,7 @@ namespace Google.Protobuf.TestProtos {
|
| private static readonly pbc::MapField<int, ulong?>.Codec _map_uint64Field_codec
|
| = new pbc::MapField<int, ulong?>.Codec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForStructWrapper<ulong>(18), 106);
|
| private readonly pbc::MapField<int, ulong?> uint64Field_ = new pbc::MapField<int, ulong?>();
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public pbc::MapField<int, ulong?> Uint64Field {
|
| get { return uint64Field_; }
|
| }
|
| @@ -2154,6 +2267,7 @@ namespace Google.Protobuf.TestProtos {
|
| private static readonly pbc::MapField<int, int?>.Codec _map_int32Field_codec
|
| = new pbc::MapField<int, int?>.Codec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForStructWrapper<int>(18), 114);
|
| private readonly pbc::MapField<int, int?> int32Field_ = new pbc::MapField<int, int?>();
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public pbc::MapField<int, int?> Int32Field {
|
| get { return int32Field_; }
|
| }
|
| @@ -2163,6 +2277,7 @@ namespace Google.Protobuf.TestProtos {
|
| private static readonly pbc::MapField<int, uint?>.Codec _map_uint32Field_codec
|
| = new pbc::MapField<int, uint?>.Codec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForStructWrapper<uint>(18), 122);
|
| private readonly pbc::MapField<int, uint?> uint32Field_ = new pbc::MapField<int, uint?>();
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public pbc::MapField<int, uint?> Uint32Field {
|
| get { return uint32Field_; }
|
| }
|
| @@ -2172,6 +2287,7 @@ namespace Google.Protobuf.TestProtos {
|
| private static readonly pbc::MapField<int, bool?>.Codec _map_boolField_codec
|
| = new pbc::MapField<int, bool?>.Codec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForStructWrapper<bool>(18), 130);
|
| private readonly pbc::MapField<int, bool?> boolField_ = new pbc::MapField<int, bool?>();
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public pbc::MapField<int, bool?> BoolField {
|
| get { return boolField_; }
|
| }
|
| @@ -2181,6 +2297,7 @@ namespace Google.Protobuf.TestProtos {
|
| private static readonly pbc::MapField<int, string>.Codec _map_stringField_codec
|
| = new pbc::MapField<int, string>.Codec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForClassWrapper<string>(18), 138);
|
| private readonly pbc::MapField<int, string> stringField_ = new pbc::MapField<int, string>();
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public pbc::MapField<int, string> StringField {
|
| get { return stringField_; }
|
| }
|
| @@ -2190,14 +2307,17 @@ namespace Google.Protobuf.TestProtos {
|
| private static readonly pbc::MapField<int, pb::ByteString>.Codec _map_bytesField_codec
|
| = new pbc::MapField<int, pb::ByteString>.Codec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForClassWrapper<pb::ByteString>(18), 146);
|
| private readonly pbc::MapField<int, pb::ByteString> bytesField_ = new pbc::MapField<int, pb::ByteString>();
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public pbc::MapField<int, pb::ByteString> BytesField {
|
| get { return bytesField_; }
|
| }
|
|
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public override bool Equals(object other) {
|
| return Equals(other as MapWellKnownTypes);
|
| }
|
|
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public bool Equals(MapWellKnownTypes other) {
|
| if (ReferenceEquals(other, null)) {
|
| return false;
|
| @@ -2226,6 +2346,7 @@ namespace Google.Protobuf.TestProtos {
|
| return true;
|
| }
|
|
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public override int GetHashCode() {
|
| int hash = 1;
|
| hash ^= AnyField.GetHashCode();
|
| @@ -2249,10 +2370,12 @@ namespace Google.Protobuf.TestProtos {
|
| return hash;
|
| }
|
|
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public override string ToString() {
|
| return pb::JsonFormatter.ToDiagnosticString(this);
|
| }
|
|
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public void WriteTo(pb::CodedOutputStream output) {
|
| anyField_.WriteTo(output, _map_anyField_codec);
|
| apiField_.WriteTo(output, _map_apiField_codec);
|
| @@ -2274,6 +2397,7 @@ namespace Google.Protobuf.TestProtos {
|
| bytesField_.WriteTo(output, _map_bytesField_codec);
|
| }
|
|
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public int CalculateSize() {
|
| int size = 0;
|
| size += anyField_.CalculateSize(_map_anyField_codec);
|
| @@ -2297,6 +2421,7 @@ namespace Google.Protobuf.TestProtos {
|
| return size;
|
| }
|
|
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public void MergeFrom(MapWellKnownTypes other) {
|
| if (other == null) {
|
| return;
|
| @@ -2321,6 +2446,7 @@ namespace Google.Protobuf.TestProtos {
|
| bytesField_.Add(other.bytesField_);
|
| }
|
|
|
| + [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
| public void MergeFrom(pb::CodedInputStream input) {
|
| uint tag;
|
| while ((tag = input.ReadTag()) != 0) {
|
|
|