1 // <auto-generated> 2 // Generated by the protocol buffer compiler. DO NOT EDIT! 3 // source: google/protobuf/test_messages_proto3.proto 4 // </auto-generated> 5 #pragma warning disable 1591, 0612, 3021 6 #region Designer generated code 7 8 using pb = global::Google.Protobuf; 9 using pbc = global::Google.Protobuf.Collections; 10 using pbr = global::Google.Protobuf.Reflection; 11 using scg = global::System.Collections.Generic; 12 namespace ProtobufTestMessages.Proto3 { 13 14 /// <summary>Holder for reflection information generated from google/protobuf/test_messages_proto3.proto</summary> 15 public static partial class TestMessagesProto3Reflection { 16 17 #region Descriptor 18 /// <summary>File descriptor for google/protobuf/test_messages_proto3.proto</summary> 19 public static pbr::FileDescriptor Descriptor { 20 get { return descriptor; } 21 } 22 private static pbr::FileDescriptor descriptor; 23 TestMessagesProto3Reflection()24 static TestMessagesProto3Reflection() { 25 byte[] descriptorData = global::System.Convert.FromBase64String( 26 string.Concat( 27 "Cipnb29nbGUvcHJvdG9idWYvdGVzdF9tZXNzYWdlc19wcm90bzMucHJvdG8S", 28 "HXByb3RvYnVmX3Rlc3RfbWVzc2FnZXMucHJvdG8zGhlnb29nbGUvcHJvdG9i", 29 "dWYvYW55LnByb3RvGh5nb29nbGUvcHJvdG9idWYvZHVyYXRpb24ucHJvdG8a", 30 "IGdvb2dsZS9wcm90b2J1Zi9maWVsZF9tYXNrLnByb3RvGhxnb29nbGUvcHJv", 31 "dG9idWYvc3RydWN0LnByb3RvGh9nb29nbGUvcHJvdG9idWYvdGltZXN0YW1w", 32 "LnByb3RvGh5nb29nbGUvcHJvdG9idWYvd3JhcHBlcnMucHJvdG8isUUKElRl", 33 "c3RBbGxUeXBlc1Byb3RvMxIWCg5vcHRpb25hbF9pbnQzMhgBIAEoBRIWCg5v", 34 "cHRpb25hbF9pbnQ2NBgCIAEoAxIXCg9vcHRpb25hbF91aW50MzIYAyABKA0S", 35 "FwoPb3B0aW9uYWxfdWludDY0GAQgASgEEhcKD29wdGlvbmFsX3NpbnQzMhgF", 36 "IAEoERIXCg9vcHRpb25hbF9zaW50NjQYBiABKBISGAoQb3B0aW9uYWxfZml4", 37 "ZWQzMhgHIAEoBxIYChBvcHRpb25hbF9maXhlZDY0GAggASgGEhkKEW9wdGlv", 38 "bmFsX3NmaXhlZDMyGAkgASgPEhkKEW9wdGlvbmFsX3NmaXhlZDY0GAogASgQ", 39 "EhYKDm9wdGlvbmFsX2Zsb2F0GAsgASgCEhcKD29wdGlvbmFsX2RvdWJsZRgM", 40 "IAEoARIVCg1vcHRpb25hbF9ib29sGA0gASgIEhcKD29wdGlvbmFsX3N0cmlu", 41 "ZxgOIAEoCRIWCg5vcHRpb25hbF9ieXRlcxgPIAEoDBJgChdvcHRpb25hbF9u", 42 "ZXN0ZWRfbWVzc2FnZRgSIAEoCzI/LnByb3RvYnVmX3Rlc3RfbWVzc2FnZXMu", 43 "cHJvdG8zLlRlc3RBbGxUeXBlc1Byb3RvMy5OZXN0ZWRNZXNzYWdlEk8KGG9w", 44 "dGlvbmFsX2ZvcmVpZ25fbWVzc2FnZRgTIAEoCzItLnByb3RvYnVmX3Rlc3Rf", 45 "bWVzc2FnZXMucHJvdG8zLkZvcmVpZ25NZXNzYWdlEloKFG9wdGlvbmFsX25l", 46 "c3RlZF9lbnVtGBUgASgOMjwucHJvdG9idWZfdGVzdF9tZXNzYWdlcy5wcm90", 47 "bzMuVGVzdEFsbFR5cGVzUHJvdG8zLk5lc3RlZEVudW0SSQoVb3B0aW9uYWxf", 48 "Zm9yZWlnbl9lbnVtGBYgASgOMioucHJvdG9idWZfdGVzdF9tZXNzYWdlcy5w", 49 "cm90bzMuRm9yZWlnbkVudW0SXAoVb3B0aW9uYWxfYWxpYXNlZF9lbnVtGBcg", 50 "ASgOMj0ucHJvdG9idWZfdGVzdF9tZXNzYWdlcy5wcm90bzMuVGVzdEFsbFR5", 51 "cGVzUHJvdG8zLkFsaWFzZWRFbnVtEiEKFW9wdGlvbmFsX3N0cmluZ19waWVj", 52 "ZRgYIAEoCUICCAISGQoNb3B0aW9uYWxfY29yZBgZIAEoCUICCAESTAoRcmVj", 53 "dXJzaXZlX21lc3NhZ2UYGyABKAsyMS5wcm90b2J1Zl90ZXN0X21lc3NhZ2Vz", 54 "LnByb3RvMy5UZXN0QWxsVHlwZXNQcm90bzMSFgoOcmVwZWF0ZWRfaW50MzIY", 55 "HyADKAUSFgoOcmVwZWF0ZWRfaW50NjQYICADKAMSFwoPcmVwZWF0ZWRfdWlu", 56 "dDMyGCEgAygNEhcKD3JlcGVhdGVkX3VpbnQ2NBgiIAMoBBIXCg9yZXBlYXRl", 57 "ZF9zaW50MzIYIyADKBESFwoPcmVwZWF0ZWRfc2ludDY0GCQgAygSEhgKEHJl", 58 "cGVhdGVkX2ZpeGVkMzIYJSADKAcSGAoQcmVwZWF0ZWRfZml4ZWQ2NBgmIAMo", 59 "BhIZChFyZXBlYXRlZF9zZml4ZWQzMhgnIAMoDxIZChFyZXBlYXRlZF9zZml4", 60 "ZWQ2NBgoIAMoEBIWCg5yZXBlYXRlZF9mbG9hdBgpIAMoAhIXCg9yZXBlYXRl", 61 "ZF9kb3VibGUYKiADKAESFQoNcmVwZWF0ZWRfYm9vbBgrIAMoCBIXCg9yZXBl", 62 "YXRlZF9zdHJpbmcYLCADKAkSFgoOcmVwZWF0ZWRfYnl0ZXMYLSADKAwSYAoX", 63 "cmVwZWF0ZWRfbmVzdGVkX21lc3NhZ2UYMCADKAsyPy5wcm90b2J1Zl90ZXN0", 64 "X21lc3NhZ2VzLnByb3RvMy5UZXN0QWxsVHlwZXNQcm90bzMuTmVzdGVkTWVz", 65 "c2FnZRJPChhyZXBlYXRlZF9mb3JlaWduX21lc3NhZ2UYMSADKAsyLS5wcm90", 66 "b2J1Zl90ZXN0X21lc3NhZ2VzLnByb3RvMy5Gb3JlaWduTWVzc2FnZRJaChRy", 67 "ZXBlYXRlZF9uZXN0ZWRfZW51bRgzIAMoDjI8LnByb3RvYnVmX3Rlc3RfbWVz", 68 "c2FnZXMucHJvdG8zLlRlc3RBbGxUeXBlc1Byb3RvMy5OZXN0ZWRFbnVtEkkK", 69 "FXJlcGVhdGVkX2ZvcmVpZ25fZW51bRg0IAMoDjIqLnByb3RvYnVmX3Rlc3Rf", 70 "bWVzc2FnZXMucHJvdG8zLkZvcmVpZ25FbnVtEiEKFXJlcGVhdGVkX3N0cmlu", 71 "Z19waWVjZRg2IAMoCUICCAISGQoNcmVwZWF0ZWRfY29yZBg3IAMoCUICCAES", 72 "GAoMcGFja2VkX2ludDMyGEsgAygFQgIQARIYCgxwYWNrZWRfaW50NjQYTCAD", 73 "KANCAhABEhkKDXBhY2tlZF91aW50MzIYTSADKA1CAhABEhkKDXBhY2tlZF91", 74 "aW50NjQYTiADKARCAhABEhkKDXBhY2tlZF9zaW50MzIYTyADKBFCAhABEhkK", 75 "DXBhY2tlZF9zaW50NjQYUCADKBJCAhABEhoKDnBhY2tlZF9maXhlZDMyGFEg", 76 "AygHQgIQARIaCg5wYWNrZWRfZml4ZWQ2NBhSIAMoBkICEAESGwoPcGFja2Vk", 77 "X3NmaXhlZDMyGFMgAygPQgIQARIbCg9wYWNrZWRfc2ZpeGVkNjQYVCADKBBC", 78 "AhABEhgKDHBhY2tlZF9mbG9hdBhVIAMoAkICEAESGQoNcGFja2VkX2RvdWJs", 79 "ZRhWIAMoAUICEAESFwoLcGFja2VkX2Jvb2wYVyADKAhCAhABElwKEnBhY2tl", 80 "ZF9uZXN0ZWRfZW51bRhYIAMoDjI8LnByb3RvYnVmX3Rlc3RfbWVzc2FnZXMu", 81 "cHJvdG8zLlRlc3RBbGxUeXBlc1Byb3RvMy5OZXN0ZWRFbnVtQgIQARIaCg51", 82 "bnBhY2tlZF9pbnQzMhhZIAMoBUICEAASGgoOdW5wYWNrZWRfaW50NjQYWiAD", 83 "KANCAhAAEhsKD3VucGFja2VkX3VpbnQzMhhbIAMoDUICEAASGwoPdW5wYWNr", 84 "ZWRfdWludDY0GFwgAygEQgIQABIbCg91bnBhY2tlZF9zaW50MzIYXSADKBFC", 85 "AhAAEhsKD3VucGFja2VkX3NpbnQ2NBheIAMoEkICEAASHAoQdW5wYWNrZWRf", 86 "Zml4ZWQzMhhfIAMoB0ICEAASHAoQdW5wYWNrZWRfZml4ZWQ2NBhgIAMoBkIC", 87 "EAASHQoRdW5wYWNrZWRfc2ZpeGVkMzIYYSADKA9CAhAAEh0KEXVucGFja2Vk", 88 "X3NmaXhlZDY0GGIgAygQQgIQABIaCg51bnBhY2tlZF9mbG9hdBhjIAMoAkIC", 89 "EAASGwoPdW5wYWNrZWRfZG91YmxlGGQgAygBQgIQABIZCg11bnBhY2tlZF9i", 90 "b29sGGUgAygIQgIQABJeChR1bnBhY2tlZF9uZXN0ZWRfZW51bRhmIAMoDjI8", 91 "LnByb3RvYnVmX3Rlc3RfbWVzc2FnZXMucHJvdG8zLlRlc3RBbGxUeXBlc1By", 92 "b3RvMy5OZXN0ZWRFbnVtQgIQABJdCg9tYXBfaW50MzJfaW50MzIYOCADKAsy", 93 "RC5wcm90b2J1Zl90ZXN0X21lc3NhZ2VzLnByb3RvMy5UZXN0QWxsVHlwZXNQ", 94 "cm90bzMuTWFwSW50MzJJbnQzMkVudHJ5El0KD21hcF9pbnQ2NF9pbnQ2NBg5", 95 "IAMoCzJELnByb3RvYnVmX3Rlc3RfbWVzc2FnZXMucHJvdG8zLlRlc3RBbGxU", 96 "eXBlc1Byb3RvMy5NYXBJbnQ2NEludDY0RW50cnkSYQoRbWFwX3VpbnQzMl91", 97 "aW50MzIYOiADKAsyRi5wcm90b2J1Zl90ZXN0X21lc3NhZ2VzLnByb3RvMy5U", 98 "ZXN0QWxsVHlwZXNQcm90bzMuTWFwVWludDMyVWludDMyRW50cnkSYQoRbWFw", 99 "X3VpbnQ2NF91aW50NjQYOyADKAsyRi5wcm90b2J1Zl90ZXN0X21lc3NhZ2Vz", 100 "LnByb3RvMy5UZXN0QWxsVHlwZXNQcm90bzMuTWFwVWludDY0VWludDY0RW50", 101 "cnkSYQoRbWFwX3NpbnQzMl9zaW50MzIYPCADKAsyRi5wcm90b2J1Zl90ZXN0", 102 "X21lc3NhZ2VzLnByb3RvMy5UZXN0QWxsVHlwZXNQcm90bzMuTWFwU2ludDMy", 103 "U2ludDMyRW50cnkSYQoRbWFwX3NpbnQ2NF9zaW50NjQYPSADKAsyRi5wcm90", 104 "b2J1Zl90ZXN0X21lc3NhZ2VzLnByb3RvMy5UZXN0QWxsVHlwZXNQcm90bzMu", 105 "TWFwU2ludDY0U2ludDY0RW50cnkSZQoTbWFwX2ZpeGVkMzJfZml4ZWQzMhg+", 106 "IAMoCzJILnByb3RvYnVmX3Rlc3RfbWVzc2FnZXMucHJvdG8zLlRlc3RBbGxU", 107 "eXBlc1Byb3RvMy5NYXBGaXhlZDMyRml4ZWQzMkVudHJ5EmUKE21hcF9maXhl", 108 "ZDY0X2ZpeGVkNjQYPyADKAsySC5wcm90b2J1Zl90ZXN0X21lc3NhZ2VzLnBy", 109 "b3RvMy5UZXN0QWxsVHlwZXNQcm90bzMuTWFwRml4ZWQ2NEZpeGVkNjRFbnRy", 110 "eRJpChVtYXBfc2ZpeGVkMzJfc2ZpeGVkMzIYQCADKAsySi5wcm90b2J1Zl90", 111 "ZXN0X21lc3NhZ2VzLnByb3RvMy5UZXN0QWxsVHlwZXNQcm90bzMuTWFwU2Zp", 112 "eGVkMzJTZml4ZWQzMkVudHJ5EmkKFW1hcF9zZml4ZWQ2NF9zZml4ZWQ2NBhB", 113 "IAMoCzJKLnByb3RvYnVmX3Rlc3RfbWVzc2FnZXMucHJvdG8zLlRlc3RBbGxU", 114 "eXBlc1Byb3RvMy5NYXBTZml4ZWQ2NFNmaXhlZDY0RW50cnkSXQoPbWFwX2lu", 115 "dDMyX2Zsb2F0GEIgAygLMkQucHJvdG9idWZfdGVzdF9tZXNzYWdlcy5wcm90", 116 "bzMuVGVzdEFsbFR5cGVzUHJvdG8zLk1hcEludDMyRmxvYXRFbnRyeRJfChBt", 117 "YXBfaW50MzJfZG91YmxlGEMgAygLMkUucHJvdG9idWZfdGVzdF9tZXNzYWdl", 118 "cy5wcm90bzMuVGVzdEFsbFR5cGVzUHJvdG8zLk1hcEludDMyRG91YmxlRW50", 119 "cnkSWQoNbWFwX2Jvb2xfYm9vbBhEIAMoCzJCLnByb3RvYnVmX3Rlc3RfbWVz", 120 "c2FnZXMucHJvdG8zLlRlc3RBbGxUeXBlc1Byb3RvMy5NYXBCb29sQm9vbEVu", 121 "dHJ5EmEKEW1hcF9zdHJpbmdfc3RyaW5nGEUgAygLMkYucHJvdG9idWZfdGVz", 122 "dF9tZXNzYWdlcy5wcm90bzMuVGVzdEFsbFR5cGVzUHJvdG8zLk1hcFN0cmlu", 123 "Z1N0cmluZ0VudHJ5El8KEG1hcF9zdHJpbmdfYnl0ZXMYRiADKAsyRS5wcm90", 124 "b2J1Zl90ZXN0X21lc3NhZ2VzLnByb3RvMy5UZXN0QWxsVHlwZXNQcm90bzMu", 125 "TWFwU3RyaW5nQnl0ZXNFbnRyeRJwChltYXBfc3RyaW5nX25lc3RlZF9tZXNz", 126 "YWdlGEcgAygLMk0ucHJvdG9idWZfdGVzdF9tZXNzYWdlcy5wcm90bzMuVGVz", 127 "dEFsbFR5cGVzUHJvdG8zLk1hcFN0cmluZ05lc3RlZE1lc3NhZ2VFbnRyeRJy", 128 "ChptYXBfc3RyaW5nX2ZvcmVpZ25fbWVzc2FnZRhIIAMoCzJOLnByb3RvYnVm", 129 "X3Rlc3RfbWVzc2FnZXMucHJvdG8zLlRlc3RBbGxUeXBlc1Byb3RvMy5NYXBT", 130 "dHJpbmdGb3JlaWduTWVzc2FnZUVudHJ5EmoKFm1hcF9zdHJpbmdfbmVzdGVk", 131 "X2VudW0YSSADKAsySi5wcm90b2J1Zl90ZXN0X21lc3NhZ2VzLnByb3RvMy5U", 132 "ZXN0QWxsVHlwZXNQcm90bzMuTWFwU3RyaW5nTmVzdGVkRW51bUVudHJ5EmwK", 133 "F21hcF9zdHJpbmdfZm9yZWlnbl9lbnVtGEogAygLMksucHJvdG9idWZfdGVz", 134 "dF9tZXNzYWdlcy5wcm90bzMuVGVzdEFsbFR5cGVzUHJvdG8zLk1hcFN0cmlu", 135 "Z0ZvcmVpZ25FbnVtRW50cnkSFgoMb25lb2ZfdWludDMyGG8gASgNSAASXwoU", 136 "b25lb2ZfbmVzdGVkX21lc3NhZ2UYcCABKAsyPy5wcm90b2J1Zl90ZXN0X21l", 137 "c3NhZ2VzLnByb3RvMy5UZXN0QWxsVHlwZXNQcm90bzMuTmVzdGVkTWVzc2Fn", 138 "ZUgAEhYKDG9uZW9mX3N0cmluZxhxIAEoCUgAEhUKC29uZW9mX2J5dGVzGHIg", 139 "ASgMSAASFAoKb25lb2ZfYm9vbBhzIAEoCEgAEhYKDG9uZW9mX3VpbnQ2NBh0", 140 "IAEoBEgAEhUKC29uZW9mX2Zsb2F0GHUgASgCSAASFgoMb25lb2ZfZG91Ymxl", 141 "GHYgASgBSAASUgoKb25lb2ZfZW51bRh3IAEoDjI8LnByb3RvYnVmX3Rlc3Rf", 142 "bWVzc2FnZXMucHJvdG8zLlRlc3RBbGxUeXBlc1Byb3RvMy5OZXN0ZWRFbnVt", 143 "SAASNgoQb25lb2ZfbnVsbF92YWx1ZRh4IAEoDjIaLmdvb2dsZS5wcm90b2J1", 144 "Zi5OdWxsVmFsdWVIABI6ChVvcHRpb25hbF9ib29sX3dyYXBwZXIYyQEgASgL", 145 "MhouZ29vZ2xlLnByb3RvYnVmLkJvb2xWYWx1ZRI8ChZvcHRpb25hbF9pbnQz", 146 "Ml93cmFwcGVyGMoBIAEoCzIbLmdvb2dsZS5wcm90b2J1Zi5JbnQzMlZhbHVl", 147 "EjwKFm9wdGlvbmFsX2ludDY0X3dyYXBwZXIYywEgASgLMhsuZ29vZ2xlLnBy", 148 "b3RvYnVmLkludDY0VmFsdWUSPgoXb3B0aW9uYWxfdWludDMyX3dyYXBwZXIY", 149 "zAEgASgLMhwuZ29vZ2xlLnByb3RvYnVmLlVJbnQzMlZhbHVlEj4KF29wdGlv", 150 "bmFsX3VpbnQ2NF93cmFwcGVyGM0BIAEoCzIcLmdvb2dsZS5wcm90b2J1Zi5V", 151 "SW50NjRWYWx1ZRI8ChZvcHRpb25hbF9mbG9hdF93cmFwcGVyGM4BIAEoCzIb", 152 "Lmdvb2dsZS5wcm90b2J1Zi5GbG9hdFZhbHVlEj4KF29wdGlvbmFsX2RvdWJs", 153 "ZV93cmFwcGVyGM8BIAEoCzIcLmdvb2dsZS5wcm90b2J1Zi5Eb3VibGVWYWx1", 154 "ZRI+ChdvcHRpb25hbF9zdHJpbmdfd3JhcHBlchjQASABKAsyHC5nb29nbGUu", 155 "cHJvdG9idWYuU3RyaW5nVmFsdWUSPAoWb3B0aW9uYWxfYnl0ZXNfd3JhcHBl", 156 "chjRASABKAsyGy5nb29nbGUucHJvdG9idWYuQnl0ZXNWYWx1ZRI6ChVyZXBl", 157 "YXRlZF9ib29sX3dyYXBwZXIY0wEgAygLMhouZ29vZ2xlLnByb3RvYnVmLkJv", 158 "b2xWYWx1ZRI8ChZyZXBlYXRlZF9pbnQzMl93cmFwcGVyGNQBIAMoCzIbLmdv", 159 "b2dsZS5wcm90b2J1Zi5JbnQzMlZhbHVlEjwKFnJlcGVhdGVkX2ludDY0X3dy", 160 "YXBwZXIY1QEgAygLMhsuZ29vZ2xlLnByb3RvYnVmLkludDY0VmFsdWUSPgoX", 161 "cmVwZWF0ZWRfdWludDMyX3dyYXBwZXIY1gEgAygLMhwuZ29vZ2xlLnByb3Rv", 162 "YnVmLlVJbnQzMlZhbHVlEj4KF3JlcGVhdGVkX3VpbnQ2NF93cmFwcGVyGNcB", 163 "IAMoCzIcLmdvb2dsZS5wcm90b2J1Zi5VSW50NjRWYWx1ZRI8ChZyZXBlYXRl", 164 "ZF9mbG9hdF93cmFwcGVyGNgBIAMoCzIbLmdvb2dsZS5wcm90b2J1Zi5GbG9h", 165 "dFZhbHVlEj4KF3JlcGVhdGVkX2RvdWJsZV93cmFwcGVyGNkBIAMoCzIcLmdv", 166 "b2dsZS5wcm90b2J1Zi5Eb3VibGVWYWx1ZRI+ChdyZXBlYXRlZF9zdHJpbmdf", 167 "d3JhcHBlchjaASADKAsyHC5nb29nbGUucHJvdG9idWYuU3RyaW5nVmFsdWUS", 168 "PAoWcmVwZWF0ZWRfYnl0ZXNfd3JhcHBlchjbASADKAsyGy5nb29nbGUucHJv", 169 "dG9idWYuQnl0ZXNWYWx1ZRI1ChFvcHRpb25hbF9kdXJhdGlvbhitAiABKAsy", 170 "GS5nb29nbGUucHJvdG9idWYuRHVyYXRpb24SNwoSb3B0aW9uYWxfdGltZXN0", 171 "YW1wGK4CIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASOAoTb3B0", 172 "aW9uYWxfZmllbGRfbWFzaxivAiABKAsyGi5nb29nbGUucHJvdG9idWYuRmll", 173 "bGRNYXNrEjEKD29wdGlvbmFsX3N0cnVjdBiwAiABKAsyFy5nb29nbGUucHJv", 174 "dG9idWYuU3RydWN0EisKDG9wdGlvbmFsX2FueRixAiABKAsyFC5nb29nbGUu", 175 "cHJvdG9idWYuQW55Ei8KDm9wdGlvbmFsX3ZhbHVlGLICIAEoCzIWLmdvb2ds", 176 "ZS5wcm90b2J1Zi5WYWx1ZRI4ChNvcHRpb25hbF9udWxsX3ZhbHVlGLMCIAEo", 177 "DjIaLmdvb2dsZS5wcm90b2J1Zi5OdWxsVmFsdWUSNQoRcmVwZWF0ZWRfZHVy", 178 "YXRpb24YtwIgAygLMhkuZ29vZ2xlLnByb3RvYnVmLkR1cmF0aW9uEjcKEnJl", 179 "cGVhdGVkX3RpbWVzdGFtcBi4AiADKAsyGi5nb29nbGUucHJvdG9idWYuVGlt", 180 "ZXN0YW1wEjcKEnJlcGVhdGVkX2ZpZWxkbWFzaxi5AiADKAsyGi5nb29nbGUu", 181 "cHJvdG9idWYuRmllbGRNYXNrEjEKD3JlcGVhdGVkX3N0cnVjdBjEAiADKAsy", 182 "Fy5nb29nbGUucHJvdG9idWYuU3RydWN0EisKDHJlcGVhdGVkX2FueRi7AiAD", 183 "KAsyFC5nb29nbGUucHJvdG9idWYuQW55Ei8KDnJlcGVhdGVkX3ZhbHVlGLwC", 184 "IAMoCzIWLmdvb2dsZS5wcm90b2J1Zi5WYWx1ZRI4ChNyZXBlYXRlZF9saXN0", 185 "X3ZhbHVlGL0CIAMoCzIaLmdvb2dsZS5wcm90b2J1Zi5MaXN0VmFsdWUSEwoK", 186 "ZmllbGRuYW1lMRiRAyABKAUSFAoLZmllbGRfbmFtZTIYkgMgASgFEhUKDF9m", 187 "aWVsZF9uYW1lMxiTAyABKAUSFgoNZmllbGRfX25hbWU0XxiUAyABKAUSFAoL", 188 "ZmllbGQwbmFtZTUYlQMgASgFEhYKDWZpZWxkXzBfbmFtZTYYlgMgASgFEhMK", 189 "CmZpZWxkTmFtZTcYlwMgASgFEhMKCkZpZWxkTmFtZTgYmAMgASgFEhQKC2Zp", 190 "ZWxkX05hbWU5GJkDIAEoBRIVCgxGaWVsZF9OYW1lMTAYmgMgASgFEhUKDEZJ", 191 "RUxEX05BTUUxMRibAyABKAUSFQoMRklFTERfbmFtZTEyGJwDIAEoBRIXCg5f", 192 "X2ZpZWxkX25hbWUxMxidAyABKAUSFwoOX19GaWVsZF9uYW1lMTQYngMgASgF", 193 "EhYKDWZpZWxkX19uYW1lMTUYnwMgASgFEhYKDWZpZWxkX19OYW1lMTYYoAMg", 194 "ASgFEhcKDmZpZWxkX25hbWUxN19fGKEDIAEoBRIXCg5GaWVsZF9uYW1lMThf", 195 "XxiiAyABKAUaYgoNTmVzdGVkTWVzc2FnZRIJCgFhGAEgASgFEkYKC2NvcmVj", 196 "dXJzaXZlGAIgASgLMjEucHJvdG9idWZfdGVzdF9tZXNzYWdlcy5wcm90bzMu", 197 "VGVzdEFsbFR5cGVzUHJvdG8zGjQKEk1hcEludDMySW50MzJFbnRyeRILCgNr", 198 "ZXkYASABKAUSDQoFdmFsdWUYAiABKAU6AjgBGjQKEk1hcEludDY0SW50NjRF", 199 "bnRyeRILCgNrZXkYASABKAMSDQoFdmFsdWUYAiABKAM6AjgBGjYKFE1hcFVp", 200 "bnQzMlVpbnQzMkVudHJ5EgsKA2tleRgBIAEoDRINCgV2YWx1ZRgCIAEoDToC", 201 "OAEaNgoUTWFwVWludDY0VWludDY0RW50cnkSCwoDa2V5GAEgASgEEg0KBXZh", 202 "bHVlGAIgASgEOgI4ARo2ChRNYXBTaW50MzJTaW50MzJFbnRyeRILCgNrZXkY", 203 "ASABKBESDQoFdmFsdWUYAiABKBE6AjgBGjYKFE1hcFNpbnQ2NFNpbnQ2NEVu", 204 "dHJ5EgsKA2tleRgBIAEoEhINCgV2YWx1ZRgCIAEoEjoCOAEaOAoWTWFwRml4", 205 "ZWQzMkZpeGVkMzJFbnRyeRILCgNrZXkYASABKAcSDQoFdmFsdWUYAiABKAc6", 206 "AjgBGjgKFk1hcEZpeGVkNjRGaXhlZDY0RW50cnkSCwoDa2V5GAEgASgGEg0K", 207 "BXZhbHVlGAIgASgGOgI4ARo6ChhNYXBTZml4ZWQzMlNmaXhlZDMyRW50cnkS", 208 "CwoDa2V5GAEgASgPEg0KBXZhbHVlGAIgASgPOgI4ARo6ChhNYXBTZml4ZWQ2", 209 "NFNmaXhlZDY0RW50cnkSCwoDa2V5GAEgASgQEg0KBXZhbHVlGAIgASgQOgI4", 210 "ARo0ChJNYXBJbnQzMkZsb2F0RW50cnkSCwoDa2V5GAEgASgFEg0KBXZhbHVl", 211 "GAIgASgCOgI4ARo1ChNNYXBJbnQzMkRvdWJsZUVudHJ5EgsKA2tleRgBIAEo", 212 "BRINCgV2YWx1ZRgCIAEoAToCOAEaMgoQTWFwQm9vbEJvb2xFbnRyeRILCgNr", 213 "ZXkYASABKAgSDQoFdmFsdWUYAiABKAg6AjgBGjYKFE1hcFN0cmluZ1N0cmlu", 214 "Z0VudHJ5EgsKA2tleRgBIAEoCRINCgV2YWx1ZRgCIAEoCToCOAEaNQoTTWFw", 215 "U3RyaW5nQnl0ZXNFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAw6", 216 "AjgBGn4KG01hcFN0cmluZ05lc3RlZE1lc3NhZ2VFbnRyeRILCgNrZXkYASAB", 217 "KAkSTgoFdmFsdWUYAiABKAsyPy5wcm90b2J1Zl90ZXN0X21lc3NhZ2VzLnBy", 218 "b3RvMy5UZXN0QWxsVHlwZXNQcm90bzMuTmVzdGVkTWVzc2FnZToCOAEabQoc", 219 "TWFwU3RyaW5nRm9yZWlnbk1lc3NhZ2VFbnRyeRILCgNrZXkYASABKAkSPAoF", 220 "dmFsdWUYAiABKAsyLS5wcm90b2J1Zl90ZXN0X21lc3NhZ2VzLnByb3RvMy5G", 221 "b3JlaWduTWVzc2FnZToCOAEaeAoYTWFwU3RyaW5nTmVzdGVkRW51bUVudHJ5", 222 "EgsKA2tleRgBIAEoCRJLCgV2YWx1ZRgCIAEoDjI8LnByb3RvYnVmX3Rlc3Rf", 223 "bWVzc2FnZXMucHJvdG8zLlRlc3RBbGxUeXBlc1Byb3RvMy5OZXN0ZWRFbnVt", 224 "OgI4ARpnChlNYXBTdHJpbmdGb3JlaWduRW51bUVudHJ5EgsKA2tleRgBIAEo", 225 "CRI5CgV2YWx1ZRgCIAEoDjIqLnByb3RvYnVmX3Rlc3RfbWVzc2FnZXMucHJv", 226 "dG8zLkZvcmVpZ25FbnVtOgI4ASI5CgpOZXN0ZWRFbnVtEgcKA0ZPTxAAEgcK", 227 "A0JBUhABEgcKA0JBWhACEhAKA05FRxD///////////8BIlkKC0FsaWFzZWRF", 228 "bnVtEg0KCUFMSUFTX0ZPTxAAEg0KCUFMSUFTX0JBUhABEg0KCUFMSUFTX0JB", 229 "WhACEgcKA1FVWBACEgcKA3F1eBACEgcKA2JBehACGgIQAUINCgtvbmVvZl9m", 230 "aWVsZEoGCPUDEP8DIhsKDkZvcmVpZ25NZXNzYWdlEgkKAWMYASABKAUqQAoL", 231 "Rm9yZWlnbkVudW0SDwoLRk9SRUlHTl9GT08QABIPCgtGT1JFSUdOX0JBUhAB", 232 "Eg8KC0ZPUkVJR05fQkFaEAJCOAooY29tLmdvb2dsZS5wcm90b2J1Zl90ZXN0", 233 "X21lc3NhZ2VzLnByb3RvM0gB+AEBogIGUHJvdG8zYgZwcm90bzM=")); 234 descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, 235 new pbr::FileDescriptor[] { global::Google.Protobuf.WellKnownTypes.AnyReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.DurationReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.FieldMaskReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.StructReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.WrappersReflection.Descriptor, }, 236 new pbr::GeneratedClrTypeInfo(new[] {typeof(global::ProtobufTestMessages.Proto3.ForeignEnum), }, null, new pbr::GeneratedClrTypeInfo[] { 237 new pbr::GeneratedClrTypeInfo(typeof(global::ProtobufTestMessages.Proto3.TestAllTypesProto3), global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Parser, new[]{ "OptionalInt32", "OptionalInt64", "OptionalUint32", "OptionalUint64", "OptionalSint32", "OptionalSint64", "OptionalFixed32", "OptionalFixed64", "OptionalSfixed32", "OptionalSfixed64", "OptionalFloat", "OptionalDouble", "OptionalBool", "OptionalString", "OptionalBytes", "OptionalNestedMessage", "OptionalForeignMessage", "OptionalNestedEnum", "OptionalForeignEnum", "OptionalAliasedEnum", "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", "OneofNullValue", "OptionalBoolWrapper", "OptionalInt32Wrapper", "OptionalInt64Wrapper", "OptionalUint32Wrapper", "OptionalUint64Wrapper", "OptionalFloatWrapper", "OptionalDoubleWrapper", "OptionalStringWrapper", "OptionalBytesWrapper", "RepeatedBoolWrapper", "RepeatedInt32Wrapper", "RepeatedInt64Wrapper", "RepeatedUint32Wrapper", "RepeatedUint64Wrapper", "RepeatedFloatWrapper", "RepeatedDoubleWrapper", "RepeatedStringWrapper", "RepeatedBytesWrapper", "OptionalDuration", "OptionalTimestamp", "OptionalFieldMask", "OptionalStruct", "OptionalAny", "OptionalValue", "OptionalNullValue", "RepeatedDuration", "RepeatedTimestamp", "RepeatedFieldmask", "RepeatedStruct", "RepeatedAny", "RepeatedValue", "RepeatedListValue", "Fieldname1", "FieldName2", "FieldName3", "FieldName4", "Field0Name5", "Field0Name6", "FieldName7", "FieldName8", "FieldName9", "FieldName10", "FIELDNAME11", "FIELDName12", "FieldName13", "FieldName14", "FieldName15", "FieldName16", "FieldName17", "FieldName18" }, new[]{ "OneofField" }, new[]{ typeof(global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedEnum), typeof(global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.AliasedEnum) }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedMessage), global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedMessage.Parser, new[]{ "A", "Corecursive" }, null, null, null, null), 238 null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, }), 239 new pbr::GeneratedClrTypeInfo(typeof(global::ProtobufTestMessages.Proto3.ForeignMessage), global::ProtobufTestMessages.Proto3.ForeignMessage.Parser, new[]{ "C" }, null, null, null, null) 240 })); 241 } 242 #endregion 243 244 } 245 #region Enums 246 public enum ForeignEnum { 247 [pbr::OriginalName("FOREIGN_FOO")] ForeignFoo = 0, 248 [pbr::OriginalName("FOREIGN_BAR")] ForeignBar = 1, 249 [pbr::OriginalName("FOREIGN_BAZ")] ForeignBaz = 2, 250 } 251 252 #endregion 253 254 #region Messages 255 /// <summary> 256 /// This proto includes every type of field in both singular and repeated 257 /// forms. 258 /// 259 /// Also, crucially, all messages and enums in this file are eventually 260 /// submessages of this message. So for example, a fuzz test of TestAllTypes 261 /// could trigger bugs that occur in any message type in this file. We verify 262 /// this stays true in a unit test. 263 /// </summary> 264 public sealed partial class TestAllTypesProto3 : pb::IMessage<TestAllTypesProto3> 265 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 266 , pb::IBufferMessage 267 #endif 268 { 269 private static readonly pb::MessageParser<TestAllTypesProto3> _parser = new pb::MessageParser<TestAllTypesProto3>(() => new TestAllTypesProto3()); 270 private pb::UnknownFieldSet _unknownFields; 271 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 272 public static pb::MessageParser<TestAllTypesProto3> Parser { get { return _parser; } } 273 274 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 275 public static pbr::MessageDescriptor Descriptor { 276 get { return global::ProtobufTestMessages.Proto3.TestMessagesProto3Reflection.Descriptor.MessageTypes[0]; } 277 } 278 279 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 280 pbr::MessageDescriptor pb::IMessage.Descriptor { 281 get { return Descriptor; } 282 } 283 284 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] TestAllTypesProto3()285 public TestAllTypesProto3() { 286 OnConstruction(); 287 } 288 OnConstruction()289 partial void OnConstruction(); 290 291 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] TestAllTypesProto3(TestAllTypesProto3 other)292 public TestAllTypesProto3(TestAllTypesProto3 other) : this() { 293 optionalInt32_ = other.optionalInt32_; 294 optionalInt64_ = other.optionalInt64_; 295 optionalUint32_ = other.optionalUint32_; 296 optionalUint64_ = other.optionalUint64_; 297 optionalSint32_ = other.optionalSint32_; 298 optionalSint64_ = other.optionalSint64_; 299 optionalFixed32_ = other.optionalFixed32_; 300 optionalFixed64_ = other.optionalFixed64_; 301 optionalSfixed32_ = other.optionalSfixed32_; 302 optionalSfixed64_ = other.optionalSfixed64_; 303 optionalFloat_ = other.optionalFloat_; 304 optionalDouble_ = other.optionalDouble_; 305 optionalBool_ = other.optionalBool_; 306 optionalString_ = other.optionalString_; 307 optionalBytes_ = other.optionalBytes_; 308 optionalNestedMessage_ = other.optionalNestedMessage_ != null ? other.optionalNestedMessage_.Clone() : null; 309 optionalForeignMessage_ = other.optionalForeignMessage_ != null ? other.optionalForeignMessage_.Clone() : null; 310 optionalNestedEnum_ = other.optionalNestedEnum_; 311 optionalForeignEnum_ = other.optionalForeignEnum_; 312 optionalAliasedEnum_ = other.optionalAliasedEnum_; 313 optionalStringPiece_ = other.optionalStringPiece_; 314 optionalCord_ = other.optionalCord_; 315 recursiveMessage_ = other.recursiveMessage_ != null ? other.recursiveMessage_.Clone() : null; 316 repeatedInt32_ = other.repeatedInt32_.Clone(); 317 repeatedInt64_ = other.repeatedInt64_.Clone(); 318 repeatedUint32_ = other.repeatedUint32_.Clone(); 319 repeatedUint64_ = other.repeatedUint64_.Clone(); 320 repeatedSint32_ = other.repeatedSint32_.Clone(); 321 repeatedSint64_ = other.repeatedSint64_.Clone(); 322 repeatedFixed32_ = other.repeatedFixed32_.Clone(); 323 repeatedFixed64_ = other.repeatedFixed64_.Clone(); 324 repeatedSfixed32_ = other.repeatedSfixed32_.Clone(); 325 repeatedSfixed64_ = other.repeatedSfixed64_.Clone(); 326 repeatedFloat_ = other.repeatedFloat_.Clone(); 327 repeatedDouble_ = other.repeatedDouble_.Clone(); 328 repeatedBool_ = other.repeatedBool_.Clone(); 329 repeatedString_ = other.repeatedString_.Clone(); 330 repeatedBytes_ = other.repeatedBytes_.Clone(); 331 repeatedNestedMessage_ = other.repeatedNestedMessage_.Clone(); 332 repeatedForeignMessage_ = other.repeatedForeignMessage_.Clone(); 333 repeatedNestedEnum_ = other.repeatedNestedEnum_.Clone(); 334 repeatedForeignEnum_ = other.repeatedForeignEnum_.Clone(); 335 repeatedStringPiece_ = other.repeatedStringPiece_.Clone(); 336 repeatedCord_ = other.repeatedCord_.Clone(); 337 packedInt32_ = other.packedInt32_.Clone(); 338 packedInt64_ = other.packedInt64_.Clone(); 339 packedUint32_ = other.packedUint32_.Clone(); 340 packedUint64_ = other.packedUint64_.Clone(); 341 packedSint32_ = other.packedSint32_.Clone(); 342 packedSint64_ = other.packedSint64_.Clone(); 343 packedFixed32_ = other.packedFixed32_.Clone(); 344 packedFixed64_ = other.packedFixed64_.Clone(); 345 packedSfixed32_ = other.packedSfixed32_.Clone(); 346 packedSfixed64_ = other.packedSfixed64_.Clone(); 347 packedFloat_ = other.packedFloat_.Clone(); 348 packedDouble_ = other.packedDouble_.Clone(); 349 packedBool_ = other.packedBool_.Clone(); 350 packedNestedEnum_ = other.packedNestedEnum_.Clone(); 351 unpackedInt32_ = other.unpackedInt32_.Clone(); 352 unpackedInt64_ = other.unpackedInt64_.Clone(); 353 unpackedUint32_ = other.unpackedUint32_.Clone(); 354 unpackedUint64_ = other.unpackedUint64_.Clone(); 355 unpackedSint32_ = other.unpackedSint32_.Clone(); 356 unpackedSint64_ = other.unpackedSint64_.Clone(); 357 unpackedFixed32_ = other.unpackedFixed32_.Clone(); 358 unpackedFixed64_ = other.unpackedFixed64_.Clone(); 359 unpackedSfixed32_ = other.unpackedSfixed32_.Clone(); 360 unpackedSfixed64_ = other.unpackedSfixed64_.Clone(); 361 unpackedFloat_ = other.unpackedFloat_.Clone(); 362 unpackedDouble_ = other.unpackedDouble_.Clone(); 363 unpackedBool_ = other.unpackedBool_.Clone(); 364 unpackedNestedEnum_ = other.unpackedNestedEnum_.Clone(); 365 mapInt32Int32_ = other.mapInt32Int32_.Clone(); 366 mapInt64Int64_ = other.mapInt64Int64_.Clone(); 367 mapUint32Uint32_ = other.mapUint32Uint32_.Clone(); 368 mapUint64Uint64_ = other.mapUint64Uint64_.Clone(); 369 mapSint32Sint32_ = other.mapSint32Sint32_.Clone(); 370 mapSint64Sint64_ = other.mapSint64Sint64_.Clone(); 371 mapFixed32Fixed32_ = other.mapFixed32Fixed32_.Clone(); 372 mapFixed64Fixed64_ = other.mapFixed64Fixed64_.Clone(); 373 mapSfixed32Sfixed32_ = other.mapSfixed32Sfixed32_.Clone(); 374 mapSfixed64Sfixed64_ = other.mapSfixed64Sfixed64_.Clone(); 375 mapInt32Float_ = other.mapInt32Float_.Clone(); 376 mapInt32Double_ = other.mapInt32Double_.Clone(); 377 mapBoolBool_ = other.mapBoolBool_.Clone(); 378 mapStringString_ = other.mapStringString_.Clone(); 379 mapStringBytes_ = other.mapStringBytes_.Clone(); 380 mapStringNestedMessage_ = other.mapStringNestedMessage_.Clone(); 381 mapStringForeignMessage_ = other.mapStringForeignMessage_.Clone(); 382 mapStringNestedEnum_ = other.mapStringNestedEnum_.Clone(); 383 mapStringForeignEnum_ = other.mapStringForeignEnum_.Clone(); 384 OptionalBoolWrapper = other.OptionalBoolWrapper; 385 OptionalInt32Wrapper = other.OptionalInt32Wrapper; 386 OptionalInt64Wrapper = other.OptionalInt64Wrapper; 387 OptionalUint32Wrapper = other.OptionalUint32Wrapper; 388 OptionalUint64Wrapper = other.OptionalUint64Wrapper; 389 OptionalFloatWrapper = other.OptionalFloatWrapper; 390 OptionalDoubleWrapper = other.OptionalDoubleWrapper; 391 OptionalStringWrapper = other.OptionalStringWrapper; 392 OptionalBytesWrapper = other.OptionalBytesWrapper; 393 repeatedBoolWrapper_ = other.repeatedBoolWrapper_.Clone(); 394 repeatedInt32Wrapper_ = other.repeatedInt32Wrapper_.Clone(); 395 repeatedInt64Wrapper_ = other.repeatedInt64Wrapper_.Clone(); 396 repeatedUint32Wrapper_ = other.repeatedUint32Wrapper_.Clone(); 397 repeatedUint64Wrapper_ = other.repeatedUint64Wrapper_.Clone(); 398 repeatedFloatWrapper_ = other.repeatedFloatWrapper_.Clone(); 399 repeatedDoubleWrapper_ = other.repeatedDoubleWrapper_.Clone(); 400 repeatedStringWrapper_ = other.repeatedStringWrapper_.Clone(); 401 repeatedBytesWrapper_ = other.repeatedBytesWrapper_.Clone(); 402 optionalDuration_ = other.optionalDuration_ != null ? other.optionalDuration_.Clone() : null; 403 optionalTimestamp_ = other.optionalTimestamp_ != null ? other.optionalTimestamp_.Clone() : null; 404 optionalFieldMask_ = other.optionalFieldMask_ != null ? other.optionalFieldMask_.Clone() : null; 405 optionalStruct_ = other.optionalStruct_ != null ? other.optionalStruct_.Clone() : null; 406 optionalAny_ = other.optionalAny_ != null ? other.optionalAny_.Clone() : null; 407 optionalValue_ = other.optionalValue_ != null ? other.optionalValue_.Clone() : null; 408 optionalNullValue_ = other.optionalNullValue_; 409 repeatedDuration_ = other.repeatedDuration_.Clone(); 410 repeatedTimestamp_ = other.repeatedTimestamp_.Clone(); 411 repeatedFieldmask_ = other.repeatedFieldmask_.Clone(); 412 repeatedStruct_ = other.repeatedStruct_.Clone(); 413 repeatedAny_ = other.repeatedAny_.Clone(); 414 repeatedValue_ = other.repeatedValue_.Clone(); 415 repeatedListValue_ = other.repeatedListValue_.Clone(); 416 fieldname1_ = other.fieldname1_; 417 fieldName2_ = other.fieldName2_; 418 FieldName3_ = other.FieldName3_; 419 fieldName4_ = other.fieldName4_; 420 field0Name5_ = other.field0Name5_; 421 field0Name6_ = other.field0Name6_; 422 fieldName7_ = other.fieldName7_; 423 fieldName8_ = other.fieldName8_; 424 fieldName9_ = other.fieldName9_; 425 fieldName10_ = other.fieldName10_; 426 fIELDNAME11_ = other.fIELDNAME11_; 427 fIELDName12_ = other.fIELDName12_; 428 FieldName13_ = other.FieldName13_; 429 FieldName14_ = other.FieldName14_; 430 fieldName15_ = other.fieldName15_; 431 fieldName16_ = other.fieldName16_; 432 fieldName17_ = other.fieldName17_; 433 fieldName18_ = other.fieldName18_; 434 switch (other.OneofFieldCase) { 435 case OneofFieldOneofCase.OneofUint32: 436 OneofUint32 = other.OneofUint32; 437 break; 438 case OneofFieldOneofCase.OneofNestedMessage: 439 OneofNestedMessage = other.OneofNestedMessage.Clone(); 440 break; 441 case OneofFieldOneofCase.OneofString: 442 OneofString = other.OneofString; 443 break; 444 case OneofFieldOneofCase.OneofBytes: 445 OneofBytes = other.OneofBytes; 446 break; 447 case OneofFieldOneofCase.OneofBool: 448 OneofBool = other.OneofBool; 449 break; 450 case OneofFieldOneofCase.OneofUint64: 451 OneofUint64 = other.OneofUint64; 452 break; 453 case OneofFieldOneofCase.OneofFloat: 454 OneofFloat = other.OneofFloat; 455 break; 456 case OneofFieldOneofCase.OneofDouble: 457 OneofDouble = other.OneofDouble; 458 break; 459 case OneofFieldOneofCase.OneofEnum: 460 OneofEnum = other.OneofEnum; 461 break; 462 case OneofFieldOneofCase.OneofNullValue: 463 OneofNullValue = other.OneofNullValue; 464 break; 465 } 466 467 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); 468 } 469 470 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Clone()471 public TestAllTypesProto3 Clone() { 472 return new TestAllTypesProto3(this); 473 } 474 475 /// <summary>Field number for the "optional_int32" field.</summary> 476 public const int OptionalInt32FieldNumber = 1; 477 private int optionalInt32_; 478 /// <summary> 479 /// Singular 480 /// </summary> 481 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 482 public int OptionalInt32 { 483 get { return optionalInt32_; } 484 set { 485 optionalInt32_ = value; 486 } 487 } 488 489 /// <summary>Field number for the "optional_int64" field.</summary> 490 public const int OptionalInt64FieldNumber = 2; 491 private long optionalInt64_; 492 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 493 public long OptionalInt64 { 494 get { return optionalInt64_; } 495 set { 496 optionalInt64_ = value; 497 } 498 } 499 500 /// <summary>Field number for the "optional_uint32" field.</summary> 501 public const int OptionalUint32FieldNumber = 3; 502 private uint optionalUint32_; 503 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 504 public uint OptionalUint32 { 505 get { return optionalUint32_; } 506 set { 507 optionalUint32_ = value; 508 } 509 } 510 511 /// <summary>Field number for the "optional_uint64" field.</summary> 512 public const int OptionalUint64FieldNumber = 4; 513 private ulong optionalUint64_; 514 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 515 public ulong OptionalUint64 { 516 get { return optionalUint64_; } 517 set { 518 optionalUint64_ = value; 519 } 520 } 521 522 /// <summary>Field number for the "optional_sint32" field.</summary> 523 public const int OptionalSint32FieldNumber = 5; 524 private int optionalSint32_; 525 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 526 public int OptionalSint32 { 527 get { return optionalSint32_; } 528 set { 529 optionalSint32_ = value; 530 } 531 } 532 533 /// <summary>Field number for the "optional_sint64" field.</summary> 534 public const int OptionalSint64FieldNumber = 6; 535 private long optionalSint64_; 536 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 537 public long OptionalSint64 { 538 get { return optionalSint64_; } 539 set { 540 optionalSint64_ = value; 541 } 542 } 543 544 /// <summary>Field number for the "optional_fixed32" field.</summary> 545 public const int OptionalFixed32FieldNumber = 7; 546 private uint optionalFixed32_; 547 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 548 public uint OptionalFixed32 { 549 get { return optionalFixed32_; } 550 set { 551 optionalFixed32_ = value; 552 } 553 } 554 555 /// <summary>Field number for the "optional_fixed64" field.</summary> 556 public const int OptionalFixed64FieldNumber = 8; 557 private ulong optionalFixed64_; 558 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 559 public ulong OptionalFixed64 { 560 get { return optionalFixed64_; } 561 set { 562 optionalFixed64_ = value; 563 } 564 } 565 566 /// <summary>Field number for the "optional_sfixed32" field.</summary> 567 public const int OptionalSfixed32FieldNumber = 9; 568 private int optionalSfixed32_; 569 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 570 public int OptionalSfixed32 { 571 get { return optionalSfixed32_; } 572 set { 573 optionalSfixed32_ = value; 574 } 575 } 576 577 /// <summary>Field number for the "optional_sfixed64" field.</summary> 578 public const int OptionalSfixed64FieldNumber = 10; 579 private long optionalSfixed64_; 580 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 581 public long OptionalSfixed64 { 582 get { return optionalSfixed64_; } 583 set { 584 optionalSfixed64_ = value; 585 } 586 } 587 588 /// <summary>Field number for the "optional_float" field.</summary> 589 public const int OptionalFloatFieldNumber = 11; 590 private float optionalFloat_; 591 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 592 public float OptionalFloat { 593 get { return optionalFloat_; } 594 set { 595 optionalFloat_ = value; 596 } 597 } 598 599 /// <summary>Field number for the "optional_double" field.</summary> 600 public const int OptionalDoubleFieldNumber = 12; 601 private double optionalDouble_; 602 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 603 public double OptionalDouble { 604 get { return optionalDouble_; } 605 set { 606 optionalDouble_ = value; 607 } 608 } 609 610 /// <summary>Field number for the "optional_bool" field.</summary> 611 public const int OptionalBoolFieldNumber = 13; 612 private bool optionalBool_; 613 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 614 public bool OptionalBool { 615 get { return optionalBool_; } 616 set { 617 optionalBool_ = value; 618 } 619 } 620 621 /// <summary>Field number for the "optional_string" field.</summary> 622 public const int OptionalStringFieldNumber = 14; 623 private string optionalString_ = ""; 624 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 625 public string OptionalString { 626 get { return optionalString_; } 627 set { 628 optionalString_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); 629 } 630 } 631 632 /// <summary>Field number for the "optional_bytes" field.</summary> 633 public const int OptionalBytesFieldNumber = 15; 634 private pb::ByteString optionalBytes_ = pb::ByteString.Empty; 635 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 636 public pb::ByteString OptionalBytes { 637 get { return optionalBytes_; } 638 set { 639 optionalBytes_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); 640 } 641 } 642 643 /// <summary>Field number for the "optional_nested_message" field.</summary> 644 public const int OptionalNestedMessageFieldNumber = 18; 645 private global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedMessage optionalNestedMessage_; 646 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 647 public global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedMessage OptionalNestedMessage { 648 get { return optionalNestedMessage_; } 649 set { 650 optionalNestedMessage_ = value; 651 } 652 } 653 654 /// <summary>Field number for the "optional_foreign_message" field.</summary> 655 public const int OptionalForeignMessageFieldNumber = 19; 656 private global::ProtobufTestMessages.Proto3.ForeignMessage optionalForeignMessage_; 657 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 658 public global::ProtobufTestMessages.Proto3.ForeignMessage OptionalForeignMessage { 659 get { return optionalForeignMessage_; } 660 set { 661 optionalForeignMessage_ = value; 662 } 663 } 664 665 /// <summary>Field number for the "optional_nested_enum" field.</summary> 666 public const int OptionalNestedEnumFieldNumber = 21; 667 private global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedEnum optionalNestedEnum_ = global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedEnum.Foo; 668 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 669 public global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedEnum OptionalNestedEnum { 670 get { return optionalNestedEnum_; } 671 set { 672 optionalNestedEnum_ = value; 673 } 674 } 675 676 /// <summary>Field number for the "optional_foreign_enum" field.</summary> 677 public const int OptionalForeignEnumFieldNumber = 22; 678 private global::ProtobufTestMessages.Proto3.ForeignEnum optionalForeignEnum_ = global::ProtobufTestMessages.Proto3.ForeignEnum.ForeignFoo; 679 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 680 public global::ProtobufTestMessages.Proto3.ForeignEnum OptionalForeignEnum { 681 get { return optionalForeignEnum_; } 682 set { 683 optionalForeignEnum_ = value; 684 } 685 } 686 687 /// <summary>Field number for the "optional_aliased_enum" field.</summary> 688 public const int OptionalAliasedEnumFieldNumber = 23; 689 private global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.AliasedEnum optionalAliasedEnum_ = global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.AliasedEnum.AliasFoo; 690 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 691 public global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.AliasedEnum OptionalAliasedEnum { 692 get { return optionalAliasedEnum_; } 693 set { 694 optionalAliasedEnum_ = value; 695 } 696 } 697 698 /// <summary>Field number for the "optional_string_piece" field.</summary> 699 public const int OptionalStringPieceFieldNumber = 24; 700 private string optionalStringPiece_ = ""; 701 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 702 public string OptionalStringPiece { 703 get { return optionalStringPiece_; } 704 set { 705 optionalStringPiece_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); 706 } 707 } 708 709 /// <summary>Field number for the "optional_cord" field.</summary> 710 public const int OptionalCordFieldNumber = 25; 711 private string optionalCord_ = ""; 712 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 713 public string OptionalCord { 714 get { return optionalCord_; } 715 set { 716 optionalCord_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); 717 } 718 } 719 720 /// <summary>Field number for the "recursive_message" field.</summary> 721 public const int RecursiveMessageFieldNumber = 27; 722 private global::ProtobufTestMessages.Proto3.TestAllTypesProto3 recursiveMessage_; 723 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 724 public global::ProtobufTestMessages.Proto3.TestAllTypesProto3 RecursiveMessage { 725 get { return recursiveMessage_; } 726 set { 727 recursiveMessage_ = value; 728 } 729 } 730 731 /// <summary>Field number for the "repeated_int32" field.</summary> 732 public const int RepeatedInt32FieldNumber = 31; 733 private static readonly pb::FieldCodec<int> _repeated_repeatedInt32_codec 734 = pb::FieldCodec.ForInt32(250); 735 private readonly pbc::RepeatedField<int> repeatedInt32_ = new pbc::RepeatedField<int>(); 736 /// <summary> 737 /// Repeated 738 /// </summary> 739 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 740 public pbc::RepeatedField<int> RepeatedInt32 { 741 get { return repeatedInt32_; } 742 } 743 744 /// <summary>Field number for the "repeated_int64" field.</summary> 745 public const int RepeatedInt64FieldNumber = 32; 746 private static readonly pb::FieldCodec<long> _repeated_repeatedInt64_codec 747 = pb::FieldCodec.ForInt64(258); 748 private readonly pbc::RepeatedField<long> repeatedInt64_ = new pbc::RepeatedField<long>(); 749 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 750 public pbc::RepeatedField<long> RepeatedInt64 { 751 get { return repeatedInt64_; } 752 } 753 754 /// <summary>Field number for the "repeated_uint32" field.</summary> 755 public const int RepeatedUint32FieldNumber = 33; 756 private static readonly pb::FieldCodec<uint> _repeated_repeatedUint32_codec 757 = pb::FieldCodec.ForUInt32(266); 758 private readonly pbc::RepeatedField<uint> repeatedUint32_ = new pbc::RepeatedField<uint>(); 759 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 760 public pbc::RepeatedField<uint> RepeatedUint32 { 761 get { return repeatedUint32_; } 762 } 763 764 /// <summary>Field number for the "repeated_uint64" field.</summary> 765 public const int RepeatedUint64FieldNumber = 34; 766 private static readonly pb::FieldCodec<ulong> _repeated_repeatedUint64_codec 767 = pb::FieldCodec.ForUInt64(274); 768 private readonly pbc::RepeatedField<ulong> repeatedUint64_ = new pbc::RepeatedField<ulong>(); 769 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 770 public pbc::RepeatedField<ulong> RepeatedUint64 { 771 get { return repeatedUint64_; } 772 } 773 774 /// <summary>Field number for the "repeated_sint32" field.</summary> 775 public const int RepeatedSint32FieldNumber = 35; 776 private static readonly pb::FieldCodec<int> _repeated_repeatedSint32_codec 777 = pb::FieldCodec.ForSInt32(282); 778 private readonly pbc::RepeatedField<int> repeatedSint32_ = new pbc::RepeatedField<int>(); 779 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 780 public pbc::RepeatedField<int> RepeatedSint32 { 781 get { return repeatedSint32_; } 782 } 783 784 /// <summary>Field number for the "repeated_sint64" field.</summary> 785 public const int RepeatedSint64FieldNumber = 36; 786 private static readonly pb::FieldCodec<long> _repeated_repeatedSint64_codec 787 = pb::FieldCodec.ForSInt64(290); 788 private readonly pbc::RepeatedField<long> repeatedSint64_ = new pbc::RepeatedField<long>(); 789 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 790 public pbc::RepeatedField<long> RepeatedSint64 { 791 get { return repeatedSint64_; } 792 } 793 794 /// <summary>Field number for the "repeated_fixed32" field.</summary> 795 public const int RepeatedFixed32FieldNumber = 37; 796 private static readonly pb::FieldCodec<uint> _repeated_repeatedFixed32_codec 797 = pb::FieldCodec.ForFixed32(298); 798 private readonly pbc::RepeatedField<uint> repeatedFixed32_ = new pbc::RepeatedField<uint>(); 799 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 800 public pbc::RepeatedField<uint> RepeatedFixed32 { 801 get { return repeatedFixed32_; } 802 } 803 804 /// <summary>Field number for the "repeated_fixed64" field.</summary> 805 public const int RepeatedFixed64FieldNumber = 38; 806 private static readonly pb::FieldCodec<ulong> _repeated_repeatedFixed64_codec 807 = pb::FieldCodec.ForFixed64(306); 808 private readonly pbc::RepeatedField<ulong> repeatedFixed64_ = new pbc::RepeatedField<ulong>(); 809 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 810 public pbc::RepeatedField<ulong> RepeatedFixed64 { 811 get { return repeatedFixed64_; } 812 } 813 814 /// <summary>Field number for the "repeated_sfixed32" field.</summary> 815 public const int RepeatedSfixed32FieldNumber = 39; 816 private static readonly pb::FieldCodec<int> _repeated_repeatedSfixed32_codec 817 = pb::FieldCodec.ForSFixed32(314); 818 private readonly pbc::RepeatedField<int> repeatedSfixed32_ = new pbc::RepeatedField<int>(); 819 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 820 public pbc::RepeatedField<int> RepeatedSfixed32 { 821 get { return repeatedSfixed32_; } 822 } 823 824 /// <summary>Field number for the "repeated_sfixed64" field.</summary> 825 public const int RepeatedSfixed64FieldNumber = 40; 826 private static readonly pb::FieldCodec<long> _repeated_repeatedSfixed64_codec 827 = pb::FieldCodec.ForSFixed64(322); 828 private readonly pbc::RepeatedField<long> repeatedSfixed64_ = new pbc::RepeatedField<long>(); 829 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 830 public pbc::RepeatedField<long> RepeatedSfixed64 { 831 get { return repeatedSfixed64_; } 832 } 833 834 /// <summary>Field number for the "repeated_float" field.</summary> 835 public const int RepeatedFloatFieldNumber = 41; 836 private static readonly pb::FieldCodec<float> _repeated_repeatedFloat_codec 837 = pb::FieldCodec.ForFloat(330); 838 private readonly pbc::RepeatedField<float> repeatedFloat_ = new pbc::RepeatedField<float>(); 839 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 840 public pbc::RepeatedField<float> RepeatedFloat { 841 get { return repeatedFloat_; } 842 } 843 844 /// <summary>Field number for the "repeated_double" field.</summary> 845 public const int RepeatedDoubleFieldNumber = 42; 846 private static readonly pb::FieldCodec<double> _repeated_repeatedDouble_codec 847 = pb::FieldCodec.ForDouble(338); 848 private readonly pbc::RepeatedField<double> repeatedDouble_ = new pbc::RepeatedField<double>(); 849 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 850 public pbc::RepeatedField<double> RepeatedDouble { 851 get { return repeatedDouble_; } 852 } 853 854 /// <summary>Field number for the "repeated_bool" field.</summary> 855 public const int RepeatedBoolFieldNumber = 43; 856 private static readonly pb::FieldCodec<bool> _repeated_repeatedBool_codec 857 = pb::FieldCodec.ForBool(346); 858 private readonly pbc::RepeatedField<bool> repeatedBool_ = new pbc::RepeatedField<bool>(); 859 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 860 public pbc::RepeatedField<bool> RepeatedBool { 861 get { return repeatedBool_; } 862 } 863 864 /// <summary>Field number for the "repeated_string" field.</summary> 865 public const int RepeatedStringFieldNumber = 44; 866 private static readonly pb::FieldCodec<string> _repeated_repeatedString_codec 867 = pb::FieldCodec.ForString(354); 868 private readonly pbc::RepeatedField<string> repeatedString_ = new pbc::RepeatedField<string>(); 869 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 870 public pbc::RepeatedField<string> RepeatedString { 871 get { return repeatedString_; } 872 } 873 874 /// <summary>Field number for the "repeated_bytes" field.</summary> 875 public const int RepeatedBytesFieldNumber = 45; 876 private static readonly pb::FieldCodec<pb::ByteString> _repeated_repeatedBytes_codec 877 = pb::FieldCodec.ForBytes(362); 878 private readonly pbc::RepeatedField<pb::ByteString> repeatedBytes_ = new pbc::RepeatedField<pb::ByteString>(); 879 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 880 public pbc::RepeatedField<pb::ByteString> RepeatedBytes { 881 get { return repeatedBytes_; } 882 } 883 884 /// <summary>Field number for the "repeated_nested_message" field.</summary> 885 public const int RepeatedNestedMessageFieldNumber = 48; 886 private static readonly pb::FieldCodec<global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedMessage> _repeated_repeatedNestedMessage_codec 887 = pb::FieldCodec.ForMessage(386, global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedMessage.Parser); 888 private readonly pbc::RepeatedField<global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedMessage> repeatedNestedMessage_ = new pbc::RepeatedField<global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedMessage>(); 889 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 890 public pbc::RepeatedField<global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedMessage> RepeatedNestedMessage { 891 get { return repeatedNestedMessage_; } 892 } 893 894 /// <summary>Field number for the "repeated_foreign_message" field.</summary> 895 public const int RepeatedForeignMessageFieldNumber = 49; 896 private static readonly pb::FieldCodec<global::ProtobufTestMessages.Proto3.ForeignMessage> _repeated_repeatedForeignMessage_codec 897 = pb::FieldCodec.ForMessage(394, global::ProtobufTestMessages.Proto3.ForeignMessage.Parser); 898 private readonly pbc::RepeatedField<global::ProtobufTestMessages.Proto3.ForeignMessage> repeatedForeignMessage_ = new pbc::RepeatedField<global::ProtobufTestMessages.Proto3.ForeignMessage>(); 899 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 900 public pbc::RepeatedField<global::ProtobufTestMessages.Proto3.ForeignMessage> RepeatedForeignMessage { 901 get { return repeatedForeignMessage_; } 902 } 903 904 /// <summary>Field number for the "repeated_nested_enum" field.</summary> 905 public const int RepeatedNestedEnumFieldNumber = 51; 906 private static readonly pb::FieldCodec<global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedEnum> _repeated_repeatedNestedEnum_codec 907 = pb::FieldCodec.ForEnum(410, x => (int) x, x => (global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedEnum) x); 908 private readonly pbc::RepeatedField<global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedEnum> repeatedNestedEnum_ = new pbc::RepeatedField<global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedEnum>(); 909 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 910 public pbc::RepeatedField<global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedEnum> RepeatedNestedEnum { 911 get { return repeatedNestedEnum_; } 912 } 913 914 /// <summary>Field number for the "repeated_foreign_enum" field.</summary> 915 public const int RepeatedForeignEnumFieldNumber = 52; 916 private static readonly pb::FieldCodec<global::ProtobufTestMessages.Proto3.ForeignEnum> _repeated_repeatedForeignEnum_codec 917 = pb::FieldCodec.ForEnum(418, x => (int) x, x => (global::ProtobufTestMessages.Proto3.ForeignEnum) x); 918 private readonly pbc::RepeatedField<global::ProtobufTestMessages.Proto3.ForeignEnum> repeatedForeignEnum_ = new pbc::RepeatedField<global::ProtobufTestMessages.Proto3.ForeignEnum>(); 919 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 920 public pbc::RepeatedField<global::ProtobufTestMessages.Proto3.ForeignEnum> RepeatedForeignEnum { 921 get { return repeatedForeignEnum_; } 922 } 923 924 /// <summary>Field number for the "repeated_string_piece" field.</summary> 925 public const int RepeatedStringPieceFieldNumber = 54; 926 private static readonly pb::FieldCodec<string> _repeated_repeatedStringPiece_codec 927 = pb::FieldCodec.ForString(434); 928 private readonly pbc::RepeatedField<string> repeatedStringPiece_ = new pbc::RepeatedField<string>(); 929 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 930 public pbc::RepeatedField<string> RepeatedStringPiece { 931 get { return repeatedStringPiece_; } 932 } 933 934 /// <summary>Field number for the "repeated_cord" field.</summary> 935 public const int RepeatedCordFieldNumber = 55; 936 private static readonly pb::FieldCodec<string> _repeated_repeatedCord_codec 937 = pb::FieldCodec.ForString(442); 938 private readonly pbc::RepeatedField<string> repeatedCord_ = new pbc::RepeatedField<string>(); 939 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 940 public pbc::RepeatedField<string> RepeatedCord { 941 get { return repeatedCord_; } 942 } 943 944 /// <summary>Field number for the "packed_int32" field.</summary> 945 public const int PackedInt32FieldNumber = 75; 946 private static readonly pb::FieldCodec<int> _repeated_packedInt32_codec 947 = pb::FieldCodec.ForInt32(602); 948 private readonly pbc::RepeatedField<int> packedInt32_ = new pbc::RepeatedField<int>(); 949 /// <summary> 950 /// Packed 951 /// </summary> 952 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 953 public pbc::RepeatedField<int> PackedInt32 { 954 get { return packedInt32_; } 955 } 956 957 /// <summary>Field number for the "packed_int64" field.</summary> 958 public const int PackedInt64FieldNumber = 76; 959 private static readonly pb::FieldCodec<long> _repeated_packedInt64_codec 960 = pb::FieldCodec.ForInt64(610); 961 private readonly pbc::RepeatedField<long> packedInt64_ = new pbc::RepeatedField<long>(); 962 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 963 public pbc::RepeatedField<long> PackedInt64 { 964 get { return packedInt64_; } 965 } 966 967 /// <summary>Field number for the "packed_uint32" field.</summary> 968 public const int PackedUint32FieldNumber = 77; 969 private static readonly pb::FieldCodec<uint> _repeated_packedUint32_codec 970 = pb::FieldCodec.ForUInt32(618); 971 private readonly pbc::RepeatedField<uint> packedUint32_ = new pbc::RepeatedField<uint>(); 972 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 973 public pbc::RepeatedField<uint> PackedUint32 { 974 get { return packedUint32_; } 975 } 976 977 /// <summary>Field number for the "packed_uint64" field.</summary> 978 public const int PackedUint64FieldNumber = 78; 979 private static readonly pb::FieldCodec<ulong> _repeated_packedUint64_codec 980 = pb::FieldCodec.ForUInt64(626); 981 private readonly pbc::RepeatedField<ulong> packedUint64_ = new pbc::RepeatedField<ulong>(); 982 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 983 public pbc::RepeatedField<ulong> PackedUint64 { 984 get { return packedUint64_; } 985 } 986 987 /// <summary>Field number for the "packed_sint32" field.</summary> 988 public const int PackedSint32FieldNumber = 79; 989 private static readonly pb::FieldCodec<int> _repeated_packedSint32_codec 990 = pb::FieldCodec.ForSInt32(634); 991 private readonly pbc::RepeatedField<int> packedSint32_ = new pbc::RepeatedField<int>(); 992 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 993 public pbc::RepeatedField<int> PackedSint32 { 994 get { return packedSint32_; } 995 } 996 997 /// <summary>Field number for the "packed_sint64" field.</summary> 998 public const int PackedSint64FieldNumber = 80; 999 private static readonly pb::FieldCodec<long> _repeated_packedSint64_codec 1000 = pb::FieldCodec.ForSInt64(642); 1001 private readonly pbc::RepeatedField<long> packedSint64_ = new pbc::RepeatedField<long>(); 1002 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1003 public pbc::RepeatedField<long> PackedSint64 { 1004 get { return packedSint64_; } 1005 } 1006 1007 /// <summary>Field number for the "packed_fixed32" field.</summary> 1008 public const int PackedFixed32FieldNumber = 81; 1009 private static readonly pb::FieldCodec<uint> _repeated_packedFixed32_codec 1010 = pb::FieldCodec.ForFixed32(650); 1011 private readonly pbc::RepeatedField<uint> packedFixed32_ = new pbc::RepeatedField<uint>(); 1012 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1013 public pbc::RepeatedField<uint> PackedFixed32 { 1014 get { return packedFixed32_; } 1015 } 1016 1017 /// <summary>Field number for the "packed_fixed64" field.</summary> 1018 public const int PackedFixed64FieldNumber = 82; 1019 private static readonly pb::FieldCodec<ulong> _repeated_packedFixed64_codec 1020 = pb::FieldCodec.ForFixed64(658); 1021 private readonly pbc::RepeatedField<ulong> packedFixed64_ = new pbc::RepeatedField<ulong>(); 1022 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1023 public pbc::RepeatedField<ulong> PackedFixed64 { 1024 get { return packedFixed64_; } 1025 } 1026 1027 /// <summary>Field number for the "packed_sfixed32" field.</summary> 1028 public const int PackedSfixed32FieldNumber = 83; 1029 private static readonly pb::FieldCodec<int> _repeated_packedSfixed32_codec 1030 = pb::FieldCodec.ForSFixed32(666); 1031 private readonly pbc::RepeatedField<int> packedSfixed32_ = new pbc::RepeatedField<int>(); 1032 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1033 public pbc::RepeatedField<int> PackedSfixed32 { 1034 get { return packedSfixed32_; } 1035 } 1036 1037 /// <summary>Field number for the "packed_sfixed64" field.</summary> 1038 public const int PackedSfixed64FieldNumber = 84; 1039 private static readonly pb::FieldCodec<long> _repeated_packedSfixed64_codec 1040 = pb::FieldCodec.ForSFixed64(674); 1041 private readonly pbc::RepeatedField<long> packedSfixed64_ = new pbc::RepeatedField<long>(); 1042 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1043 public pbc::RepeatedField<long> PackedSfixed64 { 1044 get { return packedSfixed64_; } 1045 } 1046 1047 /// <summary>Field number for the "packed_float" field.</summary> 1048 public const int PackedFloatFieldNumber = 85; 1049 private static readonly pb::FieldCodec<float> _repeated_packedFloat_codec 1050 = pb::FieldCodec.ForFloat(682); 1051 private readonly pbc::RepeatedField<float> packedFloat_ = new pbc::RepeatedField<float>(); 1052 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1053 public pbc::RepeatedField<float> PackedFloat { 1054 get { return packedFloat_; } 1055 } 1056 1057 /// <summary>Field number for the "packed_double" field.</summary> 1058 public const int PackedDoubleFieldNumber = 86; 1059 private static readonly pb::FieldCodec<double> _repeated_packedDouble_codec 1060 = pb::FieldCodec.ForDouble(690); 1061 private readonly pbc::RepeatedField<double> packedDouble_ = new pbc::RepeatedField<double>(); 1062 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1063 public pbc::RepeatedField<double> PackedDouble { 1064 get { return packedDouble_; } 1065 } 1066 1067 /// <summary>Field number for the "packed_bool" field.</summary> 1068 public const int PackedBoolFieldNumber = 87; 1069 private static readonly pb::FieldCodec<bool> _repeated_packedBool_codec 1070 = pb::FieldCodec.ForBool(698); 1071 private readonly pbc::RepeatedField<bool> packedBool_ = new pbc::RepeatedField<bool>(); 1072 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1073 public pbc::RepeatedField<bool> PackedBool { 1074 get { return packedBool_; } 1075 } 1076 1077 /// <summary>Field number for the "packed_nested_enum" field.</summary> 1078 public const int PackedNestedEnumFieldNumber = 88; 1079 private static readonly pb::FieldCodec<global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedEnum> _repeated_packedNestedEnum_codec 1080 = pb::FieldCodec.ForEnum(706, x => (int) x, x => (global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedEnum) x); 1081 private readonly pbc::RepeatedField<global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedEnum> packedNestedEnum_ = new pbc::RepeatedField<global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedEnum>(); 1082 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1083 public pbc::RepeatedField<global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedEnum> PackedNestedEnum { 1084 get { return packedNestedEnum_; } 1085 } 1086 1087 /// <summary>Field number for the "unpacked_int32" field.</summary> 1088 public const int UnpackedInt32FieldNumber = 89; 1089 private static readonly pb::FieldCodec<int> _repeated_unpackedInt32_codec 1090 = pb::FieldCodec.ForInt32(712); 1091 private readonly pbc::RepeatedField<int> unpackedInt32_ = new pbc::RepeatedField<int>(); 1092 /// <summary> 1093 /// Unpacked 1094 /// </summary> 1095 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1096 public pbc::RepeatedField<int> UnpackedInt32 { 1097 get { return unpackedInt32_; } 1098 } 1099 1100 /// <summary>Field number for the "unpacked_int64" field.</summary> 1101 public const int UnpackedInt64FieldNumber = 90; 1102 private static readonly pb::FieldCodec<long> _repeated_unpackedInt64_codec 1103 = pb::FieldCodec.ForInt64(720); 1104 private readonly pbc::RepeatedField<long> unpackedInt64_ = new pbc::RepeatedField<long>(); 1105 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1106 public pbc::RepeatedField<long> UnpackedInt64 { 1107 get { return unpackedInt64_; } 1108 } 1109 1110 /// <summary>Field number for the "unpacked_uint32" field.</summary> 1111 public const int UnpackedUint32FieldNumber = 91; 1112 private static readonly pb::FieldCodec<uint> _repeated_unpackedUint32_codec 1113 = pb::FieldCodec.ForUInt32(728); 1114 private readonly pbc::RepeatedField<uint> unpackedUint32_ = new pbc::RepeatedField<uint>(); 1115 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1116 public pbc::RepeatedField<uint> UnpackedUint32 { 1117 get { return unpackedUint32_; } 1118 } 1119 1120 /// <summary>Field number for the "unpacked_uint64" field.</summary> 1121 public const int UnpackedUint64FieldNumber = 92; 1122 private static readonly pb::FieldCodec<ulong> _repeated_unpackedUint64_codec 1123 = pb::FieldCodec.ForUInt64(736); 1124 private readonly pbc::RepeatedField<ulong> unpackedUint64_ = new pbc::RepeatedField<ulong>(); 1125 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1126 public pbc::RepeatedField<ulong> UnpackedUint64 { 1127 get { return unpackedUint64_; } 1128 } 1129 1130 /// <summary>Field number for the "unpacked_sint32" field.</summary> 1131 public const int UnpackedSint32FieldNumber = 93; 1132 private static readonly pb::FieldCodec<int> _repeated_unpackedSint32_codec 1133 = pb::FieldCodec.ForSInt32(744); 1134 private readonly pbc::RepeatedField<int> unpackedSint32_ = new pbc::RepeatedField<int>(); 1135 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1136 public pbc::RepeatedField<int> UnpackedSint32 { 1137 get { return unpackedSint32_; } 1138 } 1139 1140 /// <summary>Field number for the "unpacked_sint64" field.</summary> 1141 public const int UnpackedSint64FieldNumber = 94; 1142 private static readonly pb::FieldCodec<long> _repeated_unpackedSint64_codec 1143 = pb::FieldCodec.ForSInt64(752); 1144 private readonly pbc::RepeatedField<long> unpackedSint64_ = new pbc::RepeatedField<long>(); 1145 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1146 public pbc::RepeatedField<long> UnpackedSint64 { 1147 get { return unpackedSint64_; } 1148 } 1149 1150 /// <summary>Field number for the "unpacked_fixed32" field.</summary> 1151 public const int UnpackedFixed32FieldNumber = 95; 1152 private static readonly pb::FieldCodec<uint> _repeated_unpackedFixed32_codec 1153 = pb::FieldCodec.ForFixed32(765); 1154 private readonly pbc::RepeatedField<uint> unpackedFixed32_ = new pbc::RepeatedField<uint>(); 1155 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1156 public pbc::RepeatedField<uint> UnpackedFixed32 { 1157 get { return unpackedFixed32_; } 1158 } 1159 1160 /// <summary>Field number for the "unpacked_fixed64" field.</summary> 1161 public const int UnpackedFixed64FieldNumber = 96; 1162 private static readonly pb::FieldCodec<ulong> _repeated_unpackedFixed64_codec 1163 = pb::FieldCodec.ForFixed64(769); 1164 private readonly pbc::RepeatedField<ulong> unpackedFixed64_ = new pbc::RepeatedField<ulong>(); 1165 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1166 public pbc::RepeatedField<ulong> UnpackedFixed64 { 1167 get { return unpackedFixed64_; } 1168 } 1169 1170 /// <summary>Field number for the "unpacked_sfixed32" field.</summary> 1171 public const int UnpackedSfixed32FieldNumber = 97; 1172 private static readonly pb::FieldCodec<int> _repeated_unpackedSfixed32_codec 1173 = pb::FieldCodec.ForSFixed32(781); 1174 private readonly pbc::RepeatedField<int> unpackedSfixed32_ = new pbc::RepeatedField<int>(); 1175 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1176 public pbc::RepeatedField<int> UnpackedSfixed32 { 1177 get { return unpackedSfixed32_; } 1178 } 1179 1180 /// <summary>Field number for the "unpacked_sfixed64" field.</summary> 1181 public const int UnpackedSfixed64FieldNumber = 98; 1182 private static readonly pb::FieldCodec<long> _repeated_unpackedSfixed64_codec 1183 = pb::FieldCodec.ForSFixed64(785); 1184 private readonly pbc::RepeatedField<long> unpackedSfixed64_ = new pbc::RepeatedField<long>(); 1185 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1186 public pbc::RepeatedField<long> UnpackedSfixed64 { 1187 get { return unpackedSfixed64_; } 1188 } 1189 1190 /// <summary>Field number for the "unpacked_float" field.</summary> 1191 public const int UnpackedFloatFieldNumber = 99; 1192 private static readonly pb::FieldCodec<float> _repeated_unpackedFloat_codec 1193 = pb::FieldCodec.ForFloat(797); 1194 private readonly pbc::RepeatedField<float> unpackedFloat_ = new pbc::RepeatedField<float>(); 1195 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1196 public pbc::RepeatedField<float> UnpackedFloat { 1197 get { return unpackedFloat_; } 1198 } 1199 1200 /// <summary>Field number for the "unpacked_double" field.</summary> 1201 public const int UnpackedDoubleFieldNumber = 100; 1202 private static readonly pb::FieldCodec<double> _repeated_unpackedDouble_codec 1203 = pb::FieldCodec.ForDouble(801); 1204 private readonly pbc::RepeatedField<double> unpackedDouble_ = new pbc::RepeatedField<double>(); 1205 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1206 public pbc::RepeatedField<double> UnpackedDouble { 1207 get { return unpackedDouble_; } 1208 } 1209 1210 /// <summary>Field number for the "unpacked_bool" field.</summary> 1211 public const int UnpackedBoolFieldNumber = 101; 1212 private static readonly pb::FieldCodec<bool> _repeated_unpackedBool_codec 1213 = pb::FieldCodec.ForBool(808); 1214 private readonly pbc::RepeatedField<bool> unpackedBool_ = new pbc::RepeatedField<bool>(); 1215 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1216 public pbc::RepeatedField<bool> UnpackedBool { 1217 get { return unpackedBool_; } 1218 } 1219 1220 /// <summary>Field number for the "unpacked_nested_enum" field.</summary> 1221 public const int UnpackedNestedEnumFieldNumber = 102; 1222 private static readonly pb::FieldCodec<global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedEnum> _repeated_unpackedNestedEnum_codec 1223 = pb::FieldCodec.ForEnum(816, x => (int) x, x => (global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedEnum) x); 1224 private readonly pbc::RepeatedField<global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedEnum> unpackedNestedEnum_ = new pbc::RepeatedField<global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedEnum>(); 1225 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1226 public pbc::RepeatedField<global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedEnum> UnpackedNestedEnum { 1227 get { return unpackedNestedEnum_; } 1228 } 1229 1230 /// <summary>Field number for the "map_int32_int32" field.</summary> 1231 public const int MapInt32Int32FieldNumber = 56; 1232 private static readonly pbc::MapField<int, int>.Codec _map_mapInt32Int32_codec 1233 = new pbc::MapField<int, int>.Codec(pb::FieldCodec.ForInt32(8, 0), pb::FieldCodec.ForInt32(16, 0), 450); 1234 private readonly pbc::MapField<int, int> mapInt32Int32_ = new pbc::MapField<int, int>(); 1235 /// <summary> 1236 /// Map 1237 /// </summary> 1238 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1239 public pbc::MapField<int, int> MapInt32Int32 { 1240 get { return mapInt32Int32_; } 1241 } 1242 1243 /// <summary>Field number for the "map_int64_int64" field.</summary> 1244 public const int MapInt64Int64FieldNumber = 57; 1245 private static readonly pbc::MapField<long, long>.Codec _map_mapInt64Int64_codec 1246 = new pbc::MapField<long, long>.Codec(pb::FieldCodec.ForInt64(8, 0L), pb::FieldCodec.ForInt64(16, 0L), 458); 1247 private readonly pbc::MapField<long, long> mapInt64Int64_ = new pbc::MapField<long, long>(); 1248 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1249 public pbc::MapField<long, long> MapInt64Int64 { 1250 get { return mapInt64Int64_; } 1251 } 1252 1253 /// <summary>Field number for the "map_uint32_uint32" field.</summary> 1254 public const int MapUint32Uint32FieldNumber = 58; 1255 private static readonly pbc::MapField<uint, uint>.Codec _map_mapUint32Uint32_codec 1256 = new pbc::MapField<uint, uint>.Codec(pb::FieldCodec.ForUInt32(8, 0), pb::FieldCodec.ForUInt32(16, 0), 466); 1257 private readonly pbc::MapField<uint, uint> mapUint32Uint32_ = new pbc::MapField<uint, uint>(); 1258 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1259 public pbc::MapField<uint, uint> MapUint32Uint32 { 1260 get { return mapUint32Uint32_; } 1261 } 1262 1263 /// <summary>Field number for the "map_uint64_uint64" field.</summary> 1264 public const int MapUint64Uint64FieldNumber = 59; 1265 private static readonly pbc::MapField<ulong, ulong>.Codec _map_mapUint64Uint64_codec 1266 = new pbc::MapField<ulong, ulong>.Codec(pb::FieldCodec.ForUInt64(8, 0UL), pb::FieldCodec.ForUInt64(16, 0UL), 474); 1267 private readonly pbc::MapField<ulong, ulong> mapUint64Uint64_ = new pbc::MapField<ulong, ulong>(); 1268 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1269 public pbc::MapField<ulong, ulong> MapUint64Uint64 { 1270 get { return mapUint64Uint64_; } 1271 } 1272 1273 /// <summary>Field number for the "map_sint32_sint32" field.</summary> 1274 public const int MapSint32Sint32FieldNumber = 60; 1275 private static readonly pbc::MapField<int, int>.Codec _map_mapSint32Sint32_codec 1276 = new pbc::MapField<int, int>.Codec(pb::FieldCodec.ForSInt32(8, 0), pb::FieldCodec.ForSInt32(16, 0), 482); 1277 private readonly pbc::MapField<int, int> mapSint32Sint32_ = new pbc::MapField<int, int>(); 1278 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1279 public pbc::MapField<int, int> MapSint32Sint32 { 1280 get { return mapSint32Sint32_; } 1281 } 1282 1283 /// <summary>Field number for the "map_sint64_sint64" field.</summary> 1284 public const int MapSint64Sint64FieldNumber = 61; 1285 private static readonly pbc::MapField<long, long>.Codec _map_mapSint64Sint64_codec 1286 = new pbc::MapField<long, long>.Codec(pb::FieldCodec.ForSInt64(8, 0L), pb::FieldCodec.ForSInt64(16, 0L), 490); 1287 private readonly pbc::MapField<long, long> mapSint64Sint64_ = new pbc::MapField<long, long>(); 1288 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1289 public pbc::MapField<long, long> MapSint64Sint64 { 1290 get { return mapSint64Sint64_; } 1291 } 1292 1293 /// <summary>Field number for the "map_fixed32_fixed32" field.</summary> 1294 public const int MapFixed32Fixed32FieldNumber = 62; 1295 private static readonly pbc::MapField<uint, uint>.Codec _map_mapFixed32Fixed32_codec 1296 = new pbc::MapField<uint, uint>.Codec(pb::FieldCodec.ForFixed32(13, 0), pb::FieldCodec.ForFixed32(21, 0), 498); 1297 private readonly pbc::MapField<uint, uint> mapFixed32Fixed32_ = new pbc::MapField<uint, uint>(); 1298 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1299 public pbc::MapField<uint, uint> MapFixed32Fixed32 { 1300 get { return mapFixed32Fixed32_; } 1301 } 1302 1303 /// <summary>Field number for the "map_fixed64_fixed64" field.</summary> 1304 public const int MapFixed64Fixed64FieldNumber = 63; 1305 private static readonly pbc::MapField<ulong, ulong>.Codec _map_mapFixed64Fixed64_codec 1306 = new pbc::MapField<ulong, ulong>.Codec(pb::FieldCodec.ForFixed64(9, 0UL), pb::FieldCodec.ForFixed64(17, 0UL), 506); 1307 private readonly pbc::MapField<ulong, ulong> mapFixed64Fixed64_ = new pbc::MapField<ulong, ulong>(); 1308 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1309 public pbc::MapField<ulong, ulong> MapFixed64Fixed64 { 1310 get { return mapFixed64Fixed64_; } 1311 } 1312 1313 /// <summary>Field number for the "map_sfixed32_sfixed32" field.</summary> 1314 public const int MapSfixed32Sfixed32FieldNumber = 64; 1315 private static readonly pbc::MapField<int, int>.Codec _map_mapSfixed32Sfixed32_codec 1316 = new pbc::MapField<int, int>.Codec(pb::FieldCodec.ForSFixed32(13, 0), pb::FieldCodec.ForSFixed32(21, 0), 514); 1317 private readonly pbc::MapField<int, int> mapSfixed32Sfixed32_ = new pbc::MapField<int, int>(); 1318 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1319 public pbc::MapField<int, int> MapSfixed32Sfixed32 { 1320 get { return mapSfixed32Sfixed32_; } 1321 } 1322 1323 /// <summary>Field number for the "map_sfixed64_sfixed64" field.</summary> 1324 public const int MapSfixed64Sfixed64FieldNumber = 65; 1325 private static readonly pbc::MapField<long, long>.Codec _map_mapSfixed64Sfixed64_codec 1326 = new pbc::MapField<long, long>.Codec(pb::FieldCodec.ForSFixed64(9, 0L), pb::FieldCodec.ForSFixed64(17, 0L), 522); 1327 private readonly pbc::MapField<long, long> mapSfixed64Sfixed64_ = new pbc::MapField<long, long>(); 1328 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1329 public pbc::MapField<long, long> MapSfixed64Sfixed64 { 1330 get { return mapSfixed64Sfixed64_; } 1331 } 1332 1333 /// <summary>Field number for the "map_int32_float" field.</summary> 1334 public const int MapInt32FloatFieldNumber = 66; 1335 private static readonly pbc::MapField<int, float>.Codec _map_mapInt32Float_codec 1336 = new pbc::MapField<int, float>.Codec(pb::FieldCodec.ForInt32(8, 0), pb::FieldCodec.ForFloat(21, 0F), 530); 1337 private readonly pbc::MapField<int, float> mapInt32Float_ = new pbc::MapField<int, float>(); 1338 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1339 public pbc::MapField<int, float> MapInt32Float { 1340 get { return mapInt32Float_; } 1341 } 1342 1343 /// <summary>Field number for the "map_int32_double" field.</summary> 1344 public const int MapInt32DoubleFieldNumber = 67; 1345 private static readonly pbc::MapField<int, double>.Codec _map_mapInt32Double_codec 1346 = new pbc::MapField<int, double>.Codec(pb::FieldCodec.ForInt32(8, 0), pb::FieldCodec.ForDouble(17, 0D), 538); 1347 private readonly pbc::MapField<int, double> mapInt32Double_ = new pbc::MapField<int, double>(); 1348 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1349 public pbc::MapField<int, double> MapInt32Double { 1350 get { return mapInt32Double_; } 1351 } 1352 1353 /// <summary>Field number for the "map_bool_bool" field.</summary> 1354 public const int MapBoolBoolFieldNumber = 68; 1355 private static readonly pbc::MapField<bool, bool>.Codec _map_mapBoolBool_codec 1356 = new pbc::MapField<bool, bool>.Codec(pb::FieldCodec.ForBool(8, false), pb::FieldCodec.ForBool(16, false), 546); 1357 private readonly pbc::MapField<bool, bool> mapBoolBool_ = new pbc::MapField<bool, bool>(); 1358 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1359 public pbc::MapField<bool, bool> MapBoolBool { 1360 get { return mapBoolBool_; } 1361 } 1362 1363 /// <summary>Field number for the "map_string_string" field.</summary> 1364 public const int MapStringStringFieldNumber = 69; 1365 private static readonly pbc::MapField<string, string>.Codec _map_mapStringString_codec 1366 = new pbc::MapField<string, string>.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForString(18, ""), 554); 1367 private readonly pbc::MapField<string, string> mapStringString_ = new pbc::MapField<string, string>(); 1368 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1369 public pbc::MapField<string, string> MapStringString { 1370 get { return mapStringString_; } 1371 } 1372 1373 /// <summary>Field number for the "map_string_bytes" field.</summary> 1374 public const int MapStringBytesFieldNumber = 70; 1375 private static readonly pbc::MapField<string, pb::ByteString>.Codec _map_mapStringBytes_codec 1376 = new pbc::MapField<string, pb::ByteString>.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForBytes(18, pb::ByteString.Empty), 562); 1377 private readonly pbc::MapField<string, pb::ByteString> mapStringBytes_ = new pbc::MapField<string, pb::ByteString>(); 1378 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1379 public pbc::MapField<string, pb::ByteString> MapStringBytes { 1380 get { return mapStringBytes_; } 1381 } 1382 1383 /// <summary>Field number for the "map_string_nested_message" field.</summary> 1384 public const int MapStringNestedMessageFieldNumber = 71; 1385 private static readonly pbc::MapField<string, global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedMessage>.Codec _map_mapStringNestedMessage_codec 1386 = new pbc::MapField<string, global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedMessage>.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForMessage(18, global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedMessage.Parser), 570); 1387 private readonly pbc::MapField<string, global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedMessage> mapStringNestedMessage_ = new pbc::MapField<string, global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedMessage>(); 1388 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1389 public pbc::MapField<string, global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedMessage> MapStringNestedMessage { 1390 get { return mapStringNestedMessage_; } 1391 } 1392 1393 /// <summary>Field number for the "map_string_foreign_message" field.</summary> 1394 public const int MapStringForeignMessageFieldNumber = 72; 1395 private static readonly pbc::MapField<string, global::ProtobufTestMessages.Proto3.ForeignMessage>.Codec _map_mapStringForeignMessage_codec 1396 = new pbc::MapField<string, global::ProtobufTestMessages.Proto3.ForeignMessage>.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForMessage(18, global::ProtobufTestMessages.Proto3.ForeignMessage.Parser), 578); 1397 private readonly pbc::MapField<string, global::ProtobufTestMessages.Proto3.ForeignMessage> mapStringForeignMessage_ = new pbc::MapField<string, global::ProtobufTestMessages.Proto3.ForeignMessage>(); 1398 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1399 public pbc::MapField<string, global::ProtobufTestMessages.Proto3.ForeignMessage> MapStringForeignMessage { 1400 get { return mapStringForeignMessage_; } 1401 } 1402 1403 /// <summary>Field number for the "map_string_nested_enum" field.</summary> 1404 public const int MapStringNestedEnumFieldNumber = 73; 1405 private static readonly pbc::MapField<string, global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedEnum>.Codec _map_mapStringNestedEnum_codec 1406 = new pbc::MapField<string, global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedEnum>.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForEnum(16, x => (int) x, x => (global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedEnum) x, global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedEnum.Foo), 586); 1407 private readonly pbc::MapField<string, global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedEnum> mapStringNestedEnum_ = new pbc::MapField<string, global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedEnum>(); 1408 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1409 public pbc::MapField<string, global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedEnum> MapStringNestedEnum { 1410 get { return mapStringNestedEnum_; } 1411 } 1412 1413 /// <summary>Field number for the "map_string_foreign_enum" field.</summary> 1414 public const int MapStringForeignEnumFieldNumber = 74; 1415 private static readonly pbc::MapField<string, global::ProtobufTestMessages.Proto3.ForeignEnum>.Codec _map_mapStringForeignEnum_codec 1416 = new pbc::MapField<string, global::ProtobufTestMessages.Proto3.ForeignEnum>.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForEnum(16, x => (int) x, x => (global::ProtobufTestMessages.Proto3.ForeignEnum) x, global::ProtobufTestMessages.Proto3.ForeignEnum.ForeignFoo), 594); 1417 private readonly pbc::MapField<string, global::ProtobufTestMessages.Proto3.ForeignEnum> mapStringForeignEnum_ = new pbc::MapField<string, global::ProtobufTestMessages.Proto3.ForeignEnum>(); 1418 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1419 public pbc::MapField<string, global::ProtobufTestMessages.Proto3.ForeignEnum> MapStringForeignEnum { 1420 get { return mapStringForeignEnum_; } 1421 } 1422 1423 /// <summary>Field number for the "oneof_uint32" field.</summary> 1424 public const int OneofUint32FieldNumber = 111; 1425 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1426 public uint OneofUint32 { 1427 get { return oneofFieldCase_ == OneofFieldOneofCase.OneofUint32 ? (uint) oneofField_ : 0; } 1428 set { 1429 oneofField_ = value; 1430 oneofFieldCase_ = OneofFieldOneofCase.OneofUint32; 1431 } 1432 } 1433 1434 /// <summary>Field number for the "oneof_nested_message" field.</summary> 1435 public const int OneofNestedMessageFieldNumber = 112; 1436 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1437 public global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedMessage OneofNestedMessage { 1438 get { return oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage ? (global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedMessage) oneofField_ : null; } 1439 set { 1440 oneofField_ = value; 1441 oneofFieldCase_ = value == null ? OneofFieldOneofCase.None : OneofFieldOneofCase.OneofNestedMessage; 1442 } 1443 } 1444 1445 /// <summary>Field number for the "oneof_string" field.</summary> 1446 public const int OneofStringFieldNumber = 113; 1447 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1448 public string OneofString { 1449 get { return oneofFieldCase_ == OneofFieldOneofCase.OneofString ? (string) oneofField_ : ""; } 1450 set { 1451 oneofField_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); 1452 oneofFieldCase_ = OneofFieldOneofCase.OneofString; 1453 } 1454 } 1455 1456 /// <summary>Field number for the "oneof_bytes" field.</summary> 1457 public const int OneofBytesFieldNumber = 114; 1458 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1459 public pb::ByteString OneofBytes { 1460 get { return oneofFieldCase_ == OneofFieldOneofCase.OneofBytes ? (pb::ByteString) oneofField_ : pb::ByteString.Empty; } 1461 set { 1462 oneofField_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); 1463 oneofFieldCase_ = OneofFieldOneofCase.OneofBytes; 1464 } 1465 } 1466 1467 /// <summary>Field number for the "oneof_bool" field.</summary> 1468 public const int OneofBoolFieldNumber = 115; 1469 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1470 public bool OneofBool { 1471 get { return oneofFieldCase_ == OneofFieldOneofCase.OneofBool ? (bool) oneofField_ : false; } 1472 set { 1473 oneofField_ = value; 1474 oneofFieldCase_ = OneofFieldOneofCase.OneofBool; 1475 } 1476 } 1477 1478 /// <summary>Field number for the "oneof_uint64" field.</summary> 1479 public const int OneofUint64FieldNumber = 116; 1480 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1481 public ulong OneofUint64 { 1482 get { return oneofFieldCase_ == OneofFieldOneofCase.OneofUint64 ? (ulong) oneofField_ : 0UL; } 1483 set { 1484 oneofField_ = value; 1485 oneofFieldCase_ = OneofFieldOneofCase.OneofUint64; 1486 } 1487 } 1488 1489 /// <summary>Field number for the "oneof_float" field.</summary> 1490 public const int OneofFloatFieldNumber = 117; 1491 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1492 public float OneofFloat { 1493 get { return oneofFieldCase_ == OneofFieldOneofCase.OneofFloat ? (float) oneofField_ : 0F; } 1494 set { 1495 oneofField_ = value; 1496 oneofFieldCase_ = OneofFieldOneofCase.OneofFloat; 1497 } 1498 } 1499 1500 /// <summary>Field number for the "oneof_double" field.</summary> 1501 public const int OneofDoubleFieldNumber = 118; 1502 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1503 public double OneofDouble { 1504 get { return oneofFieldCase_ == OneofFieldOneofCase.OneofDouble ? (double) oneofField_ : 0D; } 1505 set { 1506 oneofField_ = value; 1507 oneofFieldCase_ = OneofFieldOneofCase.OneofDouble; 1508 } 1509 } 1510 1511 /// <summary>Field number for the "oneof_enum" field.</summary> 1512 public const int OneofEnumFieldNumber = 119; 1513 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1514 public global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedEnum OneofEnum { 1515 get { return oneofFieldCase_ == OneofFieldOneofCase.OneofEnum ? (global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedEnum) oneofField_ : global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedEnum.Foo; } 1516 set { 1517 oneofField_ = value; 1518 oneofFieldCase_ = OneofFieldOneofCase.OneofEnum; 1519 } 1520 } 1521 1522 /// <summary>Field number for the "oneof_null_value" field.</summary> 1523 public const int OneofNullValueFieldNumber = 120; 1524 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1525 public global::Google.Protobuf.WellKnownTypes.NullValue OneofNullValue { 1526 get { return oneofFieldCase_ == OneofFieldOneofCase.OneofNullValue ? (global::Google.Protobuf.WellKnownTypes.NullValue) oneofField_ : global::Google.Protobuf.WellKnownTypes.NullValue.NullValue; } 1527 set { 1528 oneofField_ = value; 1529 oneofFieldCase_ = OneofFieldOneofCase.OneofNullValue; 1530 } 1531 } 1532 1533 /// <summary>Field number for the "optional_bool_wrapper" field.</summary> 1534 public const int OptionalBoolWrapperFieldNumber = 201; 1535 private static readonly pb::FieldCodec<bool?> _single_optionalBoolWrapper_codec = pb::FieldCodec.ForStructWrapper<bool>(1610); 1536 private bool? optionalBoolWrapper_; 1537 /// <summary> 1538 /// Well-known types 1539 /// </summary> 1540 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1541 public bool? OptionalBoolWrapper { 1542 get { return optionalBoolWrapper_; } 1543 set { 1544 optionalBoolWrapper_ = value; 1545 } 1546 } 1547 1548 1549 /// <summary>Field number for the "optional_int32_wrapper" field.</summary> 1550 public const int OptionalInt32WrapperFieldNumber = 202; 1551 private static readonly pb::FieldCodec<int?> _single_optionalInt32Wrapper_codec = pb::FieldCodec.ForStructWrapper<int>(1618); 1552 private int? optionalInt32Wrapper_; 1553 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1554 public int? OptionalInt32Wrapper { 1555 get { return optionalInt32Wrapper_; } 1556 set { 1557 optionalInt32Wrapper_ = value; 1558 } 1559 } 1560 1561 1562 /// <summary>Field number for the "optional_int64_wrapper" field.</summary> 1563 public const int OptionalInt64WrapperFieldNumber = 203; 1564 private static readonly pb::FieldCodec<long?> _single_optionalInt64Wrapper_codec = pb::FieldCodec.ForStructWrapper<long>(1626); 1565 private long? optionalInt64Wrapper_; 1566 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1567 public long? OptionalInt64Wrapper { 1568 get { return optionalInt64Wrapper_; } 1569 set { 1570 optionalInt64Wrapper_ = value; 1571 } 1572 } 1573 1574 1575 /// <summary>Field number for the "optional_uint32_wrapper" field.</summary> 1576 public const int OptionalUint32WrapperFieldNumber = 204; 1577 private static readonly pb::FieldCodec<uint?> _single_optionalUint32Wrapper_codec = pb::FieldCodec.ForStructWrapper<uint>(1634); 1578 private uint? optionalUint32Wrapper_; 1579 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1580 public uint? OptionalUint32Wrapper { 1581 get { return optionalUint32Wrapper_; } 1582 set { 1583 optionalUint32Wrapper_ = value; 1584 } 1585 } 1586 1587 1588 /// <summary>Field number for the "optional_uint64_wrapper" field.</summary> 1589 public const int OptionalUint64WrapperFieldNumber = 205; 1590 private static readonly pb::FieldCodec<ulong?> _single_optionalUint64Wrapper_codec = pb::FieldCodec.ForStructWrapper<ulong>(1642); 1591 private ulong? optionalUint64Wrapper_; 1592 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1593 public ulong? OptionalUint64Wrapper { 1594 get { return optionalUint64Wrapper_; } 1595 set { 1596 optionalUint64Wrapper_ = value; 1597 } 1598 } 1599 1600 1601 /// <summary>Field number for the "optional_float_wrapper" field.</summary> 1602 public const int OptionalFloatWrapperFieldNumber = 206; 1603 private static readonly pb::FieldCodec<float?> _single_optionalFloatWrapper_codec = pb::FieldCodec.ForStructWrapper<float>(1650); 1604 private float? optionalFloatWrapper_; 1605 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1606 public float? OptionalFloatWrapper { 1607 get { return optionalFloatWrapper_; } 1608 set { 1609 optionalFloatWrapper_ = value; 1610 } 1611 } 1612 1613 1614 /// <summary>Field number for the "optional_double_wrapper" field.</summary> 1615 public const int OptionalDoubleWrapperFieldNumber = 207; 1616 private static readonly pb::FieldCodec<double?> _single_optionalDoubleWrapper_codec = pb::FieldCodec.ForStructWrapper<double>(1658); 1617 private double? optionalDoubleWrapper_; 1618 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1619 public double? OptionalDoubleWrapper { 1620 get { return optionalDoubleWrapper_; } 1621 set { 1622 optionalDoubleWrapper_ = value; 1623 } 1624 } 1625 1626 1627 /// <summary>Field number for the "optional_string_wrapper" field.</summary> 1628 public const int OptionalStringWrapperFieldNumber = 208; 1629 private static readonly pb::FieldCodec<string> _single_optionalStringWrapper_codec = pb::FieldCodec.ForClassWrapper<string>(1666); 1630 private string optionalStringWrapper_; 1631 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1632 public string OptionalStringWrapper { 1633 get { return optionalStringWrapper_; } 1634 set { 1635 optionalStringWrapper_ = value; 1636 } 1637 } 1638 1639 1640 /// <summary>Field number for the "optional_bytes_wrapper" field.</summary> 1641 public const int OptionalBytesWrapperFieldNumber = 209; 1642 private static readonly pb::FieldCodec<pb::ByteString> _single_optionalBytesWrapper_codec = pb::FieldCodec.ForClassWrapper<pb::ByteString>(1674); 1643 private pb::ByteString optionalBytesWrapper_; 1644 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1645 public pb::ByteString OptionalBytesWrapper { 1646 get { return optionalBytesWrapper_; } 1647 set { 1648 optionalBytesWrapper_ = value; 1649 } 1650 } 1651 1652 1653 /// <summary>Field number for the "repeated_bool_wrapper" field.</summary> 1654 public const int RepeatedBoolWrapperFieldNumber = 211; 1655 private static readonly pb::FieldCodec<bool?> _repeated_repeatedBoolWrapper_codec 1656 = pb::FieldCodec.ForStructWrapper<bool>(1690); 1657 private readonly pbc::RepeatedField<bool?> repeatedBoolWrapper_ = new pbc::RepeatedField<bool?>(); 1658 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1659 public pbc::RepeatedField<bool?> RepeatedBoolWrapper { 1660 get { return repeatedBoolWrapper_; } 1661 } 1662 1663 /// <summary>Field number for the "repeated_int32_wrapper" field.</summary> 1664 public const int RepeatedInt32WrapperFieldNumber = 212; 1665 private static readonly pb::FieldCodec<int?> _repeated_repeatedInt32Wrapper_codec 1666 = pb::FieldCodec.ForStructWrapper<int>(1698); 1667 private readonly pbc::RepeatedField<int?> repeatedInt32Wrapper_ = new pbc::RepeatedField<int?>(); 1668 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1669 public pbc::RepeatedField<int?> RepeatedInt32Wrapper { 1670 get { return repeatedInt32Wrapper_; } 1671 } 1672 1673 /// <summary>Field number for the "repeated_int64_wrapper" field.</summary> 1674 public const int RepeatedInt64WrapperFieldNumber = 213; 1675 private static readonly pb::FieldCodec<long?> _repeated_repeatedInt64Wrapper_codec 1676 = pb::FieldCodec.ForStructWrapper<long>(1706); 1677 private readonly pbc::RepeatedField<long?> repeatedInt64Wrapper_ = new pbc::RepeatedField<long?>(); 1678 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1679 public pbc::RepeatedField<long?> RepeatedInt64Wrapper { 1680 get { return repeatedInt64Wrapper_; } 1681 } 1682 1683 /// <summary>Field number for the "repeated_uint32_wrapper" field.</summary> 1684 public const int RepeatedUint32WrapperFieldNumber = 214; 1685 private static readonly pb::FieldCodec<uint?> _repeated_repeatedUint32Wrapper_codec 1686 = pb::FieldCodec.ForStructWrapper<uint>(1714); 1687 private readonly pbc::RepeatedField<uint?> repeatedUint32Wrapper_ = new pbc::RepeatedField<uint?>(); 1688 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1689 public pbc::RepeatedField<uint?> RepeatedUint32Wrapper { 1690 get { return repeatedUint32Wrapper_; } 1691 } 1692 1693 /// <summary>Field number for the "repeated_uint64_wrapper" field.</summary> 1694 public const int RepeatedUint64WrapperFieldNumber = 215; 1695 private static readonly pb::FieldCodec<ulong?> _repeated_repeatedUint64Wrapper_codec 1696 = pb::FieldCodec.ForStructWrapper<ulong>(1722); 1697 private readonly pbc::RepeatedField<ulong?> repeatedUint64Wrapper_ = new pbc::RepeatedField<ulong?>(); 1698 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1699 public pbc::RepeatedField<ulong?> RepeatedUint64Wrapper { 1700 get { return repeatedUint64Wrapper_; } 1701 } 1702 1703 /// <summary>Field number for the "repeated_float_wrapper" field.</summary> 1704 public const int RepeatedFloatWrapperFieldNumber = 216; 1705 private static readonly pb::FieldCodec<float?> _repeated_repeatedFloatWrapper_codec 1706 = pb::FieldCodec.ForStructWrapper<float>(1730); 1707 private readonly pbc::RepeatedField<float?> repeatedFloatWrapper_ = new pbc::RepeatedField<float?>(); 1708 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1709 public pbc::RepeatedField<float?> RepeatedFloatWrapper { 1710 get { return repeatedFloatWrapper_; } 1711 } 1712 1713 /// <summary>Field number for the "repeated_double_wrapper" field.</summary> 1714 public const int RepeatedDoubleWrapperFieldNumber = 217; 1715 private static readonly pb::FieldCodec<double?> _repeated_repeatedDoubleWrapper_codec 1716 = pb::FieldCodec.ForStructWrapper<double>(1738); 1717 private readonly pbc::RepeatedField<double?> repeatedDoubleWrapper_ = new pbc::RepeatedField<double?>(); 1718 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1719 public pbc::RepeatedField<double?> RepeatedDoubleWrapper { 1720 get { return repeatedDoubleWrapper_; } 1721 } 1722 1723 /// <summary>Field number for the "repeated_string_wrapper" field.</summary> 1724 public const int RepeatedStringWrapperFieldNumber = 218; 1725 private static readonly pb::FieldCodec<string> _repeated_repeatedStringWrapper_codec 1726 = pb::FieldCodec.ForClassWrapper<string>(1746); 1727 private readonly pbc::RepeatedField<string> repeatedStringWrapper_ = new pbc::RepeatedField<string>(); 1728 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1729 public pbc::RepeatedField<string> RepeatedStringWrapper { 1730 get { return repeatedStringWrapper_; } 1731 } 1732 1733 /// <summary>Field number for the "repeated_bytes_wrapper" field.</summary> 1734 public const int RepeatedBytesWrapperFieldNumber = 219; 1735 private static readonly pb::FieldCodec<pb::ByteString> _repeated_repeatedBytesWrapper_codec 1736 = pb::FieldCodec.ForClassWrapper<pb::ByteString>(1754); 1737 private readonly pbc::RepeatedField<pb::ByteString> repeatedBytesWrapper_ = new pbc::RepeatedField<pb::ByteString>(); 1738 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1739 public pbc::RepeatedField<pb::ByteString> RepeatedBytesWrapper { 1740 get { return repeatedBytesWrapper_; } 1741 } 1742 1743 /// <summary>Field number for the "optional_duration" field.</summary> 1744 public const int OptionalDurationFieldNumber = 301; 1745 private global::Google.Protobuf.WellKnownTypes.Duration optionalDuration_; 1746 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1747 public global::Google.Protobuf.WellKnownTypes.Duration OptionalDuration { 1748 get { return optionalDuration_; } 1749 set { 1750 optionalDuration_ = value; 1751 } 1752 } 1753 1754 /// <summary>Field number for the "optional_timestamp" field.</summary> 1755 public const int OptionalTimestampFieldNumber = 302; 1756 private global::Google.Protobuf.WellKnownTypes.Timestamp optionalTimestamp_; 1757 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1758 public global::Google.Protobuf.WellKnownTypes.Timestamp OptionalTimestamp { 1759 get { return optionalTimestamp_; } 1760 set { 1761 optionalTimestamp_ = value; 1762 } 1763 } 1764 1765 /// <summary>Field number for the "optional_field_mask" field.</summary> 1766 public const int OptionalFieldMaskFieldNumber = 303; 1767 private global::Google.Protobuf.WellKnownTypes.FieldMask optionalFieldMask_; 1768 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1769 public global::Google.Protobuf.WellKnownTypes.FieldMask OptionalFieldMask { 1770 get { return optionalFieldMask_; } 1771 set { 1772 optionalFieldMask_ = value; 1773 } 1774 } 1775 1776 /// <summary>Field number for the "optional_struct" field.</summary> 1777 public const int OptionalStructFieldNumber = 304; 1778 private global::Google.Protobuf.WellKnownTypes.Struct optionalStruct_; 1779 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1780 public global::Google.Protobuf.WellKnownTypes.Struct OptionalStruct { 1781 get { return optionalStruct_; } 1782 set { 1783 optionalStruct_ = value; 1784 } 1785 } 1786 1787 /// <summary>Field number for the "optional_any" field.</summary> 1788 public const int OptionalAnyFieldNumber = 305; 1789 private global::Google.Protobuf.WellKnownTypes.Any optionalAny_; 1790 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1791 public global::Google.Protobuf.WellKnownTypes.Any OptionalAny { 1792 get { return optionalAny_; } 1793 set { 1794 optionalAny_ = value; 1795 } 1796 } 1797 1798 /// <summary>Field number for the "optional_value" field.</summary> 1799 public const int OptionalValueFieldNumber = 306; 1800 private global::Google.Protobuf.WellKnownTypes.Value optionalValue_; 1801 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1802 public global::Google.Protobuf.WellKnownTypes.Value OptionalValue { 1803 get { return optionalValue_; } 1804 set { 1805 optionalValue_ = value; 1806 } 1807 } 1808 1809 /// <summary>Field number for the "optional_null_value" field.</summary> 1810 public const int OptionalNullValueFieldNumber = 307; 1811 private global::Google.Protobuf.WellKnownTypes.NullValue optionalNullValue_ = global::Google.Protobuf.WellKnownTypes.NullValue.NullValue; 1812 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1813 public global::Google.Protobuf.WellKnownTypes.NullValue OptionalNullValue { 1814 get { return optionalNullValue_; } 1815 set { 1816 optionalNullValue_ = value; 1817 } 1818 } 1819 1820 /// <summary>Field number for the "repeated_duration" field.</summary> 1821 public const int RepeatedDurationFieldNumber = 311; 1822 private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownTypes.Duration> _repeated_repeatedDuration_codec 1823 = pb::FieldCodec.ForMessage(2490, global::Google.Protobuf.WellKnownTypes.Duration.Parser); 1824 private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Duration> repeatedDuration_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Duration>(); 1825 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1826 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Duration> RepeatedDuration { 1827 get { return repeatedDuration_; } 1828 } 1829 1830 /// <summary>Field number for the "repeated_timestamp" field.</summary> 1831 public const int RepeatedTimestampFieldNumber = 312; 1832 private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownTypes.Timestamp> _repeated_repeatedTimestamp_codec 1833 = pb::FieldCodec.ForMessage(2498, global::Google.Protobuf.WellKnownTypes.Timestamp.Parser); 1834 private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Timestamp> repeatedTimestamp_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Timestamp>(); 1835 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1836 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Timestamp> RepeatedTimestamp { 1837 get { return repeatedTimestamp_; } 1838 } 1839 1840 /// <summary>Field number for the "repeated_fieldmask" field.</summary> 1841 public const int RepeatedFieldmaskFieldNumber = 313; 1842 private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownTypes.FieldMask> _repeated_repeatedFieldmask_codec 1843 = pb::FieldCodec.ForMessage(2506, global::Google.Protobuf.WellKnownTypes.FieldMask.Parser); 1844 private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.FieldMask> repeatedFieldmask_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.FieldMask>(); 1845 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1846 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.FieldMask> RepeatedFieldmask { 1847 get { return repeatedFieldmask_; } 1848 } 1849 1850 /// <summary>Field number for the "repeated_struct" field.</summary> 1851 public const int RepeatedStructFieldNumber = 324; 1852 private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownTypes.Struct> _repeated_repeatedStruct_codec 1853 = pb::FieldCodec.ForMessage(2594, global::Google.Protobuf.WellKnownTypes.Struct.Parser); 1854 private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Struct> repeatedStruct_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Struct>(); 1855 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1856 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Struct> RepeatedStruct { 1857 get { return repeatedStruct_; } 1858 } 1859 1860 /// <summary>Field number for the "repeated_any" field.</summary> 1861 public const int RepeatedAnyFieldNumber = 315; 1862 private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownTypes.Any> _repeated_repeatedAny_codec 1863 = pb::FieldCodec.ForMessage(2522, global::Google.Protobuf.WellKnownTypes.Any.Parser); 1864 private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Any> repeatedAny_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Any>(); 1865 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1866 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Any> RepeatedAny { 1867 get { return repeatedAny_; } 1868 } 1869 1870 /// <summary>Field number for the "repeated_value" field.</summary> 1871 public const int RepeatedValueFieldNumber = 316; 1872 private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownTypes.Value> _repeated_repeatedValue_codec 1873 = pb::FieldCodec.ForMessage(2530, global::Google.Protobuf.WellKnownTypes.Value.Parser); 1874 private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Value> repeatedValue_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Value>(); 1875 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1876 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Value> RepeatedValue { 1877 get { return repeatedValue_; } 1878 } 1879 1880 /// <summary>Field number for the "repeated_list_value" field.</summary> 1881 public const int RepeatedListValueFieldNumber = 317; 1882 private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownTypes.ListValue> _repeated_repeatedListValue_codec 1883 = pb::FieldCodec.ForMessage(2538, global::Google.Protobuf.WellKnownTypes.ListValue.Parser); 1884 private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.ListValue> repeatedListValue_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.ListValue>(); 1885 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1886 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.ListValue> RepeatedListValue { 1887 get { return repeatedListValue_; } 1888 } 1889 1890 /// <summary>Field number for the "fieldname1" field.</summary> 1891 public const int Fieldname1FieldNumber = 401; 1892 private int fieldname1_; 1893 /// <summary> 1894 /// Test field-name-to-JSON-name convention. 1895 /// (protobuf says names can be any valid C/C++ identifier.) 1896 /// </summary> 1897 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1898 public int Fieldname1 { 1899 get { return fieldname1_; } 1900 set { 1901 fieldname1_ = value; 1902 } 1903 } 1904 1905 /// <summary>Field number for the "field_name2" field.</summary> 1906 public const int FieldName2FieldNumber = 402; 1907 private int fieldName2_; 1908 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1909 public int FieldName2 { 1910 get { return fieldName2_; } 1911 set { 1912 fieldName2_ = value; 1913 } 1914 } 1915 1916 /// <summary>Field number for the "_field_name3" field.</summary> 1917 public const int FieldName3FieldNumber = 403; 1918 private int FieldName3_; 1919 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1920 public int FieldName3 { 1921 get { return FieldName3_; } 1922 set { 1923 FieldName3_ = value; 1924 } 1925 } 1926 1927 /// <summary>Field number for the "field__name4_" field.</summary> 1928 public const int FieldName4FieldNumber = 404; 1929 private int fieldName4_; 1930 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1931 public int FieldName4 { 1932 get { return fieldName4_; } 1933 set { 1934 fieldName4_ = value; 1935 } 1936 } 1937 1938 /// <summary>Field number for the "field0name5" field.</summary> 1939 public const int Field0Name5FieldNumber = 405; 1940 private int field0Name5_; 1941 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1942 public int Field0Name5 { 1943 get { return field0Name5_; } 1944 set { 1945 field0Name5_ = value; 1946 } 1947 } 1948 1949 /// <summary>Field number for the "field_0_name6" field.</summary> 1950 public const int Field0Name6FieldNumber = 406; 1951 private int field0Name6_; 1952 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1953 public int Field0Name6 { 1954 get { return field0Name6_; } 1955 set { 1956 field0Name6_ = value; 1957 } 1958 } 1959 1960 /// <summary>Field number for the "fieldName7" field.</summary> 1961 public const int FieldName7FieldNumber = 407; 1962 private int fieldName7_; 1963 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1964 public int FieldName7 { 1965 get { return fieldName7_; } 1966 set { 1967 fieldName7_ = value; 1968 } 1969 } 1970 1971 /// <summary>Field number for the "FieldName8" field.</summary> 1972 public const int FieldName8FieldNumber = 408; 1973 private int fieldName8_; 1974 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1975 public int FieldName8 { 1976 get { return fieldName8_; } 1977 set { 1978 fieldName8_ = value; 1979 } 1980 } 1981 1982 /// <summary>Field number for the "field_Name9" field.</summary> 1983 public const int FieldName9FieldNumber = 409; 1984 private int fieldName9_; 1985 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1986 public int FieldName9 { 1987 get { return fieldName9_; } 1988 set { 1989 fieldName9_ = value; 1990 } 1991 } 1992 1993 /// <summary>Field number for the "Field_Name10" field.</summary> 1994 public const int FieldName10FieldNumber = 410; 1995 private int fieldName10_; 1996 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1997 public int FieldName10 { 1998 get { return fieldName10_; } 1999 set { 2000 fieldName10_ = value; 2001 } 2002 } 2003 2004 /// <summary>Field number for the "FIELD_NAME11" field.</summary> 2005 public const int FIELDNAME11FieldNumber = 411; 2006 private int fIELDNAME11_; 2007 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 2008 public int FIELDNAME11 { 2009 get { return fIELDNAME11_; } 2010 set { 2011 fIELDNAME11_ = value; 2012 } 2013 } 2014 2015 /// <summary>Field number for the "FIELD_name12" field.</summary> 2016 public const int FIELDName12FieldNumber = 412; 2017 private int fIELDName12_; 2018 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 2019 public int FIELDName12 { 2020 get { return fIELDName12_; } 2021 set { 2022 fIELDName12_ = value; 2023 } 2024 } 2025 2026 /// <summary>Field number for the "__field_name13" field.</summary> 2027 public const int FieldName13FieldNumber = 413; 2028 private int FieldName13_; 2029 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 2030 public int FieldName13 { 2031 get { return FieldName13_; } 2032 set { 2033 FieldName13_ = value; 2034 } 2035 } 2036 2037 /// <summary>Field number for the "__Field_name14" field.</summary> 2038 public const int FieldName14FieldNumber = 414; 2039 private int FieldName14_; 2040 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 2041 public int FieldName14 { 2042 get { return FieldName14_; } 2043 set { 2044 FieldName14_ = value; 2045 } 2046 } 2047 2048 /// <summary>Field number for the "field__name15" field.</summary> 2049 public const int FieldName15FieldNumber = 415; 2050 private int fieldName15_; 2051 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 2052 public int FieldName15 { 2053 get { return fieldName15_; } 2054 set { 2055 fieldName15_ = value; 2056 } 2057 } 2058 2059 /// <summary>Field number for the "field__Name16" field.</summary> 2060 public const int FieldName16FieldNumber = 416; 2061 private int fieldName16_; 2062 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 2063 public int FieldName16 { 2064 get { return fieldName16_; } 2065 set { 2066 fieldName16_ = value; 2067 } 2068 } 2069 2070 /// <summary>Field number for the "field_name17__" field.</summary> 2071 public const int FieldName17FieldNumber = 417; 2072 private int fieldName17_; 2073 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 2074 public int FieldName17 { 2075 get { return fieldName17_; } 2076 set { 2077 fieldName17_ = value; 2078 } 2079 } 2080 2081 /// <summary>Field number for the "Field_name18__" field.</summary> 2082 public const int FieldName18FieldNumber = 418; 2083 private int fieldName18_; 2084 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 2085 public int FieldName18 { 2086 get { return fieldName18_; } 2087 set { 2088 fieldName18_ = value; 2089 } 2090 } 2091 2092 private object oneofField_; 2093 /// <summary>Enum of possible cases for the "oneof_field" oneof.</summary> 2094 public enum OneofFieldOneofCase { 2095 None = 0, 2096 OneofUint32 = 111, 2097 OneofNestedMessage = 112, 2098 OneofString = 113, 2099 OneofBytes = 114, 2100 OneofBool = 115, 2101 OneofUint64 = 116, 2102 OneofFloat = 117, 2103 OneofDouble = 118, 2104 OneofEnum = 119, 2105 OneofNullValue = 120, 2106 } 2107 private OneofFieldOneofCase oneofFieldCase_ = OneofFieldOneofCase.None; 2108 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 2109 public OneofFieldOneofCase OneofFieldCase { 2110 get { return oneofFieldCase_; } 2111 } 2112 2113 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] ClearOneofField()2114 public void ClearOneofField() { 2115 oneofFieldCase_ = OneofFieldOneofCase.None; 2116 oneofField_ = null; 2117 } 2118 2119 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Equals(object other)2120 public override bool Equals(object other) { 2121 return Equals(other as TestAllTypesProto3); 2122 } 2123 2124 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Equals(TestAllTypesProto3 other)2125 public bool Equals(TestAllTypesProto3 other) { 2126 if (ReferenceEquals(other, null)) { 2127 return false; 2128 } 2129 if (ReferenceEquals(other, this)) { 2130 return true; 2131 } 2132 if (OptionalInt32 != other.OptionalInt32) return false; 2133 if (OptionalInt64 != other.OptionalInt64) return false; 2134 if (OptionalUint32 != other.OptionalUint32) return false; 2135 if (OptionalUint64 != other.OptionalUint64) return false; 2136 if (OptionalSint32 != other.OptionalSint32) return false; 2137 if (OptionalSint64 != other.OptionalSint64) return false; 2138 if (OptionalFixed32 != other.OptionalFixed32) return false; 2139 if (OptionalFixed64 != other.OptionalFixed64) return false; 2140 if (OptionalSfixed32 != other.OptionalSfixed32) return false; 2141 if (OptionalSfixed64 != other.OptionalSfixed64) return false; 2142 if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(OptionalFloat, other.OptionalFloat)) return false; 2143 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(OptionalDouble, other.OptionalDouble)) return false; 2144 if (OptionalBool != other.OptionalBool) return false; 2145 if (OptionalString != other.OptionalString) return false; 2146 if (OptionalBytes != other.OptionalBytes) return false; 2147 if (!object.Equals(OptionalNestedMessage, other.OptionalNestedMessage)) return false; 2148 if (!object.Equals(OptionalForeignMessage, other.OptionalForeignMessage)) return false; 2149 if (OptionalNestedEnum != other.OptionalNestedEnum) return false; 2150 if (OptionalForeignEnum != other.OptionalForeignEnum) return false; 2151 if (OptionalAliasedEnum != other.OptionalAliasedEnum) return false; 2152 if (OptionalStringPiece != other.OptionalStringPiece) return false; 2153 if (OptionalCord != other.OptionalCord) return false; 2154 if (!object.Equals(RecursiveMessage, other.RecursiveMessage)) return false; 2155 if(!repeatedInt32_.Equals(other.repeatedInt32_)) return false; 2156 if(!repeatedInt64_.Equals(other.repeatedInt64_)) return false; 2157 if(!repeatedUint32_.Equals(other.repeatedUint32_)) return false; 2158 if(!repeatedUint64_.Equals(other.repeatedUint64_)) return false; 2159 if(!repeatedSint32_.Equals(other.repeatedSint32_)) return false; 2160 if(!repeatedSint64_.Equals(other.repeatedSint64_)) return false; 2161 if(!repeatedFixed32_.Equals(other.repeatedFixed32_)) return false; 2162 if(!repeatedFixed64_.Equals(other.repeatedFixed64_)) return false; 2163 if(!repeatedSfixed32_.Equals(other.repeatedSfixed32_)) return false; 2164 if(!repeatedSfixed64_.Equals(other.repeatedSfixed64_)) return false; 2165 if(!repeatedFloat_.Equals(other.repeatedFloat_)) return false; 2166 if(!repeatedDouble_.Equals(other.repeatedDouble_)) return false; 2167 if(!repeatedBool_.Equals(other.repeatedBool_)) return false; 2168 if(!repeatedString_.Equals(other.repeatedString_)) return false; 2169 if(!repeatedBytes_.Equals(other.repeatedBytes_)) return false; 2170 if(!repeatedNestedMessage_.Equals(other.repeatedNestedMessage_)) return false; 2171 if(!repeatedForeignMessage_.Equals(other.repeatedForeignMessage_)) return false; 2172 if(!repeatedNestedEnum_.Equals(other.repeatedNestedEnum_)) return false; 2173 if(!repeatedForeignEnum_.Equals(other.repeatedForeignEnum_)) return false; 2174 if(!repeatedStringPiece_.Equals(other.repeatedStringPiece_)) return false; 2175 if(!repeatedCord_.Equals(other.repeatedCord_)) return false; 2176 if(!packedInt32_.Equals(other.packedInt32_)) return false; 2177 if(!packedInt64_.Equals(other.packedInt64_)) return false; 2178 if(!packedUint32_.Equals(other.packedUint32_)) return false; 2179 if(!packedUint64_.Equals(other.packedUint64_)) return false; 2180 if(!packedSint32_.Equals(other.packedSint32_)) return false; 2181 if(!packedSint64_.Equals(other.packedSint64_)) return false; 2182 if(!packedFixed32_.Equals(other.packedFixed32_)) return false; 2183 if(!packedFixed64_.Equals(other.packedFixed64_)) return false; 2184 if(!packedSfixed32_.Equals(other.packedSfixed32_)) return false; 2185 if(!packedSfixed64_.Equals(other.packedSfixed64_)) return false; 2186 if(!packedFloat_.Equals(other.packedFloat_)) return false; 2187 if(!packedDouble_.Equals(other.packedDouble_)) return false; 2188 if(!packedBool_.Equals(other.packedBool_)) return false; 2189 if(!packedNestedEnum_.Equals(other.packedNestedEnum_)) return false; 2190 if(!unpackedInt32_.Equals(other.unpackedInt32_)) return false; 2191 if(!unpackedInt64_.Equals(other.unpackedInt64_)) return false; 2192 if(!unpackedUint32_.Equals(other.unpackedUint32_)) return false; 2193 if(!unpackedUint64_.Equals(other.unpackedUint64_)) return false; 2194 if(!unpackedSint32_.Equals(other.unpackedSint32_)) return false; 2195 if(!unpackedSint64_.Equals(other.unpackedSint64_)) return false; 2196 if(!unpackedFixed32_.Equals(other.unpackedFixed32_)) return false; 2197 if(!unpackedFixed64_.Equals(other.unpackedFixed64_)) return false; 2198 if(!unpackedSfixed32_.Equals(other.unpackedSfixed32_)) return false; 2199 if(!unpackedSfixed64_.Equals(other.unpackedSfixed64_)) return false; 2200 if(!unpackedFloat_.Equals(other.unpackedFloat_)) return false; 2201 if(!unpackedDouble_.Equals(other.unpackedDouble_)) return false; 2202 if(!unpackedBool_.Equals(other.unpackedBool_)) return false; 2203 if(!unpackedNestedEnum_.Equals(other.unpackedNestedEnum_)) return false; 2204 if (!MapInt32Int32.Equals(other.MapInt32Int32)) return false; 2205 if (!MapInt64Int64.Equals(other.MapInt64Int64)) return false; 2206 if (!MapUint32Uint32.Equals(other.MapUint32Uint32)) return false; 2207 if (!MapUint64Uint64.Equals(other.MapUint64Uint64)) return false; 2208 if (!MapSint32Sint32.Equals(other.MapSint32Sint32)) return false; 2209 if (!MapSint64Sint64.Equals(other.MapSint64Sint64)) return false; 2210 if (!MapFixed32Fixed32.Equals(other.MapFixed32Fixed32)) return false; 2211 if (!MapFixed64Fixed64.Equals(other.MapFixed64Fixed64)) return false; 2212 if (!MapSfixed32Sfixed32.Equals(other.MapSfixed32Sfixed32)) return false; 2213 if (!MapSfixed64Sfixed64.Equals(other.MapSfixed64Sfixed64)) return false; 2214 if (!MapInt32Float.Equals(other.MapInt32Float)) return false; 2215 if (!MapInt32Double.Equals(other.MapInt32Double)) return false; 2216 if (!MapBoolBool.Equals(other.MapBoolBool)) return false; 2217 if (!MapStringString.Equals(other.MapStringString)) return false; 2218 if (!MapStringBytes.Equals(other.MapStringBytes)) return false; 2219 if (!MapStringNestedMessage.Equals(other.MapStringNestedMessage)) return false; 2220 if (!MapStringForeignMessage.Equals(other.MapStringForeignMessage)) return false; 2221 if (!MapStringNestedEnum.Equals(other.MapStringNestedEnum)) return false; 2222 if (!MapStringForeignEnum.Equals(other.MapStringForeignEnum)) return false; 2223 if (OneofUint32 != other.OneofUint32) return false; 2224 if (!object.Equals(OneofNestedMessage, other.OneofNestedMessage)) return false; 2225 if (OneofString != other.OneofString) return false; 2226 if (OneofBytes != other.OneofBytes) return false; 2227 if (OneofBool != other.OneofBool) return false; 2228 if (OneofUint64 != other.OneofUint64) return false; 2229 if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(OneofFloat, other.OneofFloat)) return false; 2230 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(OneofDouble, other.OneofDouble)) return false; 2231 if (OneofEnum != other.OneofEnum) return false; 2232 if (OneofNullValue != other.OneofNullValue) return false; 2233 if (OptionalBoolWrapper != other.OptionalBoolWrapper) return false; 2234 if (OptionalInt32Wrapper != other.OptionalInt32Wrapper) return false; 2235 if (OptionalInt64Wrapper != other.OptionalInt64Wrapper) return false; 2236 if (OptionalUint32Wrapper != other.OptionalUint32Wrapper) return false; 2237 if (OptionalUint64Wrapper != other.OptionalUint64Wrapper) return false; 2238 if (!pbc::ProtobufEqualityComparers.BitwiseNullableSingleEqualityComparer.Equals(OptionalFloatWrapper, other.OptionalFloatWrapper)) return false; 2239 if (!pbc::ProtobufEqualityComparers.BitwiseNullableDoubleEqualityComparer.Equals(OptionalDoubleWrapper, other.OptionalDoubleWrapper)) return false; 2240 if (OptionalStringWrapper != other.OptionalStringWrapper) return false; 2241 if (OptionalBytesWrapper != other.OptionalBytesWrapper) return false; 2242 if(!repeatedBoolWrapper_.Equals(other.repeatedBoolWrapper_)) return false; 2243 if(!repeatedInt32Wrapper_.Equals(other.repeatedInt32Wrapper_)) return false; 2244 if(!repeatedInt64Wrapper_.Equals(other.repeatedInt64Wrapper_)) return false; 2245 if(!repeatedUint32Wrapper_.Equals(other.repeatedUint32Wrapper_)) return false; 2246 if(!repeatedUint64Wrapper_.Equals(other.repeatedUint64Wrapper_)) return false; 2247 if(!repeatedFloatWrapper_.Equals(other.repeatedFloatWrapper_)) return false; 2248 if(!repeatedDoubleWrapper_.Equals(other.repeatedDoubleWrapper_)) return false; 2249 if(!repeatedStringWrapper_.Equals(other.repeatedStringWrapper_)) return false; 2250 if(!repeatedBytesWrapper_.Equals(other.repeatedBytesWrapper_)) return false; 2251 if (!object.Equals(OptionalDuration, other.OptionalDuration)) return false; 2252 if (!object.Equals(OptionalTimestamp, other.OptionalTimestamp)) return false; 2253 if (!object.Equals(OptionalFieldMask, other.OptionalFieldMask)) return false; 2254 if (!object.Equals(OptionalStruct, other.OptionalStruct)) return false; 2255 if (!object.Equals(OptionalAny, other.OptionalAny)) return false; 2256 if (!object.Equals(OptionalValue, other.OptionalValue)) return false; 2257 if (OptionalNullValue != other.OptionalNullValue) return false; 2258 if(!repeatedDuration_.Equals(other.repeatedDuration_)) return false; 2259 if(!repeatedTimestamp_.Equals(other.repeatedTimestamp_)) return false; 2260 if(!repeatedFieldmask_.Equals(other.repeatedFieldmask_)) return false; 2261 if(!repeatedStruct_.Equals(other.repeatedStruct_)) return false; 2262 if(!repeatedAny_.Equals(other.repeatedAny_)) return false; 2263 if(!repeatedValue_.Equals(other.repeatedValue_)) return false; 2264 if(!repeatedListValue_.Equals(other.repeatedListValue_)) return false; 2265 if (Fieldname1 != other.Fieldname1) return false; 2266 if (FieldName2 != other.FieldName2) return false; 2267 if (FieldName3 != other.FieldName3) return false; 2268 if (FieldName4 != other.FieldName4) return false; 2269 if (Field0Name5 != other.Field0Name5) return false; 2270 if (Field0Name6 != other.Field0Name6) return false; 2271 if (FieldName7 != other.FieldName7) return false; 2272 if (FieldName8 != other.FieldName8) return false; 2273 if (FieldName9 != other.FieldName9) return false; 2274 if (FieldName10 != other.FieldName10) return false; 2275 if (FIELDNAME11 != other.FIELDNAME11) return false; 2276 if (FIELDName12 != other.FIELDName12) return false; 2277 if (FieldName13 != other.FieldName13) return false; 2278 if (FieldName14 != other.FieldName14) return false; 2279 if (FieldName15 != other.FieldName15) return false; 2280 if (FieldName16 != other.FieldName16) return false; 2281 if (FieldName17 != other.FieldName17) return false; 2282 if (FieldName18 != other.FieldName18) return false; 2283 if (OneofFieldCase != other.OneofFieldCase) return false; 2284 return Equals(_unknownFields, other._unknownFields); 2285 } 2286 2287 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] GetHashCode()2288 public override int GetHashCode() { 2289 int hash = 1; 2290 if (OptionalInt32 != 0) hash ^= OptionalInt32.GetHashCode(); 2291 if (OptionalInt64 != 0L) hash ^= OptionalInt64.GetHashCode(); 2292 if (OptionalUint32 != 0) hash ^= OptionalUint32.GetHashCode(); 2293 if (OptionalUint64 != 0UL) hash ^= OptionalUint64.GetHashCode(); 2294 if (OptionalSint32 != 0) hash ^= OptionalSint32.GetHashCode(); 2295 if (OptionalSint64 != 0L) hash ^= OptionalSint64.GetHashCode(); 2296 if (OptionalFixed32 != 0) hash ^= OptionalFixed32.GetHashCode(); 2297 if (OptionalFixed64 != 0UL) hash ^= OptionalFixed64.GetHashCode(); 2298 if (OptionalSfixed32 != 0) hash ^= OptionalSfixed32.GetHashCode(); 2299 if (OptionalSfixed64 != 0L) hash ^= OptionalSfixed64.GetHashCode(); 2300 if (OptionalFloat != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(OptionalFloat); 2301 if (OptionalDouble != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(OptionalDouble); 2302 if (OptionalBool != false) hash ^= OptionalBool.GetHashCode(); 2303 if (OptionalString.Length != 0) hash ^= OptionalString.GetHashCode(); 2304 if (OptionalBytes.Length != 0) hash ^= OptionalBytes.GetHashCode(); 2305 if (optionalNestedMessage_ != null) hash ^= OptionalNestedMessage.GetHashCode(); 2306 if (optionalForeignMessage_ != null) hash ^= OptionalForeignMessage.GetHashCode(); 2307 if (OptionalNestedEnum != global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedEnum.Foo) hash ^= OptionalNestedEnum.GetHashCode(); 2308 if (OptionalForeignEnum != global::ProtobufTestMessages.Proto3.ForeignEnum.ForeignFoo) hash ^= OptionalForeignEnum.GetHashCode(); 2309 if (OptionalAliasedEnum != global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.AliasedEnum.AliasFoo) hash ^= OptionalAliasedEnum.GetHashCode(); 2310 if (OptionalStringPiece.Length != 0) hash ^= OptionalStringPiece.GetHashCode(); 2311 if (OptionalCord.Length != 0) hash ^= OptionalCord.GetHashCode(); 2312 if (recursiveMessage_ != null) hash ^= RecursiveMessage.GetHashCode(); 2313 hash ^= repeatedInt32_.GetHashCode(); 2314 hash ^= repeatedInt64_.GetHashCode(); 2315 hash ^= repeatedUint32_.GetHashCode(); 2316 hash ^= repeatedUint64_.GetHashCode(); 2317 hash ^= repeatedSint32_.GetHashCode(); 2318 hash ^= repeatedSint64_.GetHashCode(); 2319 hash ^= repeatedFixed32_.GetHashCode(); 2320 hash ^= repeatedFixed64_.GetHashCode(); 2321 hash ^= repeatedSfixed32_.GetHashCode(); 2322 hash ^= repeatedSfixed64_.GetHashCode(); 2323 hash ^= repeatedFloat_.GetHashCode(); 2324 hash ^= repeatedDouble_.GetHashCode(); 2325 hash ^= repeatedBool_.GetHashCode(); 2326 hash ^= repeatedString_.GetHashCode(); 2327 hash ^= repeatedBytes_.GetHashCode(); 2328 hash ^= repeatedNestedMessage_.GetHashCode(); 2329 hash ^= repeatedForeignMessage_.GetHashCode(); 2330 hash ^= repeatedNestedEnum_.GetHashCode(); 2331 hash ^= repeatedForeignEnum_.GetHashCode(); 2332 hash ^= repeatedStringPiece_.GetHashCode(); 2333 hash ^= repeatedCord_.GetHashCode(); 2334 hash ^= packedInt32_.GetHashCode(); 2335 hash ^= packedInt64_.GetHashCode(); 2336 hash ^= packedUint32_.GetHashCode(); 2337 hash ^= packedUint64_.GetHashCode(); 2338 hash ^= packedSint32_.GetHashCode(); 2339 hash ^= packedSint64_.GetHashCode(); 2340 hash ^= packedFixed32_.GetHashCode(); 2341 hash ^= packedFixed64_.GetHashCode(); 2342 hash ^= packedSfixed32_.GetHashCode(); 2343 hash ^= packedSfixed64_.GetHashCode(); 2344 hash ^= packedFloat_.GetHashCode(); 2345 hash ^= packedDouble_.GetHashCode(); 2346 hash ^= packedBool_.GetHashCode(); 2347 hash ^= packedNestedEnum_.GetHashCode(); 2348 hash ^= unpackedInt32_.GetHashCode(); 2349 hash ^= unpackedInt64_.GetHashCode(); 2350 hash ^= unpackedUint32_.GetHashCode(); 2351 hash ^= unpackedUint64_.GetHashCode(); 2352 hash ^= unpackedSint32_.GetHashCode(); 2353 hash ^= unpackedSint64_.GetHashCode(); 2354 hash ^= unpackedFixed32_.GetHashCode(); 2355 hash ^= unpackedFixed64_.GetHashCode(); 2356 hash ^= unpackedSfixed32_.GetHashCode(); 2357 hash ^= unpackedSfixed64_.GetHashCode(); 2358 hash ^= unpackedFloat_.GetHashCode(); 2359 hash ^= unpackedDouble_.GetHashCode(); 2360 hash ^= unpackedBool_.GetHashCode(); 2361 hash ^= unpackedNestedEnum_.GetHashCode(); 2362 hash ^= MapInt32Int32.GetHashCode(); 2363 hash ^= MapInt64Int64.GetHashCode(); 2364 hash ^= MapUint32Uint32.GetHashCode(); 2365 hash ^= MapUint64Uint64.GetHashCode(); 2366 hash ^= MapSint32Sint32.GetHashCode(); 2367 hash ^= MapSint64Sint64.GetHashCode(); 2368 hash ^= MapFixed32Fixed32.GetHashCode(); 2369 hash ^= MapFixed64Fixed64.GetHashCode(); 2370 hash ^= MapSfixed32Sfixed32.GetHashCode(); 2371 hash ^= MapSfixed64Sfixed64.GetHashCode(); 2372 hash ^= MapInt32Float.GetHashCode(); 2373 hash ^= MapInt32Double.GetHashCode(); 2374 hash ^= MapBoolBool.GetHashCode(); 2375 hash ^= MapStringString.GetHashCode(); 2376 hash ^= MapStringBytes.GetHashCode(); 2377 hash ^= MapStringNestedMessage.GetHashCode(); 2378 hash ^= MapStringForeignMessage.GetHashCode(); 2379 hash ^= MapStringNestedEnum.GetHashCode(); 2380 hash ^= MapStringForeignEnum.GetHashCode(); 2381 if (oneofFieldCase_ == OneofFieldOneofCase.OneofUint32) hash ^= OneofUint32.GetHashCode(); 2382 if (oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage) hash ^= OneofNestedMessage.GetHashCode(); 2383 if (oneofFieldCase_ == OneofFieldOneofCase.OneofString) hash ^= OneofString.GetHashCode(); 2384 if (oneofFieldCase_ == OneofFieldOneofCase.OneofBytes) hash ^= OneofBytes.GetHashCode(); 2385 if (oneofFieldCase_ == OneofFieldOneofCase.OneofBool) hash ^= OneofBool.GetHashCode(); 2386 if (oneofFieldCase_ == OneofFieldOneofCase.OneofUint64) hash ^= OneofUint64.GetHashCode(); 2387 if (oneofFieldCase_ == OneofFieldOneofCase.OneofFloat) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(OneofFloat); 2388 if (oneofFieldCase_ == OneofFieldOneofCase.OneofDouble) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(OneofDouble); 2389 if (oneofFieldCase_ == OneofFieldOneofCase.OneofEnum) hash ^= OneofEnum.GetHashCode(); 2390 if (oneofFieldCase_ == OneofFieldOneofCase.OneofNullValue) hash ^= OneofNullValue.GetHashCode(); 2391 if (optionalBoolWrapper_ != null) hash ^= OptionalBoolWrapper.GetHashCode(); 2392 if (optionalInt32Wrapper_ != null) hash ^= OptionalInt32Wrapper.GetHashCode(); 2393 if (optionalInt64Wrapper_ != null) hash ^= OptionalInt64Wrapper.GetHashCode(); 2394 if (optionalUint32Wrapper_ != null) hash ^= OptionalUint32Wrapper.GetHashCode(); 2395 if (optionalUint64Wrapper_ != null) hash ^= OptionalUint64Wrapper.GetHashCode(); 2396 if (optionalFloatWrapper_ != null) hash ^= pbc::ProtobufEqualityComparers.BitwiseNullableSingleEqualityComparer.GetHashCode(OptionalFloatWrapper); 2397 if (optionalDoubleWrapper_ != null) hash ^= pbc::ProtobufEqualityComparers.BitwiseNullableDoubleEqualityComparer.GetHashCode(OptionalDoubleWrapper); 2398 if (optionalStringWrapper_ != null) hash ^= OptionalStringWrapper.GetHashCode(); 2399 if (optionalBytesWrapper_ != null) hash ^= OptionalBytesWrapper.GetHashCode(); 2400 hash ^= repeatedBoolWrapper_.GetHashCode(); 2401 hash ^= repeatedInt32Wrapper_.GetHashCode(); 2402 hash ^= repeatedInt64Wrapper_.GetHashCode(); 2403 hash ^= repeatedUint32Wrapper_.GetHashCode(); 2404 hash ^= repeatedUint64Wrapper_.GetHashCode(); 2405 hash ^= repeatedFloatWrapper_.GetHashCode(); 2406 hash ^= repeatedDoubleWrapper_.GetHashCode(); 2407 hash ^= repeatedStringWrapper_.GetHashCode(); 2408 hash ^= repeatedBytesWrapper_.GetHashCode(); 2409 if (optionalDuration_ != null) hash ^= OptionalDuration.GetHashCode(); 2410 if (optionalTimestamp_ != null) hash ^= OptionalTimestamp.GetHashCode(); 2411 if (optionalFieldMask_ != null) hash ^= OptionalFieldMask.GetHashCode(); 2412 if (optionalStruct_ != null) hash ^= OptionalStruct.GetHashCode(); 2413 if (optionalAny_ != null) hash ^= OptionalAny.GetHashCode(); 2414 if (optionalValue_ != null) hash ^= OptionalValue.GetHashCode(); 2415 if (OptionalNullValue != global::Google.Protobuf.WellKnownTypes.NullValue.NullValue) hash ^= OptionalNullValue.GetHashCode(); 2416 hash ^= repeatedDuration_.GetHashCode(); 2417 hash ^= repeatedTimestamp_.GetHashCode(); 2418 hash ^= repeatedFieldmask_.GetHashCode(); 2419 hash ^= repeatedStruct_.GetHashCode(); 2420 hash ^= repeatedAny_.GetHashCode(); 2421 hash ^= repeatedValue_.GetHashCode(); 2422 hash ^= repeatedListValue_.GetHashCode(); 2423 if (Fieldname1 != 0) hash ^= Fieldname1.GetHashCode(); 2424 if (FieldName2 != 0) hash ^= FieldName2.GetHashCode(); 2425 if (FieldName3 != 0) hash ^= FieldName3.GetHashCode(); 2426 if (FieldName4 != 0) hash ^= FieldName4.GetHashCode(); 2427 if (Field0Name5 != 0) hash ^= Field0Name5.GetHashCode(); 2428 if (Field0Name6 != 0) hash ^= Field0Name6.GetHashCode(); 2429 if (FieldName7 != 0) hash ^= FieldName7.GetHashCode(); 2430 if (FieldName8 != 0) hash ^= FieldName8.GetHashCode(); 2431 if (FieldName9 != 0) hash ^= FieldName9.GetHashCode(); 2432 if (FieldName10 != 0) hash ^= FieldName10.GetHashCode(); 2433 if (FIELDNAME11 != 0) hash ^= FIELDNAME11.GetHashCode(); 2434 if (FIELDName12 != 0) hash ^= FIELDName12.GetHashCode(); 2435 if (FieldName13 != 0) hash ^= FieldName13.GetHashCode(); 2436 if (FieldName14 != 0) hash ^= FieldName14.GetHashCode(); 2437 if (FieldName15 != 0) hash ^= FieldName15.GetHashCode(); 2438 if (FieldName16 != 0) hash ^= FieldName16.GetHashCode(); 2439 if (FieldName17 != 0) hash ^= FieldName17.GetHashCode(); 2440 if (FieldName18 != 0) hash ^= FieldName18.GetHashCode(); 2441 hash ^= (int) oneofFieldCase_; 2442 if (_unknownFields != null) { 2443 hash ^= _unknownFields.GetHashCode(); 2444 } 2445 return hash; 2446 } 2447 2448 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] ToString()2449 public override string ToString() { 2450 return pb::JsonFormatter.ToDiagnosticString(this); 2451 } 2452 2453 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] WriteTo(pb::CodedOutputStream output)2454 public void WriteTo(pb::CodedOutputStream output) { 2455 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 2456 output.WriteRawMessage(this); 2457 #else 2458 if (OptionalInt32 != 0) { 2459 output.WriteRawTag(8); 2460 output.WriteInt32(OptionalInt32); 2461 } 2462 if (OptionalInt64 != 0L) { 2463 output.WriteRawTag(16); 2464 output.WriteInt64(OptionalInt64); 2465 } 2466 if (OptionalUint32 != 0) { 2467 output.WriteRawTag(24); 2468 output.WriteUInt32(OptionalUint32); 2469 } 2470 if (OptionalUint64 != 0UL) { 2471 output.WriteRawTag(32); 2472 output.WriteUInt64(OptionalUint64); 2473 } 2474 if (OptionalSint32 != 0) { 2475 output.WriteRawTag(40); 2476 output.WriteSInt32(OptionalSint32); 2477 } 2478 if (OptionalSint64 != 0L) { 2479 output.WriteRawTag(48); 2480 output.WriteSInt64(OptionalSint64); 2481 } 2482 if (OptionalFixed32 != 0) { 2483 output.WriteRawTag(61); 2484 output.WriteFixed32(OptionalFixed32); 2485 } 2486 if (OptionalFixed64 != 0UL) { 2487 output.WriteRawTag(65); 2488 output.WriteFixed64(OptionalFixed64); 2489 } 2490 if (OptionalSfixed32 != 0) { 2491 output.WriteRawTag(77); 2492 output.WriteSFixed32(OptionalSfixed32); 2493 } 2494 if (OptionalSfixed64 != 0L) { 2495 output.WriteRawTag(81); 2496 output.WriteSFixed64(OptionalSfixed64); 2497 } 2498 if (OptionalFloat != 0F) { 2499 output.WriteRawTag(93); 2500 output.WriteFloat(OptionalFloat); 2501 } 2502 if (OptionalDouble != 0D) { 2503 output.WriteRawTag(97); 2504 output.WriteDouble(OptionalDouble); 2505 } 2506 if (OptionalBool != false) { 2507 output.WriteRawTag(104); 2508 output.WriteBool(OptionalBool); 2509 } 2510 if (OptionalString.Length != 0) { 2511 output.WriteRawTag(114); 2512 output.WriteString(OptionalString); 2513 } 2514 if (OptionalBytes.Length != 0) { 2515 output.WriteRawTag(122); 2516 output.WriteBytes(OptionalBytes); 2517 } 2518 if (optionalNestedMessage_ != null) { 2519 output.WriteRawTag(146, 1); 2520 output.WriteMessage(OptionalNestedMessage); 2521 } 2522 if (optionalForeignMessage_ != null) { 2523 output.WriteRawTag(154, 1); 2524 output.WriteMessage(OptionalForeignMessage); 2525 } 2526 if (OptionalNestedEnum != global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedEnum.Foo) { 2527 output.WriteRawTag(168, 1); 2528 output.WriteEnum((int) OptionalNestedEnum); 2529 } 2530 if (OptionalForeignEnum != global::ProtobufTestMessages.Proto3.ForeignEnum.ForeignFoo) { 2531 output.WriteRawTag(176, 1); 2532 output.WriteEnum((int) OptionalForeignEnum); 2533 } 2534 if (OptionalAliasedEnum != global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.AliasedEnum.AliasFoo) { 2535 output.WriteRawTag(184, 1); 2536 output.WriteEnum((int) OptionalAliasedEnum); 2537 } 2538 if (OptionalStringPiece.Length != 0) { 2539 output.WriteRawTag(194, 1); 2540 output.WriteString(OptionalStringPiece); 2541 } 2542 if (OptionalCord.Length != 0) { 2543 output.WriteRawTag(202, 1); 2544 output.WriteString(OptionalCord); 2545 } 2546 if (recursiveMessage_ != null) { 2547 output.WriteRawTag(218, 1); 2548 output.WriteMessage(RecursiveMessage); 2549 } 2550 repeatedInt32_.WriteTo(output, _repeated_repeatedInt32_codec); 2551 repeatedInt64_.WriteTo(output, _repeated_repeatedInt64_codec); 2552 repeatedUint32_.WriteTo(output, _repeated_repeatedUint32_codec); 2553 repeatedUint64_.WriteTo(output, _repeated_repeatedUint64_codec); 2554 repeatedSint32_.WriteTo(output, _repeated_repeatedSint32_codec); 2555 repeatedSint64_.WriteTo(output, _repeated_repeatedSint64_codec); 2556 repeatedFixed32_.WriteTo(output, _repeated_repeatedFixed32_codec); 2557 repeatedFixed64_.WriteTo(output, _repeated_repeatedFixed64_codec); 2558 repeatedSfixed32_.WriteTo(output, _repeated_repeatedSfixed32_codec); 2559 repeatedSfixed64_.WriteTo(output, _repeated_repeatedSfixed64_codec); 2560 repeatedFloat_.WriteTo(output, _repeated_repeatedFloat_codec); 2561 repeatedDouble_.WriteTo(output, _repeated_repeatedDouble_codec); 2562 repeatedBool_.WriteTo(output, _repeated_repeatedBool_codec); 2563 repeatedString_.WriteTo(output, _repeated_repeatedString_codec); 2564 repeatedBytes_.WriteTo(output, _repeated_repeatedBytes_codec); 2565 repeatedNestedMessage_.WriteTo(output, _repeated_repeatedNestedMessage_codec); 2566 repeatedForeignMessage_.WriteTo(output, _repeated_repeatedForeignMessage_codec); 2567 repeatedNestedEnum_.WriteTo(output, _repeated_repeatedNestedEnum_codec); 2568 repeatedForeignEnum_.WriteTo(output, _repeated_repeatedForeignEnum_codec); 2569 repeatedStringPiece_.WriteTo(output, _repeated_repeatedStringPiece_codec); 2570 repeatedCord_.WriteTo(output, _repeated_repeatedCord_codec); 2571 mapInt32Int32_.WriteTo(output, _map_mapInt32Int32_codec); 2572 mapInt64Int64_.WriteTo(output, _map_mapInt64Int64_codec); 2573 mapUint32Uint32_.WriteTo(output, _map_mapUint32Uint32_codec); 2574 mapUint64Uint64_.WriteTo(output, _map_mapUint64Uint64_codec); 2575 mapSint32Sint32_.WriteTo(output, _map_mapSint32Sint32_codec); 2576 mapSint64Sint64_.WriteTo(output, _map_mapSint64Sint64_codec); 2577 mapFixed32Fixed32_.WriteTo(output, _map_mapFixed32Fixed32_codec); 2578 mapFixed64Fixed64_.WriteTo(output, _map_mapFixed64Fixed64_codec); 2579 mapSfixed32Sfixed32_.WriteTo(output, _map_mapSfixed32Sfixed32_codec); 2580 mapSfixed64Sfixed64_.WriteTo(output, _map_mapSfixed64Sfixed64_codec); 2581 mapInt32Float_.WriteTo(output, _map_mapInt32Float_codec); 2582 mapInt32Double_.WriteTo(output, _map_mapInt32Double_codec); 2583 mapBoolBool_.WriteTo(output, _map_mapBoolBool_codec); 2584 mapStringString_.WriteTo(output, _map_mapStringString_codec); 2585 mapStringBytes_.WriteTo(output, _map_mapStringBytes_codec); 2586 mapStringNestedMessage_.WriteTo(output, _map_mapStringNestedMessage_codec); 2587 mapStringForeignMessage_.WriteTo(output, _map_mapStringForeignMessage_codec); 2588 mapStringNestedEnum_.WriteTo(output, _map_mapStringNestedEnum_codec); 2589 mapStringForeignEnum_.WriteTo(output, _map_mapStringForeignEnum_codec); 2590 packedInt32_.WriteTo(output, _repeated_packedInt32_codec); 2591 packedInt64_.WriteTo(output, _repeated_packedInt64_codec); 2592 packedUint32_.WriteTo(output, _repeated_packedUint32_codec); 2593 packedUint64_.WriteTo(output, _repeated_packedUint64_codec); 2594 packedSint32_.WriteTo(output, _repeated_packedSint32_codec); 2595 packedSint64_.WriteTo(output, _repeated_packedSint64_codec); 2596 packedFixed32_.WriteTo(output, _repeated_packedFixed32_codec); 2597 packedFixed64_.WriteTo(output, _repeated_packedFixed64_codec); 2598 packedSfixed32_.WriteTo(output, _repeated_packedSfixed32_codec); 2599 packedSfixed64_.WriteTo(output, _repeated_packedSfixed64_codec); 2600 packedFloat_.WriteTo(output, _repeated_packedFloat_codec); 2601 packedDouble_.WriteTo(output, _repeated_packedDouble_codec); 2602 packedBool_.WriteTo(output, _repeated_packedBool_codec); 2603 packedNestedEnum_.WriteTo(output, _repeated_packedNestedEnum_codec); 2604 unpackedInt32_.WriteTo(output, _repeated_unpackedInt32_codec); 2605 unpackedInt64_.WriteTo(output, _repeated_unpackedInt64_codec); 2606 unpackedUint32_.WriteTo(output, _repeated_unpackedUint32_codec); 2607 unpackedUint64_.WriteTo(output, _repeated_unpackedUint64_codec); 2608 unpackedSint32_.WriteTo(output, _repeated_unpackedSint32_codec); 2609 unpackedSint64_.WriteTo(output, _repeated_unpackedSint64_codec); 2610 unpackedFixed32_.WriteTo(output, _repeated_unpackedFixed32_codec); 2611 unpackedFixed64_.WriteTo(output, _repeated_unpackedFixed64_codec); 2612 unpackedSfixed32_.WriteTo(output, _repeated_unpackedSfixed32_codec); 2613 unpackedSfixed64_.WriteTo(output, _repeated_unpackedSfixed64_codec); 2614 unpackedFloat_.WriteTo(output, _repeated_unpackedFloat_codec); 2615 unpackedDouble_.WriteTo(output, _repeated_unpackedDouble_codec); 2616 unpackedBool_.WriteTo(output, _repeated_unpackedBool_codec); 2617 unpackedNestedEnum_.WriteTo(output, _repeated_unpackedNestedEnum_codec); 2618 if (oneofFieldCase_ == OneofFieldOneofCase.OneofUint32) { 2619 output.WriteRawTag(248, 6); 2620 output.WriteUInt32(OneofUint32); 2621 } 2622 if (oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage) { 2623 output.WriteRawTag(130, 7); 2624 output.WriteMessage(OneofNestedMessage); 2625 } 2626 if (oneofFieldCase_ == OneofFieldOneofCase.OneofString) { 2627 output.WriteRawTag(138, 7); 2628 output.WriteString(OneofString); 2629 } 2630 if (oneofFieldCase_ == OneofFieldOneofCase.OneofBytes) { 2631 output.WriteRawTag(146, 7); 2632 output.WriteBytes(OneofBytes); 2633 } 2634 if (oneofFieldCase_ == OneofFieldOneofCase.OneofBool) { 2635 output.WriteRawTag(152, 7); 2636 output.WriteBool(OneofBool); 2637 } 2638 if (oneofFieldCase_ == OneofFieldOneofCase.OneofUint64) { 2639 output.WriteRawTag(160, 7); 2640 output.WriteUInt64(OneofUint64); 2641 } 2642 if (oneofFieldCase_ == OneofFieldOneofCase.OneofFloat) { 2643 output.WriteRawTag(173, 7); 2644 output.WriteFloat(OneofFloat); 2645 } 2646 if (oneofFieldCase_ == OneofFieldOneofCase.OneofDouble) { 2647 output.WriteRawTag(177, 7); 2648 output.WriteDouble(OneofDouble); 2649 } 2650 if (oneofFieldCase_ == OneofFieldOneofCase.OneofEnum) { 2651 output.WriteRawTag(184, 7); 2652 output.WriteEnum((int) OneofEnum); 2653 } 2654 if (oneofFieldCase_ == OneofFieldOneofCase.OneofNullValue) { 2655 output.WriteRawTag(192, 7); 2656 output.WriteEnum((int) OneofNullValue); 2657 } 2658 if (optionalBoolWrapper_ != null) { 2659 _single_optionalBoolWrapper_codec.WriteTagAndValue(output, OptionalBoolWrapper); 2660 } 2661 if (optionalInt32Wrapper_ != null) { 2662 _single_optionalInt32Wrapper_codec.WriteTagAndValue(output, OptionalInt32Wrapper); 2663 } 2664 if (optionalInt64Wrapper_ != null) { 2665 _single_optionalInt64Wrapper_codec.WriteTagAndValue(output, OptionalInt64Wrapper); 2666 } 2667 if (optionalUint32Wrapper_ != null) { 2668 _single_optionalUint32Wrapper_codec.WriteTagAndValue(output, OptionalUint32Wrapper); 2669 } 2670 if (optionalUint64Wrapper_ != null) { 2671 _single_optionalUint64Wrapper_codec.WriteTagAndValue(output, OptionalUint64Wrapper); 2672 } 2673 if (optionalFloatWrapper_ != null) { 2674 _single_optionalFloatWrapper_codec.WriteTagAndValue(output, OptionalFloatWrapper); 2675 } 2676 if (optionalDoubleWrapper_ != null) { 2677 _single_optionalDoubleWrapper_codec.WriteTagAndValue(output, OptionalDoubleWrapper); 2678 } 2679 if (optionalStringWrapper_ != null) { 2680 _single_optionalStringWrapper_codec.WriteTagAndValue(output, OptionalStringWrapper); 2681 } 2682 if (optionalBytesWrapper_ != null) { 2683 _single_optionalBytesWrapper_codec.WriteTagAndValue(output, OptionalBytesWrapper); 2684 } 2685 repeatedBoolWrapper_.WriteTo(output, _repeated_repeatedBoolWrapper_codec); 2686 repeatedInt32Wrapper_.WriteTo(output, _repeated_repeatedInt32Wrapper_codec); 2687 repeatedInt64Wrapper_.WriteTo(output, _repeated_repeatedInt64Wrapper_codec); 2688 repeatedUint32Wrapper_.WriteTo(output, _repeated_repeatedUint32Wrapper_codec); 2689 repeatedUint64Wrapper_.WriteTo(output, _repeated_repeatedUint64Wrapper_codec); 2690 repeatedFloatWrapper_.WriteTo(output, _repeated_repeatedFloatWrapper_codec); 2691 repeatedDoubleWrapper_.WriteTo(output, _repeated_repeatedDoubleWrapper_codec); 2692 repeatedStringWrapper_.WriteTo(output, _repeated_repeatedStringWrapper_codec); 2693 repeatedBytesWrapper_.WriteTo(output, _repeated_repeatedBytesWrapper_codec); 2694 if (optionalDuration_ != null) { 2695 output.WriteRawTag(234, 18); 2696 output.WriteMessage(OptionalDuration); 2697 } 2698 if (optionalTimestamp_ != null) { 2699 output.WriteRawTag(242, 18); 2700 output.WriteMessage(OptionalTimestamp); 2701 } 2702 if (optionalFieldMask_ != null) { 2703 output.WriteRawTag(250, 18); 2704 output.WriteMessage(OptionalFieldMask); 2705 } 2706 if (optionalStruct_ != null) { 2707 output.WriteRawTag(130, 19); 2708 output.WriteMessage(OptionalStruct); 2709 } 2710 if (optionalAny_ != null) { 2711 output.WriteRawTag(138, 19); 2712 output.WriteMessage(OptionalAny); 2713 } 2714 if (optionalValue_ != null) { 2715 output.WriteRawTag(146, 19); 2716 output.WriteMessage(OptionalValue); 2717 } 2718 if (OptionalNullValue != global::Google.Protobuf.WellKnownTypes.NullValue.NullValue) { 2719 output.WriteRawTag(152, 19); 2720 output.WriteEnum((int) OptionalNullValue); 2721 } 2722 repeatedDuration_.WriteTo(output, _repeated_repeatedDuration_codec); 2723 repeatedTimestamp_.WriteTo(output, _repeated_repeatedTimestamp_codec); 2724 repeatedFieldmask_.WriteTo(output, _repeated_repeatedFieldmask_codec); 2725 repeatedAny_.WriteTo(output, _repeated_repeatedAny_codec); 2726 repeatedValue_.WriteTo(output, _repeated_repeatedValue_codec); 2727 repeatedListValue_.WriteTo(output, _repeated_repeatedListValue_codec); 2728 repeatedStruct_.WriteTo(output, _repeated_repeatedStruct_codec); 2729 if (Fieldname1 != 0) { 2730 output.WriteRawTag(136, 25); 2731 output.WriteInt32(Fieldname1); 2732 } 2733 if (FieldName2 != 0) { 2734 output.WriteRawTag(144, 25); 2735 output.WriteInt32(FieldName2); 2736 } 2737 if (FieldName3 != 0) { 2738 output.WriteRawTag(152, 25); 2739 output.WriteInt32(FieldName3); 2740 } 2741 if (FieldName4 != 0) { 2742 output.WriteRawTag(160, 25); 2743 output.WriteInt32(FieldName4); 2744 } 2745 if (Field0Name5 != 0) { 2746 output.WriteRawTag(168, 25); 2747 output.WriteInt32(Field0Name5); 2748 } 2749 if (Field0Name6 != 0) { 2750 output.WriteRawTag(176, 25); 2751 output.WriteInt32(Field0Name6); 2752 } 2753 if (FieldName7 != 0) { 2754 output.WriteRawTag(184, 25); 2755 output.WriteInt32(FieldName7); 2756 } 2757 if (FieldName8 != 0) { 2758 output.WriteRawTag(192, 25); 2759 output.WriteInt32(FieldName8); 2760 } 2761 if (FieldName9 != 0) { 2762 output.WriteRawTag(200, 25); 2763 output.WriteInt32(FieldName9); 2764 } 2765 if (FieldName10 != 0) { 2766 output.WriteRawTag(208, 25); 2767 output.WriteInt32(FieldName10); 2768 } 2769 if (FIELDNAME11 != 0) { 2770 output.WriteRawTag(216, 25); 2771 output.WriteInt32(FIELDNAME11); 2772 } 2773 if (FIELDName12 != 0) { 2774 output.WriteRawTag(224, 25); 2775 output.WriteInt32(FIELDName12); 2776 } 2777 if (FieldName13 != 0) { 2778 output.WriteRawTag(232, 25); 2779 output.WriteInt32(FieldName13); 2780 } 2781 if (FieldName14 != 0) { 2782 output.WriteRawTag(240, 25); 2783 output.WriteInt32(FieldName14); 2784 } 2785 if (FieldName15 != 0) { 2786 output.WriteRawTag(248, 25); 2787 output.WriteInt32(FieldName15); 2788 } 2789 if (FieldName16 != 0) { 2790 output.WriteRawTag(128, 26); 2791 output.WriteInt32(FieldName16); 2792 } 2793 if (FieldName17 != 0) { 2794 output.WriteRawTag(136, 26); 2795 output.WriteInt32(FieldName17); 2796 } 2797 if (FieldName18 != 0) { 2798 output.WriteRawTag(144, 26); 2799 output.WriteInt32(FieldName18); 2800 } 2801 if (_unknownFields != null) { 2802 _unknownFields.WriteTo(output); 2803 } 2804 #endif 2805 } 2806 2807 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 2808 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] IBufferMessage.InternalWriteTo(ref pb::WriteContext output)2809 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { 2810 if (OptionalInt32 != 0) { 2811 output.WriteRawTag(8); 2812 output.WriteInt32(OptionalInt32); 2813 } 2814 if (OptionalInt64 != 0L) { 2815 output.WriteRawTag(16); 2816 output.WriteInt64(OptionalInt64); 2817 } 2818 if (OptionalUint32 != 0) { 2819 output.WriteRawTag(24); 2820 output.WriteUInt32(OptionalUint32); 2821 } 2822 if (OptionalUint64 != 0UL) { 2823 output.WriteRawTag(32); 2824 output.WriteUInt64(OptionalUint64); 2825 } 2826 if (OptionalSint32 != 0) { 2827 output.WriteRawTag(40); 2828 output.WriteSInt32(OptionalSint32); 2829 } 2830 if (OptionalSint64 != 0L) { 2831 output.WriteRawTag(48); 2832 output.WriteSInt64(OptionalSint64); 2833 } 2834 if (OptionalFixed32 != 0) { 2835 output.WriteRawTag(61); 2836 output.WriteFixed32(OptionalFixed32); 2837 } 2838 if (OptionalFixed64 != 0UL) { 2839 output.WriteRawTag(65); 2840 output.WriteFixed64(OptionalFixed64); 2841 } 2842 if (OptionalSfixed32 != 0) { 2843 output.WriteRawTag(77); 2844 output.WriteSFixed32(OptionalSfixed32); 2845 } 2846 if (OptionalSfixed64 != 0L) { 2847 output.WriteRawTag(81); 2848 output.WriteSFixed64(OptionalSfixed64); 2849 } 2850 if (OptionalFloat != 0F) { 2851 output.WriteRawTag(93); 2852 output.WriteFloat(OptionalFloat); 2853 } 2854 if (OptionalDouble != 0D) { 2855 output.WriteRawTag(97); 2856 output.WriteDouble(OptionalDouble); 2857 } 2858 if (OptionalBool != false) { 2859 output.WriteRawTag(104); 2860 output.WriteBool(OptionalBool); 2861 } 2862 if (OptionalString.Length != 0) { 2863 output.WriteRawTag(114); 2864 output.WriteString(OptionalString); 2865 } 2866 if (OptionalBytes.Length != 0) { 2867 output.WriteRawTag(122); 2868 output.WriteBytes(OptionalBytes); 2869 } 2870 if (optionalNestedMessage_ != null) { 2871 output.WriteRawTag(146, 1); 2872 output.WriteMessage(OptionalNestedMessage); 2873 } 2874 if (optionalForeignMessage_ != null) { 2875 output.WriteRawTag(154, 1); 2876 output.WriteMessage(OptionalForeignMessage); 2877 } 2878 if (OptionalNestedEnum != global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedEnum.Foo) { 2879 output.WriteRawTag(168, 1); 2880 output.WriteEnum((int) OptionalNestedEnum); 2881 } 2882 if (OptionalForeignEnum != global::ProtobufTestMessages.Proto3.ForeignEnum.ForeignFoo) { 2883 output.WriteRawTag(176, 1); 2884 output.WriteEnum((int) OptionalForeignEnum); 2885 } 2886 if (OptionalAliasedEnum != global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.AliasedEnum.AliasFoo) { 2887 output.WriteRawTag(184, 1); 2888 output.WriteEnum((int) OptionalAliasedEnum); 2889 } 2890 if (OptionalStringPiece.Length != 0) { 2891 output.WriteRawTag(194, 1); 2892 output.WriteString(OptionalStringPiece); 2893 } 2894 if (OptionalCord.Length != 0) { 2895 output.WriteRawTag(202, 1); 2896 output.WriteString(OptionalCord); 2897 } 2898 if (recursiveMessage_ != null) { 2899 output.WriteRawTag(218, 1); 2900 output.WriteMessage(RecursiveMessage); 2901 } 2902 repeatedInt32_.WriteTo(ref output, _repeated_repeatedInt32_codec); 2903 repeatedInt64_.WriteTo(ref output, _repeated_repeatedInt64_codec); 2904 repeatedUint32_.WriteTo(ref output, _repeated_repeatedUint32_codec); 2905 repeatedUint64_.WriteTo(ref output, _repeated_repeatedUint64_codec); 2906 repeatedSint32_.WriteTo(ref output, _repeated_repeatedSint32_codec); 2907 repeatedSint64_.WriteTo(ref output, _repeated_repeatedSint64_codec); 2908 repeatedFixed32_.WriteTo(ref output, _repeated_repeatedFixed32_codec); 2909 repeatedFixed64_.WriteTo(ref output, _repeated_repeatedFixed64_codec); 2910 repeatedSfixed32_.WriteTo(ref output, _repeated_repeatedSfixed32_codec); 2911 repeatedSfixed64_.WriteTo(ref output, _repeated_repeatedSfixed64_codec); 2912 repeatedFloat_.WriteTo(ref output, _repeated_repeatedFloat_codec); 2913 repeatedDouble_.WriteTo(ref output, _repeated_repeatedDouble_codec); 2914 repeatedBool_.WriteTo(ref output, _repeated_repeatedBool_codec); 2915 repeatedString_.WriteTo(ref output, _repeated_repeatedString_codec); 2916 repeatedBytes_.WriteTo(ref output, _repeated_repeatedBytes_codec); 2917 repeatedNestedMessage_.WriteTo(ref output, _repeated_repeatedNestedMessage_codec); 2918 repeatedForeignMessage_.WriteTo(ref output, _repeated_repeatedForeignMessage_codec); 2919 repeatedNestedEnum_.WriteTo(ref output, _repeated_repeatedNestedEnum_codec); 2920 repeatedForeignEnum_.WriteTo(ref output, _repeated_repeatedForeignEnum_codec); 2921 repeatedStringPiece_.WriteTo(ref output, _repeated_repeatedStringPiece_codec); 2922 repeatedCord_.WriteTo(ref output, _repeated_repeatedCord_codec); 2923 mapInt32Int32_.WriteTo(ref output, _map_mapInt32Int32_codec); 2924 mapInt64Int64_.WriteTo(ref output, _map_mapInt64Int64_codec); 2925 mapUint32Uint32_.WriteTo(ref output, _map_mapUint32Uint32_codec); 2926 mapUint64Uint64_.WriteTo(ref output, _map_mapUint64Uint64_codec); 2927 mapSint32Sint32_.WriteTo(ref output, _map_mapSint32Sint32_codec); 2928 mapSint64Sint64_.WriteTo(ref output, _map_mapSint64Sint64_codec); 2929 mapFixed32Fixed32_.WriteTo(ref output, _map_mapFixed32Fixed32_codec); 2930 mapFixed64Fixed64_.WriteTo(ref output, _map_mapFixed64Fixed64_codec); 2931 mapSfixed32Sfixed32_.WriteTo(ref output, _map_mapSfixed32Sfixed32_codec); 2932 mapSfixed64Sfixed64_.WriteTo(ref output, _map_mapSfixed64Sfixed64_codec); 2933 mapInt32Float_.WriteTo(ref output, _map_mapInt32Float_codec); 2934 mapInt32Double_.WriteTo(ref output, _map_mapInt32Double_codec); 2935 mapBoolBool_.WriteTo(ref output, _map_mapBoolBool_codec); 2936 mapStringString_.WriteTo(ref output, _map_mapStringString_codec); 2937 mapStringBytes_.WriteTo(ref output, _map_mapStringBytes_codec); 2938 mapStringNestedMessage_.WriteTo(ref output, _map_mapStringNestedMessage_codec); 2939 mapStringForeignMessage_.WriteTo(ref output, _map_mapStringForeignMessage_codec); 2940 mapStringNestedEnum_.WriteTo(ref output, _map_mapStringNestedEnum_codec); 2941 mapStringForeignEnum_.WriteTo(ref output, _map_mapStringForeignEnum_codec); 2942 packedInt32_.WriteTo(ref output, _repeated_packedInt32_codec); 2943 packedInt64_.WriteTo(ref output, _repeated_packedInt64_codec); 2944 packedUint32_.WriteTo(ref output, _repeated_packedUint32_codec); 2945 packedUint64_.WriteTo(ref output, _repeated_packedUint64_codec); 2946 packedSint32_.WriteTo(ref output, _repeated_packedSint32_codec); 2947 packedSint64_.WriteTo(ref output, _repeated_packedSint64_codec); 2948 packedFixed32_.WriteTo(ref output, _repeated_packedFixed32_codec); 2949 packedFixed64_.WriteTo(ref output, _repeated_packedFixed64_codec); 2950 packedSfixed32_.WriteTo(ref output, _repeated_packedSfixed32_codec); 2951 packedSfixed64_.WriteTo(ref output, _repeated_packedSfixed64_codec); 2952 packedFloat_.WriteTo(ref output, _repeated_packedFloat_codec); 2953 packedDouble_.WriteTo(ref output, _repeated_packedDouble_codec); 2954 packedBool_.WriteTo(ref output, _repeated_packedBool_codec); 2955 packedNestedEnum_.WriteTo(ref output, _repeated_packedNestedEnum_codec); 2956 unpackedInt32_.WriteTo(ref output, _repeated_unpackedInt32_codec); 2957 unpackedInt64_.WriteTo(ref output, _repeated_unpackedInt64_codec); 2958 unpackedUint32_.WriteTo(ref output, _repeated_unpackedUint32_codec); 2959 unpackedUint64_.WriteTo(ref output, _repeated_unpackedUint64_codec); 2960 unpackedSint32_.WriteTo(ref output, _repeated_unpackedSint32_codec); 2961 unpackedSint64_.WriteTo(ref output, _repeated_unpackedSint64_codec); 2962 unpackedFixed32_.WriteTo(ref output, _repeated_unpackedFixed32_codec); 2963 unpackedFixed64_.WriteTo(ref output, _repeated_unpackedFixed64_codec); 2964 unpackedSfixed32_.WriteTo(ref output, _repeated_unpackedSfixed32_codec); 2965 unpackedSfixed64_.WriteTo(ref output, _repeated_unpackedSfixed64_codec); 2966 unpackedFloat_.WriteTo(ref output, _repeated_unpackedFloat_codec); 2967 unpackedDouble_.WriteTo(ref output, _repeated_unpackedDouble_codec); 2968 unpackedBool_.WriteTo(ref output, _repeated_unpackedBool_codec); 2969 unpackedNestedEnum_.WriteTo(ref output, _repeated_unpackedNestedEnum_codec); 2970 if (oneofFieldCase_ == OneofFieldOneofCase.OneofUint32) { 2971 output.WriteRawTag(248, 6); 2972 output.WriteUInt32(OneofUint32); 2973 } 2974 if (oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage) { 2975 output.WriteRawTag(130, 7); 2976 output.WriteMessage(OneofNestedMessage); 2977 } 2978 if (oneofFieldCase_ == OneofFieldOneofCase.OneofString) { 2979 output.WriteRawTag(138, 7); 2980 output.WriteString(OneofString); 2981 } 2982 if (oneofFieldCase_ == OneofFieldOneofCase.OneofBytes) { 2983 output.WriteRawTag(146, 7); 2984 output.WriteBytes(OneofBytes); 2985 } 2986 if (oneofFieldCase_ == OneofFieldOneofCase.OneofBool) { 2987 output.WriteRawTag(152, 7); 2988 output.WriteBool(OneofBool); 2989 } 2990 if (oneofFieldCase_ == OneofFieldOneofCase.OneofUint64) { 2991 output.WriteRawTag(160, 7); 2992 output.WriteUInt64(OneofUint64); 2993 } 2994 if (oneofFieldCase_ == OneofFieldOneofCase.OneofFloat) { 2995 output.WriteRawTag(173, 7); 2996 output.WriteFloat(OneofFloat); 2997 } 2998 if (oneofFieldCase_ == OneofFieldOneofCase.OneofDouble) { 2999 output.WriteRawTag(177, 7); 3000 output.WriteDouble(OneofDouble); 3001 } 3002 if (oneofFieldCase_ == OneofFieldOneofCase.OneofEnum) { 3003 output.WriteRawTag(184, 7); 3004 output.WriteEnum((int) OneofEnum); 3005 } 3006 if (oneofFieldCase_ == OneofFieldOneofCase.OneofNullValue) { 3007 output.WriteRawTag(192, 7); 3008 output.WriteEnum((int) OneofNullValue); 3009 } 3010 if (optionalBoolWrapper_ != null) { 3011 _single_optionalBoolWrapper_codec.WriteTagAndValue(ref output, OptionalBoolWrapper); 3012 } 3013 if (optionalInt32Wrapper_ != null) { 3014 _single_optionalInt32Wrapper_codec.WriteTagAndValue(ref output, OptionalInt32Wrapper); 3015 } 3016 if (optionalInt64Wrapper_ != null) { 3017 _single_optionalInt64Wrapper_codec.WriteTagAndValue(ref output, OptionalInt64Wrapper); 3018 } 3019 if (optionalUint32Wrapper_ != null) { 3020 _single_optionalUint32Wrapper_codec.WriteTagAndValue(ref output, OptionalUint32Wrapper); 3021 } 3022 if (optionalUint64Wrapper_ != null) { 3023 _single_optionalUint64Wrapper_codec.WriteTagAndValue(ref output, OptionalUint64Wrapper); 3024 } 3025 if (optionalFloatWrapper_ != null) { 3026 _single_optionalFloatWrapper_codec.WriteTagAndValue(ref output, OptionalFloatWrapper); 3027 } 3028 if (optionalDoubleWrapper_ != null) { 3029 _single_optionalDoubleWrapper_codec.WriteTagAndValue(ref output, OptionalDoubleWrapper); 3030 } 3031 if (optionalStringWrapper_ != null) { 3032 _single_optionalStringWrapper_codec.WriteTagAndValue(ref output, OptionalStringWrapper); 3033 } 3034 if (optionalBytesWrapper_ != null) { 3035 _single_optionalBytesWrapper_codec.WriteTagAndValue(ref output, OptionalBytesWrapper); 3036 } 3037 repeatedBoolWrapper_.WriteTo(ref output, _repeated_repeatedBoolWrapper_codec); 3038 repeatedInt32Wrapper_.WriteTo(ref output, _repeated_repeatedInt32Wrapper_codec); 3039 repeatedInt64Wrapper_.WriteTo(ref output, _repeated_repeatedInt64Wrapper_codec); 3040 repeatedUint32Wrapper_.WriteTo(ref output, _repeated_repeatedUint32Wrapper_codec); 3041 repeatedUint64Wrapper_.WriteTo(ref output, _repeated_repeatedUint64Wrapper_codec); 3042 repeatedFloatWrapper_.WriteTo(ref output, _repeated_repeatedFloatWrapper_codec); 3043 repeatedDoubleWrapper_.WriteTo(ref output, _repeated_repeatedDoubleWrapper_codec); 3044 repeatedStringWrapper_.WriteTo(ref output, _repeated_repeatedStringWrapper_codec); 3045 repeatedBytesWrapper_.WriteTo(ref output, _repeated_repeatedBytesWrapper_codec); 3046 if (optionalDuration_ != null) { 3047 output.WriteRawTag(234, 18); 3048 output.WriteMessage(OptionalDuration); 3049 } 3050 if (optionalTimestamp_ != null) { 3051 output.WriteRawTag(242, 18); 3052 output.WriteMessage(OptionalTimestamp); 3053 } 3054 if (optionalFieldMask_ != null) { 3055 output.WriteRawTag(250, 18); 3056 output.WriteMessage(OptionalFieldMask); 3057 } 3058 if (optionalStruct_ != null) { 3059 output.WriteRawTag(130, 19); 3060 output.WriteMessage(OptionalStruct); 3061 } 3062 if (optionalAny_ != null) { 3063 output.WriteRawTag(138, 19); 3064 output.WriteMessage(OptionalAny); 3065 } 3066 if (optionalValue_ != null) { 3067 output.WriteRawTag(146, 19); 3068 output.WriteMessage(OptionalValue); 3069 } 3070 if (OptionalNullValue != global::Google.Protobuf.WellKnownTypes.NullValue.NullValue) { 3071 output.WriteRawTag(152, 19); 3072 output.WriteEnum((int) OptionalNullValue); 3073 } 3074 repeatedDuration_.WriteTo(ref output, _repeated_repeatedDuration_codec); 3075 repeatedTimestamp_.WriteTo(ref output, _repeated_repeatedTimestamp_codec); 3076 repeatedFieldmask_.WriteTo(ref output, _repeated_repeatedFieldmask_codec); 3077 repeatedAny_.WriteTo(ref output, _repeated_repeatedAny_codec); 3078 repeatedValue_.WriteTo(ref output, _repeated_repeatedValue_codec); 3079 repeatedListValue_.WriteTo(ref output, _repeated_repeatedListValue_codec); 3080 repeatedStruct_.WriteTo(ref output, _repeated_repeatedStruct_codec); 3081 if (Fieldname1 != 0) { 3082 output.WriteRawTag(136, 25); 3083 output.WriteInt32(Fieldname1); 3084 } 3085 if (FieldName2 != 0) { 3086 output.WriteRawTag(144, 25); 3087 output.WriteInt32(FieldName2); 3088 } 3089 if (FieldName3 != 0) { 3090 output.WriteRawTag(152, 25); 3091 output.WriteInt32(FieldName3); 3092 } 3093 if (FieldName4 != 0) { 3094 output.WriteRawTag(160, 25); 3095 output.WriteInt32(FieldName4); 3096 } 3097 if (Field0Name5 != 0) { 3098 output.WriteRawTag(168, 25); 3099 output.WriteInt32(Field0Name5); 3100 } 3101 if (Field0Name6 != 0) { 3102 output.WriteRawTag(176, 25); 3103 output.WriteInt32(Field0Name6); 3104 } 3105 if (FieldName7 != 0) { 3106 output.WriteRawTag(184, 25); 3107 output.WriteInt32(FieldName7); 3108 } 3109 if (FieldName8 != 0) { 3110 output.WriteRawTag(192, 25); 3111 output.WriteInt32(FieldName8); 3112 } 3113 if (FieldName9 != 0) { 3114 output.WriteRawTag(200, 25); 3115 output.WriteInt32(FieldName9); 3116 } 3117 if (FieldName10 != 0) { 3118 output.WriteRawTag(208, 25); 3119 output.WriteInt32(FieldName10); 3120 } 3121 if (FIELDNAME11 != 0) { 3122 output.WriteRawTag(216, 25); 3123 output.WriteInt32(FIELDNAME11); 3124 } 3125 if (FIELDName12 != 0) { 3126 output.WriteRawTag(224, 25); 3127 output.WriteInt32(FIELDName12); 3128 } 3129 if (FieldName13 != 0) { 3130 output.WriteRawTag(232, 25); 3131 output.WriteInt32(FieldName13); 3132 } 3133 if (FieldName14 != 0) { 3134 output.WriteRawTag(240, 25); 3135 output.WriteInt32(FieldName14); 3136 } 3137 if (FieldName15 != 0) { 3138 output.WriteRawTag(248, 25); 3139 output.WriteInt32(FieldName15); 3140 } 3141 if (FieldName16 != 0) { 3142 output.WriteRawTag(128, 26); 3143 output.WriteInt32(FieldName16); 3144 } 3145 if (FieldName17 != 0) { 3146 output.WriteRawTag(136, 26); 3147 output.WriteInt32(FieldName17); 3148 } 3149 if (FieldName18 != 0) { 3150 output.WriteRawTag(144, 26); 3151 output.WriteInt32(FieldName18); 3152 } 3153 if (_unknownFields != null) { 3154 _unknownFields.WriteTo(ref output); 3155 } 3156 } 3157 #endif 3158 3159 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] CalculateSize()3160 public int CalculateSize() { 3161 int size = 0; 3162 if (OptionalInt32 != 0) { 3163 size += 1 + pb::CodedOutputStream.ComputeInt32Size(OptionalInt32); 3164 } 3165 if (OptionalInt64 != 0L) { 3166 size += 1 + pb::CodedOutputStream.ComputeInt64Size(OptionalInt64); 3167 } 3168 if (OptionalUint32 != 0) { 3169 size += 1 + pb::CodedOutputStream.ComputeUInt32Size(OptionalUint32); 3170 } 3171 if (OptionalUint64 != 0UL) { 3172 size += 1 + pb::CodedOutputStream.ComputeUInt64Size(OptionalUint64); 3173 } 3174 if (OptionalSint32 != 0) { 3175 size += 1 + pb::CodedOutputStream.ComputeSInt32Size(OptionalSint32); 3176 } 3177 if (OptionalSint64 != 0L) { 3178 size += 1 + pb::CodedOutputStream.ComputeSInt64Size(OptionalSint64); 3179 } 3180 if (OptionalFixed32 != 0) { 3181 size += 1 + 4; 3182 } 3183 if (OptionalFixed64 != 0UL) { 3184 size += 1 + 8; 3185 } 3186 if (OptionalSfixed32 != 0) { 3187 size += 1 + 4; 3188 } 3189 if (OptionalSfixed64 != 0L) { 3190 size += 1 + 8; 3191 } 3192 if (OptionalFloat != 0F) { 3193 size += 1 + 4; 3194 } 3195 if (OptionalDouble != 0D) { 3196 size += 1 + 8; 3197 } 3198 if (OptionalBool != false) { 3199 size += 1 + 1; 3200 } 3201 if (OptionalString.Length != 0) { 3202 size += 1 + pb::CodedOutputStream.ComputeStringSize(OptionalString); 3203 } 3204 if (OptionalBytes.Length != 0) { 3205 size += 1 + pb::CodedOutputStream.ComputeBytesSize(OptionalBytes); 3206 } 3207 if (optionalNestedMessage_ != null) { 3208 size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalNestedMessage); 3209 } 3210 if (optionalForeignMessage_ != null) { 3211 size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalForeignMessage); 3212 } 3213 if (OptionalNestedEnum != global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedEnum.Foo) { 3214 size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) OptionalNestedEnum); 3215 } 3216 if (OptionalForeignEnum != global::ProtobufTestMessages.Proto3.ForeignEnum.ForeignFoo) { 3217 size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) OptionalForeignEnum); 3218 } 3219 if (OptionalAliasedEnum != global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.AliasedEnum.AliasFoo) { 3220 size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) OptionalAliasedEnum); 3221 } 3222 if (OptionalStringPiece.Length != 0) { 3223 size += 2 + pb::CodedOutputStream.ComputeStringSize(OptionalStringPiece); 3224 } 3225 if (OptionalCord.Length != 0) { 3226 size += 2 + pb::CodedOutputStream.ComputeStringSize(OptionalCord); 3227 } 3228 if (recursiveMessage_ != null) { 3229 size += 2 + pb::CodedOutputStream.ComputeMessageSize(RecursiveMessage); 3230 } 3231 size += repeatedInt32_.CalculateSize(_repeated_repeatedInt32_codec); 3232 size += repeatedInt64_.CalculateSize(_repeated_repeatedInt64_codec); 3233 size += repeatedUint32_.CalculateSize(_repeated_repeatedUint32_codec); 3234 size += repeatedUint64_.CalculateSize(_repeated_repeatedUint64_codec); 3235 size += repeatedSint32_.CalculateSize(_repeated_repeatedSint32_codec); 3236 size += repeatedSint64_.CalculateSize(_repeated_repeatedSint64_codec); 3237 size += repeatedFixed32_.CalculateSize(_repeated_repeatedFixed32_codec); 3238 size += repeatedFixed64_.CalculateSize(_repeated_repeatedFixed64_codec); 3239 size += repeatedSfixed32_.CalculateSize(_repeated_repeatedSfixed32_codec); 3240 size += repeatedSfixed64_.CalculateSize(_repeated_repeatedSfixed64_codec); 3241 size += repeatedFloat_.CalculateSize(_repeated_repeatedFloat_codec); 3242 size += repeatedDouble_.CalculateSize(_repeated_repeatedDouble_codec); 3243 size += repeatedBool_.CalculateSize(_repeated_repeatedBool_codec); 3244 size += repeatedString_.CalculateSize(_repeated_repeatedString_codec); 3245 size += repeatedBytes_.CalculateSize(_repeated_repeatedBytes_codec); 3246 size += repeatedNestedMessage_.CalculateSize(_repeated_repeatedNestedMessage_codec); 3247 size += repeatedForeignMessage_.CalculateSize(_repeated_repeatedForeignMessage_codec); 3248 size += repeatedNestedEnum_.CalculateSize(_repeated_repeatedNestedEnum_codec); 3249 size += repeatedForeignEnum_.CalculateSize(_repeated_repeatedForeignEnum_codec); 3250 size += repeatedStringPiece_.CalculateSize(_repeated_repeatedStringPiece_codec); 3251 size += repeatedCord_.CalculateSize(_repeated_repeatedCord_codec); 3252 size += packedInt32_.CalculateSize(_repeated_packedInt32_codec); 3253 size += packedInt64_.CalculateSize(_repeated_packedInt64_codec); 3254 size += packedUint32_.CalculateSize(_repeated_packedUint32_codec); 3255 size += packedUint64_.CalculateSize(_repeated_packedUint64_codec); 3256 size += packedSint32_.CalculateSize(_repeated_packedSint32_codec); 3257 size += packedSint64_.CalculateSize(_repeated_packedSint64_codec); 3258 size += packedFixed32_.CalculateSize(_repeated_packedFixed32_codec); 3259 size += packedFixed64_.CalculateSize(_repeated_packedFixed64_codec); 3260 size += packedSfixed32_.CalculateSize(_repeated_packedSfixed32_codec); 3261 size += packedSfixed64_.CalculateSize(_repeated_packedSfixed64_codec); 3262 size += packedFloat_.CalculateSize(_repeated_packedFloat_codec); 3263 size += packedDouble_.CalculateSize(_repeated_packedDouble_codec); 3264 size += packedBool_.CalculateSize(_repeated_packedBool_codec); 3265 size += packedNestedEnum_.CalculateSize(_repeated_packedNestedEnum_codec); 3266 size += unpackedInt32_.CalculateSize(_repeated_unpackedInt32_codec); 3267 size += unpackedInt64_.CalculateSize(_repeated_unpackedInt64_codec); 3268 size += unpackedUint32_.CalculateSize(_repeated_unpackedUint32_codec); 3269 size += unpackedUint64_.CalculateSize(_repeated_unpackedUint64_codec); 3270 size += unpackedSint32_.CalculateSize(_repeated_unpackedSint32_codec); 3271 size += unpackedSint64_.CalculateSize(_repeated_unpackedSint64_codec); 3272 size += unpackedFixed32_.CalculateSize(_repeated_unpackedFixed32_codec); 3273 size += unpackedFixed64_.CalculateSize(_repeated_unpackedFixed64_codec); 3274 size += unpackedSfixed32_.CalculateSize(_repeated_unpackedSfixed32_codec); 3275 size += unpackedSfixed64_.CalculateSize(_repeated_unpackedSfixed64_codec); 3276 size += unpackedFloat_.CalculateSize(_repeated_unpackedFloat_codec); 3277 size += unpackedDouble_.CalculateSize(_repeated_unpackedDouble_codec); 3278 size += unpackedBool_.CalculateSize(_repeated_unpackedBool_codec); 3279 size += unpackedNestedEnum_.CalculateSize(_repeated_unpackedNestedEnum_codec); 3280 size += mapInt32Int32_.CalculateSize(_map_mapInt32Int32_codec); 3281 size += mapInt64Int64_.CalculateSize(_map_mapInt64Int64_codec); 3282 size += mapUint32Uint32_.CalculateSize(_map_mapUint32Uint32_codec); 3283 size += mapUint64Uint64_.CalculateSize(_map_mapUint64Uint64_codec); 3284 size += mapSint32Sint32_.CalculateSize(_map_mapSint32Sint32_codec); 3285 size += mapSint64Sint64_.CalculateSize(_map_mapSint64Sint64_codec); 3286 size += mapFixed32Fixed32_.CalculateSize(_map_mapFixed32Fixed32_codec); 3287 size += mapFixed64Fixed64_.CalculateSize(_map_mapFixed64Fixed64_codec); 3288 size += mapSfixed32Sfixed32_.CalculateSize(_map_mapSfixed32Sfixed32_codec); 3289 size += mapSfixed64Sfixed64_.CalculateSize(_map_mapSfixed64Sfixed64_codec); 3290 size += mapInt32Float_.CalculateSize(_map_mapInt32Float_codec); 3291 size += mapInt32Double_.CalculateSize(_map_mapInt32Double_codec); 3292 size += mapBoolBool_.CalculateSize(_map_mapBoolBool_codec); 3293 size += mapStringString_.CalculateSize(_map_mapStringString_codec); 3294 size += mapStringBytes_.CalculateSize(_map_mapStringBytes_codec); 3295 size += mapStringNestedMessage_.CalculateSize(_map_mapStringNestedMessage_codec); 3296 size += mapStringForeignMessage_.CalculateSize(_map_mapStringForeignMessage_codec); 3297 size += mapStringNestedEnum_.CalculateSize(_map_mapStringNestedEnum_codec); 3298 size += mapStringForeignEnum_.CalculateSize(_map_mapStringForeignEnum_codec); 3299 if (oneofFieldCase_ == OneofFieldOneofCase.OneofUint32) { 3300 size += 2 + pb::CodedOutputStream.ComputeUInt32Size(OneofUint32); 3301 } 3302 if (oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage) { 3303 size += 2 + pb::CodedOutputStream.ComputeMessageSize(OneofNestedMessage); 3304 } 3305 if (oneofFieldCase_ == OneofFieldOneofCase.OneofString) { 3306 size += 2 + pb::CodedOutputStream.ComputeStringSize(OneofString); 3307 } 3308 if (oneofFieldCase_ == OneofFieldOneofCase.OneofBytes) { 3309 size += 2 + pb::CodedOutputStream.ComputeBytesSize(OneofBytes); 3310 } 3311 if (oneofFieldCase_ == OneofFieldOneofCase.OneofBool) { 3312 size += 2 + 1; 3313 } 3314 if (oneofFieldCase_ == OneofFieldOneofCase.OneofUint64) { 3315 size += 2 + pb::CodedOutputStream.ComputeUInt64Size(OneofUint64); 3316 } 3317 if (oneofFieldCase_ == OneofFieldOneofCase.OneofFloat) { 3318 size += 2 + 4; 3319 } 3320 if (oneofFieldCase_ == OneofFieldOneofCase.OneofDouble) { 3321 size += 2 + 8; 3322 } 3323 if (oneofFieldCase_ == OneofFieldOneofCase.OneofEnum) { 3324 size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) OneofEnum); 3325 } 3326 if (oneofFieldCase_ == OneofFieldOneofCase.OneofNullValue) { 3327 size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) OneofNullValue); 3328 } 3329 if (optionalBoolWrapper_ != null) { 3330 size += _single_optionalBoolWrapper_codec.CalculateSizeWithTag(OptionalBoolWrapper); 3331 } 3332 if (optionalInt32Wrapper_ != null) { 3333 size += _single_optionalInt32Wrapper_codec.CalculateSizeWithTag(OptionalInt32Wrapper); 3334 } 3335 if (optionalInt64Wrapper_ != null) { 3336 size += _single_optionalInt64Wrapper_codec.CalculateSizeWithTag(OptionalInt64Wrapper); 3337 } 3338 if (optionalUint32Wrapper_ != null) { 3339 size += _single_optionalUint32Wrapper_codec.CalculateSizeWithTag(OptionalUint32Wrapper); 3340 } 3341 if (optionalUint64Wrapper_ != null) { 3342 size += _single_optionalUint64Wrapper_codec.CalculateSizeWithTag(OptionalUint64Wrapper); 3343 } 3344 if (optionalFloatWrapper_ != null) { 3345 size += _single_optionalFloatWrapper_codec.CalculateSizeWithTag(OptionalFloatWrapper); 3346 } 3347 if (optionalDoubleWrapper_ != null) { 3348 size += _single_optionalDoubleWrapper_codec.CalculateSizeWithTag(OptionalDoubleWrapper); 3349 } 3350 if (optionalStringWrapper_ != null) { 3351 size += _single_optionalStringWrapper_codec.CalculateSizeWithTag(OptionalStringWrapper); 3352 } 3353 if (optionalBytesWrapper_ != null) { 3354 size += _single_optionalBytesWrapper_codec.CalculateSizeWithTag(OptionalBytesWrapper); 3355 } 3356 size += repeatedBoolWrapper_.CalculateSize(_repeated_repeatedBoolWrapper_codec); 3357 size += repeatedInt32Wrapper_.CalculateSize(_repeated_repeatedInt32Wrapper_codec); 3358 size += repeatedInt64Wrapper_.CalculateSize(_repeated_repeatedInt64Wrapper_codec); 3359 size += repeatedUint32Wrapper_.CalculateSize(_repeated_repeatedUint32Wrapper_codec); 3360 size += repeatedUint64Wrapper_.CalculateSize(_repeated_repeatedUint64Wrapper_codec); 3361 size += repeatedFloatWrapper_.CalculateSize(_repeated_repeatedFloatWrapper_codec); 3362 size += repeatedDoubleWrapper_.CalculateSize(_repeated_repeatedDoubleWrapper_codec); 3363 size += repeatedStringWrapper_.CalculateSize(_repeated_repeatedStringWrapper_codec); 3364 size += repeatedBytesWrapper_.CalculateSize(_repeated_repeatedBytesWrapper_codec); 3365 if (optionalDuration_ != null) { 3366 size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalDuration); 3367 } 3368 if (optionalTimestamp_ != null) { 3369 size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalTimestamp); 3370 } 3371 if (optionalFieldMask_ != null) { 3372 size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalFieldMask); 3373 } 3374 if (optionalStruct_ != null) { 3375 size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalStruct); 3376 } 3377 if (optionalAny_ != null) { 3378 size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalAny); 3379 } 3380 if (optionalValue_ != null) { 3381 size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalValue); 3382 } 3383 if (OptionalNullValue != global::Google.Protobuf.WellKnownTypes.NullValue.NullValue) { 3384 size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) OptionalNullValue); 3385 } 3386 size += repeatedDuration_.CalculateSize(_repeated_repeatedDuration_codec); 3387 size += repeatedTimestamp_.CalculateSize(_repeated_repeatedTimestamp_codec); 3388 size += repeatedFieldmask_.CalculateSize(_repeated_repeatedFieldmask_codec); 3389 size += repeatedStruct_.CalculateSize(_repeated_repeatedStruct_codec); 3390 size += repeatedAny_.CalculateSize(_repeated_repeatedAny_codec); 3391 size += repeatedValue_.CalculateSize(_repeated_repeatedValue_codec); 3392 size += repeatedListValue_.CalculateSize(_repeated_repeatedListValue_codec); 3393 if (Fieldname1 != 0) { 3394 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Fieldname1); 3395 } 3396 if (FieldName2 != 0) { 3397 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName2); 3398 } 3399 if (FieldName3 != 0) { 3400 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName3); 3401 } 3402 if (FieldName4 != 0) { 3403 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName4); 3404 } 3405 if (Field0Name5 != 0) { 3406 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field0Name5); 3407 } 3408 if (Field0Name6 != 0) { 3409 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field0Name6); 3410 } 3411 if (FieldName7 != 0) { 3412 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName7); 3413 } 3414 if (FieldName8 != 0) { 3415 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName8); 3416 } 3417 if (FieldName9 != 0) { 3418 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName9); 3419 } 3420 if (FieldName10 != 0) { 3421 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName10); 3422 } 3423 if (FIELDNAME11 != 0) { 3424 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FIELDNAME11); 3425 } 3426 if (FIELDName12 != 0) { 3427 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FIELDName12); 3428 } 3429 if (FieldName13 != 0) { 3430 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName13); 3431 } 3432 if (FieldName14 != 0) { 3433 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName14); 3434 } 3435 if (FieldName15 != 0) { 3436 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName15); 3437 } 3438 if (FieldName16 != 0) { 3439 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName16); 3440 } 3441 if (FieldName17 != 0) { 3442 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName17); 3443 } 3444 if (FieldName18 != 0) { 3445 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName18); 3446 } 3447 if (_unknownFields != null) { 3448 size += _unknownFields.CalculateSize(); 3449 } 3450 return size; 3451 } 3452 3453 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] MergeFrom(TestAllTypesProto3 other)3454 public void MergeFrom(TestAllTypesProto3 other) { 3455 if (other == null) { 3456 return; 3457 } 3458 if (other.OptionalInt32 != 0) { 3459 OptionalInt32 = other.OptionalInt32; 3460 } 3461 if (other.OptionalInt64 != 0L) { 3462 OptionalInt64 = other.OptionalInt64; 3463 } 3464 if (other.OptionalUint32 != 0) { 3465 OptionalUint32 = other.OptionalUint32; 3466 } 3467 if (other.OptionalUint64 != 0UL) { 3468 OptionalUint64 = other.OptionalUint64; 3469 } 3470 if (other.OptionalSint32 != 0) { 3471 OptionalSint32 = other.OptionalSint32; 3472 } 3473 if (other.OptionalSint64 != 0L) { 3474 OptionalSint64 = other.OptionalSint64; 3475 } 3476 if (other.OptionalFixed32 != 0) { 3477 OptionalFixed32 = other.OptionalFixed32; 3478 } 3479 if (other.OptionalFixed64 != 0UL) { 3480 OptionalFixed64 = other.OptionalFixed64; 3481 } 3482 if (other.OptionalSfixed32 != 0) { 3483 OptionalSfixed32 = other.OptionalSfixed32; 3484 } 3485 if (other.OptionalSfixed64 != 0L) { 3486 OptionalSfixed64 = other.OptionalSfixed64; 3487 } 3488 if (other.OptionalFloat != 0F) { 3489 OptionalFloat = other.OptionalFloat; 3490 } 3491 if (other.OptionalDouble != 0D) { 3492 OptionalDouble = other.OptionalDouble; 3493 } 3494 if (other.OptionalBool != false) { 3495 OptionalBool = other.OptionalBool; 3496 } 3497 if (other.OptionalString.Length != 0) { 3498 OptionalString = other.OptionalString; 3499 } 3500 if (other.OptionalBytes.Length != 0) { 3501 OptionalBytes = other.OptionalBytes; 3502 } 3503 if (other.optionalNestedMessage_ != null) { 3504 if (optionalNestedMessage_ == null) { 3505 OptionalNestedMessage = new global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedMessage(); 3506 } 3507 OptionalNestedMessage.MergeFrom(other.OptionalNestedMessage); 3508 } 3509 if (other.optionalForeignMessage_ != null) { 3510 if (optionalForeignMessage_ == null) { 3511 OptionalForeignMessage = new global::ProtobufTestMessages.Proto3.ForeignMessage(); 3512 } 3513 OptionalForeignMessage.MergeFrom(other.OptionalForeignMessage); 3514 } 3515 if (other.OptionalNestedEnum != global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedEnum.Foo) { 3516 OptionalNestedEnum = other.OptionalNestedEnum; 3517 } 3518 if (other.OptionalForeignEnum != global::ProtobufTestMessages.Proto3.ForeignEnum.ForeignFoo) { 3519 OptionalForeignEnum = other.OptionalForeignEnum; 3520 } 3521 if (other.OptionalAliasedEnum != global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.AliasedEnum.AliasFoo) { 3522 OptionalAliasedEnum = other.OptionalAliasedEnum; 3523 } 3524 if (other.OptionalStringPiece.Length != 0) { 3525 OptionalStringPiece = other.OptionalStringPiece; 3526 } 3527 if (other.OptionalCord.Length != 0) { 3528 OptionalCord = other.OptionalCord; 3529 } 3530 if (other.recursiveMessage_ != null) { 3531 if (recursiveMessage_ == null) { 3532 RecursiveMessage = new global::ProtobufTestMessages.Proto3.TestAllTypesProto3(); 3533 } 3534 RecursiveMessage.MergeFrom(other.RecursiveMessage); 3535 } 3536 repeatedInt32_.Add(other.repeatedInt32_); 3537 repeatedInt64_.Add(other.repeatedInt64_); 3538 repeatedUint32_.Add(other.repeatedUint32_); 3539 repeatedUint64_.Add(other.repeatedUint64_); 3540 repeatedSint32_.Add(other.repeatedSint32_); 3541 repeatedSint64_.Add(other.repeatedSint64_); 3542 repeatedFixed32_.Add(other.repeatedFixed32_); 3543 repeatedFixed64_.Add(other.repeatedFixed64_); 3544 repeatedSfixed32_.Add(other.repeatedSfixed32_); 3545 repeatedSfixed64_.Add(other.repeatedSfixed64_); 3546 repeatedFloat_.Add(other.repeatedFloat_); 3547 repeatedDouble_.Add(other.repeatedDouble_); 3548 repeatedBool_.Add(other.repeatedBool_); 3549 repeatedString_.Add(other.repeatedString_); 3550 repeatedBytes_.Add(other.repeatedBytes_); 3551 repeatedNestedMessage_.Add(other.repeatedNestedMessage_); 3552 repeatedForeignMessage_.Add(other.repeatedForeignMessage_); 3553 repeatedNestedEnum_.Add(other.repeatedNestedEnum_); 3554 repeatedForeignEnum_.Add(other.repeatedForeignEnum_); 3555 repeatedStringPiece_.Add(other.repeatedStringPiece_); 3556 repeatedCord_.Add(other.repeatedCord_); 3557 packedInt32_.Add(other.packedInt32_); 3558 packedInt64_.Add(other.packedInt64_); 3559 packedUint32_.Add(other.packedUint32_); 3560 packedUint64_.Add(other.packedUint64_); 3561 packedSint32_.Add(other.packedSint32_); 3562 packedSint64_.Add(other.packedSint64_); 3563 packedFixed32_.Add(other.packedFixed32_); 3564 packedFixed64_.Add(other.packedFixed64_); 3565 packedSfixed32_.Add(other.packedSfixed32_); 3566 packedSfixed64_.Add(other.packedSfixed64_); 3567 packedFloat_.Add(other.packedFloat_); 3568 packedDouble_.Add(other.packedDouble_); 3569 packedBool_.Add(other.packedBool_); 3570 packedNestedEnum_.Add(other.packedNestedEnum_); 3571 unpackedInt32_.Add(other.unpackedInt32_); 3572 unpackedInt64_.Add(other.unpackedInt64_); 3573 unpackedUint32_.Add(other.unpackedUint32_); 3574 unpackedUint64_.Add(other.unpackedUint64_); 3575 unpackedSint32_.Add(other.unpackedSint32_); 3576 unpackedSint64_.Add(other.unpackedSint64_); 3577 unpackedFixed32_.Add(other.unpackedFixed32_); 3578 unpackedFixed64_.Add(other.unpackedFixed64_); 3579 unpackedSfixed32_.Add(other.unpackedSfixed32_); 3580 unpackedSfixed64_.Add(other.unpackedSfixed64_); 3581 unpackedFloat_.Add(other.unpackedFloat_); 3582 unpackedDouble_.Add(other.unpackedDouble_); 3583 unpackedBool_.Add(other.unpackedBool_); 3584 unpackedNestedEnum_.Add(other.unpackedNestedEnum_); 3585 mapInt32Int32_.Add(other.mapInt32Int32_); 3586 mapInt64Int64_.Add(other.mapInt64Int64_); 3587 mapUint32Uint32_.Add(other.mapUint32Uint32_); 3588 mapUint64Uint64_.Add(other.mapUint64Uint64_); 3589 mapSint32Sint32_.Add(other.mapSint32Sint32_); 3590 mapSint64Sint64_.Add(other.mapSint64Sint64_); 3591 mapFixed32Fixed32_.Add(other.mapFixed32Fixed32_); 3592 mapFixed64Fixed64_.Add(other.mapFixed64Fixed64_); 3593 mapSfixed32Sfixed32_.Add(other.mapSfixed32Sfixed32_); 3594 mapSfixed64Sfixed64_.Add(other.mapSfixed64Sfixed64_); 3595 mapInt32Float_.Add(other.mapInt32Float_); 3596 mapInt32Double_.Add(other.mapInt32Double_); 3597 mapBoolBool_.Add(other.mapBoolBool_); 3598 mapStringString_.Add(other.mapStringString_); 3599 mapStringBytes_.Add(other.mapStringBytes_); 3600 mapStringNestedMessage_.Add(other.mapStringNestedMessage_); 3601 mapStringForeignMessage_.Add(other.mapStringForeignMessage_); 3602 mapStringNestedEnum_.Add(other.mapStringNestedEnum_); 3603 mapStringForeignEnum_.Add(other.mapStringForeignEnum_); 3604 if (other.optionalBoolWrapper_ != null) { 3605 if (optionalBoolWrapper_ == null || other.OptionalBoolWrapper != false) { 3606 OptionalBoolWrapper = other.OptionalBoolWrapper; 3607 } 3608 } 3609 if (other.optionalInt32Wrapper_ != null) { 3610 if (optionalInt32Wrapper_ == null || other.OptionalInt32Wrapper != 0) { 3611 OptionalInt32Wrapper = other.OptionalInt32Wrapper; 3612 } 3613 } 3614 if (other.optionalInt64Wrapper_ != null) { 3615 if (optionalInt64Wrapper_ == null || other.OptionalInt64Wrapper != 0L) { 3616 OptionalInt64Wrapper = other.OptionalInt64Wrapper; 3617 } 3618 } 3619 if (other.optionalUint32Wrapper_ != null) { 3620 if (optionalUint32Wrapper_ == null || other.OptionalUint32Wrapper != 0) { 3621 OptionalUint32Wrapper = other.OptionalUint32Wrapper; 3622 } 3623 } 3624 if (other.optionalUint64Wrapper_ != null) { 3625 if (optionalUint64Wrapper_ == null || other.OptionalUint64Wrapper != 0UL) { 3626 OptionalUint64Wrapper = other.OptionalUint64Wrapper; 3627 } 3628 } 3629 if (other.optionalFloatWrapper_ != null) { 3630 if (optionalFloatWrapper_ == null || other.OptionalFloatWrapper != 0F) { 3631 OptionalFloatWrapper = other.OptionalFloatWrapper; 3632 } 3633 } 3634 if (other.optionalDoubleWrapper_ != null) { 3635 if (optionalDoubleWrapper_ == null || other.OptionalDoubleWrapper != 0D) { 3636 OptionalDoubleWrapper = other.OptionalDoubleWrapper; 3637 } 3638 } 3639 if (other.optionalStringWrapper_ != null) { 3640 if (optionalStringWrapper_ == null || other.OptionalStringWrapper != "") { 3641 OptionalStringWrapper = other.OptionalStringWrapper; 3642 } 3643 } 3644 if (other.optionalBytesWrapper_ != null) { 3645 if (optionalBytesWrapper_ == null || other.OptionalBytesWrapper != pb::ByteString.Empty) { 3646 OptionalBytesWrapper = other.OptionalBytesWrapper; 3647 } 3648 } 3649 repeatedBoolWrapper_.Add(other.repeatedBoolWrapper_); 3650 repeatedInt32Wrapper_.Add(other.repeatedInt32Wrapper_); 3651 repeatedInt64Wrapper_.Add(other.repeatedInt64Wrapper_); 3652 repeatedUint32Wrapper_.Add(other.repeatedUint32Wrapper_); 3653 repeatedUint64Wrapper_.Add(other.repeatedUint64Wrapper_); 3654 repeatedFloatWrapper_.Add(other.repeatedFloatWrapper_); 3655 repeatedDoubleWrapper_.Add(other.repeatedDoubleWrapper_); 3656 repeatedStringWrapper_.Add(other.repeatedStringWrapper_); 3657 repeatedBytesWrapper_.Add(other.repeatedBytesWrapper_); 3658 if (other.optionalDuration_ != null) { 3659 if (optionalDuration_ == null) { 3660 OptionalDuration = new global::Google.Protobuf.WellKnownTypes.Duration(); 3661 } 3662 OptionalDuration.MergeFrom(other.OptionalDuration); 3663 } 3664 if (other.optionalTimestamp_ != null) { 3665 if (optionalTimestamp_ == null) { 3666 OptionalTimestamp = new global::Google.Protobuf.WellKnownTypes.Timestamp(); 3667 } 3668 OptionalTimestamp.MergeFrom(other.OptionalTimestamp); 3669 } 3670 if (other.optionalFieldMask_ != null) { 3671 if (optionalFieldMask_ == null) { 3672 OptionalFieldMask = new global::Google.Protobuf.WellKnownTypes.FieldMask(); 3673 } 3674 OptionalFieldMask.MergeFrom(other.OptionalFieldMask); 3675 } 3676 if (other.optionalStruct_ != null) { 3677 if (optionalStruct_ == null) { 3678 OptionalStruct = new global::Google.Protobuf.WellKnownTypes.Struct(); 3679 } 3680 OptionalStruct.MergeFrom(other.OptionalStruct); 3681 } 3682 if (other.optionalAny_ != null) { 3683 if (optionalAny_ == null) { 3684 OptionalAny = new global::Google.Protobuf.WellKnownTypes.Any(); 3685 } 3686 OptionalAny.MergeFrom(other.OptionalAny); 3687 } 3688 if (other.optionalValue_ != null) { 3689 if (optionalValue_ == null) { 3690 OptionalValue = new global::Google.Protobuf.WellKnownTypes.Value(); 3691 } 3692 OptionalValue.MergeFrom(other.OptionalValue); 3693 } 3694 if (other.OptionalNullValue != global::Google.Protobuf.WellKnownTypes.NullValue.NullValue) { 3695 OptionalNullValue = other.OptionalNullValue; 3696 } 3697 repeatedDuration_.Add(other.repeatedDuration_); 3698 repeatedTimestamp_.Add(other.repeatedTimestamp_); 3699 repeatedFieldmask_.Add(other.repeatedFieldmask_); 3700 repeatedStruct_.Add(other.repeatedStruct_); 3701 repeatedAny_.Add(other.repeatedAny_); 3702 repeatedValue_.Add(other.repeatedValue_); 3703 repeatedListValue_.Add(other.repeatedListValue_); 3704 if (other.Fieldname1 != 0) { 3705 Fieldname1 = other.Fieldname1; 3706 } 3707 if (other.FieldName2 != 0) { 3708 FieldName2 = other.FieldName2; 3709 } 3710 if (other.FieldName3 != 0) { 3711 FieldName3 = other.FieldName3; 3712 } 3713 if (other.FieldName4 != 0) { 3714 FieldName4 = other.FieldName4; 3715 } 3716 if (other.Field0Name5 != 0) { 3717 Field0Name5 = other.Field0Name5; 3718 } 3719 if (other.Field0Name6 != 0) { 3720 Field0Name6 = other.Field0Name6; 3721 } 3722 if (other.FieldName7 != 0) { 3723 FieldName7 = other.FieldName7; 3724 } 3725 if (other.FieldName8 != 0) { 3726 FieldName8 = other.FieldName8; 3727 } 3728 if (other.FieldName9 != 0) { 3729 FieldName9 = other.FieldName9; 3730 } 3731 if (other.FieldName10 != 0) { 3732 FieldName10 = other.FieldName10; 3733 } 3734 if (other.FIELDNAME11 != 0) { 3735 FIELDNAME11 = other.FIELDNAME11; 3736 } 3737 if (other.FIELDName12 != 0) { 3738 FIELDName12 = other.FIELDName12; 3739 } 3740 if (other.FieldName13 != 0) { 3741 FieldName13 = other.FieldName13; 3742 } 3743 if (other.FieldName14 != 0) { 3744 FieldName14 = other.FieldName14; 3745 } 3746 if (other.FieldName15 != 0) { 3747 FieldName15 = other.FieldName15; 3748 } 3749 if (other.FieldName16 != 0) { 3750 FieldName16 = other.FieldName16; 3751 } 3752 if (other.FieldName17 != 0) { 3753 FieldName17 = other.FieldName17; 3754 } 3755 if (other.FieldName18 != 0) { 3756 FieldName18 = other.FieldName18; 3757 } 3758 switch (other.OneofFieldCase) { 3759 case OneofFieldOneofCase.OneofUint32: 3760 OneofUint32 = other.OneofUint32; 3761 break; 3762 case OneofFieldOneofCase.OneofNestedMessage: 3763 if (OneofNestedMessage == null) { 3764 OneofNestedMessage = new global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedMessage(); 3765 } 3766 OneofNestedMessage.MergeFrom(other.OneofNestedMessage); 3767 break; 3768 case OneofFieldOneofCase.OneofString: 3769 OneofString = other.OneofString; 3770 break; 3771 case OneofFieldOneofCase.OneofBytes: 3772 OneofBytes = other.OneofBytes; 3773 break; 3774 case OneofFieldOneofCase.OneofBool: 3775 OneofBool = other.OneofBool; 3776 break; 3777 case OneofFieldOneofCase.OneofUint64: 3778 OneofUint64 = other.OneofUint64; 3779 break; 3780 case OneofFieldOneofCase.OneofFloat: 3781 OneofFloat = other.OneofFloat; 3782 break; 3783 case OneofFieldOneofCase.OneofDouble: 3784 OneofDouble = other.OneofDouble; 3785 break; 3786 case OneofFieldOneofCase.OneofEnum: 3787 OneofEnum = other.OneofEnum; 3788 break; 3789 case OneofFieldOneofCase.OneofNullValue: 3790 OneofNullValue = other.OneofNullValue; 3791 break; 3792 } 3793 3794 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); 3795 } 3796 3797 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] MergeFrom(pb::CodedInputStream input)3798 public void MergeFrom(pb::CodedInputStream input) { 3799 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 3800 input.ReadRawMessage(this); 3801 #else 3802 uint tag; 3803 while ((tag = input.ReadTag()) != 0) { 3804 switch(tag) { 3805 default: 3806 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); 3807 break; 3808 case 8: { 3809 OptionalInt32 = input.ReadInt32(); 3810 break; 3811 } 3812 case 16: { 3813 OptionalInt64 = input.ReadInt64(); 3814 break; 3815 } 3816 case 24: { 3817 OptionalUint32 = input.ReadUInt32(); 3818 break; 3819 } 3820 case 32: { 3821 OptionalUint64 = input.ReadUInt64(); 3822 break; 3823 } 3824 case 40: { 3825 OptionalSint32 = input.ReadSInt32(); 3826 break; 3827 } 3828 case 48: { 3829 OptionalSint64 = input.ReadSInt64(); 3830 break; 3831 } 3832 case 61: { 3833 OptionalFixed32 = input.ReadFixed32(); 3834 break; 3835 } 3836 case 65: { 3837 OptionalFixed64 = input.ReadFixed64(); 3838 break; 3839 } 3840 case 77: { 3841 OptionalSfixed32 = input.ReadSFixed32(); 3842 break; 3843 } 3844 case 81: { 3845 OptionalSfixed64 = input.ReadSFixed64(); 3846 break; 3847 } 3848 case 93: { 3849 OptionalFloat = input.ReadFloat(); 3850 break; 3851 } 3852 case 97: { 3853 OptionalDouble = input.ReadDouble(); 3854 break; 3855 } 3856 case 104: { 3857 OptionalBool = input.ReadBool(); 3858 break; 3859 } 3860 case 114: { 3861 OptionalString = input.ReadString(); 3862 break; 3863 } 3864 case 122: { 3865 OptionalBytes = input.ReadBytes(); 3866 break; 3867 } 3868 case 146: { 3869 if (optionalNestedMessage_ == null) { 3870 OptionalNestedMessage = new global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedMessage(); 3871 } 3872 input.ReadMessage(OptionalNestedMessage); 3873 break; 3874 } 3875 case 154: { 3876 if (optionalForeignMessage_ == null) { 3877 OptionalForeignMessage = new global::ProtobufTestMessages.Proto3.ForeignMessage(); 3878 } 3879 input.ReadMessage(OptionalForeignMessage); 3880 break; 3881 } 3882 case 168: { 3883 OptionalNestedEnum = (global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedEnum) input.ReadEnum(); 3884 break; 3885 } 3886 case 176: { 3887 OptionalForeignEnum = (global::ProtobufTestMessages.Proto3.ForeignEnum) input.ReadEnum(); 3888 break; 3889 } 3890 case 184: { 3891 OptionalAliasedEnum = (global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.AliasedEnum) input.ReadEnum(); 3892 break; 3893 } 3894 case 194: { 3895 OptionalStringPiece = input.ReadString(); 3896 break; 3897 } 3898 case 202: { 3899 OptionalCord = input.ReadString(); 3900 break; 3901 } 3902 case 218: { 3903 if (recursiveMessage_ == null) { 3904 RecursiveMessage = new global::ProtobufTestMessages.Proto3.TestAllTypesProto3(); 3905 } 3906 input.ReadMessage(RecursiveMessage); 3907 break; 3908 } 3909 case 250: 3910 case 248: { 3911 repeatedInt32_.AddEntriesFrom(input, _repeated_repeatedInt32_codec); 3912 break; 3913 } 3914 case 258: 3915 case 256: { 3916 repeatedInt64_.AddEntriesFrom(input, _repeated_repeatedInt64_codec); 3917 break; 3918 } 3919 case 266: 3920 case 264: { 3921 repeatedUint32_.AddEntriesFrom(input, _repeated_repeatedUint32_codec); 3922 break; 3923 } 3924 case 274: 3925 case 272: { 3926 repeatedUint64_.AddEntriesFrom(input, _repeated_repeatedUint64_codec); 3927 break; 3928 } 3929 case 282: 3930 case 280: { 3931 repeatedSint32_.AddEntriesFrom(input, _repeated_repeatedSint32_codec); 3932 break; 3933 } 3934 case 290: 3935 case 288: { 3936 repeatedSint64_.AddEntriesFrom(input, _repeated_repeatedSint64_codec); 3937 break; 3938 } 3939 case 298: 3940 case 301: { 3941 repeatedFixed32_.AddEntriesFrom(input, _repeated_repeatedFixed32_codec); 3942 break; 3943 } 3944 case 306: 3945 case 305: { 3946 repeatedFixed64_.AddEntriesFrom(input, _repeated_repeatedFixed64_codec); 3947 break; 3948 } 3949 case 314: 3950 case 317: { 3951 repeatedSfixed32_.AddEntriesFrom(input, _repeated_repeatedSfixed32_codec); 3952 break; 3953 } 3954 case 322: 3955 case 321: { 3956 repeatedSfixed64_.AddEntriesFrom(input, _repeated_repeatedSfixed64_codec); 3957 break; 3958 } 3959 case 330: 3960 case 333: { 3961 repeatedFloat_.AddEntriesFrom(input, _repeated_repeatedFloat_codec); 3962 break; 3963 } 3964 case 338: 3965 case 337: { 3966 repeatedDouble_.AddEntriesFrom(input, _repeated_repeatedDouble_codec); 3967 break; 3968 } 3969 case 346: 3970 case 344: { 3971 repeatedBool_.AddEntriesFrom(input, _repeated_repeatedBool_codec); 3972 break; 3973 } 3974 case 354: { 3975 repeatedString_.AddEntriesFrom(input, _repeated_repeatedString_codec); 3976 break; 3977 } 3978 case 362: { 3979 repeatedBytes_.AddEntriesFrom(input, _repeated_repeatedBytes_codec); 3980 break; 3981 } 3982 case 386: { 3983 repeatedNestedMessage_.AddEntriesFrom(input, _repeated_repeatedNestedMessage_codec); 3984 break; 3985 } 3986 case 394: { 3987 repeatedForeignMessage_.AddEntriesFrom(input, _repeated_repeatedForeignMessage_codec); 3988 break; 3989 } 3990 case 410: 3991 case 408: { 3992 repeatedNestedEnum_.AddEntriesFrom(input, _repeated_repeatedNestedEnum_codec); 3993 break; 3994 } 3995 case 418: 3996 case 416: { 3997 repeatedForeignEnum_.AddEntriesFrom(input, _repeated_repeatedForeignEnum_codec); 3998 break; 3999 } 4000 case 434: { 4001 repeatedStringPiece_.AddEntriesFrom(input, _repeated_repeatedStringPiece_codec); 4002 break; 4003 } 4004 case 442: { 4005 repeatedCord_.AddEntriesFrom(input, _repeated_repeatedCord_codec); 4006 break; 4007 } 4008 case 450: { 4009 mapInt32Int32_.AddEntriesFrom(input, _map_mapInt32Int32_codec); 4010 break; 4011 } 4012 case 458: { 4013 mapInt64Int64_.AddEntriesFrom(input, _map_mapInt64Int64_codec); 4014 break; 4015 } 4016 case 466: { 4017 mapUint32Uint32_.AddEntriesFrom(input, _map_mapUint32Uint32_codec); 4018 break; 4019 } 4020 case 474: { 4021 mapUint64Uint64_.AddEntriesFrom(input, _map_mapUint64Uint64_codec); 4022 break; 4023 } 4024 case 482: { 4025 mapSint32Sint32_.AddEntriesFrom(input, _map_mapSint32Sint32_codec); 4026 break; 4027 } 4028 case 490: { 4029 mapSint64Sint64_.AddEntriesFrom(input, _map_mapSint64Sint64_codec); 4030 break; 4031 } 4032 case 498: { 4033 mapFixed32Fixed32_.AddEntriesFrom(input, _map_mapFixed32Fixed32_codec); 4034 break; 4035 } 4036 case 506: { 4037 mapFixed64Fixed64_.AddEntriesFrom(input, _map_mapFixed64Fixed64_codec); 4038 break; 4039 } 4040 case 514: { 4041 mapSfixed32Sfixed32_.AddEntriesFrom(input, _map_mapSfixed32Sfixed32_codec); 4042 break; 4043 } 4044 case 522: { 4045 mapSfixed64Sfixed64_.AddEntriesFrom(input, _map_mapSfixed64Sfixed64_codec); 4046 break; 4047 } 4048 case 530: { 4049 mapInt32Float_.AddEntriesFrom(input, _map_mapInt32Float_codec); 4050 break; 4051 } 4052 case 538: { 4053 mapInt32Double_.AddEntriesFrom(input, _map_mapInt32Double_codec); 4054 break; 4055 } 4056 case 546: { 4057 mapBoolBool_.AddEntriesFrom(input, _map_mapBoolBool_codec); 4058 break; 4059 } 4060 case 554: { 4061 mapStringString_.AddEntriesFrom(input, _map_mapStringString_codec); 4062 break; 4063 } 4064 case 562: { 4065 mapStringBytes_.AddEntriesFrom(input, _map_mapStringBytes_codec); 4066 break; 4067 } 4068 case 570: { 4069 mapStringNestedMessage_.AddEntriesFrom(input, _map_mapStringNestedMessage_codec); 4070 break; 4071 } 4072 case 578: { 4073 mapStringForeignMessage_.AddEntriesFrom(input, _map_mapStringForeignMessage_codec); 4074 break; 4075 } 4076 case 586: { 4077 mapStringNestedEnum_.AddEntriesFrom(input, _map_mapStringNestedEnum_codec); 4078 break; 4079 } 4080 case 594: { 4081 mapStringForeignEnum_.AddEntriesFrom(input, _map_mapStringForeignEnum_codec); 4082 break; 4083 } 4084 case 602: 4085 case 600: { 4086 packedInt32_.AddEntriesFrom(input, _repeated_packedInt32_codec); 4087 break; 4088 } 4089 case 610: 4090 case 608: { 4091 packedInt64_.AddEntriesFrom(input, _repeated_packedInt64_codec); 4092 break; 4093 } 4094 case 618: 4095 case 616: { 4096 packedUint32_.AddEntriesFrom(input, _repeated_packedUint32_codec); 4097 break; 4098 } 4099 case 626: 4100 case 624: { 4101 packedUint64_.AddEntriesFrom(input, _repeated_packedUint64_codec); 4102 break; 4103 } 4104 case 634: 4105 case 632: { 4106 packedSint32_.AddEntriesFrom(input, _repeated_packedSint32_codec); 4107 break; 4108 } 4109 case 642: 4110 case 640: { 4111 packedSint64_.AddEntriesFrom(input, _repeated_packedSint64_codec); 4112 break; 4113 } 4114 case 650: 4115 case 653: { 4116 packedFixed32_.AddEntriesFrom(input, _repeated_packedFixed32_codec); 4117 break; 4118 } 4119 case 658: 4120 case 657: { 4121 packedFixed64_.AddEntriesFrom(input, _repeated_packedFixed64_codec); 4122 break; 4123 } 4124 case 666: 4125 case 669: { 4126 packedSfixed32_.AddEntriesFrom(input, _repeated_packedSfixed32_codec); 4127 break; 4128 } 4129 case 674: 4130 case 673: { 4131 packedSfixed64_.AddEntriesFrom(input, _repeated_packedSfixed64_codec); 4132 break; 4133 } 4134 case 682: 4135 case 685: { 4136 packedFloat_.AddEntriesFrom(input, _repeated_packedFloat_codec); 4137 break; 4138 } 4139 case 690: 4140 case 689: { 4141 packedDouble_.AddEntriesFrom(input, _repeated_packedDouble_codec); 4142 break; 4143 } 4144 case 698: 4145 case 696: { 4146 packedBool_.AddEntriesFrom(input, _repeated_packedBool_codec); 4147 break; 4148 } 4149 case 706: 4150 case 704: { 4151 packedNestedEnum_.AddEntriesFrom(input, _repeated_packedNestedEnum_codec); 4152 break; 4153 } 4154 case 714: 4155 case 712: { 4156 unpackedInt32_.AddEntriesFrom(input, _repeated_unpackedInt32_codec); 4157 break; 4158 } 4159 case 722: 4160 case 720: { 4161 unpackedInt64_.AddEntriesFrom(input, _repeated_unpackedInt64_codec); 4162 break; 4163 } 4164 case 730: 4165 case 728: { 4166 unpackedUint32_.AddEntriesFrom(input, _repeated_unpackedUint32_codec); 4167 break; 4168 } 4169 case 738: 4170 case 736: { 4171 unpackedUint64_.AddEntriesFrom(input, _repeated_unpackedUint64_codec); 4172 break; 4173 } 4174 case 746: 4175 case 744: { 4176 unpackedSint32_.AddEntriesFrom(input, _repeated_unpackedSint32_codec); 4177 break; 4178 } 4179 case 754: 4180 case 752: { 4181 unpackedSint64_.AddEntriesFrom(input, _repeated_unpackedSint64_codec); 4182 break; 4183 } 4184 case 762: 4185 case 765: { 4186 unpackedFixed32_.AddEntriesFrom(input, _repeated_unpackedFixed32_codec); 4187 break; 4188 } 4189 case 770: 4190 case 769: { 4191 unpackedFixed64_.AddEntriesFrom(input, _repeated_unpackedFixed64_codec); 4192 break; 4193 } 4194 case 778: 4195 case 781: { 4196 unpackedSfixed32_.AddEntriesFrom(input, _repeated_unpackedSfixed32_codec); 4197 break; 4198 } 4199 case 786: 4200 case 785: { 4201 unpackedSfixed64_.AddEntriesFrom(input, _repeated_unpackedSfixed64_codec); 4202 break; 4203 } 4204 case 794: 4205 case 797: { 4206 unpackedFloat_.AddEntriesFrom(input, _repeated_unpackedFloat_codec); 4207 break; 4208 } 4209 case 802: 4210 case 801: { 4211 unpackedDouble_.AddEntriesFrom(input, _repeated_unpackedDouble_codec); 4212 break; 4213 } 4214 case 810: 4215 case 808: { 4216 unpackedBool_.AddEntriesFrom(input, _repeated_unpackedBool_codec); 4217 break; 4218 } 4219 case 818: 4220 case 816: { 4221 unpackedNestedEnum_.AddEntriesFrom(input, _repeated_unpackedNestedEnum_codec); 4222 break; 4223 } 4224 case 888: { 4225 OneofUint32 = input.ReadUInt32(); 4226 break; 4227 } 4228 case 898: { 4229 global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedMessage subBuilder = new global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedMessage(); 4230 if (oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage) { 4231 subBuilder.MergeFrom(OneofNestedMessage); 4232 } 4233 input.ReadMessage(subBuilder); 4234 OneofNestedMessage = subBuilder; 4235 break; 4236 } 4237 case 906: { 4238 OneofString = input.ReadString(); 4239 break; 4240 } 4241 case 914: { 4242 OneofBytes = input.ReadBytes(); 4243 break; 4244 } 4245 case 920: { 4246 OneofBool = input.ReadBool(); 4247 break; 4248 } 4249 case 928: { 4250 OneofUint64 = input.ReadUInt64(); 4251 break; 4252 } 4253 case 941: { 4254 OneofFloat = input.ReadFloat(); 4255 break; 4256 } 4257 case 945: { 4258 OneofDouble = input.ReadDouble(); 4259 break; 4260 } 4261 case 952: { 4262 oneofField_ = input.ReadEnum(); 4263 oneofFieldCase_ = OneofFieldOneofCase.OneofEnum; 4264 break; 4265 } 4266 case 960: { 4267 oneofField_ = input.ReadEnum(); 4268 oneofFieldCase_ = OneofFieldOneofCase.OneofNullValue; 4269 break; 4270 } 4271 case 1610: { 4272 bool? value = _single_optionalBoolWrapper_codec.Read(input); 4273 if (optionalBoolWrapper_ == null || value != false) { 4274 OptionalBoolWrapper = value; 4275 } 4276 break; 4277 } 4278 case 1618: { 4279 int? value = _single_optionalInt32Wrapper_codec.Read(input); 4280 if (optionalInt32Wrapper_ == null || value != 0) { 4281 OptionalInt32Wrapper = value; 4282 } 4283 break; 4284 } 4285 case 1626: { 4286 long? value = _single_optionalInt64Wrapper_codec.Read(input); 4287 if (optionalInt64Wrapper_ == null || value != 0L) { 4288 OptionalInt64Wrapper = value; 4289 } 4290 break; 4291 } 4292 case 1634: { 4293 uint? value = _single_optionalUint32Wrapper_codec.Read(input); 4294 if (optionalUint32Wrapper_ == null || value != 0) { 4295 OptionalUint32Wrapper = value; 4296 } 4297 break; 4298 } 4299 case 1642: { 4300 ulong? value = _single_optionalUint64Wrapper_codec.Read(input); 4301 if (optionalUint64Wrapper_ == null || value != 0UL) { 4302 OptionalUint64Wrapper = value; 4303 } 4304 break; 4305 } 4306 case 1650: { 4307 float? value = _single_optionalFloatWrapper_codec.Read(input); 4308 if (optionalFloatWrapper_ == null || value != 0F) { 4309 OptionalFloatWrapper = value; 4310 } 4311 break; 4312 } 4313 case 1658: { 4314 double? value = _single_optionalDoubleWrapper_codec.Read(input); 4315 if (optionalDoubleWrapper_ == null || value != 0D) { 4316 OptionalDoubleWrapper = value; 4317 } 4318 break; 4319 } 4320 case 1666: { 4321 string value = _single_optionalStringWrapper_codec.Read(input); 4322 if (optionalStringWrapper_ == null || value != "") { 4323 OptionalStringWrapper = value; 4324 } 4325 break; 4326 } 4327 case 1674: { 4328 pb::ByteString value = _single_optionalBytesWrapper_codec.Read(input); 4329 if (optionalBytesWrapper_ == null || value != pb::ByteString.Empty) { 4330 OptionalBytesWrapper = value; 4331 } 4332 break; 4333 } 4334 case 1690: { 4335 repeatedBoolWrapper_.AddEntriesFrom(input, _repeated_repeatedBoolWrapper_codec); 4336 break; 4337 } 4338 case 1698: { 4339 repeatedInt32Wrapper_.AddEntriesFrom(input, _repeated_repeatedInt32Wrapper_codec); 4340 break; 4341 } 4342 case 1706: { 4343 repeatedInt64Wrapper_.AddEntriesFrom(input, _repeated_repeatedInt64Wrapper_codec); 4344 break; 4345 } 4346 case 1714: { 4347 repeatedUint32Wrapper_.AddEntriesFrom(input, _repeated_repeatedUint32Wrapper_codec); 4348 break; 4349 } 4350 case 1722: { 4351 repeatedUint64Wrapper_.AddEntriesFrom(input, _repeated_repeatedUint64Wrapper_codec); 4352 break; 4353 } 4354 case 1730: { 4355 repeatedFloatWrapper_.AddEntriesFrom(input, _repeated_repeatedFloatWrapper_codec); 4356 break; 4357 } 4358 case 1738: { 4359 repeatedDoubleWrapper_.AddEntriesFrom(input, _repeated_repeatedDoubleWrapper_codec); 4360 break; 4361 } 4362 case 1746: { 4363 repeatedStringWrapper_.AddEntriesFrom(input, _repeated_repeatedStringWrapper_codec); 4364 break; 4365 } 4366 case 1754: { 4367 repeatedBytesWrapper_.AddEntriesFrom(input, _repeated_repeatedBytesWrapper_codec); 4368 break; 4369 } 4370 case 2410: { 4371 if (optionalDuration_ == null) { 4372 OptionalDuration = new global::Google.Protobuf.WellKnownTypes.Duration(); 4373 } 4374 input.ReadMessage(OptionalDuration); 4375 break; 4376 } 4377 case 2418: { 4378 if (optionalTimestamp_ == null) { 4379 OptionalTimestamp = new global::Google.Protobuf.WellKnownTypes.Timestamp(); 4380 } 4381 input.ReadMessage(OptionalTimestamp); 4382 break; 4383 } 4384 case 2426: { 4385 if (optionalFieldMask_ == null) { 4386 OptionalFieldMask = new global::Google.Protobuf.WellKnownTypes.FieldMask(); 4387 } 4388 input.ReadMessage(OptionalFieldMask); 4389 break; 4390 } 4391 case 2434: { 4392 if (optionalStruct_ == null) { 4393 OptionalStruct = new global::Google.Protobuf.WellKnownTypes.Struct(); 4394 } 4395 input.ReadMessage(OptionalStruct); 4396 break; 4397 } 4398 case 2442: { 4399 if (optionalAny_ == null) { 4400 OptionalAny = new global::Google.Protobuf.WellKnownTypes.Any(); 4401 } 4402 input.ReadMessage(OptionalAny); 4403 break; 4404 } 4405 case 2450: { 4406 if (optionalValue_ == null) { 4407 OptionalValue = new global::Google.Protobuf.WellKnownTypes.Value(); 4408 } 4409 input.ReadMessage(OptionalValue); 4410 break; 4411 } 4412 case 2456: { 4413 OptionalNullValue = (global::Google.Protobuf.WellKnownTypes.NullValue) input.ReadEnum(); 4414 break; 4415 } 4416 case 2490: { 4417 repeatedDuration_.AddEntriesFrom(input, _repeated_repeatedDuration_codec); 4418 break; 4419 } 4420 case 2498: { 4421 repeatedTimestamp_.AddEntriesFrom(input, _repeated_repeatedTimestamp_codec); 4422 break; 4423 } 4424 case 2506: { 4425 repeatedFieldmask_.AddEntriesFrom(input, _repeated_repeatedFieldmask_codec); 4426 break; 4427 } 4428 case 2522: { 4429 repeatedAny_.AddEntriesFrom(input, _repeated_repeatedAny_codec); 4430 break; 4431 } 4432 case 2530: { 4433 repeatedValue_.AddEntriesFrom(input, _repeated_repeatedValue_codec); 4434 break; 4435 } 4436 case 2538: { 4437 repeatedListValue_.AddEntriesFrom(input, _repeated_repeatedListValue_codec); 4438 break; 4439 } 4440 case 2594: { 4441 repeatedStruct_.AddEntriesFrom(input, _repeated_repeatedStruct_codec); 4442 break; 4443 } 4444 case 3208: { 4445 Fieldname1 = input.ReadInt32(); 4446 break; 4447 } 4448 case 3216: { 4449 FieldName2 = input.ReadInt32(); 4450 break; 4451 } 4452 case 3224: { 4453 FieldName3 = input.ReadInt32(); 4454 break; 4455 } 4456 case 3232: { 4457 FieldName4 = input.ReadInt32(); 4458 break; 4459 } 4460 case 3240: { 4461 Field0Name5 = input.ReadInt32(); 4462 break; 4463 } 4464 case 3248: { 4465 Field0Name6 = input.ReadInt32(); 4466 break; 4467 } 4468 case 3256: { 4469 FieldName7 = input.ReadInt32(); 4470 break; 4471 } 4472 case 3264: { 4473 FieldName8 = input.ReadInt32(); 4474 break; 4475 } 4476 case 3272: { 4477 FieldName9 = input.ReadInt32(); 4478 break; 4479 } 4480 case 3280: { 4481 FieldName10 = input.ReadInt32(); 4482 break; 4483 } 4484 case 3288: { 4485 FIELDNAME11 = input.ReadInt32(); 4486 break; 4487 } 4488 case 3296: { 4489 FIELDName12 = input.ReadInt32(); 4490 break; 4491 } 4492 case 3304: { 4493 FieldName13 = input.ReadInt32(); 4494 break; 4495 } 4496 case 3312: { 4497 FieldName14 = input.ReadInt32(); 4498 break; 4499 } 4500 case 3320: { 4501 FieldName15 = input.ReadInt32(); 4502 break; 4503 } 4504 case 3328: { 4505 FieldName16 = input.ReadInt32(); 4506 break; 4507 } 4508 case 3336: { 4509 FieldName17 = input.ReadInt32(); 4510 break; 4511 } 4512 case 3344: { 4513 FieldName18 = input.ReadInt32(); 4514 break; 4515 } 4516 } 4517 } 4518 #endif 4519 } 4520 4521 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 4522 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)4523 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { 4524 uint tag; 4525 while ((tag = input.ReadTag()) != 0) { 4526 switch(tag) { 4527 default: 4528 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); 4529 break; 4530 case 8: { 4531 OptionalInt32 = input.ReadInt32(); 4532 break; 4533 } 4534 case 16: { 4535 OptionalInt64 = input.ReadInt64(); 4536 break; 4537 } 4538 case 24: { 4539 OptionalUint32 = input.ReadUInt32(); 4540 break; 4541 } 4542 case 32: { 4543 OptionalUint64 = input.ReadUInt64(); 4544 break; 4545 } 4546 case 40: { 4547 OptionalSint32 = input.ReadSInt32(); 4548 break; 4549 } 4550 case 48: { 4551 OptionalSint64 = input.ReadSInt64(); 4552 break; 4553 } 4554 case 61: { 4555 OptionalFixed32 = input.ReadFixed32(); 4556 break; 4557 } 4558 case 65: { 4559 OptionalFixed64 = input.ReadFixed64(); 4560 break; 4561 } 4562 case 77: { 4563 OptionalSfixed32 = input.ReadSFixed32(); 4564 break; 4565 } 4566 case 81: { 4567 OptionalSfixed64 = input.ReadSFixed64(); 4568 break; 4569 } 4570 case 93: { 4571 OptionalFloat = input.ReadFloat(); 4572 break; 4573 } 4574 case 97: { 4575 OptionalDouble = input.ReadDouble(); 4576 break; 4577 } 4578 case 104: { 4579 OptionalBool = input.ReadBool(); 4580 break; 4581 } 4582 case 114: { 4583 OptionalString = input.ReadString(); 4584 break; 4585 } 4586 case 122: { 4587 OptionalBytes = input.ReadBytes(); 4588 break; 4589 } 4590 case 146: { 4591 if (optionalNestedMessage_ == null) { 4592 OptionalNestedMessage = new global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedMessage(); 4593 } 4594 input.ReadMessage(OptionalNestedMessage); 4595 break; 4596 } 4597 case 154: { 4598 if (optionalForeignMessage_ == null) { 4599 OptionalForeignMessage = new global::ProtobufTestMessages.Proto3.ForeignMessage(); 4600 } 4601 input.ReadMessage(OptionalForeignMessage); 4602 break; 4603 } 4604 case 168: { 4605 OptionalNestedEnum = (global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedEnum) input.ReadEnum(); 4606 break; 4607 } 4608 case 176: { 4609 OptionalForeignEnum = (global::ProtobufTestMessages.Proto3.ForeignEnum) input.ReadEnum(); 4610 break; 4611 } 4612 case 184: { 4613 OptionalAliasedEnum = (global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.AliasedEnum) input.ReadEnum(); 4614 break; 4615 } 4616 case 194: { 4617 OptionalStringPiece = input.ReadString(); 4618 break; 4619 } 4620 case 202: { 4621 OptionalCord = input.ReadString(); 4622 break; 4623 } 4624 case 218: { 4625 if (recursiveMessage_ == null) { 4626 RecursiveMessage = new global::ProtobufTestMessages.Proto3.TestAllTypesProto3(); 4627 } 4628 input.ReadMessage(RecursiveMessage); 4629 break; 4630 } 4631 case 250: 4632 case 248: { 4633 repeatedInt32_.AddEntriesFrom(ref input, _repeated_repeatedInt32_codec); 4634 break; 4635 } 4636 case 258: 4637 case 256: { 4638 repeatedInt64_.AddEntriesFrom(ref input, _repeated_repeatedInt64_codec); 4639 break; 4640 } 4641 case 266: 4642 case 264: { 4643 repeatedUint32_.AddEntriesFrom(ref input, _repeated_repeatedUint32_codec); 4644 break; 4645 } 4646 case 274: 4647 case 272: { 4648 repeatedUint64_.AddEntriesFrom(ref input, _repeated_repeatedUint64_codec); 4649 break; 4650 } 4651 case 282: 4652 case 280: { 4653 repeatedSint32_.AddEntriesFrom(ref input, _repeated_repeatedSint32_codec); 4654 break; 4655 } 4656 case 290: 4657 case 288: { 4658 repeatedSint64_.AddEntriesFrom(ref input, _repeated_repeatedSint64_codec); 4659 break; 4660 } 4661 case 298: 4662 case 301: { 4663 repeatedFixed32_.AddEntriesFrom(ref input, _repeated_repeatedFixed32_codec); 4664 break; 4665 } 4666 case 306: 4667 case 305: { 4668 repeatedFixed64_.AddEntriesFrom(ref input, _repeated_repeatedFixed64_codec); 4669 break; 4670 } 4671 case 314: 4672 case 317: { 4673 repeatedSfixed32_.AddEntriesFrom(ref input, _repeated_repeatedSfixed32_codec); 4674 break; 4675 } 4676 case 322: 4677 case 321: { 4678 repeatedSfixed64_.AddEntriesFrom(ref input, _repeated_repeatedSfixed64_codec); 4679 break; 4680 } 4681 case 330: 4682 case 333: { 4683 repeatedFloat_.AddEntriesFrom(ref input, _repeated_repeatedFloat_codec); 4684 break; 4685 } 4686 case 338: 4687 case 337: { 4688 repeatedDouble_.AddEntriesFrom(ref input, _repeated_repeatedDouble_codec); 4689 break; 4690 } 4691 case 346: 4692 case 344: { 4693 repeatedBool_.AddEntriesFrom(ref input, _repeated_repeatedBool_codec); 4694 break; 4695 } 4696 case 354: { 4697 repeatedString_.AddEntriesFrom(ref input, _repeated_repeatedString_codec); 4698 break; 4699 } 4700 case 362: { 4701 repeatedBytes_.AddEntriesFrom(ref input, _repeated_repeatedBytes_codec); 4702 break; 4703 } 4704 case 386: { 4705 repeatedNestedMessage_.AddEntriesFrom(ref input, _repeated_repeatedNestedMessage_codec); 4706 break; 4707 } 4708 case 394: { 4709 repeatedForeignMessage_.AddEntriesFrom(ref input, _repeated_repeatedForeignMessage_codec); 4710 break; 4711 } 4712 case 410: 4713 case 408: { 4714 repeatedNestedEnum_.AddEntriesFrom(ref input, _repeated_repeatedNestedEnum_codec); 4715 break; 4716 } 4717 case 418: 4718 case 416: { 4719 repeatedForeignEnum_.AddEntriesFrom(ref input, _repeated_repeatedForeignEnum_codec); 4720 break; 4721 } 4722 case 434: { 4723 repeatedStringPiece_.AddEntriesFrom(ref input, _repeated_repeatedStringPiece_codec); 4724 break; 4725 } 4726 case 442: { 4727 repeatedCord_.AddEntriesFrom(ref input, _repeated_repeatedCord_codec); 4728 break; 4729 } 4730 case 450: { 4731 mapInt32Int32_.AddEntriesFrom(ref input, _map_mapInt32Int32_codec); 4732 break; 4733 } 4734 case 458: { 4735 mapInt64Int64_.AddEntriesFrom(ref input, _map_mapInt64Int64_codec); 4736 break; 4737 } 4738 case 466: { 4739 mapUint32Uint32_.AddEntriesFrom(ref input, _map_mapUint32Uint32_codec); 4740 break; 4741 } 4742 case 474: { 4743 mapUint64Uint64_.AddEntriesFrom(ref input, _map_mapUint64Uint64_codec); 4744 break; 4745 } 4746 case 482: { 4747 mapSint32Sint32_.AddEntriesFrom(ref input, _map_mapSint32Sint32_codec); 4748 break; 4749 } 4750 case 490: { 4751 mapSint64Sint64_.AddEntriesFrom(ref input, _map_mapSint64Sint64_codec); 4752 break; 4753 } 4754 case 498: { 4755 mapFixed32Fixed32_.AddEntriesFrom(ref input, _map_mapFixed32Fixed32_codec); 4756 break; 4757 } 4758 case 506: { 4759 mapFixed64Fixed64_.AddEntriesFrom(ref input, _map_mapFixed64Fixed64_codec); 4760 break; 4761 } 4762 case 514: { 4763 mapSfixed32Sfixed32_.AddEntriesFrom(ref input, _map_mapSfixed32Sfixed32_codec); 4764 break; 4765 } 4766 case 522: { 4767 mapSfixed64Sfixed64_.AddEntriesFrom(ref input, _map_mapSfixed64Sfixed64_codec); 4768 break; 4769 } 4770 case 530: { 4771 mapInt32Float_.AddEntriesFrom(ref input, _map_mapInt32Float_codec); 4772 break; 4773 } 4774 case 538: { 4775 mapInt32Double_.AddEntriesFrom(ref input, _map_mapInt32Double_codec); 4776 break; 4777 } 4778 case 546: { 4779 mapBoolBool_.AddEntriesFrom(ref input, _map_mapBoolBool_codec); 4780 break; 4781 } 4782 case 554: { 4783 mapStringString_.AddEntriesFrom(ref input, _map_mapStringString_codec); 4784 break; 4785 } 4786 case 562: { 4787 mapStringBytes_.AddEntriesFrom(ref input, _map_mapStringBytes_codec); 4788 break; 4789 } 4790 case 570: { 4791 mapStringNestedMessage_.AddEntriesFrom(ref input, _map_mapStringNestedMessage_codec); 4792 break; 4793 } 4794 case 578: { 4795 mapStringForeignMessage_.AddEntriesFrom(ref input, _map_mapStringForeignMessage_codec); 4796 break; 4797 } 4798 case 586: { 4799 mapStringNestedEnum_.AddEntriesFrom(ref input, _map_mapStringNestedEnum_codec); 4800 break; 4801 } 4802 case 594: { 4803 mapStringForeignEnum_.AddEntriesFrom(ref input, _map_mapStringForeignEnum_codec); 4804 break; 4805 } 4806 case 602: 4807 case 600: { 4808 packedInt32_.AddEntriesFrom(ref input, _repeated_packedInt32_codec); 4809 break; 4810 } 4811 case 610: 4812 case 608: { 4813 packedInt64_.AddEntriesFrom(ref input, _repeated_packedInt64_codec); 4814 break; 4815 } 4816 case 618: 4817 case 616: { 4818 packedUint32_.AddEntriesFrom(ref input, _repeated_packedUint32_codec); 4819 break; 4820 } 4821 case 626: 4822 case 624: { 4823 packedUint64_.AddEntriesFrom(ref input, _repeated_packedUint64_codec); 4824 break; 4825 } 4826 case 634: 4827 case 632: { 4828 packedSint32_.AddEntriesFrom(ref input, _repeated_packedSint32_codec); 4829 break; 4830 } 4831 case 642: 4832 case 640: { 4833 packedSint64_.AddEntriesFrom(ref input, _repeated_packedSint64_codec); 4834 break; 4835 } 4836 case 650: 4837 case 653: { 4838 packedFixed32_.AddEntriesFrom(ref input, _repeated_packedFixed32_codec); 4839 break; 4840 } 4841 case 658: 4842 case 657: { 4843 packedFixed64_.AddEntriesFrom(ref input, _repeated_packedFixed64_codec); 4844 break; 4845 } 4846 case 666: 4847 case 669: { 4848 packedSfixed32_.AddEntriesFrom(ref input, _repeated_packedSfixed32_codec); 4849 break; 4850 } 4851 case 674: 4852 case 673: { 4853 packedSfixed64_.AddEntriesFrom(ref input, _repeated_packedSfixed64_codec); 4854 break; 4855 } 4856 case 682: 4857 case 685: { 4858 packedFloat_.AddEntriesFrom(ref input, _repeated_packedFloat_codec); 4859 break; 4860 } 4861 case 690: 4862 case 689: { 4863 packedDouble_.AddEntriesFrom(ref input, _repeated_packedDouble_codec); 4864 break; 4865 } 4866 case 698: 4867 case 696: { 4868 packedBool_.AddEntriesFrom(ref input, _repeated_packedBool_codec); 4869 break; 4870 } 4871 case 706: 4872 case 704: { 4873 packedNestedEnum_.AddEntriesFrom(ref input, _repeated_packedNestedEnum_codec); 4874 break; 4875 } 4876 case 714: 4877 case 712: { 4878 unpackedInt32_.AddEntriesFrom(ref input, _repeated_unpackedInt32_codec); 4879 break; 4880 } 4881 case 722: 4882 case 720: { 4883 unpackedInt64_.AddEntriesFrom(ref input, _repeated_unpackedInt64_codec); 4884 break; 4885 } 4886 case 730: 4887 case 728: { 4888 unpackedUint32_.AddEntriesFrom(ref input, _repeated_unpackedUint32_codec); 4889 break; 4890 } 4891 case 738: 4892 case 736: { 4893 unpackedUint64_.AddEntriesFrom(ref input, _repeated_unpackedUint64_codec); 4894 break; 4895 } 4896 case 746: 4897 case 744: { 4898 unpackedSint32_.AddEntriesFrom(ref input, _repeated_unpackedSint32_codec); 4899 break; 4900 } 4901 case 754: 4902 case 752: { 4903 unpackedSint64_.AddEntriesFrom(ref input, _repeated_unpackedSint64_codec); 4904 break; 4905 } 4906 case 762: 4907 case 765: { 4908 unpackedFixed32_.AddEntriesFrom(ref input, _repeated_unpackedFixed32_codec); 4909 break; 4910 } 4911 case 770: 4912 case 769: { 4913 unpackedFixed64_.AddEntriesFrom(ref input, _repeated_unpackedFixed64_codec); 4914 break; 4915 } 4916 case 778: 4917 case 781: { 4918 unpackedSfixed32_.AddEntriesFrom(ref input, _repeated_unpackedSfixed32_codec); 4919 break; 4920 } 4921 case 786: 4922 case 785: { 4923 unpackedSfixed64_.AddEntriesFrom(ref input, _repeated_unpackedSfixed64_codec); 4924 break; 4925 } 4926 case 794: 4927 case 797: { 4928 unpackedFloat_.AddEntriesFrom(ref input, _repeated_unpackedFloat_codec); 4929 break; 4930 } 4931 case 802: 4932 case 801: { 4933 unpackedDouble_.AddEntriesFrom(ref input, _repeated_unpackedDouble_codec); 4934 break; 4935 } 4936 case 810: 4937 case 808: { 4938 unpackedBool_.AddEntriesFrom(ref input, _repeated_unpackedBool_codec); 4939 break; 4940 } 4941 case 818: 4942 case 816: { 4943 unpackedNestedEnum_.AddEntriesFrom(ref input, _repeated_unpackedNestedEnum_codec); 4944 break; 4945 } 4946 case 888: { 4947 OneofUint32 = input.ReadUInt32(); 4948 break; 4949 } 4950 case 898: { 4951 global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedMessage subBuilder = new global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedMessage(); 4952 if (oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage) { 4953 subBuilder.MergeFrom(OneofNestedMessage); 4954 } 4955 input.ReadMessage(subBuilder); 4956 OneofNestedMessage = subBuilder; 4957 break; 4958 } 4959 case 906: { 4960 OneofString = input.ReadString(); 4961 break; 4962 } 4963 case 914: { 4964 OneofBytes = input.ReadBytes(); 4965 break; 4966 } 4967 case 920: { 4968 OneofBool = input.ReadBool(); 4969 break; 4970 } 4971 case 928: { 4972 OneofUint64 = input.ReadUInt64(); 4973 break; 4974 } 4975 case 941: { 4976 OneofFloat = input.ReadFloat(); 4977 break; 4978 } 4979 case 945: { 4980 OneofDouble = input.ReadDouble(); 4981 break; 4982 } 4983 case 952: { 4984 oneofField_ = input.ReadEnum(); 4985 oneofFieldCase_ = OneofFieldOneofCase.OneofEnum; 4986 break; 4987 } 4988 case 960: { 4989 oneofField_ = input.ReadEnum(); 4990 oneofFieldCase_ = OneofFieldOneofCase.OneofNullValue; 4991 break; 4992 } 4993 case 1610: { 4994 bool? value = _single_optionalBoolWrapper_codec.Read(ref input); 4995 if (optionalBoolWrapper_ == null || value != false) { 4996 OptionalBoolWrapper = value; 4997 } 4998 break; 4999 } 5000 case 1618: { 5001 int? value = _single_optionalInt32Wrapper_codec.Read(ref input); 5002 if (optionalInt32Wrapper_ == null || value != 0) { 5003 OptionalInt32Wrapper = value; 5004 } 5005 break; 5006 } 5007 case 1626: { 5008 long? value = _single_optionalInt64Wrapper_codec.Read(ref input); 5009 if (optionalInt64Wrapper_ == null || value != 0L) { 5010 OptionalInt64Wrapper = value; 5011 } 5012 break; 5013 } 5014 case 1634: { 5015 uint? value = _single_optionalUint32Wrapper_codec.Read(ref input); 5016 if (optionalUint32Wrapper_ == null || value != 0) { 5017 OptionalUint32Wrapper = value; 5018 } 5019 break; 5020 } 5021 case 1642: { 5022 ulong? value = _single_optionalUint64Wrapper_codec.Read(ref input); 5023 if (optionalUint64Wrapper_ == null || value != 0UL) { 5024 OptionalUint64Wrapper = value; 5025 } 5026 break; 5027 } 5028 case 1650: { 5029 float? value = _single_optionalFloatWrapper_codec.Read(ref input); 5030 if (optionalFloatWrapper_ == null || value != 0F) { 5031 OptionalFloatWrapper = value; 5032 } 5033 break; 5034 } 5035 case 1658: { 5036 double? value = _single_optionalDoubleWrapper_codec.Read(ref input); 5037 if (optionalDoubleWrapper_ == null || value != 0D) { 5038 OptionalDoubleWrapper = value; 5039 } 5040 break; 5041 } 5042 case 1666: { 5043 string value = _single_optionalStringWrapper_codec.Read(ref input); 5044 if (optionalStringWrapper_ == null || value != "") { 5045 OptionalStringWrapper = value; 5046 } 5047 break; 5048 } 5049 case 1674: { 5050 pb::ByteString value = _single_optionalBytesWrapper_codec.Read(ref input); 5051 if (optionalBytesWrapper_ == null || value != pb::ByteString.Empty) { 5052 OptionalBytesWrapper = value; 5053 } 5054 break; 5055 } 5056 case 1690: { 5057 repeatedBoolWrapper_.AddEntriesFrom(ref input, _repeated_repeatedBoolWrapper_codec); 5058 break; 5059 } 5060 case 1698: { 5061 repeatedInt32Wrapper_.AddEntriesFrom(ref input, _repeated_repeatedInt32Wrapper_codec); 5062 break; 5063 } 5064 case 1706: { 5065 repeatedInt64Wrapper_.AddEntriesFrom(ref input, _repeated_repeatedInt64Wrapper_codec); 5066 break; 5067 } 5068 case 1714: { 5069 repeatedUint32Wrapper_.AddEntriesFrom(ref input, _repeated_repeatedUint32Wrapper_codec); 5070 break; 5071 } 5072 case 1722: { 5073 repeatedUint64Wrapper_.AddEntriesFrom(ref input, _repeated_repeatedUint64Wrapper_codec); 5074 break; 5075 } 5076 case 1730: { 5077 repeatedFloatWrapper_.AddEntriesFrom(ref input, _repeated_repeatedFloatWrapper_codec); 5078 break; 5079 } 5080 case 1738: { 5081 repeatedDoubleWrapper_.AddEntriesFrom(ref input, _repeated_repeatedDoubleWrapper_codec); 5082 break; 5083 } 5084 case 1746: { 5085 repeatedStringWrapper_.AddEntriesFrom(ref input, _repeated_repeatedStringWrapper_codec); 5086 break; 5087 } 5088 case 1754: { 5089 repeatedBytesWrapper_.AddEntriesFrom(ref input, _repeated_repeatedBytesWrapper_codec); 5090 break; 5091 } 5092 case 2410: { 5093 if (optionalDuration_ == null) { 5094 OptionalDuration = new global::Google.Protobuf.WellKnownTypes.Duration(); 5095 } 5096 input.ReadMessage(OptionalDuration); 5097 break; 5098 } 5099 case 2418: { 5100 if (optionalTimestamp_ == null) { 5101 OptionalTimestamp = new global::Google.Protobuf.WellKnownTypes.Timestamp(); 5102 } 5103 input.ReadMessage(OptionalTimestamp); 5104 break; 5105 } 5106 case 2426: { 5107 if (optionalFieldMask_ == null) { 5108 OptionalFieldMask = new global::Google.Protobuf.WellKnownTypes.FieldMask(); 5109 } 5110 input.ReadMessage(OptionalFieldMask); 5111 break; 5112 } 5113 case 2434: { 5114 if (optionalStruct_ == null) { 5115 OptionalStruct = new global::Google.Protobuf.WellKnownTypes.Struct(); 5116 } 5117 input.ReadMessage(OptionalStruct); 5118 break; 5119 } 5120 case 2442: { 5121 if (optionalAny_ == null) { 5122 OptionalAny = new global::Google.Protobuf.WellKnownTypes.Any(); 5123 } 5124 input.ReadMessage(OptionalAny); 5125 break; 5126 } 5127 case 2450: { 5128 if (optionalValue_ == null) { 5129 OptionalValue = new global::Google.Protobuf.WellKnownTypes.Value(); 5130 } 5131 input.ReadMessage(OptionalValue); 5132 break; 5133 } 5134 case 2456: { 5135 OptionalNullValue = (global::Google.Protobuf.WellKnownTypes.NullValue) input.ReadEnum(); 5136 break; 5137 } 5138 case 2490: { 5139 repeatedDuration_.AddEntriesFrom(ref input, _repeated_repeatedDuration_codec); 5140 break; 5141 } 5142 case 2498: { 5143 repeatedTimestamp_.AddEntriesFrom(ref input, _repeated_repeatedTimestamp_codec); 5144 break; 5145 } 5146 case 2506: { 5147 repeatedFieldmask_.AddEntriesFrom(ref input, _repeated_repeatedFieldmask_codec); 5148 break; 5149 } 5150 case 2522: { 5151 repeatedAny_.AddEntriesFrom(ref input, _repeated_repeatedAny_codec); 5152 break; 5153 } 5154 case 2530: { 5155 repeatedValue_.AddEntriesFrom(ref input, _repeated_repeatedValue_codec); 5156 break; 5157 } 5158 case 2538: { 5159 repeatedListValue_.AddEntriesFrom(ref input, _repeated_repeatedListValue_codec); 5160 break; 5161 } 5162 case 2594: { 5163 repeatedStruct_.AddEntriesFrom(ref input, _repeated_repeatedStruct_codec); 5164 break; 5165 } 5166 case 3208: { 5167 Fieldname1 = input.ReadInt32(); 5168 break; 5169 } 5170 case 3216: { 5171 FieldName2 = input.ReadInt32(); 5172 break; 5173 } 5174 case 3224: { 5175 FieldName3 = input.ReadInt32(); 5176 break; 5177 } 5178 case 3232: { 5179 FieldName4 = input.ReadInt32(); 5180 break; 5181 } 5182 case 3240: { 5183 Field0Name5 = input.ReadInt32(); 5184 break; 5185 } 5186 case 3248: { 5187 Field0Name6 = input.ReadInt32(); 5188 break; 5189 } 5190 case 3256: { 5191 FieldName7 = input.ReadInt32(); 5192 break; 5193 } 5194 case 3264: { 5195 FieldName8 = input.ReadInt32(); 5196 break; 5197 } 5198 case 3272: { 5199 FieldName9 = input.ReadInt32(); 5200 break; 5201 } 5202 case 3280: { 5203 FieldName10 = input.ReadInt32(); 5204 break; 5205 } 5206 case 3288: { 5207 FIELDNAME11 = input.ReadInt32(); 5208 break; 5209 } 5210 case 3296: { 5211 FIELDName12 = input.ReadInt32(); 5212 break; 5213 } 5214 case 3304: { 5215 FieldName13 = input.ReadInt32(); 5216 break; 5217 } 5218 case 3312: { 5219 FieldName14 = input.ReadInt32(); 5220 break; 5221 } 5222 case 3320: { 5223 FieldName15 = input.ReadInt32(); 5224 break; 5225 } 5226 case 3328: { 5227 FieldName16 = input.ReadInt32(); 5228 break; 5229 } 5230 case 3336: { 5231 FieldName17 = input.ReadInt32(); 5232 break; 5233 } 5234 case 3344: { 5235 FieldName18 = input.ReadInt32(); 5236 break; 5237 } 5238 } 5239 } 5240 } 5241 #endif 5242 5243 #region Nested types 5244 /// <summary>Container for nested types declared in the TestAllTypesProto3 message type.</summary> 5245 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 5246 public static partial class Types { 5247 public enum NestedEnum { 5248 [pbr::OriginalName("FOO")] Foo = 0, 5249 [pbr::OriginalName("BAR")] Bar = 1, 5250 [pbr::OriginalName("BAZ")] Baz = 2, 5251 /// <summary> 5252 /// Intentionally negative. 5253 /// </summary> 5254 [pbr::OriginalName("NEG")] Neg = -1, 5255 } 5256 5257 public enum AliasedEnum { 5258 [pbr::OriginalName("ALIAS_FOO")] AliasFoo = 0, 5259 [pbr::OriginalName("ALIAS_BAR")] AliasBar = 1, 5260 [pbr::OriginalName("ALIAS_BAZ")] AliasBaz = 2, 5261 [pbr::OriginalName("QUX", PreferredAlias = false)] Qux = 2, 5262 [pbr::OriginalName("qux", PreferredAlias = false)] Qux_ = 2, 5263 [pbr::OriginalName("bAz", PreferredAlias = false)] BAz = 2, 5264 } 5265 5266 public sealed partial class NestedMessage : pb::IMessage<NestedMessage> 5267 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 5268 , pb::IBufferMessage 5269 #endif 5270 { 5271 private static readonly pb::MessageParser<NestedMessage> _parser = new pb::MessageParser<NestedMessage>(() => new NestedMessage()); 5272 private pb::UnknownFieldSet _unknownFields; 5273 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 5274 public static pb::MessageParser<NestedMessage> Parser { get { return _parser; } } 5275 5276 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 5277 public static pbr::MessageDescriptor Descriptor { 5278 get { return global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Descriptor.NestedTypes[0]; } 5279 } 5280 5281 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 5282 pbr::MessageDescriptor pb::IMessage.Descriptor { 5283 get { return Descriptor; } 5284 } 5285 5286 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] NestedMessage()5287 public NestedMessage() { 5288 OnConstruction(); 5289 } 5290 OnConstruction()5291 partial void OnConstruction(); 5292 5293 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] NestedMessage(NestedMessage other)5294 public NestedMessage(NestedMessage other) : this() { 5295 a_ = other.a_; 5296 corecursive_ = other.corecursive_ != null ? other.corecursive_.Clone() : null; 5297 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); 5298 } 5299 5300 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Clone()5301 public NestedMessage Clone() { 5302 return new NestedMessage(this); 5303 } 5304 5305 /// <summary>Field number for the "a" field.</summary> 5306 public const int AFieldNumber = 1; 5307 private int a_; 5308 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 5309 public int A { 5310 get { return a_; } 5311 set { 5312 a_ = value; 5313 } 5314 } 5315 5316 /// <summary>Field number for the "corecursive" field.</summary> 5317 public const int CorecursiveFieldNumber = 2; 5318 private global::ProtobufTestMessages.Proto3.TestAllTypesProto3 corecursive_; 5319 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 5320 public global::ProtobufTestMessages.Proto3.TestAllTypesProto3 Corecursive { 5321 get { return corecursive_; } 5322 set { 5323 corecursive_ = value; 5324 } 5325 } 5326 5327 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Equals(object other)5328 public override bool Equals(object other) { 5329 return Equals(other as NestedMessage); 5330 } 5331 5332 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Equals(NestedMessage other)5333 public bool Equals(NestedMessage other) { 5334 if (ReferenceEquals(other, null)) { 5335 return false; 5336 } 5337 if (ReferenceEquals(other, this)) { 5338 return true; 5339 } 5340 if (A != other.A) return false; 5341 if (!object.Equals(Corecursive, other.Corecursive)) return false; 5342 return Equals(_unknownFields, other._unknownFields); 5343 } 5344 5345 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] GetHashCode()5346 public override int GetHashCode() { 5347 int hash = 1; 5348 if (A != 0) hash ^= A.GetHashCode(); 5349 if (corecursive_ != null) hash ^= Corecursive.GetHashCode(); 5350 if (_unknownFields != null) { 5351 hash ^= _unknownFields.GetHashCode(); 5352 } 5353 return hash; 5354 } 5355 5356 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] ToString()5357 public override string ToString() { 5358 return pb::JsonFormatter.ToDiagnosticString(this); 5359 } 5360 5361 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] WriteTo(pb::CodedOutputStream output)5362 public void WriteTo(pb::CodedOutputStream output) { 5363 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 5364 output.WriteRawMessage(this); 5365 #else 5366 if (A != 0) { 5367 output.WriteRawTag(8); 5368 output.WriteInt32(A); 5369 } 5370 if (corecursive_ != null) { 5371 output.WriteRawTag(18); 5372 output.WriteMessage(Corecursive); 5373 } 5374 if (_unknownFields != null) { 5375 _unknownFields.WriteTo(output); 5376 } 5377 #endif 5378 } 5379 5380 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 5381 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] IBufferMessage.InternalWriteTo(ref pb::WriteContext output)5382 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { 5383 if (A != 0) { 5384 output.WriteRawTag(8); 5385 output.WriteInt32(A); 5386 } 5387 if (corecursive_ != null) { 5388 output.WriteRawTag(18); 5389 output.WriteMessage(Corecursive); 5390 } 5391 if (_unknownFields != null) { 5392 _unknownFields.WriteTo(ref output); 5393 } 5394 } 5395 #endif 5396 5397 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] CalculateSize()5398 public int CalculateSize() { 5399 int size = 0; 5400 if (A != 0) { 5401 size += 1 + pb::CodedOutputStream.ComputeInt32Size(A); 5402 } 5403 if (corecursive_ != null) { 5404 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Corecursive); 5405 } 5406 if (_unknownFields != null) { 5407 size += _unknownFields.CalculateSize(); 5408 } 5409 return size; 5410 } 5411 5412 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] MergeFrom(NestedMessage other)5413 public void MergeFrom(NestedMessage other) { 5414 if (other == null) { 5415 return; 5416 } 5417 if (other.A != 0) { 5418 A = other.A; 5419 } 5420 if (other.corecursive_ != null) { 5421 if (corecursive_ == null) { 5422 Corecursive = new global::ProtobufTestMessages.Proto3.TestAllTypesProto3(); 5423 } 5424 Corecursive.MergeFrom(other.Corecursive); 5425 } 5426 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); 5427 } 5428 5429 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] MergeFrom(pb::CodedInputStream input)5430 public void MergeFrom(pb::CodedInputStream input) { 5431 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 5432 input.ReadRawMessage(this); 5433 #else 5434 uint tag; 5435 while ((tag = input.ReadTag()) != 0) { 5436 switch(tag) { 5437 default: 5438 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); 5439 break; 5440 case 8: { 5441 A = input.ReadInt32(); 5442 break; 5443 } 5444 case 18: { 5445 if (corecursive_ == null) { 5446 Corecursive = new global::ProtobufTestMessages.Proto3.TestAllTypesProto3(); 5447 } 5448 input.ReadMessage(Corecursive); 5449 break; 5450 } 5451 } 5452 } 5453 #endif 5454 } 5455 5456 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 5457 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)5458 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { 5459 uint tag; 5460 while ((tag = input.ReadTag()) != 0) { 5461 switch(tag) { 5462 default: 5463 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); 5464 break; 5465 case 8: { 5466 A = input.ReadInt32(); 5467 break; 5468 } 5469 case 18: { 5470 if (corecursive_ == null) { 5471 Corecursive = new global::ProtobufTestMessages.Proto3.TestAllTypesProto3(); 5472 } 5473 input.ReadMessage(Corecursive); 5474 break; 5475 } 5476 } 5477 } 5478 } 5479 #endif 5480 5481 } 5482 5483 } 5484 #endregion 5485 5486 } 5487 5488 public sealed partial class ForeignMessage : pb::IMessage<ForeignMessage> 5489 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 5490 , pb::IBufferMessage 5491 #endif 5492 { 5493 private static readonly pb::MessageParser<ForeignMessage> _parser = new pb::MessageParser<ForeignMessage>(() => new ForeignMessage()); 5494 private pb::UnknownFieldSet _unknownFields; 5495 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 5496 public static pb::MessageParser<ForeignMessage> Parser { get { return _parser; } } 5497 5498 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 5499 public static pbr::MessageDescriptor Descriptor { 5500 get { return global::ProtobufTestMessages.Proto3.TestMessagesProto3Reflection.Descriptor.MessageTypes[1]; } 5501 } 5502 5503 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 5504 pbr::MessageDescriptor pb::IMessage.Descriptor { 5505 get { return Descriptor; } 5506 } 5507 5508 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] ForeignMessage()5509 public ForeignMessage() { 5510 OnConstruction(); 5511 } 5512 OnConstruction()5513 partial void OnConstruction(); 5514 5515 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] ForeignMessage(ForeignMessage other)5516 public ForeignMessage(ForeignMessage other) : this() { 5517 c_ = other.c_; 5518 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); 5519 } 5520 5521 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Clone()5522 public ForeignMessage Clone() { 5523 return new ForeignMessage(this); 5524 } 5525 5526 /// <summary>Field number for the "c" field.</summary> 5527 public const int CFieldNumber = 1; 5528 private int c_; 5529 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 5530 public int C { 5531 get { return c_; } 5532 set { 5533 c_ = value; 5534 } 5535 } 5536 5537 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Equals(object other)5538 public override bool Equals(object other) { 5539 return Equals(other as ForeignMessage); 5540 } 5541 5542 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Equals(ForeignMessage other)5543 public bool Equals(ForeignMessage other) { 5544 if (ReferenceEquals(other, null)) { 5545 return false; 5546 } 5547 if (ReferenceEquals(other, this)) { 5548 return true; 5549 } 5550 if (C != other.C) return false; 5551 return Equals(_unknownFields, other._unknownFields); 5552 } 5553 5554 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] GetHashCode()5555 public override int GetHashCode() { 5556 int hash = 1; 5557 if (C != 0) hash ^= C.GetHashCode(); 5558 if (_unknownFields != null) { 5559 hash ^= _unknownFields.GetHashCode(); 5560 } 5561 return hash; 5562 } 5563 5564 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] ToString()5565 public override string ToString() { 5566 return pb::JsonFormatter.ToDiagnosticString(this); 5567 } 5568 5569 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] WriteTo(pb::CodedOutputStream output)5570 public void WriteTo(pb::CodedOutputStream output) { 5571 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 5572 output.WriteRawMessage(this); 5573 #else 5574 if (C != 0) { 5575 output.WriteRawTag(8); 5576 output.WriteInt32(C); 5577 } 5578 if (_unknownFields != null) { 5579 _unknownFields.WriteTo(output); 5580 } 5581 #endif 5582 } 5583 5584 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 5585 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] IBufferMessage.InternalWriteTo(ref pb::WriteContext output)5586 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { 5587 if (C != 0) { 5588 output.WriteRawTag(8); 5589 output.WriteInt32(C); 5590 } 5591 if (_unknownFields != null) { 5592 _unknownFields.WriteTo(ref output); 5593 } 5594 } 5595 #endif 5596 5597 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] CalculateSize()5598 public int CalculateSize() { 5599 int size = 0; 5600 if (C != 0) { 5601 size += 1 + pb::CodedOutputStream.ComputeInt32Size(C); 5602 } 5603 if (_unknownFields != null) { 5604 size += _unknownFields.CalculateSize(); 5605 } 5606 return size; 5607 } 5608 5609 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] MergeFrom(ForeignMessage other)5610 public void MergeFrom(ForeignMessage other) { 5611 if (other == null) { 5612 return; 5613 } 5614 if (other.C != 0) { 5615 C = other.C; 5616 } 5617 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); 5618 } 5619 5620 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] MergeFrom(pb::CodedInputStream input)5621 public void MergeFrom(pb::CodedInputStream input) { 5622 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 5623 input.ReadRawMessage(this); 5624 #else 5625 uint tag; 5626 while ((tag = input.ReadTag()) != 0) { 5627 switch(tag) { 5628 default: 5629 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); 5630 break; 5631 case 8: { 5632 C = input.ReadInt32(); 5633 break; 5634 } 5635 } 5636 } 5637 #endif 5638 } 5639 5640 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 5641 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)5642 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { 5643 uint tag; 5644 while ((tag = input.ReadTag()) != 0) { 5645 switch(tag) { 5646 default: 5647 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); 5648 break; 5649 case 8: { 5650 C = input.ReadInt32(); 5651 break; 5652 } 5653 } 5654 } 5655 } 5656 #endif 5657 5658 } 5659 5660 #endregion 5661 5662 } 5663 5664 #endregion Designer generated code 5665