1ffe3c632Sopenharmony_ci// <auto-generated>
2ffe3c632Sopenharmony_ci//     Generated by the protocol buffer compiler.  DO NOT EDIT!
3ffe3c632Sopenharmony_ci//     source: google/protobuf/test_messages_proto2.proto
4ffe3c632Sopenharmony_ci// </auto-generated>
5ffe3c632Sopenharmony_ci#pragma warning disable 1591, 0612, 3021
6ffe3c632Sopenharmony_ci#region Designer generated code
7ffe3c632Sopenharmony_ci
8ffe3c632Sopenharmony_ciusing pb = global::Google.Protobuf;
9ffe3c632Sopenharmony_ciusing pbc = global::Google.Protobuf.Collections;
10ffe3c632Sopenharmony_ciusing pbr = global::Google.Protobuf.Reflection;
11ffe3c632Sopenharmony_ciusing scg = global::System.Collections.Generic;
12ffe3c632Sopenharmony_cinamespace ProtobufTestMessages.Proto2 {
13ffe3c632Sopenharmony_ci
14ffe3c632Sopenharmony_ci  /// <summary>Holder for reflection information generated from google/protobuf/test_messages_proto2.proto</summary>
15ffe3c632Sopenharmony_ci  public static partial class TestMessagesProto2Reflection {
16ffe3c632Sopenharmony_ci
17ffe3c632Sopenharmony_ci    #region Descriptor
18ffe3c632Sopenharmony_ci    /// <summary>File descriptor for google/protobuf/test_messages_proto2.proto</summary>
19ffe3c632Sopenharmony_ci    public static pbr::FileDescriptor Descriptor {
20ffe3c632Sopenharmony_ci      get { return descriptor; }
21ffe3c632Sopenharmony_ci    }
22ffe3c632Sopenharmony_ci    private static pbr::FileDescriptor descriptor;
23ffe3c632Sopenharmony_ci
24ffe3c632Sopenharmony_ci    static TestMessagesProto2Reflection() {
25ffe3c632Sopenharmony_ci      byte[] descriptorData = global::System.Convert.FromBase64String(
26ffe3c632Sopenharmony_ci          string.Concat(
27ffe3c632Sopenharmony_ci            "Cipnb29nbGUvcHJvdG9idWYvdGVzdF9tZXNzYWdlc19wcm90bzIucHJvdG8S",
28ffe3c632Sopenharmony_ci            "HXByb3RvYnVmX3Rlc3RfbWVzc2FnZXMucHJvdG8yIv45ChJUZXN0QWxsVHlw",
29ffe3c632Sopenharmony_ci            "ZXNQcm90bzISFgoOb3B0aW9uYWxfaW50MzIYASABKAUSFgoOb3B0aW9uYWxf",
30ffe3c632Sopenharmony_ci            "aW50NjQYAiABKAMSFwoPb3B0aW9uYWxfdWludDMyGAMgASgNEhcKD29wdGlv",
31ffe3c632Sopenharmony_ci            "bmFsX3VpbnQ2NBgEIAEoBBIXCg9vcHRpb25hbF9zaW50MzIYBSABKBESFwoP",
32ffe3c632Sopenharmony_ci            "b3B0aW9uYWxfc2ludDY0GAYgASgSEhgKEG9wdGlvbmFsX2ZpeGVkMzIYByAB",
33ffe3c632Sopenharmony_ci            "KAcSGAoQb3B0aW9uYWxfZml4ZWQ2NBgIIAEoBhIZChFvcHRpb25hbF9zZml4",
34ffe3c632Sopenharmony_ci            "ZWQzMhgJIAEoDxIZChFvcHRpb25hbF9zZml4ZWQ2NBgKIAEoEBIWCg5vcHRp",
35ffe3c632Sopenharmony_ci            "b25hbF9mbG9hdBgLIAEoAhIXCg9vcHRpb25hbF9kb3VibGUYDCABKAESFQoN",
36ffe3c632Sopenharmony_ci            "b3B0aW9uYWxfYm9vbBgNIAEoCBIXCg9vcHRpb25hbF9zdHJpbmcYDiABKAkS",
37ffe3c632Sopenharmony_ci            "FgoOb3B0aW9uYWxfYnl0ZXMYDyABKAwSYAoXb3B0aW9uYWxfbmVzdGVkX21l",
38ffe3c632Sopenharmony_ci            "c3NhZ2UYEiABKAsyPy5wcm90b2J1Zl90ZXN0X21lc3NhZ2VzLnByb3RvMi5U",
39ffe3c632Sopenharmony_ci            "ZXN0QWxsVHlwZXNQcm90bzIuTmVzdGVkTWVzc2FnZRJVChhvcHRpb25hbF9m",
40ffe3c632Sopenharmony_ci            "b3JlaWduX21lc3NhZ2UYEyABKAsyMy5wcm90b2J1Zl90ZXN0X21lc3NhZ2Vz",
41ffe3c632Sopenharmony_ci            "LnByb3RvMi5Gb3JlaWduTWVzc2FnZVByb3RvMhJaChRvcHRpb25hbF9uZXN0",
42ffe3c632Sopenharmony_ci            "ZWRfZW51bRgVIAEoDjI8LnByb3RvYnVmX3Rlc3RfbWVzc2FnZXMucHJvdG8y",
43ffe3c632Sopenharmony_ci            "LlRlc3RBbGxUeXBlc1Byb3RvMi5OZXN0ZWRFbnVtEk8KFW9wdGlvbmFsX2Zv",
44ffe3c632Sopenharmony_ci            "cmVpZ25fZW51bRgWIAEoDjIwLnByb3RvYnVmX3Rlc3RfbWVzc2FnZXMucHJv",
45ffe3c632Sopenharmony_ci            "dG8yLkZvcmVpZ25FbnVtUHJvdG8yEiEKFW9wdGlvbmFsX3N0cmluZ19waWVj",
46ffe3c632Sopenharmony_ci            "ZRgYIAEoCUICCAISGQoNb3B0aW9uYWxfY29yZBgZIAEoCUICCAESTAoRcmVj",
47ffe3c632Sopenharmony_ci            "dXJzaXZlX21lc3NhZ2UYGyABKAsyMS5wcm90b2J1Zl90ZXN0X21lc3NhZ2Vz",
48ffe3c632Sopenharmony_ci            "LnByb3RvMi5UZXN0QWxsVHlwZXNQcm90bzISFgoOcmVwZWF0ZWRfaW50MzIY",
49ffe3c632Sopenharmony_ci            "HyADKAUSFgoOcmVwZWF0ZWRfaW50NjQYICADKAMSFwoPcmVwZWF0ZWRfdWlu",
50ffe3c632Sopenharmony_ci            "dDMyGCEgAygNEhcKD3JlcGVhdGVkX3VpbnQ2NBgiIAMoBBIXCg9yZXBlYXRl",
51ffe3c632Sopenharmony_ci            "ZF9zaW50MzIYIyADKBESFwoPcmVwZWF0ZWRfc2ludDY0GCQgAygSEhgKEHJl",
52ffe3c632Sopenharmony_ci            "cGVhdGVkX2ZpeGVkMzIYJSADKAcSGAoQcmVwZWF0ZWRfZml4ZWQ2NBgmIAMo",
53ffe3c632Sopenharmony_ci            "BhIZChFyZXBlYXRlZF9zZml4ZWQzMhgnIAMoDxIZChFyZXBlYXRlZF9zZml4",
54ffe3c632Sopenharmony_ci            "ZWQ2NBgoIAMoEBIWCg5yZXBlYXRlZF9mbG9hdBgpIAMoAhIXCg9yZXBlYXRl",
55ffe3c632Sopenharmony_ci            "ZF9kb3VibGUYKiADKAESFQoNcmVwZWF0ZWRfYm9vbBgrIAMoCBIXCg9yZXBl",
56ffe3c632Sopenharmony_ci            "YXRlZF9zdHJpbmcYLCADKAkSFgoOcmVwZWF0ZWRfYnl0ZXMYLSADKAwSYAoX",
57ffe3c632Sopenharmony_ci            "cmVwZWF0ZWRfbmVzdGVkX21lc3NhZ2UYMCADKAsyPy5wcm90b2J1Zl90ZXN0",
58ffe3c632Sopenharmony_ci            "X21lc3NhZ2VzLnByb3RvMi5UZXN0QWxsVHlwZXNQcm90bzIuTmVzdGVkTWVz",
59ffe3c632Sopenharmony_ci            "c2FnZRJVChhyZXBlYXRlZF9mb3JlaWduX21lc3NhZ2UYMSADKAsyMy5wcm90",
60ffe3c632Sopenharmony_ci            "b2J1Zl90ZXN0X21lc3NhZ2VzLnByb3RvMi5Gb3JlaWduTWVzc2FnZVByb3Rv",
61ffe3c632Sopenharmony_ci            "MhJaChRyZXBlYXRlZF9uZXN0ZWRfZW51bRgzIAMoDjI8LnByb3RvYnVmX3Rl",
62ffe3c632Sopenharmony_ci            "c3RfbWVzc2FnZXMucHJvdG8yLlRlc3RBbGxUeXBlc1Byb3RvMi5OZXN0ZWRF",
63ffe3c632Sopenharmony_ci            "bnVtEk8KFXJlcGVhdGVkX2ZvcmVpZ25fZW51bRg0IAMoDjIwLnByb3RvYnVm",
64ffe3c632Sopenharmony_ci            "X3Rlc3RfbWVzc2FnZXMucHJvdG8yLkZvcmVpZ25FbnVtUHJvdG8yEiEKFXJl",
65ffe3c632Sopenharmony_ci            "cGVhdGVkX3N0cmluZ19waWVjZRg2IAMoCUICCAISGQoNcmVwZWF0ZWRfY29y",
66ffe3c632Sopenharmony_ci            "ZBg3IAMoCUICCAESGAoMcGFja2VkX2ludDMyGEsgAygFQgIQARIYCgxwYWNr",
67ffe3c632Sopenharmony_ci            "ZWRfaW50NjQYTCADKANCAhABEhkKDXBhY2tlZF91aW50MzIYTSADKA1CAhAB",
68ffe3c632Sopenharmony_ci            "EhkKDXBhY2tlZF91aW50NjQYTiADKARCAhABEhkKDXBhY2tlZF9zaW50MzIY",
69ffe3c632Sopenharmony_ci            "TyADKBFCAhABEhkKDXBhY2tlZF9zaW50NjQYUCADKBJCAhABEhoKDnBhY2tl",
70ffe3c632Sopenharmony_ci            "ZF9maXhlZDMyGFEgAygHQgIQARIaCg5wYWNrZWRfZml4ZWQ2NBhSIAMoBkIC",
71ffe3c632Sopenharmony_ci            "EAESGwoPcGFja2VkX3NmaXhlZDMyGFMgAygPQgIQARIbCg9wYWNrZWRfc2Zp",
72ffe3c632Sopenharmony_ci            "eGVkNjQYVCADKBBCAhABEhgKDHBhY2tlZF9mbG9hdBhVIAMoAkICEAESGQoN",
73ffe3c632Sopenharmony_ci            "cGFja2VkX2RvdWJsZRhWIAMoAUICEAESFwoLcGFja2VkX2Jvb2wYVyADKAhC",
74ffe3c632Sopenharmony_ci            "AhABElwKEnBhY2tlZF9uZXN0ZWRfZW51bRhYIAMoDjI8LnByb3RvYnVmX3Rl",
75ffe3c632Sopenharmony_ci            "c3RfbWVzc2FnZXMucHJvdG8yLlRlc3RBbGxUeXBlc1Byb3RvMi5OZXN0ZWRF",
76ffe3c632Sopenharmony_ci            "bnVtQgIQARIaCg51bnBhY2tlZF9pbnQzMhhZIAMoBUICEAASGgoOdW5wYWNr",
77ffe3c632Sopenharmony_ci            "ZWRfaW50NjQYWiADKANCAhAAEhsKD3VucGFja2VkX3VpbnQzMhhbIAMoDUIC",
78ffe3c632Sopenharmony_ci            "EAASGwoPdW5wYWNrZWRfdWludDY0GFwgAygEQgIQABIbCg91bnBhY2tlZF9z",
79ffe3c632Sopenharmony_ci            "aW50MzIYXSADKBFCAhAAEhsKD3VucGFja2VkX3NpbnQ2NBheIAMoEkICEAAS",
80ffe3c632Sopenharmony_ci            "HAoQdW5wYWNrZWRfZml4ZWQzMhhfIAMoB0ICEAASHAoQdW5wYWNrZWRfZml4",
81ffe3c632Sopenharmony_ci            "ZWQ2NBhgIAMoBkICEAASHQoRdW5wYWNrZWRfc2ZpeGVkMzIYYSADKA9CAhAA",
82ffe3c632Sopenharmony_ci            "Eh0KEXVucGFja2VkX3NmaXhlZDY0GGIgAygQQgIQABIaCg51bnBhY2tlZF9m",
83ffe3c632Sopenharmony_ci            "bG9hdBhjIAMoAkICEAASGwoPdW5wYWNrZWRfZG91YmxlGGQgAygBQgIQABIZ",
84ffe3c632Sopenharmony_ci            "Cg11bnBhY2tlZF9ib29sGGUgAygIQgIQABJeChR1bnBhY2tlZF9uZXN0ZWRf",
85ffe3c632Sopenharmony_ci            "ZW51bRhmIAMoDjI8LnByb3RvYnVmX3Rlc3RfbWVzc2FnZXMucHJvdG8yLlRl",
86ffe3c632Sopenharmony_ci            "c3RBbGxUeXBlc1Byb3RvMi5OZXN0ZWRFbnVtQgIQABJdCg9tYXBfaW50MzJf",
87ffe3c632Sopenharmony_ci            "aW50MzIYOCADKAsyRC5wcm90b2J1Zl90ZXN0X21lc3NhZ2VzLnByb3RvMi5U",
88ffe3c632Sopenharmony_ci            "ZXN0QWxsVHlwZXNQcm90bzIuTWFwSW50MzJJbnQzMkVudHJ5El0KD21hcF9p",
89ffe3c632Sopenharmony_ci            "bnQ2NF9pbnQ2NBg5IAMoCzJELnByb3RvYnVmX3Rlc3RfbWVzc2FnZXMucHJv",
90ffe3c632Sopenharmony_ci            "dG8yLlRlc3RBbGxUeXBlc1Byb3RvMi5NYXBJbnQ2NEludDY0RW50cnkSYQoR",
91ffe3c632Sopenharmony_ci            "bWFwX3VpbnQzMl91aW50MzIYOiADKAsyRi5wcm90b2J1Zl90ZXN0X21lc3Nh",
92ffe3c632Sopenharmony_ci            "Z2VzLnByb3RvMi5UZXN0QWxsVHlwZXNQcm90bzIuTWFwVWludDMyVWludDMy",
93ffe3c632Sopenharmony_ci            "RW50cnkSYQoRbWFwX3VpbnQ2NF91aW50NjQYOyADKAsyRi5wcm90b2J1Zl90",
94ffe3c632Sopenharmony_ci            "ZXN0X21lc3NhZ2VzLnByb3RvMi5UZXN0QWxsVHlwZXNQcm90bzIuTWFwVWlu",
95ffe3c632Sopenharmony_ci            "dDY0VWludDY0RW50cnkSYQoRbWFwX3NpbnQzMl9zaW50MzIYPCADKAsyRi5w",
96ffe3c632Sopenharmony_ci            "cm90b2J1Zl90ZXN0X21lc3NhZ2VzLnByb3RvMi5UZXN0QWxsVHlwZXNQcm90",
97ffe3c632Sopenharmony_ci            "bzIuTWFwU2ludDMyU2ludDMyRW50cnkSYQoRbWFwX3NpbnQ2NF9zaW50NjQY",
98ffe3c632Sopenharmony_ci            "PSADKAsyRi5wcm90b2J1Zl90ZXN0X21lc3NhZ2VzLnByb3RvMi5UZXN0QWxs",
99ffe3c632Sopenharmony_ci            "VHlwZXNQcm90bzIuTWFwU2ludDY0U2ludDY0RW50cnkSZQoTbWFwX2ZpeGVk",
100ffe3c632Sopenharmony_ci            "MzJfZml4ZWQzMhg+IAMoCzJILnByb3RvYnVmX3Rlc3RfbWVzc2FnZXMucHJv",
101ffe3c632Sopenharmony_ci            "dG8yLlRlc3RBbGxUeXBlc1Byb3RvMi5NYXBGaXhlZDMyRml4ZWQzMkVudHJ5",
102ffe3c632Sopenharmony_ci            "EmUKE21hcF9maXhlZDY0X2ZpeGVkNjQYPyADKAsySC5wcm90b2J1Zl90ZXN0",
103ffe3c632Sopenharmony_ci            "X21lc3NhZ2VzLnByb3RvMi5UZXN0QWxsVHlwZXNQcm90bzIuTWFwRml4ZWQ2",
104ffe3c632Sopenharmony_ci            "NEZpeGVkNjRFbnRyeRJpChVtYXBfc2ZpeGVkMzJfc2ZpeGVkMzIYQCADKAsy",
105ffe3c632Sopenharmony_ci            "Si5wcm90b2J1Zl90ZXN0X21lc3NhZ2VzLnByb3RvMi5UZXN0QWxsVHlwZXNQ",
106ffe3c632Sopenharmony_ci            "cm90bzIuTWFwU2ZpeGVkMzJTZml4ZWQzMkVudHJ5EmkKFW1hcF9zZml4ZWQ2",
107ffe3c632Sopenharmony_ci            "NF9zZml4ZWQ2NBhBIAMoCzJKLnByb3RvYnVmX3Rlc3RfbWVzc2FnZXMucHJv",
108ffe3c632Sopenharmony_ci            "dG8yLlRlc3RBbGxUeXBlc1Byb3RvMi5NYXBTZml4ZWQ2NFNmaXhlZDY0RW50",
109ffe3c632Sopenharmony_ci            "cnkSXQoPbWFwX2ludDMyX2Zsb2F0GEIgAygLMkQucHJvdG9idWZfdGVzdF9t",
110ffe3c632Sopenharmony_ci            "ZXNzYWdlcy5wcm90bzIuVGVzdEFsbFR5cGVzUHJvdG8yLk1hcEludDMyRmxv",
111ffe3c632Sopenharmony_ci            "YXRFbnRyeRJfChBtYXBfaW50MzJfZG91YmxlGEMgAygLMkUucHJvdG9idWZf",
112ffe3c632Sopenharmony_ci            "dGVzdF9tZXNzYWdlcy5wcm90bzIuVGVzdEFsbFR5cGVzUHJvdG8yLk1hcElu",
113ffe3c632Sopenharmony_ci            "dDMyRG91YmxlRW50cnkSWQoNbWFwX2Jvb2xfYm9vbBhEIAMoCzJCLnByb3Rv",
114ffe3c632Sopenharmony_ci            "YnVmX3Rlc3RfbWVzc2FnZXMucHJvdG8yLlRlc3RBbGxUeXBlc1Byb3RvMi5N",
115ffe3c632Sopenharmony_ci            "YXBCb29sQm9vbEVudHJ5EmEKEW1hcF9zdHJpbmdfc3RyaW5nGEUgAygLMkYu",
116ffe3c632Sopenharmony_ci            "cHJvdG9idWZfdGVzdF9tZXNzYWdlcy5wcm90bzIuVGVzdEFsbFR5cGVzUHJv",
117ffe3c632Sopenharmony_ci            "dG8yLk1hcFN0cmluZ1N0cmluZ0VudHJ5El8KEG1hcF9zdHJpbmdfYnl0ZXMY",
118ffe3c632Sopenharmony_ci            "RiADKAsyRS5wcm90b2J1Zl90ZXN0X21lc3NhZ2VzLnByb3RvMi5UZXN0QWxs",
119ffe3c632Sopenharmony_ci            "VHlwZXNQcm90bzIuTWFwU3RyaW5nQnl0ZXNFbnRyeRJwChltYXBfc3RyaW5n",
120ffe3c632Sopenharmony_ci            "X25lc3RlZF9tZXNzYWdlGEcgAygLMk0ucHJvdG9idWZfdGVzdF9tZXNzYWdl",
121ffe3c632Sopenharmony_ci            "cy5wcm90bzIuVGVzdEFsbFR5cGVzUHJvdG8yLk1hcFN0cmluZ05lc3RlZE1l",
122ffe3c632Sopenharmony_ci            "c3NhZ2VFbnRyeRJyChptYXBfc3RyaW5nX2ZvcmVpZ25fbWVzc2FnZRhIIAMo",
123ffe3c632Sopenharmony_ci            "CzJOLnByb3RvYnVmX3Rlc3RfbWVzc2FnZXMucHJvdG8yLlRlc3RBbGxUeXBl",
124ffe3c632Sopenharmony_ci            "c1Byb3RvMi5NYXBTdHJpbmdGb3JlaWduTWVzc2FnZUVudHJ5EmoKFm1hcF9z",
125ffe3c632Sopenharmony_ci            "dHJpbmdfbmVzdGVkX2VudW0YSSADKAsySi5wcm90b2J1Zl90ZXN0X21lc3Nh",
126ffe3c632Sopenharmony_ci            "Z2VzLnByb3RvMi5UZXN0QWxsVHlwZXNQcm90bzIuTWFwU3RyaW5nTmVzdGVk",
127ffe3c632Sopenharmony_ci            "RW51bUVudHJ5EmwKF21hcF9zdHJpbmdfZm9yZWlnbl9lbnVtGEogAygLMksu",
128ffe3c632Sopenharmony_ci            "cHJvdG9idWZfdGVzdF9tZXNzYWdlcy5wcm90bzIuVGVzdEFsbFR5cGVzUHJv",
129ffe3c632Sopenharmony_ci            "dG8yLk1hcFN0cmluZ0ZvcmVpZ25FbnVtRW50cnkSFgoMb25lb2ZfdWludDMy",
130ffe3c632Sopenharmony_ci            "GG8gASgNSAASXwoUb25lb2ZfbmVzdGVkX21lc3NhZ2UYcCABKAsyPy5wcm90",
131ffe3c632Sopenharmony_ci            "b2J1Zl90ZXN0X21lc3NhZ2VzLnByb3RvMi5UZXN0QWxsVHlwZXNQcm90bzIu",
132ffe3c632Sopenharmony_ci            "TmVzdGVkTWVzc2FnZUgAEhYKDG9uZW9mX3N0cmluZxhxIAEoCUgAEhUKC29u",
133ffe3c632Sopenharmony_ci            "ZW9mX2J5dGVzGHIgASgMSAASFAoKb25lb2ZfYm9vbBhzIAEoCEgAEhYKDG9u",
134ffe3c632Sopenharmony_ci            "ZW9mX3VpbnQ2NBh0IAEoBEgAEhUKC29uZW9mX2Zsb2F0GHUgASgCSAASFgoM",
135ffe3c632Sopenharmony_ci            "b25lb2ZfZG91YmxlGHYgASgBSAASUgoKb25lb2ZfZW51bRh3IAEoDjI8LnBy",
136ffe3c632Sopenharmony_ci            "b3RvYnVmX3Rlc3RfbWVzc2FnZXMucHJvdG8yLlRlc3RBbGxUeXBlc1Byb3Rv",
137ffe3c632Sopenharmony_ci            "Mi5OZXN0ZWRFbnVtSAASRQoEZGF0YRjJASABKAoyNi5wcm90b2J1Zl90ZXN0",
138ffe3c632Sopenharmony_ci            "X21lc3NhZ2VzLnByb3RvMi5UZXN0QWxsVHlwZXNQcm90bzIuRGF0YRITCgpm",
139ffe3c632Sopenharmony_ci            "aWVsZG5hbWUxGJEDIAEoBRIUCgtmaWVsZF9uYW1lMhiSAyABKAUSFQoMX2Zp",
140ffe3c632Sopenharmony_ci            "ZWxkX25hbWUzGJMDIAEoBRIWCg1maWVsZF9fbmFtZTRfGJQDIAEoBRIUCgtm",
141ffe3c632Sopenharmony_ci            "aWVsZDBuYW1lNRiVAyABKAUSFgoNZmllbGRfMF9uYW1lNhiWAyABKAUSEwoK",
142ffe3c632Sopenharmony_ci            "ZmllbGROYW1lNxiXAyABKAUSEwoKRmllbGROYW1lOBiYAyABKAUSFAoLZmll",
143ffe3c632Sopenharmony_ci            "bGRfTmFtZTkYmQMgASgFEhUKDEZpZWxkX05hbWUxMBiaAyABKAUSFQoMRklF",
144ffe3c632Sopenharmony_ci            "TERfTkFNRTExGJsDIAEoBRIVCgxGSUVMRF9uYW1lMTIYnAMgASgFEhcKDl9f",
145ffe3c632Sopenharmony_ci            "ZmllbGRfbmFtZTEzGJ0DIAEoBRIXCg5fX0ZpZWxkX25hbWUxNBieAyABKAUS",
146ffe3c632Sopenharmony_ci            "FgoNZmllbGRfX25hbWUxNRifAyABKAUSFgoNZmllbGRfX05hbWUxNhigAyAB",
147ffe3c632Sopenharmony_ci            "KAUSFwoOZmllbGRfbmFtZTE3X18YoQMgASgFEhcKDkZpZWxkX25hbWUxOF9f",
148ffe3c632Sopenharmony_ci            "GKIDIAEoBRpiCg1OZXN0ZWRNZXNzYWdlEgkKAWEYASABKAUSRgoLY29yZWN1",
149ffe3c632Sopenharmony_ci            "cnNpdmUYAiABKAsyMS5wcm90b2J1Zl90ZXN0X21lc3NhZ2VzLnByb3RvMi5U",
150ffe3c632Sopenharmony_ci            "ZXN0QWxsVHlwZXNQcm90bzIaNAoSTWFwSW50MzJJbnQzMkVudHJ5EgsKA2tl",
151ffe3c632Sopenharmony_ci            "eRgBIAEoBRINCgV2YWx1ZRgCIAEoBToCOAEaNAoSTWFwSW50NjRJbnQ2NEVu",
152ffe3c632Sopenharmony_ci            "dHJ5EgsKA2tleRgBIAEoAxINCgV2YWx1ZRgCIAEoAzoCOAEaNgoUTWFwVWlu",
153ffe3c632Sopenharmony_ci            "dDMyVWludDMyRW50cnkSCwoDa2V5GAEgASgNEg0KBXZhbHVlGAIgASgNOgI4",
154ffe3c632Sopenharmony_ci            "ARo2ChRNYXBVaW50NjRVaW50NjRFbnRyeRILCgNrZXkYASABKAQSDQoFdmFs",
155ffe3c632Sopenharmony_ci            "dWUYAiABKAQ6AjgBGjYKFE1hcFNpbnQzMlNpbnQzMkVudHJ5EgsKA2tleRgB",
156ffe3c632Sopenharmony_ci            "IAEoERINCgV2YWx1ZRgCIAEoEToCOAEaNgoUTWFwU2ludDY0U2ludDY0RW50",
157ffe3c632Sopenharmony_ci            "cnkSCwoDa2V5GAEgASgSEg0KBXZhbHVlGAIgASgSOgI4ARo4ChZNYXBGaXhl",
158ffe3c632Sopenharmony_ci            "ZDMyRml4ZWQzMkVudHJ5EgsKA2tleRgBIAEoBxINCgV2YWx1ZRgCIAEoBzoC",
159ffe3c632Sopenharmony_ci            "OAEaOAoWTWFwRml4ZWQ2NEZpeGVkNjRFbnRyeRILCgNrZXkYASABKAYSDQoF",
160ffe3c632Sopenharmony_ci            "dmFsdWUYAiABKAY6AjgBGjoKGE1hcFNmaXhlZDMyU2ZpeGVkMzJFbnRyeRIL",
161ffe3c632Sopenharmony_ci            "CgNrZXkYASABKA8SDQoFdmFsdWUYAiABKA86AjgBGjoKGE1hcFNmaXhlZDY0",
162ffe3c632Sopenharmony_ci            "U2ZpeGVkNjRFbnRyeRILCgNrZXkYASABKBASDQoFdmFsdWUYAiABKBA6AjgB",
163ffe3c632Sopenharmony_ci            "GjQKEk1hcEludDMyRmxvYXRFbnRyeRILCgNrZXkYASABKAUSDQoFdmFsdWUY",
164ffe3c632Sopenharmony_ci            "AiABKAI6AjgBGjUKE01hcEludDMyRG91YmxlRW50cnkSCwoDa2V5GAEgASgF",
165ffe3c632Sopenharmony_ci            "Eg0KBXZhbHVlGAIgASgBOgI4ARoyChBNYXBCb29sQm9vbEVudHJ5EgsKA2tl",
166ffe3c632Sopenharmony_ci            "eRgBIAEoCBINCgV2YWx1ZRgCIAEoCDoCOAEaNgoUTWFwU3RyaW5nU3RyaW5n",
167ffe3c632Sopenharmony_ci            "RW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4ARo1ChNNYXBT",
168ffe3c632Sopenharmony_ci            "dHJpbmdCeXRlc0VudHJ5EgsKA2tleRgBIAEoCRINCgV2YWx1ZRgCIAEoDDoC",
169ffe3c632Sopenharmony_ci            "OAEafgobTWFwU3RyaW5nTmVzdGVkTWVzc2FnZUVudHJ5EgsKA2tleRgBIAEo",
170ffe3c632Sopenharmony_ci            "CRJOCgV2YWx1ZRgCIAEoCzI/LnByb3RvYnVmX3Rlc3RfbWVzc2FnZXMucHJv",
171ffe3c632Sopenharmony_ci            "dG8yLlRlc3RBbGxUeXBlc1Byb3RvMi5OZXN0ZWRNZXNzYWdlOgI4ARpzChxN",
172ffe3c632Sopenharmony_ci            "YXBTdHJpbmdGb3JlaWduTWVzc2FnZUVudHJ5EgsKA2tleRgBIAEoCRJCCgV2",
173ffe3c632Sopenharmony_ci            "YWx1ZRgCIAEoCzIzLnByb3RvYnVmX3Rlc3RfbWVzc2FnZXMucHJvdG8yLkZv",
174ffe3c632Sopenharmony_ci            "cmVpZ25NZXNzYWdlUHJvdG8yOgI4ARp4ChhNYXBTdHJpbmdOZXN0ZWRFbnVt",
175ffe3c632Sopenharmony_ci            "RW50cnkSCwoDa2V5GAEgASgJEksKBXZhbHVlGAIgASgOMjwucHJvdG9idWZf",
176ffe3c632Sopenharmony_ci            "dGVzdF9tZXNzYWdlcy5wcm90bzIuVGVzdEFsbFR5cGVzUHJvdG8yLk5lc3Rl",
177ffe3c632Sopenharmony_ci            "ZEVudW06AjgBGm0KGU1hcFN0cmluZ0ZvcmVpZ25FbnVtRW50cnkSCwoDa2V5",
178ffe3c632Sopenharmony_ci            "GAEgASgJEj8KBXZhbHVlGAIgASgOMjAucHJvdG9idWZfdGVzdF9tZXNzYWdl",
179ffe3c632Sopenharmony_ci            "cy5wcm90bzIuRm9yZWlnbkVudW1Qcm90bzI6AjgBGjMKBERhdGESFAoLZ3Jv",
180ffe3c632Sopenharmony_ci            "dXBfaW50MzIYygEgASgFEhUKDGdyb3VwX3VpbnQzMhjLASABKA0aIQoRTWVz",
181ffe3c632Sopenharmony_ci            "c2FnZVNldENvcnJlY3QqCAgEEP////8HOgIIARrgAQobTWVzc2FnZVNldENv",
182ffe3c632Sopenharmony_ci            "cnJlY3RFeHRlbnNpb24xEgsKA3N0chgZIAEoCTKzAQoVbWVzc2FnZV9zZXRf",
183ffe3c632Sopenharmony_ci            "ZXh0ZW5zaW9uEkMucHJvdG9idWZfdGVzdF9tZXNzYWdlcy5wcm90bzIuVGVz",
184ffe3c632Sopenharmony_ci            "dEFsbFR5cGVzUHJvdG8yLk1lc3NhZ2VTZXRDb3JyZWN0GPm7XiABKAsyTS5w",
185ffe3c632Sopenharmony_ci            "cm90b2J1Zl90ZXN0X21lc3NhZ2VzLnByb3RvMi5UZXN0QWxsVHlwZXNQcm90",
186ffe3c632Sopenharmony_ci            "bzIuTWVzc2FnZVNldENvcnJlY3RFeHRlbnNpb24xGt8BChtNZXNzYWdlU2V0",
187ffe3c632Sopenharmony_ci            "Q29ycmVjdEV4dGVuc2lvbjISCQoBaRgJIAEoBTK0AQoVbWVzc2FnZV9zZXRf",
188ffe3c632Sopenharmony_ci            "ZXh0ZW5zaW9uEkMucHJvdG9idWZfdGVzdF9tZXNzYWdlcy5wcm90bzIuVGVz",
189ffe3c632Sopenharmony_ci            "dEFsbFR5cGVzUHJvdG8yLk1lc3NhZ2VTZXRDb3JyZWN0GJCz/AEgASgLMk0u",
190ffe3c632Sopenharmony_ci            "cHJvdG9idWZfdGVzdF9tZXNzYWdlcy5wcm90bzIuVGVzdEFsbFR5cGVzUHJv",
191ffe3c632Sopenharmony_ci            "dG8yLk1lc3NhZ2VTZXRDb3JyZWN0RXh0ZW5zaW9uMiI5CgpOZXN0ZWRFbnVt",
192ffe3c632Sopenharmony_ci            "EgcKA0ZPTxAAEgcKA0JBUhABEgcKA0JBWhACEhAKA05FRxD///////////8B",
193ffe3c632Sopenharmony_ci            "KgUIeBDJAUINCgtvbmVvZl9maWVsZEoGCOgHEJBOIiEKFEZvcmVpZ25NZXNz",
194ffe3c632Sopenharmony_ci            "YWdlUHJvdG8yEgkKAWMYASABKAUiwQIKFVVua25vd25Ub1Rlc3RBbGxUeXBl",
195ffe3c632Sopenharmony_ci            "cxIXCg5vcHRpb25hbF9pbnQzMhjpByABKAUSGAoPb3B0aW9uYWxfc3RyaW5n",
196ffe3c632Sopenharmony_ci            "GOoHIAEoCRJMCg5uZXN0ZWRfbWVzc2FnZRjrByABKAsyMy5wcm90b2J1Zl90",
197ffe3c632Sopenharmony_ci            "ZXN0X21lc3NhZ2VzLnByb3RvMi5Gb3JlaWduTWVzc2FnZVByb3RvMhJaCg1v",
198ffe3c632Sopenharmony_ci            "cHRpb25hbGdyb3VwGOwHIAEoCjJCLnByb3RvYnVmX3Rlc3RfbWVzc2FnZXMu",
199ffe3c632Sopenharmony_ci            "cHJvdG8yLlVua25vd25Ub1Rlc3RBbGxUeXBlcy5PcHRpb25hbEdyb3VwEhYK",
200ffe3c632Sopenharmony_ci            "DW9wdGlvbmFsX2Jvb2wY7gcgASgIEhcKDnJlcGVhdGVkX2ludDMyGPMHIAMo",
201ffe3c632Sopenharmony_ci            "BRoaCg1PcHRpb25hbEdyb3VwEgkKAWEYASABKAUqRgoRRm9yZWlnbkVudW1Q",
202ffe3c632Sopenharmony_ci            "cm90bzISDwoLRk9SRUlHTl9GT08QABIPCgtGT1JFSUdOX0JBUhABEg8KC0ZP",
203ffe3c632Sopenharmony_ci            "UkVJR05fQkFaEAI6SgoPZXh0ZW5zaW9uX2ludDMyEjEucHJvdG9idWZfdGVz",
204ffe3c632Sopenharmony_ci            "dF9tZXNzYWdlcy5wcm90bzIuVGVzdEFsbFR5cGVzUHJvdG8yGHggASgFQi8K",
205ffe3c632Sopenharmony_ci            "KGNvbS5nb29nbGUucHJvdG9idWZfdGVzdF9tZXNzYWdlcy5wcm90bzJIAfgB",
206ffe3c632Sopenharmony_ci            "AQ=="));
207ffe3c632Sopenharmony_ci      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
208ffe3c632Sopenharmony_ci          new pbr::FileDescriptor[] { },
209ffe3c632Sopenharmony_ci          new pbr::GeneratedClrTypeInfo(new[] {typeof(global::ProtobufTestMessages.Proto2.ForeignEnumProto2), }, new pb::Extension[] { TestMessagesProto2Extensions.ExtensionInt32 }, new pbr::GeneratedClrTypeInfo[] {
210ffe3c632Sopenharmony_ci            new pbr::GeneratedClrTypeInfo(typeof(global::ProtobufTestMessages.Proto2.TestAllTypesProto2), global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Parser, new[]{ "OptionalInt32", "OptionalInt64", "OptionalUint32", "OptionalUint64", "OptionalSint32", "OptionalSint64", "OptionalFixed32", "OptionalFixed64", "OptionalSfixed32", "OptionalSfixed64", "OptionalFloat", "OptionalDouble", "OptionalBool", "OptionalString", "OptionalBytes", "OptionalNestedMessage", "OptionalForeignMessage", "OptionalNestedEnum", "OptionalForeignEnum", "OptionalStringPiece", "OptionalCord", "RecursiveMessage", "RepeatedInt32", "RepeatedInt64", "RepeatedUint32", "RepeatedUint64", "RepeatedSint32", "RepeatedSint64", "RepeatedFixed32", "RepeatedFixed64", "RepeatedSfixed32", "RepeatedSfixed64", "RepeatedFloat", "RepeatedDouble", "RepeatedBool", "RepeatedString", "RepeatedBytes", "RepeatedNestedMessage", "RepeatedForeignMessage", "RepeatedNestedEnum", "RepeatedForeignEnum", "RepeatedStringPiece", "RepeatedCord", "PackedInt32", "PackedInt64", "PackedUint32", "PackedUint64", "PackedSint32", "PackedSint64", "PackedFixed32", "PackedFixed64", "PackedSfixed32", "PackedSfixed64", "PackedFloat", "PackedDouble", "PackedBool", "PackedNestedEnum", "UnpackedInt32", "UnpackedInt64", "UnpackedUint32", "UnpackedUint64", "UnpackedSint32", "UnpackedSint64", "UnpackedFixed32", "UnpackedFixed64", "UnpackedSfixed32", "UnpackedSfixed64", "UnpackedFloat", "UnpackedDouble", "UnpackedBool", "UnpackedNestedEnum", "MapInt32Int32", "MapInt64Int64", "MapUint32Uint32", "MapUint64Uint64", "MapSint32Sint32", "MapSint64Sint64", "MapFixed32Fixed32", "MapFixed64Fixed64", "MapSfixed32Sfixed32", "MapSfixed64Sfixed64", "MapInt32Float", "MapInt32Double", "MapBoolBool", "MapStringString", "MapStringBytes", "MapStringNestedMessage", "MapStringForeignMessage", "MapStringNestedEnum", "MapStringForeignEnum", "OneofUint32", "OneofNestedMessage", "OneofString", "OneofBytes", "OneofBool", "OneofUint64", "OneofFloat", "OneofDouble", "OneofEnum", "Data", "Fieldname1", "FieldName2", "FieldName3", "FieldName4", "Field0Name5", "Field0Name6", "FieldName7", "FieldName8", "FieldName9", "FieldName10", "FIELDNAME11", "FIELDName12", "FieldName13", "FieldName14", "FieldName15", "FieldName16", "FieldName17", "FieldName18" }, new[]{ "OneofField" }, new[]{ typeof(global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedEnum) }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedMessage), global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedMessage.Parser, new[]{ "A", "Corecursive" }, null, null, null, null),
211ffe3c632Sopenharmony_ci            null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, new pbr::GeneratedClrTypeInfo(typeof(global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.Data), global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.Data.Parser, new[]{ "GroupInt32", "GroupUint32" }, null, null, null, null),
212ffe3c632Sopenharmony_ci            new pbr::GeneratedClrTypeInfo(typeof(global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.MessageSetCorrect), global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.MessageSetCorrect.Parser, null, null, null, null, null),
213ffe3c632Sopenharmony_ci            new pbr::GeneratedClrTypeInfo(typeof(global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.MessageSetCorrectExtension1), global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.MessageSetCorrectExtension1.Parser, new[]{ "Str" }, null, null, new pb::Extension[] { global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.MessageSetCorrectExtension1.Extensions.MessageSetExtension }, null),
214ffe3c632Sopenharmony_ci            new pbr::GeneratedClrTypeInfo(typeof(global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.MessageSetCorrectExtension2), global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.MessageSetCorrectExtension2.Parser, new[]{ "I" }, null, null, new pb::Extension[] { global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.MessageSetCorrectExtension2.Extensions.MessageSetExtension }, null)}),
215ffe3c632Sopenharmony_ci            new pbr::GeneratedClrTypeInfo(typeof(global::ProtobufTestMessages.Proto2.ForeignMessageProto2), global::ProtobufTestMessages.Proto2.ForeignMessageProto2.Parser, new[]{ "C" }, null, null, null, null),
216ffe3c632Sopenharmony_ci            new pbr::GeneratedClrTypeInfo(typeof(global::ProtobufTestMessages.Proto2.UnknownToTestAllTypes), global::ProtobufTestMessages.Proto2.UnknownToTestAllTypes.Parser, new[]{ "OptionalInt32", "OptionalString", "NestedMessage", "OptionalGroup", "OptionalBool", "RepeatedInt32" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::ProtobufTestMessages.Proto2.UnknownToTestAllTypes.Types.OptionalGroup), global::ProtobufTestMessages.Proto2.UnknownToTestAllTypes.Types.OptionalGroup.Parser, new[]{ "A" }, null, null, null, null)})
217ffe3c632Sopenharmony_ci          }));
218ffe3c632Sopenharmony_ci    }
219ffe3c632Sopenharmony_ci    #endregion
220ffe3c632Sopenharmony_ci
221ffe3c632Sopenharmony_ci  }
222ffe3c632Sopenharmony_ci  /// <summary>Holder for extension identifiers generated from the top level of google/protobuf/test_messages_proto2.proto</summary>
223ffe3c632Sopenharmony_ci  public static partial class TestMessagesProto2Extensions {
224ffe3c632Sopenharmony_ci    public static readonly pb::Extension<global::ProtobufTestMessages.Proto2.TestAllTypesProto2, int> ExtensionInt32 =
225ffe3c632Sopenharmony_ci      new pb::Extension<global::ProtobufTestMessages.Proto2.TestAllTypesProto2, int>(120, pb::FieldCodec.ForInt32(960, 0));
226ffe3c632Sopenharmony_ci  }
227ffe3c632Sopenharmony_ci
228ffe3c632Sopenharmony_ci  #region Enums
229ffe3c632Sopenharmony_ci  public enum ForeignEnumProto2 {
230ffe3c632Sopenharmony_ci    [pbr::OriginalName("FOREIGN_FOO")] ForeignFoo = 0,
231ffe3c632Sopenharmony_ci    [pbr::OriginalName("FOREIGN_BAR")] ForeignBar = 1,
232ffe3c632Sopenharmony_ci    [pbr::OriginalName("FOREIGN_BAZ")] ForeignBaz = 2,
233ffe3c632Sopenharmony_ci  }
234ffe3c632Sopenharmony_ci
235ffe3c632Sopenharmony_ci  #endregion
236ffe3c632Sopenharmony_ci
237ffe3c632Sopenharmony_ci  #region Messages
238ffe3c632Sopenharmony_ci  /// <summary>
239ffe3c632Sopenharmony_ci  /// This proto includes every type of field in both singular and repeated
240ffe3c632Sopenharmony_ci  /// forms.
241ffe3c632Sopenharmony_ci  ///
242ffe3c632Sopenharmony_ci  /// Also, crucially, all messages and enums in this file are eventually
243ffe3c632Sopenharmony_ci  /// submessages of this message.  So for example, a fuzz test of TestAllTypes
244ffe3c632Sopenharmony_ci  /// could trigger bugs that occur in any message type in this file.  We verify
245ffe3c632Sopenharmony_ci  /// this stays true in a unit test.
246ffe3c632Sopenharmony_ci  /// </summary>
247ffe3c632Sopenharmony_ci  public sealed partial class TestAllTypesProto2 : pb::IExtendableMessage<TestAllTypesProto2>
248ffe3c632Sopenharmony_ci  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
249ffe3c632Sopenharmony_ci      , pb::IBufferMessage
250ffe3c632Sopenharmony_ci  #endif
251ffe3c632Sopenharmony_ci  {
252ffe3c632Sopenharmony_ci    private static readonly pb::MessageParser<TestAllTypesProto2> _parser = new pb::MessageParser<TestAllTypesProto2>(() => new TestAllTypesProto2());
253ffe3c632Sopenharmony_ci    private pb::UnknownFieldSet _unknownFields;
254ffe3c632Sopenharmony_ci    private pb::ExtensionSet<TestAllTypesProto2> _extensions;
255ffe3c632Sopenharmony_ci    private pb::ExtensionSet<TestAllTypesProto2> _Extensions { get { return _extensions; } }
256ffe3c632Sopenharmony_ci    private int _hasBits0;
257ffe3c632Sopenharmony_ci    private int _hasBits1;
258ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
259ffe3c632Sopenharmony_ci    public static pb::MessageParser<TestAllTypesProto2> Parser { get { return _parser; } }
260ffe3c632Sopenharmony_ci
261ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
262ffe3c632Sopenharmony_ci    public static pbr::MessageDescriptor Descriptor {
263ffe3c632Sopenharmony_ci      get { return global::ProtobufTestMessages.Proto2.TestMessagesProto2Reflection.Descriptor.MessageTypes[0]; }
264ffe3c632Sopenharmony_ci    }
265ffe3c632Sopenharmony_ci
266ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
267ffe3c632Sopenharmony_ci    pbr::MessageDescriptor pb::IMessage.Descriptor {
268ffe3c632Sopenharmony_ci      get { return Descriptor; }
269ffe3c632Sopenharmony_ci    }
270ffe3c632Sopenharmony_ci
271ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
272ffe3c632Sopenharmony_ci    public TestAllTypesProto2() {
273ffe3c632Sopenharmony_ci      OnConstruction();
274ffe3c632Sopenharmony_ci    }
275ffe3c632Sopenharmony_ci
276ffe3c632Sopenharmony_ci    partial void OnConstruction();
277ffe3c632Sopenharmony_ci
278ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
279ffe3c632Sopenharmony_ci    public TestAllTypesProto2(TestAllTypesProto2 other) : this() {
280ffe3c632Sopenharmony_ci      _hasBits0 = other._hasBits0;
281ffe3c632Sopenharmony_ci      _hasBits1 = other._hasBits1;
282ffe3c632Sopenharmony_ci      optionalInt32_ = other.optionalInt32_;
283ffe3c632Sopenharmony_ci      optionalInt64_ = other.optionalInt64_;
284ffe3c632Sopenharmony_ci      optionalUint32_ = other.optionalUint32_;
285ffe3c632Sopenharmony_ci      optionalUint64_ = other.optionalUint64_;
286ffe3c632Sopenharmony_ci      optionalSint32_ = other.optionalSint32_;
287ffe3c632Sopenharmony_ci      optionalSint64_ = other.optionalSint64_;
288ffe3c632Sopenharmony_ci      optionalFixed32_ = other.optionalFixed32_;
289ffe3c632Sopenharmony_ci      optionalFixed64_ = other.optionalFixed64_;
290ffe3c632Sopenharmony_ci      optionalSfixed32_ = other.optionalSfixed32_;
291ffe3c632Sopenharmony_ci      optionalSfixed64_ = other.optionalSfixed64_;
292ffe3c632Sopenharmony_ci      optionalFloat_ = other.optionalFloat_;
293ffe3c632Sopenharmony_ci      optionalDouble_ = other.optionalDouble_;
294ffe3c632Sopenharmony_ci      optionalBool_ = other.optionalBool_;
295ffe3c632Sopenharmony_ci      optionalString_ = other.optionalString_;
296ffe3c632Sopenharmony_ci      optionalBytes_ = other.optionalBytes_;
297ffe3c632Sopenharmony_ci      optionalNestedMessage_ = other.optionalNestedMessage_ != null ? other.optionalNestedMessage_.Clone() : null;
298ffe3c632Sopenharmony_ci      optionalForeignMessage_ = other.optionalForeignMessage_ != null ? other.optionalForeignMessage_.Clone() : null;
299ffe3c632Sopenharmony_ci      optionalNestedEnum_ = other.optionalNestedEnum_;
300ffe3c632Sopenharmony_ci      optionalForeignEnum_ = other.optionalForeignEnum_;
301ffe3c632Sopenharmony_ci      optionalStringPiece_ = other.optionalStringPiece_;
302ffe3c632Sopenharmony_ci      optionalCord_ = other.optionalCord_;
303ffe3c632Sopenharmony_ci      recursiveMessage_ = other.recursiveMessage_ != null ? other.recursiveMessage_.Clone() : null;
304ffe3c632Sopenharmony_ci      repeatedInt32_ = other.repeatedInt32_.Clone();
305ffe3c632Sopenharmony_ci      repeatedInt64_ = other.repeatedInt64_.Clone();
306ffe3c632Sopenharmony_ci      repeatedUint32_ = other.repeatedUint32_.Clone();
307ffe3c632Sopenharmony_ci      repeatedUint64_ = other.repeatedUint64_.Clone();
308ffe3c632Sopenharmony_ci      repeatedSint32_ = other.repeatedSint32_.Clone();
309ffe3c632Sopenharmony_ci      repeatedSint64_ = other.repeatedSint64_.Clone();
310ffe3c632Sopenharmony_ci      repeatedFixed32_ = other.repeatedFixed32_.Clone();
311ffe3c632Sopenharmony_ci      repeatedFixed64_ = other.repeatedFixed64_.Clone();
312ffe3c632Sopenharmony_ci      repeatedSfixed32_ = other.repeatedSfixed32_.Clone();
313ffe3c632Sopenharmony_ci      repeatedSfixed64_ = other.repeatedSfixed64_.Clone();
314ffe3c632Sopenharmony_ci      repeatedFloat_ = other.repeatedFloat_.Clone();
315ffe3c632Sopenharmony_ci      repeatedDouble_ = other.repeatedDouble_.Clone();
316ffe3c632Sopenharmony_ci      repeatedBool_ = other.repeatedBool_.Clone();
317ffe3c632Sopenharmony_ci      repeatedString_ = other.repeatedString_.Clone();
318ffe3c632Sopenharmony_ci      repeatedBytes_ = other.repeatedBytes_.Clone();
319ffe3c632Sopenharmony_ci      repeatedNestedMessage_ = other.repeatedNestedMessage_.Clone();
320ffe3c632Sopenharmony_ci      repeatedForeignMessage_ = other.repeatedForeignMessage_.Clone();
321ffe3c632Sopenharmony_ci      repeatedNestedEnum_ = other.repeatedNestedEnum_.Clone();
322ffe3c632Sopenharmony_ci      repeatedForeignEnum_ = other.repeatedForeignEnum_.Clone();
323ffe3c632Sopenharmony_ci      repeatedStringPiece_ = other.repeatedStringPiece_.Clone();
324ffe3c632Sopenharmony_ci      repeatedCord_ = other.repeatedCord_.Clone();
325ffe3c632Sopenharmony_ci      packedInt32_ = other.packedInt32_.Clone();
326ffe3c632Sopenharmony_ci      packedInt64_ = other.packedInt64_.Clone();
327ffe3c632Sopenharmony_ci      packedUint32_ = other.packedUint32_.Clone();
328ffe3c632Sopenharmony_ci      packedUint64_ = other.packedUint64_.Clone();
329ffe3c632Sopenharmony_ci      packedSint32_ = other.packedSint32_.Clone();
330ffe3c632Sopenharmony_ci      packedSint64_ = other.packedSint64_.Clone();
331ffe3c632Sopenharmony_ci      packedFixed32_ = other.packedFixed32_.Clone();
332ffe3c632Sopenharmony_ci      packedFixed64_ = other.packedFixed64_.Clone();
333ffe3c632Sopenharmony_ci      packedSfixed32_ = other.packedSfixed32_.Clone();
334ffe3c632Sopenharmony_ci      packedSfixed64_ = other.packedSfixed64_.Clone();
335ffe3c632Sopenharmony_ci      packedFloat_ = other.packedFloat_.Clone();
336ffe3c632Sopenharmony_ci      packedDouble_ = other.packedDouble_.Clone();
337ffe3c632Sopenharmony_ci      packedBool_ = other.packedBool_.Clone();
338ffe3c632Sopenharmony_ci      packedNestedEnum_ = other.packedNestedEnum_.Clone();
339ffe3c632Sopenharmony_ci      unpackedInt32_ = other.unpackedInt32_.Clone();
340ffe3c632Sopenharmony_ci      unpackedInt64_ = other.unpackedInt64_.Clone();
341ffe3c632Sopenharmony_ci      unpackedUint32_ = other.unpackedUint32_.Clone();
342ffe3c632Sopenharmony_ci      unpackedUint64_ = other.unpackedUint64_.Clone();
343ffe3c632Sopenharmony_ci      unpackedSint32_ = other.unpackedSint32_.Clone();
344ffe3c632Sopenharmony_ci      unpackedSint64_ = other.unpackedSint64_.Clone();
345ffe3c632Sopenharmony_ci      unpackedFixed32_ = other.unpackedFixed32_.Clone();
346ffe3c632Sopenharmony_ci      unpackedFixed64_ = other.unpackedFixed64_.Clone();
347ffe3c632Sopenharmony_ci      unpackedSfixed32_ = other.unpackedSfixed32_.Clone();
348ffe3c632Sopenharmony_ci      unpackedSfixed64_ = other.unpackedSfixed64_.Clone();
349ffe3c632Sopenharmony_ci      unpackedFloat_ = other.unpackedFloat_.Clone();
350ffe3c632Sopenharmony_ci      unpackedDouble_ = other.unpackedDouble_.Clone();
351ffe3c632Sopenharmony_ci      unpackedBool_ = other.unpackedBool_.Clone();
352ffe3c632Sopenharmony_ci      unpackedNestedEnum_ = other.unpackedNestedEnum_.Clone();
353ffe3c632Sopenharmony_ci      mapInt32Int32_ = other.mapInt32Int32_.Clone();
354ffe3c632Sopenharmony_ci      mapInt64Int64_ = other.mapInt64Int64_.Clone();
355ffe3c632Sopenharmony_ci      mapUint32Uint32_ = other.mapUint32Uint32_.Clone();
356ffe3c632Sopenharmony_ci      mapUint64Uint64_ = other.mapUint64Uint64_.Clone();
357ffe3c632Sopenharmony_ci      mapSint32Sint32_ = other.mapSint32Sint32_.Clone();
358ffe3c632Sopenharmony_ci      mapSint64Sint64_ = other.mapSint64Sint64_.Clone();
359ffe3c632Sopenharmony_ci      mapFixed32Fixed32_ = other.mapFixed32Fixed32_.Clone();
360ffe3c632Sopenharmony_ci      mapFixed64Fixed64_ = other.mapFixed64Fixed64_.Clone();
361ffe3c632Sopenharmony_ci      mapSfixed32Sfixed32_ = other.mapSfixed32Sfixed32_.Clone();
362ffe3c632Sopenharmony_ci      mapSfixed64Sfixed64_ = other.mapSfixed64Sfixed64_.Clone();
363ffe3c632Sopenharmony_ci      mapInt32Float_ = other.mapInt32Float_.Clone();
364ffe3c632Sopenharmony_ci      mapInt32Double_ = other.mapInt32Double_.Clone();
365ffe3c632Sopenharmony_ci      mapBoolBool_ = other.mapBoolBool_.Clone();
366ffe3c632Sopenharmony_ci      mapStringString_ = other.mapStringString_.Clone();
367ffe3c632Sopenharmony_ci      mapStringBytes_ = other.mapStringBytes_.Clone();
368ffe3c632Sopenharmony_ci      mapStringNestedMessage_ = other.mapStringNestedMessage_.Clone();
369ffe3c632Sopenharmony_ci      mapStringForeignMessage_ = other.mapStringForeignMessage_.Clone();
370ffe3c632Sopenharmony_ci      mapStringNestedEnum_ = other.mapStringNestedEnum_.Clone();
371ffe3c632Sopenharmony_ci      mapStringForeignEnum_ = other.mapStringForeignEnum_.Clone();
372ffe3c632Sopenharmony_ci      data_ = other.HasData ? other.data_.Clone() : null;
373ffe3c632Sopenharmony_ci      fieldname1_ = other.fieldname1_;
374ffe3c632Sopenharmony_ci      fieldName2_ = other.fieldName2_;
375ffe3c632Sopenharmony_ci      FieldName3_ = other.FieldName3_;
376ffe3c632Sopenharmony_ci      fieldName4_ = other.fieldName4_;
377ffe3c632Sopenharmony_ci      field0Name5_ = other.field0Name5_;
378ffe3c632Sopenharmony_ci      field0Name6_ = other.field0Name6_;
379ffe3c632Sopenharmony_ci      fieldName7_ = other.fieldName7_;
380ffe3c632Sopenharmony_ci      fieldName8_ = other.fieldName8_;
381ffe3c632Sopenharmony_ci      fieldName9_ = other.fieldName9_;
382ffe3c632Sopenharmony_ci      fieldName10_ = other.fieldName10_;
383ffe3c632Sopenharmony_ci      fIELDNAME11_ = other.fIELDNAME11_;
384ffe3c632Sopenharmony_ci      fIELDName12_ = other.fIELDName12_;
385ffe3c632Sopenharmony_ci      FieldName13_ = other.FieldName13_;
386ffe3c632Sopenharmony_ci      FieldName14_ = other.FieldName14_;
387ffe3c632Sopenharmony_ci      fieldName15_ = other.fieldName15_;
388ffe3c632Sopenharmony_ci      fieldName16_ = other.fieldName16_;
389ffe3c632Sopenharmony_ci      fieldName17_ = other.fieldName17_;
390ffe3c632Sopenharmony_ci      fieldName18_ = other.fieldName18_;
391ffe3c632Sopenharmony_ci      switch (other.OneofFieldCase) {
392ffe3c632Sopenharmony_ci        case OneofFieldOneofCase.OneofUint32:
393ffe3c632Sopenharmony_ci          OneofUint32 = other.OneofUint32;
394ffe3c632Sopenharmony_ci          break;
395ffe3c632Sopenharmony_ci        case OneofFieldOneofCase.OneofNestedMessage:
396ffe3c632Sopenharmony_ci          OneofNestedMessage = other.OneofNestedMessage.Clone();
397ffe3c632Sopenharmony_ci          break;
398ffe3c632Sopenharmony_ci        case OneofFieldOneofCase.OneofString:
399ffe3c632Sopenharmony_ci          OneofString = other.OneofString;
400ffe3c632Sopenharmony_ci          break;
401ffe3c632Sopenharmony_ci        case OneofFieldOneofCase.OneofBytes:
402ffe3c632Sopenharmony_ci          OneofBytes = other.OneofBytes;
403ffe3c632Sopenharmony_ci          break;
404ffe3c632Sopenharmony_ci        case OneofFieldOneofCase.OneofBool:
405ffe3c632Sopenharmony_ci          OneofBool = other.OneofBool;
406ffe3c632Sopenharmony_ci          break;
407ffe3c632Sopenharmony_ci        case OneofFieldOneofCase.OneofUint64:
408ffe3c632Sopenharmony_ci          OneofUint64 = other.OneofUint64;
409ffe3c632Sopenharmony_ci          break;
410ffe3c632Sopenharmony_ci        case OneofFieldOneofCase.OneofFloat:
411ffe3c632Sopenharmony_ci          OneofFloat = other.OneofFloat;
412ffe3c632Sopenharmony_ci          break;
413ffe3c632Sopenharmony_ci        case OneofFieldOneofCase.OneofDouble:
414ffe3c632Sopenharmony_ci          OneofDouble = other.OneofDouble;
415ffe3c632Sopenharmony_ci          break;
416ffe3c632Sopenharmony_ci        case OneofFieldOneofCase.OneofEnum:
417ffe3c632Sopenharmony_ci          OneofEnum = other.OneofEnum;
418ffe3c632Sopenharmony_ci          break;
419ffe3c632Sopenharmony_ci      }
420ffe3c632Sopenharmony_ci
421ffe3c632Sopenharmony_ci      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
422ffe3c632Sopenharmony_ci      _extensions = pb::ExtensionSet.Clone(other._extensions);
423ffe3c632Sopenharmony_ci    }
424ffe3c632Sopenharmony_ci
425ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
426ffe3c632Sopenharmony_ci    public TestAllTypesProto2 Clone() {
427ffe3c632Sopenharmony_ci      return new TestAllTypesProto2(this);
428ffe3c632Sopenharmony_ci    }
429ffe3c632Sopenharmony_ci
430ffe3c632Sopenharmony_ci    /// <summary>Field number for the "optional_int32" field.</summary>
431ffe3c632Sopenharmony_ci    public const int OptionalInt32FieldNumber = 1;
432ffe3c632Sopenharmony_ci    private readonly static int OptionalInt32DefaultValue = 0;
433ffe3c632Sopenharmony_ci
434ffe3c632Sopenharmony_ci    private int optionalInt32_;
435ffe3c632Sopenharmony_ci    /// <summary>
436ffe3c632Sopenharmony_ci    /// Singular
437ffe3c632Sopenharmony_ci    /// </summary>
438ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
439ffe3c632Sopenharmony_ci    public int OptionalInt32 {
440ffe3c632Sopenharmony_ci      get { if ((_hasBits0 & 1) != 0) { return optionalInt32_; } else { return OptionalInt32DefaultValue; } }
441ffe3c632Sopenharmony_ci      set {
442ffe3c632Sopenharmony_ci        _hasBits0 |= 1;
443ffe3c632Sopenharmony_ci        optionalInt32_ = value;
444ffe3c632Sopenharmony_ci      }
445ffe3c632Sopenharmony_ci    }
446ffe3c632Sopenharmony_ci    /// <summary>Gets whether the "optional_int32" field is set</summary>
447ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
448ffe3c632Sopenharmony_ci    public bool HasOptionalInt32 {
449ffe3c632Sopenharmony_ci      get { return (_hasBits0 & 1) != 0; }
450ffe3c632Sopenharmony_ci    }
451ffe3c632Sopenharmony_ci    /// <summary>Clears the value of the "optional_int32" field</summary>
452ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
453ffe3c632Sopenharmony_ci    public void ClearOptionalInt32() {
454ffe3c632Sopenharmony_ci      _hasBits0 &= ~1;
455ffe3c632Sopenharmony_ci    }
456ffe3c632Sopenharmony_ci
457ffe3c632Sopenharmony_ci    /// <summary>Field number for the "optional_int64" field.</summary>
458ffe3c632Sopenharmony_ci    public const int OptionalInt64FieldNumber = 2;
459ffe3c632Sopenharmony_ci    private readonly static long OptionalInt64DefaultValue = 0L;
460ffe3c632Sopenharmony_ci
461ffe3c632Sopenharmony_ci    private long optionalInt64_;
462ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
463ffe3c632Sopenharmony_ci    public long OptionalInt64 {
464ffe3c632Sopenharmony_ci      get { if ((_hasBits0 & 2) != 0) { return optionalInt64_; } else { return OptionalInt64DefaultValue; } }
465ffe3c632Sopenharmony_ci      set {
466ffe3c632Sopenharmony_ci        _hasBits0 |= 2;
467ffe3c632Sopenharmony_ci        optionalInt64_ = value;
468ffe3c632Sopenharmony_ci      }
469ffe3c632Sopenharmony_ci    }
470ffe3c632Sopenharmony_ci    /// <summary>Gets whether the "optional_int64" field is set</summary>
471ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
472ffe3c632Sopenharmony_ci    public bool HasOptionalInt64 {
473ffe3c632Sopenharmony_ci      get { return (_hasBits0 & 2) != 0; }
474ffe3c632Sopenharmony_ci    }
475ffe3c632Sopenharmony_ci    /// <summary>Clears the value of the "optional_int64" field</summary>
476ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
477ffe3c632Sopenharmony_ci    public void ClearOptionalInt64() {
478ffe3c632Sopenharmony_ci      _hasBits0 &= ~2;
479ffe3c632Sopenharmony_ci    }
480ffe3c632Sopenharmony_ci
481ffe3c632Sopenharmony_ci    /// <summary>Field number for the "optional_uint32" field.</summary>
482ffe3c632Sopenharmony_ci    public const int OptionalUint32FieldNumber = 3;
483ffe3c632Sopenharmony_ci    private readonly static uint OptionalUint32DefaultValue = 0;
484ffe3c632Sopenharmony_ci
485ffe3c632Sopenharmony_ci    private uint optionalUint32_;
486ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
487ffe3c632Sopenharmony_ci    public uint OptionalUint32 {
488ffe3c632Sopenharmony_ci      get { if ((_hasBits0 & 4) != 0) { return optionalUint32_; } else { return OptionalUint32DefaultValue; } }
489ffe3c632Sopenharmony_ci      set {
490ffe3c632Sopenharmony_ci        _hasBits0 |= 4;
491ffe3c632Sopenharmony_ci        optionalUint32_ = value;
492ffe3c632Sopenharmony_ci      }
493ffe3c632Sopenharmony_ci    }
494ffe3c632Sopenharmony_ci    /// <summary>Gets whether the "optional_uint32" field is set</summary>
495ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
496ffe3c632Sopenharmony_ci    public bool HasOptionalUint32 {
497ffe3c632Sopenharmony_ci      get { return (_hasBits0 & 4) != 0; }
498ffe3c632Sopenharmony_ci    }
499ffe3c632Sopenharmony_ci    /// <summary>Clears the value of the "optional_uint32" field</summary>
500ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
501ffe3c632Sopenharmony_ci    public void ClearOptionalUint32() {
502ffe3c632Sopenharmony_ci      _hasBits0 &= ~4;
503ffe3c632Sopenharmony_ci    }
504ffe3c632Sopenharmony_ci
505ffe3c632Sopenharmony_ci    /// <summary>Field number for the "optional_uint64" field.</summary>
506ffe3c632Sopenharmony_ci    public const int OptionalUint64FieldNumber = 4;
507ffe3c632Sopenharmony_ci    private readonly static ulong OptionalUint64DefaultValue = 0UL;
508ffe3c632Sopenharmony_ci
509ffe3c632Sopenharmony_ci    private ulong optionalUint64_;
510ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
511ffe3c632Sopenharmony_ci    public ulong OptionalUint64 {
512ffe3c632Sopenharmony_ci      get { if ((_hasBits0 & 8) != 0) { return optionalUint64_; } else { return OptionalUint64DefaultValue; } }
513ffe3c632Sopenharmony_ci      set {
514ffe3c632Sopenharmony_ci        _hasBits0 |= 8;
515ffe3c632Sopenharmony_ci        optionalUint64_ = value;
516ffe3c632Sopenharmony_ci      }
517ffe3c632Sopenharmony_ci    }
518ffe3c632Sopenharmony_ci    /// <summary>Gets whether the "optional_uint64" field is set</summary>
519ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
520ffe3c632Sopenharmony_ci    public bool HasOptionalUint64 {
521ffe3c632Sopenharmony_ci      get { return (_hasBits0 & 8) != 0; }
522ffe3c632Sopenharmony_ci    }
523ffe3c632Sopenharmony_ci    /// <summary>Clears the value of the "optional_uint64" field</summary>
524ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
525ffe3c632Sopenharmony_ci    public void ClearOptionalUint64() {
526ffe3c632Sopenharmony_ci      _hasBits0 &= ~8;
527ffe3c632Sopenharmony_ci    }
528ffe3c632Sopenharmony_ci
529ffe3c632Sopenharmony_ci    /// <summary>Field number for the "optional_sint32" field.</summary>
530ffe3c632Sopenharmony_ci    public const int OptionalSint32FieldNumber = 5;
531ffe3c632Sopenharmony_ci    private readonly static int OptionalSint32DefaultValue = 0;
532ffe3c632Sopenharmony_ci
533ffe3c632Sopenharmony_ci    private int optionalSint32_;
534ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
535ffe3c632Sopenharmony_ci    public int OptionalSint32 {
536ffe3c632Sopenharmony_ci      get { if ((_hasBits0 & 16) != 0) { return optionalSint32_; } else { return OptionalSint32DefaultValue; } }
537ffe3c632Sopenharmony_ci      set {
538ffe3c632Sopenharmony_ci        _hasBits0 |= 16;
539ffe3c632Sopenharmony_ci        optionalSint32_ = value;
540ffe3c632Sopenharmony_ci      }
541ffe3c632Sopenharmony_ci    }
542ffe3c632Sopenharmony_ci    /// <summary>Gets whether the "optional_sint32" field is set</summary>
543ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
544ffe3c632Sopenharmony_ci    public bool HasOptionalSint32 {
545ffe3c632Sopenharmony_ci      get { return (_hasBits0 & 16) != 0; }
546ffe3c632Sopenharmony_ci    }
547ffe3c632Sopenharmony_ci    /// <summary>Clears the value of the "optional_sint32" field</summary>
548ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
549ffe3c632Sopenharmony_ci    public void ClearOptionalSint32() {
550ffe3c632Sopenharmony_ci      _hasBits0 &= ~16;
551ffe3c632Sopenharmony_ci    }
552ffe3c632Sopenharmony_ci
553ffe3c632Sopenharmony_ci    /// <summary>Field number for the "optional_sint64" field.</summary>
554ffe3c632Sopenharmony_ci    public const int OptionalSint64FieldNumber = 6;
555ffe3c632Sopenharmony_ci    private readonly static long OptionalSint64DefaultValue = 0L;
556ffe3c632Sopenharmony_ci
557ffe3c632Sopenharmony_ci    private long optionalSint64_;
558ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
559ffe3c632Sopenharmony_ci    public long OptionalSint64 {
560ffe3c632Sopenharmony_ci      get { if ((_hasBits0 & 32) != 0) { return optionalSint64_; } else { return OptionalSint64DefaultValue; } }
561ffe3c632Sopenharmony_ci      set {
562ffe3c632Sopenharmony_ci        _hasBits0 |= 32;
563ffe3c632Sopenharmony_ci        optionalSint64_ = value;
564ffe3c632Sopenharmony_ci      }
565ffe3c632Sopenharmony_ci    }
566ffe3c632Sopenharmony_ci    /// <summary>Gets whether the "optional_sint64" field is set</summary>
567ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
568ffe3c632Sopenharmony_ci    public bool HasOptionalSint64 {
569ffe3c632Sopenharmony_ci      get { return (_hasBits0 & 32) != 0; }
570ffe3c632Sopenharmony_ci    }
571ffe3c632Sopenharmony_ci    /// <summary>Clears the value of the "optional_sint64" field</summary>
572ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
573ffe3c632Sopenharmony_ci    public void ClearOptionalSint64() {
574ffe3c632Sopenharmony_ci      _hasBits0 &= ~32;
575ffe3c632Sopenharmony_ci    }
576ffe3c632Sopenharmony_ci
577ffe3c632Sopenharmony_ci    /// <summary>Field number for the "optional_fixed32" field.</summary>
578ffe3c632Sopenharmony_ci    public const int OptionalFixed32FieldNumber = 7;
579ffe3c632Sopenharmony_ci    private readonly static uint OptionalFixed32DefaultValue = 0;
580ffe3c632Sopenharmony_ci
581ffe3c632Sopenharmony_ci    private uint optionalFixed32_;
582ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
583ffe3c632Sopenharmony_ci    public uint OptionalFixed32 {
584ffe3c632Sopenharmony_ci      get { if ((_hasBits0 & 64) != 0) { return optionalFixed32_; } else { return OptionalFixed32DefaultValue; } }
585ffe3c632Sopenharmony_ci      set {
586ffe3c632Sopenharmony_ci        _hasBits0 |= 64;
587ffe3c632Sopenharmony_ci        optionalFixed32_ = value;
588ffe3c632Sopenharmony_ci      }
589ffe3c632Sopenharmony_ci    }
590ffe3c632Sopenharmony_ci    /// <summary>Gets whether the "optional_fixed32" field is set</summary>
591ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
592ffe3c632Sopenharmony_ci    public bool HasOptionalFixed32 {
593ffe3c632Sopenharmony_ci      get { return (_hasBits0 & 64) != 0; }
594ffe3c632Sopenharmony_ci    }
595ffe3c632Sopenharmony_ci    /// <summary>Clears the value of the "optional_fixed32" field</summary>
596ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
597ffe3c632Sopenharmony_ci    public void ClearOptionalFixed32() {
598ffe3c632Sopenharmony_ci      _hasBits0 &= ~64;
599ffe3c632Sopenharmony_ci    }
600ffe3c632Sopenharmony_ci
601ffe3c632Sopenharmony_ci    /// <summary>Field number for the "optional_fixed64" field.</summary>
602ffe3c632Sopenharmony_ci    public const int OptionalFixed64FieldNumber = 8;
603ffe3c632Sopenharmony_ci    private readonly static ulong OptionalFixed64DefaultValue = 0UL;
604ffe3c632Sopenharmony_ci
605ffe3c632Sopenharmony_ci    private ulong optionalFixed64_;
606ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
607ffe3c632Sopenharmony_ci    public ulong OptionalFixed64 {
608ffe3c632Sopenharmony_ci      get { if ((_hasBits0 & 128) != 0) { return optionalFixed64_; } else { return OptionalFixed64DefaultValue; } }
609ffe3c632Sopenharmony_ci      set {
610ffe3c632Sopenharmony_ci        _hasBits0 |= 128;
611ffe3c632Sopenharmony_ci        optionalFixed64_ = value;
612ffe3c632Sopenharmony_ci      }
613ffe3c632Sopenharmony_ci    }
614ffe3c632Sopenharmony_ci    /// <summary>Gets whether the "optional_fixed64" field is set</summary>
615ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
616ffe3c632Sopenharmony_ci    public bool HasOptionalFixed64 {
617ffe3c632Sopenharmony_ci      get { return (_hasBits0 & 128) != 0; }
618ffe3c632Sopenharmony_ci    }
619ffe3c632Sopenharmony_ci    /// <summary>Clears the value of the "optional_fixed64" field</summary>
620ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
621ffe3c632Sopenharmony_ci    public void ClearOptionalFixed64() {
622ffe3c632Sopenharmony_ci      _hasBits0 &= ~128;
623ffe3c632Sopenharmony_ci    }
624ffe3c632Sopenharmony_ci
625ffe3c632Sopenharmony_ci    /// <summary>Field number for the "optional_sfixed32" field.</summary>
626ffe3c632Sopenharmony_ci    public const int OptionalSfixed32FieldNumber = 9;
627ffe3c632Sopenharmony_ci    private readonly static int OptionalSfixed32DefaultValue = 0;
628ffe3c632Sopenharmony_ci
629ffe3c632Sopenharmony_ci    private int optionalSfixed32_;
630ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
631ffe3c632Sopenharmony_ci    public int OptionalSfixed32 {
632ffe3c632Sopenharmony_ci      get { if ((_hasBits0 & 256) != 0) { return optionalSfixed32_; } else { return OptionalSfixed32DefaultValue; } }
633ffe3c632Sopenharmony_ci      set {
634ffe3c632Sopenharmony_ci        _hasBits0 |= 256;
635ffe3c632Sopenharmony_ci        optionalSfixed32_ = value;
636ffe3c632Sopenharmony_ci      }
637ffe3c632Sopenharmony_ci    }
638ffe3c632Sopenharmony_ci    /// <summary>Gets whether the "optional_sfixed32" field is set</summary>
639ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
640ffe3c632Sopenharmony_ci    public bool HasOptionalSfixed32 {
641ffe3c632Sopenharmony_ci      get { return (_hasBits0 & 256) != 0; }
642ffe3c632Sopenharmony_ci    }
643ffe3c632Sopenharmony_ci    /// <summary>Clears the value of the "optional_sfixed32" field</summary>
644ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
645ffe3c632Sopenharmony_ci    public void ClearOptionalSfixed32() {
646ffe3c632Sopenharmony_ci      _hasBits0 &= ~256;
647ffe3c632Sopenharmony_ci    }
648ffe3c632Sopenharmony_ci
649ffe3c632Sopenharmony_ci    /// <summary>Field number for the "optional_sfixed64" field.</summary>
650ffe3c632Sopenharmony_ci    public const int OptionalSfixed64FieldNumber = 10;
651ffe3c632Sopenharmony_ci    private readonly static long OptionalSfixed64DefaultValue = 0L;
652ffe3c632Sopenharmony_ci
653ffe3c632Sopenharmony_ci    private long optionalSfixed64_;
654ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
655ffe3c632Sopenharmony_ci    public long OptionalSfixed64 {
656ffe3c632Sopenharmony_ci      get { if ((_hasBits0 & 512) != 0) { return optionalSfixed64_; } else { return OptionalSfixed64DefaultValue; } }
657ffe3c632Sopenharmony_ci      set {
658ffe3c632Sopenharmony_ci        _hasBits0 |= 512;
659ffe3c632Sopenharmony_ci        optionalSfixed64_ = value;
660ffe3c632Sopenharmony_ci      }
661ffe3c632Sopenharmony_ci    }
662ffe3c632Sopenharmony_ci    /// <summary>Gets whether the "optional_sfixed64" field is set</summary>
663ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
664ffe3c632Sopenharmony_ci    public bool HasOptionalSfixed64 {
665ffe3c632Sopenharmony_ci      get { return (_hasBits0 & 512) != 0; }
666ffe3c632Sopenharmony_ci    }
667ffe3c632Sopenharmony_ci    /// <summary>Clears the value of the "optional_sfixed64" field</summary>
668ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
669ffe3c632Sopenharmony_ci    public void ClearOptionalSfixed64() {
670ffe3c632Sopenharmony_ci      _hasBits0 &= ~512;
671ffe3c632Sopenharmony_ci    }
672ffe3c632Sopenharmony_ci
673ffe3c632Sopenharmony_ci    /// <summary>Field number for the "optional_float" field.</summary>
674ffe3c632Sopenharmony_ci    public const int OptionalFloatFieldNumber = 11;
675ffe3c632Sopenharmony_ci    private readonly static float OptionalFloatDefaultValue = 0F;
676ffe3c632Sopenharmony_ci
677ffe3c632Sopenharmony_ci    private float optionalFloat_;
678ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
679ffe3c632Sopenharmony_ci    public float OptionalFloat {
680ffe3c632Sopenharmony_ci      get { if ((_hasBits0 & 1024) != 0) { return optionalFloat_; } else { return OptionalFloatDefaultValue; } }
681ffe3c632Sopenharmony_ci      set {
682ffe3c632Sopenharmony_ci        _hasBits0 |= 1024;
683ffe3c632Sopenharmony_ci        optionalFloat_ = value;
684ffe3c632Sopenharmony_ci      }
685ffe3c632Sopenharmony_ci    }
686ffe3c632Sopenharmony_ci    /// <summary>Gets whether the "optional_float" field is set</summary>
687ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
688ffe3c632Sopenharmony_ci    public bool HasOptionalFloat {
689ffe3c632Sopenharmony_ci      get { return (_hasBits0 & 1024) != 0; }
690ffe3c632Sopenharmony_ci    }
691ffe3c632Sopenharmony_ci    /// <summary>Clears the value of the "optional_float" field</summary>
692ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
693ffe3c632Sopenharmony_ci    public void ClearOptionalFloat() {
694ffe3c632Sopenharmony_ci      _hasBits0 &= ~1024;
695ffe3c632Sopenharmony_ci    }
696ffe3c632Sopenharmony_ci
697ffe3c632Sopenharmony_ci    /// <summary>Field number for the "optional_double" field.</summary>
698ffe3c632Sopenharmony_ci    public const int OptionalDoubleFieldNumber = 12;
699ffe3c632Sopenharmony_ci    private readonly static double OptionalDoubleDefaultValue = 0D;
700ffe3c632Sopenharmony_ci
701ffe3c632Sopenharmony_ci    private double optionalDouble_;
702ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
703ffe3c632Sopenharmony_ci    public double OptionalDouble {
704ffe3c632Sopenharmony_ci      get { if ((_hasBits0 & 2048) != 0) { return optionalDouble_; } else { return OptionalDoubleDefaultValue; } }
705ffe3c632Sopenharmony_ci      set {
706ffe3c632Sopenharmony_ci        _hasBits0 |= 2048;
707ffe3c632Sopenharmony_ci        optionalDouble_ = value;
708ffe3c632Sopenharmony_ci      }
709ffe3c632Sopenharmony_ci    }
710ffe3c632Sopenharmony_ci    /// <summary>Gets whether the "optional_double" field is set</summary>
711ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
712ffe3c632Sopenharmony_ci    public bool HasOptionalDouble {
713ffe3c632Sopenharmony_ci      get { return (_hasBits0 & 2048) != 0; }
714ffe3c632Sopenharmony_ci    }
715ffe3c632Sopenharmony_ci    /// <summary>Clears the value of the "optional_double" field</summary>
716ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
717ffe3c632Sopenharmony_ci    public void ClearOptionalDouble() {
718ffe3c632Sopenharmony_ci      _hasBits0 &= ~2048;
719ffe3c632Sopenharmony_ci    }
720ffe3c632Sopenharmony_ci
721ffe3c632Sopenharmony_ci    /// <summary>Field number for the "optional_bool" field.</summary>
722ffe3c632Sopenharmony_ci    public const int OptionalBoolFieldNumber = 13;
723ffe3c632Sopenharmony_ci    private readonly static bool OptionalBoolDefaultValue = false;
724ffe3c632Sopenharmony_ci
725ffe3c632Sopenharmony_ci    private bool optionalBool_;
726ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
727ffe3c632Sopenharmony_ci    public bool OptionalBool {
728ffe3c632Sopenharmony_ci      get { if ((_hasBits0 & 4096) != 0) { return optionalBool_; } else { return OptionalBoolDefaultValue; } }
729ffe3c632Sopenharmony_ci      set {
730ffe3c632Sopenharmony_ci        _hasBits0 |= 4096;
731ffe3c632Sopenharmony_ci        optionalBool_ = value;
732ffe3c632Sopenharmony_ci      }
733ffe3c632Sopenharmony_ci    }
734ffe3c632Sopenharmony_ci    /// <summary>Gets whether the "optional_bool" field is set</summary>
735ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
736ffe3c632Sopenharmony_ci    public bool HasOptionalBool {
737ffe3c632Sopenharmony_ci      get { return (_hasBits0 & 4096) != 0; }
738ffe3c632Sopenharmony_ci    }
739ffe3c632Sopenharmony_ci    /// <summary>Clears the value of the "optional_bool" field</summary>
740ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
741ffe3c632Sopenharmony_ci    public void ClearOptionalBool() {
742ffe3c632Sopenharmony_ci      _hasBits0 &= ~4096;
743ffe3c632Sopenharmony_ci    }
744ffe3c632Sopenharmony_ci
745ffe3c632Sopenharmony_ci    /// <summary>Field number for the "optional_string" field.</summary>
746ffe3c632Sopenharmony_ci    public const int OptionalStringFieldNumber = 14;
747ffe3c632Sopenharmony_ci    private readonly static string OptionalStringDefaultValue = "";
748ffe3c632Sopenharmony_ci
749ffe3c632Sopenharmony_ci    private string optionalString_;
750ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
751ffe3c632Sopenharmony_ci    public string OptionalString {
752ffe3c632Sopenharmony_ci      get { return optionalString_ ?? OptionalStringDefaultValue; }
753ffe3c632Sopenharmony_ci      set {
754ffe3c632Sopenharmony_ci        optionalString_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
755ffe3c632Sopenharmony_ci      }
756ffe3c632Sopenharmony_ci    }
757ffe3c632Sopenharmony_ci    /// <summary>Gets whether the "optional_string" field is set</summary>
758ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
759ffe3c632Sopenharmony_ci    public bool HasOptionalString {
760ffe3c632Sopenharmony_ci      get { return optionalString_ != null; }
761ffe3c632Sopenharmony_ci    }
762ffe3c632Sopenharmony_ci    /// <summary>Clears the value of the "optional_string" field</summary>
763ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
764ffe3c632Sopenharmony_ci    public void ClearOptionalString() {
765ffe3c632Sopenharmony_ci      optionalString_ = null;
766ffe3c632Sopenharmony_ci    }
767ffe3c632Sopenharmony_ci
768ffe3c632Sopenharmony_ci    /// <summary>Field number for the "optional_bytes" field.</summary>
769ffe3c632Sopenharmony_ci    public const int OptionalBytesFieldNumber = 15;
770ffe3c632Sopenharmony_ci    private readonly static pb::ByteString OptionalBytesDefaultValue = pb::ByteString.Empty;
771ffe3c632Sopenharmony_ci
772ffe3c632Sopenharmony_ci    private pb::ByteString optionalBytes_;
773ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
774ffe3c632Sopenharmony_ci    public pb::ByteString OptionalBytes {
775ffe3c632Sopenharmony_ci      get { return optionalBytes_ ?? OptionalBytesDefaultValue; }
776ffe3c632Sopenharmony_ci      set {
777ffe3c632Sopenharmony_ci        optionalBytes_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
778ffe3c632Sopenharmony_ci      }
779ffe3c632Sopenharmony_ci    }
780ffe3c632Sopenharmony_ci    /// <summary>Gets whether the "optional_bytes" field is set</summary>
781ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
782ffe3c632Sopenharmony_ci    public bool HasOptionalBytes {
783ffe3c632Sopenharmony_ci      get { return optionalBytes_ != null; }
784ffe3c632Sopenharmony_ci    }
785ffe3c632Sopenharmony_ci    /// <summary>Clears the value of the "optional_bytes" field</summary>
786ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
787ffe3c632Sopenharmony_ci    public void ClearOptionalBytes() {
788ffe3c632Sopenharmony_ci      optionalBytes_ = null;
789ffe3c632Sopenharmony_ci    }
790ffe3c632Sopenharmony_ci
791ffe3c632Sopenharmony_ci    /// <summary>Field number for the "optional_nested_message" field.</summary>
792ffe3c632Sopenharmony_ci    public const int OptionalNestedMessageFieldNumber = 18;
793ffe3c632Sopenharmony_ci    private global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedMessage optionalNestedMessage_;
794ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
795ffe3c632Sopenharmony_ci    public global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedMessage OptionalNestedMessage {
796ffe3c632Sopenharmony_ci      get { return optionalNestedMessage_; }
797ffe3c632Sopenharmony_ci      set {
798ffe3c632Sopenharmony_ci        optionalNestedMessage_ = value;
799ffe3c632Sopenharmony_ci      }
800ffe3c632Sopenharmony_ci    }
801ffe3c632Sopenharmony_ci
802ffe3c632Sopenharmony_ci    /// <summary>Field number for the "optional_foreign_message" field.</summary>
803ffe3c632Sopenharmony_ci    public const int OptionalForeignMessageFieldNumber = 19;
804ffe3c632Sopenharmony_ci    private global::ProtobufTestMessages.Proto2.ForeignMessageProto2 optionalForeignMessage_;
805ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
806ffe3c632Sopenharmony_ci    public global::ProtobufTestMessages.Proto2.ForeignMessageProto2 OptionalForeignMessage {
807ffe3c632Sopenharmony_ci      get { return optionalForeignMessage_; }
808ffe3c632Sopenharmony_ci      set {
809ffe3c632Sopenharmony_ci        optionalForeignMessage_ = value;
810ffe3c632Sopenharmony_ci      }
811ffe3c632Sopenharmony_ci    }
812ffe3c632Sopenharmony_ci
813ffe3c632Sopenharmony_ci    /// <summary>Field number for the "optional_nested_enum" field.</summary>
814ffe3c632Sopenharmony_ci    public const int OptionalNestedEnumFieldNumber = 21;
815ffe3c632Sopenharmony_ci    private readonly static global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedEnum OptionalNestedEnumDefaultValue = global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedEnum.Foo;
816ffe3c632Sopenharmony_ci
817ffe3c632Sopenharmony_ci    private global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedEnum optionalNestedEnum_;
818ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
819ffe3c632Sopenharmony_ci    public global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedEnum OptionalNestedEnum {
820ffe3c632Sopenharmony_ci      get { if ((_hasBits0 & 8192) != 0) { return optionalNestedEnum_; } else { return OptionalNestedEnumDefaultValue; } }
821ffe3c632Sopenharmony_ci      set {
822ffe3c632Sopenharmony_ci        _hasBits0 |= 8192;
823ffe3c632Sopenharmony_ci        optionalNestedEnum_ = value;
824ffe3c632Sopenharmony_ci      }
825ffe3c632Sopenharmony_ci    }
826ffe3c632Sopenharmony_ci    /// <summary>Gets whether the "optional_nested_enum" field is set</summary>
827ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
828ffe3c632Sopenharmony_ci    public bool HasOptionalNestedEnum {
829ffe3c632Sopenharmony_ci      get { return (_hasBits0 & 8192) != 0; }
830ffe3c632Sopenharmony_ci    }
831ffe3c632Sopenharmony_ci    /// <summary>Clears the value of the "optional_nested_enum" field</summary>
832ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
833ffe3c632Sopenharmony_ci    public void ClearOptionalNestedEnum() {
834ffe3c632Sopenharmony_ci      _hasBits0 &= ~8192;
835ffe3c632Sopenharmony_ci    }
836ffe3c632Sopenharmony_ci
837ffe3c632Sopenharmony_ci    /// <summary>Field number for the "optional_foreign_enum" field.</summary>
838ffe3c632Sopenharmony_ci    public const int OptionalForeignEnumFieldNumber = 22;
839ffe3c632Sopenharmony_ci    private readonly static global::ProtobufTestMessages.Proto2.ForeignEnumProto2 OptionalForeignEnumDefaultValue = global::ProtobufTestMessages.Proto2.ForeignEnumProto2.ForeignFoo;
840ffe3c632Sopenharmony_ci
841ffe3c632Sopenharmony_ci    private global::ProtobufTestMessages.Proto2.ForeignEnumProto2 optionalForeignEnum_;
842ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
843ffe3c632Sopenharmony_ci    public global::ProtobufTestMessages.Proto2.ForeignEnumProto2 OptionalForeignEnum {
844ffe3c632Sopenharmony_ci      get { if ((_hasBits0 & 16384) != 0) { return optionalForeignEnum_; } else { return OptionalForeignEnumDefaultValue; } }
845ffe3c632Sopenharmony_ci      set {
846ffe3c632Sopenharmony_ci        _hasBits0 |= 16384;
847ffe3c632Sopenharmony_ci        optionalForeignEnum_ = value;
848ffe3c632Sopenharmony_ci      }
849ffe3c632Sopenharmony_ci    }
850ffe3c632Sopenharmony_ci    /// <summary>Gets whether the "optional_foreign_enum" field is set</summary>
851ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
852ffe3c632Sopenharmony_ci    public bool HasOptionalForeignEnum {
853ffe3c632Sopenharmony_ci      get { return (_hasBits0 & 16384) != 0; }
854ffe3c632Sopenharmony_ci    }
855ffe3c632Sopenharmony_ci    /// <summary>Clears the value of the "optional_foreign_enum" field</summary>
856ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
857ffe3c632Sopenharmony_ci    public void ClearOptionalForeignEnum() {
858ffe3c632Sopenharmony_ci      _hasBits0 &= ~16384;
859ffe3c632Sopenharmony_ci    }
860ffe3c632Sopenharmony_ci
861ffe3c632Sopenharmony_ci    /// <summary>Field number for the "optional_string_piece" field.</summary>
862ffe3c632Sopenharmony_ci    public const int OptionalStringPieceFieldNumber = 24;
863ffe3c632Sopenharmony_ci    private readonly static string OptionalStringPieceDefaultValue = "";
864ffe3c632Sopenharmony_ci
865ffe3c632Sopenharmony_ci    private string optionalStringPiece_;
866ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
867ffe3c632Sopenharmony_ci    public string OptionalStringPiece {
868ffe3c632Sopenharmony_ci      get { return optionalStringPiece_ ?? OptionalStringPieceDefaultValue; }
869ffe3c632Sopenharmony_ci      set {
870ffe3c632Sopenharmony_ci        optionalStringPiece_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
871ffe3c632Sopenharmony_ci      }
872ffe3c632Sopenharmony_ci    }
873ffe3c632Sopenharmony_ci    /// <summary>Gets whether the "optional_string_piece" field is set</summary>
874ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
875ffe3c632Sopenharmony_ci    public bool HasOptionalStringPiece {
876ffe3c632Sopenharmony_ci      get { return optionalStringPiece_ != null; }
877ffe3c632Sopenharmony_ci    }
878ffe3c632Sopenharmony_ci    /// <summary>Clears the value of the "optional_string_piece" field</summary>
879ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
880ffe3c632Sopenharmony_ci    public void ClearOptionalStringPiece() {
881ffe3c632Sopenharmony_ci      optionalStringPiece_ = null;
882ffe3c632Sopenharmony_ci    }
883ffe3c632Sopenharmony_ci
884ffe3c632Sopenharmony_ci    /// <summary>Field number for the "optional_cord" field.</summary>
885ffe3c632Sopenharmony_ci    public const int OptionalCordFieldNumber = 25;
886ffe3c632Sopenharmony_ci    private readonly static string OptionalCordDefaultValue = "";
887ffe3c632Sopenharmony_ci
888ffe3c632Sopenharmony_ci    private string optionalCord_;
889ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
890ffe3c632Sopenharmony_ci    public string OptionalCord {
891ffe3c632Sopenharmony_ci      get { return optionalCord_ ?? OptionalCordDefaultValue; }
892ffe3c632Sopenharmony_ci      set {
893ffe3c632Sopenharmony_ci        optionalCord_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
894ffe3c632Sopenharmony_ci      }
895ffe3c632Sopenharmony_ci    }
896ffe3c632Sopenharmony_ci    /// <summary>Gets whether the "optional_cord" field is set</summary>
897ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
898ffe3c632Sopenharmony_ci    public bool HasOptionalCord {
899ffe3c632Sopenharmony_ci      get { return optionalCord_ != null; }
900ffe3c632Sopenharmony_ci    }
901ffe3c632Sopenharmony_ci    /// <summary>Clears the value of the "optional_cord" field</summary>
902ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
903ffe3c632Sopenharmony_ci    public void ClearOptionalCord() {
904ffe3c632Sopenharmony_ci      optionalCord_ = null;
905ffe3c632Sopenharmony_ci    }
906ffe3c632Sopenharmony_ci
907ffe3c632Sopenharmony_ci    /// <summary>Field number for the "recursive_message" field.</summary>
908ffe3c632Sopenharmony_ci    public const int RecursiveMessageFieldNumber = 27;
909ffe3c632Sopenharmony_ci    private global::ProtobufTestMessages.Proto2.TestAllTypesProto2 recursiveMessage_;
910ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
911ffe3c632Sopenharmony_ci    public global::ProtobufTestMessages.Proto2.TestAllTypesProto2 RecursiveMessage {
912ffe3c632Sopenharmony_ci      get { return recursiveMessage_; }
913ffe3c632Sopenharmony_ci      set {
914ffe3c632Sopenharmony_ci        recursiveMessage_ = value;
915ffe3c632Sopenharmony_ci      }
916ffe3c632Sopenharmony_ci    }
917ffe3c632Sopenharmony_ci
918ffe3c632Sopenharmony_ci    /// <summary>Field number for the "repeated_int32" field.</summary>
919ffe3c632Sopenharmony_ci    public const int RepeatedInt32FieldNumber = 31;
920ffe3c632Sopenharmony_ci    private static readonly pb::FieldCodec<int> _repeated_repeatedInt32_codec
921ffe3c632Sopenharmony_ci        = pb::FieldCodec.ForInt32(248);
922ffe3c632Sopenharmony_ci    private readonly pbc::RepeatedField<int> repeatedInt32_ = new pbc::RepeatedField<int>();
923ffe3c632Sopenharmony_ci    /// <summary>
924ffe3c632Sopenharmony_ci    /// Repeated
925ffe3c632Sopenharmony_ci    /// </summary>
926ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
927ffe3c632Sopenharmony_ci    public pbc::RepeatedField<int> RepeatedInt32 {
928ffe3c632Sopenharmony_ci      get { return repeatedInt32_; }
929ffe3c632Sopenharmony_ci    }
930ffe3c632Sopenharmony_ci
931ffe3c632Sopenharmony_ci    /// <summary>Field number for the "repeated_int64" field.</summary>
932ffe3c632Sopenharmony_ci    public const int RepeatedInt64FieldNumber = 32;
933ffe3c632Sopenharmony_ci    private static readonly pb::FieldCodec<long> _repeated_repeatedInt64_codec
934ffe3c632Sopenharmony_ci        = pb::FieldCodec.ForInt64(256);
935ffe3c632Sopenharmony_ci    private readonly pbc::RepeatedField<long> repeatedInt64_ = new pbc::RepeatedField<long>();
936ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
937ffe3c632Sopenharmony_ci    public pbc::RepeatedField<long> RepeatedInt64 {
938ffe3c632Sopenharmony_ci      get { return repeatedInt64_; }
939ffe3c632Sopenharmony_ci    }
940ffe3c632Sopenharmony_ci
941ffe3c632Sopenharmony_ci    /// <summary>Field number for the "repeated_uint32" field.</summary>
942ffe3c632Sopenharmony_ci    public const int RepeatedUint32FieldNumber = 33;
943ffe3c632Sopenharmony_ci    private static readonly pb::FieldCodec<uint> _repeated_repeatedUint32_codec
944ffe3c632Sopenharmony_ci        = pb::FieldCodec.ForUInt32(264);
945ffe3c632Sopenharmony_ci    private readonly pbc::RepeatedField<uint> repeatedUint32_ = new pbc::RepeatedField<uint>();
946ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
947ffe3c632Sopenharmony_ci    public pbc::RepeatedField<uint> RepeatedUint32 {
948ffe3c632Sopenharmony_ci      get { return repeatedUint32_; }
949ffe3c632Sopenharmony_ci    }
950ffe3c632Sopenharmony_ci
951ffe3c632Sopenharmony_ci    /// <summary>Field number for the "repeated_uint64" field.</summary>
952ffe3c632Sopenharmony_ci    public const int RepeatedUint64FieldNumber = 34;
953ffe3c632Sopenharmony_ci    private static readonly pb::FieldCodec<ulong> _repeated_repeatedUint64_codec
954ffe3c632Sopenharmony_ci        = pb::FieldCodec.ForUInt64(272);
955ffe3c632Sopenharmony_ci    private readonly pbc::RepeatedField<ulong> repeatedUint64_ = new pbc::RepeatedField<ulong>();
956ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
957ffe3c632Sopenharmony_ci    public pbc::RepeatedField<ulong> RepeatedUint64 {
958ffe3c632Sopenharmony_ci      get { return repeatedUint64_; }
959ffe3c632Sopenharmony_ci    }
960ffe3c632Sopenharmony_ci
961ffe3c632Sopenharmony_ci    /// <summary>Field number for the "repeated_sint32" field.</summary>
962ffe3c632Sopenharmony_ci    public const int RepeatedSint32FieldNumber = 35;
963ffe3c632Sopenharmony_ci    private static readonly pb::FieldCodec<int> _repeated_repeatedSint32_codec
964ffe3c632Sopenharmony_ci        = pb::FieldCodec.ForSInt32(280);
965ffe3c632Sopenharmony_ci    private readonly pbc::RepeatedField<int> repeatedSint32_ = new pbc::RepeatedField<int>();
966ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
967ffe3c632Sopenharmony_ci    public pbc::RepeatedField<int> RepeatedSint32 {
968ffe3c632Sopenharmony_ci      get { return repeatedSint32_; }
969ffe3c632Sopenharmony_ci    }
970ffe3c632Sopenharmony_ci
971ffe3c632Sopenharmony_ci    /// <summary>Field number for the "repeated_sint64" field.</summary>
972ffe3c632Sopenharmony_ci    public const int RepeatedSint64FieldNumber = 36;
973ffe3c632Sopenharmony_ci    private static readonly pb::FieldCodec<long> _repeated_repeatedSint64_codec
974ffe3c632Sopenharmony_ci        = pb::FieldCodec.ForSInt64(288);
975ffe3c632Sopenharmony_ci    private readonly pbc::RepeatedField<long> repeatedSint64_ = new pbc::RepeatedField<long>();
976ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
977ffe3c632Sopenharmony_ci    public pbc::RepeatedField<long> RepeatedSint64 {
978ffe3c632Sopenharmony_ci      get { return repeatedSint64_; }
979ffe3c632Sopenharmony_ci    }
980ffe3c632Sopenharmony_ci
981ffe3c632Sopenharmony_ci    /// <summary>Field number for the "repeated_fixed32" field.</summary>
982ffe3c632Sopenharmony_ci    public const int RepeatedFixed32FieldNumber = 37;
983ffe3c632Sopenharmony_ci    private static readonly pb::FieldCodec<uint> _repeated_repeatedFixed32_codec
984ffe3c632Sopenharmony_ci        = pb::FieldCodec.ForFixed32(301);
985ffe3c632Sopenharmony_ci    private readonly pbc::RepeatedField<uint> repeatedFixed32_ = new pbc::RepeatedField<uint>();
986ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
987ffe3c632Sopenharmony_ci    public pbc::RepeatedField<uint> RepeatedFixed32 {
988ffe3c632Sopenharmony_ci      get { return repeatedFixed32_; }
989ffe3c632Sopenharmony_ci    }
990ffe3c632Sopenharmony_ci
991ffe3c632Sopenharmony_ci    /// <summary>Field number for the "repeated_fixed64" field.</summary>
992ffe3c632Sopenharmony_ci    public const int RepeatedFixed64FieldNumber = 38;
993ffe3c632Sopenharmony_ci    private static readonly pb::FieldCodec<ulong> _repeated_repeatedFixed64_codec
994ffe3c632Sopenharmony_ci        = pb::FieldCodec.ForFixed64(305);
995ffe3c632Sopenharmony_ci    private readonly pbc::RepeatedField<ulong> repeatedFixed64_ = new pbc::RepeatedField<ulong>();
996ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
997ffe3c632Sopenharmony_ci    public pbc::RepeatedField<ulong> RepeatedFixed64 {
998ffe3c632Sopenharmony_ci      get { return repeatedFixed64_; }
999ffe3c632Sopenharmony_ci    }
1000ffe3c632Sopenharmony_ci
1001ffe3c632Sopenharmony_ci    /// <summary>Field number for the "repeated_sfixed32" field.</summary>
1002ffe3c632Sopenharmony_ci    public const int RepeatedSfixed32FieldNumber = 39;
1003ffe3c632Sopenharmony_ci    private static readonly pb::FieldCodec<int> _repeated_repeatedSfixed32_codec
1004ffe3c632Sopenharmony_ci        = pb::FieldCodec.ForSFixed32(317);
1005ffe3c632Sopenharmony_ci    private readonly pbc::RepeatedField<int> repeatedSfixed32_ = new pbc::RepeatedField<int>();
1006ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1007ffe3c632Sopenharmony_ci    public pbc::RepeatedField<int> RepeatedSfixed32 {
1008ffe3c632Sopenharmony_ci      get { return repeatedSfixed32_; }
1009ffe3c632Sopenharmony_ci    }
1010ffe3c632Sopenharmony_ci
1011ffe3c632Sopenharmony_ci    /// <summary>Field number for the "repeated_sfixed64" field.</summary>
1012ffe3c632Sopenharmony_ci    public const int RepeatedSfixed64FieldNumber = 40;
1013ffe3c632Sopenharmony_ci    private static readonly pb::FieldCodec<long> _repeated_repeatedSfixed64_codec
1014ffe3c632Sopenharmony_ci        = pb::FieldCodec.ForSFixed64(321);
1015ffe3c632Sopenharmony_ci    private readonly pbc::RepeatedField<long> repeatedSfixed64_ = new pbc::RepeatedField<long>();
1016ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1017ffe3c632Sopenharmony_ci    public pbc::RepeatedField<long> RepeatedSfixed64 {
1018ffe3c632Sopenharmony_ci      get { return repeatedSfixed64_; }
1019ffe3c632Sopenharmony_ci    }
1020ffe3c632Sopenharmony_ci
1021ffe3c632Sopenharmony_ci    /// <summary>Field number for the "repeated_float" field.</summary>
1022ffe3c632Sopenharmony_ci    public const int RepeatedFloatFieldNumber = 41;
1023ffe3c632Sopenharmony_ci    private static readonly pb::FieldCodec<float> _repeated_repeatedFloat_codec
1024ffe3c632Sopenharmony_ci        = pb::FieldCodec.ForFloat(333);
1025ffe3c632Sopenharmony_ci    private readonly pbc::RepeatedField<float> repeatedFloat_ = new pbc::RepeatedField<float>();
1026ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1027ffe3c632Sopenharmony_ci    public pbc::RepeatedField<float> RepeatedFloat {
1028ffe3c632Sopenharmony_ci      get { return repeatedFloat_; }
1029ffe3c632Sopenharmony_ci    }
1030ffe3c632Sopenharmony_ci
1031ffe3c632Sopenharmony_ci    /// <summary>Field number for the "repeated_double" field.</summary>
1032ffe3c632Sopenharmony_ci    public const int RepeatedDoubleFieldNumber = 42;
1033ffe3c632Sopenharmony_ci    private static readonly pb::FieldCodec<double> _repeated_repeatedDouble_codec
1034ffe3c632Sopenharmony_ci        = pb::FieldCodec.ForDouble(337);
1035ffe3c632Sopenharmony_ci    private readonly pbc::RepeatedField<double> repeatedDouble_ = new pbc::RepeatedField<double>();
1036ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1037ffe3c632Sopenharmony_ci    public pbc::RepeatedField<double> RepeatedDouble {
1038ffe3c632Sopenharmony_ci      get { return repeatedDouble_; }
1039ffe3c632Sopenharmony_ci    }
1040ffe3c632Sopenharmony_ci
1041ffe3c632Sopenharmony_ci    /// <summary>Field number for the "repeated_bool" field.</summary>
1042ffe3c632Sopenharmony_ci    public const int RepeatedBoolFieldNumber = 43;
1043ffe3c632Sopenharmony_ci    private static readonly pb::FieldCodec<bool> _repeated_repeatedBool_codec
1044ffe3c632Sopenharmony_ci        = pb::FieldCodec.ForBool(344);
1045ffe3c632Sopenharmony_ci    private readonly pbc::RepeatedField<bool> repeatedBool_ = new pbc::RepeatedField<bool>();
1046ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1047ffe3c632Sopenharmony_ci    public pbc::RepeatedField<bool> RepeatedBool {
1048ffe3c632Sopenharmony_ci      get { return repeatedBool_; }
1049ffe3c632Sopenharmony_ci    }
1050ffe3c632Sopenharmony_ci
1051ffe3c632Sopenharmony_ci    /// <summary>Field number for the "repeated_string" field.</summary>
1052ffe3c632Sopenharmony_ci    public const int RepeatedStringFieldNumber = 44;
1053ffe3c632Sopenharmony_ci    private static readonly pb::FieldCodec<string> _repeated_repeatedString_codec
1054ffe3c632Sopenharmony_ci        = pb::FieldCodec.ForString(354);
1055ffe3c632Sopenharmony_ci    private readonly pbc::RepeatedField<string> repeatedString_ = new pbc::RepeatedField<string>();
1056ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1057ffe3c632Sopenharmony_ci    public pbc::RepeatedField<string> RepeatedString {
1058ffe3c632Sopenharmony_ci      get { return repeatedString_; }
1059ffe3c632Sopenharmony_ci    }
1060ffe3c632Sopenharmony_ci
1061ffe3c632Sopenharmony_ci    /// <summary>Field number for the "repeated_bytes" field.</summary>
1062ffe3c632Sopenharmony_ci    public const int RepeatedBytesFieldNumber = 45;
1063ffe3c632Sopenharmony_ci    private static readonly pb::FieldCodec<pb::ByteString> _repeated_repeatedBytes_codec
1064ffe3c632Sopenharmony_ci        = pb::FieldCodec.ForBytes(362);
1065ffe3c632Sopenharmony_ci    private readonly pbc::RepeatedField<pb::ByteString> repeatedBytes_ = new pbc::RepeatedField<pb::ByteString>();
1066ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1067ffe3c632Sopenharmony_ci    public pbc::RepeatedField<pb::ByteString> RepeatedBytes {
1068ffe3c632Sopenharmony_ci      get { return repeatedBytes_; }
1069ffe3c632Sopenharmony_ci    }
1070ffe3c632Sopenharmony_ci
1071ffe3c632Sopenharmony_ci    /// <summary>Field number for the "repeated_nested_message" field.</summary>
1072ffe3c632Sopenharmony_ci    public const int RepeatedNestedMessageFieldNumber = 48;
1073ffe3c632Sopenharmony_ci    private static readonly pb::FieldCodec<global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedMessage> _repeated_repeatedNestedMessage_codec
1074ffe3c632Sopenharmony_ci        = pb::FieldCodec.ForMessage(386, global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedMessage.Parser);
1075ffe3c632Sopenharmony_ci    private readonly pbc::RepeatedField<global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedMessage> repeatedNestedMessage_ = new pbc::RepeatedField<global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedMessage>();
1076ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1077ffe3c632Sopenharmony_ci    public pbc::RepeatedField<global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedMessage> RepeatedNestedMessage {
1078ffe3c632Sopenharmony_ci      get { return repeatedNestedMessage_; }
1079ffe3c632Sopenharmony_ci    }
1080ffe3c632Sopenharmony_ci
1081ffe3c632Sopenharmony_ci    /// <summary>Field number for the "repeated_foreign_message" field.</summary>
1082ffe3c632Sopenharmony_ci    public const int RepeatedForeignMessageFieldNumber = 49;
1083ffe3c632Sopenharmony_ci    private static readonly pb::FieldCodec<global::ProtobufTestMessages.Proto2.ForeignMessageProto2> _repeated_repeatedForeignMessage_codec
1084ffe3c632Sopenharmony_ci        = pb::FieldCodec.ForMessage(394, global::ProtobufTestMessages.Proto2.ForeignMessageProto2.Parser);
1085ffe3c632Sopenharmony_ci    private readonly pbc::RepeatedField<global::ProtobufTestMessages.Proto2.ForeignMessageProto2> repeatedForeignMessage_ = new pbc::RepeatedField<global::ProtobufTestMessages.Proto2.ForeignMessageProto2>();
1086ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1087ffe3c632Sopenharmony_ci    public pbc::RepeatedField<global::ProtobufTestMessages.Proto2.ForeignMessageProto2> RepeatedForeignMessage {
1088ffe3c632Sopenharmony_ci      get { return repeatedForeignMessage_; }
1089ffe3c632Sopenharmony_ci    }
1090ffe3c632Sopenharmony_ci
1091ffe3c632Sopenharmony_ci    /// <summary>Field number for the "repeated_nested_enum" field.</summary>
1092ffe3c632Sopenharmony_ci    public const int RepeatedNestedEnumFieldNumber = 51;
1093ffe3c632Sopenharmony_ci    private static readonly pb::FieldCodec<global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedEnum> _repeated_repeatedNestedEnum_codec
1094ffe3c632Sopenharmony_ci        = pb::FieldCodec.ForEnum(408, x => (int) x, x => (global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedEnum) x);
1095ffe3c632Sopenharmony_ci    private readonly pbc::RepeatedField<global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedEnum> repeatedNestedEnum_ = new pbc::RepeatedField<global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedEnum>();
1096ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1097ffe3c632Sopenharmony_ci    public pbc::RepeatedField<global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedEnum> RepeatedNestedEnum {
1098ffe3c632Sopenharmony_ci      get { return repeatedNestedEnum_; }
1099ffe3c632Sopenharmony_ci    }
1100ffe3c632Sopenharmony_ci
1101ffe3c632Sopenharmony_ci    /// <summary>Field number for the "repeated_foreign_enum" field.</summary>
1102ffe3c632Sopenharmony_ci    public const int RepeatedForeignEnumFieldNumber = 52;
1103ffe3c632Sopenharmony_ci    private static readonly pb::FieldCodec<global::ProtobufTestMessages.Proto2.ForeignEnumProto2> _repeated_repeatedForeignEnum_codec
1104ffe3c632Sopenharmony_ci        = pb::FieldCodec.ForEnum(416, x => (int) x, x => (global::ProtobufTestMessages.Proto2.ForeignEnumProto2) x);
1105ffe3c632Sopenharmony_ci    private readonly pbc::RepeatedField<global::ProtobufTestMessages.Proto2.ForeignEnumProto2> repeatedForeignEnum_ = new pbc::RepeatedField<global::ProtobufTestMessages.Proto2.ForeignEnumProto2>();
1106ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1107ffe3c632Sopenharmony_ci    public pbc::RepeatedField<global::ProtobufTestMessages.Proto2.ForeignEnumProto2> RepeatedForeignEnum {
1108ffe3c632Sopenharmony_ci      get { return repeatedForeignEnum_; }
1109ffe3c632Sopenharmony_ci    }
1110ffe3c632Sopenharmony_ci
1111ffe3c632Sopenharmony_ci    /// <summary>Field number for the "repeated_string_piece" field.</summary>
1112ffe3c632Sopenharmony_ci    public const int RepeatedStringPieceFieldNumber = 54;
1113ffe3c632Sopenharmony_ci    private static readonly pb::FieldCodec<string> _repeated_repeatedStringPiece_codec
1114ffe3c632Sopenharmony_ci        = pb::FieldCodec.ForString(434);
1115ffe3c632Sopenharmony_ci    private readonly pbc::RepeatedField<string> repeatedStringPiece_ = new pbc::RepeatedField<string>();
1116ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1117ffe3c632Sopenharmony_ci    public pbc::RepeatedField<string> RepeatedStringPiece {
1118ffe3c632Sopenharmony_ci      get { return repeatedStringPiece_; }
1119ffe3c632Sopenharmony_ci    }
1120ffe3c632Sopenharmony_ci
1121ffe3c632Sopenharmony_ci    /// <summary>Field number for the "repeated_cord" field.</summary>
1122ffe3c632Sopenharmony_ci    public const int RepeatedCordFieldNumber = 55;
1123ffe3c632Sopenharmony_ci    private static readonly pb::FieldCodec<string> _repeated_repeatedCord_codec
1124ffe3c632Sopenharmony_ci        = pb::FieldCodec.ForString(442);
1125ffe3c632Sopenharmony_ci    private readonly pbc::RepeatedField<string> repeatedCord_ = new pbc::RepeatedField<string>();
1126ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1127ffe3c632Sopenharmony_ci    public pbc::RepeatedField<string> RepeatedCord {
1128ffe3c632Sopenharmony_ci      get { return repeatedCord_; }
1129ffe3c632Sopenharmony_ci    }
1130ffe3c632Sopenharmony_ci
1131ffe3c632Sopenharmony_ci    /// <summary>Field number for the "packed_int32" field.</summary>
1132ffe3c632Sopenharmony_ci    public const int PackedInt32FieldNumber = 75;
1133ffe3c632Sopenharmony_ci    private static readonly pb::FieldCodec<int> _repeated_packedInt32_codec
1134ffe3c632Sopenharmony_ci        = pb::FieldCodec.ForInt32(602);
1135ffe3c632Sopenharmony_ci    private readonly pbc::RepeatedField<int> packedInt32_ = new pbc::RepeatedField<int>();
1136ffe3c632Sopenharmony_ci    /// <summary>
1137ffe3c632Sopenharmony_ci    /// Packed
1138ffe3c632Sopenharmony_ci    /// </summary>
1139ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1140ffe3c632Sopenharmony_ci    public pbc::RepeatedField<int> PackedInt32 {
1141ffe3c632Sopenharmony_ci      get { return packedInt32_; }
1142ffe3c632Sopenharmony_ci    }
1143ffe3c632Sopenharmony_ci
1144ffe3c632Sopenharmony_ci    /// <summary>Field number for the "packed_int64" field.</summary>
1145ffe3c632Sopenharmony_ci    public const int PackedInt64FieldNumber = 76;
1146ffe3c632Sopenharmony_ci    private static readonly pb::FieldCodec<long> _repeated_packedInt64_codec
1147ffe3c632Sopenharmony_ci        = pb::FieldCodec.ForInt64(610);
1148ffe3c632Sopenharmony_ci    private readonly pbc::RepeatedField<long> packedInt64_ = new pbc::RepeatedField<long>();
1149ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1150ffe3c632Sopenharmony_ci    public pbc::RepeatedField<long> PackedInt64 {
1151ffe3c632Sopenharmony_ci      get { return packedInt64_; }
1152ffe3c632Sopenharmony_ci    }
1153ffe3c632Sopenharmony_ci
1154ffe3c632Sopenharmony_ci    /// <summary>Field number for the "packed_uint32" field.</summary>
1155ffe3c632Sopenharmony_ci    public const int PackedUint32FieldNumber = 77;
1156ffe3c632Sopenharmony_ci    private static readonly pb::FieldCodec<uint> _repeated_packedUint32_codec
1157ffe3c632Sopenharmony_ci        = pb::FieldCodec.ForUInt32(618);
1158ffe3c632Sopenharmony_ci    private readonly pbc::RepeatedField<uint> packedUint32_ = new pbc::RepeatedField<uint>();
1159ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1160ffe3c632Sopenharmony_ci    public pbc::RepeatedField<uint> PackedUint32 {
1161ffe3c632Sopenharmony_ci      get { return packedUint32_; }
1162ffe3c632Sopenharmony_ci    }
1163ffe3c632Sopenharmony_ci
1164ffe3c632Sopenharmony_ci    /// <summary>Field number for the "packed_uint64" field.</summary>
1165ffe3c632Sopenharmony_ci    public const int PackedUint64FieldNumber = 78;
1166ffe3c632Sopenharmony_ci    private static readonly pb::FieldCodec<ulong> _repeated_packedUint64_codec
1167ffe3c632Sopenharmony_ci        = pb::FieldCodec.ForUInt64(626);
1168ffe3c632Sopenharmony_ci    private readonly pbc::RepeatedField<ulong> packedUint64_ = new pbc::RepeatedField<ulong>();
1169ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1170ffe3c632Sopenharmony_ci    public pbc::RepeatedField<ulong> PackedUint64 {
1171ffe3c632Sopenharmony_ci      get { return packedUint64_; }
1172ffe3c632Sopenharmony_ci    }
1173ffe3c632Sopenharmony_ci
1174ffe3c632Sopenharmony_ci    /// <summary>Field number for the "packed_sint32" field.</summary>
1175ffe3c632Sopenharmony_ci    public const int PackedSint32FieldNumber = 79;
1176ffe3c632Sopenharmony_ci    private static readonly pb::FieldCodec<int> _repeated_packedSint32_codec
1177ffe3c632Sopenharmony_ci        = pb::FieldCodec.ForSInt32(634);
1178ffe3c632Sopenharmony_ci    private readonly pbc::RepeatedField<int> packedSint32_ = new pbc::RepeatedField<int>();
1179ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1180ffe3c632Sopenharmony_ci    public pbc::RepeatedField<int> PackedSint32 {
1181ffe3c632Sopenharmony_ci      get { return packedSint32_; }
1182ffe3c632Sopenharmony_ci    }
1183ffe3c632Sopenharmony_ci
1184ffe3c632Sopenharmony_ci    /// <summary>Field number for the "packed_sint64" field.</summary>
1185ffe3c632Sopenharmony_ci    public const int PackedSint64FieldNumber = 80;
1186ffe3c632Sopenharmony_ci    private static readonly pb::FieldCodec<long> _repeated_packedSint64_codec
1187ffe3c632Sopenharmony_ci        = pb::FieldCodec.ForSInt64(642);
1188ffe3c632Sopenharmony_ci    private readonly pbc::RepeatedField<long> packedSint64_ = new pbc::RepeatedField<long>();
1189ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1190ffe3c632Sopenharmony_ci    public pbc::RepeatedField<long> PackedSint64 {
1191ffe3c632Sopenharmony_ci      get { return packedSint64_; }
1192ffe3c632Sopenharmony_ci    }
1193ffe3c632Sopenharmony_ci
1194ffe3c632Sopenharmony_ci    /// <summary>Field number for the "packed_fixed32" field.</summary>
1195ffe3c632Sopenharmony_ci    public const int PackedFixed32FieldNumber = 81;
1196ffe3c632Sopenharmony_ci    private static readonly pb::FieldCodec<uint> _repeated_packedFixed32_codec
1197ffe3c632Sopenharmony_ci        = pb::FieldCodec.ForFixed32(650);
1198ffe3c632Sopenharmony_ci    private readonly pbc::RepeatedField<uint> packedFixed32_ = new pbc::RepeatedField<uint>();
1199ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1200ffe3c632Sopenharmony_ci    public pbc::RepeatedField<uint> PackedFixed32 {
1201ffe3c632Sopenharmony_ci      get { return packedFixed32_; }
1202ffe3c632Sopenharmony_ci    }
1203ffe3c632Sopenharmony_ci
1204ffe3c632Sopenharmony_ci    /// <summary>Field number for the "packed_fixed64" field.</summary>
1205ffe3c632Sopenharmony_ci    public const int PackedFixed64FieldNumber = 82;
1206ffe3c632Sopenharmony_ci    private static readonly pb::FieldCodec<ulong> _repeated_packedFixed64_codec
1207ffe3c632Sopenharmony_ci        = pb::FieldCodec.ForFixed64(658);
1208ffe3c632Sopenharmony_ci    private readonly pbc::RepeatedField<ulong> packedFixed64_ = new pbc::RepeatedField<ulong>();
1209ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1210ffe3c632Sopenharmony_ci    public pbc::RepeatedField<ulong> PackedFixed64 {
1211ffe3c632Sopenharmony_ci      get { return packedFixed64_; }
1212ffe3c632Sopenharmony_ci    }
1213ffe3c632Sopenharmony_ci
1214ffe3c632Sopenharmony_ci    /// <summary>Field number for the "packed_sfixed32" field.</summary>
1215ffe3c632Sopenharmony_ci    public const int PackedSfixed32FieldNumber = 83;
1216ffe3c632Sopenharmony_ci    private static readonly pb::FieldCodec<int> _repeated_packedSfixed32_codec
1217ffe3c632Sopenharmony_ci        = pb::FieldCodec.ForSFixed32(666);
1218ffe3c632Sopenharmony_ci    private readonly pbc::RepeatedField<int> packedSfixed32_ = new pbc::RepeatedField<int>();
1219ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1220ffe3c632Sopenharmony_ci    public pbc::RepeatedField<int> PackedSfixed32 {
1221ffe3c632Sopenharmony_ci      get { return packedSfixed32_; }
1222ffe3c632Sopenharmony_ci    }
1223ffe3c632Sopenharmony_ci
1224ffe3c632Sopenharmony_ci    /// <summary>Field number for the "packed_sfixed64" field.</summary>
1225ffe3c632Sopenharmony_ci    public const int PackedSfixed64FieldNumber = 84;
1226ffe3c632Sopenharmony_ci    private static readonly pb::FieldCodec<long> _repeated_packedSfixed64_codec
1227ffe3c632Sopenharmony_ci        = pb::FieldCodec.ForSFixed64(674);
1228ffe3c632Sopenharmony_ci    private readonly pbc::RepeatedField<long> packedSfixed64_ = new pbc::RepeatedField<long>();
1229ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1230ffe3c632Sopenharmony_ci    public pbc::RepeatedField<long> PackedSfixed64 {
1231ffe3c632Sopenharmony_ci      get { return packedSfixed64_; }
1232ffe3c632Sopenharmony_ci    }
1233ffe3c632Sopenharmony_ci
1234ffe3c632Sopenharmony_ci    /// <summary>Field number for the "packed_float" field.</summary>
1235ffe3c632Sopenharmony_ci    public const int PackedFloatFieldNumber = 85;
1236ffe3c632Sopenharmony_ci    private static readonly pb::FieldCodec<float> _repeated_packedFloat_codec
1237ffe3c632Sopenharmony_ci        = pb::FieldCodec.ForFloat(682);
1238ffe3c632Sopenharmony_ci    private readonly pbc::RepeatedField<float> packedFloat_ = new pbc::RepeatedField<float>();
1239ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1240ffe3c632Sopenharmony_ci    public pbc::RepeatedField<float> PackedFloat {
1241ffe3c632Sopenharmony_ci      get { return packedFloat_; }
1242ffe3c632Sopenharmony_ci    }
1243ffe3c632Sopenharmony_ci
1244ffe3c632Sopenharmony_ci    /// <summary>Field number for the "packed_double" field.</summary>
1245ffe3c632Sopenharmony_ci    public const int PackedDoubleFieldNumber = 86;
1246ffe3c632Sopenharmony_ci    private static readonly pb::FieldCodec<double> _repeated_packedDouble_codec
1247ffe3c632Sopenharmony_ci        = pb::FieldCodec.ForDouble(690);
1248ffe3c632Sopenharmony_ci    private readonly pbc::RepeatedField<double> packedDouble_ = new pbc::RepeatedField<double>();
1249ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1250ffe3c632Sopenharmony_ci    public pbc::RepeatedField<double> PackedDouble {
1251ffe3c632Sopenharmony_ci      get { return packedDouble_; }
1252ffe3c632Sopenharmony_ci    }
1253ffe3c632Sopenharmony_ci
1254ffe3c632Sopenharmony_ci    /// <summary>Field number for the "packed_bool" field.</summary>
1255ffe3c632Sopenharmony_ci    public const int PackedBoolFieldNumber = 87;
1256ffe3c632Sopenharmony_ci    private static readonly pb::FieldCodec<bool> _repeated_packedBool_codec
1257ffe3c632Sopenharmony_ci        = pb::FieldCodec.ForBool(698);
1258ffe3c632Sopenharmony_ci    private readonly pbc::RepeatedField<bool> packedBool_ = new pbc::RepeatedField<bool>();
1259ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1260ffe3c632Sopenharmony_ci    public pbc::RepeatedField<bool> PackedBool {
1261ffe3c632Sopenharmony_ci      get { return packedBool_; }
1262ffe3c632Sopenharmony_ci    }
1263ffe3c632Sopenharmony_ci
1264ffe3c632Sopenharmony_ci    /// <summary>Field number for the "packed_nested_enum" field.</summary>
1265ffe3c632Sopenharmony_ci    public const int PackedNestedEnumFieldNumber = 88;
1266ffe3c632Sopenharmony_ci    private static readonly pb::FieldCodec<global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedEnum> _repeated_packedNestedEnum_codec
1267ffe3c632Sopenharmony_ci        = pb::FieldCodec.ForEnum(706, x => (int) x, x => (global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedEnum) x);
1268ffe3c632Sopenharmony_ci    private readonly pbc::RepeatedField<global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedEnum> packedNestedEnum_ = new pbc::RepeatedField<global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedEnum>();
1269ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1270ffe3c632Sopenharmony_ci    public pbc::RepeatedField<global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedEnum> PackedNestedEnum {
1271ffe3c632Sopenharmony_ci      get { return packedNestedEnum_; }
1272ffe3c632Sopenharmony_ci    }
1273ffe3c632Sopenharmony_ci
1274ffe3c632Sopenharmony_ci    /// <summary>Field number for the "unpacked_int32" field.</summary>
1275ffe3c632Sopenharmony_ci    public const int UnpackedInt32FieldNumber = 89;
1276ffe3c632Sopenharmony_ci    private static readonly pb::FieldCodec<int> _repeated_unpackedInt32_codec
1277ffe3c632Sopenharmony_ci        = pb::FieldCodec.ForInt32(712);
1278ffe3c632Sopenharmony_ci    private readonly pbc::RepeatedField<int> unpackedInt32_ = new pbc::RepeatedField<int>();
1279ffe3c632Sopenharmony_ci    /// <summary>
1280ffe3c632Sopenharmony_ci    /// Unpacked
1281ffe3c632Sopenharmony_ci    /// </summary>
1282ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1283ffe3c632Sopenharmony_ci    public pbc::RepeatedField<int> UnpackedInt32 {
1284ffe3c632Sopenharmony_ci      get { return unpackedInt32_; }
1285ffe3c632Sopenharmony_ci    }
1286ffe3c632Sopenharmony_ci
1287ffe3c632Sopenharmony_ci    /// <summary>Field number for the "unpacked_int64" field.</summary>
1288ffe3c632Sopenharmony_ci    public const int UnpackedInt64FieldNumber = 90;
1289ffe3c632Sopenharmony_ci    private static readonly pb::FieldCodec<long> _repeated_unpackedInt64_codec
1290ffe3c632Sopenharmony_ci        = pb::FieldCodec.ForInt64(720);
1291ffe3c632Sopenharmony_ci    private readonly pbc::RepeatedField<long> unpackedInt64_ = new pbc::RepeatedField<long>();
1292ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1293ffe3c632Sopenharmony_ci    public pbc::RepeatedField<long> UnpackedInt64 {
1294ffe3c632Sopenharmony_ci      get { return unpackedInt64_; }
1295ffe3c632Sopenharmony_ci    }
1296ffe3c632Sopenharmony_ci
1297ffe3c632Sopenharmony_ci    /// <summary>Field number for the "unpacked_uint32" field.</summary>
1298ffe3c632Sopenharmony_ci    public const int UnpackedUint32FieldNumber = 91;
1299ffe3c632Sopenharmony_ci    private static readonly pb::FieldCodec<uint> _repeated_unpackedUint32_codec
1300ffe3c632Sopenharmony_ci        = pb::FieldCodec.ForUInt32(728);
1301ffe3c632Sopenharmony_ci    private readonly pbc::RepeatedField<uint> unpackedUint32_ = new pbc::RepeatedField<uint>();
1302ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1303ffe3c632Sopenharmony_ci    public pbc::RepeatedField<uint> UnpackedUint32 {
1304ffe3c632Sopenharmony_ci      get { return unpackedUint32_; }
1305ffe3c632Sopenharmony_ci    }
1306ffe3c632Sopenharmony_ci
1307ffe3c632Sopenharmony_ci    /// <summary>Field number for the "unpacked_uint64" field.</summary>
1308ffe3c632Sopenharmony_ci    public const int UnpackedUint64FieldNumber = 92;
1309ffe3c632Sopenharmony_ci    private static readonly pb::FieldCodec<ulong> _repeated_unpackedUint64_codec
1310ffe3c632Sopenharmony_ci        = pb::FieldCodec.ForUInt64(736);
1311ffe3c632Sopenharmony_ci    private readonly pbc::RepeatedField<ulong> unpackedUint64_ = new pbc::RepeatedField<ulong>();
1312ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1313ffe3c632Sopenharmony_ci    public pbc::RepeatedField<ulong> UnpackedUint64 {
1314ffe3c632Sopenharmony_ci      get { return unpackedUint64_; }
1315ffe3c632Sopenharmony_ci    }
1316ffe3c632Sopenharmony_ci
1317ffe3c632Sopenharmony_ci    /// <summary>Field number for the "unpacked_sint32" field.</summary>
1318ffe3c632Sopenharmony_ci    public const int UnpackedSint32FieldNumber = 93;
1319ffe3c632Sopenharmony_ci    private static readonly pb::FieldCodec<int> _repeated_unpackedSint32_codec
1320ffe3c632Sopenharmony_ci        = pb::FieldCodec.ForSInt32(744);
1321ffe3c632Sopenharmony_ci    private readonly pbc::RepeatedField<int> unpackedSint32_ = new pbc::RepeatedField<int>();
1322ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1323ffe3c632Sopenharmony_ci    public pbc::RepeatedField<int> UnpackedSint32 {
1324ffe3c632Sopenharmony_ci      get { return unpackedSint32_; }
1325ffe3c632Sopenharmony_ci    }
1326ffe3c632Sopenharmony_ci
1327ffe3c632Sopenharmony_ci    /// <summary>Field number for the "unpacked_sint64" field.</summary>
1328ffe3c632Sopenharmony_ci    public const int UnpackedSint64FieldNumber = 94;
1329ffe3c632Sopenharmony_ci    private static readonly pb::FieldCodec<long> _repeated_unpackedSint64_codec
1330ffe3c632Sopenharmony_ci        = pb::FieldCodec.ForSInt64(752);
1331ffe3c632Sopenharmony_ci    private readonly pbc::RepeatedField<long> unpackedSint64_ = new pbc::RepeatedField<long>();
1332ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1333ffe3c632Sopenharmony_ci    public pbc::RepeatedField<long> UnpackedSint64 {
1334ffe3c632Sopenharmony_ci      get { return unpackedSint64_; }
1335ffe3c632Sopenharmony_ci    }
1336ffe3c632Sopenharmony_ci
1337ffe3c632Sopenharmony_ci    /// <summary>Field number for the "unpacked_fixed32" field.</summary>
1338ffe3c632Sopenharmony_ci    public const int UnpackedFixed32FieldNumber = 95;
1339ffe3c632Sopenharmony_ci    private static readonly pb::FieldCodec<uint> _repeated_unpackedFixed32_codec
1340ffe3c632Sopenharmony_ci        = pb::FieldCodec.ForFixed32(765);
1341ffe3c632Sopenharmony_ci    private readonly pbc::RepeatedField<uint> unpackedFixed32_ = new pbc::RepeatedField<uint>();
1342ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1343ffe3c632Sopenharmony_ci    public pbc::RepeatedField<uint> UnpackedFixed32 {
1344ffe3c632Sopenharmony_ci      get { return unpackedFixed32_; }
1345ffe3c632Sopenharmony_ci    }
1346ffe3c632Sopenharmony_ci
1347ffe3c632Sopenharmony_ci    /// <summary>Field number for the "unpacked_fixed64" field.</summary>
1348ffe3c632Sopenharmony_ci    public const int UnpackedFixed64FieldNumber = 96;
1349ffe3c632Sopenharmony_ci    private static readonly pb::FieldCodec<ulong> _repeated_unpackedFixed64_codec
1350ffe3c632Sopenharmony_ci        = pb::FieldCodec.ForFixed64(769);
1351ffe3c632Sopenharmony_ci    private readonly pbc::RepeatedField<ulong> unpackedFixed64_ = new pbc::RepeatedField<ulong>();
1352ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1353ffe3c632Sopenharmony_ci    public pbc::RepeatedField<ulong> UnpackedFixed64 {
1354ffe3c632Sopenharmony_ci      get { return unpackedFixed64_; }
1355ffe3c632Sopenharmony_ci    }
1356ffe3c632Sopenharmony_ci
1357ffe3c632Sopenharmony_ci    /// <summary>Field number for the "unpacked_sfixed32" field.</summary>
1358ffe3c632Sopenharmony_ci    public const int UnpackedSfixed32FieldNumber = 97;
1359ffe3c632Sopenharmony_ci    private static readonly pb::FieldCodec<int> _repeated_unpackedSfixed32_codec
1360ffe3c632Sopenharmony_ci        = pb::FieldCodec.ForSFixed32(781);
1361ffe3c632Sopenharmony_ci    private readonly pbc::RepeatedField<int> unpackedSfixed32_ = new pbc::RepeatedField<int>();
1362ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1363ffe3c632Sopenharmony_ci    public pbc::RepeatedField<int> UnpackedSfixed32 {
1364ffe3c632Sopenharmony_ci      get { return unpackedSfixed32_; }
1365ffe3c632Sopenharmony_ci    }
1366ffe3c632Sopenharmony_ci
1367ffe3c632Sopenharmony_ci    /// <summary>Field number for the "unpacked_sfixed64" field.</summary>
1368ffe3c632Sopenharmony_ci    public const int UnpackedSfixed64FieldNumber = 98;
1369ffe3c632Sopenharmony_ci    private static readonly pb::FieldCodec<long> _repeated_unpackedSfixed64_codec
1370ffe3c632Sopenharmony_ci        = pb::FieldCodec.ForSFixed64(785);
1371ffe3c632Sopenharmony_ci    private readonly pbc::RepeatedField<long> unpackedSfixed64_ = new pbc::RepeatedField<long>();
1372ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1373ffe3c632Sopenharmony_ci    public pbc::RepeatedField<long> UnpackedSfixed64 {
1374ffe3c632Sopenharmony_ci      get { return unpackedSfixed64_; }
1375ffe3c632Sopenharmony_ci    }
1376ffe3c632Sopenharmony_ci
1377ffe3c632Sopenharmony_ci    /// <summary>Field number for the "unpacked_float" field.</summary>
1378ffe3c632Sopenharmony_ci    public const int UnpackedFloatFieldNumber = 99;
1379ffe3c632Sopenharmony_ci    private static readonly pb::FieldCodec<float> _repeated_unpackedFloat_codec
1380ffe3c632Sopenharmony_ci        = pb::FieldCodec.ForFloat(797);
1381ffe3c632Sopenharmony_ci    private readonly pbc::RepeatedField<float> unpackedFloat_ = new pbc::RepeatedField<float>();
1382ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1383ffe3c632Sopenharmony_ci    public pbc::RepeatedField<float> UnpackedFloat {
1384ffe3c632Sopenharmony_ci      get { return unpackedFloat_; }
1385ffe3c632Sopenharmony_ci    }
1386ffe3c632Sopenharmony_ci
1387ffe3c632Sopenharmony_ci    /// <summary>Field number for the "unpacked_double" field.</summary>
1388ffe3c632Sopenharmony_ci    public const int UnpackedDoubleFieldNumber = 100;
1389ffe3c632Sopenharmony_ci    private static readonly pb::FieldCodec<double> _repeated_unpackedDouble_codec
1390ffe3c632Sopenharmony_ci        = pb::FieldCodec.ForDouble(801);
1391ffe3c632Sopenharmony_ci    private readonly pbc::RepeatedField<double> unpackedDouble_ = new pbc::RepeatedField<double>();
1392ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1393ffe3c632Sopenharmony_ci    public pbc::RepeatedField<double> UnpackedDouble {
1394ffe3c632Sopenharmony_ci      get { return unpackedDouble_; }
1395ffe3c632Sopenharmony_ci    }
1396ffe3c632Sopenharmony_ci
1397ffe3c632Sopenharmony_ci    /// <summary>Field number for the "unpacked_bool" field.</summary>
1398ffe3c632Sopenharmony_ci    public const int UnpackedBoolFieldNumber = 101;
1399ffe3c632Sopenharmony_ci    private static readonly pb::FieldCodec<bool> _repeated_unpackedBool_codec
1400ffe3c632Sopenharmony_ci        = pb::FieldCodec.ForBool(808);
1401ffe3c632Sopenharmony_ci    private readonly pbc::RepeatedField<bool> unpackedBool_ = new pbc::RepeatedField<bool>();
1402ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1403ffe3c632Sopenharmony_ci    public pbc::RepeatedField<bool> UnpackedBool {
1404ffe3c632Sopenharmony_ci      get { return unpackedBool_; }
1405ffe3c632Sopenharmony_ci    }
1406ffe3c632Sopenharmony_ci
1407ffe3c632Sopenharmony_ci    /// <summary>Field number for the "unpacked_nested_enum" field.</summary>
1408ffe3c632Sopenharmony_ci    public const int UnpackedNestedEnumFieldNumber = 102;
1409ffe3c632Sopenharmony_ci    private static readonly pb::FieldCodec<global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedEnum> _repeated_unpackedNestedEnum_codec
1410ffe3c632Sopenharmony_ci        = pb::FieldCodec.ForEnum(816, x => (int) x, x => (global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedEnum) x);
1411ffe3c632Sopenharmony_ci    private readonly pbc::RepeatedField<global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedEnum> unpackedNestedEnum_ = new pbc::RepeatedField<global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedEnum>();
1412ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1413ffe3c632Sopenharmony_ci    public pbc::RepeatedField<global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedEnum> UnpackedNestedEnum {
1414ffe3c632Sopenharmony_ci      get { return unpackedNestedEnum_; }
1415ffe3c632Sopenharmony_ci    }
1416ffe3c632Sopenharmony_ci
1417ffe3c632Sopenharmony_ci    /// <summary>Field number for the "map_int32_int32" field.</summary>
1418ffe3c632Sopenharmony_ci    public const int MapInt32Int32FieldNumber = 56;
1419ffe3c632Sopenharmony_ci    private static readonly pbc::MapField<int, int>.Codec _map_mapInt32Int32_codec
1420ffe3c632Sopenharmony_ci        = new pbc::MapField<int, int>.Codec(pb::FieldCodec.ForInt32(8, 0), pb::FieldCodec.ForInt32(16, 0), 450);
1421ffe3c632Sopenharmony_ci    private readonly pbc::MapField<int, int> mapInt32Int32_ = new pbc::MapField<int, int>();
1422ffe3c632Sopenharmony_ci    /// <summary>
1423ffe3c632Sopenharmony_ci    /// Map
1424ffe3c632Sopenharmony_ci    /// </summary>
1425ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1426ffe3c632Sopenharmony_ci    public pbc::MapField<int, int> MapInt32Int32 {
1427ffe3c632Sopenharmony_ci      get { return mapInt32Int32_; }
1428ffe3c632Sopenharmony_ci    }
1429ffe3c632Sopenharmony_ci
1430ffe3c632Sopenharmony_ci    /// <summary>Field number for the "map_int64_int64" field.</summary>
1431ffe3c632Sopenharmony_ci    public const int MapInt64Int64FieldNumber = 57;
1432ffe3c632Sopenharmony_ci    private static readonly pbc::MapField<long, long>.Codec _map_mapInt64Int64_codec
1433ffe3c632Sopenharmony_ci        = new pbc::MapField<long, long>.Codec(pb::FieldCodec.ForInt64(8, 0L), pb::FieldCodec.ForInt64(16, 0L), 458);
1434ffe3c632Sopenharmony_ci    private readonly pbc::MapField<long, long> mapInt64Int64_ = new pbc::MapField<long, long>();
1435ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1436ffe3c632Sopenharmony_ci    public pbc::MapField<long, long> MapInt64Int64 {
1437ffe3c632Sopenharmony_ci      get { return mapInt64Int64_; }
1438ffe3c632Sopenharmony_ci    }
1439ffe3c632Sopenharmony_ci
1440ffe3c632Sopenharmony_ci    /// <summary>Field number for the "map_uint32_uint32" field.</summary>
1441ffe3c632Sopenharmony_ci    public const int MapUint32Uint32FieldNumber = 58;
1442ffe3c632Sopenharmony_ci    private static readonly pbc::MapField<uint, uint>.Codec _map_mapUint32Uint32_codec
1443ffe3c632Sopenharmony_ci        = new pbc::MapField<uint, uint>.Codec(pb::FieldCodec.ForUInt32(8, 0), pb::FieldCodec.ForUInt32(16, 0), 466);
1444ffe3c632Sopenharmony_ci    private readonly pbc::MapField<uint, uint> mapUint32Uint32_ = new pbc::MapField<uint, uint>();
1445ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1446ffe3c632Sopenharmony_ci    public pbc::MapField<uint, uint> MapUint32Uint32 {
1447ffe3c632Sopenharmony_ci      get { return mapUint32Uint32_; }
1448ffe3c632Sopenharmony_ci    }
1449ffe3c632Sopenharmony_ci
1450ffe3c632Sopenharmony_ci    /// <summary>Field number for the "map_uint64_uint64" field.</summary>
1451ffe3c632Sopenharmony_ci    public const int MapUint64Uint64FieldNumber = 59;
1452ffe3c632Sopenharmony_ci    private static readonly pbc::MapField<ulong, ulong>.Codec _map_mapUint64Uint64_codec
1453ffe3c632Sopenharmony_ci        = new pbc::MapField<ulong, ulong>.Codec(pb::FieldCodec.ForUInt64(8, 0UL), pb::FieldCodec.ForUInt64(16, 0UL), 474);
1454ffe3c632Sopenharmony_ci    private readonly pbc::MapField<ulong, ulong> mapUint64Uint64_ = new pbc::MapField<ulong, ulong>();
1455ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1456ffe3c632Sopenharmony_ci    public pbc::MapField<ulong, ulong> MapUint64Uint64 {
1457ffe3c632Sopenharmony_ci      get { return mapUint64Uint64_; }
1458ffe3c632Sopenharmony_ci    }
1459ffe3c632Sopenharmony_ci
1460ffe3c632Sopenharmony_ci    /// <summary>Field number for the "map_sint32_sint32" field.</summary>
1461ffe3c632Sopenharmony_ci    public const int MapSint32Sint32FieldNumber = 60;
1462ffe3c632Sopenharmony_ci    private static readonly pbc::MapField<int, int>.Codec _map_mapSint32Sint32_codec
1463ffe3c632Sopenharmony_ci        = new pbc::MapField<int, int>.Codec(pb::FieldCodec.ForSInt32(8, 0), pb::FieldCodec.ForSInt32(16, 0), 482);
1464ffe3c632Sopenharmony_ci    private readonly pbc::MapField<int, int> mapSint32Sint32_ = new pbc::MapField<int, int>();
1465ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1466ffe3c632Sopenharmony_ci    public pbc::MapField<int, int> MapSint32Sint32 {
1467ffe3c632Sopenharmony_ci      get { return mapSint32Sint32_; }
1468ffe3c632Sopenharmony_ci    }
1469ffe3c632Sopenharmony_ci
1470ffe3c632Sopenharmony_ci    /// <summary>Field number for the "map_sint64_sint64" field.</summary>
1471ffe3c632Sopenharmony_ci    public const int MapSint64Sint64FieldNumber = 61;
1472ffe3c632Sopenharmony_ci    private static readonly pbc::MapField<long, long>.Codec _map_mapSint64Sint64_codec
1473ffe3c632Sopenharmony_ci        = new pbc::MapField<long, long>.Codec(pb::FieldCodec.ForSInt64(8, 0L), pb::FieldCodec.ForSInt64(16, 0L), 490);
1474ffe3c632Sopenharmony_ci    private readonly pbc::MapField<long, long> mapSint64Sint64_ = new pbc::MapField<long, long>();
1475ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1476ffe3c632Sopenharmony_ci    public pbc::MapField<long, long> MapSint64Sint64 {
1477ffe3c632Sopenharmony_ci      get { return mapSint64Sint64_; }
1478ffe3c632Sopenharmony_ci    }
1479ffe3c632Sopenharmony_ci
1480ffe3c632Sopenharmony_ci    /// <summary>Field number for the "map_fixed32_fixed32" field.</summary>
1481ffe3c632Sopenharmony_ci    public const int MapFixed32Fixed32FieldNumber = 62;
1482ffe3c632Sopenharmony_ci    private static readonly pbc::MapField<uint, uint>.Codec _map_mapFixed32Fixed32_codec
1483ffe3c632Sopenharmony_ci        = new pbc::MapField<uint, uint>.Codec(pb::FieldCodec.ForFixed32(13, 0), pb::FieldCodec.ForFixed32(21, 0), 498);
1484ffe3c632Sopenharmony_ci    private readonly pbc::MapField<uint, uint> mapFixed32Fixed32_ = new pbc::MapField<uint, uint>();
1485ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1486ffe3c632Sopenharmony_ci    public pbc::MapField<uint, uint> MapFixed32Fixed32 {
1487ffe3c632Sopenharmony_ci      get { return mapFixed32Fixed32_; }
1488ffe3c632Sopenharmony_ci    }
1489ffe3c632Sopenharmony_ci
1490ffe3c632Sopenharmony_ci    /// <summary>Field number for the "map_fixed64_fixed64" field.</summary>
1491ffe3c632Sopenharmony_ci    public const int MapFixed64Fixed64FieldNumber = 63;
1492ffe3c632Sopenharmony_ci    private static readonly pbc::MapField<ulong, ulong>.Codec _map_mapFixed64Fixed64_codec
1493ffe3c632Sopenharmony_ci        = new pbc::MapField<ulong, ulong>.Codec(pb::FieldCodec.ForFixed64(9, 0UL), pb::FieldCodec.ForFixed64(17, 0UL), 506);
1494ffe3c632Sopenharmony_ci    private readonly pbc::MapField<ulong, ulong> mapFixed64Fixed64_ = new pbc::MapField<ulong, ulong>();
1495ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1496ffe3c632Sopenharmony_ci    public pbc::MapField<ulong, ulong> MapFixed64Fixed64 {
1497ffe3c632Sopenharmony_ci      get { return mapFixed64Fixed64_; }
1498ffe3c632Sopenharmony_ci    }
1499ffe3c632Sopenharmony_ci
1500ffe3c632Sopenharmony_ci    /// <summary>Field number for the "map_sfixed32_sfixed32" field.</summary>
1501ffe3c632Sopenharmony_ci    public const int MapSfixed32Sfixed32FieldNumber = 64;
1502ffe3c632Sopenharmony_ci    private static readonly pbc::MapField<int, int>.Codec _map_mapSfixed32Sfixed32_codec
1503ffe3c632Sopenharmony_ci        = new pbc::MapField<int, int>.Codec(pb::FieldCodec.ForSFixed32(13, 0), pb::FieldCodec.ForSFixed32(21, 0), 514);
1504ffe3c632Sopenharmony_ci    private readonly pbc::MapField<int, int> mapSfixed32Sfixed32_ = new pbc::MapField<int, int>();
1505ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1506ffe3c632Sopenharmony_ci    public pbc::MapField<int, int> MapSfixed32Sfixed32 {
1507ffe3c632Sopenharmony_ci      get { return mapSfixed32Sfixed32_; }
1508ffe3c632Sopenharmony_ci    }
1509ffe3c632Sopenharmony_ci
1510ffe3c632Sopenharmony_ci    /// <summary>Field number for the "map_sfixed64_sfixed64" field.</summary>
1511ffe3c632Sopenharmony_ci    public const int MapSfixed64Sfixed64FieldNumber = 65;
1512ffe3c632Sopenharmony_ci    private static readonly pbc::MapField<long, long>.Codec _map_mapSfixed64Sfixed64_codec
1513ffe3c632Sopenharmony_ci        = new pbc::MapField<long, long>.Codec(pb::FieldCodec.ForSFixed64(9, 0L), pb::FieldCodec.ForSFixed64(17, 0L), 522);
1514ffe3c632Sopenharmony_ci    private readonly pbc::MapField<long, long> mapSfixed64Sfixed64_ = new pbc::MapField<long, long>();
1515ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1516ffe3c632Sopenharmony_ci    public pbc::MapField<long, long> MapSfixed64Sfixed64 {
1517ffe3c632Sopenharmony_ci      get { return mapSfixed64Sfixed64_; }
1518ffe3c632Sopenharmony_ci    }
1519ffe3c632Sopenharmony_ci
1520ffe3c632Sopenharmony_ci    /// <summary>Field number for the "map_int32_float" field.</summary>
1521ffe3c632Sopenharmony_ci    public const int MapInt32FloatFieldNumber = 66;
1522ffe3c632Sopenharmony_ci    private static readonly pbc::MapField<int, float>.Codec _map_mapInt32Float_codec
1523ffe3c632Sopenharmony_ci        = new pbc::MapField<int, float>.Codec(pb::FieldCodec.ForInt32(8, 0), pb::FieldCodec.ForFloat(21, 0F), 530);
1524ffe3c632Sopenharmony_ci    private readonly pbc::MapField<int, float> mapInt32Float_ = new pbc::MapField<int, float>();
1525ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1526ffe3c632Sopenharmony_ci    public pbc::MapField<int, float> MapInt32Float {
1527ffe3c632Sopenharmony_ci      get { return mapInt32Float_; }
1528ffe3c632Sopenharmony_ci    }
1529ffe3c632Sopenharmony_ci
1530ffe3c632Sopenharmony_ci    /// <summary>Field number for the "map_int32_double" field.</summary>
1531ffe3c632Sopenharmony_ci    public const int MapInt32DoubleFieldNumber = 67;
1532ffe3c632Sopenharmony_ci    private static readonly pbc::MapField<int, double>.Codec _map_mapInt32Double_codec
1533ffe3c632Sopenharmony_ci        = new pbc::MapField<int, double>.Codec(pb::FieldCodec.ForInt32(8, 0), pb::FieldCodec.ForDouble(17, 0D), 538);
1534ffe3c632Sopenharmony_ci    private readonly pbc::MapField<int, double> mapInt32Double_ = new pbc::MapField<int, double>();
1535ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1536ffe3c632Sopenharmony_ci    public pbc::MapField<int, double> MapInt32Double {
1537ffe3c632Sopenharmony_ci      get { return mapInt32Double_; }
1538ffe3c632Sopenharmony_ci    }
1539ffe3c632Sopenharmony_ci
1540ffe3c632Sopenharmony_ci    /// <summary>Field number for the "map_bool_bool" field.</summary>
1541ffe3c632Sopenharmony_ci    public const int MapBoolBoolFieldNumber = 68;
1542ffe3c632Sopenharmony_ci    private static readonly pbc::MapField<bool, bool>.Codec _map_mapBoolBool_codec
1543ffe3c632Sopenharmony_ci        = new pbc::MapField<bool, bool>.Codec(pb::FieldCodec.ForBool(8, false), pb::FieldCodec.ForBool(16, false), 546);
1544ffe3c632Sopenharmony_ci    private readonly pbc::MapField<bool, bool> mapBoolBool_ = new pbc::MapField<bool, bool>();
1545ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1546ffe3c632Sopenharmony_ci    public pbc::MapField<bool, bool> MapBoolBool {
1547ffe3c632Sopenharmony_ci      get { return mapBoolBool_; }
1548ffe3c632Sopenharmony_ci    }
1549ffe3c632Sopenharmony_ci
1550ffe3c632Sopenharmony_ci    /// <summary>Field number for the "map_string_string" field.</summary>
1551ffe3c632Sopenharmony_ci    public const int MapStringStringFieldNumber = 69;
1552ffe3c632Sopenharmony_ci    private static readonly pbc::MapField<string, string>.Codec _map_mapStringString_codec
1553ffe3c632Sopenharmony_ci        = new pbc::MapField<string, string>.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForString(18, ""), 554);
1554ffe3c632Sopenharmony_ci    private readonly pbc::MapField<string, string> mapStringString_ = new pbc::MapField<string, string>();
1555ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1556ffe3c632Sopenharmony_ci    public pbc::MapField<string, string> MapStringString {
1557ffe3c632Sopenharmony_ci      get { return mapStringString_; }
1558ffe3c632Sopenharmony_ci    }
1559ffe3c632Sopenharmony_ci
1560ffe3c632Sopenharmony_ci    /// <summary>Field number for the "map_string_bytes" field.</summary>
1561ffe3c632Sopenharmony_ci    public const int MapStringBytesFieldNumber = 70;
1562ffe3c632Sopenharmony_ci    private static readonly pbc::MapField<string, pb::ByteString>.Codec _map_mapStringBytes_codec
1563ffe3c632Sopenharmony_ci        = new pbc::MapField<string, pb::ByteString>.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForBytes(18, pb::ByteString.Empty), 562);
1564ffe3c632Sopenharmony_ci    private readonly pbc::MapField<string, pb::ByteString> mapStringBytes_ = new pbc::MapField<string, pb::ByteString>();
1565ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1566ffe3c632Sopenharmony_ci    public pbc::MapField<string, pb::ByteString> MapStringBytes {
1567ffe3c632Sopenharmony_ci      get { return mapStringBytes_; }
1568ffe3c632Sopenharmony_ci    }
1569ffe3c632Sopenharmony_ci
1570ffe3c632Sopenharmony_ci    /// <summary>Field number for the "map_string_nested_message" field.</summary>
1571ffe3c632Sopenharmony_ci    public const int MapStringNestedMessageFieldNumber = 71;
1572ffe3c632Sopenharmony_ci    private static readonly pbc::MapField<string, global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedMessage>.Codec _map_mapStringNestedMessage_codec
1573ffe3c632Sopenharmony_ci        = new pbc::MapField<string, global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedMessage>.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForMessage(18, global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedMessage.Parser), 570);
1574ffe3c632Sopenharmony_ci    private readonly pbc::MapField<string, global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedMessage> mapStringNestedMessage_ = new pbc::MapField<string, global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedMessage>();
1575ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1576ffe3c632Sopenharmony_ci    public pbc::MapField<string, global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedMessage> MapStringNestedMessage {
1577ffe3c632Sopenharmony_ci      get { return mapStringNestedMessage_; }
1578ffe3c632Sopenharmony_ci    }
1579ffe3c632Sopenharmony_ci
1580ffe3c632Sopenharmony_ci    /// <summary>Field number for the "map_string_foreign_message" field.</summary>
1581ffe3c632Sopenharmony_ci    public const int MapStringForeignMessageFieldNumber = 72;
1582ffe3c632Sopenharmony_ci    private static readonly pbc::MapField<string, global::ProtobufTestMessages.Proto2.ForeignMessageProto2>.Codec _map_mapStringForeignMessage_codec
1583ffe3c632Sopenharmony_ci        = new pbc::MapField<string, global::ProtobufTestMessages.Proto2.ForeignMessageProto2>.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForMessage(18, global::ProtobufTestMessages.Proto2.ForeignMessageProto2.Parser), 578);
1584ffe3c632Sopenharmony_ci    private readonly pbc::MapField<string, global::ProtobufTestMessages.Proto2.ForeignMessageProto2> mapStringForeignMessage_ = new pbc::MapField<string, global::ProtobufTestMessages.Proto2.ForeignMessageProto2>();
1585ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1586ffe3c632Sopenharmony_ci    public pbc::MapField<string, global::ProtobufTestMessages.Proto2.ForeignMessageProto2> MapStringForeignMessage {
1587ffe3c632Sopenharmony_ci      get { return mapStringForeignMessage_; }
1588ffe3c632Sopenharmony_ci    }
1589ffe3c632Sopenharmony_ci
1590ffe3c632Sopenharmony_ci    /// <summary>Field number for the "map_string_nested_enum" field.</summary>
1591ffe3c632Sopenharmony_ci    public const int MapStringNestedEnumFieldNumber = 73;
1592ffe3c632Sopenharmony_ci    private static readonly pbc::MapField<string, global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedEnum>.Codec _map_mapStringNestedEnum_codec
1593ffe3c632Sopenharmony_ci        = new pbc::MapField<string, global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedEnum>.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForEnum(16, x => (int) x, x => (global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedEnum) x, global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedEnum.Foo), 586);
1594ffe3c632Sopenharmony_ci    private readonly pbc::MapField<string, global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedEnum> mapStringNestedEnum_ = new pbc::MapField<string, global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedEnum>();
1595ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1596ffe3c632Sopenharmony_ci    public pbc::MapField<string, global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedEnum> MapStringNestedEnum {
1597ffe3c632Sopenharmony_ci      get { return mapStringNestedEnum_; }
1598ffe3c632Sopenharmony_ci    }
1599ffe3c632Sopenharmony_ci
1600ffe3c632Sopenharmony_ci    /// <summary>Field number for the "map_string_foreign_enum" field.</summary>
1601ffe3c632Sopenharmony_ci    public const int MapStringForeignEnumFieldNumber = 74;
1602ffe3c632Sopenharmony_ci    private static readonly pbc::MapField<string, global::ProtobufTestMessages.Proto2.ForeignEnumProto2>.Codec _map_mapStringForeignEnum_codec
1603ffe3c632Sopenharmony_ci        = new pbc::MapField<string, global::ProtobufTestMessages.Proto2.ForeignEnumProto2>.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForEnum(16, x => (int) x, x => (global::ProtobufTestMessages.Proto2.ForeignEnumProto2) x, global::ProtobufTestMessages.Proto2.ForeignEnumProto2.ForeignFoo), 594);
1604ffe3c632Sopenharmony_ci    private readonly pbc::MapField<string, global::ProtobufTestMessages.Proto2.ForeignEnumProto2> mapStringForeignEnum_ = new pbc::MapField<string, global::ProtobufTestMessages.Proto2.ForeignEnumProto2>();
1605ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1606ffe3c632Sopenharmony_ci    public pbc::MapField<string, global::ProtobufTestMessages.Proto2.ForeignEnumProto2> MapStringForeignEnum {
1607ffe3c632Sopenharmony_ci      get { return mapStringForeignEnum_; }
1608ffe3c632Sopenharmony_ci    }
1609ffe3c632Sopenharmony_ci
1610ffe3c632Sopenharmony_ci    /// <summary>Field number for the "oneof_uint32" field.</summary>
1611ffe3c632Sopenharmony_ci    public const int OneofUint32FieldNumber = 111;
1612ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1613ffe3c632Sopenharmony_ci    public uint OneofUint32 {
1614ffe3c632Sopenharmony_ci      get { return HasOneofUint32 ? (uint) oneofField_ : 0; }
1615ffe3c632Sopenharmony_ci      set {
1616ffe3c632Sopenharmony_ci        oneofField_ = value;
1617ffe3c632Sopenharmony_ci        oneofFieldCase_ = OneofFieldOneofCase.OneofUint32;
1618ffe3c632Sopenharmony_ci      }
1619ffe3c632Sopenharmony_ci    }
1620ffe3c632Sopenharmony_ci    /// <summary>Gets whether the "oneof_uint32" field is set</summary>
1621ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1622ffe3c632Sopenharmony_ci    public bool HasOneofUint32 {
1623ffe3c632Sopenharmony_ci      get { return oneofFieldCase_ == OneofFieldOneofCase.OneofUint32; }
1624ffe3c632Sopenharmony_ci    }
1625ffe3c632Sopenharmony_ci    /// <summary> Clears the value of the oneof if it's currently set to "oneof_uint32" </summary>
1626ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1627ffe3c632Sopenharmony_ci    public void ClearOneofUint32() {
1628ffe3c632Sopenharmony_ci      if (HasOneofUint32) {
1629ffe3c632Sopenharmony_ci        ClearOneofField();
1630ffe3c632Sopenharmony_ci      }
1631ffe3c632Sopenharmony_ci    }
1632ffe3c632Sopenharmony_ci
1633ffe3c632Sopenharmony_ci    /// <summary>Field number for the "oneof_nested_message" field.</summary>
1634ffe3c632Sopenharmony_ci    public const int OneofNestedMessageFieldNumber = 112;
1635ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1636ffe3c632Sopenharmony_ci    public global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedMessage OneofNestedMessage {
1637ffe3c632Sopenharmony_ci      get { return oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage ? (global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedMessage) oneofField_ : null; }
1638ffe3c632Sopenharmony_ci      set {
1639ffe3c632Sopenharmony_ci        oneofField_ = value;
1640ffe3c632Sopenharmony_ci        oneofFieldCase_ = value == null ? OneofFieldOneofCase.None : OneofFieldOneofCase.OneofNestedMessage;
1641ffe3c632Sopenharmony_ci      }
1642ffe3c632Sopenharmony_ci    }
1643ffe3c632Sopenharmony_ci
1644ffe3c632Sopenharmony_ci    /// <summary>Field number for the "oneof_string" field.</summary>
1645ffe3c632Sopenharmony_ci    public const int OneofStringFieldNumber = 113;
1646ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1647ffe3c632Sopenharmony_ci    public string OneofString {
1648ffe3c632Sopenharmony_ci      get { return HasOneofString ? (string) oneofField_ : ""; }
1649ffe3c632Sopenharmony_ci      set {
1650ffe3c632Sopenharmony_ci        oneofField_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
1651ffe3c632Sopenharmony_ci        oneofFieldCase_ = OneofFieldOneofCase.OneofString;
1652ffe3c632Sopenharmony_ci      }
1653ffe3c632Sopenharmony_ci    }
1654ffe3c632Sopenharmony_ci    /// <summary>Gets whether the "oneof_string" field is set</summary>
1655ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1656ffe3c632Sopenharmony_ci    public bool HasOneofString {
1657ffe3c632Sopenharmony_ci      get { return oneofFieldCase_ == OneofFieldOneofCase.OneofString; }
1658ffe3c632Sopenharmony_ci    }
1659ffe3c632Sopenharmony_ci    /// <summary> Clears the value of the oneof if it's currently set to "oneof_string" </summary>
1660ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1661ffe3c632Sopenharmony_ci    public void ClearOneofString() {
1662ffe3c632Sopenharmony_ci      if (HasOneofString) {
1663ffe3c632Sopenharmony_ci        ClearOneofField();
1664ffe3c632Sopenharmony_ci      }
1665ffe3c632Sopenharmony_ci    }
1666ffe3c632Sopenharmony_ci
1667ffe3c632Sopenharmony_ci    /// <summary>Field number for the "oneof_bytes" field.</summary>
1668ffe3c632Sopenharmony_ci    public const int OneofBytesFieldNumber = 114;
1669ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1670ffe3c632Sopenharmony_ci    public pb::ByteString OneofBytes {
1671ffe3c632Sopenharmony_ci      get { return HasOneofBytes ? (pb::ByteString) oneofField_ : pb::ByteString.Empty; }
1672ffe3c632Sopenharmony_ci      set {
1673ffe3c632Sopenharmony_ci        oneofField_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
1674ffe3c632Sopenharmony_ci        oneofFieldCase_ = OneofFieldOneofCase.OneofBytes;
1675ffe3c632Sopenharmony_ci      }
1676ffe3c632Sopenharmony_ci    }
1677ffe3c632Sopenharmony_ci    /// <summary>Gets whether the "oneof_bytes" field is set</summary>
1678ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1679ffe3c632Sopenharmony_ci    public bool HasOneofBytes {
1680ffe3c632Sopenharmony_ci      get { return oneofFieldCase_ == OneofFieldOneofCase.OneofBytes; }
1681ffe3c632Sopenharmony_ci    }
1682ffe3c632Sopenharmony_ci    /// <summary> Clears the value of the oneof if it's currently set to "oneof_bytes" </summary>
1683ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1684ffe3c632Sopenharmony_ci    public void ClearOneofBytes() {
1685ffe3c632Sopenharmony_ci      if (HasOneofBytes) {
1686ffe3c632Sopenharmony_ci        ClearOneofField();
1687ffe3c632Sopenharmony_ci      }
1688ffe3c632Sopenharmony_ci    }
1689ffe3c632Sopenharmony_ci
1690ffe3c632Sopenharmony_ci    /// <summary>Field number for the "oneof_bool" field.</summary>
1691ffe3c632Sopenharmony_ci    public const int OneofBoolFieldNumber = 115;
1692ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1693ffe3c632Sopenharmony_ci    public bool OneofBool {
1694ffe3c632Sopenharmony_ci      get { return HasOneofBool ? (bool) oneofField_ : false; }
1695ffe3c632Sopenharmony_ci      set {
1696ffe3c632Sopenharmony_ci        oneofField_ = value;
1697ffe3c632Sopenharmony_ci        oneofFieldCase_ = OneofFieldOneofCase.OneofBool;
1698ffe3c632Sopenharmony_ci      }
1699ffe3c632Sopenharmony_ci    }
1700ffe3c632Sopenharmony_ci    /// <summary>Gets whether the "oneof_bool" field is set</summary>
1701ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1702ffe3c632Sopenharmony_ci    public bool HasOneofBool {
1703ffe3c632Sopenharmony_ci      get { return oneofFieldCase_ == OneofFieldOneofCase.OneofBool; }
1704ffe3c632Sopenharmony_ci    }
1705ffe3c632Sopenharmony_ci    /// <summary> Clears the value of the oneof if it's currently set to "oneof_bool" </summary>
1706ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1707ffe3c632Sopenharmony_ci    public void ClearOneofBool() {
1708ffe3c632Sopenharmony_ci      if (HasOneofBool) {
1709ffe3c632Sopenharmony_ci        ClearOneofField();
1710ffe3c632Sopenharmony_ci      }
1711ffe3c632Sopenharmony_ci    }
1712ffe3c632Sopenharmony_ci
1713ffe3c632Sopenharmony_ci    /// <summary>Field number for the "oneof_uint64" field.</summary>
1714ffe3c632Sopenharmony_ci    public const int OneofUint64FieldNumber = 116;
1715ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1716ffe3c632Sopenharmony_ci    public ulong OneofUint64 {
1717ffe3c632Sopenharmony_ci      get { return HasOneofUint64 ? (ulong) oneofField_ : 0UL; }
1718ffe3c632Sopenharmony_ci      set {
1719ffe3c632Sopenharmony_ci        oneofField_ = value;
1720ffe3c632Sopenharmony_ci        oneofFieldCase_ = OneofFieldOneofCase.OneofUint64;
1721ffe3c632Sopenharmony_ci      }
1722ffe3c632Sopenharmony_ci    }
1723ffe3c632Sopenharmony_ci    /// <summary>Gets whether the "oneof_uint64" field is set</summary>
1724ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1725ffe3c632Sopenharmony_ci    public bool HasOneofUint64 {
1726ffe3c632Sopenharmony_ci      get { return oneofFieldCase_ == OneofFieldOneofCase.OneofUint64; }
1727ffe3c632Sopenharmony_ci    }
1728ffe3c632Sopenharmony_ci    /// <summary> Clears the value of the oneof if it's currently set to "oneof_uint64" </summary>
1729ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1730ffe3c632Sopenharmony_ci    public void ClearOneofUint64() {
1731ffe3c632Sopenharmony_ci      if (HasOneofUint64) {
1732ffe3c632Sopenharmony_ci        ClearOneofField();
1733ffe3c632Sopenharmony_ci      }
1734ffe3c632Sopenharmony_ci    }
1735ffe3c632Sopenharmony_ci
1736ffe3c632Sopenharmony_ci    /// <summary>Field number for the "oneof_float" field.</summary>
1737ffe3c632Sopenharmony_ci    public const int OneofFloatFieldNumber = 117;
1738ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1739ffe3c632Sopenharmony_ci    public float OneofFloat {
1740ffe3c632Sopenharmony_ci      get { return HasOneofFloat ? (float) oneofField_ : 0F; }
1741ffe3c632Sopenharmony_ci      set {
1742ffe3c632Sopenharmony_ci        oneofField_ = value;
1743ffe3c632Sopenharmony_ci        oneofFieldCase_ = OneofFieldOneofCase.OneofFloat;
1744ffe3c632Sopenharmony_ci      }
1745ffe3c632Sopenharmony_ci    }
1746ffe3c632Sopenharmony_ci    /// <summary>Gets whether the "oneof_float" field is set</summary>
1747ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1748ffe3c632Sopenharmony_ci    public bool HasOneofFloat {
1749ffe3c632Sopenharmony_ci      get { return oneofFieldCase_ == OneofFieldOneofCase.OneofFloat; }
1750ffe3c632Sopenharmony_ci    }
1751ffe3c632Sopenharmony_ci    /// <summary> Clears the value of the oneof if it's currently set to "oneof_float" </summary>
1752ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1753ffe3c632Sopenharmony_ci    public void ClearOneofFloat() {
1754ffe3c632Sopenharmony_ci      if (HasOneofFloat) {
1755ffe3c632Sopenharmony_ci        ClearOneofField();
1756ffe3c632Sopenharmony_ci      }
1757ffe3c632Sopenharmony_ci    }
1758ffe3c632Sopenharmony_ci
1759ffe3c632Sopenharmony_ci    /// <summary>Field number for the "oneof_double" field.</summary>
1760ffe3c632Sopenharmony_ci    public const int OneofDoubleFieldNumber = 118;
1761ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1762ffe3c632Sopenharmony_ci    public double OneofDouble {
1763ffe3c632Sopenharmony_ci      get { return HasOneofDouble ? (double) oneofField_ : 0D; }
1764ffe3c632Sopenharmony_ci      set {
1765ffe3c632Sopenharmony_ci        oneofField_ = value;
1766ffe3c632Sopenharmony_ci        oneofFieldCase_ = OneofFieldOneofCase.OneofDouble;
1767ffe3c632Sopenharmony_ci      }
1768ffe3c632Sopenharmony_ci    }
1769ffe3c632Sopenharmony_ci    /// <summary>Gets whether the "oneof_double" field is set</summary>
1770ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1771ffe3c632Sopenharmony_ci    public bool HasOneofDouble {
1772ffe3c632Sopenharmony_ci      get { return oneofFieldCase_ == OneofFieldOneofCase.OneofDouble; }
1773ffe3c632Sopenharmony_ci    }
1774ffe3c632Sopenharmony_ci    /// <summary> Clears the value of the oneof if it's currently set to "oneof_double" </summary>
1775ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1776ffe3c632Sopenharmony_ci    public void ClearOneofDouble() {
1777ffe3c632Sopenharmony_ci      if (HasOneofDouble) {
1778ffe3c632Sopenharmony_ci        ClearOneofField();
1779ffe3c632Sopenharmony_ci      }
1780ffe3c632Sopenharmony_ci    }
1781ffe3c632Sopenharmony_ci
1782ffe3c632Sopenharmony_ci    /// <summary>Field number for the "oneof_enum" field.</summary>
1783ffe3c632Sopenharmony_ci    public const int OneofEnumFieldNumber = 119;
1784ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1785ffe3c632Sopenharmony_ci    public global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedEnum OneofEnum {
1786ffe3c632Sopenharmony_ci      get { return HasOneofEnum ? (global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedEnum) oneofField_ : global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedEnum.Foo; }
1787ffe3c632Sopenharmony_ci      set {
1788ffe3c632Sopenharmony_ci        oneofField_ = value;
1789ffe3c632Sopenharmony_ci        oneofFieldCase_ = OneofFieldOneofCase.OneofEnum;
1790ffe3c632Sopenharmony_ci      }
1791ffe3c632Sopenharmony_ci    }
1792ffe3c632Sopenharmony_ci    /// <summary>Gets whether the "oneof_enum" field is set</summary>
1793ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1794ffe3c632Sopenharmony_ci    public bool HasOneofEnum {
1795ffe3c632Sopenharmony_ci      get { return oneofFieldCase_ == OneofFieldOneofCase.OneofEnum; }
1796ffe3c632Sopenharmony_ci    }
1797ffe3c632Sopenharmony_ci    /// <summary> Clears the value of the oneof if it's currently set to "oneof_enum" </summary>
1798ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1799ffe3c632Sopenharmony_ci    public void ClearOneofEnum() {
1800ffe3c632Sopenharmony_ci      if (HasOneofEnum) {
1801ffe3c632Sopenharmony_ci        ClearOneofField();
1802ffe3c632Sopenharmony_ci      }
1803ffe3c632Sopenharmony_ci    }
1804ffe3c632Sopenharmony_ci
1805ffe3c632Sopenharmony_ci    /// <summary>Field number for the "data" field.</summary>
1806ffe3c632Sopenharmony_ci    public const int DataFieldNumber = 201;
1807ffe3c632Sopenharmony_ci    private global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.Data data_;
1808ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1809ffe3c632Sopenharmony_ci    public global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.Data Data {
1810ffe3c632Sopenharmony_ci      get { return data_; }
1811ffe3c632Sopenharmony_ci      set {
1812ffe3c632Sopenharmony_ci        data_ = value;
1813ffe3c632Sopenharmony_ci      }
1814ffe3c632Sopenharmony_ci    }
1815ffe3c632Sopenharmony_ci    /// <summary>Gets whether the data field is set</summary>
1816ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1817ffe3c632Sopenharmony_ci    public bool HasData {
1818ffe3c632Sopenharmony_ci      get { return data_ != null; }
1819ffe3c632Sopenharmony_ci    }
1820ffe3c632Sopenharmony_ci    /// <summary>Clears the value of the data field</summary>
1821ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1822ffe3c632Sopenharmony_ci    public void ClearData() {
1823ffe3c632Sopenharmony_ci      data_ = null;
1824ffe3c632Sopenharmony_ci    }
1825ffe3c632Sopenharmony_ci
1826ffe3c632Sopenharmony_ci    /// <summary>Field number for the "fieldname1" field.</summary>
1827ffe3c632Sopenharmony_ci    public const int Fieldname1FieldNumber = 401;
1828ffe3c632Sopenharmony_ci    private readonly static int Fieldname1DefaultValue = 0;
1829ffe3c632Sopenharmony_ci
1830ffe3c632Sopenharmony_ci    private int fieldname1_;
1831ffe3c632Sopenharmony_ci    /// <summary>
1832ffe3c632Sopenharmony_ci    /// Test field-name-to-JSON-name convention.
1833ffe3c632Sopenharmony_ci    /// (protobuf says names can be any valid C/C++ identifier.)
1834ffe3c632Sopenharmony_ci    /// </summary>
1835ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1836ffe3c632Sopenharmony_ci    public int Fieldname1 {
1837ffe3c632Sopenharmony_ci      get { if ((_hasBits0 & 32768) != 0) { return fieldname1_; } else { return Fieldname1DefaultValue; } }
1838ffe3c632Sopenharmony_ci      set {
1839ffe3c632Sopenharmony_ci        _hasBits0 |= 32768;
1840ffe3c632Sopenharmony_ci        fieldname1_ = value;
1841ffe3c632Sopenharmony_ci      }
1842ffe3c632Sopenharmony_ci    }
1843ffe3c632Sopenharmony_ci    /// <summary>Gets whether the "fieldname1" field is set</summary>
1844ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1845ffe3c632Sopenharmony_ci    public bool HasFieldname1 {
1846ffe3c632Sopenharmony_ci      get { return (_hasBits0 & 32768) != 0; }
1847ffe3c632Sopenharmony_ci    }
1848ffe3c632Sopenharmony_ci    /// <summary>Clears the value of the "fieldname1" field</summary>
1849ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1850ffe3c632Sopenharmony_ci    public void ClearFieldname1() {
1851ffe3c632Sopenharmony_ci      _hasBits0 &= ~32768;
1852ffe3c632Sopenharmony_ci    }
1853ffe3c632Sopenharmony_ci
1854ffe3c632Sopenharmony_ci    /// <summary>Field number for the "field_name2" field.</summary>
1855ffe3c632Sopenharmony_ci    public const int FieldName2FieldNumber = 402;
1856ffe3c632Sopenharmony_ci    private readonly static int FieldName2DefaultValue = 0;
1857ffe3c632Sopenharmony_ci
1858ffe3c632Sopenharmony_ci    private int fieldName2_;
1859ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1860ffe3c632Sopenharmony_ci    public int FieldName2 {
1861ffe3c632Sopenharmony_ci      get { if ((_hasBits0 & 65536) != 0) { return fieldName2_; } else { return FieldName2DefaultValue; } }
1862ffe3c632Sopenharmony_ci      set {
1863ffe3c632Sopenharmony_ci        _hasBits0 |= 65536;
1864ffe3c632Sopenharmony_ci        fieldName2_ = value;
1865ffe3c632Sopenharmony_ci      }
1866ffe3c632Sopenharmony_ci    }
1867ffe3c632Sopenharmony_ci    /// <summary>Gets whether the "field_name2" field is set</summary>
1868ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1869ffe3c632Sopenharmony_ci    public bool HasFieldName2 {
1870ffe3c632Sopenharmony_ci      get { return (_hasBits0 & 65536) != 0; }
1871ffe3c632Sopenharmony_ci    }
1872ffe3c632Sopenharmony_ci    /// <summary>Clears the value of the "field_name2" field</summary>
1873ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1874ffe3c632Sopenharmony_ci    public void ClearFieldName2() {
1875ffe3c632Sopenharmony_ci      _hasBits0 &= ~65536;
1876ffe3c632Sopenharmony_ci    }
1877ffe3c632Sopenharmony_ci
1878ffe3c632Sopenharmony_ci    /// <summary>Field number for the "_field_name3" field.</summary>
1879ffe3c632Sopenharmony_ci    public const int FieldName3FieldNumber = 403;
1880ffe3c632Sopenharmony_ci    private readonly static int FieldName3DefaultValue = 0;
1881ffe3c632Sopenharmony_ci
1882ffe3c632Sopenharmony_ci    private int FieldName3_;
1883ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1884ffe3c632Sopenharmony_ci    public int FieldName3 {
1885ffe3c632Sopenharmony_ci      get { if ((_hasBits0 & 131072) != 0) { return FieldName3_; } else { return FieldName3DefaultValue; } }
1886ffe3c632Sopenharmony_ci      set {
1887ffe3c632Sopenharmony_ci        _hasBits0 |= 131072;
1888ffe3c632Sopenharmony_ci        FieldName3_ = value;
1889ffe3c632Sopenharmony_ci      }
1890ffe3c632Sopenharmony_ci    }
1891ffe3c632Sopenharmony_ci    /// <summary>Gets whether the "_field_name3" field is set</summary>
1892ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1893ffe3c632Sopenharmony_ci    public bool HasFieldName3 {
1894ffe3c632Sopenharmony_ci      get { return (_hasBits0 & 131072) != 0; }
1895ffe3c632Sopenharmony_ci    }
1896ffe3c632Sopenharmony_ci    /// <summary>Clears the value of the "_field_name3" field</summary>
1897ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1898ffe3c632Sopenharmony_ci    public void ClearFieldName3() {
1899ffe3c632Sopenharmony_ci      _hasBits0 &= ~131072;
1900ffe3c632Sopenharmony_ci    }
1901ffe3c632Sopenharmony_ci
1902ffe3c632Sopenharmony_ci    /// <summary>Field number for the "field__name4_" field.</summary>
1903ffe3c632Sopenharmony_ci    public const int FieldName4FieldNumber = 404;
1904ffe3c632Sopenharmony_ci    private readonly static int FieldName4DefaultValue = 0;
1905ffe3c632Sopenharmony_ci
1906ffe3c632Sopenharmony_ci    private int fieldName4_;
1907ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1908ffe3c632Sopenharmony_ci    public int FieldName4 {
1909ffe3c632Sopenharmony_ci      get { if ((_hasBits0 & 262144) != 0) { return fieldName4_; } else { return FieldName4DefaultValue; } }
1910ffe3c632Sopenharmony_ci      set {
1911ffe3c632Sopenharmony_ci        _hasBits0 |= 262144;
1912ffe3c632Sopenharmony_ci        fieldName4_ = value;
1913ffe3c632Sopenharmony_ci      }
1914ffe3c632Sopenharmony_ci    }
1915ffe3c632Sopenharmony_ci    /// <summary>Gets whether the "field__name4_" field is set</summary>
1916ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1917ffe3c632Sopenharmony_ci    public bool HasFieldName4 {
1918ffe3c632Sopenharmony_ci      get { return (_hasBits0 & 262144) != 0; }
1919ffe3c632Sopenharmony_ci    }
1920ffe3c632Sopenharmony_ci    /// <summary>Clears the value of the "field__name4_" field</summary>
1921ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1922ffe3c632Sopenharmony_ci    public void ClearFieldName4() {
1923ffe3c632Sopenharmony_ci      _hasBits0 &= ~262144;
1924ffe3c632Sopenharmony_ci    }
1925ffe3c632Sopenharmony_ci
1926ffe3c632Sopenharmony_ci    /// <summary>Field number for the "field0name5" field.</summary>
1927ffe3c632Sopenharmony_ci    public const int Field0Name5FieldNumber = 405;
1928ffe3c632Sopenharmony_ci    private readonly static int Field0Name5DefaultValue = 0;
1929ffe3c632Sopenharmony_ci
1930ffe3c632Sopenharmony_ci    private int field0Name5_;
1931ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1932ffe3c632Sopenharmony_ci    public int Field0Name5 {
1933ffe3c632Sopenharmony_ci      get { if ((_hasBits0 & 524288) != 0) { return field0Name5_; } else { return Field0Name5DefaultValue; } }
1934ffe3c632Sopenharmony_ci      set {
1935ffe3c632Sopenharmony_ci        _hasBits0 |= 524288;
1936ffe3c632Sopenharmony_ci        field0Name5_ = value;
1937ffe3c632Sopenharmony_ci      }
1938ffe3c632Sopenharmony_ci    }
1939ffe3c632Sopenharmony_ci    /// <summary>Gets whether the "field0name5" field is set</summary>
1940ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1941ffe3c632Sopenharmony_ci    public bool HasField0Name5 {
1942ffe3c632Sopenharmony_ci      get { return (_hasBits0 & 524288) != 0; }
1943ffe3c632Sopenharmony_ci    }
1944ffe3c632Sopenharmony_ci    /// <summary>Clears the value of the "field0name5" field</summary>
1945ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1946ffe3c632Sopenharmony_ci    public void ClearField0Name5() {
1947ffe3c632Sopenharmony_ci      _hasBits0 &= ~524288;
1948ffe3c632Sopenharmony_ci    }
1949ffe3c632Sopenharmony_ci
1950ffe3c632Sopenharmony_ci    /// <summary>Field number for the "field_0_name6" field.</summary>
1951ffe3c632Sopenharmony_ci    public const int Field0Name6FieldNumber = 406;
1952ffe3c632Sopenharmony_ci    private readonly static int Field0Name6DefaultValue = 0;
1953ffe3c632Sopenharmony_ci
1954ffe3c632Sopenharmony_ci    private int field0Name6_;
1955ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1956ffe3c632Sopenharmony_ci    public int Field0Name6 {
1957ffe3c632Sopenharmony_ci      get { if ((_hasBits0 & 1048576) != 0) { return field0Name6_; } else { return Field0Name6DefaultValue; } }
1958ffe3c632Sopenharmony_ci      set {
1959ffe3c632Sopenharmony_ci        _hasBits0 |= 1048576;
1960ffe3c632Sopenharmony_ci        field0Name6_ = value;
1961ffe3c632Sopenharmony_ci      }
1962ffe3c632Sopenharmony_ci    }
1963ffe3c632Sopenharmony_ci    /// <summary>Gets whether the "field_0_name6" field is set</summary>
1964ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1965ffe3c632Sopenharmony_ci    public bool HasField0Name6 {
1966ffe3c632Sopenharmony_ci      get { return (_hasBits0 & 1048576) != 0; }
1967ffe3c632Sopenharmony_ci    }
1968ffe3c632Sopenharmony_ci    /// <summary>Clears the value of the "field_0_name6" field</summary>
1969ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1970ffe3c632Sopenharmony_ci    public void ClearField0Name6() {
1971ffe3c632Sopenharmony_ci      _hasBits0 &= ~1048576;
1972ffe3c632Sopenharmony_ci    }
1973ffe3c632Sopenharmony_ci
1974ffe3c632Sopenharmony_ci    /// <summary>Field number for the "fieldName7" field.</summary>
1975ffe3c632Sopenharmony_ci    public const int FieldName7FieldNumber = 407;
1976ffe3c632Sopenharmony_ci    private readonly static int FieldName7DefaultValue = 0;
1977ffe3c632Sopenharmony_ci
1978ffe3c632Sopenharmony_ci    private int fieldName7_;
1979ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1980ffe3c632Sopenharmony_ci    public int FieldName7 {
1981ffe3c632Sopenharmony_ci      get { if ((_hasBits0 & 2097152) != 0) { return fieldName7_; } else { return FieldName7DefaultValue; } }
1982ffe3c632Sopenharmony_ci      set {
1983ffe3c632Sopenharmony_ci        _hasBits0 |= 2097152;
1984ffe3c632Sopenharmony_ci        fieldName7_ = value;
1985ffe3c632Sopenharmony_ci      }
1986ffe3c632Sopenharmony_ci    }
1987ffe3c632Sopenharmony_ci    /// <summary>Gets whether the "fieldName7" field is set</summary>
1988ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1989ffe3c632Sopenharmony_ci    public bool HasFieldName7 {
1990ffe3c632Sopenharmony_ci      get { return (_hasBits0 & 2097152) != 0; }
1991ffe3c632Sopenharmony_ci    }
1992ffe3c632Sopenharmony_ci    /// <summary>Clears the value of the "fieldName7" field</summary>
1993ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1994ffe3c632Sopenharmony_ci    public void ClearFieldName7() {
1995ffe3c632Sopenharmony_ci      _hasBits0 &= ~2097152;
1996ffe3c632Sopenharmony_ci    }
1997ffe3c632Sopenharmony_ci
1998ffe3c632Sopenharmony_ci    /// <summary>Field number for the "FieldName8" field.</summary>
1999ffe3c632Sopenharmony_ci    public const int FieldName8FieldNumber = 408;
2000ffe3c632Sopenharmony_ci    private readonly static int FieldName8DefaultValue = 0;
2001ffe3c632Sopenharmony_ci
2002ffe3c632Sopenharmony_ci    private int fieldName8_;
2003ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2004ffe3c632Sopenharmony_ci    public int FieldName8 {
2005ffe3c632Sopenharmony_ci      get { if ((_hasBits0 & 4194304) != 0) { return fieldName8_; } else { return FieldName8DefaultValue; } }
2006ffe3c632Sopenharmony_ci      set {
2007ffe3c632Sopenharmony_ci        _hasBits0 |= 4194304;
2008ffe3c632Sopenharmony_ci        fieldName8_ = value;
2009ffe3c632Sopenharmony_ci      }
2010ffe3c632Sopenharmony_ci    }
2011ffe3c632Sopenharmony_ci    /// <summary>Gets whether the "FieldName8" field is set</summary>
2012ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2013ffe3c632Sopenharmony_ci    public bool HasFieldName8 {
2014ffe3c632Sopenharmony_ci      get { return (_hasBits0 & 4194304) != 0; }
2015ffe3c632Sopenharmony_ci    }
2016ffe3c632Sopenharmony_ci    /// <summary>Clears the value of the "FieldName8" field</summary>
2017ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2018ffe3c632Sopenharmony_ci    public void ClearFieldName8() {
2019ffe3c632Sopenharmony_ci      _hasBits0 &= ~4194304;
2020ffe3c632Sopenharmony_ci    }
2021ffe3c632Sopenharmony_ci
2022ffe3c632Sopenharmony_ci    /// <summary>Field number for the "field_Name9" field.</summary>
2023ffe3c632Sopenharmony_ci    public const int FieldName9FieldNumber = 409;
2024ffe3c632Sopenharmony_ci    private readonly static int FieldName9DefaultValue = 0;
2025ffe3c632Sopenharmony_ci
2026ffe3c632Sopenharmony_ci    private int fieldName9_;
2027ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2028ffe3c632Sopenharmony_ci    public int FieldName9 {
2029ffe3c632Sopenharmony_ci      get { if ((_hasBits0 & 8388608) != 0) { return fieldName9_; } else { return FieldName9DefaultValue; } }
2030ffe3c632Sopenharmony_ci      set {
2031ffe3c632Sopenharmony_ci        _hasBits0 |= 8388608;
2032ffe3c632Sopenharmony_ci        fieldName9_ = value;
2033ffe3c632Sopenharmony_ci      }
2034ffe3c632Sopenharmony_ci    }
2035ffe3c632Sopenharmony_ci    /// <summary>Gets whether the "field_Name9" field is set</summary>
2036ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2037ffe3c632Sopenharmony_ci    public bool HasFieldName9 {
2038ffe3c632Sopenharmony_ci      get { return (_hasBits0 & 8388608) != 0; }
2039ffe3c632Sopenharmony_ci    }
2040ffe3c632Sopenharmony_ci    /// <summary>Clears the value of the "field_Name9" field</summary>
2041ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2042ffe3c632Sopenharmony_ci    public void ClearFieldName9() {
2043ffe3c632Sopenharmony_ci      _hasBits0 &= ~8388608;
2044ffe3c632Sopenharmony_ci    }
2045ffe3c632Sopenharmony_ci
2046ffe3c632Sopenharmony_ci    /// <summary>Field number for the "Field_Name10" field.</summary>
2047ffe3c632Sopenharmony_ci    public const int FieldName10FieldNumber = 410;
2048ffe3c632Sopenharmony_ci    private readonly static int FieldName10DefaultValue = 0;
2049ffe3c632Sopenharmony_ci
2050ffe3c632Sopenharmony_ci    private int fieldName10_;
2051ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2052ffe3c632Sopenharmony_ci    public int FieldName10 {
2053ffe3c632Sopenharmony_ci      get { if ((_hasBits0 & 16777216) != 0) { return fieldName10_; } else { return FieldName10DefaultValue; } }
2054ffe3c632Sopenharmony_ci      set {
2055ffe3c632Sopenharmony_ci        _hasBits0 |= 16777216;
2056ffe3c632Sopenharmony_ci        fieldName10_ = value;
2057ffe3c632Sopenharmony_ci      }
2058ffe3c632Sopenharmony_ci    }
2059ffe3c632Sopenharmony_ci    /// <summary>Gets whether the "Field_Name10" field is set</summary>
2060ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2061ffe3c632Sopenharmony_ci    public bool HasFieldName10 {
2062ffe3c632Sopenharmony_ci      get { return (_hasBits0 & 16777216) != 0; }
2063ffe3c632Sopenharmony_ci    }
2064ffe3c632Sopenharmony_ci    /// <summary>Clears the value of the "Field_Name10" field</summary>
2065ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2066ffe3c632Sopenharmony_ci    public void ClearFieldName10() {
2067ffe3c632Sopenharmony_ci      _hasBits0 &= ~16777216;
2068ffe3c632Sopenharmony_ci    }
2069ffe3c632Sopenharmony_ci
2070ffe3c632Sopenharmony_ci    /// <summary>Field number for the "FIELD_NAME11" field.</summary>
2071ffe3c632Sopenharmony_ci    public const int FIELDNAME11FieldNumber = 411;
2072ffe3c632Sopenharmony_ci    private readonly static int FIELDNAME11DefaultValue = 0;
2073ffe3c632Sopenharmony_ci
2074ffe3c632Sopenharmony_ci    private int fIELDNAME11_;
2075ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2076ffe3c632Sopenharmony_ci    public int FIELDNAME11 {
2077ffe3c632Sopenharmony_ci      get { if ((_hasBits0 & 33554432) != 0) { return fIELDNAME11_; } else { return FIELDNAME11DefaultValue; } }
2078ffe3c632Sopenharmony_ci      set {
2079ffe3c632Sopenharmony_ci        _hasBits0 |= 33554432;
2080ffe3c632Sopenharmony_ci        fIELDNAME11_ = value;
2081ffe3c632Sopenharmony_ci      }
2082ffe3c632Sopenharmony_ci    }
2083ffe3c632Sopenharmony_ci    /// <summary>Gets whether the "FIELD_NAME11" field is set</summary>
2084ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2085ffe3c632Sopenharmony_ci    public bool HasFIELDNAME11 {
2086ffe3c632Sopenharmony_ci      get { return (_hasBits0 & 33554432) != 0; }
2087ffe3c632Sopenharmony_ci    }
2088ffe3c632Sopenharmony_ci    /// <summary>Clears the value of the "FIELD_NAME11" field</summary>
2089ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2090ffe3c632Sopenharmony_ci    public void ClearFIELDNAME11() {
2091ffe3c632Sopenharmony_ci      _hasBits0 &= ~33554432;
2092ffe3c632Sopenharmony_ci    }
2093ffe3c632Sopenharmony_ci
2094ffe3c632Sopenharmony_ci    /// <summary>Field number for the "FIELD_name12" field.</summary>
2095ffe3c632Sopenharmony_ci    public const int FIELDName12FieldNumber = 412;
2096ffe3c632Sopenharmony_ci    private readonly static int FIELDName12DefaultValue = 0;
2097ffe3c632Sopenharmony_ci
2098ffe3c632Sopenharmony_ci    private int fIELDName12_;
2099ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2100ffe3c632Sopenharmony_ci    public int FIELDName12 {
2101ffe3c632Sopenharmony_ci      get { if ((_hasBits0 & 67108864) != 0) { return fIELDName12_; } else { return FIELDName12DefaultValue; } }
2102ffe3c632Sopenharmony_ci      set {
2103ffe3c632Sopenharmony_ci        _hasBits0 |= 67108864;
2104ffe3c632Sopenharmony_ci        fIELDName12_ = value;
2105ffe3c632Sopenharmony_ci      }
2106ffe3c632Sopenharmony_ci    }
2107ffe3c632Sopenharmony_ci    /// <summary>Gets whether the "FIELD_name12" field is set</summary>
2108ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2109ffe3c632Sopenharmony_ci    public bool HasFIELDName12 {
2110ffe3c632Sopenharmony_ci      get { return (_hasBits0 & 67108864) != 0; }
2111ffe3c632Sopenharmony_ci    }
2112ffe3c632Sopenharmony_ci    /// <summary>Clears the value of the "FIELD_name12" field</summary>
2113ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2114ffe3c632Sopenharmony_ci    public void ClearFIELDName12() {
2115ffe3c632Sopenharmony_ci      _hasBits0 &= ~67108864;
2116ffe3c632Sopenharmony_ci    }
2117ffe3c632Sopenharmony_ci
2118ffe3c632Sopenharmony_ci    /// <summary>Field number for the "__field_name13" field.</summary>
2119ffe3c632Sopenharmony_ci    public const int FieldName13FieldNumber = 413;
2120ffe3c632Sopenharmony_ci    private readonly static int FieldName13DefaultValue = 0;
2121ffe3c632Sopenharmony_ci
2122ffe3c632Sopenharmony_ci    private int FieldName13_;
2123ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2124ffe3c632Sopenharmony_ci    public int FieldName13 {
2125ffe3c632Sopenharmony_ci      get { if ((_hasBits0 & 134217728) != 0) { return FieldName13_; } else { return FieldName13DefaultValue; } }
2126ffe3c632Sopenharmony_ci      set {
2127ffe3c632Sopenharmony_ci        _hasBits0 |= 134217728;
2128ffe3c632Sopenharmony_ci        FieldName13_ = value;
2129ffe3c632Sopenharmony_ci      }
2130ffe3c632Sopenharmony_ci    }
2131ffe3c632Sopenharmony_ci    /// <summary>Gets whether the "__field_name13" field is set</summary>
2132ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2133ffe3c632Sopenharmony_ci    public bool HasFieldName13 {
2134ffe3c632Sopenharmony_ci      get { return (_hasBits0 & 134217728) != 0; }
2135ffe3c632Sopenharmony_ci    }
2136ffe3c632Sopenharmony_ci    /// <summary>Clears the value of the "__field_name13" field</summary>
2137ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2138ffe3c632Sopenharmony_ci    public void ClearFieldName13() {
2139ffe3c632Sopenharmony_ci      _hasBits0 &= ~134217728;
2140ffe3c632Sopenharmony_ci    }
2141ffe3c632Sopenharmony_ci
2142ffe3c632Sopenharmony_ci    /// <summary>Field number for the "__Field_name14" field.</summary>
2143ffe3c632Sopenharmony_ci    public const int FieldName14FieldNumber = 414;
2144ffe3c632Sopenharmony_ci    private readonly static int FieldName14DefaultValue = 0;
2145ffe3c632Sopenharmony_ci
2146ffe3c632Sopenharmony_ci    private int FieldName14_;
2147ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2148ffe3c632Sopenharmony_ci    public int FieldName14 {
2149ffe3c632Sopenharmony_ci      get { if ((_hasBits0 & 268435456) != 0) { return FieldName14_; } else { return FieldName14DefaultValue; } }
2150ffe3c632Sopenharmony_ci      set {
2151ffe3c632Sopenharmony_ci        _hasBits0 |= 268435456;
2152ffe3c632Sopenharmony_ci        FieldName14_ = value;
2153ffe3c632Sopenharmony_ci      }
2154ffe3c632Sopenharmony_ci    }
2155ffe3c632Sopenharmony_ci    /// <summary>Gets whether the "__Field_name14" field is set</summary>
2156ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2157ffe3c632Sopenharmony_ci    public bool HasFieldName14 {
2158ffe3c632Sopenharmony_ci      get { return (_hasBits0 & 268435456) != 0; }
2159ffe3c632Sopenharmony_ci    }
2160ffe3c632Sopenharmony_ci    /// <summary>Clears the value of the "__Field_name14" field</summary>
2161ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2162ffe3c632Sopenharmony_ci    public void ClearFieldName14() {
2163ffe3c632Sopenharmony_ci      _hasBits0 &= ~268435456;
2164ffe3c632Sopenharmony_ci    }
2165ffe3c632Sopenharmony_ci
2166ffe3c632Sopenharmony_ci    /// <summary>Field number for the "field__name15" field.</summary>
2167ffe3c632Sopenharmony_ci    public const int FieldName15FieldNumber = 415;
2168ffe3c632Sopenharmony_ci    private readonly static int FieldName15DefaultValue = 0;
2169ffe3c632Sopenharmony_ci
2170ffe3c632Sopenharmony_ci    private int fieldName15_;
2171ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2172ffe3c632Sopenharmony_ci    public int FieldName15 {
2173ffe3c632Sopenharmony_ci      get { if ((_hasBits0 & 536870912) != 0) { return fieldName15_; } else { return FieldName15DefaultValue; } }
2174ffe3c632Sopenharmony_ci      set {
2175ffe3c632Sopenharmony_ci        _hasBits0 |= 536870912;
2176ffe3c632Sopenharmony_ci        fieldName15_ = value;
2177ffe3c632Sopenharmony_ci      }
2178ffe3c632Sopenharmony_ci    }
2179ffe3c632Sopenharmony_ci    /// <summary>Gets whether the "field__name15" field is set</summary>
2180ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2181ffe3c632Sopenharmony_ci    public bool HasFieldName15 {
2182ffe3c632Sopenharmony_ci      get { return (_hasBits0 & 536870912) != 0; }
2183ffe3c632Sopenharmony_ci    }
2184ffe3c632Sopenharmony_ci    /// <summary>Clears the value of the "field__name15" field</summary>
2185ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2186ffe3c632Sopenharmony_ci    public void ClearFieldName15() {
2187ffe3c632Sopenharmony_ci      _hasBits0 &= ~536870912;
2188ffe3c632Sopenharmony_ci    }
2189ffe3c632Sopenharmony_ci
2190ffe3c632Sopenharmony_ci    /// <summary>Field number for the "field__Name16" field.</summary>
2191ffe3c632Sopenharmony_ci    public const int FieldName16FieldNumber = 416;
2192ffe3c632Sopenharmony_ci    private readonly static int FieldName16DefaultValue = 0;
2193ffe3c632Sopenharmony_ci
2194ffe3c632Sopenharmony_ci    private int fieldName16_;
2195ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2196ffe3c632Sopenharmony_ci    public int FieldName16 {
2197ffe3c632Sopenharmony_ci      get { if ((_hasBits0 & 1073741824) != 0) { return fieldName16_; } else { return FieldName16DefaultValue; } }
2198ffe3c632Sopenharmony_ci      set {
2199ffe3c632Sopenharmony_ci        _hasBits0 |= 1073741824;
2200ffe3c632Sopenharmony_ci        fieldName16_ = value;
2201ffe3c632Sopenharmony_ci      }
2202ffe3c632Sopenharmony_ci    }
2203ffe3c632Sopenharmony_ci    /// <summary>Gets whether the "field__Name16" field is set</summary>
2204ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2205ffe3c632Sopenharmony_ci    public bool HasFieldName16 {
2206ffe3c632Sopenharmony_ci      get { return (_hasBits0 & 1073741824) != 0; }
2207ffe3c632Sopenharmony_ci    }
2208ffe3c632Sopenharmony_ci    /// <summary>Clears the value of the "field__Name16" field</summary>
2209ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2210ffe3c632Sopenharmony_ci    public void ClearFieldName16() {
2211ffe3c632Sopenharmony_ci      _hasBits0 &= ~1073741824;
2212ffe3c632Sopenharmony_ci    }
2213ffe3c632Sopenharmony_ci
2214ffe3c632Sopenharmony_ci    /// <summary>Field number for the "field_name17__" field.</summary>
2215ffe3c632Sopenharmony_ci    public const int FieldName17FieldNumber = 417;
2216ffe3c632Sopenharmony_ci    private readonly static int FieldName17DefaultValue = 0;
2217ffe3c632Sopenharmony_ci
2218ffe3c632Sopenharmony_ci    private int fieldName17_;
2219ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2220ffe3c632Sopenharmony_ci    public int FieldName17 {
2221ffe3c632Sopenharmony_ci      get { if ((_hasBits0 & -2147483648) != 0) { return fieldName17_; } else { return FieldName17DefaultValue; } }
2222ffe3c632Sopenharmony_ci      set {
2223ffe3c632Sopenharmony_ci        _hasBits0 |= -2147483648;
2224ffe3c632Sopenharmony_ci        fieldName17_ = value;
2225ffe3c632Sopenharmony_ci      }
2226ffe3c632Sopenharmony_ci    }
2227ffe3c632Sopenharmony_ci    /// <summary>Gets whether the "field_name17__" field is set</summary>
2228ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2229ffe3c632Sopenharmony_ci    public bool HasFieldName17 {
2230ffe3c632Sopenharmony_ci      get { return (_hasBits0 & -2147483648) != 0; }
2231ffe3c632Sopenharmony_ci    }
2232ffe3c632Sopenharmony_ci    /// <summary>Clears the value of the "field_name17__" field</summary>
2233ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2234ffe3c632Sopenharmony_ci    public void ClearFieldName17() {
2235ffe3c632Sopenharmony_ci      _hasBits0 &= ~-2147483648;
2236ffe3c632Sopenharmony_ci    }
2237ffe3c632Sopenharmony_ci
2238ffe3c632Sopenharmony_ci    /// <summary>Field number for the "Field_name18__" field.</summary>
2239ffe3c632Sopenharmony_ci    public const int FieldName18FieldNumber = 418;
2240ffe3c632Sopenharmony_ci    private readonly static int FieldName18DefaultValue = 0;
2241ffe3c632Sopenharmony_ci
2242ffe3c632Sopenharmony_ci    private int fieldName18_;
2243ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2244ffe3c632Sopenharmony_ci    public int FieldName18 {
2245ffe3c632Sopenharmony_ci      get { if ((_hasBits1 & 1) != 0) { return fieldName18_; } else { return FieldName18DefaultValue; } }
2246ffe3c632Sopenharmony_ci      set {
2247ffe3c632Sopenharmony_ci        _hasBits1 |= 1;
2248ffe3c632Sopenharmony_ci        fieldName18_ = value;
2249ffe3c632Sopenharmony_ci      }
2250ffe3c632Sopenharmony_ci    }
2251ffe3c632Sopenharmony_ci    /// <summary>Gets whether the "Field_name18__" field is set</summary>
2252ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2253ffe3c632Sopenharmony_ci    public bool HasFieldName18 {
2254ffe3c632Sopenharmony_ci      get { return (_hasBits1 & 1) != 0; }
2255ffe3c632Sopenharmony_ci    }
2256ffe3c632Sopenharmony_ci    /// <summary>Clears the value of the "Field_name18__" field</summary>
2257ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2258ffe3c632Sopenharmony_ci    public void ClearFieldName18() {
2259ffe3c632Sopenharmony_ci      _hasBits1 &= ~1;
2260ffe3c632Sopenharmony_ci    }
2261ffe3c632Sopenharmony_ci
2262ffe3c632Sopenharmony_ci    private object oneofField_;
2263ffe3c632Sopenharmony_ci    /// <summary>Enum of possible cases for the "oneof_field" oneof.</summary>
2264ffe3c632Sopenharmony_ci    public enum OneofFieldOneofCase {
2265ffe3c632Sopenharmony_ci      None = 0,
2266ffe3c632Sopenharmony_ci      OneofUint32 = 111,
2267ffe3c632Sopenharmony_ci      OneofNestedMessage = 112,
2268ffe3c632Sopenharmony_ci      OneofString = 113,
2269ffe3c632Sopenharmony_ci      OneofBytes = 114,
2270ffe3c632Sopenharmony_ci      OneofBool = 115,
2271ffe3c632Sopenharmony_ci      OneofUint64 = 116,
2272ffe3c632Sopenharmony_ci      OneofFloat = 117,
2273ffe3c632Sopenharmony_ci      OneofDouble = 118,
2274ffe3c632Sopenharmony_ci      OneofEnum = 119,
2275ffe3c632Sopenharmony_ci    }
2276ffe3c632Sopenharmony_ci    private OneofFieldOneofCase oneofFieldCase_ = OneofFieldOneofCase.None;
2277ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2278ffe3c632Sopenharmony_ci    public OneofFieldOneofCase OneofFieldCase {
2279ffe3c632Sopenharmony_ci      get { return oneofFieldCase_; }
2280ffe3c632Sopenharmony_ci    }
2281ffe3c632Sopenharmony_ci
2282ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2283ffe3c632Sopenharmony_ci    public void ClearOneofField() {
2284ffe3c632Sopenharmony_ci      oneofFieldCase_ = OneofFieldOneofCase.None;
2285ffe3c632Sopenharmony_ci      oneofField_ = null;
2286ffe3c632Sopenharmony_ci    }
2287ffe3c632Sopenharmony_ci
2288ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2289ffe3c632Sopenharmony_ci    public override bool Equals(object other) {
2290ffe3c632Sopenharmony_ci      return Equals(other as TestAllTypesProto2);
2291ffe3c632Sopenharmony_ci    }
2292ffe3c632Sopenharmony_ci
2293ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2294ffe3c632Sopenharmony_ci    public bool Equals(TestAllTypesProto2 other) {
2295ffe3c632Sopenharmony_ci      if (ReferenceEquals(other, null)) {
2296ffe3c632Sopenharmony_ci        return false;
2297ffe3c632Sopenharmony_ci      }
2298ffe3c632Sopenharmony_ci      if (ReferenceEquals(other, this)) {
2299ffe3c632Sopenharmony_ci        return true;
2300ffe3c632Sopenharmony_ci      }
2301ffe3c632Sopenharmony_ci      if (OptionalInt32 != other.OptionalInt32) return false;
2302ffe3c632Sopenharmony_ci      if (OptionalInt64 != other.OptionalInt64) return false;
2303ffe3c632Sopenharmony_ci      if (OptionalUint32 != other.OptionalUint32) return false;
2304ffe3c632Sopenharmony_ci      if (OptionalUint64 != other.OptionalUint64) return false;
2305ffe3c632Sopenharmony_ci      if (OptionalSint32 != other.OptionalSint32) return false;
2306ffe3c632Sopenharmony_ci      if (OptionalSint64 != other.OptionalSint64) return false;
2307ffe3c632Sopenharmony_ci      if (OptionalFixed32 != other.OptionalFixed32) return false;
2308ffe3c632Sopenharmony_ci      if (OptionalFixed64 != other.OptionalFixed64) return false;
2309ffe3c632Sopenharmony_ci      if (OptionalSfixed32 != other.OptionalSfixed32) return false;
2310ffe3c632Sopenharmony_ci      if (OptionalSfixed64 != other.OptionalSfixed64) return false;
2311ffe3c632Sopenharmony_ci      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(OptionalFloat, other.OptionalFloat)) return false;
2312ffe3c632Sopenharmony_ci      if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(OptionalDouble, other.OptionalDouble)) return false;
2313ffe3c632Sopenharmony_ci      if (OptionalBool != other.OptionalBool) return false;
2314ffe3c632Sopenharmony_ci      if (OptionalString != other.OptionalString) return false;
2315ffe3c632Sopenharmony_ci      if (OptionalBytes != other.OptionalBytes) return false;
2316ffe3c632Sopenharmony_ci      if (!object.Equals(OptionalNestedMessage, other.OptionalNestedMessage)) return false;
2317ffe3c632Sopenharmony_ci      if (!object.Equals(OptionalForeignMessage, other.OptionalForeignMessage)) return false;
2318ffe3c632Sopenharmony_ci      if (OptionalNestedEnum != other.OptionalNestedEnum) return false;
2319ffe3c632Sopenharmony_ci      if (OptionalForeignEnum != other.OptionalForeignEnum) return false;
2320ffe3c632Sopenharmony_ci      if (OptionalStringPiece != other.OptionalStringPiece) return false;
2321ffe3c632Sopenharmony_ci      if (OptionalCord != other.OptionalCord) return false;
2322ffe3c632Sopenharmony_ci      if (!object.Equals(RecursiveMessage, other.RecursiveMessage)) return false;
2323ffe3c632Sopenharmony_ci      if(!repeatedInt32_.Equals(other.repeatedInt32_)) return false;
2324ffe3c632Sopenharmony_ci      if(!repeatedInt64_.Equals(other.repeatedInt64_)) return false;
2325ffe3c632Sopenharmony_ci      if(!repeatedUint32_.Equals(other.repeatedUint32_)) return false;
2326ffe3c632Sopenharmony_ci      if(!repeatedUint64_.Equals(other.repeatedUint64_)) return false;
2327ffe3c632Sopenharmony_ci      if(!repeatedSint32_.Equals(other.repeatedSint32_)) return false;
2328ffe3c632Sopenharmony_ci      if(!repeatedSint64_.Equals(other.repeatedSint64_)) return false;
2329ffe3c632Sopenharmony_ci      if(!repeatedFixed32_.Equals(other.repeatedFixed32_)) return false;
2330ffe3c632Sopenharmony_ci      if(!repeatedFixed64_.Equals(other.repeatedFixed64_)) return false;
2331ffe3c632Sopenharmony_ci      if(!repeatedSfixed32_.Equals(other.repeatedSfixed32_)) return false;
2332ffe3c632Sopenharmony_ci      if(!repeatedSfixed64_.Equals(other.repeatedSfixed64_)) return false;
2333ffe3c632Sopenharmony_ci      if(!repeatedFloat_.Equals(other.repeatedFloat_)) return false;
2334ffe3c632Sopenharmony_ci      if(!repeatedDouble_.Equals(other.repeatedDouble_)) return false;
2335ffe3c632Sopenharmony_ci      if(!repeatedBool_.Equals(other.repeatedBool_)) return false;
2336ffe3c632Sopenharmony_ci      if(!repeatedString_.Equals(other.repeatedString_)) return false;
2337ffe3c632Sopenharmony_ci      if(!repeatedBytes_.Equals(other.repeatedBytes_)) return false;
2338ffe3c632Sopenharmony_ci      if(!repeatedNestedMessage_.Equals(other.repeatedNestedMessage_)) return false;
2339ffe3c632Sopenharmony_ci      if(!repeatedForeignMessage_.Equals(other.repeatedForeignMessage_)) return false;
2340ffe3c632Sopenharmony_ci      if(!repeatedNestedEnum_.Equals(other.repeatedNestedEnum_)) return false;
2341ffe3c632Sopenharmony_ci      if(!repeatedForeignEnum_.Equals(other.repeatedForeignEnum_)) return false;
2342ffe3c632Sopenharmony_ci      if(!repeatedStringPiece_.Equals(other.repeatedStringPiece_)) return false;
2343ffe3c632Sopenharmony_ci      if(!repeatedCord_.Equals(other.repeatedCord_)) return false;
2344ffe3c632Sopenharmony_ci      if(!packedInt32_.Equals(other.packedInt32_)) return false;
2345ffe3c632Sopenharmony_ci      if(!packedInt64_.Equals(other.packedInt64_)) return false;
2346ffe3c632Sopenharmony_ci      if(!packedUint32_.Equals(other.packedUint32_)) return false;
2347ffe3c632Sopenharmony_ci      if(!packedUint64_.Equals(other.packedUint64_)) return false;
2348ffe3c632Sopenharmony_ci      if(!packedSint32_.Equals(other.packedSint32_)) return false;
2349ffe3c632Sopenharmony_ci      if(!packedSint64_.Equals(other.packedSint64_)) return false;
2350ffe3c632Sopenharmony_ci      if(!packedFixed32_.Equals(other.packedFixed32_)) return false;
2351ffe3c632Sopenharmony_ci      if(!packedFixed64_.Equals(other.packedFixed64_)) return false;
2352ffe3c632Sopenharmony_ci      if(!packedSfixed32_.Equals(other.packedSfixed32_)) return false;
2353ffe3c632Sopenharmony_ci      if(!packedSfixed64_.Equals(other.packedSfixed64_)) return false;
2354ffe3c632Sopenharmony_ci      if(!packedFloat_.Equals(other.packedFloat_)) return false;
2355ffe3c632Sopenharmony_ci      if(!packedDouble_.Equals(other.packedDouble_)) return false;
2356ffe3c632Sopenharmony_ci      if(!packedBool_.Equals(other.packedBool_)) return false;
2357ffe3c632Sopenharmony_ci      if(!packedNestedEnum_.Equals(other.packedNestedEnum_)) return false;
2358ffe3c632Sopenharmony_ci      if(!unpackedInt32_.Equals(other.unpackedInt32_)) return false;
2359ffe3c632Sopenharmony_ci      if(!unpackedInt64_.Equals(other.unpackedInt64_)) return false;
2360ffe3c632Sopenharmony_ci      if(!unpackedUint32_.Equals(other.unpackedUint32_)) return false;
2361ffe3c632Sopenharmony_ci      if(!unpackedUint64_.Equals(other.unpackedUint64_)) return false;
2362ffe3c632Sopenharmony_ci      if(!unpackedSint32_.Equals(other.unpackedSint32_)) return false;
2363ffe3c632Sopenharmony_ci      if(!unpackedSint64_.Equals(other.unpackedSint64_)) return false;
2364ffe3c632Sopenharmony_ci      if(!unpackedFixed32_.Equals(other.unpackedFixed32_)) return false;
2365ffe3c632Sopenharmony_ci      if(!unpackedFixed64_.Equals(other.unpackedFixed64_)) return false;
2366ffe3c632Sopenharmony_ci      if(!unpackedSfixed32_.Equals(other.unpackedSfixed32_)) return false;
2367ffe3c632Sopenharmony_ci      if(!unpackedSfixed64_.Equals(other.unpackedSfixed64_)) return false;
2368ffe3c632Sopenharmony_ci      if(!unpackedFloat_.Equals(other.unpackedFloat_)) return false;
2369ffe3c632Sopenharmony_ci      if(!unpackedDouble_.Equals(other.unpackedDouble_)) return false;
2370ffe3c632Sopenharmony_ci      if(!unpackedBool_.Equals(other.unpackedBool_)) return false;
2371ffe3c632Sopenharmony_ci      if(!unpackedNestedEnum_.Equals(other.unpackedNestedEnum_)) return false;
2372ffe3c632Sopenharmony_ci      if (!MapInt32Int32.Equals(other.MapInt32Int32)) return false;
2373ffe3c632Sopenharmony_ci      if (!MapInt64Int64.Equals(other.MapInt64Int64)) return false;
2374ffe3c632Sopenharmony_ci      if (!MapUint32Uint32.Equals(other.MapUint32Uint32)) return false;
2375ffe3c632Sopenharmony_ci      if (!MapUint64Uint64.Equals(other.MapUint64Uint64)) return false;
2376ffe3c632Sopenharmony_ci      if (!MapSint32Sint32.Equals(other.MapSint32Sint32)) return false;
2377ffe3c632Sopenharmony_ci      if (!MapSint64Sint64.Equals(other.MapSint64Sint64)) return false;
2378ffe3c632Sopenharmony_ci      if (!MapFixed32Fixed32.Equals(other.MapFixed32Fixed32)) return false;
2379ffe3c632Sopenharmony_ci      if (!MapFixed64Fixed64.Equals(other.MapFixed64Fixed64)) return false;
2380ffe3c632Sopenharmony_ci      if (!MapSfixed32Sfixed32.Equals(other.MapSfixed32Sfixed32)) return false;
2381ffe3c632Sopenharmony_ci      if (!MapSfixed64Sfixed64.Equals(other.MapSfixed64Sfixed64)) return false;
2382ffe3c632Sopenharmony_ci      if (!MapInt32Float.Equals(other.MapInt32Float)) return false;
2383ffe3c632Sopenharmony_ci      if (!MapInt32Double.Equals(other.MapInt32Double)) return false;
2384ffe3c632Sopenharmony_ci      if (!MapBoolBool.Equals(other.MapBoolBool)) return false;
2385ffe3c632Sopenharmony_ci      if (!MapStringString.Equals(other.MapStringString)) return false;
2386ffe3c632Sopenharmony_ci      if (!MapStringBytes.Equals(other.MapStringBytes)) return false;
2387ffe3c632Sopenharmony_ci      if (!MapStringNestedMessage.Equals(other.MapStringNestedMessage)) return false;
2388ffe3c632Sopenharmony_ci      if (!MapStringForeignMessage.Equals(other.MapStringForeignMessage)) return false;
2389ffe3c632Sopenharmony_ci      if (!MapStringNestedEnum.Equals(other.MapStringNestedEnum)) return false;
2390ffe3c632Sopenharmony_ci      if (!MapStringForeignEnum.Equals(other.MapStringForeignEnum)) return false;
2391ffe3c632Sopenharmony_ci      if (OneofUint32 != other.OneofUint32) return false;
2392ffe3c632Sopenharmony_ci      if (!object.Equals(OneofNestedMessage, other.OneofNestedMessage)) return false;
2393ffe3c632Sopenharmony_ci      if (OneofString != other.OneofString) return false;
2394ffe3c632Sopenharmony_ci      if (OneofBytes != other.OneofBytes) return false;
2395ffe3c632Sopenharmony_ci      if (OneofBool != other.OneofBool) return false;
2396ffe3c632Sopenharmony_ci      if (OneofUint64 != other.OneofUint64) return false;
2397ffe3c632Sopenharmony_ci      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(OneofFloat, other.OneofFloat)) return false;
2398ffe3c632Sopenharmony_ci      if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(OneofDouble, other.OneofDouble)) return false;
2399ffe3c632Sopenharmony_ci      if (OneofEnum != other.OneofEnum) return false;
2400ffe3c632Sopenharmony_ci      if (!object.Equals(Data, other.Data)) return false;
2401ffe3c632Sopenharmony_ci      if (Fieldname1 != other.Fieldname1) return false;
2402ffe3c632Sopenharmony_ci      if (FieldName2 != other.FieldName2) return false;
2403ffe3c632Sopenharmony_ci      if (FieldName3 != other.FieldName3) return false;
2404ffe3c632Sopenharmony_ci      if (FieldName4 != other.FieldName4) return false;
2405ffe3c632Sopenharmony_ci      if (Field0Name5 != other.Field0Name5) return false;
2406ffe3c632Sopenharmony_ci      if (Field0Name6 != other.Field0Name6) return false;
2407ffe3c632Sopenharmony_ci      if (FieldName7 != other.FieldName7) return false;
2408ffe3c632Sopenharmony_ci      if (FieldName8 != other.FieldName8) return false;
2409ffe3c632Sopenharmony_ci      if (FieldName9 != other.FieldName9) return false;
2410ffe3c632Sopenharmony_ci      if (FieldName10 != other.FieldName10) return false;
2411ffe3c632Sopenharmony_ci      if (FIELDNAME11 != other.FIELDNAME11) return false;
2412ffe3c632Sopenharmony_ci      if (FIELDName12 != other.FIELDName12) return false;
2413ffe3c632Sopenharmony_ci      if (FieldName13 != other.FieldName13) return false;
2414ffe3c632Sopenharmony_ci      if (FieldName14 != other.FieldName14) return false;
2415ffe3c632Sopenharmony_ci      if (FieldName15 != other.FieldName15) return false;
2416ffe3c632Sopenharmony_ci      if (FieldName16 != other.FieldName16) return false;
2417ffe3c632Sopenharmony_ci      if (FieldName17 != other.FieldName17) return false;
2418ffe3c632Sopenharmony_ci      if (FieldName18 != other.FieldName18) return false;
2419ffe3c632Sopenharmony_ci      if (OneofFieldCase != other.OneofFieldCase) return false;
2420ffe3c632Sopenharmony_ci      if (!Equals(_extensions, other._extensions)) {
2421ffe3c632Sopenharmony_ci        return false;
2422ffe3c632Sopenharmony_ci      }
2423ffe3c632Sopenharmony_ci      return Equals(_unknownFields, other._unknownFields);
2424ffe3c632Sopenharmony_ci    }
2425ffe3c632Sopenharmony_ci
2426ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2427ffe3c632Sopenharmony_ci    public override int GetHashCode() {
2428ffe3c632Sopenharmony_ci      int hash = 1;
2429ffe3c632Sopenharmony_ci      if (HasOptionalInt32) hash ^= OptionalInt32.GetHashCode();
2430ffe3c632Sopenharmony_ci      if (HasOptionalInt64) hash ^= OptionalInt64.GetHashCode();
2431ffe3c632Sopenharmony_ci      if (HasOptionalUint32) hash ^= OptionalUint32.GetHashCode();
2432ffe3c632Sopenharmony_ci      if (HasOptionalUint64) hash ^= OptionalUint64.GetHashCode();
2433ffe3c632Sopenharmony_ci      if (HasOptionalSint32) hash ^= OptionalSint32.GetHashCode();
2434ffe3c632Sopenharmony_ci      if (HasOptionalSint64) hash ^= OptionalSint64.GetHashCode();
2435ffe3c632Sopenharmony_ci      if (HasOptionalFixed32) hash ^= OptionalFixed32.GetHashCode();
2436ffe3c632Sopenharmony_ci      if (HasOptionalFixed64) hash ^= OptionalFixed64.GetHashCode();
2437ffe3c632Sopenharmony_ci      if (HasOptionalSfixed32) hash ^= OptionalSfixed32.GetHashCode();
2438ffe3c632Sopenharmony_ci      if (HasOptionalSfixed64) hash ^= OptionalSfixed64.GetHashCode();
2439ffe3c632Sopenharmony_ci      if (HasOptionalFloat) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(OptionalFloat);
2440ffe3c632Sopenharmony_ci      if (HasOptionalDouble) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(OptionalDouble);
2441ffe3c632Sopenharmony_ci      if (HasOptionalBool) hash ^= OptionalBool.GetHashCode();
2442ffe3c632Sopenharmony_ci      if (HasOptionalString) hash ^= OptionalString.GetHashCode();
2443ffe3c632Sopenharmony_ci      if (HasOptionalBytes) hash ^= OptionalBytes.GetHashCode();
2444ffe3c632Sopenharmony_ci      if (optionalNestedMessage_ != null) hash ^= OptionalNestedMessage.GetHashCode();
2445ffe3c632Sopenharmony_ci      if (optionalForeignMessage_ != null) hash ^= OptionalForeignMessage.GetHashCode();
2446ffe3c632Sopenharmony_ci      if (HasOptionalNestedEnum) hash ^= OptionalNestedEnum.GetHashCode();
2447ffe3c632Sopenharmony_ci      if (HasOptionalForeignEnum) hash ^= OptionalForeignEnum.GetHashCode();
2448ffe3c632Sopenharmony_ci      if (HasOptionalStringPiece) hash ^= OptionalStringPiece.GetHashCode();
2449ffe3c632Sopenharmony_ci      if (HasOptionalCord) hash ^= OptionalCord.GetHashCode();
2450ffe3c632Sopenharmony_ci      if (recursiveMessage_ != null) hash ^= RecursiveMessage.GetHashCode();
2451ffe3c632Sopenharmony_ci      hash ^= repeatedInt32_.GetHashCode();
2452ffe3c632Sopenharmony_ci      hash ^= repeatedInt64_.GetHashCode();
2453ffe3c632Sopenharmony_ci      hash ^= repeatedUint32_.GetHashCode();
2454ffe3c632Sopenharmony_ci      hash ^= repeatedUint64_.GetHashCode();
2455ffe3c632Sopenharmony_ci      hash ^= repeatedSint32_.GetHashCode();
2456ffe3c632Sopenharmony_ci      hash ^= repeatedSint64_.GetHashCode();
2457ffe3c632Sopenharmony_ci      hash ^= repeatedFixed32_.GetHashCode();
2458ffe3c632Sopenharmony_ci      hash ^= repeatedFixed64_.GetHashCode();
2459ffe3c632Sopenharmony_ci      hash ^= repeatedSfixed32_.GetHashCode();
2460ffe3c632Sopenharmony_ci      hash ^= repeatedSfixed64_.GetHashCode();
2461ffe3c632Sopenharmony_ci      hash ^= repeatedFloat_.GetHashCode();
2462ffe3c632Sopenharmony_ci      hash ^= repeatedDouble_.GetHashCode();
2463ffe3c632Sopenharmony_ci      hash ^= repeatedBool_.GetHashCode();
2464ffe3c632Sopenharmony_ci      hash ^= repeatedString_.GetHashCode();
2465ffe3c632Sopenharmony_ci      hash ^= repeatedBytes_.GetHashCode();
2466ffe3c632Sopenharmony_ci      hash ^= repeatedNestedMessage_.GetHashCode();
2467ffe3c632Sopenharmony_ci      hash ^= repeatedForeignMessage_.GetHashCode();
2468ffe3c632Sopenharmony_ci      hash ^= repeatedNestedEnum_.GetHashCode();
2469ffe3c632Sopenharmony_ci      hash ^= repeatedForeignEnum_.GetHashCode();
2470ffe3c632Sopenharmony_ci      hash ^= repeatedStringPiece_.GetHashCode();
2471ffe3c632Sopenharmony_ci      hash ^= repeatedCord_.GetHashCode();
2472ffe3c632Sopenharmony_ci      hash ^= packedInt32_.GetHashCode();
2473ffe3c632Sopenharmony_ci      hash ^= packedInt64_.GetHashCode();
2474ffe3c632Sopenharmony_ci      hash ^= packedUint32_.GetHashCode();
2475ffe3c632Sopenharmony_ci      hash ^= packedUint64_.GetHashCode();
2476ffe3c632Sopenharmony_ci      hash ^= packedSint32_.GetHashCode();
2477ffe3c632Sopenharmony_ci      hash ^= packedSint64_.GetHashCode();
2478ffe3c632Sopenharmony_ci      hash ^= packedFixed32_.GetHashCode();
2479ffe3c632Sopenharmony_ci      hash ^= packedFixed64_.GetHashCode();
2480ffe3c632Sopenharmony_ci      hash ^= packedSfixed32_.GetHashCode();
2481ffe3c632Sopenharmony_ci      hash ^= packedSfixed64_.GetHashCode();
2482ffe3c632Sopenharmony_ci      hash ^= packedFloat_.GetHashCode();
2483ffe3c632Sopenharmony_ci      hash ^= packedDouble_.GetHashCode();
2484ffe3c632Sopenharmony_ci      hash ^= packedBool_.GetHashCode();
2485ffe3c632Sopenharmony_ci      hash ^= packedNestedEnum_.GetHashCode();
2486ffe3c632Sopenharmony_ci      hash ^= unpackedInt32_.GetHashCode();
2487ffe3c632Sopenharmony_ci      hash ^= unpackedInt64_.GetHashCode();
2488ffe3c632Sopenharmony_ci      hash ^= unpackedUint32_.GetHashCode();
2489ffe3c632Sopenharmony_ci      hash ^= unpackedUint64_.GetHashCode();
2490ffe3c632Sopenharmony_ci      hash ^= unpackedSint32_.GetHashCode();
2491ffe3c632Sopenharmony_ci      hash ^= unpackedSint64_.GetHashCode();
2492ffe3c632Sopenharmony_ci      hash ^= unpackedFixed32_.GetHashCode();
2493ffe3c632Sopenharmony_ci      hash ^= unpackedFixed64_.GetHashCode();
2494ffe3c632Sopenharmony_ci      hash ^= unpackedSfixed32_.GetHashCode();
2495ffe3c632Sopenharmony_ci      hash ^= unpackedSfixed64_.GetHashCode();
2496ffe3c632Sopenharmony_ci      hash ^= unpackedFloat_.GetHashCode();
2497ffe3c632Sopenharmony_ci      hash ^= unpackedDouble_.GetHashCode();
2498ffe3c632Sopenharmony_ci      hash ^= unpackedBool_.GetHashCode();
2499ffe3c632Sopenharmony_ci      hash ^= unpackedNestedEnum_.GetHashCode();
2500ffe3c632Sopenharmony_ci      hash ^= MapInt32Int32.GetHashCode();
2501ffe3c632Sopenharmony_ci      hash ^= MapInt64Int64.GetHashCode();
2502ffe3c632Sopenharmony_ci      hash ^= MapUint32Uint32.GetHashCode();
2503ffe3c632Sopenharmony_ci      hash ^= MapUint64Uint64.GetHashCode();
2504ffe3c632Sopenharmony_ci      hash ^= MapSint32Sint32.GetHashCode();
2505ffe3c632Sopenharmony_ci      hash ^= MapSint64Sint64.GetHashCode();
2506ffe3c632Sopenharmony_ci      hash ^= MapFixed32Fixed32.GetHashCode();
2507ffe3c632Sopenharmony_ci      hash ^= MapFixed64Fixed64.GetHashCode();
2508ffe3c632Sopenharmony_ci      hash ^= MapSfixed32Sfixed32.GetHashCode();
2509ffe3c632Sopenharmony_ci      hash ^= MapSfixed64Sfixed64.GetHashCode();
2510ffe3c632Sopenharmony_ci      hash ^= MapInt32Float.GetHashCode();
2511ffe3c632Sopenharmony_ci      hash ^= MapInt32Double.GetHashCode();
2512ffe3c632Sopenharmony_ci      hash ^= MapBoolBool.GetHashCode();
2513ffe3c632Sopenharmony_ci      hash ^= MapStringString.GetHashCode();
2514ffe3c632Sopenharmony_ci      hash ^= MapStringBytes.GetHashCode();
2515ffe3c632Sopenharmony_ci      hash ^= MapStringNestedMessage.GetHashCode();
2516ffe3c632Sopenharmony_ci      hash ^= MapStringForeignMessage.GetHashCode();
2517ffe3c632Sopenharmony_ci      hash ^= MapStringNestedEnum.GetHashCode();
2518ffe3c632Sopenharmony_ci      hash ^= MapStringForeignEnum.GetHashCode();
2519ffe3c632Sopenharmony_ci      if (HasOneofUint32) hash ^= OneofUint32.GetHashCode();
2520ffe3c632Sopenharmony_ci      if (oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage) hash ^= OneofNestedMessage.GetHashCode();
2521ffe3c632Sopenharmony_ci      if (HasOneofString) hash ^= OneofString.GetHashCode();
2522ffe3c632Sopenharmony_ci      if (HasOneofBytes) hash ^= OneofBytes.GetHashCode();
2523ffe3c632Sopenharmony_ci      if (HasOneofBool) hash ^= OneofBool.GetHashCode();
2524ffe3c632Sopenharmony_ci      if (HasOneofUint64) hash ^= OneofUint64.GetHashCode();
2525ffe3c632Sopenharmony_ci      if (HasOneofFloat) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(OneofFloat);
2526ffe3c632Sopenharmony_ci      if (HasOneofDouble) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(OneofDouble);
2527ffe3c632Sopenharmony_ci      if (HasOneofEnum) hash ^= OneofEnum.GetHashCode();
2528ffe3c632Sopenharmony_ci      if (HasData) hash ^= Data.GetHashCode();
2529ffe3c632Sopenharmony_ci      if (HasFieldname1) hash ^= Fieldname1.GetHashCode();
2530ffe3c632Sopenharmony_ci      if (HasFieldName2) hash ^= FieldName2.GetHashCode();
2531ffe3c632Sopenharmony_ci      if (HasFieldName3) hash ^= FieldName3.GetHashCode();
2532ffe3c632Sopenharmony_ci      if (HasFieldName4) hash ^= FieldName4.GetHashCode();
2533ffe3c632Sopenharmony_ci      if (HasField0Name5) hash ^= Field0Name5.GetHashCode();
2534ffe3c632Sopenharmony_ci      if (HasField0Name6) hash ^= Field0Name6.GetHashCode();
2535ffe3c632Sopenharmony_ci      if (HasFieldName7) hash ^= FieldName7.GetHashCode();
2536ffe3c632Sopenharmony_ci      if (HasFieldName8) hash ^= FieldName8.GetHashCode();
2537ffe3c632Sopenharmony_ci      if (HasFieldName9) hash ^= FieldName9.GetHashCode();
2538ffe3c632Sopenharmony_ci      if (HasFieldName10) hash ^= FieldName10.GetHashCode();
2539ffe3c632Sopenharmony_ci      if (HasFIELDNAME11) hash ^= FIELDNAME11.GetHashCode();
2540ffe3c632Sopenharmony_ci      if (HasFIELDName12) hash ^= FIELDName12.GetHashCode();
2541ffe3c632Sopenharmony_ci      if (HasFieldName13) hash ^= FieldName13.GetHashCode();
2542ffe3c632Sopenharmony_ci      if (HasFieldName14) hash ^= FieldName14.GetHashCode();
2543ffe3c632Sopenharmony_ci      if (HasFieldName15) hash ^= FieldName15.GetHashCode();
2544ffe3c632Sopenharmony_ci      if (HasFieldName16) hash ^= FieldName16.GetHashCode();
2545ffe3c632Sopenharmony_ci      if (HasFieldName17) hash ^= FieldName17.GetHashCode();
2546ffe3c632Sopenharmony_ci      if (HasFieldName18) hash ^= FieldName18.GetHashCode();
2547ffe3c632Sopenharmony_ci      hash ^= (int) oneofFieldCase_;
2548ffe3c632Sopenharmony_ci      if (_extensions != null) {
2549ffe3c632Sopenharmony_ci        hash ^= _extensions.GetHashCode();
2550ffe3c632Sopenharmony_ci      }
2551ffe3c632Sopenharmony_ci      if (_unknownFields != null) {
2552ffe3c632Sopenharmony_ci        hash ^= _unknownFields.GetHashCode();
2553ffe3c632Sopenharmony_ci      }
2554ffe3c632Sopenharmony_ci      return hash;
2555ffe3c632Sopenharmony_ci    }
2556ffe3c632Sopenharmony_ci
2557ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2558ffe3c632Sopenharmony_ci    public override string ToString() {
2559ffe3c632Sopenharmony_ci      return pb::JsonFormatter.ToDiagnosticString(this);
2560ffe3c632Sopenharmony_ci    }
2561ffe3c632Sopenharmony_ci
2562ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2563ffe3c632Sopenharmony_ci    public void WriteTo(pb::CodedOutputStream output) {
2564ffe3c632Sopenharmony_ci    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2565ffe3c632Sopenharmony_ci      output.WriteRawMessage(this);
2566ffe3c632Sopenharmony_ci    #else
2567ffe3c632Sopenharmony_ci      if (HasOptionalInt32) {
2568ffe3c632Sopenharmony_ci        output.WriteRawTag(8);
2569ffe3c632Sopenharmony_ci        output.WriteInt32(OptionalInt32);
2570ffe3c632Sopenharmony_ci      }
2571ffe3c632Sopenharmony_ci      if (HasOptionalInt64) {
2572ffe3c632Sopenharmony_ci        output.WriteRawTag(16);
2573ffe3c632Sopenharmony_ci        output.WriteInt64(OptionalInt64);
2574ffe3c632Sopenharmony_ci      }
2575ffe3c632Sopenharmony_ci      if (HasOptionalUint32) {
2576ffe3c632Sopenharmony_ci        output.WriteRawTag(24);
2577ffe3c632Sopenharmony_ci        output.WriteUInt32(OptionalUint32);
2578ffe3c632Sopenharmony_ci      }
2579ffe3c632Sopenharmony_ci      if (HasOptionalUint64) {
2580ffe3c632Sopenharmony_ci        output.WriteRawTag(32);
2581ffe3c632Sopenharmony_ci        output.WriteUInt64(OptionalUint64);
2582ffe3c632Sopenharmony_ci      }
2583ffe3c632Sopenharmony_ci      if (HasOptionalSint32) {
2584ffe3c632Sopenharmony_ci        output.WriteRawTag(40);
2585ffe3c632Sopenharmony_ci        output.WriteSInt32(OptionalSint32);
2586ffe3c632Sopenharmony_ci      }
2587ffe3c632Sopenharmony_ci      if (HasOptionalSint64) {
2588ffe3c632Sopenharmony_ci        output.WriteRawTag(48);
2589ffe3c632Sopenharmony_ci        output.WriteSInt64(OptionalSint64);
2590ffe3c632Sopenharmony_ci      }
2591ffe3c632Sopenharmony_ci      if (HasOptionalFixed32) {
2592ffe3c632Sopenharmony_ci        output.WriteRawTag(61);
2593ffe3c632Sopenharmony_ci        output.WriteFixed32(OptionalFixed32);
2594ffe3c632Sopenharmony_ci      }
2595ffe3c632Sopenharmony_ci      if (HasOptionalFixed64) {
2596ffe3c632Sopenharmony_ci        output.WriteRawTag(65);
2597ffe3c632Sopenharmony_ci        output.WriteFixed64(OptionalFixed64);
2598ffe3c632Sopenharmony_ci      }
2599ffe3c632Sopenharmony_ci      if (HasOptionalSfixed32) {
2600ffe3c632Sopenharmony_ci        output.WriteRawTag(77);
2601ffe3c632Sopenharmony_ci        output.WriteSFixed32(OptionalSfixed32);
2602ffe3c632Sopenharmony_ci      }
2603ffe3c632Sopenharmony_ci      if (HasOptionalSfixed64) {
2604ffe3c632Sopenharmony_ci        output.WriteRawTag(81);
2605ffe3c632Sopenharmony_ci        output.WriteSFixed64(OptionalSfixed64);
2606ffe3c632Sopenharmony_ci      }
2607ffe3c632Sopenharmony_ci      if (HasOptionalFloat) {
2608ffe3c632Sopenharmony_ci        output.WriteRawTag(93);
2609ffe3c632Sopenharmony_ci        output.WriteFloat(OptionalFloat);
2610ffe3c632Sopenharmony_ci      }
2611ffe3c632Sopenharmony_ci      if (HasOptionalDouble) {
2612ffe3c632Sopenharmony_ci        output.WriteRawTag(97);
2613ffe3c632Sopenharmony_ci        output.WriteDouble(OptionalDouble);
2614ffe3c632Sopenharmony_ci      }
2615ffe3c632Sopenharmony_ci      if (HasOptionalBool) {
2616ffe3c632Sopenharmony_ci        output.WriteRawTag(104);
2617ffe3c632Sopenharmony_ci        output.WriteBool(OptionalBool);
2618ffe3c632Sopenharmony_ci      }
2619ffe3c632Sopenharmony_ci      if (HasOptionalString) {
2620ffe3c632Sopenharmony_ci        output.WriteRawTag(114);
2621ffe3c632Sopenharmony_ci        output.WriteString(OptionalString);
2622ffe3c632Sopenharmony_ci      }
2623ffe3c632Sopenharmony_ci      if (HasOptionalBytes) {
2624ffe3c632Sopenharmony_ci        output.WriteRawTag(122);
2625ffe3c632Sopenharmony_ci        output.WriteBytes(OptionalBytes);
2626ffe3c632Sopenharmony_ci      }
2627ffe3c632Sopenharmony_ci      if (optionalNestedMessage_ != null) {
2628ffe3c632Sopenharmony_ci        output.WriteRawTag(146, 1);
2629ffe3c632Sopenharmony_ci        output.WriteMessage(OptionalNestedMessage);
2630ffe3c632Sopenharmony_ci      }
2631ffe3c632Sopenharmony_ci      if (optionalForeignMessage_ != null) {
2632ffe3c632Sopenharmony_ci        output.WriteRawTag(154, 1);
2633ffe3c632Sopenharmony_ci        output.WriteMessage(OptionalForeignMessage);
2634ffe3c632Sopenharmony_ci      }
2635ffe3c632Sopenharmony_ci      if (HasOptionalNestedEnum) {
2636ffe3c632Sopenharmony_ci        output.WriteRawTag(168, 1);
2637ffe3c632Sopenharmony_ci        output.WriteEnum((int) OptionalNestedEnum);
2638ffe3c632Sopenharmony_ci      }
2639ffe3c632Sopenharmony_ci      if (HasOptionalForeignEnum) {
2640ffe3c632Sopenharmony_ci        output.WriteRawTag(176, 1);
2641ffe3c632Sopenharmony_ci        output.WriteEnum((int) OptionalForeignEnum);
2642ffe3c632Sopenharmony_ci      }
2643ffe3c632Sopenharmony_ci      if (HasOptionalStringPiece) {
2644ffe3c632Sopenharmony_ci        output.WriteRawTag(194, 1);
2645ffe3c632Sopenharmony_ci        output.WriteString(OptionalStringPiece);
2646ffe3c632Sopenharmony_ci      }
2647ffe3c632Sopenharmony_ci      if (HasOptionalCord) {
2648ffe3c632Sopenharmony_ci        output.WriteRawTag(202, 1);
2649ffe3c632Sopenharmony_ci        output.WriteString(OptionalCord);
2650ffe3c632Sopenharmony_ci      }
2651ffe3c632Sopenharmony_ci      if (recursiveMessage_ != null) {
2652ffe3c632Sopenharmony_ci        output.WriteRawTag(218, 1);
2653ffe3c632Sopenharmony_ci        output.WriteMessage(RecursiveMessage);
2654ffe3c632Sopenharmony_ci      }
2655ffe3c632Sopenharmony_ci      repeatedInt32_.WriteTo(output, _repeated_repeatedInt32_codec);
2656ffe3c632Sopenharmony_ci      repeatedInt64_.WriteTo(output, _repeated_repeatedInt64_codec);
2657ffe3c632Sopenharmony_ci      repeatedUint32_.WriteTo(output, _repeated_repeatedUint32_codec);
2658ffe3c632Sopenharmony_ci      repeatedUint64_.WriteTo(output, _repeated_repeatedUint64_codec);
2659ffe3c632Sopenharmony_ci      repeatedSint32_.WriteTo(output, _repeated_repeatedSint32_codec);
2660ffe3c632Sopenharmony_ci      repeatedSint64_.WriteTo(output, _repeated_repeatedSint64_codec);
2661ffe3c632Sopenharmony_ci      repeatedFixed32_.WriteTo(output, _repeated_repeatedFixed32_codec);
2662ffe3c632Sopenharmony_ci      repeatedFixed64_.WriteTo(output, _repeated_repeatedFixed64_codec);
2663ffe3c632Sopenharmony_ci      repeatedSfixed32_.WriteTo(output, _repeated_repeatedSfixed32_codec);
2664ffe3c632Sopenharmony_ci      repeatedSfixed64_.WriteTo(output, _repeated_repeatedSfixed64_codec);
2665ffe3c632Sopenharmony_ci      repeatedFloat_.WriteTo(output, _repeated_repeatedFloat_codec);
2666ffe3c632Sopenharmony_ci      repeatedDouble_.WriteTo(output, _repeated_repeatedDouble_codec);
2667ffe3c632Sopenharmony_ci      repeatedBool_.WriteTo(output, _repeated_repeatedBool_codec);
2668ffe3c632Sopenharmony_ci      repeatedString_.WriteTo(output, _repeated_repeatedString_codec);
2669ffe3c632Sopenharmony_ci      repeatedBytes_.WriteTo(output, _repeated_repeatedBytes_codec);
2670ffe3c632Sopenharmony_ci      repeatedNestedMessage_.WriteTo(output, _repeated_repeatedNestedMessage_codec);
2671ffe3c632Sopenharmony_ci      repeatedForeignMessage_.WriteTo(output, _repeated_repeatedForeignMessage_codec);
2672ffe3c632Sopenharmony_ci      repeatedNestedEnum_.WriteTo(output, _repeated_repeatedNestedEnum_codec);
2673ffe3c632Sopenharmony_ci      repeatedForeignEnum_.WriteTo(output, _repeated_repeatedForeignEnum_codec);
2674ffe3c632Sopenharmony_ci      repeatedStringPiece_.WriteTo(output, _repeated_repeatedStringPiece_codec);
2675ffe3c632Sopenharmony_ci      repeatedCord_.WriteTo(output, _repeated_repeatedCord_codec);
2676ffe3c632Sopenharmony_ci      mapInt32Int32_.WriteTo(output, _map_mapInt32Int32_codec);
2677ffe3c632Sopenharmony_ci      mapInt64Int64_.WriteTo(output, _map_mapInt64Int64_codec);
2678ffe3c632Sopenharmony_ci      mapUint32Uint32_.WriteTo(output, _map_mapUint32Uint32_codec);
2679ffe3c632Sopenharmony_ci      mapUint64Uint64_.WriteTo(output, _map_mapUint64Uint64_codec);
2680ffe3c632Sopenharmony_ci      mapSint32Sint32_.WriteTo(output, _map_mapSint32Sint32_codec);
2681ffe3c632Sopenharmony_ci      mapSint64Sint64_.WriteTo(output, _map_mapSint64Sint64_codec);
2682ffe3c632Sopenharmony_ci      mapFixed32Fixed32_.WriteTo(output, _map_mapFixed32Fixed32_codec);
2683ffe3c632Sopenharmony_ci      mapFixed64Fixed64_.WriteTo(output, _map_mapFixed64Fixed64_codec);
2684ffe3c632Sopenharmony_ci      mapSfixed32Sfixed32_.WriteTo(output, _map_mapSfixed32Sfixed32_codec);
2685ffe3c632Sopenharmony_ci      mapSfixed64Sfixed64_.WriteTo(output, _map_mapSfixed64Sfixed64_codec);
2686ffe3c632Sopenharmony_ci      mapInt32Float_.WriteTo(output, _map_mapInt32Float_codec);
2687ffe3c632Sopenharmony_ci      mapInt32Double_.WriteTo(output, _map_mapInt32Double_codec);
2688ffe3c632Sopenharmony_ci      mapBoolBool_.WriteTo(output, _map_mapBoolBool_codec);
2689ffe3c632Sopenharmony_ci      mapStringString_.WriteTo(output, _map_mapStringString_codec);
2690ffe3c632Sopenharmony_ci      mapStringBytes_.WriteTo(output, _map_mapStringBytes_codec);
2691ffe3c632Sopenharmony_ci      mapStringNestedMessage_.WriteTo(output, _map_mapStringNestedMessage_codec);
2692ffe3c632Sopenharmony_ci      mapStringForeignMessage_.WriteTo(output, _map_mapStringForeignMessage_codec);
2693ffe3c632Sopenharmony_ci      mapStringNestedEnum_.WriteTo(output, _map_mapStringNestedEnum_codec);
2694ffe3c632Sopenharmony_ci      mapStringForeignEnum_.WriteTo(output, _map_mapStringForeignEnum_codec);
2695ffe3c632Sopenharmony_ci      packedInt32_.WriteTo(output, _repeated_packedInt32_codec);
2696ffe3c632Sopenharmony_ci      packedInt64_.WriteTo(output, _repeated_packedInt64_codec);
2697ffe3c632Sopenharmony_ci      packedUint32_.WriteTo(output, _repeated_packedUint32_codec);
2698ffe3c632Sopenharmony_ci      packedUint64_.WriteTo(output, _repeated_packedUint64_codec);
2699ffe3c632Sopenharmony_ci      packedSint32_.WriteTo(output, _repeated_packedSint32_codec);
2700ffe3c632Sopenharmony_ci      packedSint64_.WriteTo(output, _repeated_packedSint64_codec);
2701ffe3c632Sopenharmony_ci      packedFixed32_.WriteTo(output, _repeated_packedFixed32_codec);
2702ffe3c632Sopenharmony_ci      packedFixed64_.WriteTo(output, _repeated_packedFixed64_codec);
2703ffe3c632Sopenharmony_ci      packedSfixed32_.WriteTo(output, _repeated_packedSfixed32_codec);
2704ffe3c632Sopenharmony_ci      packedSfixed64_.WriteTo(output, _repeated_packedSfixed64_codec);
2705ffe3c632Sopenharmony_ci      packedFloat_.WriteTo(output, _repeated_packedFloat_codec);
2706ffe3c632Sopenharmony_ci      packedDouble_.WriteTo(output, _repeated_packedDouble_codec);
2707ffe3c632Sopenharmony_ci      packedBool_.WriteTo(output, _repeated_packedBool_codec);
2708ffe3c632Sopenharmony_ci      packedNestedEnum_.WriteTo(output, _repeated_packedNestedEnum_codec);
2709ffe3c632Sopenharmony_ci      unpackedInt32_.WriteTo(output, _repeated_unpackedInt32_codec);
2710ffe3c632Sopenharmony_ci      unpackedInt64_.WriteTo(output, _repeated_unpackedInt64_codec);
2711ffe3c632Sopenharmony_ci      unpackedUint32_.WriteTo(output, _repeated_unpackedUint32_codec);
2712ffe3c632Sopenharmony_ci      unpackedUint64_.WriteTo(output, _repeated_unpackedUint64_codec);
2713ffe3c632Sopenharmony_ci      unpackedSint32_.WriteTo(output, _repeated_unpackedSint32_codec);
2714ffe3c632Sopenharmony_ci      unpackedSint64_.WriteTo(output, _repeated_unpackedSint64_codec);
2715ffe3c632Sopenharmony_ci      unpackedFixed32_.WriteTo(output, _repeated_unpackedFixed32_codec);
2716ffe3c632Sopenharmony_ci      unpackedFixed64_.WriteTo(output, _repeated_unpackedFixed64_codec);
2717ffe3c632Sopenharmony_ci      unpackedSfixed32_.WriteTo(output, _repeated_unpackedSfixed32_codec);
2718ffe3c632Sopenharmony_ci      unpackedSfixed64_.WriteTo(output, _repeated_unpackedSfixed64_codec);
2719ffe3c632Sopenharmony_ci      unpackedFloat_.WriteTo(output, _repeated_unpackedFloat_codec);
2720ffe3c632Sopenharmony_ci      unpackedDouble_.WriteTo(output, _repeated_unpackedDouble_codec);
2721ffe3c632Sopenharmony_ci      unpackedBool_.WriteTo(output, _repeated_unpackedBool_codec);
2722ffe3c632Sopenharmony_ci      unpackedNestedEnum_.WriteTo(output, _repeated_unpackedNestedEnum_codec);
2723ffe3c632Sopenharmony_ci      if (HasOneofUint32) {
2724ffe3c632Sopenharmony_ci        output.WriteRawTag(248, 6);
2725ffe3c632Sopenharmony_ci        output.WriteUInt32(OneofUint32);
2726ffe3c632Sopenharmony_ci      }
2727ffe3c632Sopenharmony_ci      if (oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage) {
2728ffe3c632Sopenharmony_ci        output.WriteRawTag(130, 7);
2729ffe3c632Sopenharmony_ci        output.WriteMessage(OneofNestedMessage);
2730ffe3c632Sopenharmony_ci      }
2731ffe3c632Sopenharmony_ci      if (HasOneofString) {
2732ffe3c632Sopenharmony_ci        output.WriteRawTag(138, 7);
2733ffe3c632Sopenharmony_ci        output.WriteString(OneofString);
2734ffe3c632Sopenharmony_ci      }
2735ffe3c632Sopenharmony_ci      if (HasOneofBytes) {
2736ffe3c632Sopenharmony_ci        output.WriteRawTag(146, 7);
2737ffe3c632Sopenharmony_ci        output.WriteBytes(OneofBytes);
2738ffe3c632Sopenharmony_ci      }
2739ffe3c632Sopenharmony_ci      if (HasOneofBool) {
2740ffe3c632Sopenharmony_ci        output.WriteRawTag(152, 7);
2741ffe3c632Sopenharmony_ci        output.WriteBool(OneofBool);
2742ffe3c632Sopenharmony_ci      }
2743ffe3c632Sopenharmony_ci      if (HasOneofUint64) {
2744ffe3c632Sopenharmony_ci        output.WriteRawTag(160, 7);
2745ffe3c632Sopenharmony_ci        output.WriteUInt64(OneofUint64);
2746ffe3c632Sopenharmony_ci      }
2747ffe3c632Sopenharmony_ci      if (HasOneofFloat) {
2748ffe3c632Sopenharmony_ci        output.WriteRawTag(173, 7);
2749ffe3c632Sopenharmony_ci        output.WriteFloat(OneofFloat);
2750ffe3c632Sopenharmony_ci      }
2751ffe3c632Sopenharmony_ci      if (HasOneofDouble) {
2752ffe3c632Sopenharmony_ci        output.WriteRawTag(177, 7);
2753ffe3c632Sopenharmony_ci        output.WriteDouble(OneofDouble);
2754ffe3c632Sopenharmony_ci      }
2755ffe3c632Sopenharmony_ci      if (HasOneofEnum) {
2756ffe3c632Sopenharmony_ci        output.WriteRawTag(184, 7);
2757ffe3c632Sopenharmony_ci        output.WriteEnum((int) OneofEnum);
2758ffe3c632Sopenharmony_ci      }
2759ffe3c632Sopenharmony_ci      if (HasData) {
2760ffe3c632Sopenharmony_ci        output.WriteRawTag(203, 12);
2761ffe3c632Sopenharmony_ci        output.WriteGroup(Data);
2762ffe3c632Sopenharmony_ci        output.WriteRawTag(204, 12);
2763ffe3c632Sopenharmony_ci      }
2764ffe3c632Sopenharmony_ci      if (HasFieldname1) {
2765ffe3c632Sopenharmony_ci        output.WriteRawTag(136, 25);
2766ffe3c632Sopenharmony_ci        output.WriteInt32(Fieldname1);
2767ffe3c632Sopenharmony_ci      }
2768ffe3c632Sopenharmony_ci      if (HasFieldName2) {
2769ffe3c632Sopenharmony_ci        output.WriteRawTag(144, 25);
2770ffe3c632Sopenharmony_ci        output.WriteInt32(FieldName2);
2771ffe3c632Sopenharmony_ci      }
2772ffe3c632Sopenharmony_ci      if (HasFieldName3) {
2773ffe3c632Sopenharmony_ci        output.WriteRawTag(152, 25);
2774ffe3c632Sopenharmony_ci        output.WriteInt32(FieldName3);
2775ffe3c632Sopenharmony_ci      }
2776ffe3c632Sopenharmony_ci      if (HasFieldName4) {
2777ffe3c632Sopenharmony_ci        output.WriteRawTag(160, 25);
2778ffe3c632Sopenharmony_ci        output.WriteInt32(FieldName4);
2779ffe3c632Sopenharmony_ci      }
2780ffe3c632Sopenharmony_ci      if (HasField0Name5) {
2781ffe3c632Sopenharmony_ci        output.WriteRawTag(168, 25);
2782ffe3c632Sopenharmony_ci        output.WriteInt32(Field0Name5);
2783ffe3c632Sopenharmony_ci      }
2784ffe3c632Sopenharmony_ci      if (HasField0Name6) {
2785ffe3c632Sopenharmony_ci        output.WriteRawTag(176, 25);
2786ffe3c632Sopenharmony_ci        output.WriteInt32(Field0Name6);
2787ffe3c632Sopenharmony_ci      }
2788ffe3c632Sopenharmony_ci      if (HasFieldName7) {
2789ffe3c632Sopenharmony_ci        output.WriteRawTag(184, 25);
2790ffe3c632Sopenharmony_ci        output.WriteInt32(FieldName7);
2791ffe3c632Sopenharmony_ci      }
2792ffe3c632Sopenharmony_ci      if (HasFieldName8) {
2793ffe3c632Sopenharmony_ci        output.WriteRawTag(192, 25);
2794ffe3c632Sopenharmony_ci        output.WriteInt32(FieldName8);
2795ffe3c632Sopenharmony_ci      }
2796ffe3c632Sopenharmony_ci      if (HasFieldName9) {
2797ffe3c632Sopenharmony_ci        output.WriteRawTag(200, 25);
2798ffe3c632Sopenharmony_ci        output.WriteInt32(FieldName9);
2799ffe3c632Sopenharmony_ci      }
2800ffe3c632Sopenharmony_ci      if (HasFieldName10) {
2801ffe3c632Sopenharmony_ci        output.WriteRawTag(208, 25);
2802ffe3c632Sopenharmony_ci        output.WriteInt32(FieldName10);
2803ffe3c632Sopenharmony_ci      }
2804ffe3c632Sopenharmony_ci      if (HasFIELDNAME11) {
2805ffe3c632Sopenharmony_ci        output.WriteRawTag(216, 25);
2806ffe3c632Sopenharmony_ci        output.WriteInt32(FIELDNAME11);
2807ffe3c632Sopenharmony_ci      }
2808ffe3c632Sopenharmony_ci      if (HasFIELDName12) {
2809ffe3c632Sopenharmony_ci        output.WriteRawTag(224, 25);
2810ffe3c632Sopenharmony_ci        output.WriteInt32(FIELDName12);
2811ffe3c632Sopenharmony_ci      }
2812ffe3c632Sopenharmony_ci      if (HasFieldName13) {
2813ffe3c632Sopenharmony_ci        output.WriteRawTag(232, 25);
2814ffe3c632Sopenharmony_ci        output.WriteInt32(FieldName13);
2815ffe3c632Sopenharmony_ci      }
2816ffe3c632Sopenharmony_ci      if (HasFieldName14) {
2817ffe3c632Sopenharmony_ci        output.WriteRawTag(240, 25);
2818ffe3c632Sopenharmony_ci        output.WriteInt32(FieldName14);
2819ffe3c632Sopenharmony_ci      }
2820ffe3c632Sopenharmony_ci      if (HasFieldName15) {
2821ffe3c632Sopenharmony_ci        output.WriteRawTag(248, 25);
2822ffe3c632Sopenharmony_ci        output.WriteInt32(FieldName15);
2823ffe3c632Sopenharmony_ci      }
2824ffe3c632Sopenharmony_ci      if (HasFieldName16) {
2825ffe3c632Sopenharmony_ci        output.WriteRawTag(128, 26);
2826ffe3c632Sopenharmony_ci        output.WriteInt32(FieldName16);
2827ffe3c632Sopenharmony_ci      }
2828ffe3c632Sopenharmony_ci      if (HasFieldName17) {
2829ffe3c632Sopenharmony_ci        output.WriteRawTag(136, 26);
2830ffe3c632Sopenharmony_ci        output.WriteInt32(FieldName17);
2831ffe3c632Sopenharmony_ci      }
2832ffe3c632Sopenharmony_ci      if (HasFieldName18) {
2833ffe3c632Sopenharmony_ci        output.WriteRawTag(144, 26);
2834ffe3c632Sopenharmony_ci        output.WriteInt32(FieldName18);
2835ffe3c632Sopenharmony_ci      }
2836ffe3c632Sopenharmony_ci      if (_extensions != null) {
2837ffe3c632Sopenharmony_ci        _extensions.WriteTo(output);
2838ffe3c632Sopenharmony_ci      }
2839ffe3c632Sopenharmony_ci      if (_unknownFields != null) {
2840ffe3c632Sopenharmony_ci        _unknownFields.WriteTo(output);
2841ffe3c632Sopenharmony_ci      }
2842ffe3c632Sopenharmony_ci    #endif
2843ffe3c632Sopenharmony_ci    }
2844ffe3c632Sopenharmony_ci
2845ffe3c632Sopenharmony_ci    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2846ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2847ffe3c632Sopenharmony_ci    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
2848ffe3c632Sopenharmony_ci      if (HasOptionalInt32) {
2849ffe3c632Sopenharmony_ci        output.WriteRawTag(8);
2850ffe3c632Sopenharmony_ci        output.WriteInt32(OptionalInt32);
2851ffe3c632Sopenharmony_ci      }
2852ffe3c632Sopenharmony_ci      if (HasOptionalInt64) {
2853ffe3c632Sopenharmony_ci        output.WriteRawTag(16);
2854ffe3c632Sopenharmony_ci        output.WriteInt64(OptionalInt64);
2855ffe3c632Sopenharmony_ci      }
2856ffe3c632Sopenharmony_ci      if (HasOptionalUint32) {
2857ffe3c632Sopenharmony_ci        output.WriteRawTag(24);
2858ffe3c632Sopenharmony_ci        output.WriteUInt32(OptionalUint32);
2859ffe3c632Sopenharmony_ci      }
2860ffe3c632Sopenharmony_ci      if (HasOptionalUint64) {
2861ffe3c632Sopenharmony_ci        output.WriteRawTag(32);
2862ffe3c632Sopenharmony_ci        output.WriteUInt64(OptionalUint64);
2863ffe3c632Sopenharmony_ci      }
2864ffe3c632Sopenharmony_ci      if (HasOptionalSint32) {
2865ffe3c632Sopenharmony_ci        output.WriteRawTag(40);
2866ffe3c632Sopenharmony_ci        output.WriteSInt32(OptionalSint32);
2867ffe3c632Sopenharmony_ci      }
2868ffe3c632Sopenharmony_ci      if (HasOptionalSint64) {
2869ffe3c632Sopenharmony_ci        output.WriteRawTag(48);
2870ffe3c632Sopenharmony_ci        output.WriteSInt64(OptionalSint64);
2871ffe3c632Sopenharmony_ci      }
2872ffe3c632Sopenharmony_ci      if (HasOptionalFixed32) {
2873ffe3c632Sopenharmony_ci        output.WriteRawTag(61);
2874ffe3c632Sopenharmony_ci        output.WriteFixed32(OptionalFixed32);
2875ffe3c632Sopenharmony_ci      }
2876ffe3c632Sopenharmony_ci      if (HasOptionalFixed64) {
2877ffe3c632Sopenharmony_ci        output.WriteRawTag(65);
2878ffe3c632Sopenharmony_ci        output.WriteFixed64(OptionalFixed64);
2879ffe3c632Sopenharmony_ci      }
2880ffe3c632Sopenharmony_ci      if (HasOptionalSfixed32) {
2881ffe3c632Sopenharmony_ci        output.WriteRawTag(77);
2882ffe3c632Sopenharmony_ci        output.WriteSFixed32(OptionalSfixed32);
2883ffe3c632Sopenharmony_ci      }
2884ffe3c632Sopenharmony_ci      if (HasOptionalSfixed64) {
2885ffe3c632Sopenharmony_ci        output.WriteRawTag(81);
2886ffe3c632Sopenharmony_ci        output.WriteSFixed64(OptionalSfixed64);
2887ffe3c632Sopenharmony_ci      }
2888ffe3c632Sopenharmony_ci      if (HasOptionalFloat) {
2889ffe3c632Sopenharmony_ci        output.WriteRawTag(93);
2890ffe3c632Sopenharmony_ci        output.WriteFloat(OptionalFloat);
2891ffe3c632Sopenharmony_ci      }
2892ffe3c632Sopenharmony_ci      if (HasOptionalDouble) {
2893ffe3c632Sopenharmony_ci        output.WriteRawTag(97);
2894ffe3c632Sopenharmony_ci        output.WriteDouble(OptionalDouble);
2895ffe3c632Sopenharmony_ci      }
2896ffe3c632Sopenharmony_ci      if (HasOptionalBool) {
2897ffe3c632Sopenharmony_ci        output.WriteRawTag(104);
2898ffe3c632Sopenharmony_ci        output.WriteBool(OptionalBool);
2899ffe3c632Sopenharmony_ci      }
2900ffe3c632Sopenharmony_ci      if (HasOptionalString) {
2901ffe3c632Sopenharmony_ci        output.WriteRawTag(114);
2902ffe3c632Sopenharmony_ci        output.WriteString(OptionalString);
2903ffe3c632Sopenharmony_ci      }
2904ffe3c632Sopenharmony_ci      if (HasOptionalBytes) {
2905ffe3c632Sopenharmony_ci        output.WriteRawTag(122);
2906ffe3c632Sopenharmony_ci        output.WriteBytes(OptionalBytes);
2907ffe3c632Sopenharmony_ci      }
2908ffe3c632Sopenharmony_ci      if (optionalNestedMessage_ != null) {
2909ffe3c632Sopenharmony_ci        output.WriteRawTag(146, 1);
2910ffe3c632Sopenharmony_ci        output.WriteMessage(OptionalNestedMessage);
2911ffe3c632Sopenharmony_ci      }
2912ffe3c632Sopenharmony_ci      if (optionalForeignMessage_ != null) {
2913ffe3c632Sopenharmony_ci        output.WriteRawTag(154, 1);
2914ffe3c632Sopenharmony_ci        output.WriteMessage(OptionalForeignMessage);
2915ffe3c632Sopenharmony_ci      }
2916ffe3c632Sopenharmony_ci      if (HasOptionalNestedEnum) {
2917ffe3c632Sopenharmony_ci        output.WriteRawTag(168, 1);
2918ffe3c632Sopenharmony_ci        output.WriteEnum((int) OptionalNestedEnum);
2919ffe3c632Sopenharmony_ci      }
2920ffe3c632Sopenharmony_ci      if (HasOptionalForeignEnum) {
2921ffe3c632Sopenharmony_ci        output.WriteRawTag(176, 1);
2922ffe3c632Sopenharmony_ci        output.WriteEnum((int) OptionalForeignEnum);
2923ffe3c632Sopenharmony_ci      }
2924ffe3c632Sopenharmony_ci      if (HasOptionalStringPiece) {
2925ffe3c632Sopenharmony_ci        output.WriteRawTag(194, 1);
2926ffe3c632Sopenharmony_ci        output.WriteString(OptionalStringPiece);
2927ffe3c632Sopenharmony_ci      }
2928ffe3c632Sopenharmony_ci      if (HasOptionalCord) {
2929ffe3c632Sopenharmony_ci        output.WriteRawTag(202, 1);
2930ffe3c632Sopenharmony_ci        output.WriteString(OptionalCord);
2931ffe3c632Sopenharmony_ci      }
2932ffe3c632Sopenharmony_ci      if (recursiveMessage_ != null) {
2933ffe3c632Sopenharmony_ci        output.WriteRawTag(218, 1);
2934ffe3c632Sopenharmony_ci        output.WriteMessage(RecursiveMessage);
2935ffe3c632Sopenharmony_ci      }
2936ffe3c632Sopenharmony_ci      repeatedInt32_.WriteTo(ref output, _repeated_repeatedInt32_codec);
2937ffe3c632Sopenharmony_ci      repeatedInt64_.WriteTo(ref output, _repeated_repeatedInt64_codec);
2938ffe3c632Sopenharmony_ci      repeatedUint32_.WriteTo(ref output, _repeated_repeatedUint32_codec);
2939ffe3c632Sopenharmony_ci      repeatedUint64_.WriteTo(ref output, _repeated_repeatedUint64_codec);
2940ffe3c632Sopenharmony_ci      repeatedSint32_.WriteTo(ref output, _repeated_repeatedSint32_codec);
2941ffe3c632Sopenharmony_ci      repeatedSint64_.WriteTo(ref output, _repeated_repeatedSint64_codec);
2942ffe3c632Sopenharmony_ci      repeatedFixed32_.WriteTo(ref output, _repeated_repeatedFixed32_codec);
2943ffe3c632Sopenharmony_ci      repeatedFixed64_.WriteTo(ref output, _repeated_repeatedFixed64_codec);
2944ffe3c632Sopenharmony_ci      repeatedSfixed32_.WriteTo(ref output, _repeated_repeatedSfixed32_codec);
2945ffe3c632Sopenharmony_ci      repeatedSfixed64_.WriteTo(ref output, _repeated_repeatedSfixed64_codec);
2946ffe3c632Sopenharmony_ci      repeatedFloat_.WriteTo(ref output, _repeated_repeatedFloat_codec);
2947ffe3c632Sopenharmony_ci      repeatedDouble_.WriteTo(ref output, _repeated_repeatedDouble_codec);
2948ffe3c632Sopenharmony_ci      repeatedBool_.WriteTo(ref output, _repeated_repeatedBool_codec);
2949ffe3c632Sopenharmony_ci      repeatedString_.WriteTo(ref output, _repeated_repeatedString_codec);
2950ffe3c632Sopenharmony_ci      repeatedBytes_.WriteTo(ref output, _repeated_repeatedBytes_codec);
2951ffe3c632Sopenharmony_ci      repeatedNestedMessage_.WriteTo(ref output, _repeated_repeatedNestedMessage_codec);
2952ffe3c632Sopenharmony_ci      repeatedForeignMessage_.WriteTo(ref output, _repeated_repeatedForeignMessage_codec);
2953ffe3c632Sopenharmony_ci      repeatedNestedEnum_.WriteTo(ref output, _repeated_repeatedNestedEnum_codec);
2954ffe3c632Sopenharmony_ci      repeatedForeignEnum_.WriteTo(ref output, _repeated_repeatedForeignEnum_codec);
2955ffe3c632Sopenharmony_ci      repeatedStringPiece_.WriteTo(ref output, _repeated_repeatedStringPiece_codec);
2956ffe3c632Sopenharmony_ci      repeatedCord_.WriteTo(ref output, _repeated_repeatedCord_codec);
2957ffe3c632Sopenharmony_ci      mapInt32Int32_.WriteTo(ref output, _map_mapInt32Int32_codec);
2958ffe3c632Sopenharmony_ci      mapInt64Int64_.WriteTo(ref output, _map_mapInt64Int64_codec);
2959ffe3c632Sopenharmony_ci      mapUint32Uint32_.WriteTo(ref output, _map_mapUint32Uint32_codec);
2960ffe3c632Sopenharmony_ci      mapUint64Uint64_.WriteTo(ref output, _map_mapUint64Uint64_codec);
2961ffe3c632Sopenharmony_ci      mapSint32Sint32_.WriteTo(ref output, _map_mapSint32Sint32_codec);
2962ffe3c632Sopenharmony_ci      mapSint64Sint64_.WriteTo(ref output, _map_mapSint64Sint64_codec);
2963ffe3c632Sopenharmony_ci      mapFixed32Fixed32_.WriteTo(ref output, _map_mapFixed32Fixed32_codec);
2964ffe3c632Sopenharmony_ci      mapFixed64Fixed64_.WriteTo(ref output, _map_mapFixed64Fixed64_codec);
2965ffe3c632Sopenharmony_ci      mapSfixed32Sfixed32_.WriteTo(ref output, _map_mapSfixed32Sfixed32_codec);
2966ffe3c632Sopenharmony_ci      mapSfixed64Sfixed64_.WriteTo(ref output, _map_mapSfixed64Sfixed64_codec);
2967ffe3c632Sopenharmony_ci      mapInt32Float_.WriteTo(ref output, _map_mapInt32Float_codec);
2968ffe3c632Sopenharmony_ci      mapInt32Double_.WriteTo(ref output, _map_mapInt32Double_codec);
2969ffe3c632Sopenharmony_ci      mapBoolBool_.WriteTo(ref output, _map_mapBoolBool_codec);
2970ffe3c632Sopenharmony_ci      mapStringString_.WriteTo(ref output, _map_mapStringString_codec);
2971ffe3c632Sopenharmony_ci      mapStringBytes_.WriteTo(ref output, _map_mapStringBytes_codec);
2972ffe3c632Sopenharmony_ci      mapStringNestedMessage_.WriteTo(ref output, _map_mapStringNestedMessage_codec);
2973ffe3c632Sopenharmony_ci      mapStringForeignMessage_.WriteTo(ref output, _map_mapStringForeignMessage_codec);
2974ffe3c632Sopenharmony_ci      mapStringNestedEnum_.WriteTo(ref output, _map_mapStringNestedEnum_codec);
2975ffe3c632Sopenharmony_ci      mapStringForeignEnum_.WriteTo(ref output, _map_mapStringForeignEnum_codec);
2976ffe3c632Sopenharmony_ci      packedInt32_.WriteTo(ref output, _repeated_packedInt32_codec);
2977ffe3c632Sopenharmony_ci      packedInt64_.WriteTo(ref output, _repeated_packedInt64_codec);
2978ffe3c632Sopenharmony_ci      packedUint32_.WriteTo(ref output, _repeated_packedUint32_codec);
2979ffe3c632Sopenharmony_ci      packedUint64_.WriteTo(ref output, _repeated_packedUint64_codec);
2980ffe3c632Sopenharmony_ci      packedSint32_.WriteTo(ref output, _repeated_packedSint32_codec);
2981ffe3c632Sopenharmony_ci      packedSint64_.WriteTo(ref output, _repeated_packedSint64_codec);
2982ffe3c632Sopenharmony_ci      packedFixed32_.WriteTo(ref output, _repeated_packedFixed32_codec);
2983ffe3c632Sopenharmony_ci      packedFixed64_.WriteTo(ref output, _repeated_packedFixed64_codec);
2984ffe3c632Sopenharmony_ci      packedSfixed32_.WriteTo(ref output, _repeated_packedSfixed32_codec);
2985ffe3c632Sopenharmony_ci      packedSfixed64_.WriteTo(ref output, _repeated_packedSfixed64_codec);
2986ffe3c632Sopenharmony_ci      packedFloat_.WriteTo(ref output, _repeated_packedFloat_codec);
2987ffe3c632Sopenharmony_ci      packedDouble_.WriteTo(ref output, _repeated_packedDouble_codec);
2988ffe3c632Sopenharmony_ci      packedBool_.WriteTo(ref output, _repeated_packedBool_codec);
2989ffe3c632Sopenharmony_ci      packedNestedEnum_.WriteTo(ref output, _repeated_packedNestedEnum_codec);
2990ffe3c632Sopenharmony_ci      unpackedInt32_.WriteTo(ref output, _repeated_unpackedInt32_codec);
2991ffe3c632Sopenharmony_ci      unpackedInt64_.WriteTo(ref output, _repeated_unpackedInt64_codec);
2992ffe3c632Sopenharmony_ci      unpackedUint32_.WriteTo(ref output, _repeated_unpackedUint32_codec);
2993ffe3c632Sopenharmony_ci      unpackedUint64_.WriteTo(ref output, _repeated_unpackedUint64_codec);
2994ffe3c632Sopenharmony_ci      unpackedSint32_.WriteTo(ref output, _repeated_unpackedSint32_codec);
2995ffe3c632Sopenharmony_ci      unpackedSint64_.WriteTo(ref output, _repeated_unpackedSint64_codec);
2996ffe3c632Sopenharmony_ci      unpackedFixed32_.WriteTo(ref output, _repeated_unpackedFixed32_codec);
2997ffe3c632Sopenharmony_ci      unpackedFixed64_.WriteTo(ref output, _repeated_unpackedFixed64_codec);
2998ffe3c632Sopenharmony_ci      unpackedSfixed32_.WriteTo(ref output, _repeated_unpackedSfixed32_codec);
2999ffe3c632Sopenharmony_ci      unpackedSfixed64_.WriteTo(ref output, _repeated_unpackedSfixed64_codec);
3000ffe3c632Sopenharmony_ci      unpackedFloat_.WriteTo(ref output, _repeated_unpackedFloat_codec);
3001ffe3c632Sopenharmony_ci      unpackedDouble_.WriteTo(ref output, _repeated_unpackedDouble_codec);
3002ffe3c632Sopenharmony_ci      unpackedBool_.WriteTo(ref output, _repeated_unpackedBool_codec);
3003ffe3c632Sopenharmony_ci      unpackedNestedEnum_.WriteTo(ref output, _repeated_unpackedNestedEnum_codec);
3004ffe3c632Sopenharmony_ci      if (HasOneofUint32) {
3005ffe3c632Sopenharmony_ci        output.WriteRawTag(248, 6);
3006ffe3c632Sopenharmony_ci        output.WriteUInt32(OneofUint32);
3007ffe3c632Sopenharmony_ci      }
3008ffe3c632Sopenharmony_ci      if (oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage) {
3009ffe3c632Sopenharmony_ci        output.WriteRawTag(130, 7);
3010ffe3c632Sopenharmony_ci        output.WriteMessage(OneofNestedMessage);
3011ffe3c632Sopenharmony_ci      }
3012ffe3c632Sopenharmony_ci      if (HasOneofString) {
3013ffe3c632Sopenharmony_ci        output.WriteRawTag(138, 7);
3014ffe3c632Sopenharmony_ci        output.WriteString(OneofString);
3015ffe3c632Sopenharmony_ci      }
3016ffe3c632Sopenharmony_ci      if (HasOneofBytes) {
3017ffe3c632Sopenharmony_ci        output.WriteRawTag(146, 7);
3018ffe3c632Sopenharmony_ci        output.WriteBytes(OneofBytes);
3019ffe3c632Sopenharmony_ci      }
3020ffe3c632Sopenharmony_ci      if (HasOneofBool) {
3021ffe3c632Sopenharmony_ci        output.WriteRawTag(152, 7);
3022ffe3c632Sopenharmony_ci        output.WriteBool(OneofBool);
3023ffe3c632Sopenharmony_ci      }
3024ffe3c632Sopenharmony_ci      if (HasOneofUint64) {
3025ffe3c632Sopenharmony_ci        output.WriteRawTag(160, 7);
3026ffe3c632Sopenharmony_ci        output.WriteUInt64(OneofUint64);
3027ffe3c632Sopenharmony_ci      }
3028ffe3c632Sopenharmony_ci      if (HasOneofFloat) {
3029ffe3c632Sopenharmony_ci        output.WriteRawTag(173, 7);
3030ffe3c632Sopenharmony_ci        output.WriteFloat(OneofFloat);
3031ffe3c632Sopenharmony_ci      }
3032ffe3c632Sopenharmony_ci      if (HasOneofDouble) {
3033ffe3c632Sopenharmony_ci        output.WriteRawTag(177, 7);
3034ffe3c632Sopenharmony_ci        output.WriteDouble(OneofDouble);
3035ffe3c632Sopenharmony_ci      }
3036ffe3c632Sopenharmony_ci      if (HasOneofEnum) {
3037ffe3c632Sopenharmony_ci        output.WriteRawTag(184, 7);
3038ffe3c632Sopenharmony_ci        output.WriteEnum((int) OneofEnum);
3039ffe3c632Sopenharmony_ci      }
3040ffe3c632Sopenharmony_ci      if (HasData) {
3041ffe3c632Sopenharmony_ci        output.WriteRawTag(203, 12);
3042ffe3c632Sopenharmony_ci        output.WriteGroup(Data);
3043ffe3c632Sopenharmony_ci        output.WriteRawTag(204, 12);
3044ffe3c632Sopenharmony_ci      }
3045ffe3c632Sopenharmony_ci      if (HasFieldname1) {
3046ffe3c632Sopenharmony_ci        output.WriteRawTag(136, 25);
3047ffe3c632Sopenharmony_ci        output.WriteInt32(Fieldname1);
3048ffe3c632Sopenharmony_ci      }
3049ffe3c632Sopenharmony_ci      if (HasFieldName2) {
3050ffe3c632Sopenharmony_ci        output.WriteRawTag(144, 25);
3051ffe3c632Sopenharmony_ci        output.WriteInt32(FieldName2);
3052ffe3c632Sopenharmony_ci      }
3053ffe3c632Sopenharmony_ci      if (HasFieldName3) {
3054ffe3c632Sopenharmony_ci        output.WriteRawTag(152, 25);
3055ffe3c632Sopenharmony_ci        output.WriteInt32(FieldName3);
3056ffe3c632Sopenharmony_ci      }
3057ffe3c632Sopenharmony_ci      if (HasFieldName4) {
3058ffe3c632Sopenharmony_ci        output.WriteRawTag(160, 25);
3059ffe3c632Sopenharmony_ci        output.WriteInt32(FieldName4);
3060ffe3c632Sopenharmony_ci      }
3061ffe3c632Sopenharmony_ci      if (HasField0Name5) {
3062ffe3c632Sopenharmony_ci        output.WriteRawTag(168, 25);
3063ffe3c632Sopenharmony_ci        output.WriteInt32(Field0Name5);
3064ffe3c632Sopenharmony_ci      }
3065ffe3c632Sopenharmony_ci      if (HasField0Name6) {
3066ffe3c632Sopenharmony_ci        output.WriteRawTag(176, 25);
3067ffe3c632Sopenharmony_ci        output.WriteInt32(Field0Name6);
3068ffe3c632Sopenharmony_ci      }
3069ffe3c632Sopenharmony_ci      if (HasFieldName7) {
3070ffe3c632Sopenharmony_ci        output.WriteRawTag(184, 25);
3071ffe3c632Sopenharmony_ci        output.WriteInt32(FieldName7);
3072ffe3c632Sopenharmony_ci      }
3073ffe3c632Sopenharmony_ci      if (HasFieldName8) {
3074ffe3c632Sopenharmony_ci        output.WriteRawTag(192, 25);
3075ffe3c632Sopenharmony_ci        output.WriteInt32(FieldName8);
3076ffe3c632Sopenharmony_ci      }
3077ffe3c632Sopenharmony_ci      if (HasFieldName9) {
3078ffe3c632Sopenharmony_ci        output.WriteRawTag(200, 25);
3079ffe3c632Sopenharmony_ci        output.WriteInt32(FieldName9);
3080ffe3c632Sopenharmony_ci      }
3081ffe3c632Sopenharmony_ci      if (HasFieldName10) {
3082ffe3c632Sopenharmony_ci        output.WriteRawTag(208, 25);
3083ffe3c632Sopenharmony_ci        output.WriteInt32(FieldName10);
3084ffe3c632Sopenharmony_ci      }
3085ffe3c632Sopenharmony_ci      if (HasFIELDNAME11) {
3086ffe3c632Sopenharmony_ci        output.WriteRawTag(216, 25);
3087ffe3c632Sopenharmony_ci        output.WriteInt32(FIELDNAME11);
3088ffe3c632Sopenharmony_ci      }
3089ffe3c632Sopenharmony_ci      if (HasFIELDName12) {
3090ffe3c632Sopenharmony_ci        output.WriteRawTag(224, 25);
3091ffe3c632Sopenharmony_ci        output.WriteInt32(FIELDName12);
3092ffe3c632Sopenharmony_ci      }
3093ffe3c632Sopenharmony_ci      if (HasFieldName13) {
3094ffe3c632Sopenharmony_ci        output.WriteRawTag(232, 25);
3095ffe3c632Sopenharmony_ci        output.WriteInt32(FieldName13);
3096ffe3c632Sopenharmony_ci      }
3097ffe3c632Sopenharmony_ci      if (HasFieldName14) {
3098ffe3c632Sopenharmony_ci        output.WriteRawTag(240, 25);
3099ffe3c632Sopenharmony_ci        output.WriteInt32(FieldName14);
3100ffe3c632Sopenharmony_ci      }
3101ffe3c632Sopenharmony_ci      if (HasFieldName15) {
3102ffe3c632Sopenharmony_ci        output.WriteRawTag(248, 25);
3103ffe3c632Sopenharmony_ci        output.WriteInt32(FieldName15);
3104ffe3c632Sopenharmony_ci      }
3105ffe3c632Sopenharmony_ci      if (HasFieldName16) {
3106ffe3c632Sopenharmony_ci        output.WriteRawTag(128, 26);
3107ffe3c632Sopenharmony_ci        output.WriteInt32(FieldName16);
3108ffe3c632Sopenharmony_ci      }
3109ffe3c632Sopenharmony_ci      if (HasFieldName17) {
3110ffe3c632Sopenharmony_ci        output.WriteRawTag(136, 26);
3111ffe3c632Sopenharmony_ci        output.WriteInt32(FieldName17);
3112ffe3c632Sopenharmony_ci      }
3113ffe3c632Sopenharmony_ci      if (HasFieldName18) {
3114ffe3c632Sopenharmony_ci        output.WriteRawTag(144, 26);
3115ffe3c632Sopenharmony_ci        output.WriteInt32(FieldName18);
3116ffe3c632Sopenharmony_ci      }
3117ffe3c632Sopenharmony_ci      if (_extensions != null) {
3118ffe3c632Sopenharmony_ci        _extensions.WriteTo(ref output);
3119ffe3c632Sopenharmony_ci      }
3120ffe3c632Sopenharmony_ci      if (_unknownFields != null) {
3121ffe3c632Sopenharmony_ci        _unknownFields.WriteTo(ref output);
3122ffe3c632Sopenharmony_ci      }
3123ffe3c632Sopenharmony_ci    }
3124ffe3c632Sopenharmony_ci    #endif
3125ffe3c632Sopenharmony_ci
3126ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3127ffe3c632Sopenharmony_ci    public int CalculateSize() {
3128ffe3c632Sopenharmony_ci      int size = 0;
3129ffe3c632Sopenharmony_ci      if (HasOptionalInt32) {
3130ffe3c632Sopenharmony_ci        size += 1 + pb::CodedOutputStream.ComputeInt32Size(OptionalInt32);
3131ffe3c632Sopenharmony_ci      }
3132ffe3c632Sopenharmony_ci      if (HasOptionalInt64) {
3133ffe3c632Sopenharmony_ci        size += 1 + pb::CodedOutputStream.ComputeInt64Size(OptionalInt64);
3134ffe3c632Sopenharmony_ci      }
3135ffe3c632Sopenharmony_ci      if (HasOptionalUint32) {
3136ffe3c632Sopenharmony_ci        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(OptionalUint32);
3137ffe3c632Sopenharmony_ci      }
3138ffe3c632Sopenharmony_ci      if (HasOptionalUint64) {
3139ffe3c632Sopenharmony_ci        size += 1 + pb::CodedOutputStream.ComputeUInt64Size(OptionalUint64);
3140ffe3c632Sopenharmony_ci      }
3141ffe3c632Sopenharmony_ci      if (HasOptionalSint32) {
3142ffe3c632Sopenharmony_ci        size += 1 + pb::CodedOutputStream.ComputeSInt32Size(OptionalSint32);
3143ffe3c632Sopenharmony_ci      }
3144ffe3c632Sopenharmony_ci      if (HasOptionalSint64) {
3145ffe3c632Sopenharmony_ci        size += 1 + pb::CodedOutputStream.ComputeSInt64Size(OptionalSint64);
3146ffe3c632Sopenharmony_ci      }
3147ffe3c632Sopenharmony_ci      if (HasOptionalFixed32) {
3148ffe3c632Sopenharmony_ci        size += 1 + 4;
3149ffe3c632Sopenharmony_ci      }
3150ffe3c632Sopenharmony_ci      if (HasOptionalFixed64) {
3151ffe3c632Sopenharmony_ci        size += 1 + 8;
3152ffe3c632Sopenharmony_ci      }
3153ffe3c632Sopenharmony_ci      if (HasOptionalSfixed32) {
3154ffe3c632Sopenharmony_ci        size += 1 + 4;
3155ffe3c632Sopenharmony_ci      }
3156ffe3c632Sopenharmony_ci      if (HasOptionalSfixed64) {
3157ffe3c632Sopenharmony_ci        size += 1 + 8;
3158ffe3c632Sopenharmony_ci      }
3159ffe3c632Sopenharmony_ci      if (HasOptionalFloat) {
3160ffe3c632Sopenharmony_ci        size += 1 + 4;
3161ffe3c632Sopenharmony_ci      }
3162ffe3c632Sopenharmony_ci      if (HasOptionalDouble) {
3163ffe3c632Sopenharmony_ci        size += 1 + 8;
3164ffe3c632Sopenharmony_ci      }
3165ffe3c632Sopenharmony_ci      if (HasOptionalBool) {
3166ffe3c632Sopenharmony_ci        size += 1 + 1;
3167ffe3c632Sopenharmony_ci      }
3168ffe3c632Sopenharmony_ci      if (HasOptionalString) {
3169ffe3c632Sopenharmony_ci        size += 1 + pb::CodedOutputStream.ComputeStringSize(OptionalString);
3170ffe3c632Sopenharmony_ci      }
3171ffe3c632Sopenharmony_ci      if (HasOptionalBytes) {
3172ffe3c632Sopenharmony_ci        size += 1 + pb::CodedOutputStream.ComputeBytesSize(OptionalBytes);
3173ffe3c632Sopenharmony_ci      }
3174ffe3c632Sopenharmony_ci      if (optionalNestedMessage_ != null) {
3175ffe3c632Sopenharmony_ci        size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalNestedMessage);
3176ffe3c632Sopenharmony_ci      }
3177ffe3c632Sopenharmony_ci      if (optionalForeignMessage_ != null) {
3178ffe3c632Sopenharmony_ci        size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalForeignMessage);
3179ffe3c632Sopenharmony_ci      }
3180ffe3c632Sopenharmony_ci      if (HasOptionalNestedEnum) {
3181ffe3c632Sopenharmony_ci        size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) OptionalNestedEnum);
3182ffe3c632Sopenharmony_ci      }
3183ffe3c632Sopenharmony_ci      if (HasOptionalForeignEnum) {
3184ffe3c632Sopenharmony_ci        size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) OptionalForeignEnum);
3185ffe3c632Sopenharmony_ci      }
3186ffe3c632Sopenharmony_ci      if (HasOptionalStringPiece) {
3187ffe3c632Sopenharmony_ci        size += 2 + pb::CodedOutputStream.ComputeStringSize(OptionalStringPiece);
3188ffe3c632Sopenharmony_ci      }
3189ffe3c632Sopenharmony_ci      if (HasOptionalCord) {
3190ffe3c632Sopenharmony_ci        size += 2 + pb::CodedOutputStream.ComputeStringSize(OptionalCord);
3191ffe3c632Sopenharmony_ci      }
3192ffe3c632Sopenharmony_ci      if (recursiveMessage_ != null) {
3193ffe3c632Sopenharmony_ci        size += 2 + pb::CodedOutputStream.ComputeMessageSize(RecursiveMessage);
3194ffe3c632Sopenharmony_ci      }
3195ffe3c632Sopenharmony_ci      size += repeatedInt32_.CalculateSize(_repeated_repeatedInt32_codec);
3196ffe3c632Sopenharmony_ci      size += repeatedInt64_.CalculateSize(_repeated_repeatedInt64_codec);
3197ffe3c632Sopenharmony_ci      size += repeatedUint32_.CalculateSize(_repeated_repeatedUint32_codec);
3198ffe3c632Sopenharmony_ci      size += repeatedUint64_.CalculateSize(_repeated_repeatedUint64_codec);
3199ffe3c632Sopenharmony_ci      size += repeatedSint32_.CalculateSize(_repeated_repeatedSint32_codec);
3200ffe3c632Sopenharmony_ci      size += repeatedSint64_.CalculateSize(_repeated_repeatedSint64_codec);
3201ffe3c632Sopenharmony_ci      size += repeatedFixed32_.CalculateSize(_repeated_repeatedFixed32_codec);
3202ffe3c632Sopenharmony_ci      size += repeatedFixed64_.CalculateSize(_repeated_repeatedFixed64_codec);
3203ffe3c632Sopenharmony_ci      size += repeatedSfixed32_.CalculateSize(_repeated_repeatedSfixed32_codec);
3204ffe3c632Sopenharmony_ci      size += repeatedSfixed64_.CalculateSize(_repeated_repeatedSfixed64_codec);
3205ffe3c632Sopenharmony_ci      size += repeatedFloat_.CalculateSize(_repeated_repeatedFloat_codec);
3206ffe3c632Sopenharmony_ci      size += repeatedDouble_.CalculateSize(_repeated_repeatedDouble_codec);
3207ffe3c632Sopenharmony_ci      size += repeatedBool_.CalculateSize(_repeated_repeatedBool_codec);
3208ffe3c632Sopenharmony_ci      size += repeatedString_.CalculateSize(_repeated_repeatedString_codec);
3209ffe3c632Sopenharmony_ci      size += repeatedBytes_.CalculateSize(_repeated_repeatedBytes_codec);
3210ffe3c632Sopenharmony_ci      size += repeatedNestedMessage_.CalculateSize(_repeated_repeatedNestedMessage_codec);
3211ffe3c632Sopenharmony_ci      size += repeatedForeignMessage_.CalculateSize(_repeated_repeatedForeignMessage_codec);
3212ffe3c632Sopenharmony_ci      size += repeatedNestedEnum_.CalculateSize(_repeated_repeatedNestedEnum_codec);
3213ffe3c632Sopenharmony_ci      size += repeatedForeignEnum_.CalculateSize(_repeated_repeatedForeignEnum_codec);
3214ffe3c632Sopenharmony_ci      size += repeatedStringPiece_.CalculateSize(_repeated_repeatedStringPiece_codec);
3215ffe3c632Sopenharmony_ci      size += repeatedCord_.CalculateSize(_repeated_repeatedCord_codec);
3216ffe3c632Sopenharmony_ci      size += packedInt32_.CalculateSize(_repeated_packedInt32_codec);
3217ffe3c632Sopenharmony_ci      size += packedInt64_.CalculateSize(_repeated_packedInt64_codec);
3218ffe3c632Sopenharmony_ci      size += packedUint32_.CalculateSize(_repeated_packedUint32_codec);
3219ffe3c632Sopenharmony_ci      size += packedUint64_.CalculateSize(_repeated_packedUint64_codec);
3220ffe3c632Sopenharmony_ci      size += packedSint32_.CalculateSize(_repeated_packedSint32_codec);
3221ffe3c632Sopenharmony_ci      size += packedSint64_.CalculateSize(_repeated_packedSint64_codec);
3222ffe3c632Sopenharmony_ci      size += packedFixed32_.CalculateSize(_repeated_packedFixed32_codec);
3223ffe3c632Sopenharmony_ci      size += packedFixed64_.CalculateSize(_repeated_packedFixed64_codec);
3224ffe3c632Sopenharmony_ci      size += packedSfixed32_.CalculateSize(_repeated_packedSfixed32_codec);
3225ffe3c632Sopenharmony_ci      size += packedSfixed64_.CalculateSize(_repeated_packedSfixed64_codec);
3226ffe3c632Sopenharmony_ci      size += packedFloat_.CalculateSize(_repeated_packedFloat_codec);
3227ffe3c632Sopenharmony_ci      size += packedDouble_.CalculateSize(_repeated_packedDouble_codec);
3228ffe3c632Sopenharmony_ci      size += packedBool_.CalculateSize(_repeated_packedBool_codec);
3229ffe3c632Sopenharmony_ci      size += packedNestedEnum_.CalculateSize(_repeated_packedNestedEnum_codec);
3230ffe3c632Sopenharmony_ci      size += unpackedInt32_.CalculateSize(_repeated_unpackedInt32_codec);
3231ffe3c632Sopenharmony_ci      size += unpackedInt64_.CalculateSize(_repeated_unpackedInt64_codec);
3232ffe3c632Sopenharmony_ci      size += unpackedUint32_.CalculateSize(_repeated_unpackedUint32_codec);
3233ffe3c632Sopenharmony_ci      size += unpackedUint64_.CalculateSize(_repeated_unpackedUint64_codec);
3234ffe3c632Sopenharmony_ci      size += unpackedSint32_.CalculateSize(_repeated_unpackedSint32_codec);
3235ffe3c632Sopenharmony_ci      size += unpackedSint64_.CalculateSize(_repeated_unpackedSint64_codec);
3236ffe3c632Sopenharmony_ci      size += unpackedFixed32_.CalculateSize(_repeated_unpackedFixed32_codec);
3237ffe3c632Sopenharmony_ci      size += unpackedFixed64_.CalculateSize(_repeated_unpackedFixed64_codec);
3238ffe3c632Sopenharmony_ci      size += unpackedSfixed32_.CalculateSize(_repeated_unpackedSfixed32_codec);
3239ffe3c632Sopenharmony_ci      size += unpackedSfixed64_.CalculateSize(_repeated_unpackedSfixed64_codec);
3240ffe3c632Sopenharmony_ci      size += unpackedFloat_.CalculateSize(_repeated_unpackedFloat_codec);
3241ffe3c632Sopenharmony_ci      size += unpackedDouble_.CalculateSize(_repeated_unpackedDouble_codec);
3242ffe3c632Sopenharmony_ci      size += unpackedBool_.CalculateSize(_repeated_unpackedBool_codec);
3243ffe3c632Sopenharmony_ci      size += unpackedNestedEnum_.CalculateSize(_repeated_unpackedNestedEnum_codec);
3244ffe3c632Sopenharmony_ci      size += mapInt32Int32_.CalculateSize(_map_mapInt32Int32_codec);
3245ffe3c632Sopenharmony_ci      size += mapInt64Int64_.CalculateSize(_map_mapInt64Int64_codec);
3246ffe3c632Sopenharmony_ci      size += mapUint32Uint32_.CalculateSize(_map_mapUint32Uint32_codec);
3247ffe3c632Sopenharmony_ci      size += mapUint64Uint64_.CalculateSize(_map_mapUint64Uint64_codec);
3248ffe3c632Sopenharmony_ci      size += mapSint32Sint32_.CalculateSize(_map_mapSint32Sint32_codec);
3249ffe3c632Sopenharmony_ci      size += mapSint64Sint64_.CalculateSize(_map_mapSint64Sint64_codec);
3250ffe3c632Sopenharmony_ci      size += mapFixed32Fixed32_.CalculateSize(_map_mapFixed32Fixed32_codec);
3251ffe3c632Sopenharmony_ci      size += mapFixed64Fixed64_.CalculateSize(_map_mapFixed64Fixed64_codec);
3252ffe3c632Sopenharmony_ci      size += mapSfixed32Sfixed32_.CalculateSize(_map_mapSfixed32Sfixed32_codec);
3253ffe3c632Sopenharmony_ci      size += mapSfixed64Sfixed64_.CalculateSize(_map_mapSfixed64Sfixed64_codec);
3254ffe3c632Sopenharmony_ci      size += mapInt32Float_.CalculateSize(_map_mapInt32Float_codec);
3255ffe3c632Sopenharmony_ci      size += mapInt32Double_.CalculateSize(_map_mapInt32Double_codec);
3256ffe3c632Sopenharmony_ci      size += mapBoolBool_.CalculateSize(_map_mapBoolBool_codec);
3257ffe3c632Sopenharmony_ci      size += mapStringString_.CalculateSize(_map_mapStringString_codec);
3258ffe3c632Sopenharmony_ci      size += mapStringBytes_.CalculateSize(_map_mapStringBytes_codec);
3259ffe3c632Sopenharmony_ci      size += mapStringNestedMessage_.CalculateSize(_map_mapStringNestedMessage_codec);
3260ffe3c632Sopenharmony_ci      size += mapStringForeignMessage_.CalculateSize(_map_mapStringForeignMessage_codec);
3261ffe3c632Sopenharmony_ci      size += mapStringNestedEnum_.CalculateSize(_map_mapStringNestedEnum_codec);
3262ffe3c632Sopenharmony_ci      size += mapStringForeignEnum_.CalculateSize(_map_mapStringForeignEnum_codec);
3263ffe3c632Sopenharmony_ci      if (HasOneofUint32) {
3264ffe3c632Sopenharmony_ci        size += 2 + pb::CodedOutputStream.ComputeUInt32Size(OneofUint32);
3265ffe3c632Sopenharmony_ci      }
3266ffe3c632Sopenharmony_ci      if (oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage) {
3267ffe3c632Sopenharmony_ci        size += 2 + pb::CodedOutputStream.ComputeMessageSize(OneofNestedMessage);
3268ffe3c632Sopenharmony_ci      }
3269ffe3c632Sopenharmony_ci      if (HasOneofString) {
3270ffe3c632Sopenharmony_ci        size += 2 + pb::CodedOutputStream.ComputeStringSize(OneofString);
3271ffe3c632Sopenharmony_ci      }
3272ffe3c632Sopenharmony_ci      if (HasOneofBytes) {
3273ffe3c632Sopenharmony_ci        size += 2 + pb::CodedOutputStream.ComputeBytesSize(OneofBytes);
3274ffe3c632Sopenharmony_ci      }
3275ffe3c632Sopenharmony_ci      if (HasOneofBool) {
3276ffe3c632Sopenharmony_ci        size += 2 + 1;
3277ffe3c632Sopenharmony_ci      }
3278ffe3c632Sopenharmony_ci      if (HasOneofUint64) {
3279ffe3c632Sopenharmony_ci        size += 2 + pb::CodedOutputStream.ComputeUInt64Size(OneofUint64);
3280ffe3c632Sopenharmony_ci      }
3281ffe3c632Sopenharmony_ci      if (HasOneofFloat) {
3282ffe3c632Sopenharmony_ci        size += 2 + 4;
3283ffe3c632Sopenharmony_ci      }
3284ffe3c632Sopenharmony_ci      if (HasOneofDouble) {
3285ffe3c632Sopenharmony_ci        size += 2 + 8;
3286ffe3c632Sopenharmony_ci      }
3287ffe3c632Sopenharmony_ci      if (HasOneofEnum) {
3288ffe3c632Sopenharmony_ci        size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) OneofEnum);
3289ffe3c632Sopenharmony_ci      }
3290ffe3c632Sopenharmony_ci      if (HasData) {
3291ffe3c632Sopenharmony_ci        size += 4 + pb::CodedOutputStream.ComputeGroupSize(Data);
3292ffe3c632Sopenharmony_ci      }
3293ffe3c632Sopenharmony_ci      if (HasFieldname1) {
3294ffe3c632Sopenharmony_ci        size += 2 + pb::CodedOutputStream.ComputeInt32Size(Fieldname1);
3295ffe3c632Sopenharmony_ci      }
3296ffe3c632Sopenharmony_ci      if (HasFieldName2) {
3297ffe3c632Sopenharmony_ci        size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName2);
3298ffe3c632Sopenharmony_ci      }
3299ffe3c632Sopenharmony_ci      if (HasFieldName3) {
3300ffe3c632Sopenharmony_ci        size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName3);
3301ffe3c632Sopenharmony_ci      }
3302ffe3c632Sopenharmony_ci      if (HasFieldName4) {
3303ffe3c632Sopenharmony_ci        size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName4);
3304ffe3c632Sopenharmony_ci      }
3305ffe3c632Sopenharmony_ci      if (HasField0Name5) {
3306ffe3c632Sopenharmony_ci        size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field0Name5);
3307ffe3c632Sopenharmony_ci      }
3308ffe3c632Sopenharmony_ci      if (HasField0Name6) {
3309ffe3c632Sopenharmony_ci        size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field0Name6);
3310ffe3c632Sopenharmony_ci      }
3311ffe3c632Sopenharmony_ci      if (HasFieldName7) {
3312ffe3c632Sopenharmony_ci        size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName7);
3313ffe3c632Sopenharmony_ci      }
3314ffe3c632Sopenharmony_ci      if (HasFieldName8) {
3315ffe3c632Sopenharmony_ci        size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName8);
3316ffe3c632Sopenharmony_ci      }
3317ffe3c632Sopenharmony_ci      if (HasFieldName9) {
3318ffe3c632Sopenharmony_ci        size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName9);
3319ffe3c632Sopenharmony_ci      }
3320ffe3c632Sopenharmony_ci      if (HasFieldName10) {
3321ffe3c632Sopenharmony_ci        size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName10);
3322ffe3c632Sopenharmony_ci      }
3323ffe3c632Sopenharmony_ci      if (HasFIELDNAME11) {
3324ffe3c632Sopenharmony_ci        size += 2 + pb::CodedOutputStream.ComputeInt32Size(FIELDNAME11);
3325ffe3c632Sopenharmony_ci      }
3326ffe3c632Sopenharmony_ci      if (HasFIELDName12) {
3327ffe3c632Sopenharmony_ci        size += 2 + pb::CodedOutputStream.ComputeInt32Size(FIELDName12);
3328ffe3c632Sopenharmony_ci      }
3329ffe3c632Sopenharmony_ci      if (HasFieldName13) {
3330ffe3c632Sopenharmony_ci        size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName13);
3331ffe3c632Sopenharmony_ci      }
3332ffe3c632Sopenharmony_ci      if (HasFieldName14) {
3333ffe3c632Sopenharmony_ci        size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName14);
3334ffe3c632Sopenharmony_ci      }
3335ffe3c632Sopenharmony_ci      if (HasFieldName15) {
3336ffe3c632Sopenharmony_ci        size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName15);
3337ffe3c632Sopenharmony_ci      }
3338ffe3c632Sopenharmony_ci      if (HasFieldName16) {
3339ffe3c632Sopenharmony_ci        size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName16);
3340ffe3c632Sopenharmony_ci      }
3341ffe3c632Sopenharmony_ci      if (HasFieldName17) {
3342ffe3c632Sopenharmony_ci        size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName17);
3343ffe3c632Sopenharmony_ci      }
3344ffe3c632Sopenharmony_ci      if (HasFieldName18) {
3345ffe3c632Sopenharmony_ci        size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName18);
3346ffe3c632Sopenharmony_ci      }
3347ffe3c632Sopenharmony_ci      if (_extensions != null) {
3348ffe3c632Sopenharmony_ci        size += _extensions.CalculateSize();
3349ffe3c632Sopenharmony_ci      }
3350ffe3c632Sopenharmony_ci      if (_unknownFields != null) {
3351ffe3c632Sopenharmony_ci        size += _unknownFields.CalculateSize();
3352ffe3c632Sopenharmony_ci      }
3353ffe3c632Sopenharmony_ci      return size;
3354ffe3c632Sopenharmony_ci    }
3355ffe3c632Sopenharmony_ci
3356ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3357ffe3c632Sopenharmony_ci    public void MergeFrom(TestAllTypesProto2 other) {
3358ffe3c632Sopenharmony_ci      if (other == null) {
3359ffe3c632Sopenharmony_ci        return;
3360ffe3c632Sopenharmony_ci      }
3361ffe3c632Sopenharmony_ci      if (other.HasOptionalInt32) {
3362ffe3c632Sopenharmony_ci        OptionalInt32 = other.OptionalInt32;
3363ffe3c632Sopenharmony_ci      }
3364ffe3c632Sopenharmony_ci      if (other.HasOptionalInt64) {
3365ffe3c632Sopenharmony_ci        OptionalInt64 = other.OptionalInt64;
3366ffe3c632Sopenharmony_ci      }
3367ffe3c632Sopenharmony_ci      if (other.HasOptionalUint32) {
3368ffe3c632Sopenharmony_ci        OptionalUint32 = other.OptionalUint32;
3369ffe3c632Sopenharmony_ci      }
3370ffe3c632Sopenharmony_ci      if (other.HasOptionalUint64) {
3371ffe3c632Sopenharmony_ci        OptionalUint64 = other.OptionalUint64;
3372ffe3c632Sopenharmony_ci      }
3373ffe3c632Sopenharmony_ci      if (other.HasOptionalSint32) {
3374ffe3c632Sopenharmony_ci        OptionalSint32 = other.OptionalSint32;
3375ffe3c632Sopenharmony_ci      }
3376ffe3c632Sopenharmony_ci      if (other.HasOptionalSint64) {
3377ffe3c632Sopenharmony_ci        OptionalSint64 = other.OptionalSint64;
3378ffe3c632Sopenharmony_ci      }
3379ffe3c632Sopenharmony_ci      if (other.HasOptionalFixed32) {
3380ffe3c632Sopenharmony_ci        OptionalFixed32 = other.OptionalFixed32;
3381ffe3c632Sopenharmony_ci      }
3382ffe3c632Sopenharmony_ci      if (other.HasOptionalFixed64) {
3383ffe3c632Sopenharmony_ci        OptionalFixed64 = other.OptionalFixed64;
3384ffe3c632Sopenharmony_ci      }
3385ffe3c632Sopenharmony_ci      if (other.HasOptionalSfixed32) {
3386ffe3c632Sopenharmony_ci        OptionalSfixed32 = other.OptionalSfixed32;
3387ffe3c632Sopenharmony_ci      }
3388ffe3c632Sopenharmony_ci      if (other.HasOptionalSfixed64) {
3389ffe3c632Sopenharmony_ci        OptionalSfixed64 = other.OptionalSfixed64;
3390ffe3c632Sopenharmony_ci      }
3391ffe3c632Sopenharmony_ci      if (other.HasOptionalFloat) {
3392ffe3c632Sopenharmony_ci        OptionalFloat = other.OptionalFloat;
3393ffe3c632Sopenharmony_ci      }
3394ffe3c632Sopenharmony_ci      if (other.HasOptionalDouble) {
3395ffe3c632Sopenharmony_ci        OptionalDouble = other.OptionalDouble;
3396ffe3c632Sopenharmony_ci      }
3397ffe3c632Sopenharmony_ci      if (other.HasOptionalBool) {
3398ffe3c632Sopenharmony_ci        OptionalBool = other.OptionalBool;
3399ffe3c632Sopenharmony_ci      }
3400ffe3c632Sopenharmony_ci      if (other.HasOptionalString) {
3401ffe3c632Sopenharmony_ci        OptionalString = other.OptionalString;
3402ffe3c632Sopenharmony_ci      }
3403ffe3c632Sopenharmony_ci      if (other.HasOptionalBytes) {
3404ffe3c632Sopenharmony_ci        OptionalBytes = other.OptionalBytes;
3405ffe3c632Sopenharmony_ci      }
3406ffe3c632Sopenharmony_ci      if (other.optionalNestedMessage_ != null) {
3407ffe3c632Sopenharmony_ci        if (optionalNestedMessage_ == null) {
3408ffe3c632Sopenharmony_ci          OptionalNestedMessage = new global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedMessage();
3409ffe3c632Sopenharmony_ci        }
3410ffe3c632Sopenharmony_ci        OptionalNestedMessage.MergeFrom(other.OptionalNestedMessage);
3411ffe3c632Sopenharmony_ci      }
3412ffe3c632Sopenharmony_ci      if (other.optionalForeignMessage_ != null) {
3413ffe3c632Sopenharmony_ci        if (optionalForeignMessage_ == null) {
3414ffe3c632Sopenharmony_ci          OptionalForeignMessage = new global::ProtobufTestMessages.Proto2.ForeignMessageProto2();
3415ffe3c632Sopenharmony_ci        }
3416ffe3c632Sopenharmony_ci        OptionalForeignMessage.MergeFrom(other.OptionalForeignMessage);
3417ffe3c632Sopenharmony_ci      }
3418ffe3c632Sopenharmony_ci      if (other.HasOptionalNestedEnum) {
3419ffe3c632Sopenharmony_ci        OptionalNestedEnum = other.OptionalNestedEnum;
3420ffe3c632Sopenharmony_ci      }
3421ffe3c632Sopenharmony_ci      if (other.HasOptionalForeignEnum) {
3422ffe3c632Sopenharmony_ci        OptionalForeignEnum = other.OptionalForeignEnum;
3423ffe3c632Sopenharmony_ci      }
3424ffe3c632Sopenharmony_ci      if (other.HasOptionalStringPiece) {
3425ffe3c632Sopenharmony_ci        OptionalStringPiece = other.OptionalStringPiece;
3426ffe3c632Sopenharmony_ci      }
3427ffe3c632Sopenharmony_ci      if (other.HasOptionalCord) {
3428ffe3c632Sopenharmony_ci        OptionalCord = other.OptionalCord;
3429ffe3c632Sopenharmony_ci      }
3430ffe3c632Sopenharmony_ci      if (other.recursiveMessage_ != null) {
3431ffe3c632Sopenharmony_ci        if (recursiveMessage_ == null) {
3432ffe3c632Sopenharmony_ci          RecursiveMessage = new global::ProtobufTestMessages.Proto2.TestAllTypesProto2();
3433ffe3c632Sopenharmony_ci        }
3434ffe3c632Sopenharmony_ci        RecursiveMessage.MergeFrom(other.RecursiveMessage);
3435ffe3c632Sopenharmony_ci      }
3436ffe3c632Sopenharmony_ci      repeatedInt32_.Add(other.repeatedInt32_);
3437ffe3c632Sopenharmony_ci      repeatedInt64_.Add(other.repeatedInt64_);
3438ffe3c632Sopenharmony_ci      repeatedUint32_.Add(other.repeatedUint32_);
3439ffe3c632Sopenharmony_ci      repeatedUint64_.Add(other.repeatedUint64_);
3440ffe3c632Sopenharmony_ci      repeatedSint32_.Add(other.repeatedSint32_);
3441ffe3c632Sopenharmony_ci      repeatedSint64_.Add(other.repeatedSint64_);
3442ffe3c632Sopenharmony_ci      repeatedFixed32_.Add(other.repeatedFixed32_);
3443ffe3c632Sopenharmony_ci      repeatedFixed64_.Add(other.repeatedFixed64_);
3444ffe3c632Sopenharmony_ci      repeatedSfixed32_.Add(other.repeatedSfixed32_);
3445ffe3c632Sopenharmony_ci      repeatedSfixed64_.Add(other.repeatedSfixed64_);
3446ffe3c632Sopenharmony_ci      repeatedFloat_.Add(other.repeatedFloat_);
3447ffe3c632Sopenharmony_ci      repeatedDouble_.Add(other.repeatedDouble_);
3448ffe3c632Sopenharmony_ci      repeatedBool_.Add(other.repeatedBool_);
3449ffe3c632Sopenharmony_ci      repeatedString_.Add(other.repeatedString_);
3450ffe3c632Sopenharmony_ci      repeatedBytes_.Add(other.repeatedBytes_);
3451ffe3c632Sopenharmony_ci      repeatedNestedMessage_.Add(other.repeatedNestedMessage_);
3452ffe3c632Sopenharmony_ci      repeatedForeignMessage_.Add(other.repeatedForeignMessage_);
3453ffe3c632Sopenharmony_ci      repeatedNestedEnum_.Add(other.repeatedNestedEnum_);
3454ffe3c632Sopenharmony_ci      repeatedForeignEnum_.Add(other.repeatedForeignEnum_);
3455ffe3c632Sopenharmony_ci      repeatedStringPiece_.Add(other.repeatedStringPiece_);
3456ffe3c632Sopenharmony_ci      repeatedCord_.Add(other.repeatedCord_);
3457ffe3c632Sopenharmony_ci      packedInt32_.Add(other.packedInt32_);
3458ffe3c632Sopenharmony_ci      packedInt64_.Add(other.packedInt64_);
3459ffe3c632Sopenharmony_ci      packedUint32_.Add(other.packedUint32_);
3460ffe3c632Sopenharmony_ci      packedUint64_.Add(other.packedUint64_);
3461ffe3c632Sopenharmony_ci      packedSint32_.Add(other.packedSint32_);
3462ffe3c632Sopenharmony_ci      packedSint64_.Add(other.packedSint64_);
3463ffe3c632Sopenharmony_ci      packedFixed32_.Add(other.packedFixed32_);
3464ffe3c632Sopenharmony_ci      packedFixed64_.Add(other.packedFixed64_);
3465ffe3c632Sopenharmony_ci      packedSfixed32_.Add(other.packedSfixed32_);
3466ffe3c632Sopenharmony_ci      packedSfixed64_.Add(other.packedSfixed64_);
3467ffe3c632Sopenharmony_ci      packedFloat_.Add(other.packedFloat_);
3468ffe3c632Sopenharmony_ci      packedDouble_.Add(other.packedDouble_);
3469ffe3c632Sopenharmony_ci      packedBool_.Add(other.packedBool_);
3470ffe3c632Sopenharmony_ci      packedNestedEnum_.Add(other.packedNestedEnum_);
3471ffe3c632Sopenharmony_ci      unpackedInt32_.Add(other.unpackedInt32_);
3472ffe3c632Sopenharmony_ci      unpackedInt64_.Add(other.unpackedInt64_);
3473ffe3c632Sopenharmony_ci      unpackedUint32_.Add(other.unpackedUint32_);
3474ffe3c632Sopenharmony_ci      unpackedUint64_.Add(other.unpackedUint64_);
3475ffe3c632Sopenharmony_ci      unpackedSint32_.Add(other.unpackedSint32_);
3476ffe3c632Sopenharmony_ci      unpackedSint64_.Add(other.unpackedSint64_);
3477ffe3c632Sopenharmony_ci      unpackedFixed32_.Add(other.unpackedFixed32_);
3478ffe3c632Sopenharmony_ci      unpackedFixed64_.Add(other.unpackedFixed64_);
3479ffe3c632Sopenharmony_ci      unpackedSfixed32_.Add(other.unpackedSfixed32_);
3480ffe3c632Sopenharmony_ci      unpackedSfixed64_.Add(other.unpackedSfixed64_);
3481ffe3c632Sopenharmony_ci      unpackedFloat_.Add(other.unpackedFloat_);
3482ffe3c632Sopenharmony_ci      unpackedDouble_.Add(other.unpackedDouble_);
3483ffe3c632Sopenharmony_ci      unpackedBool_.Add(other.unpackedBool_);
3484ffe3c632Sopenharmony_ci      unpackedNestedEnum_.Add(other.unpackedNestedEnum_);
3485ffe3c632Sopenharmony_ci      mapInt32Int32_.Add(other.mapInt32Int32_);
3486ffe3c632Sopenharmony_ci      mapInt64Int64_.Add(other.mapInt64Int64_);
3487ffe3c632Sopenharmony_ci      mapUint32Uint32_.Add(other.mapUint32Uint32_);
3488ffe3c632Sopenharmony_ci      mapUint64Uint64_.Add(other.mapUint64Uint64_);
3489ffe3c632Sopenharmony_ci      mapSint32Sint32_.Add(other.mapSint32Sint32_);
3490ffe3c632Sopenharmony_ci      mapSint64Sint64_.Add(other.mapSint64Sint64_);
3491ffe3c632Sopenharmony_ci      mapFixed32Fixed32_.Add(other.mapFixed32Fixed32_);
3492ffe3c632Sopenharmony_ci      mapFixed64Fixed64_.Add(other.mapFixed64Fixed64_);
3493ffe3c632Sopenharmony_ci      mapSfixed32Sfixed32_.Add(other.mapSfixed32Sfixed32_);
3494ffe3c632Sopenharmony_ci      mapSfixed64Sfixed64_.Add(other.mapSfixed64Sfixed64_);
3495ffe3c632Sopenharmony_ci      mapInt32Float_.Add(other.mapInt32Float_);
3496ffe3c632Sopenharmony_ci      mapInt32Double_.Add(other.mapInt32Double_);
3497ffe3c632Sopenharmony_ci      mapBoolBool_.Add(other.mapBoolBool_);
3498ffe3c632Sopenharmony_ci      mapStringString_.Add(other.mapStringString_);
3499ffe3c632Sopenharmony_ci      mapStringBytes_.Add(other.mapStringBytes_);
3500ffe3c632Sopenharmony_ci      mapStringNestedMessage_.Add(other.mapStringNestedMessage_);
3501ffe3c632Sopenharmony_ci      mapStringForeignMessage_.Add(other.mapStringForeignMessage_);
3502ffe3c632Sopenharmony_ci      mapStringNestedEnum_.Add(other.mapStringNestedEnum_);
3503ffe3c632Sopenharmony_ci      mapStringForeignEnum_.Add(other.mapStringForeignEnum_);
3504ffe3c632Sopenharmony_ci      if (other.HasData) {
3505ffe3c632Sopenharmony_ci        if (!HasData) {
3506ffe3c632Sopenharmony_ci          Data = new global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.Data();
3507ffe3c632Sopenharmony_ci        }
3508ffe3c632Sopenharmony_ci        Data.MergeFrom(other.Data);
3509ffe3c632Sopenharmony_ci      }
3510ffe3c632Sopenharmony_ci      if (other.HasFieldname1) {
3511ffe3c632Sopenharmony_ci        Fieldname1 = other.Fieldname1;
3512ffe3c632Sopenharmony_ci      }
3513ffe3c632Sopenharmony_ci      if (other.HasFieldName2) {
3514ffe3c632Sopenharmony_ci        FieldName2 = other.FieldName2;
3515ffe3c632Sopenharmony_ci      }
3516ffe3c632Sopenharmony_ci      if (other.HasFieldName3) {
3517ffe3c632Sopenharmony_ci        FieldName3 = other.FieldName3;
3518ffe3c632Sopenharmony_ci      }
3519ffe3c632Sopenharmony_ci      if (other.HasFieldName4) {
3520ffe3c632Sopenharmony_ci        FieldName4 = other.FieldName4;
3521ffe3c632Sopenharmony_ci      }
3522ffe3c632Sopenharmony_ci      if (other.HasField0Name5) {
3523ffe3c632Sopenharmony_ci        Field0Name5 = other.Field0Name5;
3524ffe3c632Sopenharmony_ci      }
3525ffe3c632Sopenharmony_ci      if (other.HasField0Name6) {
3526ffe3c632Sopenharmony_ci        Field0Name6 = other.Field0Name6;
3527ffe3c632Sopenharmony_ci      }
3528ffe3c632Sopenharmony_ci      if (other.HasFieldName7) {
3529ffe3c632Sopenharmony_ci        FieldName7 = other.FieldName7;
3530ffe3c632Sopenharmony_ci      }
3531ffe3c632Sopenharmony_ci      if (other.HasFieldName8) {
3532ffe3c632Sopenharmony_ci        FieldName8 = other.FieldName8;
3533ffe3c632Sopenharmony_ci      }
3534ffe3c632Sopenharmony_ci      if (other.HasFieldName9) {
3535ffe3c632Sopenharmony_ci        FieldName9 = other.FieldName9;
3536ffe3c632Sopenharmony_ci      }
3537ffe3c632Sopenharmony_ci      if (other.HasFieldName10) {
3538ffe3c632Sopenharmony_ci        FieldName10 = other.FieldName10;
3539ffe3c632Sopenharmony_ci      }
3540ffe3c632Sopenharmony_ci      if (other.HasFIELDNAME11) {
3541ffe3c632Sopenharmony_ci        FIELDNAME11 = other.FIELDNAME11;
3542ffe3c632Sopenharmony_ci      }
3543ffe3c632Sopenharmony_ci      if (other.HasFIELDName12) {
3544ffe3c632Sopenharmony_ci        FIELDName12 = other.FIELDName12;
3545ffe3c632Sopenharmony_ci      }
3546ffe3c632Sopenharmony_ci      if (other.HasFieldName13) {
3547ffe3c632Sopenharmony_ci        FieldName13 = other.FieldName13;
3548ffe3c632Sopenharmony_ci      }
3549ffe3c632Sopenharmony_ci      if (other.HasFieldName14) {
3550ffe3c632Sopenharmony_ci        FieldName14 = other.FieldName14;
3551ffe3c632Sopenharmony_ci      }
3552ffe3c632Sopenharmony_ci      if (other.HasFieldName15) {
3553ffe3c632Sopenharmony_ci        FieldName15 = other.FieldName15;
3554ffe3c632Sopenharmony_ci      }
3555ffe3c632Sopenharmony_ci      if (other.HasFieldName16) {
3556ffe3c632Sopenharmony_ci        FieldName16 = other.FieldName16;
3557ffe3c632Sopenharmony_ci      }
3558ffe3c632Sopenharmony_ci      if (other.HasFieldName17) {
3559ffe3c632Sopenharmony_ci        FieldName17 = other.FieldName17;
3560ffe3c632Sopenharmony_ci      }
3561ffe3c632Sopenharmony_ci      if (other.HasFieldName18) {
3562ffe3c632Sopenharmony_ci        FieldName18 = other.FieldName18;
3563ffe3c632Sopenharmony_ci      }
3564ffe3c632Sopenharmony_ci      switch (other.OneofFieldCase) {
3565ffe3c632Sopenharmony_ci        case OneofFieldOneofCase.OneofUint32:
3566ffe3c632Sopenharmony_ci          OneofUint32 = other.OneofUint32;
3567ffe3c632Sopenharmony_ci          break;
3568ffe3c632Sopenharmony_ci        case OneofFieldOneofCase.OneofNestedMessage:
3569ffe3c632Sopenharmony_ci          if (OneofNestedMessage == null) {
3570ffe3c632Sopenharmony_ci            OneofNestedMessage = new global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedMessage();
3571ffe3c632Sopenharmony_ci          }
3572ffe3c632Sopenharmony_ci          OneofNestedMessage.MergeFrom(other.OneofNestedMessage);
3573ffe3c632Sopenharmony_ci          break;
3574ffe3c632Sopenharmony_ci        case OneofFieldOneofCase.OneofString:
3575ffe3c632Sopenharmony_ci          OneofString = other.OneofString;
3576ffe3c632Sopenharmony_ci          break;
3577ffe3c632Sopenharmony_ci        case OneofFieldOneofCase.OneofBytes:
3578ffe3c632Sopenharmony_ci          OneofBytes = other.OneofBytes;
3579ffe3c632Sopenharmony_ci          break;
3580ffe3c632Sopenharmony_ci        case OneofFieldOneofCase.OneofBool:
3581ffe3c632Sopenharmony_ci          OneofBool = other.OneofBool;
3582ffe3c632Sopenharmony_ci          break;
3583ffe3c632Sopenharmony_ci        case OneofFieldOneofCase.OneofUint64:
3584ffe3c632Sopenharmony_ci          OneofUint64 = other.OneofUint64;
3585ffe3c632Sopenharmony_ci          break;
3586ffe3c632Sopenharmony_ci        case OneofFieldOneofCase.OneofFloat:
3587ffe3c632Sopenharmony_ci          OneofFloat = other.OneofFloat;
3588ffe3c632Sopenharmony_ci          break;
3589ffe3c632Sopenharmony_ci        case OneofFieldOneofCase.OneofDouble:
3590ffe3c632Sopenharmony_ci          OneofDouble = other.OneofDouble;
3591ffe3c632Sopenharmony_ci          break;
3592ffe3c632Sopenharmony_ci        case OneofFieldOneofCase.OneofEnum:
3593ffe3c632Sopenharmony_ci          OneofEnum = other.OneofEnum;
3594ffe3c632Sopenharmony_ci          break;
3595ffe3c632Sopenharmony_ci      }
3596ffe3c632Sopenharmony_ci
3597ffe3c632Sopenharmony_ci      pb::ExtensionSet.MergeFrom(ref _extensions, other._extensions);
3598ffe3c632Sopenharmony_ci      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
3599ffe3c632Sopenharmony_ci    }
3600ffe3c632Sopenharmony_ci
3601ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3602ffe3c632Sopenharmony_ci    public void MergeFrom(pb::CodedInputStream input) {
3603ffe3c632Sopenharmony_ci    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3604ffe3c632Sopenharmony_ci      input.ReadRawMessage(this);
3605ffe3c632Sopenharmony_ci    #else
3606ffe3c632Sopenharmony_ci      uint tag;
3607ffe3c632Sopenharmony_ci      while ((tag = input.ReadTag()) != 0) {
3608ffe3c632Sopenharmony_ci        switch(tag) {
3609ffe3c632Sopenharmony_ci          default:
3610ffe3c632Sopenharmony_ci            if (!pb::ExtensionSet.TryMergeFieldFrom(ref _extensions, input)) {
3611ffe3c632Sopenharmony_ci              _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
3612ffe3c632Sopenharmony_ci            }
3613ffe3c632Sopenharmony_ci            break;
3614ffe3c632Sopenharmony_ci          case 8: {
3615ffe3c632Sopenharmony_ci            OptionalInt32 = input.ReadInt32();
3616ffe3c632Sopenharmony_ci            break;
3617ffe3c632Sopenharmony_ci          }
3618ffe3c632Sopenharmony_ci          case 16: {
3619ffe3c632Sopenharmony_ci            OptionalInt64 = input.ReadInt64();
3620ffe3c632Sopenharmony_ci            break;
3621ffe3c632Sopenharmony_ci          }
3622ffe3c632Sopenharmony_ci          case 24: {
3623ffe3c632Sopenharmony_ci            OptionalUint32 = input.ReadUInt32();
3624ffe3c632Sopenharmony_ci            break;
3625ffe3c632Sopenharmony_ci          }
3626ffe3c632Sopenharmony_ci          case 32: {
3627ffe3c632Sopenharmony_ci            OptionalUint64 = input.ReadUInt64();
3628ffe3c632Sopenharmony_ci            break;
3629ffe3c632Sopenharmony_ci          }
3630ffe3c632Sopenharmony_ci          case 40: {
3631ffe3c632Sopenharmony_ci            OptionalSint32 = input.ReadSInt32();
3632ffe3c632Sopenharmony_ci            break;
3633ffe3c632Sopenharmony_ci          }
3634ffe3c632Sopenharmony_ci          case 48: {
3635ffe3c632Sopenharmony_ci            OptionalSint64 = input.ReadSInt64();
3636ffe3c632Sopenharmony_ci            break;
3637ffe3c632Sopenharmony_ci          }
3638ffe3c632Sopenharmony_ci          case 61: {
3639ffe3c632Sopenharmony_ci            OptionalFixed32 = input.ReadFixed32();
3640ffe3c632Sopenharmony_ci            break;
3641ffe3c632Sopenharmony_ci          }
3642ffe3c632Sopenharmony_ci          case 65: {
3643ffe3c632Sopenharmony_ci            OptionalFixed64 = input.ReadFixed64();
3644ffe3c632Sopenharmony_ci            break;
3645ffe3c632Sopenharmony_ci          }
3646ffe3c632Sopenharmony_ci          case 77: {
3647ffe3c632Sopenharmony_ci            OptionalSfixed32 = input.ReadSFixed32();
3648ffe3c632Sopenharmony_ci            break;
3649ffe3c632Sopenharmony_ci          }
3650ffe3c632Sopenharmony_ci          case 81: {
3651ffe3c632Sopenharmony_ci            OptionalSfixed64 = input.ReadSFixed64();
3652ffe3c632Sopenharmony_ci            break;
3653ffe3c632Sopenharmony_ci          }
3654ffe3c632Sopenharmony_ci          case 93: {
3655ffe3c632Sopenharmony_ci            OptionalFloat = input.ReadFloat();
3656ffe3c632Sopenharmony_ci            break;
3657ffe3c632Sopenharmony_ci          }
3658ffe3c632Sopenharmony_ci          case 97: {
3659ffe3c632Sopenharmony_ci            OptionalDouble = input.ReadDouble();
3660ffe3c632Sopenharmony_ci            break;
3661ffe3c632Sopenharmony_ci          }
3662ffe3c632Sopenharmony_ci          case 104: {
3663ffe3c632Sopenharmony_ci            OptionalBool = input.ReadBool();
3664ffe3c632Sopenharmony_ci            break;
3665ffe3c632Sopenharmony_ci          }
3666ffe3c632Sopenharmony_ci          case 114: {
3667ffe3c632Sopenharmony_ci            OptionalString = input.ReadString();
3668ffe3c632Sopenharmony_ci            break;
3669ffe3c632Sopenharmony_ci          }
3670ffe3c632Sopenharmony_ci          case 122: {
3671ffe3c632Sopenharmony_ci            OptionalBytes = input.ReadBytes();
3672ffe3c632Sopenharmony_ci            break;
3673ffe3c632Sopenharmony_ci          }
3674ffe3c632Sopenharmony_ci          case 146: {
3675ffe3c632Sopenharmony_ci            if (optionalNestedMessage_ == null) {
3676ffe3c632Sopenharmony_ci              OptionalNestedMessage = new global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedMessage();
3677ffe3c632Sopenharmony_ci            }
3678ffe3c632Sopenharmony_ci            input.ReadMessage(OptionalNestedMessage);
3679ffe3c632Sopenharmony_ci            break;
3680ffe3c632Sopenharmony_ci          }
3681ffe3c632Sopenharmony_ci          case 154: {
3682ffe3c632Sopenharmony_ci            if (optionalForeignMessage_ == null) {
3683ffe3c632Sopenharmony_ci              OptionalForeignMessage = new global::ProtobufTestMessages.Proto2.ForeignMessageProto2();
3684ffe3c632Sopenharmony_ci            }
3685ffe3c632Sopenharmony_ci            input.ReadMessage(OptionalForeignMessage);
3686ffe3c632Sopenharmony_ci            break;
3687ffe3c632Sopenharmony_ci          }
3688ffe3c632Sopenharmony_ci          case 168: {
3689ffe3c632Sopenharmony_ci            OptionalNestedEnum = (global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedEnum) input.ReadEnum();
3690ffe3c632Sopenharmony_ci            break;
3691ffe3c632Sopenharmony_ci          }
3692ffe3c632Sopenharmony_ci          case 176: {
3693ffe3c632Sopenharmony_ci            OptionalForeignEnum = (global::ProtobufTestMessages.Proto2.ForeignEnumProto2) input.ReadEnum();
3694ffe3c632Sopenharmony_ci            break;
3695ffe3c632Sopenharmony_ci          }
3696ffe3c632Sopenharmony_ci          case 194: {
3697ffe3c632Sopenharmony_ci            OptionalStringPiece = input.ReadString();
3698ffe3c632Sopenharmony_ci            break;
3699ffe3c632Sopenharmony_ci          }
3700ffe3c632Sopenharmony_ci          case 202: {
3701ffe3c632Sopenharmony_ci            OptionalCord = input.ReadString();
3702ffe3c632Sopenharmony_ci            break;
3703ffe3c632Sopenharmony_ci          }
3704ffe3c632Sopenharmony_ci          case 218: {
3705ffe3c632Sopenharmony_ci            if (recursiveMessage_ == null) {
3706ffe3c632Sopenharmony_ci              RecursiveMessage = new global::ProtobufTestMessages.Proto2.TestAllTypesProto2();
3707ffe3c632Sopenharmony_ci            }
3708ffe3c632Sopenharmony_ci            input.ReadMessage(RecursiveMessage);
3709ffe3c632Sopenharmony_ci            break;
3710ffe3c632Sopenharmony_ci          }
3711ffe3c632Sopenharmony_ci          case 250:
3712ffe3c632Sopenharmony_ci          case 248: {
3713ffe3c632Sopenharmony_ci            repeatedInt32_.AddEntriesFrom(input, _repeated_repeatedInt32_codec);
3714ffe3c632Sopenharmony_ci            break;
3715ffe3c632Sopenharmony_ci          }
3716ffe3c632Sopenharmony_ci          case 258:
3717ffe3c632Sopenharmony_ci          case 256: {
3718ffe3c632Sopenharmony_ci            repeatedInt64_.AddEntriesFrom(input, _repeated_repeatedInt64_codec);
3719ffe3c632Sopenharmony_ci            break;
3720ffe3c632Sopenharmony_ci          }
3721ffe3c632Sopenharmony_ci          case 266:
3722ffe3c632Sopenharmony_ci          case 264: {
3723ffe3c632Sopenharmony_ci            repeatedUint32_.AddEntriesFrom(input, _repeated_repeatedUint32_codec);
3724ffe3c632Sopenharmony_ci            break;
3725ffe3c632Sopenharmony_ci          }
3726ffe3c632Sopenharmony_ci          case 274:
3727ffe3c632Sopenharmony_ci          case 272: {
3728ffe3c632Sopenharmony_ci            repeatedUint64_.AddEntriesFrom(input, _repeated_repeatedUint64_codec);
3729ffe3c632Sopenharmony_ci            break;
3730ffe3c632Sopenharmony_ci          }
3731ffe3c632Sopenharmony_ci          case 282:
3732ffe3c632Sopenharmony_ci          case 280: {
3733ffe3c632Sopenharmony_ci            repeatedSint32_.AddEntriesFrom(input, _repeated_repeatedSint32_codec);
3734ffe3c632Sopenharmony_ci            break;
3735ffe3c632Sopenharmony_ci          }
3736ffe3c632Sopenharmony_ci          case 290:
3737ffe3c632Sopenharmony_ci          case 288: {
3738ffe3c632Sopenharmony_ci            repeatedSint64_.AddEntriesFrom(input, _repeated_repeatedSint64_codec);
3739ffe3c632Sopenharmony_ci            break;
3740ffe3c632Sopenharmony_ci          }
3741ffe3c632Sopenharmony_ci          case 298:
3742ffe3c632Sopenharmony_ci          case 301: {
3743ffe3c632Sopenharmony_ci            repeatedFixed32_.AddEntriesFrom(input, _repeated_repeatedFixed32_codec);
3744ffe3c632Sopenharmony_ci            break;
3745ffe3c632Sopenharmony_ci          }
3746ffe3c632Sopenharmony_ci          case 306:
3747ffe3c632Sopenharmony_ci          case 305: {
3748ffe3c632Sopenharmony_ci            repeatedFixed64_.AddEntriesFrom(input, _repeated_repeatedFixed64_codec);
3749ffe3c632Sopenharmony_ci            break;
3750ffe3c632Sopenharmony_ci          }
3751ffe3c632Sopenharmony_ci          case 314:
3752ffe3c632Sopenharmony_ci          case 317: {
3753ffe3c632Sopenharmony_ci            repeatedSfixed32_.AddEntriesFrom(input, _repeated_repeatedSfixed32_codec);
3754ffe3c632Sopenharmony_ci            break;
3755ffe3c632Sopenharmony_ci          }
3756ffe3c632Sopenharmony_ci          case 322:
3757ffe3c632Sopenharmony_ci          case 321: {
3758ffe3c632Sopenharmony_ci            repeatedSfixed64_.AddEntriesFrom(input, _repeated_repeatedSfixed64_codec);
3759ffe3c632Sopenharmony_ci            break;
3760ffe3c632Sopenharmony_ci          }
3761ffe3c632Sopenharmony_ci          case 330:
3762ffe3c632Sopenharmony_ci          case 333: {
3763ffe3c632Sopenharmony_ci            repeatedFloat_.AddEntriesFrom(input, _repeated_repeatedFloat_codec);
3764ffe3c632Sopenharmony_ci            break;
3765ffe3c632Sopenharmony_ci          }
3766ffe3c632Sopenharmony_ci          case 338:
3767ffe3c632Sopenharmony_ci          case 337: {
3768ffe3c632Sopenharmony_ci            repeatedDouble_.AddEntriesFrom(input, _repeated_repeatedDouble_codec);
3769ffe3c632Sopenharmony_ci            break;
3770ffe3c632Sopenharmony_ci          }
3771ffe3c632Sopenharmony_ci          case 346:
3772ffe3c632Sopenharmony_ci          case 344: {
3773ffe3c632Sopenharmony_ci            repeatedBool_.AddEntriesFrom(input, _repeated_repeatedBool_codec);
3774ffe3c632Sopenharmony_ci            break;
3775ffe3c632Sopenharmony_ci          }
3776ffe3c632Sopenharmony_ci          case 354: {
3777ffe3c632Sopenharmony_ci            repeatedString_.AddEntriesFrom(input, _repeated_repeatedString_codec);
3778ffe3c632Sopenharmony_ci            break;
3779ffe3c632Sopenharmony_ci          }
3780ffe3c632Sopenharmony_ci          case 362: {
3781ffe3c632Sopenharmony_ci            repeatedBytes_.AddEntriesFrom(input, _repeated_repeatedBytes_codec);
3782ffe3c632Sopenharmony_ci            break;
3783ffe3c632Sopenharmony_ci          }
3784ffe3c632Sopenharmony_ci          case 386: {
3785ffe3c632Sopenharmony_ci            repeatedNestedMessage_.AddEntriesFrom(input, _repeated_repeatedNestedMessage_codec);
3786ffe3c632Sopenharmony_ci            break;
3787ffe3c632Sopenharmony_ci          }
3788ffe3c632Sopenharmony_ci          case 394: {
3789ffe3c632Sopenharmony_ci            repeatedForeignMessage_.AddEntriesFrom(input, _repeated_repeatedForeignMessage_codec);
3790ffe3c632Sopenharmony_ci            break;
3791ffe3c632Sopenharmony_ci          }
3792ffe3c632Sopenharmony_ci          case 410:
3793ffe3c632Sopenharmony_ci          case 408: {
3794ffe3c632Sopenharmony_ci            repeatedNestedEnum_.AddEntriesFrom(input, _repeated_repeatedNestedEnum_codec);
3795ffe3c632Sopenharmony_ci            break;
3796ffe3c632Sopenharmony_ci          }
3797ffe3c632Sopenharmony_ci          case 418:
3798ffe3c632Sopenharmony_ci          case 416: {
3799ffe3c632Sopenharmony_ci            repeatedForeignEnum_.AddEntriesFrom(input, _repeated_repeatedForeignEnum_codec);
3800ffe3c632Sopenharmony_ci            break;
3801ffe3c632Sopenharmony_ci          }
3802ffe3c632Sopenharmony_ci          case 434: {
3803ffe3c632Sopenharmony_ci            repeatedStringPiece_.AddEntriesFrom(input, _repeated_repeatedStringPiece_codec);
3804ffe3c632Sopenharmony_ci            break;
3805ffe3c632Sopenharmony_ci          }
3806ffe3c632Sopenharmony_ci          case 442: {
3807ffe3c632Sopenharmony_ci            repeatedCord_.AddEntriesFrom(input, _repeated_repeatedCord_codec);
3808ffe3c632Sopenharmony_ci            break;
3809ffe3c632Sopenharmony_ci          }
3810ffe3c632Sopenharmony_ci          case 450: {
3811ffe3c632Sopenharmony_ci            mapInt32Int32_.AddEntriesFrom(input, _map_mapInt32Int32_codec);
3812ffe3c632Sopenharmony_ci            break;
3813ffe3c632Sopenharmony_ci          }
3814ffe3c632Sopenharmony_ci          case 458: {
3815ffe3c632Sopenharmony_ci            mapInt64Int64_.AddEntriesFrom(input, _map_mapInt64Int64_codec);
3816ffe3c632Sopenharmony_ci            break;
3817ffe3c632Sopenharmony_ci          }
3818ffe3c632Sopenharmony_ci          case 466: {
3819ffe3c632Sopenharmony_ci            mapUint32Uint32_.AddEntriesFrom(input, _map_mapUint32Uint32_codec);
3820ffe3c632Sopenharmony_ci            break;
3821ffe3c632Sopenharmony_ci          }
3822ffe3c632Sopenharmony_ci          case 474: {
3823ffe3c632Sopenharmony_ci            mapUint64Uint64_.AddEntriesFrom(input, _map_mapUint64Uint64_codec);
3824ffe3c632Sopenharmony_ci            break;
3825ffe3c632Sopenharmony_ci          }
3826ffe3c632Sopenharmony_ci          case 482: {
3827ffe3c632Sopenharmony_ci            mapSint32Sint32_.AddEntriesFrom(input, _map_mapSint32Sint32_codec);
3828ffe3c632Sopenharmony_ci            break;
3829ffe3c632Sopenharmony_ci          }
3830ffe3c632Sopenharmony_ci          case 490: {
3831ffe3c632Sopenharmony_ci            mapSint64Sint64_.AddEntriesFrom(input, _map_mapSint64Sint64_codec);
3832ffe3c632Sopenharmony_ci            break;
3833ffe3c632Sopenharmony_ci          }
3834ffe3c632Sopenharmony_ci          case 498: {
3835ffe3c632Sopenharmony_ci            mapFixed32Fixed32_.AddEntriesFrom(input, _map_mapFixed32Fixed32_codec);
3836ffe3c632Sopenharmony_ci            break;
3837ffe3c632Sopenharmony_ci          }
3838ffe3c632Sopenharmony_ci          case 506: {
3839ffe3c632Sopenharmony_ci            mapFixed64Fixed64_.AddEntriesFrom(input, _map_mapFixed64Fixed64_codec);
3840ffe3c632Sopenharmony_ci            break;
3841ffe3c632Sopenharmony_ci          }
3842ffe3c632Sopenharmony_ci          case 514: {
3843ffe3c632Sopenharmony_ci            mapSfixed32Sfixed32_.AddEntriesFrom(input, _map_mapSfixed32Sfixed32_codec);
3844ffe3c632Sopenharmony_ci            break;
3845ffe3c632Sopenharmony_ci          }
3846ffe3c632Sopenharmony_ci          case 522: {
3847ffe3c632Sopenharmony_ci            mapSfixed64Sfixed64_.AddEntriesFrom(input, _map_mapSfixed64Sfixed64_codec);
3848ffe3c632Sopenharmony_ci            break;
3849ffe3c632Sopenharmony_ci          }
3850ffe3c632Sopenharmony_ci          case 530: {
3851ffe3c632Sopenharmony_ci            mapInt32Float_.AddEntriesFrom(input, _map_mapInt32Float_codec);
3852ffe3c632Sopenharmony_ci            break;
3853ffe3c632Sopenharmony_ci          }
3854ffe3c632Sopenharmony_ci          case 538: {
3855ffe3c632Sopenharmony_ci            mapInt32Double_.AddEntriesFrom(input, _map_mapInt32Double_codec);
3856ffe3c632Sopenharmony_ci            break;
3857ffe3c632Sopenharmony_ci          }
3858ffe3c632Sopenharmony_ci          case 546: {
3859ffe3c632Sopenharmony_ci            mapBoolBool_.AddEntriesFrom(input, _map_mapBoolBool_codec);
3860ffe3c632Sopenharmony_ci            break;
3861ffe3c632Sopenharmony_ci          }
3862ffe3c632Sopenharmony_ci          case 554: {
3863ffe3c632Sopenharmony_ci            mapStringString_.AddEntriesFrom(input, _map_mapStringString_codec);
3864ffe3c632Sopenharmony_ci            break;
3865ffe3c632Sopenharmony_ci          }
3866ffe3c632Sopenharmony_ci          case 562: {
3867ffe3c632Sopenharmony_ci            mapStringBytes_.AddEntriesFrom(input, _map_mapStringBytes_codec);
3868ffe3c632Sopenharmony_ci            break;
3869ffe3c632Sopenharmony_ci          }
3870ffe3c632Sopenharmony_ci          case 570: {
3871ffe3c632Sopenharmony_ci            mapStringNestedMessage_.AddEntriesFrom(input, _map_mapStringNestedMessage_codec);
3872ffe3c632Sopenharmony_ci            break;
3873ffe3c632Sopenharmony_ci          }
3874ffe3c632Sopenharmony_ci          case 578: {
3875ffe3c632Sopenharmony_ci            mapStringForeignMessage_.AddEntriesFrom(input, _map_mapStringForeignMessage_codec);
3876ffe3c632Sopenharmony_ci            break;
3877ffe3c632Sopenharmony_ci          }
3878ffe3c632Sopenharmony_ci          case 586: {
3879ffe3c632Sopenharmony_ci            mapStringNestedEnum_.AddEntriesFrom(input, _map_mapStringNestedEnum_codec);
3880ffe3c632Sopenharmony_ci            break;
3881ffe3c632Sopenharmony_ci          }
3882ffe3c632Sopenharmony_ci          case 594: {
3883ffe3c632Sopenharmony_ci            mapStringForeignEnum_.AddEntriesFrom(input, _map_mapStringForeignEnum_codec);
3884ffe3c632Sopenharmony_ci            break;
3885ffe3c632Sopenharmony_ci          }
3886ffe3c632Sopenharmony_ci          case 602:
3887ffe3c632Sopenharmony_ci          case 600: {
3888ffe3c632Sopenharmony_ci            packedInt32_.AddEntriesFrom(input, _repeated_packedInt32_codec);
3889ffe3c632Sopenharmony_ci            break;
3890ffe3c632Sopenharmony_ci          }
3891ffe3c632Sopenharmony_ci          case 610:
3892ffe3c632Sopenharmony_ci          case 608: {
3893ffe3c632Sopenharmony_ci            packedInt64_.AddEntriesFrom(input, _repeated_packedInt64_codec);
3894ffe3c632Sopenharmony_ci            break;
3895ffe3c632Sopenharmony_ci          }
3896ffe3c632Sopenharmony_ci          case 618:
3897ffe3c632Sopenharmony_ci          case 616: {
3898ffe3c632Sopenharmony_ci            packedUint32_.AddEntriesFrom(input, _repeated_packedUint32_codec);
3899ffe3c632Sopenharmony_ci            break;
3900ffe3c632Sopenharmony_ci          }
3901ffe3c632Sopenharmony_ci          case 626:
3902ffe3c632Sopenharmony_ci          case 624: {
3903ffe3c632Sopenharmony_ci            packedUint64_.AddEntriesFrom(input, _repeated_packedUint64_codec);
3904ffe3c632Sopenharmony_ci            break;
3905ffe3c632Sopenharmony_ci          }
3906ffe3c632Sopenharmony_ci          case 634:
3907ffe3c632Sopenharmony_ci          case 632: {
3908ffe3c632Sopenharmony_ci            packedSint32_.AddEntriesFrom(input, _repeated_packedSint32_codec);
3909ffe3c632Sopenharmony_ci            break;
3910ffe3c632Sopenharmony_ci          }
3911ffe3c632Sopenharmony_ci          case 642:
3912ffe3c632Sopenharmony_ci          case 640: {
3913ffe3c632Sopenharmony_ci            packedSint64_.AddEntriesFrom(input, _repeated_packedSint64_codec);
3914ffe3c632Sopenharmony_ci            break;
3915ffe3c632Sopenharmony_ci          }
3916ffe3c632Sopenharmony_ci          case 650:
3917ffe3c632Sopenharmony_ci          case 653: {
3918ffe3c632Sopenharmony_ci            packedFixed32_.AddEntriesFrom(input, _repeated_packedFixed32_codec);
3919ffe3c632Sopenharmony_ci            break;
3920ffe3c632Sopenharmony_ci          }
3921ffe3c632Sopenharmony_ci          case 658:
3922ffe3c632Sopenharmony_ci          case 657: {
3923ffe3c632Sopenharmony_ci            packedFixed64_.AddEntriesFrom(input, _repeated_packedFixed64_codec);
3924ffe3c632Sopenharmony_ci            break;
3925ffe3c632Sopenharmony_ci          }
3926ffe3c632Sopenharmony_ci          case 666:
3927ffe3c632Sopenharmony_ci          case 669: {
3928ffe3c632Sopenharmony_ci            packedSfixed32_.AddEntriesFrom(input, _repeated_packedSfixed32_codec);
3929ffe3c632Sopenharmony_ci            break;
3930ffe3c632Sopenharmony_ci          }
3931ffe3c632Sopenharmony_ci          case 674:
3932ffe3c632Sopenharmony_ci          case 673: {
3933ffe3c632Sopenharmony_ci            packedSfixed64_.AddEntriesFrom(input, _repeated_packedSfixed64_codec);
3934ffe3c632Sopenharmony_ci            break;
3935ffe3c632Sopenharmony_ci          }
3936ffe3c632Sopenharmony_ci          case 682:
3937ffe3c632Sopenharmony_ci          case 685: {
3938ffe3c632Sopenharmony_ci            packedFloat_.AddEntriesFrom(input, _repeated_packedFloat_codec);
3939ffe3c632Sopenharmony_ci            break;
3940ffe3c632Sopenharmony_ci          }
3941ffe3c632Sopenharmony_ci          case 690:
3942ffe3c632Sopenharmony_ci          case 689: {
3943ffe3c632Sopenharmony_ci            packedDouble_.AddEntriesFrom(input, _repeated_packedDouble_codec);
3944ffe3c632Sopenharmony_ci            break;
3945ffe3c632Sopenharmony_ci          }
3946ffe3c632Sopenharmony_ci          case 698:
3947ffe3c632Sopenharmony_ci          case 696: {
3948ffe3c632Sopenharmony_ci            packedBool_.AddEntriesFrom(input, _repeated_packedBool_codec);
3949ffe3c632Sopenharmony_ci            break;
3950ffe3c632Sopenharmony_ci          }
3951ffe3c632Sopenharmony_ci          case 706:
3952ffe3c632Sopenharmony_ci          case 704: {
3953ffe3c632Sopenharmony_ci            packedNestedEnum_.AddEntriesFrom(input, _repeated_packedNestedEnum_codec);
3954ffe3c632Sopenharmony_ci            break;
3955ffe3c632Sopenharmony_ci          }
3956ffe3c632Sopenharmony_ci          case 714:
3957ffe3c632Sopenharmony_ci          case 712: {
3958ffe3c632Sopenharmony_ci            unpackedInt32_.AddEntriesFrom(input, _repeated_unpackedInt32_codec);
3959ffe3c632Sopenharmony_ci            break;
3960ffe3c632Sopenharmony_ci          }
3961ffe3c632Sopenharmony_ci          case 722:
3962ffe3c632Sopenharmony_ci          case 720: {
3963ffe3c632Sopenharmony_ci            unpackedInt64_.AddEntriesFrom(input, _repeated_unpackedInt64_codec);
3964ffe3c632Sopenharmony_ci            break;
3965ffe3c632Sopenharmony_ci          }
3966ffe3c632Sopenharmony_ci          case 730:
3967ffe3c632Sopenharmony_ci          case 728: {
3968ffe3c632Sopenharmony_ci            unpackedUint32_.AddEntriesFrom(input, _repeated_unpackedUint32_codec);
3969ffe3c632Sopenharmony_ci            break;
3970ffe3c632Sopenharmony_ci          }
3971ffe3c632Sopenharmony_ci          case 738:
3972ffe3c632Sopenharmony_ci          case 736: {
3973ffe3c632Sopenharmony_ci            unpackedUint64_.AddEntriesFrom(input, _repeated_unpackedUint64_codec);
3974ffe3c632Sopenharmony_ci            break;
3975ffe3c632Sopenharmony_ci          }
3976ffe3c632Sopenharmony_ci          case 746:
3977ffe3c632Sopenharmony_ci          case 744: {
3978ffe3c632Sopenharmony_ci            unpackedSint32_.AddEntriesFrom(input, _repeated_unpackedSint32_codec);
3979ffe3c632Sopenharmony_ci            break;
3980ffe3c632Sopenharmony_ci          }
3981ffe3c632Sopenharmony_ci          case 754:
3982ffe3c632Sopenharmony_ci          case 752: {
3983ffe3c632Sopenharmony_ci            unpackedSint64_.AddEntriesFrom(input, _repeated_unpackedSint64_codec);
3984ffe3c632Sopenharmony_ci            break;
3985ffe3c632Sopenharmony_ci          }
3986ffe3c632Sopenharmony_ci          case 762:
3987ffe3c632Sopenharmony_ci          case 765: {
3988ffe3c632Sopenharmony_ci            unpackedFixed32_.AddEntriesFrom(input, _repeated_unpackedFixed32_codec);
3989ffe3c632Sopenharmony_ci            break;
3990ffe3c632Sopenharmony_ci          }
3991ffe3c632Sopenharmony_ci          case 770:
3992ffe3c632Sopenharmony_ci          case 769: {
3993ffe3c632Sopenharmony_ci            unpackedFixed64_.AddEntriesFrom(input, _repeated_unpackedFixed64_codec);
3994ffe3c632Sopenharmony_ci            break;
3995ffe3c632Sopenharmony_ci          }
3996ffe3c632Sopenharmony_ci          case 778:
3997ffe3c632Sopenharmony_ci          case 781: {
3998ffe3c632Sopenharmony_ci            unpackedSfixed32_.AddEntriesFrom(input, _repeated_unpackedSfixed32_codec);
3999ffe3c632Sopenharmony_ci            break;
4000ffe3c632Sopenharmony_ci          }
4001ffe3c632Sopenharmony_ci          case 786:
4002ffe3c632Sopenharmony_ci          case 785: {
4003ffe3c632Sopenharmony_ci            unpackedSfixed64_.AddEntriesFrom(input, _repeated_unpackedSfixed64_codec);
4004ffe3c632Sopenharmony_ci            break;
4005ffe3c632Sopenharmony_ci          }
4006ffe3c632Sopenharmony_ci          case 794:
4007ffe3c632Sopenharmony_ci          case 797: {
4008ffe3c632Sopenharmony_ci            unpackedFloat_.AddEntriesFrom(input, _repeated_unpackedFloat_codec);
4009ffe3c632Sopenharmony_ci            break;
4010ffe3c632Sopenharmony_ci          }
4011ffe3c632Sopenharmony_ci          case 802:
4012ffe3c632Sopenharmony_ci          case 801: {
4013ffe3c632Sopenharmony_ci            unpackedDouble_.AddEntriesFrom(input, _repeated_unpackedDouble_codec);
4014ffe3c632Sopenharmony_ci            break;
4015ffe3c632Sopenharmony_ci          }
4016ffe3c632Sopenharmony_ci          case 810:
4017ffe3c632Sopenharmony_ci          case 808: {
4018ffe3c632Sopenharmony_ci            unpackedBool_.AddEntriesFrom(input, _repeated_unpackedBool_codec);
4019ffe3c632Sopenharmony_ci            break;
4020ffe3c632Sopenharmony_ci          }
4021ffe3c632Sopenharmony_ci          case 818:
4022ffe3c632Sopenharmony_ci          case 816: {
4023ffe3c632Sopenharmony_ci            unpackedNestedEnum_.AddEntriesFrom(input, _repeated_unpackedNestedEnum_codec);
4024ffe3c632Sopenharmony_ci            break;
4025ffe3c632Sopenharmony_ci          }
4026ffe3c632Sopenharmony_ci          case 888: {
4027ffe3c632Sopenharmony_ci            OneofUint32 = input.ReadUInt32();
4028ffe3c632Sopenharmony_ci            break;
4029ffe3c632Sopenharmony_ci          }
4030ffe3c632Sopenharmony_ci          case 898: {
4031ffe3c632Sopenharmony_ci            global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedMessage subBuilder = new global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedMessage();
4032ffe3c632Sopenharmony_ci            if (oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage) {
4033ffe3c632Sopenharmony_ci              subBuilder.MergeFrom(OneofNestedMessage);
4034ffe3c632Sopenharmony_ci            }
4035ffe3c632Sopenharmony_ci            input.ReadMessage(subBuilder);
4036ffe3c632Sopenharmony_ci            OneofNestedMessage = subBuilder;
4037ffe3c632Sopenharmony_ci            break;
4038ffe3c632Sopenharmony_ci          }
4039ffe3c632Sopenharmony_ci          case 906: {
4040ffe3c632Sopenharmony_ci            OneofString = input.ReadString();
4041ffe3c632Sopenharmony_ci            break;
4042ffe3c632Sopenharmony_ci          }
4043ffe3c632Sopenharmony_ci          case 914: {
4044ffe3c632Sopenharmony_ci            OneofBytes = input.ReadBytes();
4045ffe3c632Sopenharmony_ci            break;
4046ffe3c632Sopenharmony_ci          }
4047ffe3c632Sopenharmony_ci          case 920: {
4048ffe3c632Sopenharmony_ci            OneofBool = input.ReadBool();
4049ffe3c632Sopenharmony_ci            break;
4050ffe3c632Sopenharmony_ci          }
4051ffe3c632Sopenharmony_ci          case 928: {
4052ffe3c632Sopenharmony_ci            OneofUint64 = input.ReadUInt64();
4053ffe3c632Sopenharmony_ci            break;
4054ffe3c632Sopenharmony_ci          }
4055ffe3c632Sopenharmony_ci          case 941: {
4056ffe3c632Sopenharmony_ci            OneofFloat = input.ReadFloat();
4057ffe3c632Sopenharmony_ci            break;
4058ffe3c632Sopenharmony_ci          }
4059ffe3c632Sopenharmony_ci          case 945: {
4060ffe3c632Sopenharmony_ci            OneofDouble = input.ReadDouble();
4061ffe3c632Sopenharmony_ci            break;
4062ffe3c632Sopenharmony_ci          }
4063ffe3c632Sopenharmony_ci          case 952: {
4064ffe3c632Sopenharmony_ci            oneofField_ = input.ReadEnum();
4065ffe3c632Sopenharmony_ci            oneofFieldCase_ = OneofFieldOneofCase.OneofEnum;
4066ffe3c632Sopenharmony_ci            break;
4067ffe3c632Sopenharmony_ci          }
4068ffe3c632Sopenharmony_ci          case 1611: {
4069ffe3c632Sopenharmony_ci            if (!HasData) {
4070ffe3c632Sopenharmony_ci              Data = new global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.Data();
4071ffe3c632Sopenharmony_ci            }
4072ffe3c632Sopenharmony_ci            input.ReadGroup(Data);
4073ffe3c632Sopenharmony_ci            break;
4074ffe3c632Sopenharmony_ci          }
4075ffe3c632Sopenharmony_ci          case 3208: {
4076ffe3c632Sopenharmony_ci            Fieldname1 = input.ReadInt32();
4077ffe3c632Sopenharmony_ci            break;
4078ffe3c632Sopenharmony_ci          }
4079ffe3c632Sopenharmony_ci          case 3216: {
4080ffe3c632Sopenharmony_ci            FieldName2 = input.ReadInt32();
4081ffe3c632Sopenharmony_ci            break;
4082ffe3c632Sopenharmony_ci          }
4083ffe3c632Sopenharmony_ci          case 3224: {
4084ffe3c632Sopenharmony_ci            FieldName3 = input.ReadInt32();
4085ffe3c632Sopenharmony_ci            break;
4086ffe3c632Sopenharmony_ci          }
4087ffe3c632Sopenharmony_ci          case 3232: {
4088ffe3c632Sopenharmony_ci            FieldName4 = input.ReadInt32();
4089ffe3c632Sopenharmony_ci            break;
4090ffe3c632Sopenharmony_ci          }
4091ffe3c632Sopenharmony_ci          case 3240: {
4092ffe3c632Sopenharmony_ci            Field0Name5 = input.ReadInt32();
4093ffe3c632Sopenharmony_ci            break;
4094ffe3c632Sopenharmony_ci          }
4095ffe3c632Sopenharmony_ci          case 3248: {
4096ffe3c632Sopenharmony_ci            Field0Name6 = input.ReadInt32();
4097ffe3c632Sopenharmony_ci            break;
4098ffe3c632Sopenharmony_ci          }
4099ffe3c632Sopenharmony_ci          case 3256: {
4100ffe3c632Sopenharmony_ci            FieldName7 = input.ReadInt32();
4101ffe3c632Sopenharmony_ci            break;
4102ffe3c632Sopenharmony_ci          }
4103ffe3c632Sopenharmony_ci          case 3264: {
4104ffe3c632Sopenharmony_ci            FieldName8 = input.ReadInt32();
4105ffe3c632Sopenharmony_ci            break;
4106ffe3c632Sopenharmony_ci          }
4107ffe3c632Sopenharmony_ci          case 3272: {
4108ffe3c632Sopenharmony_ci            FieldName9 = input.ReadInt32();
4109ffe3c632Sopenharmony_ci            break;
4110ffe3c632Sopenharmony_ci          }
4111ffe3c632Sopenharmony_ci          case 3280: {
4112ffe3c632Sopenharmony_ci            FieldName10 = input.ReadInt32();
4113ffe3c632Sopenharmony_ci            break;
4114ffe3c632Sopenharmony_ci          }
4115ffe3c632Sopenharmony_ci          case 3288: {
4116ffe3c632Sopenharmony_ci            FIELDNAME11 = input.ReadInt32();
4117ffe3c632Sopenharmony_ci            break;
4118ffe3c632Sopenharmony_ci          }
4119ffe3c632Sopenharmony_ci          case 3296: {
4120ffe3c632Sopenharmony_ci            FIELDName12 = input.ReadInt32();
4121ffe3c632Sopenharmony_ci            break;
4122ffe3c632Sopenharmony_ci          }
4123ffe3c632Sopenharmony_ci          case 3304: {
4124ffe3c632Sopenharmony_ci            FieldName13 = input.ReadInt32();
4125ffe3c632Sopenharmony_ci            break;
4126ffe3c632Sopenharmony_ci          }
4127ffe3c632Sopenharmony_ci          case 3312: {
4128ffe3c632Sopenharmony_ci            FieldName14 = input.ReadInt32();
4129ffe3c632Sopenharmony_ci            break;
4130ffe3c632Sopenharmony_ci          }
4131ffe3c632Sopenharmony_ci          case 3320: {
4132ffe3c632Sopenharmony_ci            FieldName15 = input.ReadInt32();
4133ffe3c632Sopenharmony_ci            break;
4134ffe3c632Sopenharmony_ci          }
4135ffe3c632Sopenharmony_ci          case 3328: {
4136ffe3c632Sopenharmony_ci            FieldName16 = input.ReadInt32();
4137ffe3c632Sopenharmony_ci            break;
4138ffe3c632Sopenharmony_ci          }
4139ffe3c632Sopenharmony_ci          case 3336: {
4140ffe3c632Sopenharmony_ci            FieldName17 = input.ReadInt32();
4141ffe3c632Sopenharmony_ci            break;
4142ffe3c632Sopenharmony_ci          }
4143ffe3c632Sopenharmony_ci          case 3344: {
4144ffe3c632Sopenharmony_ci            FieldName18 = input.ReadInt32();
4145ffe3c632Sopenharmony_ci            break;
4146ffe3c632Sopenharmony_ci          }
4147ffe3c632Sopenharmony_ci        }
4148ffe3c632Sopenharmony_ci      }
4149ffe3c632Sopenharmony_ci    #endif
4150ffe3c632Sopenharmony_ci    }
4151ffe3c632Sopenharmony_ci
4152ffe3c632Sopenharmony_ci    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4153ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4154ffe3c632Sopenharmony_ci    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
4155ffe3c632Sopenharmony_ci      uint tag;
4156ffe3c632Sopenharmony_ci      while ((tag = input.ReadTag()) != 0) {
4157ffe3c632Sopenharmony_ci        switch(tag) {
4158ffe3c632Sopenharmony_ci          default:
4159ffe3c632Sopenharmony_ci            if (!pb::ExtensionSet.TryMergeFieldFrom(ref _extensions, ref input)) {
4160ffe3c632Sopenharmony_ci              _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
4161ffe3c632Sopenharmony_ci            }
4162ffe3c632Sopenharmony_ci            break;
4163ffe3c632Sopenharmony_ci          case 8: {
4164ffe3c632Sopenharmony_ci            OptionalInt32 = input.ReadInt32();
4165ffe3c632Sopenharmony_ci            break;
4166ffe3c632Sopenharmony_ci          }
4167ffe3c632Sopenharmony_ci          case 16: {
4168ffe3c632Sopenharmony_ci            OptionalInt64 = input.ReadInt64();
4169ffe3c632Sopenharmony_ci            break;
4170ffe3c632Sopenharmony_ci          }
4171ffe3c632Sopenharmony_ci          case 24: {
4172ffe3c632Sopenharmony_ci            OptionalUint32 = input.ReadUInt32();
4173ffe3c632Sopenharmony_ci            break;
4174ffe3c632Sopenharmony_ci          }
4175ffe3c632Sopenharmony_ci          case 32: {
4176ffe3c632Sopenharmony_ci            OptionalUint64 = input.ReadUInt64();
4177ffe3c632Sopenharmony_ci            break;
4178ffe3c632Sopenharmony_ci          }
4179ffe3c632Sopenharmony_ci          case 40: {
4180ffe3c632Sopenharmony_ci            OptionalSint32 = input.ReadSInt32();
4181ffe3c632Sopenharmony_ci            break;
4182ffe3c632Sopenharmony_ci          }
4183ffe3c632Sopenharmony_ci          case 48: {
4184ffe3c632Sopenharmony_ci            OptionalSint64 = input.ReadSInt64();
4185ffe3c632Sopenharmony_ci            break;
4186ffe3c632Sopenharmony_ci          }
4187ffe3c632Sopenharmony_ci          case 61: {
4188ffe3c632Sopenharmony_ci            OptionalFixed32 = input.ReadFixed32();
4189ffe3c632Sopenharmony_ci            break;
4190ffe3c632Sopenharmony_ci          }
4191ffe3c632Sopenharmony_ci          case 65: {
4192ffe3c632Sopenharmony_ci            OptionalFixed64 = input.ReadFixed64();
4193ffe3c632Sopenharmony_ci            break;
4194ffe3c632Sopenharmony_ci          }
4195ffe3c632Sopenharmony_ci          case 77: {
4196ffe3c632Sopenharmony_ci            OptionalSfixed32 = input.ReadSFixed32();
4197ffe3c632Sopenharmony_ci            break;
4198ffe3c632Sopenharmony_ci          }
4199ffe3c632Sopenharmony_ci          case 81: {
4200ffe3c632Sopenharmony_ci            OptionalSfixed64 = input.ReadSFixed64();
4201ffe3c632Sopenharmony_ci            break;
4202ffe3c632Sopenharmony_ci          }
4203ffe3c632Sopenharmony_ci          case 93: {
4204ffe3c632Sopenharmony_ci            OptionalFloat = input.ReadFloat();
4205ffe3c632Sopenharmony_ci            break;
4206ffe3c632Sopenharmony_ci          }
4207ffe3c632Sopenharmony_ci          case 97: {
4208ffe3c632Sopenharmony_ci            OptionalDouble = input.ReadDouble();
4209ffe3c632Sopenharmony_ci            break;
4210ffe3c632Sopenharmony_ci          }
4211ffe3c632Sopenharmony_ci          case 104: {
4212ffe3c632Sopenharmony_ci            OptionalBool = input.ReadBool();
4213ffe3c632Sopenharmony_ci            break;
4214ffe3c632Sopenharmony_ci          }
4215ffe3c632Sopenharmony_ci          case 114: {
4216ffe3c632Sopenharmony_ci            OptionalString = input.ReadString();
4217ffe3c632Sopenharmony_ci            break;
4218ffe3c632Sopenharmony_ci          }
4219ffe3c632Sopenharmony_ci          case 122: {
4220ffe3c632Sopenharmony_ci            OptionalBytes = input.ReadBytes();
4221ffe3c632Sopenharmony_ci            break;
4222ffe3c632Sopenharmony_ci          }
4223ffe3c632Sopenharmony_ci          case 146: {
4224ffe3c632Sopenharmony_ci            if (optionalNestedMessage_ == null) {
4225ffe3c632Sopenharmony_ci              OptionalNestedMessage = new global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedMessage();
4226ffe3c632Sopenharmony_ci            }
4227ffe3c632Sopenharmony_ci            input.ReadMessage(OptionalNestedMessage);
4228ffe3c632Sopenharmony_ci            break;
4229ffe3c632Sopenharmony_ci          }
4230ffe3c632Sopenharmony_ci          case 154: {
4231ffe3c632Sopenharmony_ci            if (optionalForeignMessage_ == null) {
4232ffe3c632Sopenharmony_ci              OptionalForeignMessage = new global::ProtobufTestMessages.Proto2.ForeignMessageProto2();
4233ffe3c632Sopenharmony_ci            }
4234ffe3c632Sopenharmony_ci            input.ReadMessage(OptionalForeignMessage);
4235ffe3c632Sopenharmony_ci            break;
4236ffe3c632Sopenharmony_ci          }
4237ffe3c632Sopenharmony_ci          case 168: {
4238ffe3c632Sopenharmony_ci            OptionalNestedEnum = (global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedEnum) input.ReadEnum();
4239ffe3c632Sopenharmony_ci            break;
4240ffe3c632Sopenharmony_ci          }
4241ffe3c632Sopenharmony_ci          case 176: {
4242ffe3c632Sopenharmony_ci            OptionalForeignEnum = (global::ProtobufTestMessages.Proto2.ForeignEnumProto2) input.ReadEnum();
4243ffe3c632Sopenharmony_ci            break;
4244ffe3c632Sopenharmony_ci          }
4245ffe3c632Sopenharmony_ci          case 194: {
4246ffe3c632Sopenharmony_ci            OptionalStringPiece = input.ReadString();
4247ffe3c632Sopenharmony_ci            break;
4248ffe3c632Sopenharmony_ci          }
4249ffe3c632Sopenharmony_ci          case 202: {
4250ffe3c632Sopenharmony_ci            OptionalCord = input.ReadString();
4251ffe3c632Sopenharmony_ci            break;
4252ffe3c632Sopenharmony_ci          }
4253ffe3c632Sopenharmony_ci          case 218: {
4254ffe3c632Sopenharmony_ci            if (recursiveMessage_ == null) {
4255ffe3c632Sopenharmony_ci              RecursiveMessage = new global::ProtobufTestMessages.Proto2.TestAllTypesProto2();
4256ffe3c632Sopenharmony_ci            }
4257ffe3c632Sopenharmony_ci            input.ReadMessage(RecursiveMessage);
4258ffe3c632Sopenharmony_ci            break;
4259ffe3c632Sopenharmony_ci          }
4260ffe3c632Sopenharmony_ci          case 250:
4261ffe3c632Sopenharmony_ci          case 248: {
4262ffe3c632Sopenharmony_ci            repeatedInt32_.AddEntriesFrom(ref input, _repeated_repeatedInt32_codec);
4263ffe3c632Sopenharmony_ci            break;
4264ffe3c632Sopenharmony_ci          }
4265ffe3c632Sopenharmony_ci          case 258:
4266ffe3c632Sopenharmony_ci          case 256: {
4267ffe3c632Sopenharmony_ci            repeatedInt64_.AddEntriesFrom(ref input, _repeated_repeatedInt64_codec);
4268ffe3c632Sopenharmony_ci            break;
4269ffe3c632Sopenharmony_ci          }
4270ffe3c632Sopenharmony_ci          case 266:
4271ffe3c632Sopenharmony_ci          case 264: {
4272ffe3c632Sopenharmony_ci            repeatedUint32_.AddEntriesFrom(ref input, _repeated_repeatedUint32_codec);
4273ffe3c632Sopenharmony_ci            break;
4274ffe3c632Sopenharmony_ci          }
4275ffe3c632Sopenharmony_ci          case 274:
4276ffe3c632Sopenharmony_ci          case 272: {
4277ffe3c632Sopenharmony_ci            repeatedUint64_.AddEntriesFrom(ref input, _repeated_repeatedUint64_codec);
4278ffe3c632Sopenharmony_ci            break;
4279ffe3c632Sopenharmony_ci          }
4280ffe3c632Sopenharmony_ci          case 282:
4281ffe3c632Sopenharmony_ci          case 280: {
4282ffe3c632Sopenharmony_ci            repeatedSint32_.AddEntriesFrom(ref input, _repeated_repeatedSint32_codec);
4283ffe3c632Sopenharmony_ci            break;
4284ffe3c632Sopenharmony_ci          }
4285ffe3c632Sopenharmony_ci          case 290:
4286ffe3c632Sopenharmony_ci          case 288: {
4287ffe3c632Sopenharmony_ci            repeatedSint64_.AddEntriesFrom(ref input, _repeated_repeatedSint64_codec);
4288ffe3c632Sopenharmony_ci            break;
4289ffe3c632Sopenharmony_ci          }
4290ffe3c632Sopenharmony_ci          case 298:
4291ffe3c632Sopenharmony_ci          case 301: {
4292ffe3c632Sopenharmony_ci            repeatedFixed32_.AddEntriesFrom(ref input, _repeated_repeatedFixed32_codec);
4293ffe3c632Sopenharmony_ci            break;
4294ffe3c632Sopenharmony_ci          }
4295ffe3c632Sopenharmony_ci          case 306:
4296ffe3c632Sopenharmony_ci          case 305: {
4297ffe3c632Sopenharmony_ci            repeatedFixed64_.AddEntriesFrom(ref input, _repeated_repeatedFixed64_codec);
4298ffe3c632Sopenharmony_ci            break;
4299ffe3c632Sopenharmony_ci          }
4300ffe3c632Sopenharmony_ci          case 314:
4301ffe3c632Sopenharmony_ci          case 317: {
4302ffe3c632Sopenharmony_ci            repeatedSfixed32_.AddEntriesFrom(ref input, _repeated_repeatedSfixed32_codec);
4303ffe3c632Sopenharmony_ci            break;
4304ffe3c632Sopenharmony_ci          }
4305ffe3c632Sopenharmony_ci          case 322:
4306ffe3c632Sopenharmony_ci          case 321: {
4307ffe3c632Sopenharmony_ci            repeatedSfixed64_.AddEntriesFrom(ref input, _repeated_repeatedSfixed64_codec);
4308ffe3c632Sopenharmony_ci            break;
4309ffe3c632Sopenharmony_ci          }
4310ffe3c632Sopenharmony_ci          case 330:
4311ffe3c632Sopenharmony_ci          case 333: {
4312ffe3c632Sopenharmony_ci            repeatedFloat_.AddEntriesFrom(ref input, _repeated_repeatedFloat_codec);
4313ffe3c632Sopenharmony_ci            break;
4314ffe3c632Sopenharmony_ci          }
4315ffe3c632Sopenharmony_ci          case 338:
4316ffe3c632Sopenharmony_ci          case 337: {
4317ffe3c632Sopenharmony_ci            repeatedDouble_.AddEntriesFrom(ref input, _repeated_repeatedDouble_codec);
4318ffe3c632Sopenharmony_ci            break;
4319ffe3c632Sopenharmony_ci          }
4320ffe3c632Sopenharmony_ci          case 346:
4321ffe3c632Sopenharmony_ci          case 344: {
4322ffe3c632Sopenharmony_ci            repeatedBool_.AddEntriesFrom(ref input, _repeated_repeatedBool_codec);
4323ffe3c632Sopenharmony_ci            break;
4324ffe3c632Sopenharmony_ci          }
4325ffe3c632Sopenharmony_ci          case 354: {
4326ffe3c632Sopenharmony_ci            repeatedString_.AddEntriesFrom(ref input, _repeated_repeatedString_codec);
4327ffe3c632Sopenharmony_ci            break;
4328ffe3c632Sopenharmony_ci          }
4329ffe3c632Sopenharmony_ci          case 362: {
4330ffe3c632Sopenharmony_ci            repeatedBytes_.AddEntriesFrom(ref input, _repeated_repeatedBytes_codec);
4331ffe3c632Sopenharmony_ci            break;
4332ffe3c632Sopenharmony_ci          }
4333ffe3c632Sopenharmony_ci          case 386: {
4334ffe3c632Sopenharmony_ci            repeatedNestedMessage_.AddEntriesFrom(ref input, _repeated_repeatedNestedMessage_codec);
4335ffe3c632Sopenharmony_ci            break;
4336ffe3c632Sopenharmony_ci          }
4337ffe3c632Sopenharmony_ci          case 394: {
4338ffe3c632Sopenharmony_ci            repeatedForeignMessage_.AddEntriesFrom(ref input, _repeated_repeatedForeignMessage_codec);
4339ffe3c632Sopenharmony_ci            break;
4340ffe3c632Sopenharmony_ci          }
4341ffe3c632Sopenharmony_ci          case 410:
4342ffe3c632Sopenharmony_ci          case 408: {
4343ffe3c632Sopenharmony_ci            repeatedNestedEnum_.AddEntriesFrom(ref input, _repeated_repeatedNestedEnum_codec);
4344ffe3c632Sopenharmony_ci            break;
4345ffe3c632Sopenharmony_ci          }
4346ffe3c632Sopenharmony_ci          case 418:
4347ffe3c632Sopenharmony_ci          case 416: {
4348ffe3c632Sopenharmony_ci            repeatedForeignEnum_.AddEntriesFrom(ref input, _repeated_repeatedForeignEnum_codec);
4349ffe3c632Sopenharmony_ci            break;
4350ffe3c632Sopenharmony_ci          }
4351ffe3c632Sopenharmony_ci          case 434: {
4352ffe3c632Sopenharmony_ci            repeatedStringPiece_.AddEntriesFrom(ref input, _repeated_repeatedStringPiece_codec);
4353ffe3c632Sopenharmony_ci            break;
4354ffe3c632Sopenharmony_ci          }
4355ffe3c632Sopenharmony_ci          case 442: {
4356ffe3c632Sopenharmony_ci            repeatedCord_.AddEntriesFrom(ref input, _repeated_repeatedCord_codec);
4357ffe3c632Sopenharmony_ci            break;
4358ffe3c632Sopenharmony_ci          }
4359ffe3c632Sopenharmony_ci          case 450: {
4360ffe3c632Sopenharmony_ci            mapInt32Int32_.AddEntriesFrom(ref input, _map_mapInt32Int32_codec);
4361ffe3c632Sopenharmony_ci            break;
4362ffe3c632Sopenharmony_ci          }
4363ffe3c632Sopenharmony_ci          case 458: {
4364ffe3c632Sopenharmony_ci            mapInt64Int64_.AddEntriesFrom(ref input, _map_mapInt64Int64_codec);
4365ffe3c632Sopenharmony_ci            break;
4366ffe3c632Sopenharmony_ci          }
4367ffe3c632Sopenharmony_ci          case 466: {
4368ffe3c632Sopenharmony_ci            mapUint32Uint32_.AddEntriesFrom(ref input, _map_mapUint32Uint32_codec);
4369ffe3c632Sopenharmony_ci            break;
4370ffe3c632Sopenharmony_ci          }
4371ffe3c632Sopenharmony_ci          case 474: {
4372ffe3c632Sopenharmony_ci            mapUint64Uint64_.AddEntriesFrom(ref input, _map_mapUint64Uint64_codec);
4373ffe3c632Sopenharmony_ci            break;
4374ffe3c632Sopenharmony_ci          }
4375ffe3c632Sopenharmony_ci          case 482: {
4376ffe3c632Sopenharmony_ci            mapSint32Sint32_.AddEntriesFrom(ref input, _map_mapSint32Sint32_codec);
4377ffe3c632Sopenharmony_ci            break;
4378ffe3c632Sopenharmony_ci          }
4379ffe3c632Sopenharmony_ci          case 490: {
4380ffe3c632Sopenharmony_ci            mapSint64Sint64_.AddEntriesFrom(ref input, _map_mapSint64Sint64_codec);
4381ffe3c632Sopenharmony_ci            break;
4382ffe3c632Sopenharmony_ci          }
4383ffe3c632Sopenharmony_ci          case 498: {
4384ffe3c632Sopenharmony_ci            mapFixed32Fixed32_.AddEntriesFrom(ref input, _map_mapFixed32Fixed32_codec);
4385ffe3c632Sopenharmony_ci            break;
4386ffe3c632Sopenharmony_ci          }
4387ffe3c632Sopenharmony_ci          case 506: {
4388ffe3c632Sopenharmony_ci            mapFixed64Fixed64_.AddEntriesFrom(ref input, _map_mapFixed64Fixed64_codec);
4389ffe3c632Sopenharmony_ci            break;
4390ffe3c632Sopenharmony_ci          }
4391ffe3c632Sopenharmony_ci          case 514: {
4392ffe3c632Sopenharmony_ci            mapSfixed32Sfixed32_.AddEntriesFrom(ref input, _map_mapSfixed32Sfixed32_codec);
4393ffe3c632Sopenharmony_ci            break;
4394ffe3c632Sopenharmony_ci          }
4395ffe3c632Sopenharmony_ci          case 522: {
4396ffe3c632Sopenharmony_ci            mapSfixed64Sfixed64_.AddEntriesFrom(ref input, _map_mapSfixed64Sfixed64_codec);
4397ffe3c632Sopenharmony_ci            break;
4398ffe3c632Sopenharmony_ci          }
4399ffe3c632Sopenharmony_ci          case 530: {
4400ffe3c632Sopenharmony_ci            mapInt32Float_.AddEntriesFrom(ref input, _map_mapInt32Float_codec);
4401ffe3c632Sopenharmony_ci            break;
4402ffe3c632Sopenharmony_ci          }
4403ffe3c632Sopenharmony_ci          case 538: {
4404ffe3c632Sopenharmony_ci            mapInt32Double_.AddEntriesFrom(ref input, _map_mapInt32Double_codec);
4405ffe3c632Sopenharmony_ci            break;
4406ffe3c632Sopenharmony_ci          }
4407ffe3c632Sopenharmony_ci          case 546: {
4408ffe3c632Sopenharmony_ci            mapBoolBool_.AddEntriesFrom(ref input, _map_mapBoolBool_codec);
4409ffe3c632Sopenharmony_ci            break;
4410ffe3c632Sopenharmony_ci          }
4411ffe3c632Sopenharmony_ci          case 554: {
4412ffe3c632Sopenharmony_ci            mapStringString_.AddEntriesFrom(ref input, _map_mapStringString_codec);
4413ffe3c632Sopenharmony_ci            break;
4414ffe3c632Sopenharmony_ci          }
4415ffe3c632Sopenharmony_ci          case 562: {
4416ffe3c632Sopenharmony_ci            mapStringBytes_.AddEntriesFrom(ref input, _map_mapStringBytes_codec);
4417ffe3c632Sopenharmony_ci            break;
4418ffe3c632Sopenharmony_ci          }
4419ffe3c632Sopenharmony_ci          case 570: {
4420ffe3c632Sopenharmony_ci            mapStringNestedMessage_.AddEntriesFrom(ref input, _map_mapStringNestedMessage_codec);
4421ffe3c632Sopenharmony_ci            break;
4422ffe3c632Sopenharmony_ci          }
4423ffe3c632Sopenharmony_ci          case 578: {
4424ffe3c632Sopenharmony_ci            mapStringForeignMessage_.AddEntriesFrom(ref input, _map_mapStringForeignMessage_codec);
4425ffe3c632Sopenharmony_ci            break;
4426ffe3c632Sopenharmony_ci          }
4427ffe3c632Sopenharmony_ci          case 586: {
4428ffe3c632Sopenharmony_ci            mapStringNestedEnum_.AddEntriesFrom(ref input, _map_mapStringNestedEnum_codec);
4429ffe3c632Sopenharmony_ci            break;
4430ffe3c632Sopenharmony_ci          }
4431ffe3c632Sopenharmony_ci          case 594: {
4432ffe3c632Sopenharmony_ci            mapStringForeignEnum_.AddEntriesFrom(ref input, _map_mapStringForeignEnum_codec);
4433ffe3c632Sopenharmony_ci            break;
4434ffe3c632Sopenharmony_ci          }
4435ffe3c632Sopenharmony_ci          case 602:
4436ffe3c632Sopenharmony_ci          case 600: {
4437ffe3c632Sopenharmony_ci            packedInt32_.AddEntriesFrom(ref input, _repeated_packedInt32_codec);
4438ffe3c632Sopenharmony_ci            break;
4439ffe3c632Sopenharmony_ci          }
4440ffe3c632Sopenharmony_ci          case 610:
4441ffe3c632Sopenharmony_ci          case 608: {
4442ffe3c632Sopenharmony_ci            packedInt64_.AddEntriesFrom(ref input, _repeated_packedInt64_codec);
4443ffe3c632Sopenharmony_ci            break;
4444ffe3c632Sopenharmony_ci          }
4445ffe3c632Sopenharmony_ci          case 618:
4446ffe3c632Sopenharmony_ci          case 616: {
4447ffe3c632Sopenharmony_ci            packedUint32_.AddEntriesFrom(ref input, _repeated_packedUint32_codec);
4448ffe3c632Sopenharmony_ci            break;
4449ffe3c632Sopenharmony_ci          }
4450ffe3c632Sopenharmony_ci          case 626:
4451ffe3c632Sopenharmony_ci          case 624: {
4452ffe3c632Sopenharmony_ci            packedUint64_.AddEntriesFrom(ref input, _repeated_packedUint64_codec);
4453ffe3c632Sopenharmony_ci            break;
4454ffe3c632Sopenharmony_ci          }
4455ffe3c632Sopenharmony_ci          case 634:
4456ffe3c632Sopenharmony_ci          case 632: {
4457ffe3c632Sopenharmony_ci            packedSint32_.AddEntriesFrom(ref input, _repeated_packedSint32_codec);
4458ffe3c632Sopenharmony_ci            break;
4459ffe3c632Sopenharmony_ci          }
4460ffe3c632Sopenharmony_ci          case 642:
4461ffe3c632Sopenharmony_ci          case 640: {
4462ffe3c632Sopenharmony_ci            packedSint64_.AddEntriesFrom(ref input, _repeated_packedSint64_codec);
4463ffe3c632Sopenharmony_ci            break;
4464ffe3c632Sopenharmony_ci          }
4465ffe3c632Sopenharmony_ci          case 650:
4466ffe3c632Sopenharmony_ci          case 653: {
4467ffe3c632Sopenharmony_ci            packedFixed32_.AddEntriesFrom(ref input, _repeated_packedFixed32_codec);
4468ffe3c632Sopenharmony_ci            break;
4469ffe3c632Sopenharmony_ci          }
4470ffe3c632Sopenharmony_ci          case 658:
4471ffe3c632Sopenharmony_ci          case 657: {
4472ffe3c632Sopenharmony_ci            packedFixed64_.AddEntriesFrom(ref input, _repeated_packedFixed64_codec);
4473ffe3c632Sopenharmony_ci            break;
4474ffe3c632Sopenharmony_ci          }
4475ffe3c632Sopenharmony_ci          case 666:
4476ffe3c632Sopenharmony_ci          case 669: {
4477ffe3c632Sopenharmony_ci            packedSfixed32_.AddEntriesFrom(ref input, _repeated_packedSfixed32_codec);
4478ffe3c632Sopenharmony_ci            break;
4479ffe3c632Sopenharmony_ci          }
4480ffe3c632Sopenharmony_ci          case 674:
4481ffe3c632Sopenharmony_ci          case 673: {
4482ffe3c632Sopenharmony_ci            packedSfixed64_.AddEntriesFrom(ref input, _repeated_packedSfixed64_codec);
4483ffe3c632Sopenharmony_ci            break;
4484ffe3c632Sopenharmony_ci          }
4485ffe3c632Sopenharmony_ci          case 682:
4486ffe3c632Sopenharmony_ci          case 685: {
4487ffe3c632Sopenharmony_ci            packedFloat_.AddEntriesFrom(ref input, _repeated_packedFloat_codec);
4488ffe3c632Sopenharmony_ci            break;
4489ffe3c632Sopenharmony_ci          }
4490ffe3c632Sopenharmony_ci          case 690:
4491ffe3c632Sopenharmony_ci          case 689: {
4492ffe3c632Sopenharmony_ci            packedDouble_.AddEntriesFrom(ref input, _repeated_packedDouble_codec);
4493ffe3c632Sopenharmony_ci            break;
4494ffe3c632Sopenharmony_ci          }
4495ffe3c632Sopenharmony_ci          case 698:
4496ffe3c632Sopenharmony_ci          case 696: {
4497ffe3c632Sopenharmony_ci            packedBool_.AddEntriesFrom(ref input, _repeated_packedBool_codec);
4498ffe3c632Sopenharmony_ci            break;
4499ffe3c632Sopenharmony_ci          }
4500ffe3c632Sopenharmony_ci          case 706:
4501ffe3c632Sopenharmony_ci          case 704: {
4502ffe3c632Sopenharmony_ci            packedNestedEnum_.AddEntriesFrom(ref input, _repeated_packedNestedEnum_codec);
4503ffe3c632Sopenharmony_ci            break;
4504ffe3c632Sopenharmony_ci          }
4505ffe3c632Sopenharmony_ci          case 714:
4506ffe3c632Sopenharmony_ci          case 712: {
4507ffe3c632Sopenharmony_ci            unpackedInt32_.AddEntriesFrom(ref input, _repeated_unpackedInt32_codec);
4508ffe3c632Sopenharmony_ci            break;
4509ffe3c632Sopenharmony_ci          }
4510ffe3c632Sopenharmony_ci          case 722:
4511ffe3c632Sopenharmony_ci          case 720: {
4512ffe3c632Sopenharmony_ci            unpackedInt64_.AddEntriesFrom(ref input, _repeated_unpackedInt64_codec);
4513ffe3c632Sopenharmony_ci            break;
4514ffe3c632Sopenharmony_ci          }
4515ffe3c632Sopenharmony_ci          case 730:
4516ffe3c632Sopenharmony_ci          case 728: {
4517ffe3c632Sopenharmony_ci            unpackedUint32_.AddEntriesFrom(ref input, _repeated_unpackedUint32_codec);
4518ffe3c632Sopenharmony_ci            break;
4519ffe3c632Sopenharmony_ci          }
4520ffe3c632Sopenharmony_ci          case 738:
4521ffe3c632Sopenharmony_ci          case 736: {
4522ffe3c632Sopenharmony_ci            unpackedUint64_.AddEntriesFrom(ref input, _repeated_unpackedUint64_codec);
4523ffe3c632Sopenharmony_ci            break;
4524ffe3c632Sopenharmony_ci          }
4525ffe3c632Sopenharmony_ci          case 746:
4526ffe3c632Sopenharmony_ci          case 744: {
4527ffe3c632Sopenharmony_ci            unpackedSint32_.AddEntriesFrom(ref input, _repeated_unpackedSint32_codec);
4528ffe3c632Sopenharmony_ci            break;
4529ffe3c632Sopenharmony_ci          }
4530ffe3c632Sopenharmony_ci          case 754:
4531ffe3c632Sopenharmony_ci          case 752: {
4532ffe3c632Sopenharmony_ci            unpackedSint64_.AddEntriesFrom(ref input, _repeated_unpackedSint64_codec);
4533ffe3c632Sopenharmony_ci            break;
4534ffe3c632Sopenharmony_ci          }
4535ffe3c632Sopenharmony_ci          case 762:
4536ffe3c632Sopenharmony_ci          case 765: {
4537ffe3c632Sopenharmony_ci            unpackedFixed32_.AddEntriesFrom(ref input, _repeated_unpackedFixed32_codec);
4538ffe3c632Sopenharmony_ci            break;
4539ffe3c632Sopenharmony_ci          }
4540ffe3c632Sopenharmony_ci          case 770:
4541ffe3c632Sopenharmony_ci          case 769: {
4542ffe3c632Sopenharmony_ci            unpackedFixed64_.AddEntriesFrom(ref input, _repeated_unpackedFixed64_codec);
4543ffe3c632Sopenharmony_ci            break;
4544ffe3c632Sopenharmony_ci          }
4545ffe3c632Sopenharmony_ci          case 778:
4546ffe3c632Sopenharmony_ci          case 781: {
4547ffe3c632Sopenharmony_ci            unpackedSfixed32_.AddEntriesFrom(ref input, _repeated_unpackedSfixed32_codec);
4548ffe3c632Sopenharmony_ci            break;
4549ffe3c632Sopenharmony_ci          }
4550ffe3c632Sopenharmony_ci          case 786:
4551ffe3c632Sopenharmony_ci          case 785: {
4552ffe3c632Sopenharmony_ci            unpackedSfixed64_.AddEntriesFrom(ref input, _repeated_unpackedSfixed64_codec);
4553ffe3c632Sopenharmony_ci            break;
4554ffe3c632Sopenharmony_ci          }
4555ffe3c632Sopenharmony_ci          case 794:
4556ffe3c632Sopenharmony_ci          case 797: {
4557ffe3c632Sopenharmony_ci            unpackedFloat_.AddEntriesFrom(ref input, _repeated_unpackedFloat_codec);
4558ffe3c632Sopenharmony_ci            break;
4559ffe3c632Sopenharmony_ci          }
4560ffe3c632Sopenharmony_ci          case 802:
4561ffe3c632Sopenharmony_ci          case 801: {
4562ffe3c632Sopenharmony_ci            unpackedDouble_.AddEntriesFrom(ref input, _repeated_unpackedDouble_codec);
4563ffe3c632Sopenharmony_ci            break;
4564ffe3c632Sopenharmony_ci          }
4565ffe3c632Sopenharmony_ci          case 810:
4566ffe3c632Sopenharmony_ci          case 808: {
4567ffe3c632Sopenharmony_ci            unpackedBool_.AddEntriesFrom(ref input, _repeated_unpackedBool_codec);
4568ffe3c632Sopenharmony_ci            break;
4569ffe3c632Sopenharmony_ci          }
4570ffe3c632Sopenharmony_ci          case 818:
4571ffe3c632Sopenharmony_ci          case 816: {
4572ffe3c632Sopenharmony_ci            unpackedNestedEnum_.AddEntriesFrom(ref input, _repeated_unpackedNestedEnum_codec);
4573ffe3c632Sopenharmony_ci            break;
4574ffe3c632Sopenharmony_ci          }
4575ffe3c632Sopenharmony_ci          case 888: {
4576ffe3c632Sopenharmony_ci            OneofUint32 = input.ReadUInt32();
4577ffe3c632Sopenharmony_ci            break;
4578ffe3c632Sopenharmony_ci          }
4579ffe3c632Sopenharmony_ci          case 898: {
4580ffe3c632Sopenharmony_ci            global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedMessage subBuilder = new global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedMessage();
4581ffe3c632Sopenharmony_ci            if (oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage) {
4582ffe3c632Sopenharmony_ci              subBuilder.MergeFrom(OneofNestedMessage);
4583ffe3c632Sopenharmony_ci            }
4584ffe3c632Sopenharmony_ci            input.ReadMessage(subBuilder);
4585ffe3c632Sopenharmony_ci            OneofNestedMessage = subBuilder;
4586ffe3c632Sopenharmony_ci            break;
4587ffe3c632Sopenharmony_ci          }
4588ffe3c632Sopenharmony_ci          case 906: {
4589ffe3c632Sopenharmony_ci            OneofString = input.ReadString();
4590ffe3c632Sopenharmony_ci            break;
4591ffe3c632Sopenharmony_ci          }
4592ffe3c632Sopenharmony_ci          case 914: {
4593ffe3c632Sopenharmony_ci            OneofBytes = input.ReadBytes();
4594ffe3c632Sopenharmony_ci            break;
4595ffe3c632Sopenharmony_ci          }
4596ffe3c632Sopenharmony_ci          case 920: {
4597ffe3c632Sopenharmony_ci            OneofBool = input.ReadBool();
4598ffe3c632Sopenharmony_ci            break;
4599ffe3c632Sopenharmony_ci          }
4600ffe3c632Sopenharmony_ci          case 928: {
4601ffe3c632Sopenharmony_ci            OneofUint64 = input.ReadUInt64();
4602ffe3c632Sopenharmony_ci            break;
4603ffe3c632Sopenharmony_ci          }
4604ffe3c632Sopenharmony_ci          case 941: {
4605ffe3c632Sopenharmony_ci            OneofFloat = input.ReadFloat();
4606ffe3c632Sopenharmony_ci            break;
4607ffe3c632Sopenharmony_ci          }
4608ffe3c632Sopenharmony_ci          case 945: {
4609ffe3c632Sopenharmony_ci            OneofDouble = input.ReadDouble();
4610ffe3c632Sopenharmony_ci            break;
4611ffe3c632Sopenharmony_ci          }
4612ffe3c632Sopenharmony_ci          case 952: {
4613ffe3c632Sopenharmony_ci            oneofField_ = input.ReadEnum();
4614ffe3c632Sopenharmony_ci            oneofFieldCase_ = OneofFieldOneofCase.OneofEnum;
4615ffe3c632Sopenharmony_ci            break;
4616ffe3c632Sopenharmony_ci          }
4617ffe3c632Sopenharmony_ci          case 1611: {
4618ffe3c632Sopenharmony_ci            if (!HasData) {
4619ffe3c632Sopenharmony_ci              Data = new global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.Data();
4620ffe3c632Sopenharmony_ci            }
4621ffe3c632Sopenharmony_ci            input.ReadGroup(Data);
4622ffe3c632Sopenharmony_ci            break;
4623ffe3c632Sopenharmony_ci          }
4624ffe3c632Sopenharmony_ci          case 3208: {
4625ffe3c632Sopenharmony_ci            Fieldname1 = input.ReadInt32();
4626ffe3c632Sopenharmony_ci            break;
4627ffe3c632Sopenharmony_ci          }
4628ffe3c632Sopenharmony_ci          case 3216: {
4629ffe3c632Sopenharmony_ci            FieldName2 = input.ReadInt32();
4630ffe3c632Sopenharmony_ci            break;
4631ffe3c632Sopenharmony_ci          }
4632ffe3c632Sopenharmony_ci          case 3224: {
4633ffe3c632Sopenharmony_ci            FieldName3 = input.ReadInt32();
4634ffe3c632Sopenharmony_ci            break;
4635ffe3c632Sopenharmony_ci          }
4636ffe3c632Sopenharmony_ci          case 3232: {
4637ffe3c632Sopenharmony_ci            FieldName4 = input.ReadInt32();
4638ffe3c632Sopenharmony_ci            break;
4639ffe3c632Sopenharmony_ci          }
4640ffe3c632Sopenharmony_ci          case 3240: {
4641ffe3c632Sopenharmony_ci            Field0Name5 = input.ReadInt32();
4642ffe3c632Sopenharmony_ci            break;
4643ffe3c632Sopenharmony_ci          }
4644ffe3c632Sopenharmony_ci          case 3248: {
4645ffe3c632Sopenharmony_ci            Field0Name6 = input.ReadInt32();
4646ffe3c632Sopenharmony_ci            break;
4647ffe3c632Sopenharmony_ci          }
4648ffe3c632Sopenharmony_ci          case 3256: {
4649ffe3c632Sopenharmony_ci            FieldName7 = input.ReadInt32();
4650ffe3c632Sopenharmony_ci            break;
4651ffe3c632Sopenharmony_ci          }
4652ffe3c632Sopenharmony_ci          case 3264: {
4653ffe3c632Sopenharmony_ci            FieldName8 = input.ReadInt32();
4654ffe3c632Sopenharmony_ci            break;
4655ffe3c632Sopenharmony_ci          }
4656ffe3c632Sopenharmony_ci          case 3272: {
4657ffe3c632Sopenharmony_ci            FieldName9 = input.ReadInt32();
4658ffe3c632Sopenharmony_ci            break;
4659ffe3c632Sopenharmony_ci          }
4660ffe3c632Sopenharmony_ci          case 3280: {
4661ffe3c632Sopenharmony_ci            FieldName10 = input.ReadInt32();
4662ffe3c632Sopenharmony_ci            break;
4663ffe3c632Sopenharmony_ci          }
4664ffe3c632Sopenharmony_ci          case 3288: {
4665ffe3c632Sopenharmony_ci            FIELDNAME11 = input.ReadInt32();
4666ffe3c632Sopenharmony_ci            break;
4667ffe3c632Sopenharmony_ci          }
4668ffe3c632Sopenharmony_ci          case 3296: {
4669ffe3c632Sopenharmony_ci            FIELDName12 = input.ReadInt32();
4670ffe3c632Sopenharmony_ci            break;
4671ffe3c632Sopenharmony_ci          }
4672ffe3c632Sopenharmony_ci          case 3304: {
4673ffe3c632Sopenharmony_ci            FieldName13 = input.ReadInt32();
4674ffe3c632Sopenharmony_ci            break;
4675ffe3c632Sopenharmony_ci          }
4676ffe3c632Sopenharmony_ci          case 3312: {
4677ffe3c632Sopenharmony_ci            FieldName14 = input.ReadInt32();
4678ffe3c632Sopenharmony_ci            break;
4679ffe3c632Sopenharmony_ci          }
4680ffe3c632Sopenharmony_ci          case 3320: {
4681ffe3c632Sopenharmony_ci            FieldName15 = input.ReadInt32();
4682ffe3c632Sopenharmony_ci            break;
4683ffe3c632Sopenharmony_ci          }
4684ffe3c632Sopenharmony_ci          case 3328: {
4685ffe3c632Sopenharmony_ci            FieldName16 = input.ReadInt32();
4686ffe3c632Sopenharmony_ci            break;
4687ffe3c632Sopenharmony_ci          }
4688ffe3c632Sopenharmony_ci          case 3336: {
4689ffe3c632Sopenharmony_ci            FieldName17 = input.ReadInt32();
4690ffe3c632Sopenharmony_ci            break;
4691ffe3c632Sopenharmony_ci          }
4692ffe3c632Sopenharmony_ci          case 3344: {
4693ffe3c632Sopenharmony_ci            FieldName18 = input.ReadInt32();
4694ffe3c632Sopenharmony_ci            break;
4695ffe3c632Sopenharmony_ci          }
4696ffe3c632Sopenharmony_ci        }
4697ffe3c632Sopenharmony_ci      }
4698ffe3c632Sopenharmony_ci    }
4699ffe3c632Sopenharmony_ci    #endif
4700ffe3c632Sopenharmony_ci
4701ffe3c632Sopenharmony_ci    public TValue GetExtension<TValue>(pb::Extension<TestAllTypesProto2, TValue> extension) {
4702ffe3c632Sopenharmony_ci      return pb::ExtensionSet.Get(ref _extensions, extension);
4703ffe3c632Sopenharmony_ci    }
4704ffe3c632Sopenharmony_ci    public pbc::RepeatedField<TValue> GetExtension<TValue>(pb::RepeatedExtension<TestAllTypesProto2, TValue> extension) {
4705ffe3c632Sopenharmony_ci      return pb::ExtensionSet.Get(ref _extensions, extension);
4706ffe3c632Sopenharmony_ci    }
4707ffe3c632Sopenharmony_ci    public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<TestAllTypesProto2, TValue> extension) {
4708ffe3c632Sopenharmony_ci      return pb::ExtensionSet.GetOrInitialize(ref _extensions, extension);
4709ffe3c632Sopenharmony_ci    }
4710ffe3c632Sopenharmony_ci    public void SetExtension<TValue>(pb::Extension<TestAllTypesProto2, TValue> extension, TValue value) {
4711ffe3c632Sopenharmony_ci      pb::ExtensionSet.Set(ref _extensions, extension, value);
4712ffe3c632Sopenharmony_ci    }
4713ffe3c632Sopenharmony_ci    public bool HasExtension<TValue>(pb::Extension<TestAllTypesProto2, TValue> extension) {
4714ffe3c632Sopenharmony_ci      return pb::ExtensionSet.Has(ref _extensions, extension);
4715ffe3c632Sopenharmony_ci    }
4716ffe3c632Sopenharmony_ci    public void ClearExtension<TValue>(pb::Extension<TestAllTypesProto2, TValue> extension) {
4717ffe3c632Sopenharmony_ci      pb::ExtensionSet.Clear(ref _extensions, extension);
4718ffe3c632Sopenharmony_ci    }
4719ffe3c632Sopenharmony_ci    public void ClearExtension<TValue>(pb::RepeatedExtension<TestAllTypesProto2, TValue> extension) {
4720ffe3c632Sopenharmony_ci      pb::ExtensionSet.Clear(ref _extensions, extension);
4721ffe3c632Sopenharmony_ci    }
4722ffe3c632Sopenharmony_ci
4723ffe3c632Sopenharmony_ci    #region Nested types
4724ffe3c632Sopenharmony_ci    /// <summary>Container for nested types declared in the TestAllTypesProto2 message type.</summary>
4725ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4726ffe3c632Sopenharmony_ci    public static partial class Types {
4727ffe3c632Sopenharmony_ci      public enum NestedEnum {
4728ffe3c632Sopenharmony_ci        [pbr::OriginalName("FOO")] Foo = 0,
4729ffe3c632Sopenharmony_ci        [pbr::OriginalName("BAR")] Bar = 1,
4730ffe3c632Sopenharmony_ci        [pbr::OriginalName("BAZ")] Baz = 2,
4731ffe3c632Sopenharmony_ci        /// <summary>
4732ffe3c632Sopenharmony_ci        /// Intentionally negative.
4733ffe3c632Sopenharmony_ci        /// </summary>
4734ffe3c632Sopenharmony_ci        [pbr::OriginalName("NEG")] Neg = -1,
4735ffe3c632Sopenharmony_ci      }
4736ffe3c632Sopenharmony_ci
4737ffe3c632Sopenharmony_ci      public sealed partial class NestedMessage : pb::IMessage<NestedMessage>
4738ffe3c632Sopenharmony_ci      #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4739ffe3c632Sopenharmony_ci          , pb::IBufferMessage
4740ffe3c632Sopenharmony_ci      #endif
4741ffe3c632Sopenharmony_ci      {
4742ffe3c632Sopenharmony_ci        private static readonly pb::MessageParser<NestedMessage> _parser = new pb::MessageParser<NestedMessage>(() => new NestedMessage());
4743ffe3c632Sopenharmony_ci        private pb::UnknownFieldSet _unknownFields;
4744ffe3c632Sopenharmony_ci        private int _hasBits0;
4745ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4746ffe3c632Sopenharmony_ci        public static pb::MessageParser<NestedMessage> Parser { get { return _parser; } }
4747ffe3c632Sopenharmony_ci
4748ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4749ffe3c632Sopenharmony_ci        public static pbr::MessageDescriptor Descriptor {
4750ffe3c632Sopenharmony_ci          get { return global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Descriptor.NestedTypes[0]; }
4751ffe3c632Sopenharmony_ci        }
4752ffe3c632Sopenharmony_ci
4753ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4754ffe3c632Sopenharmony_ci        pbr::MessageDescriptor pb::IMessage.Descriptor {
4755ffe3c632Sopenharmony_ci          get { return Descriptor; }
4756ffe3c632Sopenharmony_ci        }
4757ffe3c632Sopenharmony_ci
4758ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4759ffe3c632Sopenharmony_ci        public NestedMessage() {
4760ffe3c632Sopenharmony_ci          OnConstruction();
4761ffe3c632Sopenharmony_ci        }
4762ffe3c632Sopenharmony_ci
4763ffe3c632Sopenharmony_ci        partial void OnConstruction();
4764ffe3c632Sopenharmony_ci
4765ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4766ffe3c632Sopenharmony_ci        public NestedMessage(NestedMessage other) : this() {
4767ffe3c632Sopenharmony_ci          _hasBits0 = other._hasBits0;
4768ffe3c632Sopenharmony_ci          a_ = other.a_;
4769ffe3c632Sopenharmony_ci          corecursive_ = other.corecursive_ != null ? other.corecursive_.Clone() : null;
4770ffe3c632Sopenharmony_ci          _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
4771ffe3c632Sopenharmony_ci        }
4772ffe3c632Sopenharmony_ci
4773ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4774ffe3c632Sopenharmony_ci        public NestedMessage Clone() {
4775ffe3c632Sopenharmony_ci          return new NestedMessage(this);
4776ffe3c632Sopenharmony_ci        }
4777ffe3c632Sopenharmony_ci
4778ffe3c632Sopenharmony_ci        /// <summary>Field number for the "a" field.</summary>
4779ffe3c632Sopenharmony_ci        public const int AFieldNumber = 1;
4780ffe3c632Sopenharmony_ci        private readonly static int ADefaultValue = 0;
4781ffe3c632Sopenharmony_ci
4782ffe3c632Sopenharmony_ci        private int a_;
4783ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4784ffe3c632Sopenharmony_ci        public int A {
4785ffe3c632Sopenharmony_ci          get { if ((_hasBits0 & 1) != 0) { return a_; } else { return ADefaultValue; } }
4786ffe3c632Sopenharmony_ci          set {
4787ffe3c632Sopenharmony_ci            _hasBits0 |= 1;
4788ffe3c632Sopenharmony_ci            a_ = value;
4789ffe3c632Sopenharmony_ci          }
4790ffe3c632Sopenharmony_ci        }
4791ffe3c632Sopenharmony_ci        /// <summary>Gets whether the "a" field is set</summary>
4792ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4793ffe3c632Sopenharmony_ci        public bool HasA {
4794ffe3c632Sopenharmony_ci          get { return (_hasBits0 & 1) != 0; }
4795ffe3c632Sopenharmony_ci        }
4796ffe3c632Sopenharmony_ci        /// <summary>Clears the value of the "a" field</summary>
4797ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4798ffe3c632Sopenharmony_ci        public void ClearA() {
4799ffe3c632Sopenharmony_ci          _hasBits0 &= ~1;
4800ffe3c632Sopenharmony_ci        }
4801ffe3c632Sopenharmony_ci
4802ffe3c632Sopenharmony_ci        /// <summary>Field number for the "corecursive" field.</summary>
4803ffe3c632Sopenharmony_ci        public const int CorecursiveFieldNumber = 2;
4804ffe3c632Sopenharmony_ci        private global::ProtobufTestMessages.Proto2.TestAllTypesProto2 corecursive_;
4805ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4806ffe3c632Sopenharmony_ci        public global::ProtobufTestMessages.Proto2.TestAllTypesProto2 Corecursive {
4807ffe3c632Sopenharmony_ci          get { return corecursive_; }
4808ffe3c632Sopenharmony_ci          set {
4809ffe3c632Sopenharmony_ci            corecursive_ = value;
4810ffe3c632Sopenharmony_ci          }
4811ffe3c632Sopenharmony_ci        }
4812ffe3c632Sopenharmony_ci
4813ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4814ffe3c632Sopenharmony_ci        public override bool Equals(object other) {
4815ffe3c632Sopenharmony_ci          return Equals(other as NestedMessage);
4816ffe3c632Sopenharmony_ci        }
4817ffe3c632Sopenharmony_ci
4818ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4819ffe3c632Sopenharmony_ci        public bool Equals(NestedMessage other) {
4820ffe3c632Sopenharmony_ci          if (ReferenceEquals(other, null)) {
4821ffe3c632Sopenharmony_ci            return false;
4822ffe3c632Sopenharmony_ci          }
4823ffe3c632Sopenharmony_ci          if (ReferenceEquals(other, this)) {
4824ffe3c632Sopenharmony_ci            return true;
4825ffe3c632Sopenharmony_ci          }
4826ffe3c632Sopenharmony_ci          if (A != other.A) return false;
4827ffe3c632Sopenharmony_ci          if (!object.Equals(Corecursive, other.Corecursive)) return false;
4828ffe3c632Sopenharmony_ci          return Equals(_unknownFields, other._unknownFields);
4829ffe3c632Sopenharmony_ci        }
4830ffe3c632Sopenharmony_ci
4831ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4832ffe3c632Sopenharmony_ci        public override int GetHashCode() {
4833ffe3c632Sopenharmony_ci          int hash = 1;
4834ffe3c632Sopenharmony_ci          if (HasA) hash ^= A.GetHashCode();
4835ffe3c632Sopenharmony_ci          if (corecursive_ != null) hash ^= Corecursive.GetHashCode();
4836ffe3c632Sopenharmony_ci          if (_unknownFields != null) {
4837ffe3c632Sopenharmony_ci            hash ^= _unknownFields.GetHashCode();
4838ffe3c632Sopenharmony_ci          }
4839ffe3c632Sopenharmony_ci          return hash;
4840ffe3c632Sopenharmony_ci        }
4841ffe3c632Sopenharmony_ci
4842ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4843ffe3c632Sopenharmony_ci        public override string ToString() {
4844ffe3c632Sopenharmony_ci          return pb::JsonFormatter.ToDiagnosticString(this);
4845ffe3c632Sopenharmony_ci        }
4846ffe3c632Sopenharmony_ci
4847ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4848ffe3c632Sopenharmony_ci        public void WriteTo(pb::CodedOutputStream output) {
4849ffe3c632Sopenharmony_ci        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4850ffe3c632Sopenharmony_ci          output.WriteRawMessage(this);
4851ffe3c632Sopenharmony_ci        #else
4852ffe3c632Sopenharmony_ci          if (HasA) {
4853ffe3c632Sopenharmony_ci            output.WriteRawTag(8);
4854ffe3c632Sopenharmony_ci            output.WriteInt32(A);
4855ffe3c632Sopenharmony_ci          }
4856ffe3c632Sopenharmony_ci          if (corecursive_ != null) {
4857ffe3c632Sopenharmony_ci            output.WriteRawTag(18);
4858ffe3c632Sopenharmony_ci            output.WriteMessage(Corecursive);
4859ffe3c632Sopenharmony_ci          }
4860ffe3c632Sopenharmony_ci          if (_unknownFields != null) {
4861ffe3c632Sopenharmony_ci            _unknownFields.WriteTo(output);
4862ffe3c632Sopenharmony_ci          }
4863ffe3c632Sopenharmony_ci        #endif
4864ffe3c632Sopenharmony_ci        }
4865ffe3c632Sopenharmony_ci
4866ffe3c632Sopenharmony_ci        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4867ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4868ffe3c632Sopenharmony_ci        void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
4869ffe3c632Sopenharmony_ci          if (HasA) {
4870ffe3c632Sopenharmony_ci            output.WriteRawTag(8);
4871ffe3c632Sopenharmony_ci            output.WriteInt32(A);
4872ffe3c632Sopenharmony_ci          }
4873ffe3c632Sopenharmony_ci          if (corecursive_ != null) {
4874ffe3c632Sopenharmony_ci            output.WriteRawTag(18);
4875ffe3c632Sopenharmony_ci            output.WriteMessage(Corecursive);
4876ffe3c632Sopenharmony_ci          }
4877ffe3c632Sopenharmony_ci          if (_unknownFields != null) {
4878ffe3c632Sopenharmony_ci            _unknownFields.WriteTo(ref output);
4879ffe3c632Sopenharmony_ci          }
4880ffe3c632Sopenharmony_ci        }
4881ffe3c632Sopenharmony_ci        #endif
4882ffe3c632Sopenharmony_ci
4883ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4884ffe3c632Sopenharmony_ci        public int CalculateSize() {
4885ffe3c632Sopenharmony_ci          int size = 0;
4886ffe3c632Sopenharmony_ci          if (HasA) {
4887ffe3c632Sopenharmony_ci            size += 1 + pb::CodedOutputStream.ComputeInt32Size(A);
4888ffe3c632Sopenharmony_ci          }
4889ffe3c632Sopenharmony_ci          if (corecursive_ != null) {
4890ffe3c632Sopenharmony_ci            size += 1 + pb::CodedOutputStream.ComputeMessageSize(Corecursive);
4891ffe3c632Sopenharmony_ci          }
4892ffe3c632Sopenharmony_ci          if (_unknownFields != null) {
4893ffe3c632Sopenharmony_ci            size += _unknownFields.CalculateSize();
4894ffe3c632Sopenharmony_ci          }
4895ffe3c632Sopenharmony_ci          return size;
4896ffe3c632Sopenharmony_ci        }
4897ffe3c632Sopenharmony_ci
4898ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4899ffe3c632Sopenharmony_ci        public void MergeFrom(NestedMessage other) {
4900ffe3c632Sopenharmony_ci          if (other == null) {
4901ffe3c632Sopenharmony_ci            return;
4902ffe3c632Sopenharmony_ci          }
4903ffe3c632Sopenharmony_ci          if (other.HasA) {
4904ffe3c632Sopenharmony_ci            A = other.A;
4905ffe3c632Sopenharmony_ci          }
4906ffe3c632Sopenharmony_ci          if (other.corecursive_ != null) {
4907ffe3c632Sopenharmony_ci            if (corecursive_ == null) {
4908ffe3c632Sopenharmony_ci              Corecursive = new global::ProtobufTestMessages.Proto2.TestAllTypesProto2();
4909ffe3c632Sopenharmony_ci            }
4910ffe3c632Sopenharmony_ci            Corecursive.MergeFrom(other.Corecursive);
4911ffe3c632Sopenharmony_ci          }
4912ffe3c632Sopenharmony_ci          _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
4913ffe3c632Sopenharmony_ci        }
4914ffe3c632Sopenharmony_ci
4915ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4916ffe3c632Sopenharmony_ci        public void MergeFrom(pb::CodedInputStream input) {
4917ffe3c632Sopenharmony_ci        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4918ffe3c632Sopenharmony_ci          input.ReadRawMessage(this);
4919ffe3c632Sopenharmony_ci        #else
4920ffe3c632Sopenharmony_ci          uint tag;
4921ffe3c632Sopenharmony_ci          while ((tag = input.ReadTag()) != 0) {
4922ffe3c632Sopenharmony_ci            switch(tag) {
4923ffe3c632Sopenharmony_ci              default:
4924ffe3c632Sopenharmony_ci                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
4925ffe3c632Sopenharmony_ci                break;
4926ffe3c632Sopenharmony_ci              case 8: {
4927ffe3c632Sopenharmony_ci                A = input.ReadInt32();
4928ffe3c632Sopenharmony_ci                break;
4929ffe3c632Sopenharmony_ci              }
4930ffe3c632Sopenharmony_ci              case 18: {
4931ffe3c632Sopenharmony_ci                if (corecursive_ == null) {
4932ffe3c632Sopenharmony_ci                  Corecursive = new global::ProtobufTestMessages.Proto2.TestAllTypesProto2();
4933ffe3c632Sopenharmony_ci                }
4934ffe3c632Sopenharmony_ci                input.ReadMessage(Corecursive);
4935ffe3c632Sopenharmony_ci                break;
4936ffe3c632Sopenharmony_ci              }
4937ffe3c632Sopenharmony_ci            }
4938ffe3c632Sopenharmony_ci          }
4939ffe3c632Sopenharmony_ci        #endif
4940ffe3c632Sopenharmony_ci        }
4941ffe3c632Sopenharmony_ci
4942ffe3c632Sopenharmony_ci        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4943ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4944ffe3c632Sopenharmony_ci        void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
4945ffe3c632Sopenharmony_ci          uint tag;
4946ffe3c632Sopenharmony_ci          while ((tag = input.ReadTag()) != 0) {
4947ffe3c632Sopenharmony_ci            switch(tag) {
4948ffe3c632Sopenharmony_ci              default:
4949ffe3c632Sopenharmony_ci                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
4950ffe3c632Sopenharmony_ci                break;
4951ffe3c632Sopenharmony_ci              case 8: {
4952ffe3c632Sopenharmony_ci                A = input.ReadInt32();
4953ffe3c632Sopenharmony_ci                break;
4954ffe3c632Sopenharmony_ci              }
4955ffe3c632Sopenharmony_ci              case 18: {
4956ffe3c632Sopenharmony_ci                if (corecursive_ == null) {
4957ffe3c632Sopenharmony_ci                  Corecursive = new global::ProtobufTestMessages.Proto2.TestAllTypesProto2();
4958ffe3c632Sopenharmony_ci                }
4959ffe3c632Sopenharmony_ci                input.ReadMessage(Corecursive);
4960ffe3c632Sopenharmony_ci                break;
4961ffe3c632Sopenharmony_ci              }
4962ffe3c632Sopenharmony_ci            }
4963ffe3c632Sopenharmony_ci          }
4964ffe3c632Sopenharmony_ci        }
4965ffe3c632Sopenharmony_ci        #endif
4966ffe3c632Sopenharmony_ci
4967ffe3c632Sopenharmony_ci      }
4968ffe3c632Sopenharmony_ci
4969ffe3c632Sopenharmony_ci      /// <summary>
4970ffe3c632Sopenharmony_ci      /// groups
4971ffe3c632Sopenharmony_ci      /// </summary>
4972ffe3c632Sopenharmony_ci      public sealed partial class Data : pb::IMessage<Data>
4973ffe3c632Sopenharmony_ci      #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4974ffe3c632Sopenharmony_ci          , pb::IBufferMessage
4975ffe3c632Sopenharmony_ci      #endif
4976ffe3c632Sopenharmony_ci      {
4977ffe3c632Sopenharmony_ci        private static readonly pb::MessageParser<Data> _parser = new pb::MessageParser<Data>(() => new Data());
4978ffe3c632Sopenharmony_ci        private pb::UnknownFieldSet _unknownFields;
4979ffe3c632Sopenharmony_ci        private int _hasBits0;
4980ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4981ffe3c632Sopenharmony_ci        public static pb::MessageParser<Data> Parser { get { return _parser; } }
4982ffe3c632Sopenharmony_ci
4983ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4984ffe3c632Sopenharmony_ci        public static pbr::MessageDescriptor Descriptor {
4985ffe3c632Sopenharmony_ci          get { return global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Descriptor.NestedTypes[20]; }
4986ffe3c632Sopenharmony_ci        }
4987ffe3c632Sopenharmony_ci
4988ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4989ffe3c632Sopenharmony_ci        pbr::MessageDescriptor pb::IMessage.Descriptor {
4990ffe3c632Sopenharmony_ci          get { return Descriptor; }
4991ffe3c632Sopenharmony_ci        }
4992ffe3c632Sopenharmony_ci
4993ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4994ffe3c632Sopenharmony_ci        public Data() {
4995ffe3c632Sopenharmony_ci          OnConstruction();
4996ffe3c632Sopenharmony_ci        }
4997ffe3c632Sopenharmony_ci
4998ffe3c632Sopenharmony_ci        partial void OnConstruction();
4999ffe3c632Sopenharmony_ci
5000ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5001ffe3c632Sopenharmony_ci        public Data(Data other) : this() {
5002ffe3c632Sopenharmony_ci          _hasBits0 = other._hasBits0;
5003ffe3c632Sopenharmony_ci          groupInt32_ = other.groupInt32_;
5004ffe3c632Sopenharmony_ci          groupUint32_ = other.groupUint32_;
5005ffe3c632Sopenharmony_ci          _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
5006ffe3c632Sopenharmony_ci        }
5007ffe3c632Sopenharmony_ci
5008ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5009ffe3c632Sopenharmony_ci        public Data Clone() {
5010ffe3c632Sopenharmony_ci          return new Data(this);
5011ffe3c632Sopenharmony_ci        }
5012ffe3c632Sopenharmony_ci
5013ffe3c632Sopenharmony_ci        /// <summary>Field number for the "group_int32" field.</summary>
5014ffe3c632Sopenharmony_ci        public const int GroupInt32FieldNumber = 202;
5015ffe3c632Sopenharmony_ci        private readonly static int GroupInt32DefaultValue = 0;
5016ffe3c632Sopenharmony_ci
5017ffe3c632Sopenharmony_ci        private int groupInt32_;
5018ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5019ffe3c632Sopenharmony_ci        public int GroupInt32 {
5020ffe3c632Sopenharmony_ci          get { if ((_hasBits0 & 1) != 0) { return groupInt32_; } else { return GroupInt32DefaultValue; } }
5021ffe3c632Sopenharmony_ci          set {
5022ffe3c632Sopenharmony_ci            _hasBits0 |= 1;
5023ffe3c632Sopenharmony_ci            groupInt32_ = value;
5024ffe3c632Sopenharmony_ci          }
5025ffe3c632Sopenharmony_ci        }
5026ffe3c632Sopenharmony_ci        /// <summary>Gets whether the "group_int32" field is set</summary>
5027ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5028ffe3c632Sopenharmony_ci        public bool HasGroupInt32 {
5029ffe3c632Sopenharmony_ci          get { return (_hasBits0 & 1) != 0; }
5030ffe3c632Sopenharmony_ci        }
5031ffe3c632Sopenharmony_ci        /// <summary>Clears the value of the "group_int32" field</summary>
5032ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5033ffe3c632Sopenharmony_ci        public void ClearGroupInt32() {
5034ffe3c632Sopenharmony_ci          _hasBits0 &= ~1;
5035ffe3c632Sopenharmony_ci        }
5036ffe3c632Sopenharmony_ci
5037ffe3c632Sopenharmony_ci        /// <summary>Field number for the "group_uint32" field.</summary>
5038ffe3c632Sopenharmony_ci        public const int GroupUint32FieldNumber = 203;
5039ffe3c632Sopenharmony_ci        private readonly static uint GroupUint32DefaultValue = 0;
5040ffe3c632Sopenharmony_ci
5041ffe3c632Sopenharmony_ci        private uint groupUint32_;
5042ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5043ffe3c632Sopenharmony_ci        public uint GroupUint32 {
5044ffe3c632Sopenharmony_ci          get { if ((_hasBits0 & 2) != 0) { return groupUint32_; } else { return GroupUint32DefaultValue; } }
5045ffe3c632Sopenharmony_ci          set {
5046ffe3c632Sopenharmony_ci            _hasBits0 |= 2;
5047ffe3c632Sopenharmony_ci            groupUint32_ = value;
5048ffe3c632Sopenharmony_ci          }
5049ffe3c632Sopenharmony_ci        }
5050ffe3c632Sopenharmony_ci        /// <summary>Gets whether the "group_uint32" field is set</summary>
5051ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5052ffe3c632Sopenharmony_ci        public bool HasGroupUint32 {
5053ffe3c632Sopenharmony_ci          get { return (_hasBits0 & 2) != 0; }
5054ffe3c632Sopenharmony_ci        }
5055ffe3c632Sopenharmony_ci        /// <summary>Clears the value of the "group_uint32" field</summary>
5056ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5057ffe3c632Sopenharmony_ci        public void ClearGroupUint32() {
5058ffe3c632Sopenharmony_ci          _hasBits0 &= ~2;
5059ffe3c632Sopenharmony_ci        }
5060ffe3c632Sopenharmony_ci
5061ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5062ffe3c632Sopenharmony_ci        public override bool Equals(object other) {
5063ffe3c632Sopenharmony_ci          return Equals(other as Data);
5064ffe3c632Sopenharmony_ci        }
5065ffe3c632Sopenharmony_ci
5066ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5067ffe3c632Sopenharmony_ci        public bool Equals(Data other) {
5068ffe3c632Sopenharmony_ci          if (ReferenceEquals(other, null)) {
5069ffe3c632Sopenharmony_ci            return false;
5070ffe3c632Sopenharmony_ci          }
5071ffe3c632Sopenharmony_ci          if (ReferenceEquals(other, this)) {
5072ffe3c632Sopenharmony_ci            return true;
5073ffe3c632Sopenharmony_ci          }
5074ffe3c632Sopenharmony_ci          if (GroupInt32 != other.GroupInt32) return false;
5075ffe3c632Sopenharmony_ci          if (GroupUint32 != other.GroupUint32) return false;
5076ffe3c632Sopenharmony_ci          return Equals(_unknownFields, other._unknownFields);
5077ffe3c632Sopenharmony_ci        }
5078ffe3c632Sopenharmony_ci
5079ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5080ffe3c632Sopenharmony_ci        public override int GetHashCode() {
5081ffe3c632Sopenharmony_ci          int hash = 1;
5082ffe3c632Sopenharmony_ci          if (HasGroupInt32) hash ^= GroupInt32.GetHashCode();
5083ffe3c632Sopenharmony_ci          if (HasGroupUint32) hash ^= GroupUint32.GetHashCode();
5084ffe3c632Sopenharmony_ci          if (_unknownFields != null) {
5085ffe3c632Sopenharmony_ci            hash ^= _unknownFields.GetHashCode();
5086ffe3c632Sopenharmony_ci          }
5087ffe3c632Sopenharmony_ci          return hash;
5088ffe3c632Sopenharmony_ci        }
5089ffe3c632Sopenharmony_ci
5090ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5091ffe3c632Sopenharmony_ci        public override string ToString() {
5092ffe3c632Sopenharmony_ci          return pb::JsonFormatter.ToDiagnosticString(this);
5093ffe3c632Sopenharmony_ci        }
5094ffe3c632Sopenharmony_ci
5095ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5096ffe3c632Sopenharmony_ci        public void WriteTo(pb::CodedOutputStream output) {
5097ffe3c632Sopenharmony_ci        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5098ffe3c632Sopenharmony_ci          output.WriteRawMessage(this);
5099ffe3c632Sopenharmony_ci        #else
5100ffe3c632Sopenharmony_ci          if (HasGroupInt32) {
5101ffe3c632Sopenharmony_ci            output.WriteRawTag(208, 12);
5102ffe3c632Sopenharmony_ci            output.WriteInt32(GroupInt32);
5103ffe3c632Sopenharmony_ci          }
5104ffe3c632Sopenharmony_ci          if (HasGroupUint32) {
5105ffe3c632Sopenharmony_ci            output.WriteRawTag(216, 12);
5106ffe3c632Sopenharmony_ci            output.WriteUInt32(GroupUint32);
5107ffe3c632Sopenharmony_ci          }
5108ffe3c632Sopenharmony_ci          if (_unknownFields != null) {
5109ffe3c632Sopenharmony_ci            _unknownFields.WriteTo(output);
5110ffe3c632Sopenharmony_ci          }
5111ffe3c632Sopenharmony_ci        #endif
5112ffe3c632Sopenharmony_ci        }
5113ffe3c632Sopenharmony_ci
5114ffe3c632Sopenharmony_ci        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5115ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5116ffe3c632Sopenharmony_ci        void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
5117ffe3c632Sopenharmony_ci          if (HasGroupInt32) {
5118ffe3c632Sopenharmony_ci            output.WriteRawTag(208, 12);
5119ffe3c632Sopenharmony_ci            output.WriteInt32(GroupInt32);
5120ffe3c632Sopenharmony_ci          }
5121ffe3c632Sopenharmony_ci          if (HasGroupUint32) {
5122ffe3c632Sopenharmony_ci            output.WriteRawTag(216, 12);
5123ffe3c632Sopenharmony_ci            output.WriteUInt32(GroupUint32);
5124ffe3c632Sopenharmony_ci          }
5125ffe3c632Sopenharmony_ci          if (_unknownFields != null) {
5126ffe3c632Sopenharmony_ci            _unknownFields.WriteTo(ref output);
5127ffe3c632Sopenharmony_ci          }
5128ffe3c632Sopenharmony_ci        }
5129ffe3c632Sopenharmony_ci        #endif
5130ffe3c632Sopenharmony_ci
5131ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5132ffe3c632Sopenharmony_ci        public int CalculateSize() {
5133ffe3c632Sopenharmony_ci          int size = 0;
5134ffe3c632Sopenharmony_ci          if (HasGroupInt32) {
5135ffe3c632Sopenharmony_ci            size += 2 + pb::CodedOutputStream.ComputeInt32Size(GroupInt32);
5136ffe3c632Sopenharmony_ci          }
5137ffe3c632Sopenharmony_ci          if (HasGroupUint32) {
5138ffe3c632Sopenharmony_ci            size += 2 + pb::CodedOutputStream.ComputeUInt32Size(GroupUint32);
5139ffe3c632Sopenharmony_ci          }
5140ffe3c632Sopenharmony_ci          if (_unknownFields != null) {
5141ffe3c632Sopenharmony_ci            size += _unknownFields.CalculateSize();
5142ffe3c632Sopenharmony_ci          }
5143ffe3c632Sopenharmony_ci          return size;
5144ffe3c632Sopenharmony_ci        }
5145ffe3c632Sopenharmony_ci
5146ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5147ffe3c632Sopenharmony_ci        public void MergeFrom(Data other) {
5148ffe3c632Sopenharmony_ci          if (other == null) {
5149ffe3c632Sopenharmony_ci            return;
5150ffe3c632Sopenharmony_ci          }
5151ffe3c632Sopenharmony_ci          if (other.HasGroupInt32) {
5152ffe3c632Sopenharmony_ci            GroupInt32 = other.GroupInt32;
5153ffe3c632Sopenharmony_ci          }
5154ffe3c632Sopenharmony_ci          if (other.HasGroupUint32) {
5155ffe3c632Sopenharmony_ci            GroupUint32 = other.GroupUint32;
5156ffe3c632Sopenharmony_ci          }
5157ffe3c632Sopenharmony_ci          _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
5158ffe3c632Sopenharmony_ci        }
5159ffe3c632Sopenharmony_ci
5160ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5161ffe3c632Sopenharmony_ci        public void MergeFrom(pb::CodedInputStream input) {
5162ffe3c632Sopenharmony_ci        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5163ffe3c632Sopenharmony_ci          input.ReadRawMessage(this);
5164ffe3c632Sopenharmony_ci        #else
5165ffe3c632Sopenharmony_ci          uint tag;
5166ffe3c632Sopenharmony_ci          while ((tag = input.ReadTag()) != 0) {
5167ffe3c632Sopenharmony_ci            switch(tag) {
5168ffe3c632Sopenharmony_ci              case 1612:
5169ffe3c632Sopenharmony_ci                return;
5170ffe3c632Sopenharmony_ci              default:
5171ffe3c632Sopenharmony_ci                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
5172ffe3c632Sopenharmony_ci                break;
5173ffe3c632Sopenharmony_ci              case 1616: {
5174ffe3c632Sopenharmony_ci                GroupInt32 = input.ReadInt32();
5175ffe3c632Sopenharmony_ci                break;
5176ffe3c632Sopenharmony_ci              }
5177ffe3c632Sopenharmony_ci              case 1624: {
5178ffe3c632Sopenharmony_ci                GroupUint32 = input.ReadUInt32();
5179ffe3c632Sopenharmony_ci                break;
5180ffe3c632Sopenharmony_ci              }
5181ffe3c632Sopenharmony_ci            }
5182ffe3c632Sopenharmony_ci          }
5183ffe3c632Sopenharmony_ci        #endif
5184ffe3c632Sopenharmony_ci        }
5185ffe3c632Sopenharmony_ci
5186ffe3c632Sopenharmony_ci        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5187ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5188ffe3c632Sopenharmony_ci        void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
5189ffe3c632Sopenharmony_ci          uint tag;
5190ffe3c632Sopenharmony_ci          while ((tag = input.ReadTag()) != 0) {
5191ffe3c632Sopenharmony_ci            switch(tag) {
5192ffe3c632Sopenharmony_ci              case 1612:
5193ffe3c632Sopenharmony_ci                return;
5194ffe3c632Sopenharmony_ci              default:
5195ffe3c632Sopenharmony_ci                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
5196ffe3c632Sopenharmony_ci                break;
5197ffe3c632Sopenharmony_ci              case 1616: {
5198ffe3c632Sopenharmony_ci                GroupInt32 = input.ReadInt32();
5199ffe3c632Sopenharmony_ci                break;
5200ffe3c632Sopenharmony_ci              }
5201ffe3c632Sopenharmony_ci              case 1624: {
5202ffe3c632Sopenharmony_ci                GroupUint32 = input.ReadUInt32();
5203ffe3c632Sopenharmony_ci                break;
5204ffe3c632Sopenharmony_ci              }
5205ffe3c632Sopenharmony_ci            }
5206ffe3c632Sopenharmony_ci          }
5207ffe3c632Sopenharmony_ci        }
5208ffe3c632Sopenharmony_ci        #endif
5209ffe3c632Sopenharmony_ci
5210ffe3c632Sopenharmony_ci      }
5211ffe3c632Sopenharmony_ci
5212ffe3c632Sopenharmony_ci      /// <summary>
5213ffe3c632Sopenharmony_ci      /// message_set test case.
5214ffe3c632Sopenharmony_ci      /// </summary>
5215ffe3c632Sopenharmony_ci      public sealed partial class MessageSetCorrect : pb::IExtendableMessage<MessageSetCorrect>
5216ffe3c632Sopenharmony_ci      #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5217ffe3c632Sopenharmony_ci          , pb::IBufferMessage
5218ffe3c632Sopenharmony_ci      #endif
5219ffe3c632Sopenharmony_ci      {
5220ffe3c632Sopenharmony_ci        private static readonly pb::MessageParser<MessageSetCorrect> _parser = new pb::MessageParser<MessageSetCorrect>(() => new MessageSetCorrect());
5221ffe3c632Sopenharmony_ci        private pb::UnknownFieldSet _unknownFields;
5222ffe3c632Sopenharmony_ci        private pb::ExtensionSet<MessageSetCorrect> _extensions;
5223ffe3c632Sopenharmony_ci        private pb::ExtensionSet<MessageSetCorrect> _Extensions { get { return _extensions; } }
5224ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5225ffe3c632Sopenharmony_ci        public static pb::MessageParser<MessageSetCorrect> Parser { get { return _parser; } }
5226ffe3c632Sopenharmony_ci
5227ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5228ffe3c632Sopenharmony_ci        public static pbr::MessageDescriptor Descriptor {
5229ffe3c632Sopenharmony_ci          get { return global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Descriptor.NestedTypes[21]; }
5230ffe3c632Sopenharmony_ci        }
5231ffe3c632Sopenharmony_ci
5232ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5233ffe3c632Sopenharmony_ci        pbr::MessageDescriptor pb::IMessage.Descriptor {
5234ffe3c632Sopenharmony_ci          get { return Descriptor; }
5235ffe3c632Sopenharmony_ci        }
5236ffe3c632Sopenharmony_ci
5237ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5238ffe3c632Sopenharmony_ci        public MessageSetCorrect() {
5239ffe3c632Sopenharmony_ci          OnConstruction();
5240ffe3c632Sopenharmony_ci        }
5241ffe3c632Sopenharmony_ci
5242ffe3c632Sopenharmony_ci        partial void OnConstruction();
5243ffe3c632Sopenharmony_ci
5244ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5245ffe3c632Sopenharmony_ci        public MessageSetCorrect(MessageSetCorrect other) : this() {
5246ffe3c632Sopenharmony_ci          _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
5247ffe3c632Sopenharmony_ci          _extensions = pb::ExtensionSet.Clone(other._extensions);
5248ffe3c632Sopenharmony_ci        }
5249ffe3c632Sopenharmony_ci
5250ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5251ffe3c632Sopenharmony_ci        public MessageSetCorrect Clone() {
5252ffe3c632Sopenharmony_ci          return new MessageSetCorrect(this);
5253ffe3c632Sopenharmony_ci        }
5254ffe3c632Sopenharmony_ci
5255ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5256ffe3c632Sopenharmony_ci        public override bool Equals(object other) {
5257ffe3c632Sopenharmony_ci          return Equals(other as MessageSetCorrect);
5258ffe3c632Sopenharmony_ci        }
5259ffe3c632Sopenharmony_ci
5260ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5261ffe3c632Sopenharmony_ci        public bool Equals(MessageSetCorrect other) {
5262ffe3c632Sopenharmony_ci          if (ReferenceEquals(other, null)) {
5263ffe3c632Sopenharmony_ci            return false;
5264ffe3c632Sopenharmony_ci          }
5265ffe3c632Sopenharmony_ci          if (ReferenceEquals(other, this)) {
5266ffe3c632Sopenharmony_ci            return true;
5267ffe3c632Sopenharmony_ci          }
5268ffe3c632Sopenharmony_ci          if (!Equals(_extensions, other._extensions)) {
5269ffe3c632Sopenharmony_ci            return false;
5270ffe3c632Sopenharmony_ci          }
5271ffe3c632Sopenharmony_ci          return Equals(_unknownFields, other._unknownFields);
5272ffe3c632Sopenharmony_ci        }
5273ffe3c632Sopenharmony_ci
5274ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5275ffe3c632Sopenharmony_ci        public override int GetHashCode() {
5276ffe3c632Sopenharmony_ci          int hash = 1;
5277ffe3c632Sopenharmony_ci          if (_extensions != null) {
5278ffe3c632Sopenharmony_ci            hash ^= _extensions.GetHashCode();
5279ffe3c632Sopenharmony_ci          }
5280ffe3c632Sopenharmony_ci          if (_unknownFields != null) {
5281ffe3c632Sopenharmony_ci            hash ^= _unknownFields.GetHashCode();
5282ffe3c632Sopenharmony_ci          }
5283ffe3c632Sopenharmony_ci          return hash;
5284ffe3c632Sopenharmony_ci        }
5285ffe3c632Sopenharmony_ci
5286ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5287ffe3c632Sopenharmony_ci        public override string ToString() {
5288ffe3c632Sopenharmony_ci          return pb::JsonFormatter.ToDiagnosticString(this);
5289ffe3c632Sopenharmony_ci        }
5290ffe3c632Sopenharmony_ci
5291ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5292ffe3c632Sopenharmony_ci        public void WriteTo(pb::CodedOutputStream output) {
5293ffe3c632Sopenharmony_ci        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5294ffe3c632Sopenharmony_ci          output.WriteRawMessage(this);
5295ffe3c632Sopenharmony_ci        #else
5296ffe3c632Sopenharmony_ci          if (_extensions != null) {
5297ffe3c632Sopenharmony_ci            _extensions.WriteTo(output);
5298ffe3c632Sopenharmony_ci          }
5299ffe3c632Sopenharmony_ci          if (_unknownFields != null) {
5300ffe3c632Sopenharmony_ci            _unknownFields.WriteTo(output);
5301ffe3c632Sopenharmony_ci          }
5302ffe3c632Sopenharmony_ci        #endif
5303ffe3c632Sopenharmony_ci        }
5304ffe3c632Sopenharmony_ci
5305ffe3c632Sopenharmony_ci        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5306ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5307ffe3c632Sopenharmony_ci        void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
5308ffe3c632Sopenharmony_ci          if (_extensions != null) {
5309ffe3c632Sopenharmony_ci            _extensions.WriteTo(ref output);
5310ffe3c632Sopenharmony_ci          }
5311ffe3c632Sopenharmony_ci          if (_unknownFields != null) {
5312ffe3c632Sopenharmony_ci            _unknownFields.WriteTo(ref output);
5313ffe3c632Sopenharmony_ci          }
5314ffe3c632Sopenharmony_ci        }
5315ffe3c632Sopenharmony_ci        #endif
5316ffe3c632Sopenharmony_ci
5317ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5318ffe3c632Sopenharmony_ci        public int CalculateSize() {
5319ffe3c632Sopenharmony_ci          int size = 0;
5320ffe3c632Sopenharmony_ci          if (_extensions != null) {
5321ffe3c632Sopenharmony_ci            size += _extensions.CalculateSize();
5322ffe3c632Sopenharmony_ci          }
5323ffe3c632Sopenharmony_ci          if (_unknownFields != null) {
5324ffe3c632Sopenharmony_ci            size += _unknownFields.CalculateSize();
5325ffe3c632Sopenharmony_ci          }
5326ffe3c632Sopenharmony_ci          return size;
5327ffe3c632Sopenharmony_ci        }
5328ffe3c632Sopenharmony_ci
5329ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5330ffe3c632Sopenharmony_ci        public void MergeFrom(MessageSetCorrect other) {
5331ffe3c632Sopenharmony_ci          if (other == null) {
5332ffe3c632Sopenharmony_ci            return;
5333ffe3c632Sopenharmony_ci          }
5334ffe3c632Sopenharmony_ci          pb::ExtensionSet.MergeFrom(ref _extensions, other._extensions);
5335ffe3c632Sopenharmony_ci          _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
5336ffe3c632Sopenharmony_ci        }
5337ffe3c632Sopenharmony_ci
5338ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5339ffe3c632Sopenharmony_ci        public void MergeFrom(pb::CodedInputStream input) {
5340ffe3c632Sopenharmony_ci        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5341ffe3c632Sopenharmony_ci          input.ReadRawMessage(this);
5342ffe3c632Sopenharmony_ci        #else
5343ffe3c632Sopenharmony_ci          uint tag;
5344ffe3c632Sopenharmony_ci          while ((tag = input.ReadTag()) != 0) {
5345ffe3c632Sopenharmony_ci            switch(tag) {
5346ffe3c632Sopenharmony_ci              default:
5347ffe3c632Sopenharmony_ci                if (!pb::ExtensionSet.TryMergeFieldFrom(ref _extensions, input)) {
5348ffe3c632Sopenharmony_ci                  _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
5349ffe3c632Sopenharmony_ci                }
5350ffe3c632Sopenharmony_ci                break;
5351ffe3c632Sopenharmony_ci            }
5352ffe3c632Sopenharmony_ci          }
5353ffe3c632Sopenharmony_ci        #endif
5354ffe3c632Sopenharmony_ci        }
5355ffe3c632Sopenharmony_ci
5356ffe3c632Sopenharmony_ci        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5357ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5358ffe3c632Sopenharmony_ci        void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
5359ffe3c632Sopenharmony_ci          uint tag;
5360ffe3c632Sopenharmony_ci          while ((tag = input.ReadTag()) != 0) {
5361ffe3c632Sopenharmony_ci            switch(tag) {
5362ffe3c632Sopenharmony_ci              default:
5363ffe3c632Sopenharmony_ci                if (!pb::ExtensionSet.TryMergeFieldFrom(ref _extensions, ref input)) {
5364ffe3c632Sopenharmony_ci                  _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
5365ffe3c632Sopenharmony_ci                }
5366ffe3c632Sopenharmony_ci                break;
5367ffe3c632Sopenharmony_ci            }
5368ffe3c632Sopenharmony_ci          }
5369ffe3c632Sopenharmony_ci        }
5370ffe3c632Sopenharmony_ci        #endif
5371ffe3c632Sopenharmony_ci
5372ffe3c632Sopenharmony_ci        public TValue GetExtension<TValue>(pb::Extension<MessageSetCorrect, TValue> extension) {
5373ffe3c632Sopenharmony_ci          return pb::ExtensionSet.Get(ref _extensions, extension);
5374ffe3c632Sopenharmony_ci        }
5375ffe3c632Sopenharmony_ci        public pbc::RepeatedField<TValue> GetExtension<TValue>(pb::RepeatedExtension<MessageSetCorrect, TValue> extension) {
5376ffe3c632Sopenharmony_ci          return pb::ExtensionSet.Get(ref _extensions, extension);
5377ffe3c632Sopenharmony_ci        }
5378ffe3c632Sopenharmony_ci        public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<MessageSetCorrect, TValue> extension) {
5379ffe3c632Sopenharmony_ci          return pb::ExtensionSet.GetOrInitialize(ref _extensions, extension);
5380ffe3c632Sopenharmony_ci        }
5381ffe3c632Sopenharmony_ci        public void SetExtension<TValue>(pb::Extension<MessageSetCorrect, TValue> extension, TValue value) {
5382ffe3c632Sopenharmony_ci          pb::ExtensionSet.Set(ref _extensions, extension, value);
5383ffe3c632Sopenharmony_ci        }
5384ffe3c632Sopenharmony_ci        public bool HasExtension<TValue>(pb::Extension<MessageSetCorrect, TValue> extension) {
5385ffe3c632Sopenharmony_ci          return pb::ExtensionSet.Has(ref _extensions, extension);
5386ffe3c632Sopenharmony_ci        }
5387ffe3c632Sopenharmony_ci        public void ClearExtension<TValue>(pb::Extension<MessageSetCorrect, TValue> extension) {
5388ffe3c632Sopenharmony_ci          pb::ExtensionSet.Clear(ref _extensions, extension);
5389ffe3c632Sopenharmony_ci        }
5390ffe3c632Sopenharmony_ci        public void ClearExtension<TValue>(pb::RepeatedExtension<MessageSetCorrect, TValue> extension) {
5391ffe3c632Sopenharmony_ci          pb::ExtensionSet.Clear(ref _extensions, extension);
5392ffe3c632Sopenharmony_ci        }
5393ffe3c632Sopenharmony_ci
5394ffe3c632Sopenharmony_ci      }
5395ffe3c632Sopenharmony_ci
5396ffe3c632Sopenharmony_ci      public sealed partial class MessageSetCorrectExtension1 : pb::IMessage<MessageSetCorrectExtension1>
5397ffe3c632Sopenharmony_ci      #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5398ffe3c632Sopenharmony_ci          , pb::IBufferMessage
5399ffe3c632Sopenharmony_ci      #endif
5400ffe3c632Sopenharmony_ci      {
5401ffe3c632Sopenharmony_ci        private static readonly pb::MessageParser<MessageSetCorrectExtension1> _parser = new pb::MessageParser<MessageSetCorrectExtension1>(() => new MessageSetCorrectExtension1());
5402ffe3c632Sopenharmony_ci        private pb::UnknownFieldSet _unknownFields;
5403ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5404ffe3c632Sopenharmony_ci        public static pb::MessageParser<MessageSetCorrectExtension1> Parser { get { return _parser; } }
5405ffe3c632Sopenharmony_ci
5406ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5407ffe3c632Sopenharmony_ci        public static pbr::MessageDescriptor Descriptor {
5408ffe3c632Sopenharmony_ci          get { return global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Descriptor.NestedTypes[22]; }
5409ffe3c632Sopenharmony_ci        }
5410ffe3c632Sopenharmony_ci
5411ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5412ffe3c632Sopenharmony_ci        pbr::MessageDescriptor pb::IMessage.Descriptor {
5413ffe3c632Sopenharmony_ci          get { return Descriptor; }
5414ffe3c632Sopenharmony_ci        }
5415ffe3c632Sopenharmony_ci
5416ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5417ffe3c632Sopenharmony_ci        public MessageSetCorrectExtension1() {
5418ffe3c632Sopenharmony_ci          OnConstruction();
5419ffe3c632Sopenharmony_ci        }
5420ffe3c632Sopenharmony_ci
5421ffe3c632Sopenharmony_ci        partial void OnConstruction();
5422ffe3c632Sopenharmony_ci
5423ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5424ffe3c632Sopenharmony_ci        public MessageSetCorrectExtension1(MessageSetCorrectExtension1 other) : this() {
5425ffe3c632Sopenharmony_ci          str_ = other.str_;
5426ffe3c632Sopenharmony_ci          _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
5427ffe3c632Sopenharmony_ci        }
5428ffe3c632Sopenharmony_ci
5429ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5430ffe3c632Sopenharmony_ci        public MessageSetCorrectExtension1 Clone() {
5431ffe3c632Sopenharmony_ci          return new MessageSetCorrectExtension1(this);
5432ffe3c632Sopenharmony_ci        }
5433ffe3c632Sopenharmony_ci
5434ffe3c632Sopenharmony_ci        /// <summary>Field number for the "str" field.</summary>
5435ffe3c632Sopenharmony_ci        public const int StrFieldNumber = 25;
5436ffe3c632Sopenharmony_ci        private readonly static string StrDefaultValue = "";
5437ffe3c632Sopenharmony_ci
5438ffe3c632Sopenharmony_ci        private string str_;
5439ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5440ffe3c632Sopenharmony_ci        public string Str {
5441ffe3c632Sopenharmony_ci          get { return str_ ?? StrDefaultValue; }
5442ffe3c632Sopenharmony_ci          set {
5443ffe3c632Sopenharmony_ci            str_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
5444ffe3c632Sopenharmony_ci          }
5445ffe3c632Sopenharmony_ci        }
5446ffe3c632Sopenharmony_ci        /// <summary>Gets whether the "str" field is set</summary>
5447ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5448ffe3c632Sopenharmony_ci        public bool HasStr {
5449ffe3c632Sopenharmony_ci          get { return str_ != null; }
5450ffe3c632Sopenharmony_ci        }
5451ffe3c632Sopenharmony_ci        /// <summary>Clears the value of the "str" field</summary>
5452ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5453ffe3c632Sopenharmony_ci        public void ClearStr() {
5454ffe3c632Sopenharmony_ci          str_ = null;
5455ffe3c632Sopenharmony_ci        }
5456ffe3c632Sopenharmony_ci
5457ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5458ffe3c632Sopenharmony_ci        public override bool Equals(object other) {
5459ffe3c632Sopenharmony_ci          return Equals(other as MessageSetCorrectExtension1);
5460ffe3c632Sopenharmony_ci        }
5461ffe3c632Sopenharmony_ci
5462ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5463ffe3c632Sopenharmony_ci        public bool Equals(MessageSetCorrectExtension1 other) {
5464ffe3c632Sopenharmony_ci          if (ReferenceEquals(other, null)) {
5465ffe3c632Sopenharmony_ci            return false;
5466ffe3c632Sopenharmony_ci          }
5467ffe3c632Sopenharmony_ci          if (ReferenceEquals(other, this)) {
5468ffe3c632Sopenharmony_ci            return true;
5469ffe3c632Sopenharmony_ci          }
5470ffe3c632Sopenharmony_ci          if (Str != other.Str) return false;
5471ffe3c632Sopenharmony_ci          return Equals(_unknownFields, other._unknownFields);
5472ffe3c632Sopenharmony_ci        }
5473ffe3c632Sopenharmony_ci
5474ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5475ffe3c632Sopenharmony_ci        public override int GetHashCode() {
5476ffe3c632Sopenharmony_ci          int hash = 1;
5477ffe3c632Sopenharmony_ci          if (HasStr) hash ^= Str.GetHashCode();
5478ffe3c632Sopenharmony_ci          if (_unknownFields != null) {
5479ffe3c632Sopenharmony_ci            hash ^= _unknownFields.GetHashCode();
5480ffe3c632Sopenharmony_ci          }
5481ffe3c632Sopenharmony_ci          return hash;
5482ffe3c632Sopenharmony_ci        }
5483ffe3c632Sopenharmony_ci
5484ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5485ffe3c632Sopenharmony_ci        public override string ToString() {
5486ffe3c632Sopenharmony_ci          return pb::JsonFormatter.ToDiagnosticString(this);
5487ffe3c632Sopenharmony_ci        }
5488ffe3c632Sopenharmony_ci
5489ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5490ffe3c632Sopenharmony_ci        public void WriteTo(pb::CodedOutputStream output) {
5491ffe3c632Sopenharmony_ci        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5492ffe3c632Sopenharmony_ci          output.WriteRawMessage(this);
5493ffe3c632Sopenharmony_ci        #else
5494ffe3c632Sopenharmony_ci          if (HasStr) {
5495ffe3c632Sopenharmony_ci            output.WriteRawTag(202, 1);
5496ffe3c632Sopenharmony_ci            output.WriteString(Str);
5497ffe3c632Sopenharmony_ci          }
5498ffe3c632Sopenharmony_ci          if (_unknownFields != null) {
5499ffe3c632Sopenharmony_ci            _unknownFields.WriteTo(output);
5500ffe3c632Sopenharmony_ci          }
5501ffe3c632Sopenharmony_ci        #endif
5502ffe3c632Sopenharmony_ci        }
5503ffe3c632Sopenharmony_ci
5504ffe3c632Sopenharmony_ci        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5505ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5506ffe3c632Sopenharmony_ci        void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
5507ffe3c632Sopenharmony_ci          if (HasStr) {
5508ffe3c632Sopenharmony_ci            output.WriteRawTag(202, 1);
5509ffe3c632Sopenharmony_ci            output.WriteString(Str);
5510ffe3c632Sopenharmony_ci          }
5511ffe3c632Sopenharmony_ci          if (_unknownFields != null) {
5512ffe3c632Sopenharmony_ci            _unknownFields.WriteTo(ref output);
5513ffe3c632Sopenharmony_ci          }
5514ffe3c632Sopenharmony_ci        }
5515ffe3c632Sopenharmony_ci        #endif
5516ffe3c632Sopenharmony_ci
5517ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5518ffe3c632Sopenharmony_ci        public int CalculateSize() {
5519ffe3c632Sopenharmony_ci          int size = 0;
5520ffe3c632Sopenharmony_ci          if (HasStr) {
5521ffe3c632Sopenharmony_ci            size += 2 + pb::CodedOutputStream.ComputeStringSize(Str);
5522ffe3c632Sopenharmony_ci          }
5523ffe3c632Sopenharmony_ci          if (_unknownFields != null) {
5524ffe3c632Sopenharmony_ci            size += _unknownFields.CalculateSize();
5525ffe3c632Sopenharmony_ci          }
5526ffe3c632Sopenharmony_ci          return size;
5527ffe3c632Sopenharmony_ci        }
5528ffe3c632Sopenharmony_ci
5529ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5530ffe3c632Sopenharmony_ci        public void MergeFrom(MessageSetCorrectExtension1 other) {
5531ffe3c632Sopenharmony_ci          if (other == null) {
5532ffe3c632Sopenharmony_ci            return;
5533ffe3c632Sopenharmony_ci          }
5534ffe3c632Sopenharmony_ci          if (other.HasStr) {
5535ffe3c632Sopenharmony_ci            Str = other.Str;
5536ffe3c632Sopenharmony_ci          }
5537ffe3c632Sopenharmony_ci          _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
5538ffe3c632Sopenharmony_ci        }
5539ffe3c632Sopenharmony_ci
5540ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5541ffe3c632Sopenharmony_ci        public void MergeFrom(pb::CodedInputStream input) {
5542ffe3c632Sopenharmony_ci        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5543ffe3c632Sopenharmony_ci          input.ReadRawMessage(this);
5544ffe3c632Sopenharmony_ci        #else
5545ffe3c632Sopenharmony_ci          uint tag;
5546ffe3c632Sopenharmony_ci          while ((tag = input.ReadTag()) != 0) {
5547ffe3c632Sopenharmony_ci            switch(tag) {
5548ffe3c632Sopenharmony_ci              default:
5549ffe3c632Sopenharmony_ci                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
5550ffe3c632Sopenharmony_ci                break;
5551ffe3c632Sopenharmony_ci              case 202: {
5552ffe3c632Sopenharmony_ci                Str = input.ReadString();
5553ffe3c632Sopenharmony_ci                break;
5554ffe3c632Sopenharmony_ci              }
5555ffe3c632Sopenharmony_ci            }
5556ffe3c632Sopenharmony_ci          }
5557ffe3c632Sopenharmony_ci        #endif
5558ffe3c632Sopenharmony_ci        }
5559ffe3c632Sopenharmony_ci
5560ffe3c632Sopenharmony_ci        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5561ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5562ffe3c632Sopenharmony_ci        void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
5563ffe3c632Sopenharmony_ci          uint tag;
5564ffe3c632Sopenharmony_ci          while ((tag = input.ReadTag()) != 0) {
5565ffe3c632Sopenharmony_ci            switch(tag) {
5566ffe3c632Sopenharmony_ci              default:
5567ffe3c632Sopenharmony_ci                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
5568ffe3c632Sopenharmony_ci                break;
5569ffe3c632Sopenharmony_ci              case 202: {
5570ffe3c632Sopenharmony_ci                Str = input.ReadString();
5571ffe3c632Sopenharmony_ci                break;
5572ffe3c632Sopenharmony_ci              }
5573ffe3c632Sopenharmony_ci            }
5574ffe3c632Sopenharmony_ci          }
5575ffe3c632Sopenharmony_ci        }
5576ffe3c632Sopenharmony_ci        #endif
5577ffe3c632Sopenharmony_ci
5578ffe3c632Sopenharmony_ci        #region Extensions
5579ffe3c632Sopenharmony_ci        /// <summary>Container for extensions for other messages declared in the MessageSetCorrectExtension1 message type.</summary>
5580ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5581ffe3c632Sopenharmony_ci        public static partial class Extensions {
5582ffe3c632Sopenharmony_ci          public static readonly pb::Extension<global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.MessageSetCorrect, global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.MessageSetCorrectExtension1> MessageSetExtension =
5583ffe3c632Sopenharmony_ci            new pb::Extension<global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.MessageSetCorrect, global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.MessageSetCorrectExtension1>(1547769, pb::FieldCodec.ForMessage(12382154, global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.MessageSetCorrectExtension1.Parser));
5584ffe3c632Sopenharmony_ci        }
5585ffe3c632Sopenharmony_ci        #endregion
5586ffe3c632Sopenharmony_ci
5587ffe3c632Sopenharmony_ci      }
5588ffe3c632Sopenharmony_ci
5589ffe3c632Sopenharmony_ci      public sealed partial class MessageSetCorrectExtension2 : pb::IMessage<MessageSetCorrectExtension2>
5590ffe3c632Sopenharmony_ci      #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5591ffe3c632Sopenharmony_ci          , pb::IBufferMessage
5592ffe3c632Sopenharmony_ci      #endif
5593ffe3c632Sopenharmony_ci      {
5594ffe3c632Sopenharmony_ci        private static readonly pb::MessageParser<MessageSetCorrectExtension2> _parser = new pb::MessageParser<MessageSetCorrectExtension2>(() => new MessageSetCorrectExtension2());
5595ffe3c632Sopenharmony_ci        private pb::UnknownFieldSet _unknownFields;
5596ffe3c632Sopenharmony_ci        private int _hasBits0;
5597ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5598ffe3c632Sopenharmony_ci        public static pb::MessageParser<MessageSetCorrectExtension2> Parser { get { return _parser; } }
5599ffe3c632Sopenharmony_ci
5600ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5601ffe3c632Sopenharmony_ci        public static pbr::MessageDescriptor Descriptor {
5602ffe3c632Sopenharmony_ci          get { return global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Descriptor.NestedTypes[23]; }
5603ffe3c632Sopenharmony_ci        }
5604ffe3c632Sopenharmony_ci
5605ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5606ffe3c632Sopenharmony_ci        pbr::MessageDescriptor pb::IMessage.Descriptor {
5607ffe3c632Sopenharmony_ci          get { return Descriptor; }
5608ffe3c632Sopenharmony_ci        }
5609ffe3c632Sopenharmony_ci
5610ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5611ffe3c632Sopenharmony_ci        public MessageSetCorrectExtension2() {
5612ffe3c632Sopenharmony_ci          OnConstruction();
5613ffe3c632Sopenharmony_ci        }
5614ffe3c632Sopenharmony_ci
5615ffe3c632Sopenharmony_ci        partial void OnConstruction();
5616ffe3c632Sopenharmony_ci
5617ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5618ffe3c632Sopenharmony_ci        public MessageSetCorrectExtension2(MessageSetCorrectExtension2 other) : this() {
5619ffe3c632Sopenharmony_ci          _hasBits0 = other._hasBits0;
5620ffe3c632Sopenharmony_ci          i_ = other.i_;
5621ffe3c632Sopenharmony_ci          _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
5622ffe3c632Sopenharmony_ci        }
5623ffe3c632Sopenharmony_ci
5624ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5625ffe3c632Sopenharmony_ci        public MessageSetCorrectExtension2 Clone() {
5626ffe3c632Sopenharmony_ci          return new MessageSetCorrectExtension2(this);
5627ffe3c632Sopenharmony_ci        }
5628ffe3c632Sopenharmony_ci
5629ffe3c632Sopenharmony_ci        /// <summary>Field number for the "i" field.</summary>
5630ffe3c632Sopenharmony_ci        public const int IFieldNumber = 9;
5631ffe3c632Sopenharmony_ci        private readonly static int IDefaultValue = 0;
5632ffe3c632Sopenharmony_ci
5633ffe3c632Sopenharmony_ci        private int i_;
5634ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5635ffe3c632Sopenharmony_ci        public int I {
5636ffe3c632Sopenharmony_ci          get { if ((_hasBits0 & 1) != 0) { return i_; } else { return IDefaultValue; } }
5637ffe3c632Sopenharmony_ci          set {
5638ffe3c632Sopenharmony_ci            _hasBits0 |= 1;
5639ffe3c632Sopenharmony_ci            i_ = value;
5640ffe3c632Sopenharmony_ci          }
5641ffe3c632Sopenharmony_ci        }
5642ffe3c632Sopenharmony_ci        /// <summary>Gets whether the "i" field is set</summary>
5643ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5644ffe3c632Sopenharmony_ci        public bool HasI {
5645ffe3c632Sopenharmony_ci          get { return (_hasBits0 & 1) != 0; }
5646ffe3c632Sopenharmony_ci        }
5647ffe3c632Sopenharmony_ci        /// <summary>Clears the value of the "i" field</summary>
5648ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5649ffe3c632Sopenharmony_ci        public void ClearI() {
5650ffe3c632Sopenharmony_ci          _hasBits0 &= ~1;
5651ffe3c632Sopenharmony_ci        }
5652ffe3c632Sopenharmony_ci
5653ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5654ffe3c632Sopenharmony_ci        public override bool Equals(object other) {
5655ffe3c632Sopenharmony_ci          return Equals(other as MessageSetCorrectExtension2);
5656ffe3c632Sopenharmony_ci        }
5657ffe3c632Sopenharmony_ci
5658ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5659ffe3c632Sopenharmony_ci        public bool Equals(MessageSetCorrectExtension2 other) {
5660ffe3c632Sopenharmony_ci          if (ReferenceEquals(other, null)) {
5661ffe3c632Sopenharmony_ci            return false;
5662ffe3c632Sopenharmony_ci          }
5663ffe3c632Sopenharmony_ci          if (ReferenceEquals(other, this)) {
5664ffe3c632Sopenharmony_ci            return true;
5665ffe3c632Sopenharmony_ci          }
5666ffe3c632Sopenharmony_ci          if (I != other.I) return false;
5667ffe3c632Sopenharmony_ci          return Equals(_unknownFields, other._unknownFields);
5668ffe3c632Sopenharmony_ci        }
5669ffe3c632Sopenharmony_ci
5670ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5671ffe3c632Sopenharmony_ci        public override int GetHashCode() {
5672ffe3c632Sopenharmony_ci          int hash = 1;
5673ffe3c632Sopenharmony_ci          if (HasI) hash ^= I.GetHashCode();
5674ffe3c632Sopenharmony_ci          if (_unknownFields != null) {
5675ffe3c632Sopenharmony_ci            hash ^= _unknownFields.GetHashCode();
5676ffe3c632Sopenharmony_ci          }
5677ffe3c632Sopenharmony_ci          return hash;
5678ffe3c632Sopenharmony_ci        }
5679ffe3c632Sopenharmony_ci
5680ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5681ffe3c632Sopenharmony_ci        public override string ToString() {
5682ffe3c632Sopenharmony_ci          return pb::JsonFormatter.ToDiagnosticString(this);
5683ffe3c632Sopenharmony_ci        }
5684ffe3c632Sopenharmony_ci
5685ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5686ffe3c632Sopenharmony_ci        public void WriteTo(pb::CodedOutputStream output) {
5687ffe3c632Sopenharmony_ci        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5688ffe3c632Sopenharmony_ci          output.WriteRawMessage(this);
5689ffe3c632Sopenharmony_ci        #else
5690ffe3c632Sopenharmony_ci          if (HasI) {
5691ffe3c632Sopenharmony_ci            output.WriteRawTag(72);
5692ffe3c632Sopenharmony_ci            output.WriteInt32(I);
5693ffe3c632Sopenharmony_ci          }
5694ffe3c632Sopenharmony_ci          if (_unknownFields != null) {
5695ffe3c632Sopenharmony_ci            _unknownFields.WriteTo(output);
5696ffe3c632Sopenharmony_ci          }
5697ffe3c632Sopenharmony_ci        #endif
5698ffe3c632Sopenharmony_ci        }
5699ffe3c632Sopenharmony_ci
5700ffe3c632Sopenharmony_ci        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5701ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5702ffe3c632Sopenharmony_ci        void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
5703ffe3c632Sopenharmony_ci          if (HasI) {
5704ffe3c632Sopenharmony_ci            output.WriteRawTag(72);
5705ffe3c632Sopenharmony_ci            output.WriteInt32(I);
5706ffe3c632Sopenharmony_ci          }
5707ffe3c632Sopenharmony_ci          if (_unknownFields != null) {
5708ffe3c632Sopenharmony_ci            _unknownFields.WriteTo(ref output);
5709ffe3c632Sopenharmony_ci          }
5710ffe3c632Sopenharmony_ci        }
5711ffe3c632Sopenharmony_ci        #endif
5712ffe3c632Sopenharmony_ci
5713ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5714ffe3c632Sopenharmony_ci        public int CalculateSize() {
5715ffe3c632Sopenharmony_ci          int size = 0;
5716ffe3c632Sopenharmony_ci          if (HasI) {
5717ffe3c632Sopenharmony_ci            size += 1 + pb::CodedOutputStream.ComputeInt32Size(I);
5718ffe3c632Sopenharmony_ci          }
5719ffe3c632Sopenharmony_ci          if (_unknownFields != null) {
5720ffe3c632Sopenharmony_ci            size += _unknownFields.CalculateSize();
5721ffe3c632Sopenharmony_ci          }
5722ffe3c632Sopenharmony_ci          return size;
5723ffe3c632Sopenharmony_ci        }
5724ffe3c632Sopenharmony_ci
5725ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5726ffe3c632Sopenharmony_ci        public void MergeFrom(MessageSetCorrectExtension2 other) {
5727ffe3c632Sopenharmony_ci          if (other == null) {
5728ffe3c632Sopenharmony_ci            return;
5729ffe3c632Sopenharmony_ci          }
5730ffe3c632Sopenharmony_ci          if (other.HasI) {
5731ffe3c632Sopenharmony_ci            I = other.I;
5732ffe3c632Sopenharmony_ci          }
5733ffe3c632Sopenharmony_ci          _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
5734ffe3c632Sopenharmony_ci        }
5735ffe3c632Sopenharmony_ci
5736ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5737ffe3c632Sopenharmony_ci        public void MergeFrom(pb::CodedInputStream input) {
5738ffe3c632Sopenharmony_ci        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5739ffe3c632Sopenharmony_ci          input.ReadRawMessage(this);
5740ffe3c632Sopenharmony_ci        #else
5741ffe3c632Sopenharmony_ci          uint tag;
5742ffe3c632Sopenharmony_ci          while ((tag = input.ReadTag()) != 0) {
5743ffe3c632Sopenharmony_ci            switch(tag) {
5744ffe3c632Sopenharmony_ci              default:
5745ffe3c632Sopenharmony_ci                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
5746ffe3c632Sopenharmony_ci                break;
5747ffe3c632Sopenharmony_ci              case 72: {
5748ffe3c632Sopenharmony_ci                I = input.ReadInt32();
5749ffe3c632Sopenharmony_ci                break;
5750ffe3c632Sopenharmony_ci              }
5751ffe3c632Sopenharmony_ci            }
5752ffe3c632Sopenharmony_ci          }
5753ffe3c632Sopenharmony_ci        #endif
5754ffe3c632Sopenharmony_ci        }
5755ffe3c632Sopenharmony_ci
5756ffe3c632Sopenharmony_ci        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5757ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5758ffe3c632Sopenharmony_ci        void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
5759ffe3c632Sopenharmony_ci          uint tag;
5760ffe3c632Sopenharmony_ci          while ((tag = input.ReadTag()) != 0) {
5761ffe3c632Sopenharmony_ci            switch(tag) {
5762ffe3c632Sopenharmony_ci              default:
5763ffe3c632Sopenharmony_ci                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
5764ffe3c632Sopenharmony_ci                break;
5765ffe3c632Sopenharmony_ci              case 72: {
5766ffe3c632Sopenharmony_ci                I = input.ReadInt32();
5767ffe3c632Sopenharmony_ci                break;
5768ffe3c632Sopenharmony_ci              }
5769ffe3c632Sopenharmony_ci            }
5770ffe3c632Sopenharmony_ci          }
5771ffe3c632Sopenharmony_ci        }
5772ffe3c632Sopenharmony_ci        #endif
5773ffe3c632Sopenharmony_ci
5774ffe3c632Sopenharmony_ci        #region Extensions
5775ffe3c632Sopenharmony_ci        /// <summary>Container for extensions for other messages declared in the MessageSetCorrectExtension2 message type.</summary>
5776ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5777ffe3c632Sopenharmony_ci        public static partial class Extensions {
5778ffe3c632Sopenharmony_ci          public static readonly pb::Extension<global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.MessageSetCorrect, global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.MessageSetCorrectExtension2> MessageSetExtension =
5779ffe3c632Sopenharmony_ci            new pb::Extension<global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.MessageSetCorrect, global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.MessageSetCorrectExtension2>(4135312, pb::FieldCodec.ForMessage(33082498, global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.MessageSetCorrectExtension2.Parser));
5780ffe3c632Sopenharmony_ci        }
5781ffe3c632Sopenharmony_ci        #endregion
5782ffe3c632Sopenharmony_ci
5783ffe3c632Sopenharmony_ci      }
5784ffe3c632Sopenharmony_ci
5785ffe3c632Sopenharmony_ci    }
5786ffe3c632Sopenharmony_ci    #endregion
5787ffe3c632Sopenharmony_ci
5788ffe3c632Sopenharmony_ci  }
5789ffe3c632Sopenharmony_ci
5790ffe3c632Sopenharmony_ci  public sealed partial class ForeignMessageProto2 : pb::IMessage<ForeignMessageProto2>
5791ffe3c632Sopenharmony_ci  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5792ffe3c632Sopenharmony_ci      , pb::IBufferMessage
5793ffe3c632Sopenharmony_ci  #endif
5794ffe3c632Sopenharmony_ci  {
5795ffe3c632Sopenharmony_ci    private static readonly pb::MessageParser<ForeignMessageProto2> _parser = new pb::MessageParser<ForeignMessageProto2>(() => new ForeignMessageProto2());
5796ffe3c632Sopenharmony_ci    private pb::UnknownFieldSet _unknownFields;
5797ffe3c632Sopenharmony_ci    private int _hasBits0;
5798ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5799ffe3c632Sopenharmony_ci    public static pb::MessageParser<ForeignMessageProto2> Parser { get { return _parser; } }
5800ffe3c632Sopenharmony_ci
5801ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5802ffe3c632Sopenharmony_ci    public static pbr::MessageDescriptor Descriptor {
5803ffe3c632Sopenharmony_ci      get { return global::ProtobufTestMessages.Proto2.TestMessagesProto2Reflection.Descriptor.MessageTypes[1]; }
5804ffe3c632Sopenharmony_ci    }
5805ffe3c632Sopenharmony_ci
5806ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5807ffe3c632Sopenharmony_ci    pbr::MessageDescriptor pb::IMessage.Descriptor {
5808ffe3c632Sopenharmony_ci      get { return Descriptor; }
5809ffe3c632Sopenharmony_ci    }
5810ffe3c632Sopenharmony_ci
5811ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5812ffe3c632Sopenharmony_ci    public ForeignMessageProto2() {
5813ffe3c632Sopenharmony_ci      OnConstruction();
5814ffe3c632Sopenharmony_ci    }
5815ffe3c632Sopenharmony_ci
5816ffe3c632Sopenharmony_ci    partial void OnConstruction();
5817ffe3c632Sopenharmony_ci
5818ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5819ffe3c632Sopenharmony_ci    public ForeignMessageProto2(ForeignMessageProto2 other) : this() {
5820ffe3c632Sopenharmony_ci      _hasBits0 = other._hasBits0;
5821ffe3c632Sopenharmony_ci      c_ = other.c_;
5822ffe3c632Sopenharmony_ci      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
5823ffe3c632Sopenharmony_ci    }
5824ffe3c632Sopenharmony_ci
5825ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5826ffe3c632Sopenharmony_ci    public ForeignMessageProto2 Clone() {
5827ffe3c632Sopenharmony_ci      return new ForeignMessageProto2(this);
5828ffe3c632Sopenharmony_ci    }
5829ffe3c632Sopenharmony_ci
5830ffe3c632Sopenharmony_ci    /// <summary>Field number for the "c" field.</summary>
5831ffe3c632Sopenharmony_ci    public const int CFieldNumber = 1;
5832ffe3c632Sopenharmony_ci    private readonly static int CDefaultValue = 0;
5833ffe3c632Sopenharmony_ci
5834ffe3c632Sopenharmony_ci    private int c_;
5835ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5836ffe3c632Sopenharmony_ci    public int C {
5837ffe3c632Sopenharmony_ci      get { if ((_hasBits0 & 1) != 0) { return c_; } else { return CDefaultValue; } }
5838ffe3c632Sopenharmony_ci      set {
5839ffe3c632Sopenharmony_ci        _hasBits0 |= 1;
5840ffe3c632Sopenharmony_ci        c_ = value;
5841ffe3c632Sopenharmony_ci      }
5842ffe3c632Sopenharmony_ci    }
5843ffe3c632Sopenharmony_ci    /// <summary>Gets whether the "c" field is set</summary>
5844ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5845ffe3c632Sopenharmony_ci    public bool HasC {
5846ffe3c632Sopenharmony_ci      get { return (_hasBits0 & 1) != 0; }
5847ffe3c632Sopenharmony_ci    }
5848ffe3c632Sopenharmony_ci    /// <summary>Clears the value of the "c" field</summary>
5849ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5850ffe3c632Sopenharmony_ci    public void ClearC() {
5851ffe3c632Sopenharmony_ci      _hasBits0 &= ~1;
5852ffe3c632Sopenharmony_ci    }
5853ffe3c632Sopenharmony_ci
5854ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5855ffe3c632Sopenharmony_ci    public override bool Equals(object other) {
5856ffe3c632Sopenharmony_ci      return Equals(other as ForeignMessageProto2);
5857ffe3c632Sopenharmony_ci    }
5858ffe3c632Sopenharmony_ci
5859ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5860ffe3c632Sopenharmony_ci    public bool Equals(ForeignMessageProto2 other) {
5861ffe3c632Sopenharmony_ci      if (ReferenceEquals(other, null)) {
5862ffe3c632Sopenharmony_ci        return false;
5863ffe3c632Sopenharmony_ci      }
5864ffe3c632Sopenharmony_ci      if (ReferenceEquals(other, this)) {
5865ffe3c632Sopenharmony_ci        return true;
5866ffe3c632Sopenharmony_ci      }
5867ffe3c632Sopenharmony_ci      if (C != other.C) return false;
5868ffe3c632Sopenharmony_ci      return Equals(_unknownFields, other._unknownFields);
5869ffe3c632Sopenharmony_ci    }
5870ffe3c632Sopenharmony_ci
5871ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5872ffe3c632Sopenharmony_ci    public override int GetHashCode() {
5873ffe3c632Sopenharmony_ci      int hash = 1;
5874ffe3c632Sopenharmony_ci      if (HasC) hash ^= C.GetHashCode();
5875ffe3c632Sopenharmony_ci      if (_unknownFields != null) {
5876ffe3c632Sopenharmony_ci        hash ^= _unknownFields.GetHashCode();
5877ffe3c632Sopenharmony_ci      }
5878ffe3c632Sopenharmony_ci      return hash;
5879ffe3c632Sopenharmony_ci    }
5880ffe3c632Sopenharmony_ci
5881ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5882ffe3c632Sopenharmony_ci    public override string ToString() {
5883ffe3c632Sopenharmony_ci      return pb::JsonFormatter.ToDiagnosticString(this);
5884ffe3c632Sopenharmony_ci    }
5885ffe3c632Sopenharmony_ci
5886ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5887ffe3c632Sopenharmony_ci    public void WriteTo(pb::CodedOutputStream output) {
5888ffe3c632Sopenharmony_ci    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5889ffe3c632Sopenharmony_ci      output.WriteRawMessage(this);
5890ffe3c632Sopenharmony_ci    #else
5891ffe3c632Sopenharmony_ci      if (HasC) {
5892ffe3c632Sopenharmony_ci        output.WriteRawTag(8);
5893ffe3c632Sopenharmony_ci        output.WriteInt32(C);
5894ffe3c632Sopenharmony_ci      }
5895ffe3c632Sopenharmony_ci      if (_unknownFields != null) {
5896ffe3c632Sopenharmony_ci        _unknownFields.WriteTo(output);
5897ffe3c632Sopenharmony_ci      }
5898ffe3c632Sopenharmony_ci    #endif
5899ffe3c632Sopenharmony_ci    }
5900ffe3c632Sopenharmony_ci
5901ffe3c632Sopenharmony_ci    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5902ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5903ffe3c632Sopenharmony_ci    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
5904ffe3c632Sopenharmony_ci      if (HasC) {
5905ffe3c632Sopenharmony_ci        output.WriteRawTag(8);
5906ffe3c632Sopenharmony_ci        output.WriteInt32(C);
5907ffe3c632Sopenharmony_ci      }
5908ffe3c632Sopenharmony_ci      if (_unknownFields != null) {
5909ffe3c632Sopenharmony_ci        _unknownFields.WriteTo(ref output);
5910ffe3c632Sopenharmony_ci      }
5911ffe3c632Sopenharmony_ci    }
5912ffe3c632Sopenharmony_ci    #endif
5913ffe3c632Sopenharmony_ci
5914ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5915ffe3c632Sopenharmony_ci    public int CalculateSize() {
5916ffe3c632Sopenharmony_ci      int size = 0;
5917ffe3c632Sopenharmony_ci      if (HasC) {
5918ffe3c632Sopenharmony_ci        size += 1 + pb::CodedOutputStream.ComputeInt32Size(C);
5919ffe3c632Sopenharmony_ci      }
5920ffe3c632Sopenharmony_ci      if (_unknownFields != null) {
5921ffe3c632Sopenharmony_ci        size += _unknownFields.CalculateSize();
5922ffe3c632Sopenharmony_ci      }
5923ffe3c632Sopenharmony_ci      return size;
5924ffe3c632Sopenharmony_ci    }
5925ffe3c632Sopenharmony_ci
5926ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5927ffe3c632Sopenharmony_ci    public void MergeFrom(ForeignMessageProto2 other) {
5928ffe3c632Sopenharmony_ci      if (other == null) {
5929ffe3c632Sopenharmony_ci        return;
5930ffe3c632Sopenharmony_ci      }
5931ffe3c632Sopenharmony_ci      if (other.HasC) {
5932ffe3c632Sopenharmony_ci        C = other.C;
5933ffe3c632Sopenharmony_ci      }
5934ffe3c632Sopenharmony_ci      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
5935ffe3c632Sopenharmony_ci    }
5936ffe3c632Sopenharmony_ci
5937ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5938ffe3c632Sopenharmony_ci    public void MergeFrom(pb::CodedInputStream input) {
5939ffe3c632Sopenharmony_ci    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5940ffe3c632Sopenharmony_ci      input.ReadRawMessage(this);
5941ffe3c632Sopenharmony_ci    #else
5942ffe3c632Sopenharmony_ci      uint tag;
5943ffe3c632Sopenharmony_ci      while ((tag = input.ReadTag()) != 0) {
5944ffe3c632Sopenharmony_ci        switch(tag) {
5945ffe3c632Sopenharmony_ci          default:
5946ffe3c632Sopenharmony_ci            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
5947ffe3c632Sopenharmony_ci            break;
5948ffe3c632Sopenharmony_ci          case 8: {
5949ffe3c632Sopenharmony_ci            C = input.ReadInt32();
5950ffe3c632Sopenharmony_ci            break;
5951ffe3c632Sopenharmony_ci          }
5952ffe3c632Sopenharmony_ci        }
5953ffe3c632Sopenharmony_ci      }
5954ffe3c632Sopenharmony_ci    #endif
5955ffe3c632Sopenharmony_ci    }
5956ffe3c632Sopenharmony_ci
5957ffe3c632Sopenharmony_ci    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5958ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5959ffe3c632Sopenharmony_ci    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
5960ffe3c632Sopenharmony_ci      uint tag;
5961ffe3c632Sopenharmony_ci      while ((tag = input.ReadTag()) != 0) {
5962ffe3c632Sopenharmony_ci        switch(tag) {
5963ffe3c632Sopenharmony_ci          default:
5964ffe3c632Sopenharmony_ci            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
5965ffe3c632Sopenharmony_ci            break;
5966ffe3c632Sopenharmony_ci          case 8: {
5967ffe3c632Sopenharmony_ci            C = input.ReadInt32();
5968ffe3c632Sopenharmony_ci            break;
5969ffe3c632Sopenharmony_ci          }
5970ffe3c632Sopenharmony_ci        }
5971ffe3c632Sopenharmony_ci      }
5972ffe3c632Sopenharmony_ci    }
5973ffe3c632Sopenharmony_ci    #endif
5974ffe3c632Sopenharmony_ci
5975ffe3c632Sopenharmony_ci  }
5976ffe3c632Sopenharmony_ci
5977ffe3c632Sopenharmony_ci  public sealed partial class UnknownToTestAllTypes : pb::IMessage<UnknownToTestAllTypes>
5978ffe3c632Sopenharmony_ci  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5979ffe3c632Sopenharmony_ci      , pb::IBufferMessage
5980ffe3c632Sopenharmony_ci  #endif
5981ffe3c632Sopenharmony_ci  {
5982ffe3c632Sopenharmony_ci    private static readonly pb::MessageParser<UnknownToTestAllTypes> _parser = new pb::MessageParser<UnknownToTestAllTypes>(() => new UnknownToTestAllTypes());
5983ffe3c632Sopenharmony_ci    private pb::UnknownFieldSet _unknownFields;
5984ffe3c632Sopenharmony_ci    private int _hasBits0;
5985ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5986ffe3c632Sopenharmony_ci    public static pb::MessageParser<UnknownToTestAllTypes> Parser { get { return _parser; } }
5987ffe3c632Sopenharmony_ci
5988ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5989ffe3c632Sopenharmony_ci    public static pbr::MessageDescriptor Descriptor {
5990ffe3c632Sopenharmony_ci      get { return global::ProtobufTestMessages.Proto2.TestMessagesProto2Reflection.Descriptor.MessageTypes[2]; }
5991ffe3c632Sopenharmony_ci    }
5992ffe3c632Sopenharmony_ci
5993ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5994ffe3c632Sopenharmony_ci    pbr::MessageDescriptor pb::IMessage.Descriptor {
5995ffe3c632Sopenharmony_ci      get { return Descriptor; }
5996ffe3c632Sopenharmony_ci    }
5997ffe3c632Sopenharmony_ci
5998ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5999ffe3c632Sopenharmony_ci    public UnknownToTestAllTypes() {
6000ffe3c632Sopenharmony_ci      OnConstruction();
6001ffe3c632Sopenharmony_ci    }
6002ffe3c632Sopenharmony_ci
6003ffe3c632Sopenharmony_ci    partial void OnConstruction();
6004ffe3c632Sopenharmony_ci
6005ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6006ffe3c632Sopenharmony_ci    public UnknownToTestAllTypes(UnknownToTestAllTypes other) : this() {
6007ffe3c632Sopenharmony_ci      _hasBits0 = other._hasBits0;
6008ffe3c632Sopenharmony_ci      optionalInt32_ = other.optionalInt32_;
6009ffe3c632Sopenharmony_ci      optionalString_ = other.optionalString_;
6010ffe3c632Sopenharmony_ci      nestedMessage_ = other.nestedMessage_ != null ? other.nestedMessage_.Clone() : null;
6011ffe3c632Sopenharmony_ci      optionalGroup_ = other.HasOptionalGroup ? other.optionalGroup_.Clone() : null;
6012ffe3c632Sopenharmony_ci      optionalBool_ = other.optionalBool_;
6013ffe3c632Sopenharmony_ci      repeatedInt32_ = other.repeatedInt32_.Clone();
6014ffe3c632Sopenharmony_ci      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
6015ffe3c632Sopenharmony_ci    }
6016ffe3c632Sopenharmony_ci
6017ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6018ffe3c632Sopenharmony_ci    public UnknownToTestAllTypes Clone() {
6019ffe3c632Sopenharmony_ci      return new UnknownToTestAllTypes(this);
6020ffe3c632Sopenharmony_ci    }
6021ffe3c632Sopenharmony_ci
6022ffe3c632Sopenharmony_ci    /// <summary>Field number for the "optional_int32" field.</summary>
6023ffe3c632Sopenharmony_ci    public const int OptionalInt32FieldNumber = 1001;
6024ffe3c632Sopenharmony_ci    private readonly static int OptionalInt32DefaultValue = 0;
6025ffe3c632Sopenharmony_ci
6026ffe3c632Sopenharmony_ci    private int optionalInt32_;
6027ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6028ffe3c632Sopenharmony_ci    public int OptionalInt32 {
6029ffe3c632Sopenharmony_ci      get { if ((_hasBits0 & 1) != 0) { return optionalInt32_; } else { return OptionalInt32DefaultValue; } }
6030ffe3c632Sopenharmony_ci      set {
6031ffe3c632Sopenharmony_ci        _hasBits0 |= 1;
6032ffe3c632Sopenharmony_ci        optionalInt32_ = value;
6033ffe3c632Sopenharmony_ci      }
6034ffe3c632Sopenharmony_ci    }
6035ffe3c632Sopenharmony_ci    /// <summary>Gets whether the "optional_int32" field is set</summary>
6036ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6037ffe3c632Sopenharmony_ci    public bool HasOptionalInt32 {
6038ffe3c632Sopenharmony_ci      get { return (_hasBits0 & 1) != 0; }
6039ffe3c632Sopenharmony_ci    }
6040ffe3c632Sopenharmony_ci    /// <summary>Clears the value of the "optional_int32" field</summary>
6041ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6042ffe3c632Sopenharmony_ci    public void ClearOptionalInt32() {
6043ffe3c632Sopenharmony_ci      _hasBits0 &= ~1;
6044ffe3c632Sopenharmony_ci    }
6045ffe3c632Sopenharmony_ci
6046ffe3c632Sopenharmony_ci    /// <summary>Field number for the "optional_string" field.</summary>
6047ffe3c632Sopenharmony_ci    public const int OptionalStringFieldNumber = 1002;
6048ffe3c632Sopenharmony_ci    private readonly static string OptionalStringDefaultValue = "";
6049ffe3c632Sopenharmony_ci
6050ffe3c632Sopenharmony_ci    private string optionalString_;
6051ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6052ffe3c632Sopenharmony_ci    public string OptionalString {
6053ffe3c632Sopenharmony_ci      get { return optionalString_ ?? OptionalStringDefaultValue; }
6054ffe3c632Sopenharmony_ci      set {
6055ffe3c632Sopenharmony_ci        optionalString_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
6056ffe3c632Sopenharmony_ci      }
6057ffe3c632Sopenharmony_ci    }
6058ffe3c632Sopenharmony_ci    /// <summary>Gets whether the "optional_string" field is set</summary>
6059ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6060ffe3c632Sopenharmony_ci    public bool HasOptionalString {
6061ffe3c632Sopenharmony_ci      get { return optionalString_ != null; }
6062ffe3c632Sopenharmony_ci    }
6063ffe3c632Sopenharmony_ci    /// <summary>Clears the value of the "optional_string" field</summary>
6064ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6065ffe3c632Sopenharmony_ci    public void ClearOptionalString() {
6066ffe3c632Sopenharmony_ci      optionalString_ = null;
6067ffe3c632Sopenharmony_ci    }
6068ffe3c632Sopenharmony_ci
6069ffe3c632Sopenharmony_ci    /// <summary>Field number for the "nested_message" field.</summary>
6070ffe3c632Sopenharmony_ci    public const int NestedMessageFieldNumber = 1003;
6071ffe3c632Sopenharmony_ci    private global::ProtobufTestMessages.Proto2.ForeignMessageProto2 nestedMessage_;
6072ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6073ffe3c632Sopenharmony_ci    public global::ProtobufTestMessages.Proto2.ForeignMessageProto2 NestedMessage {
6074ffe3c632Sopenharmony_ci      get { return nestedMessage_; }
6075ffe3c632Sopenharmony_ci      set {
6076ffe3c632Sopenharmony_ci        nestedMessage_ = value;
6077ffe3c632Sopenharmony_ci      }
6078ffe3c632Sopenharmony_ci    }
6079ffe3c632Sopenharmony_ci
6080ffe3c632Sopenharmony_ci    /// <summary>Field number for the "optionalgroup" field.</summary>
6081ffe3c632Sopenharmony_ci    public const int OptionalGroupFieldNumber = 1004;
6082ffe3c632Sopenharmony_ci    private global::ProtobufTestMessages.Proto2.UnknownToTestAllTypes.Types.OptionalGroup optionalGroup_;
6083ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6084ffe3c632Sopenharmony_ci    public global::ProtobufTestMessages.Proto2.UnknownToTestAllTypes.Types.OptionalGroup OptionalGroup {
6085ffe3c632Sopenharmony_ci      get { return optionalGroup_; }
6086ffe3c632Sopenharmony_ci      set {
6087ffe3c632Sopenharmony_ci        optionalGroup_ = value;
6088ffe3c632Sopenharmony_ci      }
6089ffe3c632Sopenharmony_ci    }
6090ffe3c632Sopenharmony_ci    /// <summary>Gets whether the optionalgroup field is set</summary>
6091ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6092ffe3c632Sopenharmony_ci    public bool HasOptionalGroup {
6093ffe3c632Sopenharmony_ci      get { return optionalGroup_ != null; }
6094ffe3c632Sopenharmony_ci    }
6095ffe3c632Sopenharmony_ci    /// <summary>Clears the value of the optionalgroup field</summary>
6096ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6097ffe3c632Sopenharmony_ci    public void ClearOptionalGroup() {
6098ffe3c632Sopenharmony_ci      optionalGroup_ = null;
6099ffe3c632Sopenharmony_ci    }
6100ffe3c632Sopenharmony_ci
6101ffe3c632Sopenharmony_ci    /// <summary>Field number for the "optional_bool" field.</summary>
6102ffe3c632Sopenharmony_ci    public const int OptionalBoolFieldNumber = 1006;
6103ffe3c632Sopenharmony_ci    private readonly static bool OptionalBoolDefaultValue = false;
6104ffe3c632Sopenharmony_ci
6105ffe3c632Sopenharmony_ci    private bool optionalBool_;
6106ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6107ffe3c632Sopenharmony_ci    public bool OptionalBool {
6108ffe3c632Sopenharmony_ci      get { if ((_hasBits0 & 2) != 0) { return optionalBool_; } else { return OptionalBoolDefaultValue; } }
6109ffe3c632Sopenharmony_ci      set {
6110ffe3c632Sopenharmony_ci        _hasBits0 |= 2;
6111ffe3c632Sopenharmony_ci        optionalBool_ = value;
6112ffe3c632Sopenharmony_ci      }
6113ffe3c632Sopenharmony_ci    }
6114ffe3c632Sopenharmony_ci    /// <summary>Gets whether the "optional_bool" field is set</summary>
6115ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6116ffe3c632Sopenharmony_ci    public bool HasOptionalBool {
6117ffe3c632Sopenharmony_ci      get { return (_hasBits0 & 2) != 0; }
6118ffe3c632Sopenharmony_ci    }
6119ffe3c632Sopenharmony_ci    /// <summary>Clears the value of the "optional_bool" field</summary>
6120ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6121ffe3c632Sopenharmony_ci    public void ClearOptionalBool() {
6122ffe3c632Sopenharmony_ci      _hasBits0 &= ~2;
6123ffe3c632Sopenharmony_ci    }
6124ffe3c632Sopenharmony_ci
6125ffe3c632Sopenharmony_ci    /// <summary>Field number for the "repeated_int32" field.</summary>
6126ffe3c632Sopenharmony_ci    public const int RepeatedInt32FieldNumber = 1011;
6127ffe3c632Sopenharmony_ci    private static readonly pb::FieldCodec<int> _repeated_repeatedInt32_codec
6128ffe3c632Sopenharmony_ci        = pb::FieldCodec.ForInt32(8088);
6129ffe3c632Sopenharmony_ci    private readonly pbc::RepeatedField<int> repeatedInt32_ = new pbc::RepeatedField<int>();
6130ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6131ffe3c632Sopenharmony_ci    public pbc::RepeatedField<int> RepeatedInt32 {
6132ffe3c632Sopenharmony_ci      get { return repeatedInt32_; }
6133ffe3c632Sopenharmony_ci    }
6134ffe3c632Sopenharmony_ci
6135ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6136ffe3c632Sopenharmony_ci    public override bool Equals(object other) {
6137ffe3c632Sopenharmony_ci      return Equals(other as UnknownToTestAllTypes);
6138ffe3c632Sopenharmony_ci    }
6139ffe3c632Sopenharmony_ci
6140ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6141ffe3c632Sopenharmony_ci    public bool Equals(UnknownToTestAllTypes other) {
6142ffe3c632Sopenharmony_ci      if (ReferenceEquals(other, null)) {
6143ffe3c632Sopenharmony_ci        return false;
6144ffe3c632Sopenharmony_ci      }
6145ffe3c632Sopenharmony_ci      if (ReferenceEquals(other, this)) {
6146ffe3c632Sopenharmony_ci        return true;
6147ffe3c632Sopenharmony_ci      }
6148ffe3c632Sopenharmony_ci      if (OptionalInt32 != other.OptionalInt32) return false;
6149ffe3c632Sopenharmony_ci      if (OptionalString != other.OptionalString) return false;
6150ffe3c632Sopenharmony_ci      if (!object.Equals(NestedMessage, other.NestedMessage)) return false;
6151ffe3c632Sopenharmony_ci      if (!object.Equals(OptionalGroup, other.OptionalGroup)) return false;
6152ffe3c632Sopenharmony_ci      if (OptionalBool != other.OptionalBool) return false;
6153ffe3c632Sopenharmony_ci      if(!repeatedInt32_.Equals(other.repeatedInt32_)) return false;
6154ffe3c632Sopenharmony_ci      return Equals(_unknownFields, other._unknownFields);
6155ffe3c632Sopenharmony_ci    }
6156ffe3c632Sopenharmony_ci
6157ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6158ffe3c632Sopenharmony_ci    public override int GetHashCode() {
6159ffe3c632Sopenharmony_ci      int hash = 1;
6160ffe3c632Sopenharmony_ci      if (HasOptionalInt32) hash ^= OptionalInt32.GetHashCode();
6161ffe3c632Sopenharmony_ci      if (HasOptionalString) hash ^= OptionalString.GetHashCode();
6162ffe3c632Sopenharmony_ci      if (nestedMessage_ != null) hash ^= NestedMessage.GetHashCode();
6163ffe3c632Sopenharmony_ci      if (HasOptionalGroup) hash ^= OptionalGroup.GetHashCode();
6164ffe3c632Sopenharmony_ci      if (HasOptionalBool) hash ^= OptionalBool.GetHashCode();
6165ffe3c632Sopenharmony_ci      hash ^= repeatedInt32_.GetHashCode();
6166ffe3c632Sopenharmony_ci      if (_unknownFields != null) {
6167ffe3c632Sopenharmony_ci        hash ^= _unknownFields.GetHashCode();
6168ffe3c632Sopenharmony_ci      }
6169ffe3c632Sopenharmony_ci      return hash;
6170ffe3c632Sopenharmony_ci    }
6171ffe3c632Sopenharmony_ci
6172ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6173ffe3c632Sopenharmony_ci    public override string ToString() {
6174ffe3c632Sopenharmony_ci      return pb::JsonFormatter.ToDiagnosticString(this);
6175ffe3c632Sopenharmony_ci    }
6176ffe3c632Sopenharmony_ci
6177ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6178ffe3c632Sopenharmony_ci    public void WriteTo(pb::CodedOutputStream output) {
6179ffe3c632Sopenharmony_ci    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
6180ffe3c632Sopenharmony_ci      output.WriteRawMessage(this);
6181ffe3c632Sopenharmony_ci    #else
6182ffe3c632Sopenharmony_ci      if (HasOptionalInt32) {
6183ffe3c632Sopenharmony_ci        output.WriteRawTag(200, 62);
6184ffe3c632Sopenharmony_ci        output.WriteInt32(OptionalInt32);
6185ffe3c632Sopenharmony_ci      }
6186ffe3c632Sopenharmony_ci      if (HasOptionalString) {
6187ffe3c632Sopenharmony_ci        output.WriteRawTag(210, 62);
6188ffe3c632Sopenharmony_ci        output.WriteString(OptionalString);
6189ffe3c632Sopenharmony_ci      }
6190ffe3c632Sopenharmony_ci      if (nestedMessage_ != null) {
6191ffe3c632Sopenharmony_ci        output.WriteRawTag(218, 62);
6192ffe3c632Sopenharmony_ci        output.WriteMessage(NestedMessage);
6193ffe3c632Sopenharmony_ci      }
6194ffe3c632Sopenharmony_ci      if (HasOptionalGroup) {
6195ffe3c632Sopenharmony_ci        output.WriteRawTag(227, 62);
6196ffe3c632Sopenharmony_ci        output.WriteGroup(OptionalGroup);
6197ffe3c632Sopenharmony_ci        output.WriteRawTag(228, 62);
6198ffe3c632Sopenharmony_ci      }
6199ffe3c632Sopenharmony_ci      if (HasOptionalBool) {
6200ffe3c632Sopenharmony_ci        output.WriteRawTag(240, 62);
6201ffe3c632Sopenharmony_ci        output.WriteBool(OptionalBool);
6202ffe3c632Sopenharmony_ci      }
6203ffe3c632Sopenharmony_ci      repeatedInt32_.WriteTo(output, _repeated_repeatedInt32_codec);
6204ffe3c632Sopenharmony_ci      if (_unknownFields != null) {
6205ffe3c632Sopenharmony_ci        _unknownFields.WriteTo(output);
6206ffe3c632Sopenharmony_ci      }
6207ffe3c632Sopenharmony_ci    #endif
6208ffe3c632Sopenharmony_ci    }
6209ffe3c632Sopenharmony_ci
6210ffe3c632Sopenharmony_ci    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
6211ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6212ffe3c632Sopenharmony_ci    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
6213ffe3c632Sopenharmony_ci      if (HasOptionalInt32) {
6214ffe3c632Sopenharmony_ci        output.WriteRawTag(200, 62);
6215ffe3c632Sopenharmony_ci        output.WriteInt32(OptionalInt32);
6216ffe3c632Sopenharmony_ci      }
6217ffe3c632Sopenharmony_ci      if (HasOptionalString) {
6218ffe3c632Sopenharmony_ci        output.WriteRawTag(210, 62);
6219ffe3c632Sopenharmony_ci        output.WriteString(OptionalString);
6220ffe3c632Sopenharmony_ci      }
6221ffe3c632Sopenharmony_ci      if (nestedMessage_ != null) {
6222ffe3c632Sopenharmony_ci        output.WriteRawTag(218, 62);
6223ffe3c632Sopenharmony_ci        output.WriteMessage(NestedMessage);
6224ffe3c632Sopenharmony_ci      }
6225ffe3c632Sopenharmony_ci      if (HasOptionalGroup) {
6226ffe3c632Sopenharmony_ci        output.WriteRawTag(227, 62);
6227ffe3c632Sopenharmony_ci        output.WriteGroup(OptionalGroup);
6228ffe3c632Sopenharmony_ci        output.WriteRawTag(228, 62);
6229ffe3c632Sopenharmony_ci      }
6230ffe3c632Sopenharmony_ci      if (HasOptionalBool) {
6231ffe3c632Sopenharmony_ci        output.WriteRawTag(240, 62);
6232ffe3c632Sopenharmony_ci        output.WriteBool(OptionalBool);
6233ffe3c632Sopenharmony_ci      }
6234ffe3c632Sopenharmony_ci      repeatedInt32_.WriteTo(ref output, _repeated_repeatedInt32_codec);
6235ffe3c632Sopenharmony_ci      if (_unknownFields != null) {
6236ffe3c632Sopenharmony_ci        _unknownFields.WriteTo(ref output);
6237ffe3c632Sopenharmony_ci      }
6238ffe3c632Sopenharmony_ci    }
6239ffe3c632Sopenharmony_ci    #endif
6240ffe3c632Sopenharmony_ci
6241ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6242ffe3c632Sopenharmony_ci    public int CalculateSize() {
6243ffe3c632Sopenharmony_ci      int size = 0;
6244ffe3c632Sopenharmony_ci      if (HasOptionalInt32) {
6245ffe3c632Sopenharmony_ci        size += 2 + pb::CodedOutputStream.ComputeInt32Size(OptionalInt32);
6246ffe3c632Sopenharmony_ci      }
6247ffe3c632Sopenharmony_ci      if (HasOptionalString) {
6248ffe3c632Sopenharmony_ci        size += 2 + pb::CodedOutputStream.ComputeStringSize(OptionalString);
6249ffe3c632Sopenharmony_ci      }
6250ffe3c632Sopenharmony_ci      if (nestedMessage_ != null) {
6251ffe3c632Sopenharmony_ci        size += 2 + pb::CodedOutputStream.ComputeMessageSize(NestedMessage);
6252ffe3c632Sopenharmony_ci      }
6253ffe3c632Sopenharmony_ci      if (HasOptionalGroup) {
6254ffe3c632Sopenharmony_ci        size += 4 + pb::CodedOutputStream.ComputeGroupSize(OptionalGroup);
6255ffe3c632Sopenharmony_ci      }
6256ffe3c632Sopenharmony_ci      if (HasOptionalBool) {
6257ffe3c632Sopenharmony_ci        size += 2 + 1;
6258ffe3c632Sopenharmony_ci      }
6259ffe3c632Sopenharmony_ci      size += repeatedInt32_.CalculateSize(_repeated_repeatedInt32_codec);
6260ffe3c632Sopenharmony_ci      if (_unknownFields != null) {
6261ffe3c632Sopenharmony_ci        size += _unknownFields.CalculateSize();
6262ffe3c632Sopenharmony_ci      }
6263ffe3c632Sopenharmony_ci      return size;
6264ffe3c632Sopenharmony_ci    }
6265ffe3c632Sopenharmony_ci
6266ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6267ffe3c632Sopenharmony_ci    public void MergeFrom(UnknownToTestAllTypes other) {
6268ffe3c632Sopenharmony_ci      if (other == null) {
6269ffe3c632Sopenharmony_ci        return;
6270ffe3c632Sopenharmony_ci      }
6271ffe3c632Sopenharmony_ci      if (other.HasOptionalInt32) {
6272ffe3c632Sopenharmony_ci        OptionalInt32 = other.OptionalInt32;
6273ffe3c632Sopenharmony_ci      }
6274ffe3c632Sopenharmony_ci      if (other.HasOptionalString) {
6275ffe3c632Sopenharmony_ci        OptionalString = other.OptionalString;
6276ffe3c632Sopenharmony_ci      }
6277ffe3c632Sopenharmony_ci      if (other.nestedMessage_ != null) {
6278ffe3c632Sopenharmony_ci        if (nestedMessage_ == null) {
6279ffe3c632Sopenharmony_ci          NestedMessage = new global::ProtobufTestMessages.Proto2.ForeignMessageProto2();
6280ffe3c632Sopenharmony_ci        }
6281ffe3c632Sopenharmony_ci        NestedMessage.MergeFrom(other.NestedMessage);
6282ffe3c632Sopenharmony_ci      }
6283ffe3c632Sopenharmony_ci      if (other.HasOptionalGroup) {
6284ffe3c632Sopenharmony_ci        if (!HasOptionalGroup) {
6285ffe3c632Sopenharmony_ci          OptionalGroup = new global::ProtobufTestMessages.Proto2.UnknownToTestAllTypes.Types.OptionalGroup();
6286ffe3c632Sopenharmony_ci        }
6287ffe3c632Sopenharmony_ci        OptionalGroup.MergeFrom(other.OptionalGroup);
6288ffe3c632Sopenharmony_ci      }
6289ffe3c632Sopenharmony_ci      if (other.HasOptionalBool) {
6290ffe3c632Sopenharmony_ci        OptionalBool = other.OptionalBool;
6291ffe3c632Sopenharmony_ci      }
6292ffe3c632Sopenharmony_ci      repeatedInt32_.Add(other.repeatedInt32_);
6293ffe3c632Sopenharmony_ci      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
6294ffe3c632Sopenharmony_ci    }
6295ffe3c632Sopenharmony_ci
6296ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6297ffe3c632Sopenharmony_ci    public void MergeFrom(pb::CodedInputStream input) {
6298ffe3c632Sopenharmony_ci    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
6299ffe3c632Sopenharmony_ci      input.ReadRawMessage(this);
6300ffe3c632Sopenharmony_ci    #else
6301ffe3c632Sopenharmony_ci      uint tag;
6302ffe3c632Sopenharmony_ci      while ((tag = input.ReadTag()) != 0) {
6303ffe3c632Sopenharmony_ci        switch(tag) {
6304ffe3c632Sopenharmony_ci          default:
6305ffe3c632Sopenharmony_ci            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
6306ffe3c632Sopenharmony_ci            break;
6307ffe3c632Sopenharmony_ci          case 8008: {
6308ffe3c632Sopenharmony_ci            OptionalInt32 = input.ReadInt32();
6309ffe3c632Sopenharmony_ci            break;
6310ffe3c632Sopenharmony_ci          }
6311ffe3c632Sopenharmony_ci          case 8018: {
6312ffe3c632Sopenharmony_ci            OptionalString = input.ReadString();
6313ffe3c632Sopenharmony_ci            break;
6314ffe3c632Sopenharmony_ci          }
6315ffe3c632Sopenharmony_ci          case 8026: {
6316ffe3c632Sopenharmony_ci            if (nestedMessage_ == null) {
6317ffe3c632Sopenharmony_ci              NestedMessage = new global::ProtobufTestMessages.Proto2.ForeignMessageProto2();
6318ffe3c632Sopenharmony_ci            }
6319ffe3c632Sopenharmony_ci            input.ReadMessage(NestedMessage);
6320ffe3c632Sopenharmony_ci            break;
6321ffe3c632Sopenharmony_ci          }
6322ffe3c632Sopenharmony_ci          case 8035: {
6323ffe3c632Sopenharmony_ci            if (!HasOptionalGroup) {
6324ffe3c632Sopenharmony_ci              OptionalGroup = new global::ProtobufTestMessages.Proto2.UnknownToTestAllTypes.Types.OptionalGroup();
6325ffe3c632Sopenharmony_ci            }
6326ffe3c632Sopenharmony_ci            input.ReadGroup(OptionalGroup);
6327ffe3c632Sopenharmony_ci            break;
6328ffe3c632Sopenharmony_ci          }
6329ffe3c632Sopenharmony_ci          case 8048: {
6330ffe3c632Sopenharmony_ci            OptionalBool = input.ReadBool();
6331ffe3c632Sopenharmony_ci            break;
6332ffe3c632Sopenharmony_ci          }
6333ffe3c632Sopenharmony_ci          case 8090:
6334ffe3c632Sopenharmony_ci          case 8088: {
6335ffe3c632Sopenharmony_ci            repeatedInt32_.AddEntriesFrom(input, _repeated_repeatedInt32_codec);
6336ffe3c632Sopenharmony_ci            break;
6337ffe3c632Sopenharmony_ci          }
6338ffe3c632Sopenharmony_ci        }
6339ffe3c632Sopenharmony_ci      }
6340ffe3c632Sopenharmony_ci    #endif
6341ffe3c632Sopenharmony_ci    }
6342ffe3c632Sopenharmony_ci
6343ffe3c632Sopenharmony_ci    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
6344ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6345ffe3c632Sopenharmony_ci    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
6346ffe3c632Sopenharmony_ci      uint tag;
6347ffe3c632Sopenharmony_ci      while ((tag = input.ReadTag()) != 0) {
6348ffe3c632Sopenharmony_ci        switch(tag) {
6349ffe3c632Sopenharmony_ci          default:
6350ffe3c632Sopenharmony_ci            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
6351ffe3c632Sopenharmony_ci            break;
6352ffe3c632Sopenharmony_ci          case 8008: {
6353ffe3c632Sopenharmony_ci            OptionalInt32 = input.ReadInt32();
6354ffe3c632Sopenharmony_ci            break;
6355ffe3c632Sopenharmony_ci          }
6356ffe3c632Sopenharmony_ci          case 8018: {
6357ffe3c632Sopenharmony_ci            OptionalString = input.ReadString();
6358ffe3c632Sopenharmony_ci            break;
6359ffe3c632Sopenharmony_ci          }
6360ffe3c632Sopenharmony_ci          case 8026: {
6361ffe3c632Sopenharmony_ci            if (nestedMessage_ == null) {
6362ffe3c632Sopenharmony_ci              NestedMessage = new global::ProtobufTestMessages.Proto2.ForeignMessageProto2();
6363ffe3c632Sopenharmony_ci            }
6364ffe3c632Sopenharmony_ci            input.ReadMessage(NestedMessage);
6365ffe3c632Sopenharmony_ci            break;
6366ffe3c632Sopenharmony_ci          }
6367ffe3c632Sopenharmony_ci          case 8035: {
6368ffe3c632Sopenharmony_ci            if (!HasOptionalGroup) {
6369ffe3c632Sopenharmony_ci              OptionalGroup = new global::ProtobufTestMessages.Proto2.UnknownToTestAllTypes.Types.OptionalGroup();
6370ffe3c632Sopenharmony_ci            }
6371ffe3c632Sopenharmony_ci            input.ReadGroup(OptionalGroup);
6372ffe3c632Sopenharmony_ci            break;
6373ffe3c632Sopenharmony_ci          }
6374ffe3c632Sopenharmony_ci          case 8048: {
6375ffe3c632Sopenharmony_ci            OptionalBool = input.ReadBool();
6376ffe3c632Sopenharmony_ci            break;
6377ffe3c632Sopenharmony_ci          }
6378ffe3c632Sopenharmony_ci          case 8090:
6379ffe3c632Sopenharmony_ci          case 8088: {
6380ffe3c632Sopenharmony_ci            repeatedInt32_.AddEntriesFrom(ref input, _repeated_repeatedInt32_codec);
6381ffe3c632Sopenharmony_ci            break;
6382ffe3c632Sopenharmony_ci          }
6383ffe3c632Sopenharmony_ci        }
6384ffe3c632Sopenharmony_ci      }
6385ffe3c632Sopenharmony_ci    }
6386ffe3c632Sopenharmony_ci    #endif
6387ffe3c632Sopenharmony_ci
6388ffe3c632Sopenharmony_ci    #region Nested types
6389ffe3c632Sopenharmony_ci    /// <summary>Container for nested types declared in the UnknownToTestAllTypes message type.</summary>
6390ffe3c632Sopenharmony_ci    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6391ffe3c632Sopenharmony_ci    public static partial class Types {
6392ffe3c632Sopenharmony_ci      public sealed partial class OptionalGroup : pb::IMessage<OptionalGroup>
6393ffe3c632Sopenharmony_ci      #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
6394ffe3c632Sopenharmony_ci          , pb::IBufferMessage
6395ffe3c632Sopenharmony_ci      #endif
6396ffe3c632Sopenharmony_ci      {
6397ffe3c632Sopenharmony_ci        private static readonly pb::MessageParser<OptionalGroup> _parser = new pb::MessageParser<OptionalGroup>(() => new OptionalGroup());
6398ffe3c632Sopenharmony_ci        private pb::UnknownFieldSet _unknownFields;
6399ffe3c632Sopenharmony_ci        private int _hasBits0;
6400ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6401ffe3c632Sopenharmony_ci        public static pb::MessageParser<OptionalGroup> Parser { get { return _parser; } }
6402ffe3c632Sopenharmony_ci
6403ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6404ffe3c632Sopenharmony_ci        public static pbr::MessageDescriptor Descriptor {
6405ffe3c632Sopenharmony_ci          get { return global::ProtobufTestMessages.Proto2.UnknownToTestAllTypes.Descriptor.NestedTypes[0]; }
6406ffe3c632Sopenharmony_ci        }
6407ffe3c632Sopenharmony_ci
6408ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6409ffe3c632Sopenharmony_ci        pbr::MessageDescriptor pb::IMessage.Descriptor {
6410ffe3c632Sopenharmony_ci          get { return Descriptor; }
6411ffe3c632Sopenharmony_ci        }
6412ffe3c632Sopenharmony_ci
6413ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6414ffe3c632Sopenharmony_ci        public OptionalGroup() {
6415ffe3c632Sopenharmony_ci          OnConstruction();
6416ffe3c632Sopenharmony_ci        }
6417ffe3c632Sopenharmony_ci
6418ffe3c632Sopenharmony_ci        partial void OnConstruction();
6419ffe3c632Sopenharmony_ci
6420ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6421ffe3c632Sopenharmony_ci        public OptionalGroup(OptionalGroup other) : this() {
6422ffe3c632Sopenharmony_ci          _hasBits0 = other._hasBits0;
6423ffe3c632Sopenharmony_ci          a_ = other.a_;
6424ffe3c632Sopenharmony_ci          _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
6425ffe3c632Sopenharmony_ci        }
6426ffe3c632Sopenharmony_ci
6427ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6428ffe3c632Sopenharmony_ci        public OptionalGroup Clone() {
6429ffe3c632Sopenharmony_ci          return new OptionalGroup(this);
6430ffe3c632Sopenharmony_ci        }
6431ffe3c632Sopenharmony_ci
6432ffe3c632Sopenharmony_ci        /// <summary>Field number for the "a" field.</summary>
6433ffe3c632Sopenharmony_ci        public const int AFieldNumber = 1;
6434ffe3c632Sopenharmony_ci        private readonly static int ADefaultValue = 0;
6435ffe3c632Sopenharmony_ci
6436ffe3c632Sopenharmony_ci        private int a_;
6437ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6438ffe3c632Sopenharmony_ci        public int A {
6439ffe3c632Sopenharmony_ci          get { if ((_hasBits0 & 1) != 0) { return a_; } else { return ADefaultValue; } }
6440ffe3c632Sopenharmony_ci          set {
6441ffe3c632Sopenharmony_ci            _hasBits0 |= 1;
6442ffe3c632Sopenharmony_ci            a_ = value;
6443ffe3c632Sopenharmony_ci          }
6444ffe3c632Sopenharmony_ci        }
6445ffe3c632Sopenharmony_ci        /// <summary>Gets whether the "a" field is set</summary>
6446ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6447ffe3c632Sopenharmony_ci        public bool HasA {
6448ffe3c632Sopenharmony_ci          get { return (_hasBits0 & 1) != 0; }
6449ffe3c632Sopenharmony_ci        }
6450ffe3c632Sopenharmony_ci        /// <summary>Clears the value of the "a" field</summary>
6451ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6452ffe3c632Sopenharmony_ci        public void ClearA() {
6453ffe3c632Sopenharmony_ci          _hasBits0 &= ~1;
6454ffe3c632Sopenharmony_ci        }
6455ffe3c632Sopenharmony_ci
6456ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6457ffe3c632Sopenharmony_ci        public override bool Equals(object other) {
6458ffe3c632Sopenharmony_ci          return Equals(other as OptionalGroup);
6459ffe3c632Sopenharmony_ci        }
6460ffe3c632Sopenharmony_ci
6461ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6462ffe3c632Sopenharmony_ci        public bool Equals(OptionalGroup other) {
6463ffe3c632Sopenharmony_ci          if (ReferenceEquals(other, null)) {
6464ffe3c632Sopenharmony_ci            return false;
6465ffe3c632Sopenharmony_ci          }
6466ffe3c632Sopenharmony_ci          if (ReferenceEquals(other, this)) {
6467ffe3c632Sopenharmony_ci            return true;
6468ffe3c632Sopenharmony_ci          }
6469ffe3c632Sopenharmony_ci          if (A != other.A) return false;
6470ffe3c632Sopenharmony_ci          return Equals(_unknownFields, other._unknownFields);
6471ffe3c632Sopenharmony_ci        }
6472ffe3c632Sopenharmony_ci
6473ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6474ffe3c632Sopenharmony_ci        public override int GetHashCode() {
6475ffe3c632Sopenharmony_ci          int hash = 1;
6476ffe3c632Sopenharmony_ci          if (HasA) hash ^= A.GetHashCode();
6477ffe3c632Sopenharmony_ci          if (_unknownFields != null) {
6478ffe3c632Sopenharmony_ci            hash ^= _unknownFields.GetHashCode();
6479ffe3c632Sopenharmony_ci          }
6480ffe3c632Sopenharmony_ci          return hash;
6481ffe3c632Sopenharmony_ci        }
6482ffe3c632Sopenharmony_ci
6483ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6484ffe3c632Sopenharmony_ci        public override string ToString() {
6485ffe3c632Sopenharmony_ci          return pb::JsonFormatter.ToDiagnosticString(this);
6486ffe3c632Sopenharmony_ci        }
6487ffe3c632Sopenharmony_ci
6488ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6489ffe3c632Sopenharmony_ci        public void WriteTo(pb::CodedOutputStream output) {
6490ffe3c632Sopenharmony_ci        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
6491ffe3c632Sopenharmony_ci          output.WriteRawMessage(this);
6492ffe3c632Sopenharmony_ci        #else
6493ffe3c632Sopenharmony_ci          if (HasA) {
6494ffe3c632Sopenharmony_ci            output.WriteRawTag(8);
6495ffe3c632Sopenharmony_ci            output.WriteInt32(A);
6496ffe3c632Sopenharmony_ci          }
6497ffe3c632Sopenharmony_ci          if (_unknownFields != null) {
6498ffe3c632Sopenharmony_ci            _unknownFields.WriteTo(output);
6499ffe3c632Sopenharmony_ci          }
6500ffe3c632Sopenharmony_ci        #endif
6501ffe3c632Sopenharmony_ci        }
6502ffe3c632Sopenharmony_ci
6503ffe3c632Sopenharmony_ci        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
6504ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6505ffe3c632Sopenharmony_ci        void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
6506ffe3c632Sopenharmony_ci          if (HasA) {
6507ffe3c632Sopenharmony_ci            output.WriteRawTag(8);
6508ffe3c632Sopenharmony_ci            output.WriteInt32(A);
6509ffe3c632Sopenharmony_ci          }
6510ffe3c632Sopenharmony_ci          if (_unknownFields != null) {
6511ffe3c632Sopenharmony_ci            _unknownFields.WriteTo(ref output);
6512ffe3c632Sopenharmony_ci          }
6513ffe3c632Sopenharmony_ci        }
6514ffe3c632Sopenharmony_ci        #endif
6515ffe3c632Sopenharmony_ci
6516ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6517ffe3c632Sopenharmony_ci        public int CalculateSize() {
6518ffe3c632Sopenharmony_ci          int size = 0;
6519ffe3c632Sopenharmony_ci          if (HasA) {
6520ffe3c632Sopenharmony_ci            size += 1 + pb::CodedOutputStream.ComputeInt32Size(A);
6521ffe3c632Sopenharmony_ci          }
6522ffe3c632Sopenharmony_ci          if (_unknownFields != null) {
6523ffe3c632Sopenharmony_ci            size += _unknownFields.CalculateSize();
6524ffe3c632Sopenharmony_ci          }
6525ffe3c632Sopenharmony_ci          return size;
6526ffe3c632Sopenharmony_ci        }
6527ffe3c632Sopenharmony_ci
6528ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6529ffe3c632Sopenharmony_ci        public void MergeFrom(OptionalGroup other) {
6530ffe3c632Sopenharmony_ci          if (other == null) {
6531ffe3c632Sopenharmony_ci            return;
6532ffe3c632Sopenharmony_ci          }
6533ffe3c632Sopenharmony_ci          if (other.HasA) {
6534ffe3c632Sopenharmony_ci            A = other.A;
6535ffe3c632Sopenharmony_ci          }
6536ffe3c632Sopenharmony_ci          _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
6537ffe3c632Sopenharmony_ci        }
6538ffe3c632Sopenharmony_ci
6539ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6540ffe3c632Sopenharmony_ci        public void MergeFrom(pb::CodedInputStream input) {
6541ffe3c632Sopenharmony_ci        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
6542ffe3c632Sopenharmony_ci          input.ReadRawMessage(this);
6543ffe3c632Sopenharmony_ci        #else
6544ffe3c632Sopenharmony_ci          uint tag;
6545ffe3c632Sopenharmony_ci          while ((tag = input.ReadTag()) != 0) {
6546ffe3c632Sopenharmony_ci            switch(tag) {
6547ffe3c632Sopenharmony_ci              case 8036:
6548ffe3c632Sopenharmony_ci                return;
6549ffe3c632Sopenharmony_ci              default:
6550ffe3c632Sopenharmony_ci                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
6551ffe3c632Sopenharmony_ci                break;
6552ffe3c632Sopenharmony_ci              case 8: {
6553ffe3c632Sopenharmony_ci                A = input.ReadInt32();
6554ffe3c632Sopenharmony_ci                break;
6555ffe3c632Sopenharmony_ci              }
6556ffe3c632Sopenharmony_ci            }
6557ffe3c632Sopenharmony_ci          }
6558ffe3c632Sopenharmony_ci        #endif
6559ffe3c632Sopenharmony_ci        }
6560ffe3c632Sopenharmony_ci
6561ffe3c632Sopenharmony_ci        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
6562ffe3c632Sopenharmony_ci        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6563ffe3c632Sopenharmony_ci        void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
6564ffe3c632Sopenharmony_ci          uint tag;
6565ffe3c632Sopenharmony_ci          while ((tag = input.ReadTag()) != 0) {
6566ffe3c632Sopenharmony_ci            switch(tag) {
6567ffe3c632Sopenharmony_ci              case 8036:
6568ffe3c632Sopenharmony_ci                return;
6569ffe3c632Sopenharmony_ci              default:
6570ffe3c632Sopenharmony_ci                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
6571ffe3c632Sopenharmony_ci                break;
6572ffe3c632Sopenharmony_ci              case 8: {
6573ffe3c632Sopenharmony_ci                A = input.ReadInt32();
6574ffe3c632Sopenharmony_ci                break;
6575ffe3c632Sopenharmony_ci              }
6576ffe3c632Sopenharmony_ci            }
6577ffe3c632Sopenharmony_ci          }
6578ffe3c632Sopenharmony_ci        }
6579ffe3c632Sopenharmony_ci        #endif
6580ffe3c632Sopenharmony_ci
6581ffe3c632Sopenharmony_ci      }
6582ffe3c632Sopenharmony_ci
6583ffe3c632Sopenharmony_ci    }
6584ffe3c632Sopenharmony_ci    #endregion
6585ffe3c632Sopenharmony_ci
6586ffe3c632Sopenharmony_ci  }
6587ffe3c632Sopenharmony_ci
6588ffe3c632Sopenharmony_ci  #endregion
6589ffe3c632Sopenharmony_ci
6590ffe3c632Sopenharmony_ci}
6591ffe3c632Sopenharmony_ci
6592ffe3c632Sopenharmony_ci#endregion Designer generated code
6593