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