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