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