| // <auto-generated> |
| // Generated by the protocol buffer compiler. DO NOT EDIT! |
| // source: conformance/test_protos/test_messages_edition2023.proto |
| // </auto-generated> |
| #pragma warning disable 1591, 0612, 3021, 8981 |
| #region Designer generated code |
| |
| using pb = global::Google.Protobuf; |
| using pbc = global::Google.Protobuf.Collections; |
| using pbr = global::Google.Protobuf.Reflection; |
| using scg = global::System.Collections.Generic; |
| namespace ProtobufTestMessages.Editions { |
| |
| /// <summary>Holder for reflection information generated from conformance/test_protos/test_messages_edition2023.proto</summary> |
| public static partial class TestMessagesEdition2023Reflection { |
| |
| #region Descriptor |
| /// <summary>File descriptor for conformance/test_protos/test_messages_edition2023.proto</summary> |
| public static pbr::FileDescriptor Descriptor { |
| get { return descriptor; } |
| } |
| private static pbr::FileDescriptor descriptor; |
| |
| static TestMessagesEdition2023Reflection() { |
| byte[] descriptorData = global::System.Convert.FromBase64String( |
| string.Concat( |
| "Cjdjb25mb3JtYW5jZS90ZXN0X3Byb3Rvcy90ZXN0X21lc3NhZ2VzX2VkaXRp", |
| "b24yMDIzLnByb3RvEh9wcm90b2J1Zl90ZXN0X21lc3NhZ2VzLmVkaXRpb25z", |
| "IhsKDkNvbXBsZXhNZXNzYWdlEgkKAWQYASABKAUi/zYKF1Rlc3RBbGxUeXBl", |
| "c0VkaXRpb24yMDIzEhYKDm9wdGlvbmFsX2ludDMyGAEgASgFEhYKDm9wdGlv", |
| "bmFsX2ludDY0GAIgASgDEhcKD29wdGlvbmFsX3VpbnQzMhgDIAEoDRIXCg9v", |
| "cHRpb25hbF91aW50NjQYBCABKAQSFwoPb3B0aW9uYWxfc2ludDMyGAUgASgR", |
| "EhcKD29wdGlvbmFsX3NpbnQ2NBgGIAEoEhIYChBvcHRpb25hbF9maXhlZDMy", |
| "GAcgASgHEhgKEG9wdGlvbmFsX2ZpeGVkNjQYCCABKAYSGQoRb3B0aW9uYWxf", |
| "c2ZpeGVkMzIYCSABKA8SGQoRb3B0aW9uYWxfc2ZpeGVkNjQYCiABKBASFgoO", |
| "b3B0aW9uYWxfZmxvYXQYCyABKAISFwoPb3B0aW9uYWxfZG91YmxlGAwgASgB", |
| "EhUKDW9wdGlvbmFsX2Jvb2wYDSABKAgSFwoPb3B0aW9uYWxfc3RyaW5nGA4g", |
| "ASgJEhYKDm9wdGlvbmFsX2J5dGVzGA8gASgMEm4KF29wdGlvbmFsX25lc3Rl", |
| "ZF9tZXNzYWdlGBIgASgLMkYucHJvdG9idWZfdGVzdF9tZXNzYWdlcy5lZGl0", |
| "aW9ucy5UZXN0QWxsVHlwZXNFZGl0aW9uMjAyMy5OZXN0ZWRNZXNzYWdlQgWq", |
| "AQIoARJjChhvcHRpb25hbF9mb3JlaWduX21lc3NhZ2UYEyABKAsyOi5wcm90", |
| "b2J1Zl90ZXN0X21lc3NhZ2VzLmVkaXRpb25zLkZvcmVpZ25NZXNzYWdlRWRp", |
| "dGlvbjIwMjNCBaoBAigBEmEKFG9wdGlvbmFsX25lc3RlZF9lbnVtGBUgASgO", |
| "MkMucHJvdG9idWZfdGVzdF9tZXNzYWdlcy5lZGl0aW9ucy5UZXN0QWxsVHlw", |
| "ZXNFZGl0aW9uMjAyMy5OZXN0ZWRFbnVtElYKFW9wdGlvbmFsX2ZvcmVpZ25f", |
| "ZW51bRgWIAEoDjI3LnByb3RvYnVmX3Rlc3RfbWVzc2FnZXMuZWRpdGlvbnMu", |
| "Rm9yZWlnbkVudW1FZGl0aW9uMjAyMxIhChVvcHRpb25hbF9zdHJpbmdfcGll", |
| "Y2UYGCABKAlCAggCEhkKDW9wdGlvbmFsX2NvcmQYGSABKAlCAggBEloKEXJl", |
| "Y3Vyc2l2ZV9tZXNzYWdlGBsgASgLMjgucHJvdG9idWZfdGVzdF9tZXNzYWdl", |
| "cy5lZGl0aW9ucy5UZXN0QWxsVHlwZXNFZGl0aW9uMjAyM0IFqgECKAESFgoO", |
| "cmVwZWF0ZWRfaW50MzIYHyADKAUSFgoOcmVwZWF0ZWRfaW50NjQYICADKAMS", |
| "FwoPcmVwZWF0ZWRfdWludDMyGCEgAygNEhcKD3JlcGVhdGVkX3VpbnQ2NBgi", |
| "IAMoBBIXCg9yZXBlYXRlZF9zaW50MzIYIyADKBESFwoPcmVwZWF0ZWRfc2lu", |
| "dDY0GCQgAygSEhgKEHJlcGVhdGVkX2ZpeGVkMzIYJSADKAcSGAoQcmVwZWF0", |
| "ZWRfZml4ZWQ2NBgmIAMoBhIZChFyZXBlYXRlZF9zZml4ZWQzMhgnIAMoDxIZ", |
| "ChFyZXBlYXRlZF9zZml4ZWQ2NBgoIAMoEBIWCg5yZXBlYXRlZF9mbG9hdBgp", |
| "IAMoAhIXCg9yZXBlYXRlZF9kb3VibGUYKiADKAESFQoNcmVwZWF0ZWRfYm9v", |
| "bBgrIAMoCBIXCg9yZXBlYXRlZF9zdHJpbmcYLCADKAkSFgoOcmVwZWF0ZWRf", |
| "Ynl0ZXMYLSADKAwSbgoXcmVwZWF0ZWRfbmVzdGVkX21lc3NhZ2UYMCADKAsy", |
| "Ri5wcm90b2J1Zl90ZXN0X21lc3NhZ2VzLmVkaXRpb25zLlRlc3RBbGxUeXBl", |
| "c0VkaXRpb24yMDIzLk5lc3RlZE1lc3NhZ2VCBaoBAigBEmMKGHJlcGVhdGVk", |
| "X2ZvcmVpZ25fbWVzc2FnZRgxIAMoCzI6LnByb3RvYnVmX3Rlc3RfbWVzc2Fn", |
| "ZXMuZWRpdGlvbnMuRm9yZWlnbk1lc3NhZ2VFZGl0aW9uMjAyM0IFqgECKAES", |
| "YQoUcmVwZWF0ZWRfbmVzdGVkX2VudW0YMyADKA4yQy5wcm90b2J1Zl90ZXN0", |
| "X21lc3NhZ2VzLmVkaXRpb25zLlRlc3RBbGxUeXBlc0VkaXRpb24yMDIzLk5l", |
| "c3RlZEVudW0SVgoVcmVwZWF0ZWRfZm9yZWlnbl9lbnVtGDQgAygOMjcucHJv", |
| "dG9idWZfdGVzdF9tZXNzYWdlcy5lZGl0aW9ucy5Gb3JlaWduRW51bUVkaXRp", |
| "b24yMDIzEiEKFXJlcGVhdGVkX3N0cmluZ19waWVjZRg2IAMoCUICCAISGQoN", |
| "cmVwZWF0ZWRfY29yZBg3IAMoCUICCAESGwoMcGFja2VkX2ludDMyGEsgAygF", |
| "QgWqAQIYARIbCgxwYWNrZWRfaW50NjQYTCADKANCBaoBAhgBEhwKDXBhY2tl", |
| "ZF91aW50MzIYTSADKA1CBaoBAhgBEhwKDXBhY2tlZF91aW50NjQYTiADKARC", |
| "BaoBAhgBEhwKDXBhY2tlZF9zaW50MzIYTyADKBFCBaoBAhgBEhwKDXBhY2tl", |
| "ZF9zaW50NjQYUCADKBJCBaoBAhgBEh0KDnBhY2tlZF9maXhlZDMyGFEgAygH", |
| "QgWqAQIYARIdCg5wYWNrZWRfZml4ZWQ2NBhSIAMoBkIFqgECGAESHgoPcGFj", |
| "a2VkX3NmaXhlZDMyGFMgAygPQgWqAQIYARIeCg9wYWNrZWRfc2ZpeGVkNjQY", |
| "VCADKBBCBaoBAhgBEhsKDHBhY2tlZF9mbG9hdBhVIAMoAkIFqgECGAESHAoN", |
| "cGFja2VkX2RvdWJsZRhWIAMoAUIFqgECGAESGgoLcGFja2VkX2Jvb2wYVyAD", |
| "KAhCBaoBAhgBEmYKEnBhY2tlZF9uZXN0ZWRfZW51bRhYIAMoDjJDLnByb3Rv", |
| "YnVmX3Rlc3RfbWVzc2FnZXMuZWRpdGlvbnMuVGVzdEFsbFR5cGVzRWRpdGlv", |
| "bjIwMjMuTmVzdGVkRW51bUIFqgECGAESHQoOdW5wYWNrZWRfaW50MzIYWSAD", |
| "KAVCBaoBAhgCEh0KDnVucGFja2VkX2ludDY0GFogAygDQgWqAQIYAhIeCg91", |
| "bnBhY2tlZF91aW50MzIYWyADKA1CBaoBAhgCEh4KD3VucGFja2VkX3VpbnQ2", |
| "NBhcIAMoBEIFqgECGAISHgoPdW5wYWNrZWRfc2ludDMyGF0gAygRQgWqAQIY", |
| "AhIeCg91bnBhY2tlZF9zaW50NjQYXiADKBJCBaoBAhgCEh8KEHVucGFja2Vk", |
| "X2ZpeGVkMzIYXyADKAdCBaoBAhgCEh8KEHVucGFja2VkX2ZpeGVkNjQYYCAD", |
| "KAZCBaoBAhgCEiAKEXVucGFja2VkX3NmaXhlZDMyGGEgAygPQgWqAQIYAhIg", |
| "ChF1bnBhY2tlZF9zZml4ZWQ2NBhiIAMoEEIFqgECGAISHQoOdW5wYWNrZWRf", |
| "ZmxvYXQYYyADKAJCBaoBAhgCEh4KD3VucGFja2VkX2RvdWJsZRhkIAMoAUIF", |
| "qgECGAISHAoNdW5wYWNrZWRfYm9vbBhlIAMoCEIFqgECGAISaAoUdW5wYWNr", |
| "ZWRfbmVzdGVkX2VudW0YZiADKA4yQy5wcm90b2J1Zl90ZXN0X21lc3NhZ2Vz", |
| "LmVkaXRpb25zLlRlc3RBbGxUeXBlc0VkaXRpb24yMDIzLk5lc3RlZEVudW1C", |
| "BaoBAhgCEmQKD21hcF9pbnQzMl9pbnQzMhg4IAMoCzJLLnByb3RvYnVmX3Rl", |
| "c3RfbWVzc2FnZXMuZWRpdGlvbnMuVGVzdEFsbFR5cGVzRWRpdGlvbjIwMjMu", |
| "TWFwSW50MzJJbnQzMkVudHJ5EmQKD21hcF9pbnQ2NF9pbnQ2NBg5IAMoCzJL", |
| "LnByb3RvYnVmX3Rlc3RfbWVzc2FnZXMuZWRpdGlvbnMuVGVzdEFsbFR5cGVz", |
| "RWRpdGlvbjIwMjMuTWFwSW50NjRJbnQ2NEVudHJ5EmgKEW1hcF91aW50MzJf", |
| "dWludDMyGDogAygLMk0ucHJvdG9idWZfdGVzdF9tZXNzYWdlcy5lZGl0aW9u", |
| "cy5UZXN0QWxsVHlwZXNFZGl0aW9uMjAyMy5NYXBVaW50MzJVaW50MzJFbnRy", |
| "eRJoChFtYXBfdWludDY0X3VpbnQ2NBg7IAMoCzJNLnByb3RvYnVmX3Rlc3Rf", |
| "bWVzc2FnZXMuZWRpdGlvbnMuVGVzdEFsbFR5cGVzRWRpdGlvbjIwMjMuTWFw", |
| "VWludDY0VWludDY0RW50cnkSaAoRbWFwX3NpbnQzMl9zaW50MzIYPCADKAsy", |
| "TS5wcm90b2J1Zl90ZXN0X21lc3NhZ2VzLmVkaXRpb25zLlRlc3RBbGxUeXBl", |
| "c0VkaXRpb24yMDIzLk1hcFNpbnQzMlNpbnQzMkVudHJ5EmgKEW1hcF9zaW50", |
| "NjRfc2ludDY0GD0gAygLMk0ucHJvdG9idWZfdGVzdF9tZXNzYWdlcy5lZGl0", |
| "aW9ucy5UZXN0QWxsVHlwZXNFZGl0aW9uMjAyMy5NYXBTaW50NjRTaW50NjRF", |
| "bnRyeRJsChNtYXBfZml4ZWQzMl9maXhlZDMyGD4gAygLMk8ucHJvdG9idWZf", |
| "dGVzdF9tZXNzYWdlcy5lZGl0aW9ucy5UZXN0QWxsVHlwZXNFZGl0aW9uMjAy", |
| "My5NYXBGaXhlZDMyRml4ZWQzMkVudHJ5EmwKE21hcF9maXhlZDY0X2ZpeGVk", |
| "NjQYPyADKAsyTy5wcm90b2J1Zl90ZXN0X21lc3NhZ2VzLmVkaXRpb25zLlRl", |
| "c3RBbGxUeXBlc0VkaXRpb24yMDIzLk1hcEZpeGVkNjRGaXhlZDY0RW50cnkS", |
| "cAoVbWFwX3NmaXhlZDMyX3NmaXhlZDMyGEAgAygLMlEucHJvdG9idWZfdGVz", |
| "dF9tZXNzYWdlcy5lZGl0aW9ucy5UZXN0QWxsVHlwZXNFZGl0aW9uMjAyMy5N", |
| "YXBTZml4ZWQzMlNmaXhlZDMyRW50cnkScAoVbWFwX3NmaXhlZDY0X3NmaXhl", |
| "ZDY0GEEgAygLMlEucHJvdG9idWZfdGVzdF9tZXNzYWdlcy5lZGl0aW9ucy5U", |
| "ZXN0QWxsVHlwZXNFZGl0aW9uMjAyMy5NYXBTZml4ZWQ2NFNmaXhlZDY0RW50", |
| "cnkSZAoPbWFwX2ludDMyX2Zsb2F0GEIgAygLMksucHJvdG9idWZfdGVzdF9t", |
| "ZXNzYWdlcy5lZGl0aW9ucy5UZXN0QWxsVHlwZXNFZGl0aW9uMjAyMy5NYXBJ", |
| "bnQzMkZsb2F0RW50cnkSZgoQbWFwX2ludDMyX2RvdWJsZRhDIAMoCzJMLnBy", |
| "b3RvYnVmX3Rlc3RfbWVzc2FnZXMuZWRpdGlvbnMuVGVzdEFsbFR5cGVzRWRp", |
| "dGlvbjIwMjMuTWFwSW50MzJEb3VibGVFbnRyeRJgCg1tYXBfYm9vbF9ib29s", |
| "GEQgAygLMkkucHJvdG9idWZfdGVzdF9tZXNzYWdlcy5lZGl0aW9ucy5UZXN0", |
| "QWxsVHlwZXNFZGl0aW9uMjAyMy5NYXBCb29sQm9vbEVudHJ5EmgKEW1hcF9z", |
| "dHJpbmdfc3RyaW5nGEUgAygLMk0ucHJvdG9idWZfdGVzdF9tZXNzYWdlcy5l", |
| "ZGl0aW9ucy5UZXN0QWxsVHlwZXNFZGl0aW9uMjAyMy5NYXBTdHJpbmdTdHJp", |
| "bmdFbnRyeRJmChBtYXBfc3RyaW5nX2J5dGVzGEYgAygLMkwucHJvdG9idWZf", |
| "dGVzdF9tZXNzYWdlcy5lZGl0aW9ucy5UZXN0QWxsVHlwZXNFZGl0aW9uMjAy", |
| "My5NYXBTdHJpbmdCeXRlc0VudHJ5EncKGW1hcF9zdHJpbmdfbmVzdGVkX21l", |
| "c3NhZ2UYRyADKAsyVC5wcm90b2J1Zl90ZXN0X21lc3NhZ2VzLmVkaXRpb25z", |
| "LlRlc3RBbGxUeXBlc0VkaXRpb24yMDIzLk1hcFN0cmluZ05lc3RlZE1lc3Nh", |
| "Z2VFbnRyeRJ5ChptYXBfc3RyaW5nX2ZvcmVpZ25fbWVzc2FnZRhIIAMoCzJV", |
| "LnByb3RvYnVmX3Rlc3RfbWVzc2FnZXMuZWRpdGlvbnMuVGVzdEFsbFR5cGVz", |
| "RWRpdGlvbjIwMjMuTWFwU3RyaW5nRm9yZWlnbk1lc3NhZ2VFbnRyeRJxChZt", |
| "YXBfc3RyaW5nX25lc3RlZF9lbnVtGEkgAygLMlEucHJvdG9idWZfdGVzdF9t", |
| "ZXNzYWdlcy5lZGl0aW9ucy5UZXN0QWxsVHlwZXNFZGl0aW9uMjAyMy5NYXBT", |
| "dHJpbmdOZXN0ZWRFbnVtRW50cnkScwoXbWFwX3N0cmluZ19mb3JlaWduX2Vu", |
| "dW0YSiADKAsyUi5wcm90b2J1Zl90ZXN0X21lc3NhZ2VzLmVkaXRpb25zLlRl", |
| "c3RBbGxUeXBlc0VkaXRpb24yMDIzLk1hcFN0cmluZ0ZvcmVpZ25FbnVtRW50", |
| "cnkSFgoMb25lb2ZfdWludDMyGG8gASgNSAASbQoUb25lb2ZfbmVzdGVkX21l", |
| "c3NhZ2UYcCABKAsyRi5wcm90b2J1Zl90ZXN0X21lc3NhZ2VzLmVkaXRpb25z", |
| "LlRlc3RBbGxUeXBlc0VkaXRpb24yMDIzLk5lc3RlZE1lc3NhZ2VCBaoBAigB", |
| "SAASFgoMb25lb2Zfc3RyaW5nGHEgASgJSAASFQoLb25lb2ZfYnl0ZXMYciAB", |
| "KAxIABIUCgpvbmVvZl9ib29sGHMgASgISAASFgoMb25lb2ZfdWludDY0GHQg", |
| "ASgESAASFQoLb25lb2ZfZmxvYXQYdSABKAJIABIWCgxvbmVvZl9kb3VibGUY", |
| "diABKAFIABJZCgpvbmVvZl9lbnVtGHcgASgOMkMucHJvdG9idWZfdGVzdF9t", |
| "ZXNzYWdlcy5lZGl0aW9ucy5UZXN0QWxsVHlwZXNFZGl0aW9uMjAyMy5OZXN0", |
| "ZWRFbnVtSAASXgoNZ3JvdXBsaWtldHlwZRjJASABKAsyRi5wcm90b2J1Zl90", |
| "ZXN0X21lc3NhZ2VzLmVkaXRpb25zLlRlc3RBbGxUeXBlc0VkaXRpb24yMDIz", |
| "Lkdyb3VwTGlrZVR5cGUSYAoPZGVsaW1pdGVkX2ZpZWxkGMoBIAEoCzJGLnBy", |
| "b3RvYnVmX3Rlc3RfbWVzc2FnZXMuZWRpdGlvbnMuVGVzdEFsbFR5cGVzRWRp", |
| "dGlvbjIwMjMuR3JvdXBMaWtlVHlwZRpwCg1OZXN0ZWRNZXNzYWdlEgkKAWEY", |
| "ASABKAUSVAoLY29yZWN1cnNpdmUYAiABKAsyOC5wcm90b2J1Zl90ZXN0X21l", |
| "c3NhZ2VzLmVkaXRpb25zLlRlc3RBbGxUeXBlc0VkaXRpb24yMDIzQgWqAQIo", |
| "ARo0ChJNYXBJbnQzMkludDMyRW50cnkSCwoDa2V5GAEgASgFEg0KBXZhbHVl", |
| "GAIgASgFOgI4ARo0ChJNYXBJbnQ2NEludDY0RW50cnkSCwoDa2V5GAEgASgD", |
| "Eg0KBXZhbHVlGAIgASgDOgI4ARo2ChRNYXBVaW50MzJVaW50MzJFbnRyeRIL", |
| "CgNrZXkYASABKA0SDQoFdmFsdWUYAiABKA06AjgBGjYKFE1hcFVpbnQ2NFVp", |
| "bnQ2NEVudHJ5EgsKA2tleRgBIAEoBBINCgV2YWx1ZRgCIAEoBDoCOAEaNgoU", |
| "TWFwU2ludDMyU2ludDMyRW50cnkSCwoDa2V5GAEgASgREg0KBXZhbHVlGAIg", |
| "ASgROgI4ARo2ChRNYXBTaW50NjRTaW50NjRFbnRyeRILCgNrZXkYASABKBIS", |
| "DQoFdmFsdWUYAiABKBI6AjgBGjgKFk1hcEZpeGVkMzJGaXhlZDMyRW50cnkS", |
| "CwoDa2V5GAEgASgHEg0KBXZhbHVlGAIgASgHOgI4ARo4ChZNYXBGaXhlZDY0", |
| "Rml4ZWQ2NEVudHJ5EgsKA2tleRgBIAEoBhINCgV2YWx1ZRgCIAEoBjoCOAEa", |
| "OgoYTWFwU2ZpeGVkMzJTZml4ZWQzMkVudHJ5EgsKA2tleRgBIAEoDxINCgV2", |
| "YWx1ZRgCIAEoDzoCOAEaOgoYTWFwU2ZpeGVkNjRTZml4ZWQ2NEVudHJ5EgsK", |
| "A2tleRgBIAEoEBINCgV2YWx1ZRgCIAEoEDoCOAEaNAoSTWFwSW50MzJGbG9h", |
| "dEVudHJ5EgsKA2tleRgBIAEoBRINCgV2YWx1ZRgCIAEoAjoCOAEaNQoTTWFw", |
| "SW50MzJEb3VibGVFbnRyeRILCgNrZXkYASABKAUSDQoFdmFsdWUYAiABKAE6", |
| "AjgBGjIKEE1hcEJvb2xCb29sRW50cnkSCwoDa2V5GAEgASgIEg0KBXZhbHVl", |
| "GAIgASgIOgI4ARo2ChRNYXBTdHJpbmdTdHJpbmdFbnRyeRILCgNrZXkYASAB", |
| "KAkSDQoFdmFsdWUYAiABKAk6AjgBGjUKE01hcFN0cmluZ0J5dGVzRW50cnkS", |
| "CwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgMOgI4ARqFAQobTWFwU3RyaW5n", |
| "TmVzdGVkTWVzc2FnZUVudHJ5EgsKA2tleRgBIAEoCRJVCgV2YWx1ZRgCIAEo", |
| "CzJGLnByb3RvYnVmX3Rlc3RfbWVzc2FnZXMuZWRpdGlvbnMuVGVzdEFsbFR5", |
| "cGVzRWRpdGlvbjIwMjMuTmVzdGVkTWVzc2FnZToCOAEaegocTWFwU3RyaW5n", |
| "Rm9yZWlnbk1lc3NhZ2VFbnRyeRILCgNrZXkYASABKAkSSQoFdmFsdWUYAiAB", |
| "KAsyOi5wcm90b2J1Zl90ZXN0X21lc3NhZ2VzLmVkaXRpb25zLkZvcmVpZ25N", |
| "ZXNzYWdlRWRpdGlvbjIwMjM6AjgBGn8KGE1hcFN0cmluZ05lc3RlZEVudW1F", |
| "bnRyeRILCgNrZXkYASABKAkSUgoFdmFsdWUYAiABKA4yQy5wcm90b2J1Zl90", |
| "ZXN0X21lc3NhZ2VzLmVkaXRpb25zLlRlc3RBbGxUeXBlc0VkaXRpb24yMDIz", |
| "Lk5lc3RlZEVudW06AjgBGnQKGU1hcFN0cmluZ0ZvcmVpZ25FbnVtRW50cnkS", |
| "CwoDa2V5GAEgASgJEkYKBXZhbHVlGAIgASgOMjcucHJvdG9idWZfdGVzdF9t", |
| "ZXNzYWdlcy5lZGl0aW9ucy5Gb3JlaWduRW51bUVkaXRpb24yMDIzOgI4ARo8", |
| "Cg1Hcm91cExpa2VUeXBlEhQKC2dyb3VwX2ludDMyGMoBIAEoBRIVCgxncm91", |
| "cF91aW50MzIYywEgASgNIjkKCk5lc3RlZEVudW0SBwoDRk9PEAASBwoDQkFS", |
| "EAESBwoDQkFaEAISEAoDTkVHEP///////////wEqBQh4EMkBQg0KC29uZW9m", |
| "X2ZpZWxkIiYKGUZvcmVpZ25NZXNzYWdlRWRpdGlvbjIwMjMSCQoBYxgBIAEo", |
| "BSIaCg1Hcm91cExpa2VUeXBlEgkKAWMYASABKAUqSwoWRm9yZWlnbkVudW1F", |
| "ZGl0aW9uMjAyMxIPCgtGT1JFSUdOX0ZPTxAAEg8KC0ZPUkVJR05fQkFSEAES", |
| "DwoLRk9SRUlHTl9CQVoQAjpRCg9leHRlbnNpb25faW50MzISOC5wcm90b2J1", |
| "Zl90ZXN0X21lc3NhZ2VzLmVkaXRpb25zLlRlc3RBbGxUeXBlc0VkaXRpb24y", |
| "MDIzGHggASgFOn8KDWdyb3VwbGlrZXR5cGUSOC5wcm90b2J1Zl90ZXN0X21l", |
| "c3NhZ2VzLmVkaXRpb25zLlRlc3RBbGxUeXBlc0VkaXRpb24yMDIzGHkgASgL", |
| "Mi4ucHJvdG9idWZfdGVzdF9tZXNzYWdlcy5lZGl0aW9ucy5Hcm91cExpa2VU", |
| "eXBlOn8KDWRlbGltaXRlZF9leHQSOC5wcm90b2J1Zl90ZXN0X21lc3NhZ2Vz", |
| "LmVkaXRpb25zLlRlc3RBbGxUeXBlc0VkaXRpb24yMDIzGHogASgLMi4ucHJv", |
| "dG9idWZfdGVzdF9tZXNzYWdlcy5lZGl0aW9ucy5Hcm91cExpa2VUeXBlQkEK", |
| "LWNvbS5nb29nbGUucHJvdG9idWZfdGVzdF9tZXNzYWdlcy5lZGl0aW9uMjAy", |
| "M1ABogIIRWRpdGlvbnOSAwIoAmIIZWRpdGlvbnNw6Ac=")); |
| descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, |
| new pbr::FileDescriptor[] { }, |
| new pbr::GeneratedClrTypeInfo(new[] {typeof(global::ProtobufTestMessages.Editions.ForeignEnumEdition2023), }, new pb::Extension[] { TestMessagesEdition2023Extensions.ExtensionInt32, TestMessagesEdition2023Extensions.GroupLikeType, TestMessagesEdition2023Extensions.DelimitedExt }, new pbr::GeneratedClrTypeInfo[] { |
| new pbr::GeneratedClrTypeInfo(typeof(global::ProtobufTestMessages.Editions.ComplexMessage), global::ProtobufTestMessages.Editions.ComplexMessage.Parser, new[]{ "D" }, null, null, null, null), |
| new pbr::GeneratedClrTypeInfo(typeof(global::ProtobufTestMessages.Editions.TestAllTypesEdition2023), global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Parser, new[]{ "OptionalInt32", "OptionalInt64", "OptionalUint32", "OptionalUint64", "OptionalSint32", "OptionalSint64", "OptionalFixed32", "OptionalFixed64", "OptionalSfixed32", "OptionalSfixed64", "OptionalFloat", "OptionalDouble", "OptionalBool", "OptionalString", "OptionalBytes", "OptionalNestedMessage", "OptionalForeignMessage", "OptionalNestedEnum", "OptionalForeignEnum", "OptionalStringPiece", "OptionalCord", "RecursiveMessage", "RepeatedInt32", "RepeatedInt64", "RepeatedUint32", "RepeatedUint64", "RepeatedSint32", "RepeatedSint64", "RepeatedFixed32", "RepeatedFixed64", "RepeatedSfixed32", "RepeatedSfixed64", "RepeatedFloat", "RepeatedDouble", "RepeatedBool", "RepeatedString", "RepeatedBytes", "RepeatedNestedMessage", "RepeatedForeignMessage", "RepeatedNestedEnum", "RepeatedForeignEnum", "RepeatedStringPiece", "RepeatedCord", "PackedInt32", "PackedInt64", "PackedUint32", "PackedUint64", "PackedSint32", "PackedSint64", "PackedFixed32", "PackedFixed64", "PackedSfixed32", "PackedSfixed64", "PackedFloat", "PackedDouble", "PackedBool", "PackedNestedEnum", "UnpackedInt32", "UnpackedInt64", "UnpackedUint32", "UnpackedUint64", "UnpackedSint32", "UnpackedSint64", "UnpackedFixed32", "UnpackedFixed64", "UnpackedSfixed32", "UnpackedSfixed64", "UnpackedFloat", "UnpackedDouble", "UnpackedBool", "UnpackedNestedEnum", "MapInt32Int32", "MapInt64Int64", "MapUint32Uint32", "MapUint64Uint64", "MapSint32Sint32", "MapSint64Sint64", "MapFixed32Fixed32", "MapFixed64Fixed64", "MapSfixed32Sfixed32", "MapSfixed64Sfixed64", "MapInt32Float", "MapInt32Double", "MapBoolBool", "MapStringString", "MapStringBytes", "MapStringNestedMessage", "MapStringForeignMessage", "MapStringNestedEnum", "MapStringForeignEnum", "OneofUint32", "OneofNestedMessage", "OneofString", "OneofBytes", "OneofBool", "OneofUint64", "OneofFloat", "OneofDouble", "OneofEnum", "GroupLikeType", "DelimitedField" }, new[]{ "OneofField" }, new[]{ typeof(global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.NestedEnum) }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.NestedMessage), global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.NestedMessage.Parser, new[]{ "A", "Corecursive" }, null, null, null, null), |
| null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, new pbr::GeneratedClrTypeInfo(typeof(global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.GroupLikeType), global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.GroupLikeType.Parser, new[]{ "GroupInt32", "GroupUint32" }, null, null, null, null)}), |
| new pbr::GeneratedClrTypeInfo(typeof(global::ProtobufTestMessages.Editions.ForeignMessageEdition2023), global::ProtobufTestMessages.Editions.ForeignMessageEdition2023.Parser, new[]{ "C" }, null, null, null, null), |
| new pbr::GeneratedClrTypeInfo(typeof(global::ProtobufTestMessages.Editions.GroupLikeType), global::ProtobufTestMessages.Editions.GroupLikeType.Parser, new[]{ "C" }, null, null, null, null) |
| })); |
| } |
| #endregion |
| |
| } |
| /// <summary>Holder for extension identifiers generated from the top level of conformance/test_protos/test_messages_edition2023.proto</summary> |
| public static partial class TestMessagesEdition2023Extensions { |
| public static readonly pb::Extension<global::ProtobufTestMessages.Editions.TestAllTypesEdition2023, int> ExtensionInt32 = |
| new pb::Extension<global::ProtobufTestMessages.Editions.TestAllTypesEdition2023, int>(120, pb::FieldCodec.ForInt32(960, 0)); |
| public static readonly pb::Extension<global::ProtobufTestMessages.Editions.TestAllTypesEdition2023, global::ProtobufTestMessages.Editions.GroupLikeType> GroupLikeType = |
| new pb::Extension<global::ProtobufTestMessages.Editions.TestAllTypesEdition2023, global::ProtobufTestMessages.Editions.GroupLikeType>(121, pb::FieldCodec.ForGroup(971, 972, global::ProtobufTestMessages.Editions.GroupLikeType.Parser)); |
| public static readonly pb::Extension<global::ProtobufTestMessages.Editions.TestAllTypesEdition2023, global::ProtobufTestMessages.Editions.GroupLikeType> DelimitedExt = |
| new pb::Extension<global::ProtobufTestMessages.Editions.TestAllTypesEdition2023, global::ProtobufTestMessages.Editions.GroupLikeType>(122, pb::FieldCodec.ForGroup(979, 980, global::ProtobufTestMessages.Editions.GroupLikeType.Parser)); |
| } |
| |
| #region Enums |
| public enum ForeignEnumEdition2023 { |
| [pbr::OriginalName("FOREIGN_FOO")] ForeignFoo = 0, |
| [pbr::OriginalName("FOREIGN_BAR")] ForeignBar = 1, |
| [pbr::OriginalName("FOREIGN_BAZ")] ForeignBaz = 2, |
| } |
| |
| #endregion |
| |
| #region Messages |
| [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] |
| public sealed partial class ComplexMessage : pb::IMessage<ComplexMessage> |
| #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| , pb::IBufferMessage |
| #endif |
| { |
| private static readonly pb::MessageParser<ComplexMessage> _parser = new pb::MessageParser<ComplexMessage>(() => new ComplexMessage()); |
| private pb::UnknownFieldSet _unknownFields; |
| private int _hasBits0; |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public static pb::MessageParser<ComplexMessage> Parser { get { return _parser; } } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public static pbr::MessageDescriptor Descriptor { |
| get { return global::ProtobufTestMessages.Editions.TestMessagesEdition2023Reflection.Descriptor.MessageTypes[0]; } |
| } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| pbr::MessageDescriptor pb::IMessage.Descriptor { |
| get { return Descriptor; } |
| } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public ComplexMessage() { |
| OnConstruction(); |
| } |
| |
| partial void OnConstruction(); |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public ComplexMessage(ComplexMessage other) : this() { |
| _hasBits0 = other._hasBits0; |
| d_ = other.d_; |
| _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public ComplexMessage Clone() { |
| return new ComplexMessage(this); |
| } |
| |
| /// <summary>Field number for the "d" field.</summary> |
| public const int DFieldNumber = 1; |
| private readonly static int DDefaultValue = 0; |
| |
| private int d_; |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public int D { |
| get { if ((_hasBits0 & 1) != 0) { return d_; } else { return DDefaultValue; } } |
| set { |
| _hasBits0 |= 1; |
| d_ = value; |
| } |
| } |
| /// <summary>Gets whether the "d" field is set</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public bool HasD { |
| get { return (_hasBits0 & 1) != 0; } |
| } |
| /// <summary>Clears the value of the "d" field</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public void ClearD() { |
| _hasBits0 &= ~1; |
| } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public override bool Equals(object other) { |
| return Equals(other as ComplexMessage); |
| } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public bool Equals(ComplexMessage other) { |
| if (ReferenceEquals(other, null)) { |
| return false; |
| } |
| if (ReferenceEquals(other, this)) { |
| return true; |
| } |
| if (D != other.D) return false; |
| return Equals(_unknownFields, other._unknownFields); |
| } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public override int GetHashCode() { |
| int hash = 1; |
| if (HasD) hash ^= D.GetHashCode(); |
| if (_unknownFields != null) { |
| hash ^= _unknownFields.GetHashCode(); |
| } |
| return hash; |
| } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public override string ToString() { |
| return pb::JsonFormatter.ToDiagnosticString(this); |
| } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public void WriteTo(pb::CodedOutputStream output) { |
| #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| output.WriteRawMessage(this); |
| #else |
| if (HasD) { |
| output.WriteRawTag(8); |
| output.WriteInt32(D); |
| } |
| if (_unknownFields != null) { |
| _unknownFields.WriteTo(output); |
| } |
| #endif |
| } |
| |
| #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| if (HasD) { |
| output.WriteRawTag(8); |
| output.WriteInt32(D); |
| } |
| if (_unknownFields != null) { |
| _unknownFields.WriteTo(ref output); |
| } |
| } |
| #endif |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public int CalculateSize() { |
| int size = 0; |
| if (HasD) { |
| size += 1 + pb::CodedOutputStream.ComputeInt32Size(D); |
| } |
| if (_unknownFields != null) { |
| size += _unknownFields.CalculateSize(); |
| } |
| return size; |
| } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public void MergeFrom(ComplexMessage other) { |
| if (other == null) { |
| return; |
| } |
| if (other.HasD) { |
| D = other.D; |
| } |
| _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public void MergeFrom(pb::CodedInputStream input) { |
| #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| input.ReadRawMessage(this); |
| #else |
| uint tag; |
| while ((tag = input.ReadTag()) != 0) { |
| if ((tag & 7) == 4) { |
| // Abort on any end group tag. |
| return; |
| } |
| switch(tag) { |
| default: |
| _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| break; |
| case 8: { |
| D = input.ReadInt32(); |
| break; |
| } |
| } |
| } |
| #endif |
| } |
| |
| #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| uint tag; |
| while ((tag = input.ReadTag()) != 0) { |
| if ((tag & 7) == 4) { |
| // Abort on any end group tag. |
| return; |
| } |
| switch(tag) { |
| default: |
| _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| break; |
| case 8: { |
| D = input.ReadInt32(); |
| break; |
| } |
| } |
| } |
| } |
| #endif |
| |
| } |
| |
| [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] |
| public sealed partial class TestAllTypesEdition2023 : pb::IExtendableMessage<TestAllTypesEdition2023> |
| #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| , pb::IBufferMessage |
| #endif |
| { |
| private static readonly pb::MessageParser<TestAllTypesEdition2023> _parser = new pb::MessageParser<TestAllTypesEdition2023>(() => new TestAllTypesEdition2023()); |
| private pb::UnknownFieldSet _unknownFields; |
| private pb::ExtensionSet<TestAllTypesEdition2023> _extensions; |
| private pb::ExtensionSet<TestAllTypesEdition2023> _Extensions { get { return _extensions; } } |
| private int _hasBits0; |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public static pb::MessageParser<TestAllTypesEdition2023> Parser { get { return _parser; } } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public static pbr::MessageDescriptor Descriptor { |
| get { return global::ProtobufTestMessages.Editions.TestMessagesEdition2023Reflection.Descriptor.MessageTypes[1]; } |
| } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| pbr::MessageDescriptor pb::IMessage.Descriptor { |
| get { return Descriptor; } |
| } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public TestAllTypesEdition2023() { |
| OnConstruction(); |
| } |
| |
| partial void OnConstruction(); |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public TestAllTypesEdition2023(TestAllTypesEdition2023 other) : this() { |
| _hasBits0 = other._hasBits0; |
| optionalInt32_ = other.optionalInt32_; |
| optionalInt64_ = other.optionalInt64_; |
| optionalUint32_ = other.optionalUint32_; |
| optionalUint64_ = other.optionalUint64_; |
| optionalSint32_ = other.optionalSint32_; |
| optionalSint64_ = other.optionalSint64_; |
| optionalFixed32_ = other.optionalFixed32_; |
| optionalFixed64_ = other.optionalFixed64_; |
| optionalSfixed32_ = other.optionalSfixed32_; |
| optionalSfixed64_ = other.optionalSfixed64_; |
| optionalFloat_ = other.optionalFloat_; |
| optionalDouble_ = other.optionalDouble_; |
| optionalBool_ = other.optionalBool_; |
| optionalString_ = other.optionalString_; |
| optionalBytes_ = other.optionalBytes_; |
| optionalNestedMessage_ = other.optionalNestedMessage_ != null ? other.optionalNestedMessage_.Clone() : null; |
| optionalForeignMessage_ = other.optionalForeignMessage_ != null ? other.optionalForeignMessage_.Clone() : null; |
| optionalNestedEnum_ = other.optionalNestedEnum_; |
| optionalForeignEnum_ = other.optionalForeignEnum_; |
| optionalStringPiece_ = other.optionalStringPiece_; |
| optionalCord_ = other.optionalCord_; |
| recursiveMessage_ = other.recursiveMessage_ != null ? other.recursiveMessage_.Clone() : null; |
| repeatedInt32_ = other.repeatedInt32_.Clone(); |
| repeatedInt64_ = other.repeatedInt64_.Clone(); |
| repeatedUint32_ = other.repeatedUint32_.Clone(); |
| repeatedUint64_ = other.repeatedUint64_.Clone(); |
| repeatedSint32_ = other.repeatedSint32_.Clone(); |
| repeatedSint64_ = other.repeatedSint64_.Clone(); |
| repeatedFixed32_ = other.repeatedFixed32_.Clone(); |
| repeatedFixed64_ = other.repeatedFixed64_.Clone(); |
| repeatedSfixed32_ = other.repeatedSfixed32_.Clone(); |
| repeatedSfixed64_ = other.repeatedSfixed64_.Clone(); |
| repeatedFloat_ = other.repeatedFloat_.Clone(); |
| repeatedDouble_ = other.repeatedDouble_.Clone(); |
| repeatedBool_ = other.repeatedBool_.Clone(); |
| repeatedString_ = other.repeatedString_.Clone(); |
| repeatedBytes_ = other.repeatedBytes_.Clone(); |
| repeatedNestedMessage_ = other.repeatedNestedMessage_.Clone(); |
| repeatedForeignMessage_ = other.repeatedForeignMessage_.Clone(); |
| repeatedNestedEnum_ = other.repeatedNestedEnum_.Clone(); |
| repeatedForeignEnum_ = other.repeatedForeignEnum_.Clone(); |
| repeatedStringPiece_ = other.repeatedStringPiece_.Clone(); |
| repeatedCord_ = other.repeatedCord_.Clone(); |
| packedInt32_ = other.packedInt32_.Clone(); |
| packedInt64_ = other.packedInt64_.Clone(); |
| packedUint32_ = other.packedUint32_.Clone(); |
| packedUint64_ = other.packedUint64_.Clone(); |
| packedSint32_ = other.packedSint32_.Clone(); |
| packedSint64_ = other.packedSint64_.Clone(); |
| packedFixed32_ = other.packedFixed32_.Clone(); |
| packedFixed64_ = other.packedFixed64_.Clone(); |
| packedSfixed32_ = other.packedSfixed32_.Clone(); |
| packedSfixed64_ = other.packedSfixed64_.Clone(); |
| packedFloat_ = other.packedFloat_.Clone(); |
| packedDouble_ = other.packedDouble_.Clone(); |
| packedBool_ = other.packedBool_.Clone(); |
| packedNestedEnum_ = other.packedNestedEnum_.Clone(); |
| unpackedInt32_ = other.unpackedInt32_.Clone(); |
| unpackedInt64_ = other.unpackedInt64_.Clone(); |
| unpackedUint32_ = other.unpackedUint32_.Clone(); |
| unpackedUint64_ = other.unpackedUint64_.Clone(); |
| unpackedSint32_ = other.unpackedSint32_.Clone(); |
| unpackedSint64_ = other.unpackedSint64_.Clone(); |
| unpackedFixed32_ = other.unpackedFixed32_.Clone(); |
| unpackedFixed64_ = other.unpackedFixed64_.Clone(); |
| unpackedSfixed32_ = other.unpackedSfixed32_.Clone(); |
| unpackedSfixed64_ = other.unpackedSfixed64_.Clone(); |
| unpackedFloat_ = other.unpackedFloat_.Clone(); |
| unpackedDouble_ = other.unpackedDouble_.Clone(); |
| unpackedBool_ = other.unpackedBool_.Clone(); |
| unpackedNestedEnum_ = other.unpackedNestedEnum_.Clone(); |
| mapInt32Int32_ = other.mapInt32Int32_.Clone(); |
| mapInt64Int64_ = other.mapInt64Int64_.Clone(); |
| mapUint32Uint32_ = other.mapUint32Uint32_.Clone(); |
| mapUint64Uint64_ = other.mapUint64Uint64_.Clone(); |
| mapSint32Sint32_ = other.mapSint32Sint32_.Clone(); |
| mapSint64Sint64_ = other.mapSint64Sint64_.Clone(); |
| mapFixed32Fixed32_ = other.mapFixed32Fixed32_.Clone(); |
| mapFixed64Fixed64_ = other.mapFixed64Fixed64_.Clone(); |
| mapSfixed32Sfixed32_ = other.mapSfixed32Sfixed32_.Clone(); |
| mapSfixed64Sfixed64_ = other.mapSfixed64Sfixed64_.Clone(); |
| mapInt32Float_ = other.mapInt32Float_.Clone(); |
| mapInt32Double_ = other.mapInt32Double_.Clone(); |
| mapBoolBool_ = other.mapBoolBool_.Clone(); |
| mapStringString_ = other.mapStringString_.Clone(); |
| mapStringBytes_ = other.mapStringBytes_.Clone(); |
| mapStringNestedMessage_ = other.mapStringNestedMessage_.Clone(); |
| mapStringForeignMessage_ = other.mapStringForeignMessage_.Clone(); |
| mapStringNestedEnum_ = other.mapStringNestedEnum_.Clone(); |
| mapStringForeignEnum_ = other.mapStringForeignEnum_.Clone(); |
| groupLikeType_ = other.HasGroupLikeType ? other.groupLikeType_.Clone() : null; |
| delimitedField_ = other.HasDelimitedField ? other.delimitedField_.Clone() : null; |
| switch (other.OneofFieldCase) { |
| case OneofFieldOneofCase.OneofUint32: |
| OneofUint32 = other.OneofUint32; |
| break; |
| case OneofFieldOneofCase.OneofNestedMessage: |
| OneofNestedMessage = other.OneofNestedMessage.Clone(); |
| break; |
| case OneofFieldOneofCase.OneofString: |
| OneofString = other.OneofString; |
| break; |
| case OneofFieldOneofCase.OneofBytes: |
| OneofBytes = other.OneofBytes; |
| break; |
| case OneofFieldOneofCase.OneofBool: |
| OneofBool = other.OneofBool; |
| break; |
| case OneofFieldOneofCase.OneofUint64: |
| OneofUint64 = other.OneofUint64; |
| break; |
| case OneofFieldOneofCase.OneofFloat: |
| OneofFloat = other.OneofFloat; |
| break; |
| case OneofFieldOneofCase.OneofDouble: |
| OneofDouble = other.OneofDouble; |
| break; |
| case OneofFieldOneofCase.OneofEnum: |
| OneofEnum = other.OneofEnum; |
| break; |
| } |
| |
| _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| _extensions = pb::ExtensionSet.Clone(other._extensions); |
| } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public TestAllTypesEdition2023 Clone() { |
| return new TestAllTypesEdition2023(this); |
| } |
| |
| /// <summary>Field number for the "optional_int32" field.</summary> |
| public const int OptionalInt32FieldNumber = 1; |
| private readonly static int OptionalInt32DefaultValue = 0; |
| |
| private int optionalInt32_; |
| /// <summary> |
| /// Singular |
| /// </summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public int OptionalInt32 { |
| get { if ((_hasBits0 & 1) != 0) { return optionalInt32_; } else { return OptionalInt32DefaultValue; } } |
| set { |
| _hasBits0 |= 1; |
| optionalInt32_ = value; |
| } |
| } |
| /// <summary>Gets whether the "optional_int32" field is set</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public bool HasOptionalInt32 { |
| get { return (_hasBits0 & 1) != 0; } |
| } |
| /// <summary>Clears the value of the "optional_int32" field</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public void ClearOptionalInt32() { |
| _hasBits0 &= ~1; |
| } |
| |
| /// <summary>Field number for the "optional_int64" field.</summary> |
| public const int OptionalInt64FieldNumber = 2; |
| private readonly static long OptionalInt64DefaultValue = 0L; |
| |
| private long optionalInt64_; |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public long OptionalInt64 { |
| get { if ((_hasBits0 & 2) != 0) { return optionalInt64_; } else { return OptionalInt64DefaultValue; } } |
| set { |
| _hasBits0 |= 2; |
| optionalInt64_ = value; |
| } |
| } |
| /// <summary>Gets whether the "optional_int64" field is set</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public bool HasOptionalInt64 { |
| get { return (_hasBits0 & 2) != 0; } |
| } |
| /// <summary>Clears the value of the "optional_int64" field</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public void ClearOptionalInt64() { |
| _hasBits0 &= ~2; |
| } |
| |
| /// <summary>Field number for the "optional_uint32" field.</summary> |
| public const int OptionalUint32FieldNumber = 3; |
| private readonly static uint OptionalUint32DefaultValue = 0; |
| |
| private uint optionalUint32_; |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public uint OptionalUint32 { |
| get { if ((_hasBits0 & 4) != 0) { return optionalUint32_; } else { return OptionalUint32DefaultValue; } } |
| set { |
| _hasBits0 |= 4; |
| optionalUint32_ = value; |
| } |
| } |
| /// <summary>Gets whether the "optional_uint32" field is set</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public bool HasOptionalUint32 { |
| get { return (_hasBits0 & 4) != 0; } |
| } |
| /// <summary>Clears the value of the "optional_uint32" field</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public void ClearOptionalUint32() { |
| _hasBits0 &= ~4; |
| } |
| |
| /// <summary>Field number for the "optional_uint64" field.</summary> |
| public const int OptionalUint64FieldNumber = 4; |
| private readonly static ulong OptionalUint64DefaultValue = 0UL; |
| |
| private ulong optionalUint64_; |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public ulong OptionalUint64 { |
| get { if ((_hasBits0 & 8) != 0) { return optionalUint64_; } else { return OptionalUint64DefaultValue; } } |
| set { |
| _hasBits0 |= 8; |
| optionalUint64_ = value; |
| } |
| } |
| /// <summary>Gets whether the "optional_uint64" field is set</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public bool HasOptionalUint64 { |
| get { return (_hasBits0 & 8) != 0; } |
| } |
| /// <summary>Clears the value of the "optional_uint64" field</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public void ClearOptionalUint64() { |
| _hasBits0 &= ~8; |
| } |
| |
| /// <summary>Field number for the "optional_sint32" field.</summary> |
| public const int OptionalSint32FieldNumber = 5; |
| private readonly static int OptionalSint32DefaultValue = 0; |
| |
| private int optionalSint32_; |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public int OptionalSint32 { |
| get { if ((_hasBits0 & 16) != 0) { return optionalSint32_; } else { return OptionalSint32DefaultValue; } } |
| set { |
| _hasBits0 |= 16; |
| optionalSint32_ = value; |
| } |
| } |
| /// <summary>Gets whether the "optional_sint32" field is set</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public bool HasOptionalSint32 { |
| get { return (_hasBits0 & 16) != 0; } |
| } |
| /// <summary>Clears the value of the "optional_sint32" field</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public void ClearOptionalSint32() { |
| _hasBits0 &= ~16; |
| } |
| |
| /// <summary>Field number for the "optional_sint64" field.</summary> |
| public const int OptionalSint64FieldNumber = 6; |
| private readonly static long OptionalSint64DefaultValue = 0L; |
| |
| private long optionalSint64_; |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public long OptionalSint64 { |
| get { if ((_hasBits0 & 32) != 0) { return optionalSint64_; } else { return OptionalSint64DefaultValue; } } |
| set { |
| _hasBits0 |= 32; |
| optionalSint64_ = value; |
| } |
| } |
| /// <summary>Gets whether the "optional_sint64" field is set</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public bool HasOptionalSint64 { |
| get { return (_hasBits0 & 32) != 0; } |
| } |
| /// <summary>Clears the value of the "optional_sint64" field</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public void ClearOptionalSint64() { |
| _hasBits0 &= ~32; |
| } |
| |
| /// <summary>Field number for the "optional_fixed32" field.</summary> |
| public const int OptionalFixed32FieldNumber = 7; |
| private readonly static uint OptionalFixed32DefaultValue = 0; |
| |
| private uint optionalFixed32_; |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public uint OptionalFixed32 { |
| get { if ((_hasBits0 & 64) != 0) { return optionalFixed32_; } else { return OptionalFixed32DefaultValue; } } |
| set { |
| _hasBits0 |= 64; |
| optionalFixed32_ = value; |
| } |
| } |
| /// <summary>Gets whether the "optional_fixed32" field is set</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public bool HasOptionalFixed32 { |
| get { return (_hasBits0 & 64) != 0; } |
| } |
| /// <summary>Clears the value of the "optional_fixed32" field</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public void ClearOptionalFixed32() { |
| _hasBits0 &= ~64; |
| } |
| |
| /// <summary>Field number for the "optional_fixed64" field.</summary> |
| public const int OptionalFixed64FieldNumber = 8; |
| private readonly static ulong OptionalFixed64DefaultValue = 0UL; |
| |
| private ulong optionalFixed64_; |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public ulong OptionalFixed64 { |
| get { if ((_hasBits0 & 128) != 0) { return optionalFixed64_; } else { return OptionalFixed64DefaultValue; } } |
| set { |
| _hasBits0 |= 128; |
| optionalFixed64_ = value; |
| } |
| } |
| /// <summary>Gets whether the "optional_fixed64" field is set</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public bool HasOptionalFixed64 { |
| get { return (_hasBits0 & 128) != 0; } |
| } |
| /// <summary>Clears the value of the "optional_fixed64" field</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public void ClearOptionalFixed64() { |
| _hasBits0 &= ~128; |
| } |
| |
| /// <summary>Field number for the "optional_sfixed32" field.</summary> |
| public const int OptionalSfixed32FieldNumber = 9; |
| private readonly static int OptionalSfixed32DefaultValue = 0; |
| |
| private int optionalSfixed32_; |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public int OptionalSfixed32 { |
| get { if ((_hasBits0 & 256) != 0) { return optionalSfixed32_; } else { return OptionalSfixed32DefaultValue; } } |
| set { |
| _hasBits0 |= 256; |
| optionalSfixed32_ = value; |
| } |
| } |
| /// <summary>Gets whether the "optional_sfixed32" field is set</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public bool HasOptionalSfixed32 { |
| get { return (_hasBits0 & 256) != 0; } |
| } |
| /// <summary>Clears the value of the "optional_sfixed32" field</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public void ClearOptionalSfixed32() { |
| _hasBits0 &= ~256; |
| } |
| |
| /// <summary>Field number for the "optional_sfixed64" field.</summary> |
| public const int OptionalSfixed64FieldNumber = 10; |
| private readonly static long OptionalSfixed64DefaultValue = 0L; |
| |
| private long optionalSfixed64_; |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public long OptionalSfixed64 { |
| get { if ((_hasBits0 & 512) != 0) { return optionalSfixed64_; } else { return OptionalSfixed64DefaultValue; } } |
| set { |
| _hasBits0 |= 512; |
| optionalSfixed64_ = value; |
| } |
| } |
| /// <summary>Gets whether the "optional_sfixed64" field is set</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public bool HasOptionalSfixed64 { |
| get { return (_hasBits0 & 512) != 0; } |
| } |
| /// <summary>Clears the value of the "optional_sfixed64" field</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public void ClearOptionalSfixed64() { |
| _hasBits0 &= ~512; |
| } |
| |
| /// <summary>Field number for the "optional_float" field.</summary> |
| public const int OptionalFloatFieldNumber = 11; |
| private readonly static float OptionalFloatDefaultValue = 0F; |
| |
| private float optionalFloat_; |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public float OptionalFloat { |
| get { if ((_hasBits0 & 1024) != 0) { return optionalFloat_; } else { return OptionalFloatDefaultValue; } } |
| set { |
| _hasBits0 |= 1024; |
| optionalFloat_ = value; |
| } |
| } |
| /// <summary>Gets whether the "optional_float" field is set</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public bool HasOptionalFloat { |
| get { return (_hasBits0 & 1024) != 0; } |
| } |
| /// <summary>Clears the value of the "optional_float" field</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public void ClearOptionalFloat() { |
| _hasBits0 &= ~1024; |
| } |
| |
| /// <summary>Field number for the "optional_double" field.</summary> |
| public const int OptionalDoubleFieldNumber = 12; |
| private readonly static double OptionalDoubleDefaultValue = 0D; |
| |
| private double optionalDouble_; |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public double OptionalDouble { |
| get { if ((_hasBits0 & 2048) != 0) { return optionalDouble_; } else { return OptionalDoubleDefaultValue; } } |
| set { |
| _hasBits0 |= 2048; |
| optionalDouble_ = value; |
| } |
| } |
| /// <summary>Gets whether the "optional_double" field is set</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public bool HasOptionalDouble { |
| get { return (_hasBits0 & 2048) != 0; } |
| } |
| /// <summary>Clears the value of the "optional_double" field</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public void ClearOptionalDouble() { |
| _hasBits0 &= ~2048; |
| } |
| |
| /// <summary>Field number for the "optional_bool" field.</summary> |
| public const int OptionalBoolFieldNumber = 13; |
| private readonly static bool OptionalBoolDefaultValue = false; |
| |
| private bool optionalBool_; |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public bool OptionalBool { |
| get { if ((_hasBits0 & 4096) != 0) { return optionalBool_; } else { return OptionalBoolDefaultValue; } } |
| set { |
| _hasBits0 |= 4096; |
| optionalBool_ = value; |
| } |
| } |
| /// <summary>Gets whether the "optional_bool" field is set</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public bool HasOptionalBool { |
| get { return (_hasBits0 & 4096) != 0; } |
| } |
| /// <summary>Clears the value of the "optional_bool" field</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public void ClearOptionalBool() { |
| _hasBits0 &= ~4096; |
| } |
| |
| /// <summary>Field number for the "optional_string" field.</summary> |
| public const int OptionalStringFieldNumber = 14; |
| private readonly static string OptionalStringDefaultValue = ""; |
| |
| private string optionalString_; |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public string OptionalString { |
| get { return optionalString_ ?? OptionalStringDefaultValue; } |
| set { |
| optionalString_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| } |
| } |
| /// <summary>Gets whether the "optional_string" field is set</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public bool HasOptionalString { |
| get { return optionalString_ != null; } |
| } |
| /// <summary>Clears the value of the "optional_string" field</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public void ClearOptionalString() { |
| optionalString_ = null; |
| } |
| |
| /// <summary>Field number for the "optional_bytes" field.</summary> |
| public const int OptionalBytesFieldNumber = 15; |
| private readonly static pb::ByteString OptionalBytesDefaultValue = pb::ByteString.Empty; |
| |
| private pb::ByteString optionalBytes_; |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pb::ByteString OptionalBytes { |
| get { return optionalBytes_ ?? OptionalBytesDefaultValue; } |
| set { |
| optionalBytes_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| } |
| } |
| /// <summary>Gets whether the "optional_bytes" field is set</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public bool HasOptionalBytes { |
| get { return optionalBytes_ != null; } |
| } |
| /// <summary>Clears the value of the "optional_bytes" field</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public void ClearOptionalBytes() { |
| optionalBytes_ = null; |
| } |
| |
| /// <summary>Field number for the "optional_nested_message" field.</summary> |
| public const int OptionalNestedMessageFieldNumber = 18; |
| private global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.NestedMessage optionalNestedMessage_; |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.NestedMessage OptionalNestedMessage { |
| get { return optionalNestedMessage_; } |
| set { |
| optionalNestedMessage_ = value; |
| } |
| } |
| |
| /// <summary>Field number for the "optional_foreign_message" field.</summary> |
| public const int OptionalForeignMessageFieldNumber = 19; |
| private global::ProtobufTestMessages.Editions.ForeignMessageEdition2023 optionalForeignMessage_; |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public global::ProtobufTestMessages.Editions.ForeignMessageEdition2023 OptionalForeignMessage { |
| get { return optionalForeignMessage_; } |
| set { |
| optionalForeignMessage_ = value; |
| } |
| } |
| |
| /// <summary>Field number for the "optional_nested_enum" field.</summary> |
| public const int OptionalNestedEnumFieldNumber = 21; |
| private readonly static global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.NestedEnum OptionalNestedEnumDefaultValue = global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.NestedEnum.Foo; |
| |
| private global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.NestedEnum optionalNestedEnum_; |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.NestedEnum OptionalNestedEnum { |
| get { if ((_hasBits0 & 8192) != 0) { return optionalNestedEnum_; } else { return OptionalNestedEnumDefaultValue; } } |
| set { |
| _hasBits0 |= 8192; |
| optionalNestedEnum_ = value; |
| } |
| } |
| /// <summary>Gets whether the "optional_nested_enum" field is set</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public bool HasOptionalNestedEnum { |
| get { return (_hasBits0 & 8192) != 0; } |
| } |
| /// <summary>Clears the value of the "optional_nested_enum" field</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public void ClearOptionalNestedEnum() { |
| _hasBits0 &= ~8192; |
| } |
| |
| /// <summary>Field number for the "optional_foreign_enum" field.</summary> |
| public const int OptionalForeignEnumFieldNumber = 22; |
| private readonly static global::ProtobufTestMessages.Editions.ForeignEnumEdition2023 OptionalForeignEnumDefaultValue = global::ProtobufTestMessages.Editions.ForeignEnumEdition2023.ForeignFoo; |
| |
| private global::ProtobufTestMessages.Editions.ForeignEnumEdition2023 optionalForeignEnum_; |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public global::ProtobufTestMessages.Editions.ForeignEnumEdition2023 OptionalForeignEnum { |
| get { if ((_hasBits0 & 16384) != 0) { return optionalForeignEnum_; } else { return OptionalForeignEnumDefaultValue; } } |
| set { |
| _hasBits0 |= 16384; |
| optionalForeignEnum_ = value; |
| } |
| } |
| /// <summary>Gets whether the "optional_foreign_enum" field is set</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public bool HasOptionalForeignEnum { |
| get { return (_hasBits0 & 16384) != 0; } |
| } |
| /// <summary>Clears the value of the "optional_foreign_enum" field</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public void ClearOptionalForeignEnum() { |
| _hasBits0 &= ~16384; |
| } |
| |
| /// <summary>Field number for the "optional_string_piece" field.</summary> |
| public const int OptionalStringPieceFieldNumber = 24; |
| private readonly static string OptionalStringPieceDefaultValue = ""; |
| |
| private string optionalStringPiece_; |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public string OptionalStringPiece { |
| get { return optionalStringPiece_ ?? OptionalStringPieceDefaultValue; } |
| set { |
| optionalStringPiece_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| } |
| } |
| /// <summary>Gets whether the "optional_string_piece" field is set</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public bool HasOptionalStringPiece { |
| get { return optionalStringPiece_ != null; } |
| } |
| /// <summary>Clears the value of the "optional_string_piece" field</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public void ClearOptionalStringPiece() { |
| optionalStringPiece_ = null; |
| } |
| |
| /// <summary>Field number for the "optional_cord" field.</summary> |
| public const int OptionalCordFieldNumber = 25; |
| private readonly static string OptionalCordDefaultValue = ""; |
| |
| private string optionalCord_; |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public string OptionalCord { |
| get { return optionalCord_ ?? OptionalCordDefaultValue; } |
| set { |
| optionalCord_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| } |
| } |
| /// <summary>Gets whether the "optional_cord" field is set</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public bool HasOptionalCord { |
| get { return optionalCord_ != null; } |
| } |
| /// <summary>Clears the value of the "optional_cord" field</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public void ClearOptionalCord() { |
| optionalCord_ = null; |
| } |
| |
| /// <summary>Field number for the "recursive_message" field.</summary> |
| public const int RecursiveMessageFieldNumber = 27; |
| private global::ProtobufTestMessages.Editions.TestAllTypesEdition2023 recursiveMessage_; |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public global::ProtobufTestMessages.Editions.TestAllTypesEdition2023 RecursiveMessage { |
| get { return recursiveMessage_; } |
| set { |
| recursiveMessage_ = value; |
| } |
| } |
| |
| /// <summary>Field number for the "repeated_int32" field.</summary> |
| public const int RepeatedInt32FieldNumber = 31; |
| private static readonly pb::FieldCodec<int> _repeated_repeatedInt32_codec |
| = pb::FieldCodec.ForInt32(250); |
| private readonly pbc::RepeatedField<int> repeatedInt32_ = new pbc::RepeatedField<int>(); |
| /// <summary> |
| /// Repeated |
| /// </summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::RepeatedField<int> RepeatedInt32 { |
| get { return repeatedInt32_; } |
| } |
| |
| /// <summary>Field number for the "repeated_int64" field.</summary> |
| public const int RepeatedInt64FieldNumber = 32; |
| private static readonly pb::FieldCodec<long> _repeated_repeatedInt64_codec |
| = pb::FieldCodec.ForInt64(258); |
| private readonly pbc::RepeatedField<long> repeatedInt64_ = new pbc::RepeatedField<long>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::RepeatedField<long> RepeatedInt64 { |
| get { return repeatedInt64_; } |
| } |
| |
| /// <summary>Field number for the "repeated_uint32" field.</summary> |
| public const int RepeatedUint32FieldNumber = 33; |
| private static readonly pb::FieldCodec<uint> _repeated_repeatedUint32_codec |
| = pb::FieldCodec.ForUInt32(266); |
| private readonly pbc::RepeatedField<uint> repeatedUint32_ = new pbc::RepeatedField<uint>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::RepeatedField<uint> RepeatedUint32 { |
| get { return repeatedUint32_; } |
| } |
| |
| /// <summary>Field number for the "repeated_uint64" field.</summary> |
| public const int RepeatedUint64FieldNumber = 34; |
| private static readonly pb::FieldCodec<ulong> _repeated_repeatedUint64_codec |
| = pb::FieldCodec.ForUInt64(274); |
| private readonly pbc::RepeatedField<ulong> repeatedUint64_ = new pbc::RepeatedField<ulong>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::RepeatedField<ulong> RepeatedUint64 { |
| get { return repeatedUint64_; } |
| } |
| |
| /// <summary>Field number for the "repeated_sint32" field.</summary> |
| public const int RepeatedSint32FieldNumber = 35; |
| private static readonly pb::FieldCodec<int> _repeated_repeatedSint32_codec |
| = pb::FieldCodec.ForSInt32(282); |
| private readonly pbc::RepeatedField<int> repeatedSint32_ = new pbc::RepeatedField<int>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::RepeatedField<int> RepeatedSint32 { |
| get { return repeatedSint32_; } |
| } |
| |
| /// <summary>Field number for the "repeated_sint64" field.</summary> |
| public const int RepeatedSint64FieldNumber = 36; |
| private static readonly pb::FieldCodec<long> _repeated_repeatedSint64_codec |
| = pb::FieldCodec.ForSInt64(290); |
| private readonly pbc::RepeatedField<long> repeatedSint64_ = new pbc::RepeatedField<long>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::RepeatedField<long> RepeatedSint64 { |
| get { return repeatedSint64_; } |
| } |
| |
| /// <summary>Field number for the "repeated_fixed32" field.</summary> |
| public const int RepeatedFixed32FieldNumber = 37; |
| private static readonly pb::FieldCodec<uint> _repeated_repeatedFixed32_codec |
| = pb::FieldCodec.ForFixed32(298); |
| private readonly pbc::RepeatedField<uint> repeatedFixed32_ = new pbc::RepeatedField<uint>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::RepeatedField<uint> RepeatedFixed32 { |
| get { return repeatedFixed32_; } |
| } |
| |
| /// <summary>Field number for the "repeated_fixed64" field.</summary> |
| public const int RepeatedFixed64FieldNumber = 38; |
| private static readonly pb::FieldCodec<ulong> _repeated_repeatedFixed64_codec |
| = pb::FieldCodec.ForFixed64(306); |
| private readonly pbc::RepeatedField<ulong> repeatedFixed64_ = new pbc::RepeatedField<ulong>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::RepeatedField<ulong> RepeatedFixed64 { |
| get { return repeatedFixed64_; } |
| } |
| |
| /// <summary>Field number for the "repeated_sfixed32" field.</summary> |
| public const int RepeatedSfixed32FieldNumber = 39; |
| private static readonly pb::FieldCodec<int> _repeated_repeatedSfixed32_codec |
| = pb::FieldCodec.ForSFixed32(314); |
| private readonly pbc::RepeatedField<int> repeatedSfixed32_ = new pbc::RepeatedField<int>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::RepeatedField<int> RepeatedSfixed32 { |
| get { return repeatedSfixed32_; } |
| } |
| |
| /// <summary>Field number for the "repeated_sfixed64" field.</summary> |
| public const int RepeatedSfixed64FieldNumber = 40; |
| private static readonly pb::FieldCodec<long> _repeated_repeatedSfixed64_codec |
| = pb::FieldCodec.ForSFixed64(322); |
| private readonly pbc::RepeatedField<long> repeatedSfixed64_ = new pbc::RepeatedField<long>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::RepeatedField<long> RepeatedSfixed64 { |
| get { return repeatedSfixed64_; } |
| } |
| |
| /// <summary>Field number for the "repeated_float" field.</summary> |
| public const int RepeatedFloatFieldNumber = 41; |
| private static readonly pb::FieldCodec<float> _repeated_repeatedFloat_codec |
| = pb::FieldCodec.ForFloat(330); |
| private readonly pbc::RepeatedField<float> repeatedFloat_ = new pbc::RepeatedField<float>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::RepeatedField<float> RepeatedFloat { |
| get { return repeatedFloat_; } |
| } |
| |
| /// <summary>Field number for the "repeated_double" field.</summary> |
| public const int RepeatedDoubleFieldNumber = 42; |
| private static readonly pb::FieldCodec<double> _repeated_repeatedDouble_codec |
| = pb::FieldCodec.ForDouble(338); |
| private readonly pbc::RepeatedField<double> repeatedDouble_ = new pbc::RepeatedField<double>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::RepeatedField<double> RepeatedDouble { |
| get { return repeatedDouble_; } |
| } |
| |
| /// <summary>Field number for the "repeated_bool" field.</summary> |
| public const int RepeatedBoolFieldNumber = 43; |
| private static readonly pb::FieldCodec<bool> _repeated_repeatedBool_codec |
| = pb::FieldCodec.ForBool(346); |
| private readonly pbc::RepeatedField<bool> repeatedBool_ = new pbc::RepeatedField<bool>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::RepeatedField<bool> RepeatedBool { |
| get { return repeatedBool_; } |
| } |
| |
| /// <summary>Field number for the "repeated_string" field.</summary> |
| public const int RepeatedStringFieldNumber = 44; |
| private static readonly pb::FieldCodec<string> _repeated_repeatedString_codec |
| = pb::FieldCodec.ForString(354); |
| private readonly pbc::RepeatedField<string> repeatedString_ = new pbc::RepeatedField<string>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::RepeatedField<string> RepeatedString { |
| get { return repeatedString_; } |
| } |
| |
| /// <summary>Field number for the "repeated_bytes" field.</summary> |
| public const int RepeatedBytesFieldNumber = 45; |
| private static readonly pb::FieldCodec<pb::ByteString> _repeated_repeatedBytes_codec |
| = pb::FieldCodec.ForBytes(362); |
| private readonly pbc::RepeatedField<pb::ByteString> repeatedBytes_ = new pbc::RepeatedField<pb::ByteString>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::RepeatedField<pb::ByteString> RepeatedBytes { |
| get { return repeatedBytes_; } |
| } |
| |
| /// <summary>Field number for the "repeated_nested_message" field.</summary> |
| public const int RepeatedNestedMessageFieldNumber = 48; |
| private static readonly pb::FieldCodec<global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.NestedMessage> _repeated_repeatedNestedMessage_codec |
| = pb::FieldCodec.ForMessage(386, global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.NestedMessage.Parser); |
| private readonly pbc::RepeatedField<global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.NestedMessage> repeatedNestedMessage_ = new pbc::RepeatedField<global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.NestedMessage>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::RepeatedField<global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.NestedMessage> RepeatedNestedMessage { |
| get { return repeatedNestedMessage_; } |
| } |
| |
| /// <summary>Field number for the "repeated_foreign_message" field.</summary> |
| public const int RepeatedForeignMessageFieldNumber = 49; |
| private static readonly pb::FieldCodec<global::ProtobufTestMessages.Editions.ForeignMessageEdition2023> _repeated_repeatedForeignMessage_codec |
| = pb::FieldCodec.ForMessage(394, global::ProtobufTestMessages.Editions.ForeignMessageEdition2023.Parser); |
| private readonly pbc::RepeatedField<global::ProtobufTestMessages.Editions.ForeignMessageEdition2023> repeatedForeignMessage_ = new pbc::RepeatedField<global::ProtobufTestMessages.Editions.ForeignMessageEdition2023>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::RepeatedField<global::ProtobufTestMessages.Editions.ForeignMessageEdition2023> RepeatedForeignMessage { |
| get { return repeatedForeignMessage_; } |
| } |
| |
| /// <summary>Field number for the "repeated_nested_enum" field.</summary> |
| public const int RepeatedNestedEnumFieldNumber = 51; |
| private static readonly pb::FieldCodec<global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.NestedEnum> _repeated_repeatedNestedEnum_codec |
| = pb::FieldCodec.ForEnum(410, x => (int) x, x => (global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.NestedEnum) x); |
| private readonly pbc::RepeatedField<global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.NestedEnum> repeatedNestedEnum_ = new pbc::RepeatedField<global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.NestedEnum>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::RepeatedField<global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.NestedEnum> RepeatedNestedEnum { |
| get { return repeatedNestedEnum_; } |
| } |
| |
| /// <summary>Field number for the "repeated_foreign_enum" field.</summary> |
| public const int RepeatedForeignEnumFieldNumber = 52; |
| private static readonly pb::FieldCodec<global::ProtobufTestMessages.Editions.ForeignEnumEdition2023> _repeated_repeatedForeignEnum_codec |
| = pb::FieldCodec.ForEnum(418, x => (int) x, x => (global::ProtobufTestMessages.Editions.ForeignEnumEdition2023) x); |
| private readonly pbc::RepeatedField<global::ProtobufTestMessages.Editions.ForeignEnumEdition2023> repeatedForeignEnum_ = new pbc::RepeatedField<global::ProtobufTestMessages.Editions.ForeignEnumEdition2023>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::RepeatedField<global::ProtobufTestMessages.Editions.ForeignEnumEdition2023> RepeatedForeignEnum { |
| get { return repeatedForeignEnum_; } |
| } |
| |
| /// <summary>Field number for the "repeated_string_piece" field.</summary> |
| public const int RepeatedStringPieceFieldNumber = 54; |
| private static readonly pb::FieldCodec<string> _repeated_repeatedStringPiece_codec |
| = pb::FieldCodec.ForString(434); |
| private readonly pbc::RepeatedField<string> repeatedStringPiece_ = new pbc::RepeatedField<string>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::RepeatedField<string> RepeatedStringPiece { |
| get { return repeatedStringPiece_; } |
| } |
| |
| /// <summary>Field number for the "repeated_cord" field.</summary> |
| public const int RepeatedCordFieldNumber = 55; |
| private static readonly pb::FieldCodec<string> _repeated_repeatedCord_codec |
| = pb::FieldCodec.ForString(442); |
| private readonly pbc::RepeatedField<string> repeatedCord_ = new pbc::RepeatedField<string>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::RepeatedField<string> RepeatedCord { |
| get { return repeatedCord_; } |
| } |
| |
| /// <summary>Field number for the "packed_int32" field.</summary> |
| public const int PackedInt32FieldNumber = 75; |
| private static readonly pb::FieldCodec<int> _repeated_packedInt32_codec |
| = pb::FieldCodec.ForInt32(602); |
| private readonly pbc::RepeatedField<int> packedInt32_ = new pbc::RepeatedField<int>(); |
| /// <summary> |
| /// Packed |
| /// </summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::RepeatedField<int> PackedInt32 { |
| get { return packedInt32_; } |
| } |
| |
| /// <summary>Field number for the "packed_int64" field.</summary> |
| public const int PackedInt64FieldNumber = 76; |
| private static readonly pb::FieldCodec<long> _repeated_packedInt64_codec |
| = pb::FieldCodec.ForInt64(610); |
| private readonly pbc::RepeatedField<long> packedInt64_ = new pbc::RepeatedField<long>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::RepeatedField<long> PackedInt64 { |
| get { return packedInt64_; } |
| } |
| |
| /// <summary>Field number for the "packed_uint32" field.</summary> |
| public const int PackedUint32FieldNumber = 77; |
| private static readonly pb::FieldCodec<uint> _repeated_packedUint32_codec |
| = pb::FieldCodec.ForUInt32(618); |
| private readonly pbc::RepeatedField<uint> packedUint32_ = new pbc::RepeatedField<uint>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::RepeatedField<uint> PackedUint32 { |
| get { return packedUint32_; } |
| } |
| |
| /// <summary>Field number for the "packed_uint64" field.</summary> |
| public const int PackedUint64FieldNumber = 78; |
| private static readonly pb::FieldCodec<ulong> _repeated_packedUint64_codec |
| = pb::FieldCodec.ForUInt64(626); |
| private readonly pbc::RepeatedField<ulong> packedUint64_ = new pbc::RepeatedField<ulong>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::RepeatedField<ulong> PackedUint64 { |
| get { return packedUint64_; } |
| } |
| |
| /// <summary>Field number for the "packed_sint32" field.</summary> |
| public const int PackedSint32FieldNumber = 79; |
| private static readonly pb::FieldCodec<int> _repeated_packedSint32_codec |
| = pb::FieldCodec.ForSInt32(634); |
| private readonly pbc::RepeatedField<int> packedSint32_ = new pbc::RepeatedField<int>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::RepeatedField<int> PackedSint32 { |
| get { return packedSint32_; } |
| } |
| |
| /// <summary>Field number for the "packed_sint64" field.</summary> |
| public const int PackedSint64FieldNumber = 80; |
| private static readonly pb::FieldCodec<long> _repeated_packedSint64_codec |
| = pb::FieldCodec.ForSInt64(642); |
| private readonly pbc::RepeatedField<long> packedSint64_ = new pbc::RepeatedField<long>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::RepeatedField<long> PackedSint64 { |
| get { return packedSint64_; } |
| } |
| |
| /// <summary>Field number for the "packed_fixed32" field.</summary> |
| public const int PackedFixed32FieldNumber = 81; |
| private static readonly pb::FieldCodec<uint> _repeated_packedFixed32_codec |
| = pb::FieldCodec.ForFixed32(650); |
| private readonly pbc::RepeatedField<uint> packedFixed32_ = new pbc::RepeatedField<uint>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::RepeatedField<uint> PackedFixed32 { |
| get { return packedFixed32_; } |
| } |
| |
| /// <summary>Field number for the "packed_fixed64" field.</summary> |
| public const int PackedFixed64FieldNumber = 82; |
| private static readonly pb::FieldCodec<ulong> _repeated_packedFixed64_codec |
| = pb::FieldCodec.ForFixed64(658); |
| private readonly pbc::RepeatedField<ulong> packedFixed64_ = new pbc::RepeatedField<ulong>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::RepeatedField<ulong> PackedFixed64 { |
| get { return packedFixed64_; } |
| } |
| |
| /// <summary>Field number for the "packed_sfixed32" field.</summary> |
| public const int PackedSfixed32FieldNumber = 83; |
| private static readonly pb::FieldCodec<int> _repeated_packedSfixed32_codec |
| = pb::FieldCodec.ForSFixed32(666); |
| private readonly pbc::RepeatedField<int> packedSfixed32_ = new pbc::RepeatedField<int>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::RepeatedField<int> PackedSfixed32 { |
| get { return packedSfixed32_; } |
| } |
| |
| /// <summary>Field number for the "packed_sfixed64" field.</summary> |
| public const int PackedSfixed64FieldNumber = 84; |
| private static readonly pb::FieldCodec<long> _repeated_packedSfixed64_codec |
| = pb::FieldCodec.ForSFixed64(674); |
| private readonly pbc::RepeatedField<long> packedSfixed64_ = new pbc::RepeatedField<long>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::RepeatedField<long> PackedSfixed64 { |
| get { return packedSfixed64_; } |
| } |
| |
| /// <summary>Field number for the "packed_float" field.</summary> |
| public const int PackedFloatFieldNumber = 85; |
| private static readonly pb::FieldCodec<float> _repeated_packedFloat_codec |
| = pb::FieldCodec.ForFloat(682); |
| private readonly pbc::RepeatedField<float> packedFloat_ = new pbc::RepeatedField<float>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::RepeatedField<float> PackedFloat { |
| get { return packedFloat_; } |
| } |
| |
| /// <summary>Field number for the "packed_double" field.</summary> |
| public const int PackedDoubleFieldNumber = 86; |
| private static readonly pb::FieldCodec<double> _repeated_packedDouble_codec |
| = pb::FieldCodec.ForDouble(690); |
| private readonly pbc::RepeatedField<double> packedDouble_ = new pbc::RepeatedField<double>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::RepeatedField<double> PackedDouble { |
| get { return packedDouble_; } |
| } |
| |
| /// <summary>Field number for the "packed_bool" field.</summary> |
| public const int PackedBoolFieldNumber = 87; |
| private static readonly pb::FieldCodec<bool> _repeated_packedBool_codec |
| = pb::FieldCodec.ForBool(698); |
| private readonly pbc::RepeatedField<bool> packedBool_ = new pbc::RepeatedField<bool>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::RepeatedField<bool> PackedBool { |
| get { return packedBool_; } |
| } |
| |
| /// <summary>Field number for the "packed_nested_enum" field.</summary> |
| public const int PackedNestedEnumFieldNumber = 88; |
| private static readonly pb::FieldCodec<global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.NestedEnum> _repeated_packedNestedEnum_codec |
| = pb::FieldCodec.ForEnum(706, x => (int) x, x => (global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.NestedEnum) x); |
| private readonly pbc::RepeatedField<global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.NestedEnum> packedNestedEnum_ = new pbc::RepeatedField<global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.NestedEnum>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::RepeatedField<global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.NestedEnum> PackedNestedEnum { |
| get { return packedNestedEnum_; } |
| } |
| |
| /// <summary>Field number for the "unpacked_int32" field.</summary> |
| public const int UnpackedInt32FieldNumber = 89; |
| private static readonly pb::FieldCodec<int> _repeated_unpackedInt32_codec |
| = pb::FieldCodec.ForInt32(712); |
| private readonly pbc::RepeatedField<int> unpackedInt32_ = new pbc::RepeatedField<int>(); |
| /// <summary> |
| /// Unpacked |
| /// </summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::RepeatedField<int> UnpackedInt32 { |
| get { return unpackedInt32_; } |
| } |
| |
| /// <summary>Field number for the "unpacked_int64" field.</summary> |
| public const int UnpackedInt64FieldNumber = 90; |
| private static readonly pb::FieldCodec<long> _repeated_unpackedInt64_codec |
| = pb::FieldCodec.ForInt64(720); |
| private readonly pbc::RepeatedField<long> unpackedInt64_ = new pbc::RepeatedField<long>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::RepeatedField<long> UnpackedInt64 { |
| get { return unpackedInt64_; } |
| } |
| |
| /// <summary>Field number for the "unpacked_uint32" field.</summary> |
| public const int UnpackedUint32FieldNumber = 91; |
| private static readonly pb::FieldCodec<uint> _repeated_unpackedUint32_codec |
| = pb::FieldCodec.ForUInt32(728); |
| private readonly pbc::RepeatedField<uint> unpackedUint32_ = new pbc::RepeatedField<uint>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::RepeatedField<uint> UnpackedUint32 { |
| get { return unpackedUint32_; } |
| } |
| |
| /// <summary>Field number for the "unpacked_uint64" field.</summary> |
| public const int UnpackedUint64FieldNumber = 92; |
| private static readonly pb::FieldCodec<ulong> _repeated_unpackedUint64_codec |
| = pb::FieldCodec.ForUInt64(736); |
| private readonly pbc::RepeatedField<ulong> unpackedUint64_ = new pbc::RepeatedField<ulong>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::RepeatedField<ulong> UnpackedUint64 { |
| get { return unpackedUint64_; } |
| } |
| |
| /// <summary>Field number for the "unpacked_sint32" field.</summary> |
| public const int UnpackedSint32FieldNumber = 93; |
| private static readonly pb::FieldCodec<int> _repeated_unpackedSint32_codec |
| = pb::FieldCodec.ForSInt32(744); |
| private readonly pbc::RepeatedField<int> unpackedSint32_ = new pbc::RepeatedField<int>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::RepeatedField<int> UnpackedSint32 { |
| get { return unpackedSint32_; } |
| } |
| |
| /// <summary>Field number for the "unpacked_sint64" field.</summary> |
| public const int UnpackedSint64FieldNumber = 94; |
| private static readonly pb::FieldCodec<long> _repeated_unpackedSint64_codec |
| = pb::FieldCodec.ForSInt64(752); |
| private readonly pbc::RepeatedField<long> unpackedSint64_ = new pbc::RepeatedField<long>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::RepeatedField<long> UnpackedSint64 { |
| get { return unpackedSint64_; } |
| } |
| |
| /// <summary>Field number for the "unpacked_fixed32" field.</summary> |
| public const int UnpackedFixed32FieldNumber = 95; |
| private static readonly pb::FieldCodec<uint> _repeated_unpackedFixed32_codec |
| = pb::FieldCodec.ForFixed32(765); |
| private readonly pbc::RepeatedField<uint> unpackedFixed32_ = new pbc::RepeatedField<uint>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::RepeatedField<uint> UnpackedFixed32 { |
| get { return unpackedFixed32_; } |
| } |
| |
| /// <summary>Field number for the "unpacked_fixed64" field.</summary> |
| public const int UnpackedFixed64FieldNumber = 96; |
| private static readonly pb::FieldCodec<ulong> _repeated_unpackedFixed64_codec |
| = pb::FieldCodec.ForFixed64(769); |
| private readonly pbc::RepeatedField<ulong> unpackedFixed64_ = new pbc::RepeatedField<ulong>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::RepeatedField<ulong> UnpackedFixed64 { |
| get { return unpackedFixed64_; } |
| } |
| |
| /// <summary>Field number for the "unpacked_sfixed32" field.</summary> |
| public const int UnpackedSfixed32FieldNumber = 97; |
| private static readonly pb::FieldCodec<int> _repeated_unpackedSfixed32_codec |
| = pb::FieldCodec.ForSFixed32(781); |
| private readonly pbc::RepeatedField<int> unpackedSfixed32_ = new pbc::RepeatedField<int>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::RepeatedField<int> UnpackedSfixed32 { |
| get { return unpackedSfixed32_; } |
| } |
| |
| /// <summary>Field number for the "unpacked_sfixed64" field.</summary> |
| public const int UnpackedSfixed64FieldNumber = 98; |
| private static readonly pb::FieldCodec<long> _repeated_unpackedSfixed64_codec |
| = pb::FieldCodec.ForSFixed64(785); |
| private readonly pbc::RepeatedField<long> unpackedSfixed64_ = new pbc::RepeatedField<long>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::RepeatedField<long> UnpackedSfixed64 { |
| get { return unpackedSfixed64_; } |
| } |
| |
| /// <summary>Field number for the "unpacked_float" field.</summary> |
| public const int UnpackedFloatFieldNumber = 99; |
| private static readonly pb::FieldCodec<float> _repeated_unpackedFloat_codec |
| = pb::FieldCodec.ForFloat(797); |
| private readonly pbc::RepeatedField<float> unpackedFloat_ = new pbc::RepeatedField<float>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::RepeatedField<float> UnpackedFloat { |
| get { return unpackedFloat_; } |
| } |
| |
| /// <summary>Field number for the "unpacked_double" field.</summary> |
| public const int UnpackedDoubleFieldNumber = 100; |
| private static readonly pb::FieldCodec<double> _repeated_unpackedDouble_codec |
| = pb::FieldCodec.ForDouble(801); |
| private readonly pbc::RepeatedField<double> unpackedDouble_ = new pbc::RepeatedField<double>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::RepeatedField<double> UnpackedDouble { |
| get { return unpackedDouble_; } |
| } |
| |
| /// <summary>Field number for the "unpacked_bool" field.</summary> |
| public const int UnpackedBoolFieldNumber = 101; |
| private static readonly pb::FieldCodec<bool> _repeated_unpackedBool_codec |
| = pb::FieldCodec.ForBool(808); |
| private readonly pbc::RepeatedField<bool> unpackedBool_ = new pbc::RepeatedField<bool>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::RepeatedField<bool> UnpackedBool { |
| get { return unpackedBool_; } |
| } |
| |
| /// <summary>Field number for the "unpacked_nested_enum" field.</summary> |
| public const int UnpackedNestedEnumFieldNumber = 102; |
| private static readonly pb::FieldCodec<global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.NestedEnum> _repeated_unpackedNestedEnum_codec |
| = pb::FieldCodec.ForEnum(816, x => (int) x, x => (global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.NestedEnum) x); |
| private readonly pbc::RepeatedField<global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.NestedEnum> unpackedNestedEnum_ = new pbc::RepeatedField<global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.NestedEnum>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::RepeatedField<global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.NestedEnum> UnpackedNestedEnum { |
| get { return unpackedNestedEnum_; } |
| } |
| |
| /// <summary>Field number for the "map_int32_int32" field.</summary> |
| public const int MapInt32Int32FieldNumber = 56; |
| private static readonly pbc::MapField<int, int>.Codec _map_mapInt32Int32_codec |
| = new pbc::MapField<int, int>.Codec(pb::FieldCodec.ForInt32(8, 0), pb::FieldCodec.ForInt32(16, 0), 450); |
| private readonly pbc::MapField<int, int> mapInt32Int32_ = new pbc::MapField<int, int>(); |
| /// <summary> |
| /// Map |
| /// </summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::MapField<int, int> MapInt32Int32 { |
| get { return mapInt32Int32_; } |
| } |
| |
| /// <summary>Field number for the "map_int64_int64" field.</summary> |
| public const int MapInt64Int64FieldNumber = 57; |
| private static readonly pbc::MapField<long, long>.Codec _map_mapInt64Int64_codec |
| = new pbc::MapField<long, long>.Codec(pb::FieldCodec.ForInt64(8, 0L), pb::FieldCodec.ForInt64(16, 0L), 458); |
| private readonly pbc::MapField<long, long> mapInt64Int64_ = new pbc::MapField<long, long>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::MapField<long, long> MapInt64Int64 { |
| get { return mapInt64Int64_; } |
| } |
| |
| /// <summary>Field number for the "map_uint32_uint32" field.</summary> |
| public const int MapUint32Uint32FieldNumber = 58; |
| private static readonly pbc::MapField<uint, uint>.Codec _map_mapUint32Uint32_codec |
| = new pbc::MapField<uint, uint>.Codec(pb::FieldCodec.ForUInt32(8, 0), pb::FieldCodec.ForUInt32(16, 0), 466); |
| private readonly pbc::MapField<uint, uint> mapUint32Uint32_ = new pbc::MapField<uint, uint>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::MapField<uint, uint> MapUint32Uint32 { |
| get { return mapUint32Uint32_; } |
| } |
| |
| /// <summary>Field number for the "map_uint64_uint64" field.</summary> |
| public const int MapUint64Uint64FieldNumber = 59; |
| private static readonly pbc::MapField<ulong, ulong>.Codec _map_mapUint64Uint64_codec |
| = new pbc::MapField<ulong, ulong>.Codec(pb::FieldCodec.ForUInt64(8, 0UL), pb::FieldCodec.ForUInt64(16, 0UL), 474); |
| private readonly pbc::MapField<ulong, ulong> mapUint64Uint64_ = new pbc::MapField<ulong, ulong>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::MapField<ulong, ulong> MapUint64Uint64 { |
| get { return mapUint64Uint64_; } |
| } |
| |
| /// <summary>Field number for the "map_sint32_sint32" field.</summary> |
| public const int MapSint32Sint32FieldNumber = 60; |
| private static readonly pbc::MapField<int, int>.Codec _map_mapSint32Sint32_codec |
| = new pbc::MapField<int, int>.Codec(pb::FieldCodec.ForSInt32(8, 0), pb::FieldCodec.ForSInt32(16, 0), 482); |
| private readonly pbc::MapField<int, int> mapSint32Sint32_ = new pbc::MapField<int, int>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::MapField<int, int> MapSint32Sint32 { |
| get { return mapSint32Sint32_; } |
| } |
| |
| /// <summary>Field number for the "map_sint64_sint64" field.</summary> |
| public const int MapSint64Sint64FieldNumber = 61; |
| private static readonly pbc::MapField<long, long>.Codec _map_mapSint64Sint64_codec |
| = new pbc::MapField<long, long>.Codec(pb::FieldCodec.ForSInt64(8, 0L), pb::FieldCodec.ForSInt64(16, 0L), 490); |
| private readonly pbc::MapField<long, long> mapSint64Sint64_ = new pbc::MapField<long, long>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::MapField<long, long> MapSint64Sint64 { |
| get { return mapSint64Sint64_; } |
| } |
| |
| /// <summary>Field number for the "map_fixed32_fixed32" field.</summary> |
| public const int MapFixed32Fixed32FieldNumber = 62; |
| private static readonly pbc::MapField<uint, uint>.Codec _map_mapFixed32Fixed32_codec |
| = new pbc::MapField<uint, uint>.Codec(pb::FieldCodec.ForFixed32(13, 0), pb::FieldCodec.ForFixed32(21, 0), 498); |
| private readonly pbc::MapField<uint, uint> mapFixed32Fixed32_ = new pbc::MapField<uint, uint>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::MapField<uint, uint> MapFixed32Fixed32 { |
| get { return mapFixed32Fixed32_; } |
| } |
| |
| /// <summary>Field number for the "map_fixed64_fixed64" field.</summary> |
| public const int MapFixed64Fixed64FieldNumber = 63; |
| private static readonly pbc::MapField<ulong, ulong>.Codec _map_mapFixed64Fixed64_codec |
| = new pbc::MapField<ulong, ulong>.Codec(pb::FieldCodec.ForFixed64(9, 0UL), pb::FieldCodec.ForFixed64(17, 0UL), 506); |
| private readonly pbc::MapField<ulong, ulong> mapFixed64Fixed64_ = new pbc::MapField<ulong, ulong>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::MapField<ulong, ulong> MapFixed64Fixed64 { |
| get { return mapFixed64Fixed64_; } |
| } |
| |
| /// <summary>Field number for the "map_sfixed32_sfixed32" field.</summary> |
| public const int MapSfixed32Sfixed32FieldNumber = 64; |
| private static readonly pbc::MapField<int, int>.Codec _map_mapSfixed32Sfixed32_codec |
| = new pbc::MapField<int, int>.Codec(pb::FieldCodec.ForSFixed32(13, 0), pb::FieldCodec.ForSFixed32(21, 0), 514); |
| private readonly pbc::MapField<int, int> mapSfixed32Sfixed32_ = new pbc::MapField<int, int>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::MapField<int, int> MapSfixed32Sfixed32 { |
| get { return mapSfixed32Sfixed32_; } |
| } |
| |
| /// <summary>Field number for the "map_sfixed64_sfixed64" field.</summary> |
| public const int MapSfixed64Sfixed64FieldNumber = 65; |
| private static readonly pbc::MapField<long, long>.Codec _map_mapSfixed64Sfixed64_codec |
| = new pbc::MapField<long, long>.Codec(pb::FieldCodec.ForSFixed64(9, 0L), pb::FieldCodec.ForSFixed64(17, 0L), 522); |
| private readonly pbc::MapField<long, long> mapSfixed64Sfixed64_ = new pbc::MapField<long, long>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::MapField<long, long> MapSfixed64Sfixed64 { |
| get { return mapSfixed64Sfixed64_; } |
| } |
| |
| /// <summary>Field number for the "map_int32_float" field.</summary> |
| public const int MapInt32FloatFieldNumber = 66; |
| private static readonly pbc::MapField<int, float>.Codec _map_mapInt32Float_codec |
| = new pbc::MapField<int, float>.Codec(pb::FieldCodec.ForInt32(8, 0), pb::FieldCodec.ForFloat(21, 0F), 530); |
| private readonly pbc::MapField<int, float> mapInt32Float_ = new pbc::MapField<int, float>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::MapField<int, float> MapInt32Float { |
| get { return mapInt32Float_; } |
| } |
| |
| /// <summary>Field number for the "map_int32_double" field.</summary> |
| public const int MapInt32DoubleFieldNumber = 67; |
| private static readonly pbc::MapField<int, double>.Codec _map_mapInt32Double_codec |
| = new pbc::MapField<int, double>.Codec(pb::FieldCodec.ForInt32(8, 0), pb::FieldCodec.ForDouble(17, 0D), 538); |
| private readonly pbc::MapField<int, double> mapInt32Double_ = new pbc::MapField<int, double>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::MapField<int, double> MapInt32Double { |
| get { return mapInt32Double_; } |
| } |
| |
| /// <summary>Field number for the "map_bool_bool" field.</summary> |
| public const int MapBoolBoolFieldNumber = 68; |
| private static readonly pbc::MapField<bool, bool>.Codec _map_mapBoolBool_codec |
| = new pbc::MapField<bool, bool>.Codec(pb::FieldCodec.ForBool(8, false), pb::FieldCodec.ForBool(16, false), 546); |
| private readonly pbc::MapField<bool, bool> mapBoolBool_ = new pbc::MapField<bool, bool>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::MapField<bool, bool> MapBoolBool { |
| get { return mapBoolBool_; } |
| } |
| |
| /// <summary>Field number for the "map_string_string" field.</summary> |
| public const int MapStringStringFieldNumber = 69; |
| private static readonly pbc::MapField<string, string>.Codec _map_mapStringString_codec |
| = new pbc::MapField<string, string>.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForString(18, ""), 554); |
| private readonly pbc::MapField<string, string> mapStringString_ = new pbc::MapField<string, string>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::MapField<string, string> MapStringString { |
| get { return mapStringString_; } |
| } |
| |
| /// <summary>Field number for the "map_string_bytes" field.</summary> |
| public const int MapStringBytesFieldNumber = 70; |
| private static readonly pbc::MapField<string, pb::ByteString>.Codec _map_mapStringBytes_codec |
| = new pbc::MapField<string, pb::ByteString>.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForBytes(18, pb::ByteString.Empty), 562); |
| private readonly pbc::MapField<string, pb::ByteString> mapStringBytes_ = new pbc::MapField<string, pb::ByteString>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::MapField<string, pb::ByteString> MapStringBytes { |
| get { return mapStringBytes_; } |
| } |
| |
| /// <summary>Field number for the "map_string_nested_message" field.</summary> |
| public const int MapStringNestedMessageFieldNumber = 71; |
| private static readonly pbc::MapField<string, global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.NestedMessage>.Codec _map_mapStringNestedMessage_codec |
| = new pbc::MapField<string, global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.NestedMessage>.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForMessage(18, global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.NestedMessage.Parser), 570); |
| private readonly pbc::MapField<string, global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.NestedMessage> mapStringNestedMessage_ = new pbc::MapField<string, global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.NestedMessage>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::MapField<string, global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.NestedMessage> MapStringNestedMessage { |
| get { return mapStringNestedMessage_; } |
| } |
| |
| /// <summary>Field number for the "map_string_foreign_message" field.</summary> |
| public const int MapStringForeignMessageFieldNumber = 72; |
| private static readonly pbc::MapField<string, global::ProtobufTestMessages.Editions.ForeignMessageEdition2023>.Codec _map_mapStringForeignMessage_codec |
| = new pbc::MapField<string, global::ProtobufTestMessages.Editions.ForeignMessageEdition2023>.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForMessage(18, global::ProtobufTestMessages.Editions.ForeignMessageEdition2023.Parser), 578); |
| private readonly pbc::MapField<string, global::ProtobufTestMessages.Editions.ForeignMessageEdition2023> mapStringForeignMessage_ = new pbc::MapField<string, global::ProtobufTestMessages.Editions.ForeignMessageEdition2023>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::MapField<string, global::ProtobufTestMessages.Editions.ForeignMessageEdition2023> MapStringForeignMessage { |
| get { return mapStringForeignMessage_; } |
| } |
| |
| /// <summary>Field number for the "map_string_nested_enum" field.</summary> |
| public const int MapStringNestedEnumFieldNumber = 73; |
| private static readonly pbc::MapField<string, global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.NestedEnum>.Codec _map_mapStringNestedEnum_codec |
| = new pbc::MapField<string, global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.NestedEnum>.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForEnum(16, x => (int) x, x => (global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.NestedEnum) x, global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.NestedEnum.Foo), 586); |
| private readonly pbc::MapField<string, global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.NestedEnum> mapStringNestedEnum_ = new pbc::MapField<string, global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.NestedEnum>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::MapField<string, global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.NestedEnum> MapStringNestedEnum { |
| get { return mapStringNestedEnum_; } |
| } |
| |
| /// <summary>Field number for the "map_string_foreign_enum" field.</summary> |
| public const int MapStringForeignEnumFieldNumber = 74; |
| private static readonly pbc::MapField<string, global::ProtobufTestMessages.Editions.ForeignEnumEdition2023>.Codec _map_mapStringForeignEnum_codec |
| = new pbc::MapField<string, global::ProtobufTestMessages.Editions.ForeignEnumEdition2023>.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForEnum(16, x => (int) x, x => (global::ProtobufTestMessages.Editions.ForeignEnumEdition2023) x, global::ProtobufTestMessages.Editions.ForeignEnumEdition2023.ForeignFoo), 594); |
| private readonly pbc::MapField<string, global::ProtobufTestMessages.Editions.ForeignEnumEdition2023> mapStringForeignEnum_ = new pbc::MapField<string, global::ProtobufTestMessages.Editions.ForeignEnumEdition2023>(); |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pbc::MapField<string, global::ProtobufTestMessages.Editions.ForeignEnumEdition2023> MapStringForeignEnum { |
| get { return mapStringForeignEnum_; } |
| } |
| |
| /// <summary>Field number for the "oneof_uint32" field.</summary> |
| public const int OneofUint32FieldNumber = 111; |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public uint OneofUint32 { |
| get { return HasOneofUint32 ? (uint) oneofField_ : 0; } |
| set { |
| oneofField_ = value; |
| oneofFieldCase_ = OneofFieldOneofCase.OneofUint32; |
| } |
| } |
| /// <summary>Gets whether the "oneof_uint32" field is set</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public bool HasOneofUint32 { |
| get { return oneofFieldCase_ == OneofFieldOneofCase.OneofUint32; } |
| } |
| /// <summary> Clears the value of the oneof if it's currently set to "oneof_uint32" </summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public void ClearOneofUint32() { |
| if (HasOneofUint32) { |
| ClearOneofField(); |
| } |
| } |
| |
| /// <summary>Field number for the "oneof_nested_message" field.</summary> |
| public const int OneofNestedMessageFieldNumber = 112; |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.NestedMessage OneofNestedMessage { |
| get { return oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage ? (global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.NestedMessage) oneofField_ : null; } |
| set { |
| oneofField_ = value; |
| oneofFieldCase_ = value == null ? OneofFieldOneofCase.None : OneofFieldOneofCase.OneofNestedMessage; |
| } |
| } |
| |
| /// <summary>Field number for the "oneof_string" field.</summary> |
| public const int OneofStringFieldNumber = 113; |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public string OneofString { |
| get { return HasOneofString ? (string) oneofField_ : ""; } |
| set { |
| oneofField_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| oneofFieldCase_ = OneofFieldOneofCase.OneofString; |
| } |
| } |
| /// <summary>Gets whether the "oneof_string" field is set</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public bool HasOneofString { |
| get { return oneofFieldCase_ == OneofFieldOneofCase.OneofString; } |
| } |
| /// <summary> Clears the value of the oneof if it's currently set to "oneof_string" </summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public void ClearOneofString() { |
| if (HasOneofString) { |
| ClearOneofField(); |
| } |
| } |
| |
| /// <summary>Field number for the "oneof_bytes" field.</summary> |
| public const int OneofBytesFieldNumber = 114; |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public pb::ByteString OneofBytes { |
| get { return HasOneofBytes ? (pb::ByteString) oneofField_ : pb::ByteString.Empty; } |
| set { |
| oneofField_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| oneofFieldCase_ = OneofFieldOneofCase.OneofBytes; |
| } |
| } |
| /// <summary>Gets whether the "oneof_bytes" field is set</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public bool HasOneofBytes { |
| get { return oneofFieldCase_ == OneofFieldOneofCase.OneofBytes; } |
| } |
| /// <summary> Clears the value of the oneof if it's currently set to "oneof_bytes" </summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public void ClearOneofBytes() { |
| if (HasOneofBytes) { |
| ClearOneofField(); |
| } |
| } |
| |
| /// <summary>Field number for the "oneof_bool" field.</summary> |
| public const int OneofBoolFieldNumber = 115; |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public bool OneofBool { |
| get { return HasOneofBool ? (bool) oneofField_ : false; } |
| set { |
| oneofField_ = value; |
| oneofFieldCase_ = OneofFieldOneofCase.OneofBool; |
| } |
| } |
| /// <summary>Gets whether the "oneof_bool" field is set</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public bool HasOneofBool { |
| get { return oneofFieldCase_ == OneofFieldOneofCase.OneofBool; } |
| } |
| /// <summary> Clears the value of the oneof if it's currently set to "oneof_bool" </summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public void ClearOneofBool() { |
| if (HasOneofBool) { |
| ClearOneofField(); |
| } |
| } |
| |
| /// <summary>Field number for the "oneof_uint64" field.</summary> |
| public const int OneofUint64FieldNumber = 116; |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public ulong OneofUint64 { |
| get { return HasOneofUint64 ? (ulong) oneofField_ : 0UL; } |
| set { |
| oneofField_ = value; |
| oneofFieldCase_ = OneofFieldOneofCase.OneofUint64; |
| } |
| } |
| /// <summary>Gets whether the "oneof_uint64" field is set</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public bool HasOneofUint64 { |
| get { return oneofFieldCase_ == OneofFieldOneofCase.OneofUint64; } |
| } |
| /// <summary> Clears the value of the oneof if it's currently set to "oneof_uint64" </summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public void ClearOneofUint64() { |
| if (HasOneofUint64) { |
| ClearOneofField(); |
| } |
| } |
| |
| /// <summary>Field number for the "oneof_float" field.</summary> |
| public const int OneofFloatFieldNumber = 117; |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public float OneofFloat { |
| get { return HasOneofFloat ? (float) oneofField_ : 0F; } |
| set { |
| oneofField_ = value; |
| oneofFieldCase_ = OneofFieldOneofCase.OneofFloat; |
| } |
| } |
| /// <summary>Gets whether the "oneof_float" field is set</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public bool HasOneofFloat { |
| get { return oneofFieldCase_ == OneofFieldOneofCase.OneofFloat; } |
| } |
| /// <summary> Clears the value of the oneof if it's currently set to "oneof_float" </summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public void ClearOneofFloat() { |
| if (HasOneofFloat) { |
| ClearOneofField(); |
| } |
| } |
| |
| /// <summary>Field number for the "oneof_double" field.</summary> |
| public const int OneofDoubleFieldNumber = 118; |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public double OneofDouble { |
| get { return HasOneofDouble ? (double) oneofField_ : 0D; } |
| set { |
| oneofField_ = value; |
| oneofFieldCase_ = OneofFieldOneofCase.OneofDouble; |
| } |
| } |
| /// <summary>Gets whether the "oneof_double" field is set</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public bool HasOneofDouble { |
| get { return oneofFieldCase_ == OneofFieldOneofCase.OneofDouble; } |
| } |
| /// <summary> Clears the value of the oneof if it's currently set to "oneof_double" </summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public void ClearOneofDouble() { |
| if (HasOneofDouble) { |
| ClearOneofField(); |
| } |
| } |
| |
| /// <summary>Field number for the "oneof_enum" field.</summary> |
| public const int OneofEnumFieldNumber = 119; |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.NestedEnum OneofEnum { |
| get { return HasOneofEnum ? (global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.NestedEnum) oneofField_ : global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.NestedEnum.Foo; } |
| set { |
| oneofField_ = value; |
| oneofFieldCase_ = OneofFieldOneofCase.OneofEnum; |
| } |
| } |
| /// <summary>Gets whether the "oneof_enum" field is set</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public bool HasOneofEnum { |
| get { return oneofFieldCase_ == OneofFieldOneofCase.OneofEnum; } |
| } |
| /// <summary> Clears the value of the oneof if it's currently set to "oneof_enum" </summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public void ClearOneofEnum() { |
| if (HasOneofEnum) { |
| ClearOneofField(); |
| } |
| } |
| |
| /// <summary>Field number for the "groupliketype" field.</summary> |
| public const int GroupLikeTypeFieldNumber = 201; |
| private global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.GroupLikeType groupLikeType_; |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.GroupLikeType GroupLikeType { |
| get { return groupLikeType_; } |
| set { |
| groupLikeType_ = value; |
| } |
| } |
| /// <summary>Gets whether the groupliketype field is set</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public bool HasGroupLikeType { |
| get { return groupLikeType_ != null; } |
| } |
| /// <summary>Clears the value of the groupliketype field</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public void ClearGroupLikeType() { |
| groupLikeType_ = null; |
| } |
| |
| /// <summary>Field number for the "delimited_field" field.</summary> |
| public const int DelimitedFieldFieldNumber = 202; |
| private global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.GroupLikeType delimitedField_; |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.GroupLikeType DelimitedField { |
| get { return delimitedField_; } |
| set { |
| delimitedField_ = value; |
| } |
| } |
| /// <summary>Gets whether the delimited_field field is set</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public bool HasDelimitedField { |
| get { return delimitedField_ != null; } |
| } |
| /// <summary>Clears the value of the delimited_field field</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public void ClearDelimitedField() { |
| delimitedField_ = null; |
| } |
| |
| private object oneofField_; |
| /// <summary>Enum of possible cases for the "oneof_field" oneof.</summary> |
| public enum OneofFieldOneofCase { |
| None = 0, |
| OneofUint32 = 111, |
| OneofNestedMessage = 112, |
| OneofString = 113, |
| OneofBytes = 114, |
| OneofBool = 115, |
| OneofUint64 = 116, |
| OneofFloat = 117, |
| OneofDouble = 118, |
| OneofEnum = 119, |
| } |
| private OneofFieldOneofCase oneofFieldCase_ = OneofFieldOneofCase.None; |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public OneofFieldOneofCase OneofFieldCase { |
| get { return oneofFieldCase_; } |
| } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public void ClearOneofField() { |
| oneofFieldCase_ = OneofFieldOneofCase.None; |
| oneofField_ = null; |
| } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public override bool Equals(object other) { |
| return Equals(other as TestAllTypesEdition2023); |
| } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public bool Equals(TestAllTypesEdition2023 other) { |
| if (ReferenceEquals(other, null)) { |
| return false; |
| } |
| if (ReferenceEquals(other, this)) { |
| return true; |
| } |
| if (OptionalInt32 != other.OptionalInt32) return false; |
| if (OptionalInt64 != other.OptionalInt64) return false; |
| if (OptionalUint32 != other.OptionalUint32) return false; |
| if (OptionalUint64 != other.OptionalUint64) return false; |
| if (OptionalSint32 != other.OptionalSint32) return false; |
| if (OptionalSint64 != other.OptionalSint64) return false; |
| if (OptionalFixed32 != other.OptionalFixed32) return false; |
| if (OptionalFixed64 != other.OptionalFixed64) return false; |
| if (OptionalSfixed32 != other.OptionalSfixed32) return false; |
| if (OptionalSfixed64 != other.OptionalSfixed64) return false; |
| if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(OptionalFloat, other.OptionalFloat)) return false; |
| if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(OptionalDouble, other.OptionalDouble)) return false; |
| if (OptionalBool != other.OptionalBool) return false; |
| if (OptionalString != other.OptionalString) return false; |
| if (OptionalBytes != other.OptionalBytes) return false; |
| if (!object.Equals(OptionalNestedMessage, other.OptionalNestedMessage)) return false; |
| if (!object.Equals(OptionalForeignMessage, other.OptionalForeignMessage)) return false; |
| if (OptionalNestedEnum != other.OptionalNestedEnum) return false; |
| if (OptionalForeignEnum != other.OptionalForeignEnum) return false; |
| if (OptionalStringPiece != other.OptionalStringPiece) return false; |
| if (OptionalCord != other.OptionalCord) return false; |
| if (!object.Equals(RecursiveMessage, other.RecursiveMessage)) return false; |
| if(!repeatedInt32_.Equals(other.repeatedInt32_)) return false; |
| if(!repeatedInt64_.Equals(other.repeatedInt64_)) return false; |
| if(!repeatedUint32_.Equals(other.repeatedUint32_)) return false; |
| if(!repeatedUint64_.Equals(other.repeatedUint64_)) return false; |
| if(!repeatedSint32_.Equals(other.repeatedSint32_)) return false; |
| if(!repeatedSint64_.Equals(other.repeatedSint64_)) return false; |
| if(!repeatedFixed32_.Equals(other.repeatedFixed32_)) return false; |
| if(!repeatedFixed64_.Equals(other.repeatedFixed64_)) return false; |
| if(!repeatedSfixed32_.Equals(other.repeatedSfixed32_)) return false; |
| if(!repeatedSfixed64_.Equals(other.repeatedSfixed64_)) return false; |
| if(!repeatedFloat_.Equals(other.repeatedFloat_)) return false; |
| if(!repeatedDouble_.Equals(other.repeatedDouble_)) return false; |
| if(!repeatedBool_.Equals(other.repeatedBool_)) return false; |
| if(!repeatedString_.Equals(other.repeatedString_)) return false; |
| if(!repeatedBytes_.Equals(other.repeatedBytes_)) return false; |
| if(!repeatedNestedMessage_.Equals(other.repeatedNestedMessage_)) return false; |
| if(!repeatedForeignMessage_.Equals(other.repeatedForeignMessage_)) return false; |
| if(!repeatedNestedEnum_.Equals(other.repeatedNestedEnum_)) return false; |
| if(!repeatedForeignEnum_.Equals(other.repeatedForeignEnum_)) return false; |
| if(!repeatedStringPiece_.Equals(other.repeatedStringPiece_)) return false; |
| if(!repeatedCord_.Equals(other.repeatedCord_)) return false; |
| if(!packedInt32_.Equals(other.packedInt32_)) return false; |
| if(!packedInt64_.Equals(other.packedInt64_)) return false; |
| if(!packedUint32_.Equals(other.packedUint32_)) return false; |
| if(!packedUint64_.Equals(other.packedUint64_)) return false; |
| if(!packedSint32_.Equals(other.packedSint32_)) return false; |
| if(!packedSint64_.Equals(other.packedSint64_)) return false; |
| if(!packedFixed32_.Equals(other.packedFixed32_)) return false; |
| if(!packedFixed64_.Equals(other.packedFixed64_)) return false; |
| if(!packedSfixed32_.Equals(other.packedSfixed32_)) return false; |
| if(!packedSfixed64_.Equals(other.packedSfixed64_)) return false; |
| if(!packedFloat_.Equals(other.packedFloat_)) return false; |
| if(!packedDouble_.Equals(other.packedDouble_)) return false; |
| if(!packedBool_.Equals(other.packedBool_)) return false; |
| if(!packedNestedEnum_.Equals(other.packedNestedEnum_)) return false; |
| if(!unpackedInt32_.Equals(other.unpackedInt32_)) return false; |
| if(!unpackedInt64_.Equals(other.unpackedInt64_)) return false; |
| if(!unpackedUint32_.Equals(other.unpackedUint32_)) return false; |
| if(!unpackedUint64_.Equals(other.unpackedUint64_)) return false; |
| if(!unpackedSint32_.Equals(other.unpackedSint32_)) return false; |
| if(!unpackedSint64_.Equals(other.unpackedSint64_)) return false; |
| if(!unpackedFixed32_.Equals(other.unpackedFixed32_)) return false; |
| if(!unpackedFixed64_.Equals(other.unpackedFixed64_)) return false; |
| if(!unpackedSfixed32_.Equals(other.unpackedSfixed32_)) return false; |
| if(!unpackedSfixed64_.Equals(other.unpackedSfixed64_)) return false; |
| if(!unpackedFloat_.Equals(other.unpackedFloat_)) return false; |
| if(!unpackedDouble_.Equals(other.unpackedDouble_)) return false; |
| if(!unpackedBool_.Equals(other.unpackedBool_)) return false; |
| if(!unpackedNestedEnum_.Equals(other.unpackedNestedEnum_)) return false; |
| if (!MapInt32Int32.Equals(other.MapInt32Int32)) return false; |
| if (!MapInt64Int64.Equals(other.MapInt64Int64)) return false; |
| if (!MapUint32Uint32.Equals(other.MapUint32Uint32)) return false; |
| if (!MapUint64Uint64.Equals(other.MapUint64Uint64)) return false; |
| if (!MapSint32Sint32.Equals(other.MapSint32Sint32)) return false; |
| if (!MapSint64Sint64.Equals(other.MapSint64Sint64)) return false; |
| if (!MapFixed32Fixed32.Equals(other.MapFixed32Fixed32)) return false; |
| if (!MapFixed64Fixed64.Equals(other.MapFixed64Fixed64)) return false; |
| if (!MapSfixed32Sfixed32.Equals(other.MapSfixed32Sfixed32)) return false; |
| if (!MapSfixed64Sfixed64.Equals(other.MapSfixed64Sfixed64)) return false; |
| if (!MapInt32Float.Equals(other.MapInt32Float)) return false; |
| if (!MapInt32Double.Equals(other.MapInt32Double)) return false; |
| if (!MapBoolBool.Equals(other.MapBoolBool)) return false; |
| if (!MapStringString.Equals(other.MapStringString)) return false; |
| if (!MapStringBytes.Equals(other.MapStringBytes)) return false; |
| if (!MapStringNestedMessage.Equals(other.MapStringNestedMessage)) return false; |
| if (!MapStringForeignMessage.Equals(other.MapStringForeignMessage)) return false; |
| if (!MapStringNestedEnum.Equals(other.MapStringNestedEnum)) return false; |
| if (!MapStringForeignEnum.Equals(other.MapStringForeignEnum)) return false; |
| if (OneofUint32 != other.OneofUint32) return false; |
| if (!object.Equals(OneofNestedMessage, other.OneofNestedMessage)) return false; |
| if (OneofString != other.OneofString) return false; |
| if (OneofBytes != other.OneofBytes) return false; |
| if (OneofBool != other.OneofBool) return false; |
| if (OneofUint64 != other.OneofUint64) return false; |
| if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(OneofFloat, other.OneofFloat)) return false; |
| if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(OneofDouble, other.OneofDouble)) return false; |
| if (OneofEnum != other.OneofEnum) return false; |
| if (!object.Equals(GroupLikeType, other.GroupLikeType)) return false; |
| if (!object.Equals(DelimitedField, other.DelimitedField)) return false; |
| if (OneofFieldCase != other.OneofFieldCase) return false; |
| if (!Equals(_extensions, other._extensions)) { |
| return false; |
| } |
| return Equals(_unknownFields, other._unknownFields); |
| } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public override int GetHashCode() { |
| int hash = 1; |
| if (HasOptionalInt32) hash ^= OptionalInt32.GetHashCode(); |
| if (HasOptionalInt64) hash ^= OptionalInt64.GetHashCode(); |
| if (HasOptionalUint32) hash ^= OptionalUint32.GetHashCode(); |
| if (HasOptionalUint64) hash ^= OptionalUint64.GetHashCode(); |
| if (HasOptionalSint32) hash ^= OptionalSint32.GetHashCode(); |
| if (HasOptionalSint64) hash ^= OptionalSint64.GetHashCode(); |
| if (HasOptionalFixed32) hash ^= OptionalFixed32.GetHashCode(); |
| if (HasOptionalFixed64) hash ^= OptionalFixed64.GetHashCode(); |
| if (HasOptionalSfixed32) hash ^= OptionalSfixed32.GetHashCode(); |
| if (HasOptionalSfixed64) hash ^= OptionalSfixed64.GetHashCode(); |
| if (HasOptionalFloat) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(OptionalFloat); |
| if (HasOptionalDouble) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(OptionalDouble); |
| if (HasOptionalBool) hash ^= OptionalBool.GetHashCode(); |
| if (HasOptionalString) hash ^= OptionalString.GetHashCode(); |
| if (HasOptionalBytes) hash ^= OptionalBytes.GetHashCode(); |
| if (optionalNestedMessage_ != null) hash ^= OptionalNestedMessage.GetHashCode(); |
| if (optionalForeignMessage_ != null) hash ^= OptionalForeignMessage.GetHashCode(); |
| if (HasOptionalNestedEnum) hash ^= OptionalNestedEnum.GetHashCode(); |
| if (HasOptionalForeignEnum) hash ^= OptionalForeignEnum.GetHashCode(); |
| if (HasOptionalStringPiece) hash ^= OptionalStringPiece.GetHashCode(); |
| if (HasOptionalCord) hash ^= OptionalCord.GetHashCode(); |
| if (recursiveMessage_ != null) hash ^= RecursiveMessage.GetHashCode(); |
| hash ^= repeatedInt32_.GetHashCode(); |
| hash ^= repeatedInt64_.GetHashCode(); |
| hash ^= repeatedUint32_.GetHashCode(); |
| hash ^= repeatedUint64_.GetHashCode(); |
| hash ^= repeatedSint32_.GetHashCode(); |
| hash ^= repeatedSint64_.GetHashCode(); |
| hash ^= repeatedFixed32_.GetHashCode(); |
| hash ^= repeatedFixed64_.GetHashCode(); |
| hash ^= repeatedSfixed32_.GetHashCode(); |
| hash ^= repeatedSfixed64_.GetHashCode(); |
| hash ^= repeatedFloat_.GetHashCode(); |
| hash ^= repeatedDouble_.GetHashCode(); |
| hash ^= repeatedBool_.GetHashCode(); |
| hash ^= repeatedString_.GetHashCode(); |
| hash ^= repeatedBytes_.GetHashCode(); |
| hash ^= repeatedNestedMessage_.GetHashCode(); |
| hash ^= repeatedForeignMessage_.GetHashCode(); |
| hash ^= repeatedNestedEnum_.GetHashCode(); |
| hash ^= repeatedForeignEnum_.GetHashCode(); |
| hash ^= repeatedStringPiece_.GetHashCode(); |
| hash ^= repeatedCord_.GetHashCode(); |
| hash ^= packedInt32_.GetHashCode(); |
| hash ^= packedInt64_.GetHashCode(); |
| hash ^= packedUint32_.GetHashCode(); |
| hash ^= packedUint64_.GetHashCode(); |
| hash ^= packedSint32_.GetHashCode(); |
| hash ^= packedSint64_.GetHashCode(); |
| hash ^= packedFixed32_.GetHashCode(); |
| hash ^= packedFixed64_.GetHashCode(); |
| hash ^= packedSfixed32_.GetHashCode(); |
| hash ^= packedSfixed64_.GetHashCode(); |
| hash ^= packedFloat_.GetHashCode(); |
| hash ^= packedDouble_.GetHashCode(); |
| hash ^= packedBool_.GetHashCode(); |
| hash ^= packedNestedEnum_.GetHashCode(); |
| hash ^= unpackedInt32_.GetHashCode(); |
| hash ^= unpackedInt64_.GetHashCode(); |
| hash ^= unpackedUint32_.GetHashCode(); |
| hash ^= unpackedUint64_.GetHashCode(); |
| hash ^= unpackedSint32_.GetHashCode(); |
| hash ^= unpackedSint64_.GetHashCode(); |
| hash ^= unpackedFixed32_.GetHashCode(); |
| hash ^= unpackedFixed64_.GetHashCode(); |
| hash ^= unpackedSfixed32_.GetHashCode(); |
| hash ^= unpackedSfixed64_.GetHashCode(); |
| hash ^= unpackedFloat_.GetHashCode(); |
| hash ^= unpackedDouble_.GetHashCode(); |
| hash ^= unpackedBool_.GetHashCode(); |
| hash ^= unpackedNestedEnum_.GetHashCode(); |
| hash ^= MapInt32Int32.GetHashCode(); |
| hash ^= MapInt64Int64.GetHashCode(); |
| hash ^= MapUint32Uint32.GetHashCode(); |
| hash ^= MapUint64Uint64.GetHashCode(); |
| hash ^= MapSint32Sint32.GetHashCode(); |
| hash ^= MapSint64Sint64.GetHashCode(); |
| hash ^= MapFixed32Fixed32.GetHashCode(); |
| hash ^= MapFixed64Fixed64.GetHashCode(); |
| hash ^= MapSfixed32Sfixed32.GetHashCode(); |
| hash ^= MapSfixed64Sfixed64.GetHashCode(); |
| hash ^= MapInt32Float.GetHashCode(); |
| hash ^= MapInt32Double.GetHashCode(); |
| hash ^= MapBoolBool.GetHashCode(); |
| hash ^= MapStringString.GetHashCode(); |
| hash ^= MapStringBytes.GetHashCode(); |
| hash ^= MapStringNestedMessage.GetHashCode(); |
| hash ^= MapStringForeignMessage.GetHashCode(); |
| hash ^= MapStringNestedEnum.GetHashCode(); |
| hash ^= MapStringForeignEnum.GetHashCode(); |
| if (HasOneofUint32) hash ^= OneofUint32.GetHashCode(); |
| if (oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage) hash ^= OneofNestedMessage.GetHashCode(); |
| if (HasOneofString) hash ^= OneofString.GetHashCode(); |
| if (HasOneofBytes) hash ^= OneofBytes.GetHashCode(); |
| if (HasOneofBool) hash ^= OneofBool.GetHashCode(); |
| if (HasOneofUint64) hash ^= OneofUint64.GetHashCode(); |
| if (HasOneofFloat) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(OneofFloat); |
| if (HasOneofDouble) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(OneofDouble); |
| if (HasOneofEnum) hash ^= OneofEnum.GetHashCode(); |
| if (HasGroupLikeType) hash ^= GroupLikeType.GetHashCode(); |
| if (HasDelimitedField) hash ^= DelimitedField.GetHashCode(); |
| hash ^= (int) oneofFieldCase_; |
| if (_extensions != null) { |
| hash ^= _extensions.GetHashCode(); |
| } |
| if (_unknownFields != null) { |
| hash ^= _unknownFields.GetHashCode(); |
| } |
| return hash; |
| } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public override string ToString() { |
| return pb::JsonFormatter.ToDiagnosticString(this); |
| } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public void WriteTo(pb::CodedOutputStream output) { |
| #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| output.WriteRawMessage(this); |
| #else |
| if (HasOptionalInt32) { |
| output.WriteRawTag(8); |
| output.WriteInt32(OptionalInt32); |
| } |
| if (HasOptionalInt64) { |
| output.WriteRawTag(16); |
| output.WriteInt64(OptionalInt64); |
| } |
| if (HasOptionalUint32) { |
| output.WriteRawTag(24); |
| output.WriteUInt32(OptionalUint32); |
| } |
| if (HasOptionalUint64) { |
| output.WriteRawTag(32); |
| output.WriteUInt64(OptionalUint64); |
| } |
| if (HasOptionalSint32) { |
| output.WriteRawTag(40); |
| output.WriteSInt32(OptionalSint32); |
| } |
| if (HasOptionalSint64) { |
| output.WriteRawTag(48); |
| output.WriteSInt64(OptionalSint64); |
| } |
| if (HasOptionalFixed32) { |
| output.WriteRawTag(61); |
| output.WriteFixed32(OptionalFixed32); |
| } |
| if (HasOptionalFixed64) { |
| output.WriteRawTag(65); |
| output.WriteFixed64(OptionalFixed64); |
| } |
| if (HasOptionalSfixed32) { |
| output.WriteRawTag(77); |
| output.WriteSFixed32(OptionalSfixed32); |
| } |
| if (HasOptionalSfixed64) { |
| output.WriteRawTag(81); |
| output.WriteSFixed64(OptionalSfixed64); |
| } |
| if (HasOptionalFloat) { |
| output.WriteRawTag(93); |
| output.WriteFloat(OptionalFloat); |
| } |
| if (HasOptionalDouble) { |
| output.WriteRawTag(97); |
| output.WriteDouble(OptionalDouble); |
| } |
| if (HasOptionalBool) { |
| output.WriteRawTag(104); |
| output.WriteBool(OptionalBool); |
| } |
| if (HasOptionalString) { |
| output.WriteRawTag(114); |
| output.WriteString(OptionalString); |
| } |
| if (HasOptionalBytes) { |
| output.WriteRawTag(122); |
| output.WriteBytes(OptionalBytes); |
| } |
| if (optionalNestedMessage_ != null) { |
| output.WriteRawTag(146, 1); |
| output.WriteMessage(OptionalNestedMessage); |
| } |
| if (optionalForeignMessage_ != null) { |
| output.WriteRawTag(154, 1); |
| output.WriteMessage(OptionalForeignMessage); |
| } |
| if (HasOptionalNestedEnum) { |
| output.WriteRawTag(168, 1); |
| output.WriteEnum((int) OptionalNestedEnum); |
| } |
| if (HasOptionalForeignEnum) { |
| output.WriteRawTag(176, 1); |
| output.WriteEnum((int) OptionalForeignEnum); |
| } |
| if (HasOptionalStringPiece) { |
| output.WriteRawTag(194, 1); |
| output.WriteString(OptionalStringPiece); |
| } |
| if (HasOptionalCord) { |
| output.WriteRawTag(202, 1); |
| output.WriteString(OptionalCord); |
| } |
| if (recursiveMessage_ != null) { |
| output.WriteRawTag(218, 1); |
| output.WriteMessage(RecursiveMessage); |
| } |
| repeatedInt32_.WriteTo(output, _repeated_repeatedInt32_codec); |
| repeatedInt64_.WriteTo(output, _repeated_repeatedInt64_codec); |
| repeatedUint32_.WriteTo(output, _repeated_repeatedUint32_codec); |
| repeatedUint64_.WriteTo(output, _repeated_repeatedUint64_codec); |
| repeatedSint32_.WriteTo(output, _repeated_repeatedSint32_codec); |
| repeatedSint64_.WriteTo(output, _repeated_repeatedSint64_codec); |
| repeatedFixed32_.WriteTo(output, _repeated_repeatedFixed32_codec); |
| repeatedFixed64_.WriteTo(output, _repeated_repeatedFixed64_codec); |
| repeatedSfixed32_.WriteTo(output, _repeated_repeatedSfixed32_codec); |
| repeatedSfixed64_.WriteTo(output, _repeated_repeatedSfixed64_codec); |
| repeatedFloat_.WriteTo(output, _repeated_repeatedFloat_codec); |
| repeatedDouble_.WriteTo(output, _repeated_repeatedDouble_codec); |
| repeatedBool_.WriteTo(output, _repeated_repeatedBool_codec); |
| repeatedString_.WriteTo(output, _repeated_repeatedString_codec); |
| repeatedBytes_.WriteTo(output, _repeated_repeatedBytes_codec); |
| repeatedNestedMessage_.WriteTo(output, _repeated_repeatedNestedMessage_codec); |
| repeatedForeignMessage_.WriteTo(output, _repeated_repeatedForeignMessage_codec); |
| repeatedNestedEnum_.WriteTo(output, _repeated_repeatedNestedEnum_codec); |
| repeatedForeignEnum_.WriteTo(output, _repeated_repeatedForeignEnum_codec); |
| repeatedStringPiece_.WriteTo(output, _repeated_repeatedStringPiece_codec); |
| repeatedCord_.WriteTo(output, _repeated_repeatedCord_codec); |
| mapInt32Int32_.WriteTo(output, _map_mapInt32Int32_codec); |
| mapInt64Int64_.WriteTo(output, _map_mapInt64Int64_codec); |
| mapUint32Uint32_.WriteTo(output, _map_mapUint32Uint32_codec); |
| mapUint64Uint64_.WriteTo(output, _map_mapUint64Uint64_codec); |
| mapSint32Sint32_.WriteTo(output, _map_mapSint32Sint32_codec); |
| mapSint64Sint64_.WriteTo(output, _map_mapSint64Sint64_codec); |
| mapFixed32Fixed32_.WriteTo(output, _map_mapFixed32Fixed32_codec); |
| mapFixed64Fixed64_.WriteTo(output, _map_mapFixed64Fixed64_codec); |
| mapSfixed32Sfixed32_.WriteTo(output, _map_mapSfixed32Sfixed32_codec); |
| mapSfixed64Sfixed64_.WriteTo(output, _map_mapSfixed64Sfixed64_codec); |
| mapInt32Float_.WriteTo(output, _map_mapInt32Float_codec); |
| mapInt32Double_.WriteTo(output, _map_mapInt32Double_codec); |
| mapBoolBool_.WriteTo(output, _map_mapBoolBool_codec); |
| mapStringString_.WriteTo(output, _map_mapStringString_codec); |
| mapStringBytes_.WriteTo(output, _map_mapStringBytes_codec); |
| mapStringNestedMessage_.WriteTo(output, _map_mapStringNestedMessage_codec); |
| mapStringForeignMessage_.WriteTo(output, _map_mapStringForeignMessage_codec); |
| mapStringNestedEnum_.WriteTo(output, _map_mapStringNestedEnum_codec); |
| mapStringForeignEnum_.WriteTo(output, _map_mapStringForeignEnum_codec); |
| packedInt32_.WriteTo(output, _repeated_packedInt32_codec); |
| packedInt64_.WriteTo(output, _repeated_packedInt64_codec); |
| packedUint32_.WriteTo(output, _repeated_packedUint32_codec); |
| packedUint64_.WriteTo(output, _repeated_packedUint64_codec); |
| packedSint32_.WriteTo(output, _repeated_packedSint32_codec); |
| packedSint64_.WriteTo(output, _repeated_packedSint64_codec); |
| packedFixed32_.WriteTo(output, _repeated_packedFixed32_codec); |
| packedFixed64_.WriteTo(output, _repeated_packedFixed64_codec); |
| packedSfixed32_.WriteTo(output, _repeated_packedSfixed32_codec); |
| packedSfixed64_.WriteTo(output, _repeated_packedSfixed64_codec); |
| packedFloat_.WriteTo(output, _repeated_packedFloat_codec); |
| packedDouble_.WriteTo(output, _repeated_packedDouble_codec); |
| packedBool_.WriteTo(output, _repeated_packedBool_codec); |
| packedNestedEnum_.WriteTo(output, _repeated_packedNestedEnum_codec); |
| unpackedInt32_.WriteTo(output, _repeated_unpackedInt32_codec); |
| unpackedInt64_.WriteTo(output, _repeated_unpackedInt64_codec); |
| unpackedUint32_.WriteTo(output, _repeated_unpackedUint32_codec); |
| unpackedUint64_.WriteTo(output, _repeated_unpackedUint64_codec); |
| unpackedSint32_.WriteTo(output, _repeated_unpackedSint32_codec); |
| unpackedSint64_.WriteTo(output, _repeated_unpackedSint64_codec); |
| unpackedFixed32_.WriteTo(output, _repeated_unpackedFixed32_codec); |
| unpackedFixed64_.WriteTo(output, _repeated_unpackedFixed64_codec); |
| unpackedSfixed32_.WriteTo(output, _repeated_unpackedSfixed32_codec); |
| unpackedSfixed64_.WriteTo(output, _repeated_unpackedSfixed64_codec); |
| unpackedFloat_.WriteTo(output, _repeated_unpackedFloat_codec); |
| unpackedDouble_.WriteTo(output, _repeated_unpackedDouble_codec); |
| unpackedBool_.WriteTo(output, _repeated_unpackedBool_codec); |
| unpackedNestedEnum_.WriteTo(output, _repeated_unpackedNestedEnum_codec); |
| if (HasOneofUint32) { |
| output.WriteRawTag(248, 6); |
| output.WriteUInt32(OneofUint32); |
| } |
| if (oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage) { |
| output.WriteRawTag(130, 7); |
| output.WriteMessage(OneofNestedMessage); |
| } |
| if (HasOneofString) { |
| output.WriteRawTag(138, 7); |
| output.WriteString(OneofString); |
| } |
| if (HasOneofBytes) { |
| output.WriteRawTag(146, 7); |
| output.WriteBytes(OneofBytes); |
| } |
| if (HasOneofBool) { |
| output.WriteRawTag(152, 7); |
| output.WriteBool(OneofBool); |
| } |
| if (HasOneofUint64) { |
| output.WriteRawTag(160, 7); |
| output.WriteUInt64(OneofUint64); |
| } |
| if (HasOneofFloat) { |
| output.WriteRawTag(173, 7); |
| output.WriteFloat(OneofFloat); |
| } |
| if (HasOneofDouble) { |
| output.WriteRawTag(177, 7); |
| output.WriteDouble(OneofDouble); |
| } |
| if (HasOneofEnum) { |
| output.WriteRawTag(184, 7); |
| output.WriteEnum((int) OneofEnum); |
| } |
| if (HasGroupLikeType) { |
| output.WriteRawTag(203, 12); |
| output.WriteGroup(GroupLikeType); |
| output.WriteRawTag(204, 12); |
| } |
| if (HasDelimitedField) { |
| output.WriteRawTag(211, 12); |
| output.WriteGroup(DelimitedField); |
| output.WriteRawTag(212, 12); |
| } |
| if (_extensions != null) { |
| _extensions.WriteTo(output); |
| } |
| if (_unknownFields != null) { |
| _unknownFields.WriteTo(output); |
| } |
| #endif |
| } |
| |
| #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| if (HasOptionalInt32) { |
| output.WriteRawTag(8); |
| output.WriteInt32(OptionalInt32); |
| } |
| if (HasOptionalInt64) { |
| output.WriteRawTag(16); |
| output.WriteInt64(OptionalInt64); |
| } |
| if (HasOptionalUint32) { |
| output.WriteRawTag(24); |
| output.WriteUInt32(OptionalUint32); |
| } |
| if (HasOptionalUint64) { |
| output.WriteRawTag(32); |
| output.WriteUInt64(OptionalUint64); |
| } |
| if (HasOptionalSint32) { |
| output.WriteRawTag(40); |
| output.WriteSInt32(OptionalSint32); |
| } |
| if (HasOptionalSint64) { |
| output.WriteRawTag(48); |
| output.WriteSInt64(OptionalSint64); |
| } |
| if (HasOptionalFixed32) { |
| output.WriteRawTag(61); |
| output.WriteFixed32(OptionalFixed32); |
| } |
| if (HasOptionalFixed64) { |
| output.WriteRawTag(65); |
| output.WriteFixed64(OptionalFixed64); |
| } |
| if (HasOptionalSfixed32) { |
| output.WriteRawTag(77); |
| output.WriteSFixed32(OptionalSfixed32); |
| } |
| if (HasOptionalSfixed64) { |
| output.WriteRawTag(81); |
| output.WriteSFixed64(OptionalSfixed64); |
| } |
| if (HasOptionalFloat) { |
| output.WriteRawTag(93); |
| output.WriteFloat(OptionalFloat); |
| } |
| if (HasOptionalDouble) { |
| output.WriteRawTag(97); |
| output.WriteDouble(OptionalDouble); |
| } |
| if (HasOptionalBool) { |
| output.WriteRawTag(104); |
| output.WriteBool(OptionalBool); |
| } |
| if (HasOptionalString) { |
| output.WriteRawTag(114); |
| output.WriteString(OptionalString); |
| } |
| if (HasOptionalBytes) { |
| output.WriteRawTag(122); |
| output.WriteBytes(OptionalBytes); |
| } |
| if (optionalNestedMessage_ != null) { |
| output.WriteRawTag(146, 1); |
| output.WriteMessage(OptionalNestedMessage); |
| } |
| if (optionalForeignMessage_ != null) { |
| output.WriteRawTag(154, 1); |
| output.WriteMessage(OptionalForeignMessage); |
| } |
| if (HasOptionalNestedEnum) { |
| output.WriteRawTag(168, 1); |
| output.WriteEnum((int) OptionalNestedEnum); |
| } |
| if (HasOptionalForeignEnum) { |
| output.WriteRawTag(176, 1); |
| output.WriteEnum((int) OptionalForeignEnum); |
| } |
| if (HasOptionalStringPiece) { |
| output.WriteRawTag(194, 1); |
| output.WriteString(OptionalStringPiece); |
| } |
| if (HasOptionalCord) { |
| output.WriteRawTag(202, 1); |
| output.WriteString(OptionalCord); |
| } |
| if (recursiveMessage_ != null) { |
| output.WriteRawTag(218, 1); |
| output.WriteMessage(RecursiveMessage); |
| } |
| repeatedInt32_.WriteTo(ref output, _repeated_repeatedInt32_codec); |
| repeatedInt64_.WriteTo(ref output, _repeated_repeatedInt64_codec); |
| repeatedUint32_.WriteTo(ref output, _repeated_repeatedUint32_codec); |
| repeatedUint64_.WriteTo(ref output, _repeated_repeatedUint64_codec); |
| repeatedSint32_.WriteTo(ref output, _repeated_repeatedSint32_codec); |
| repeatedSint64_.WriteTo(ref output, _repeated_repeatedSint64_codec); |
| repeatedFixed32_.WriteTo(ref output, _repeated_repeatedFixed32_codec); |
| repeatedFixed64_.WriteTo(ref output, _repeated_repeatedFixed64_codec); |
| repeatedSfixed32_.WriteTo(ref output, _repeated_repeatedSfixed32_codec); |
| repeatedSfixed64_.WriteTo(ref output, _repeated_repeatedSfixed64_codec); |
| repeatedFloat_.WriteTo(ref output, _repeated_repeatedFloat_codec); |
| repeatedDouble_.WriteTo(ref output, _repeated_repeatedDouble_codec); |
| repeatedBool_.WriteTo(ref output, _repeated_repeatedBool_codec); |
| repeatedString_.WriteTo(ref output, _repeated_repeatedString_codec); |
| repeatedBytes_.WriteTo(ref output, _repeated_repeatedBytes_codec); |
| repeatedNestedMessage_.WriteTo(ref output, _repeated_repeatedNestedMessage_codec); |
| repeatedForeignMessage_.WriteTo(ref output, _repeated_repeatedForeignMessage_codec); |
| repeatedNestedEnum_.WriteTo(ref output, _repeated_repeatedNestedEnum_codec); |
| repeatedForeignEnum_.WriteTo(ref output, _repeated_repeatedForeignEnum_codec); |
| repeatedStringPiece_.WriteTo(ref output, _repeated_repeatedStringPiece_codec); |
| repeatedCord_.WriteTo(ref output, _repeated_repeatedCord_codec); |
| mapInt32Int32_.WriteTo(ref output, _map_mapInt32Int32_codec); |
| mapInt64Int64_.WriteTo(ref output, _map_mapInt64Int64_codec); |
| mapUint32Uint32_.WriteTo(ref output, _map_mapUint32Uint32_codec); |
| mapUint64Uint64_.WriteTo(ref output, _map_mapUint64Uint64_codec); |
| mapSint32Sint32_.WriteTo(ref output, _map_mapSint32Sint32_codec); |
| mapSint64Sint64_.WriteTo(ref output, _map_mapSint64Sint64_codec); |
| mapFixed32Fixed32_.WriteTo(ref output, _map_mapFixed32Fixed32_codec); |
| mapFixed64Fixed64_.WriteTo(ref output, _map_mapFixed64Fixed64_codec); |
| mapSfixed32Sfixed32_.WriteTo(ref output, _map_mapSfixed32Sfixed32_codec); |
| mapSfixed64Sfixed64_.WriteTo(ref output, _map_mapSfixed64Sfixed64_codec); |
| mapInt32Float_.WriteTo(ref output, _map_mapInt32Float_codec); |
| mapInt32Double_.WriteTo(ref output, _map_mapInt32Double_codec); |
| mapBoolBool_.WriteTo(ref output, _map_mapBoolBool_codec); |
| mapStringString_.WriteTo(ref output, _map_mapStringString_codec); |
| mapStringBytes_.WriteTo(ref output, _map_mapStringBytes_codec); |
| mapStringNestedMessage_.WriteTo(ref output, _map_mapStringNestedMessage_codec); |
| mapStringForeignMessage_.WriteTo(ref output, _map_mapStringForeignMessage_codec); |
| mapStringNestedEnum_.WriteTo(ref output, _map_mapStringNestedEnum_codec); |
| mapStringForeignEnum_.WriteTo(ref output, _map_mapStringForeignEnum_codec); |
| packedInt32_.WriteTo(ref output, _repeated_packedInt32_codec); |
| packedInt64_.WriteTo(ref output, _repeated_packedInt64_codec); |
| packedUint32_.WriteTo(ref output, _repeated_packedUint32_codec); |
| packedUint64_.WriteTo(ref output, _repeated_packedUint64_codec); |
| packedSint32_.WriteTo(ref output, _repeated_packedSint32_codec); |
| packedSint64_.WriteTo(ref output, _repeated_packedSint64_codec); |
| packedFixed32_.WriteTo(ref output, _repeated_packedFixed32_codec); |
| packedFixed64_.WriteTo(ref output, _repeated_packedFixed64_codec); |
| packedSfixed32_.WriteTo(ref output, _repeated_packedSfixed32_codec); |
| packedSfixed64_.WriteTo(ref output, _repeated_packedSfixed64_codec); |
| packedFloat_.WriteTo(ref output, _repeated_packedFloat_codec); |
| packedDouble_.WriteTo(ref output, _repeated_packedDouble_codec); |
| packedBool_.WriteTo(ref output, _repeated_packedBool_codec); |
| packedNestedEnum_.WriteTo(ref output, _repeated_packedNestedEnum_codec); |
| unpackedInt32_.WriteTo(ref output, _repeated_unpackedInt32_codec); |
| unpackedInt64_.WriteTo(ref output, _repeated_unpackedInt64_codec); |
| unpackedUint32_.WriteTo(ref output, _repeated_unpackedUint32_codec); |
| unpackedUint64_.WriteTo(ref output, _repeated_unpackedUint64_codec); |
| unpackedSint32_.WriteTo(ref output, _repeated_unpackedSint32_codec); |
| unpackedSint64_.WriteTo(ref output, _repeated_unpackedSint64_codec); |
| unpackedFixed32_.WriteTo(ref output, _repeated_unpackedFixed32_codec); |
| unpackedFixed64_.WriteTo(ref output, _repeated_unpackedFixed64_codec); |
| unpackedSfixed32_.WriteTo(ref output, _repeated_unpackedSfixed32_codec); |
| unpackedSfixed64_.WriteTo(ref output, _repeated_unpackedSfixed64_codec); |
| unpackedFloat_.WriteTo(ref output, _repeated_unpackedFloat_codec); |
| unpackedDouble_.WriteTo(ref output, _repeated_unpackedDouble_codec); |
| unpackedBool_.WriteTo(ref output, _repeated_unpackedBool_codec); |
| unpackedNestedEnum_.WriteTo(ref output, _repeated_unpackedNestedEnum_codec); |
| if (HasOneofUint32) { |
| output.WriteRawTag(248, 6); |
| output.WriteUInt32(OneofUint32); |
| } |
| if (oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage) { |
| output.WriteRawTag(130, 7); |
| output.WriteMessage(OneofNestedMessage); |
| } |
| if (HasOneofString) { |
| output.WriteRawTag(138, 7); |
| output.WriteString(OneofString); |
| } |
| if (HasOneofBytes) { |
| output.WriteRawTag(146, 7); |
| output.WriteBytes(OneofBytes); |
| } |
| if (HasOneofBool) { |
| output.WriteRawTag(152, 7); |
| output.WriteBool(OneofBool); |
| } |
| if (HasOneofUint64) { |
| output.WriteRawTag(160, 7); |
| output.WriteUInt64(OneofUint64); |
| } |
| if (HasOneofFloat) { |
| output.WriteRawTag(173, 7); |
| output.WriteFloat(OneofFloat); |
| } |
| if (HasOneofDouble) { |
| output.WriteRawTag(177, 7); |
| output.WriteDouble(OneofDouble); |
| } |
| if (HasOneofEnum) { |
| output.WriteRawTag(184, 7); |
| output.WriteEnum((int) OneofEnum); |
| } |
| if (HasGroupLikeType) { |
| output.WriteRawTag(203, 12); |
| output.WriteGroup(GroupLikeType); |
| output.WriteRawTag(204, 12); |
| } |
| if (HasDelimitedField) { |
| output.WriteRawTag(211, 12); |
| output.WriteGroup(DelimitedField); |
| output.WriteRawTag(212, 12); |
| } |
| if (_extensions != null) { |
| _extensions.WriteTo(ref output); |
| } |
| if (_unknownFields != null) { |
| _unknownFields.WriteTo(ref output); |
| } |
| } |
| #endif |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public int CalculateSize() { |
| int size = 0; |
| if (HasOptionalInt32) { |
| size += 1 + pb::CodedOutputStream.ComputeInt32Size(OptionalInt32); |
| } |
| if (HasOptionalInt64) { |
| size += 1 + pb::CodedOutputStream.ComputeInt64Size(OptionalInt64); |
| } |
| if (HasOptionalUint32) { |
| size += 1 + pb::CodedOutputStream.ComputeUInt32Size(OptionalUint32); |
| } |
| if (HasOptionalUint64) { |
| size += 1 + pb::CodedOutputStream.ComputeUInt64Size(OptionalUint64); |
| } |
| if (HasOptionalSint32) { |
| size += 1 + pb::CodedOutputStream.ComputeSInt32Size(OptionalSint32); |
| } |
| if (HasOptionalSint64) { |
| size += 1 + pb::CodedOutputStream.ComputeSInt64Size(OptionalSint64); |
| } |
| if (HasOptionalFixed32) { |
| size += 1 + 4; |
| } |
| if (HasOptionalFixed64) { |
| size += 1 + 8; |
| } |
| if (HasOptionalSfixed32) { |
| size += 1 + 4; |
| } |
| if (HasOptionalSfixed64) { |
| size += 1 + 8; |
| } |
| if (HasOptionalFloat) { |
| size += 1 + 4; |
| } |
| if (HasOptionalDouble) { |
| size += 1 + 8; |
| } |
| if (HasOptionalBool) { |
| size += 1 + 1; |
| } |
| if (HasOptionalString) { |
| size += 1 + pb::CodedOutputStream.ComputeStringSize(OptionalString); |
| } |
| if (HasOptionalBytes) { |
| size += 1 + pb::CodedOutputStream.ComputeBytesSize(OptionalBytes); |
| } |
| if (optionalNestedMessage_ != null) { |
| size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalNestedMessage); |
| } |
| if (optionalForeignMessage_ != null) { |
| size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalForeignMessage); |
| } |
| if (HasOptionalNestedEnum) { |
| size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) OptionalNestedEnum); |
| } |
| if (HasOptionalForeignEnum) { |
| size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) OptionalForeignEnum); |
| } |
| if (HasOptionalStringPiece) { |
| size += 2 + pb::CodedOutputStream.ComputeStringSize(OptionalStringPiece); |
| } |
| if (HasOptionalCord) { |
| size += 2 + pb::CodedOutputStream.ComputeStringSize(OptionalCord); |
| } |
| if (recursiveMessage_ != null) { |
| size += 2 + pb::CodedOutputStream.ComputeMessageSize(RecursiveMessage); |
| } |
| size += repeatedInt32_.CalculateSize(_repeated_repeatedInt32_codec); |
| size += repeatedInt64_.CalculateSize(_repeated_repeatedInt64_codec); |
| size += repeatedUint32_.CalculateSize(_repeated_repeatedUint32_codec); |
| size += repeatedUint64_.CalculateSize(_repeated_repeatedUint64_codec); |
| size += repeatedSint32_.CalculateSize(_repeated_repeatedSint32_codec); |
| size += repeatedSint64_.CalculateSize(_repeated_repeatedSint64_codec); |
| size += repeatedFixed32_.CalculateSize(_repeated_repeatedFixed32_codec); |
| size += repeatedFixed64_.CalculateSize(_repeated_repeatedFixed64_codec); |
| size += repeatedSfixed32_.CalculateSize(_repeated_repeatedSfixed32_codec); |
| size += repeatedSfixed64_.CalculateSize(_repeated_repeatedSfixed64_codec); |
| size += repeatedFloat_.CalculateSize(_repeated_repeatedFloat_codec); |
| size += repeatedDouble_.CalculateSize(_repeated_repeatedDouble_codec); |
| size += repeatedBool_.CalculateSize(_repeated_repeatedBool_codec); |
| size += repeatedString_.CalculateSize(_repeated_repeatedString_codec); |
| size += repeatedBytes_.CalculateSize(_repeated_repeatedBytes_codec); |
| size += repeatedNestedMessage_.CalculateSize(_repeated_repeatedNestedMessage_codec); |
| size += repeatedForeignMessage_.CalculateSize(_repeated_repeatedForeignMessage_codec); |
| size += repeatedNestedEnum_.CalculateSize(_repeated_repeatedNestedEnum_codec); |
| size += repeatedForeignEnum_.CalculateSize(_repeated_repeatedForeignEnum_codec); |
| size += repeatedStringPiece_.CalculateSize(_repeated_repeatedStringPiece_codec); |
| size += repeatedCord_.CalculateSize(_repeated_repeatedCord_codec); |
| size += packedInt32_.CalculateSize(_repeated_packedInt32_codec); |
| size += packedInt64_.CalculateSize(_repeated_packedInt64_codec); |
| size += packedUint32_.CalculateSize(_repeated_packedUint32_codec); |
| size += packedUint64_.CalculateSize(_repeated_packedUint64_codec); |
| size += packedSint32_.CalculateSize(_repeated_packedSint32_codec); |
| size += packedSint64_.CalculateSize(_repeated_packedSint64_codec); |
| size += packedFixed32_.CalculateSize(_repeated_packedFixed32_codec); |
| size += packedFixed64_.CalculateSize(_repeated_packedFixed64_codec); |
| size += packedSfixed32_.CalculateSize(_repeated_packedSfixed32_codec); |
| size += packedSfixed64_.CalculateSize(_repeated_packedSfixed64_codec); |
| size += packedFloat_.CalculateSize(_repeated_packedFloat_codec); |
| size += packedDouble_.CalculateSize(_repeated_packedDouble_codec); |
| size += packedBool_.CalculateSize(_repeated_packedBool_codec); |
| size += packedNestedEnum_.CalculateSize(_repeated_packedNestedEnum_codec); |
| size += unpackedInt32_.CalculateSize(_repeated_unpackedInt32_codec); |
| size += unpackedInt64_.CalculateSize(_repeated_unpackedInt64_codec); |
| size += unpackedUint32_.CalculateSize(_repeated_unpackedUint32_codec); |
| size += unpackedUint64_.CalculateSize(_repeated_unpackedUint64_codec); |
| size += unpackedSint32_.CalculateSize(_repeated_unpackedSint32_codec); |
| size += unpackedSint64_.CalculateSize(_repeated_unpackedSint64_codec); |
| size += unpackedFixed32_.CalculateSize(_repeated_unpackedFixed32_codec); |
| size += unpackedFixed64_.CalculateSize(_repeated_unpackedFixed64_codec); |
| size += unpackedSfixed32_.CalculateSize(_repeated_unpackedSfixed32_codec); |
| size += unpackedSfixed64_.CalculateSize(_repeated_unpackedSfixed64_codec); |
| size += unpackedFloat_.CalculateSize(_repeated_unpackedFloat_codec); |
| size += unpackedDouble_.CalculateSize(_repeated_unpackedDouble_codec); |
| size += unpackedBool_.CalculateSize(_repeated_unpackedBool_codec); |
| size += unpackedNestedEnum_.CalculateSize(_repeated_unpackedNestedEnum_codec); |
| size += mapInt32Int32_.CalculateSize(_map_mapInt32Int32_codec); |
| size += mapInt64Int64_.CalculateSize(_map_mapInt64Int64_codec); |
| size += mapUint32Uint32_.CalculateSize(_map_mapUint32Uint32_codec); |
| size += mapUint64Uint64_.CalculateSize(_map_mapUint64Uint64_codec); |
| size += mapSint32Sint32_.CalculateSize(_map_mapSint32Sint32_codec); |
| size += mapSint64Sint64_.CalculateSize(_map_mapSint64Sint64_codec); |
| size += mapFixed32Fixed32_.CalculateSize(_map_mapFixed32Fixed32_codec); |
| size += mapFixed64Fixed64_.CalculateSize(_map_mapFixed64Fixed64_codec); |
| size += mapSfixed32Sfixed32_.CalculateSize(_map_mapSfixed32Sfixed32_codec); |
| size += mapSfixed64Sfixed64_.CalculateSize(_map_mapSfixed64Sfixed64_codec); |
| size += mapInt32Float_.CalculateSize(_map_mapInt32Float_codec); |
| size += mapInt32Double_.CalculateSize(_map_mapInt32Double_codec); |
| size += mapBoolBool_.CalculateSize(_map_mapBoolBool_codec); |
| size += mapStringString_.CalculateSize(_map_mapStringString_codec); |
| size += mapStringBytes_.CalculateSize(_map_mapStringBytes_codec); |
| size += mapStringNestedMessage_.CalculateSize(_map_mapStringNestedMessage_codec); |
| size += mapStringForeignMessage_.CalculateSize(_map_mapStringForeignMessage_codec); |
| size += mapStringNestedEnum_.CalculateSize(_map_mapStringNestedEnum_codec); |
| size += mapStringForeignEnum_.CalculateSize(_map_mapStringForeignEnum_codec); |
| if (HasOneofUint32) { |
| size += 2 + pb::CodedOutputStream.ComputeUInt32Size(OneofUint32); |
| } |
| if (oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage) { |
| size += 2 + pb::CodedOutputStream.ComputeMessageSize(OneofNestedMessage); |
| } |
| if (HasOneofString) { |
| size += 2 + pb::CodedOutputStream.ComputeStringSize(OneofString); |
| } |
| if (HasOneofBytes) { |
| size += 2 + pb::CodedOutputStream.ComputeBytesSize(OneofBytes); |
| } |
| if (HasOneofBool) { |
| size += 2 + 1; |
| } |
| if (HasOneofUint64) { |
| size += 2 + pb::CodedOutputStream.ComputeUInt64Size(OneofUint64); |
| } |
| if (HasOneofFloat) { |
| size += 2 + 4; |
| } |
| if (HasOneofDouble) { |
| size += 2 + 8; |
| } |
| if (HasOneofEnum) { |
| size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) OneofEnum); |
| } |
| if (HasGroupLikeType) { |
| size += 4 + pb::CodedOutputStream.ComputeGroupSize(GroupLikeType); |
| } |
| if (HasDelimitedField) { |
| size += 4 + pb::CodedOutputStream.ComputeGroupSize(DelimitedField); |
| } |
| if (_extensions != null) { |
| size += _extensions.CalculateSize(); |
| } |
| if (_unknownFields != null) { |
| size += _unknownFields.CalculateSize(); |
| } |
| return size; |
| } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public void MergeFrom(TestAllTypesEdition2023 other) { |
| if (other == null) { |
| return; |
| } |
| if (other.HasOptionalInt32) { |
| OptionalInt32 = other.OptionalInt32; |
| } |
| if (other.HasOptionalInt64) { |
| OptionalInt64 = other.OptionalInt64; |
| } |
| if (other.HasOptionalUint32) { |
| OptionalUint32 = other.OptionalUint32; |
| } |
| if (other.HasOptionalUint64) { |
| OptionalUint64 = other.OptionalUint64; |
| } |
| if (other.HasOptionalSint32) { |
| OptionalSint32 = other.OptionalSint32; |
| } |
| if (other.HasOptionalSint64) { |
| OptionalSint64 = other.OptionalSint64; |
| } |
| if (other.HasOptionalFixed32) { |
| OptionalFixed32 = other.OptionalFixed32; |
| } |
| if (other.HasOptionalFixed64) { |
| OptionalFixed64 = other.OptionalFixed64; |
| } |
| if (other.HasOptionalSfixed32) { |
| OptionalSfixed32 = other.OptionalSfixed32; |
| } |
| if (other.HasOptionalSfixed64) { |
| OptionalSfixed64 = other.OptionalSfixed64; |
| } |
| if (other.HasOptionalFloat) { |
| OptionalFloat = other.OptionalFloat; |
| } |
| if (other.HasOptionalDouble) { |
| OptionalDouble = other.OptionalDouble; |
| } |
| if (other.HasOptionalBool) { |
| OptionalBool = other.OptionalBool; |
| } |
| if (other.HasOptionalString) { |
| OptionalString = other.OptionalString; |
| } |
| if (other.HasOptionalBytes) { |
| OptionalBytes = other.OptionalBytes; |
| } |
| if (other.optionalNestedMessage_ != null) { |
| if (optionalNestedMessage_ == null) { |
| OptionalNestedMessage = new global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.NestedMessage(); |
| } |
| OptionalNestedMessage.MergeFrom(other.OptionalNestedMessage); |
| } |
| if (other.optionalForeignMessage_ != null) { |
| if (optionalForeignMessage_ == null) { |
| OptionalForeignMessage = new global::ProtobufTestMessages.Editions.ForeignMessageEdition2023(); |
| } |
| OptionalForeignMessage.MergeFrom(other.OptionalForeignMessage); |
| } |
| if (other.HasOptionalNestedEnum) { |
| OptionalNestedEnum = other.OptionalNestedEnum; |
| } |
| if (other.HasOptionalForeignEnum) { |
| OptionalForeignEnum = other.OptionalForeignEnum; |
| } |
| if (other.HasOptionalStringPiece) { |
| OptionalStringPiece = other.OptionalStringPiece; |
| } |
| if (other.HasOptionalCord) { |
| OptionalCord = other.OptionalCord; |
| } |
| if (other.recursiveMessage_ != null) { |
| if (recursiveMessage_ == null) { |
| RecursiveMessage = new global::ProtobufTestMessages.Editions.TestAllTypesEdition2023(); |
| } |
| RecursiveMessage.MergeFrom(other.RecursiveMessage); |
| } |
| repeatedInt32_.Add(other.repeatedInt32_); |
| repeatedInt64_.Add(other.repeatedInt64_); |
| repeatedUint32_.Add(other.repeatedUint32_); |
| repeatedUint64_.Add(other.repeatedUint64_); |
| repeatedSint32_.Add(other.repeatedSint32_); |
| repeatedSint64_.Add(other.repeatedSint64_); |
| repeatedFixed32_.Add(other.repeatedFixed32_); |
| repeatedFixed64_.Add(other.repeatedFixed64_); |
| repeatedSfixed32_.Add(other.repeatedSfixed32_); |
| repeatedSfixed64_.Add(other.repeatedSfixed64_); |
| repeatedFloat_.Add(other.repeatedFloat_); |
| repeatedDouble_.Add(other.repeatedDouble_); |
| repeatedBool_.Add(other.repeatedBool_); |
| repeatedString_.Add(other.repeatedString_); |
| repeatedBytes_.Add(other.repeatedBytes_); |
| repeatedNestedMessage_.Add(other.repeatedNestedMessage_); |
| repeatedForeignMessage_.Add(other.repeatedForeignMessage_); |
| repeatedNestedEnum_.Add(other.repeatedNestedEnum_); |
| repeatedForeignEnum_.Add(other.repeatedForeignEnum_); |
| repeatedStringPiece_.Add(other.repeatedStringPiece_); |
| repeatedCord_.Add(other.repeatedCord_); |
| packedInt32_.Add(other.packedInt32_); |
| packedInt64_.Add(other.packedInt64_); |
| packedUint32_.Add(other.packedUint32_); |
| packedUint64_.Add(other.packedUint64_); |
| packedSint32_.Add(other.packedSint32_); |
| packedSint64_.Add(other.packedSint64_); |
| packedFixed32_.Add(other.packedFixed32_); |
| packedFixed64_.Add(other.packedFixed64_); |
| packedSfixed32_.Add(other.packedSfixed32_); |
| packedSfixed64_.Add(other.packedSfixed64_); |
| packedFloat_.Add(other.packedFloat_); |
| packedDouble_.Add(other.packedDouble_); |
| packedBool_.Add(other.packedBool_); |
| packedNestedEnum_.Add(other.packedNestedEnum_); |
| unpackedInt32_.Add(other.unpackedInt32_); |
| unpackedInt64_.Add(other.unpackedInt64_); |
| unpackedUint32_.Add(other.unpackedUint32_); |
| unpackedUint64_.Add(other.unpackedUint64_); |
| unpackedSint32_.Add(other.unpackedSint32_); |
| unpackedSint64_.Add(other.unpackedSint64_); |
| unpackedFixed32_.Add(other.unpackedFixed32_); |
| unpackedFixed64_.Add(other.unpackedFixed64_); |
| unpackedSfixed32_.Add(other.unpackedSfixed32_); |
| unpackedSfixed64_.Add(other.unpackedSfixed64_); |
| unpackedFloat_.Add(other.unpackedFloat_); |
| unpackedDouble_.Add(other.unpackedDouble_); |
| unpackedBool_.Add(other.unpackedBool_); |
| unpackedNestedEnum_.Add(other.unpackedNestedEnum_); |
| mapInt32Int32_.MergeFrom(other.mapInt32Int32_); |
| mapInt64Int64_.MergeFrom(other.mapInt64Int64_); |
| mapUint32Uint32_.MergeFrom(other.mapUint32Uint32_); |
| mapUint64Uint64_.MergeFrom(other.mapUint64Uint64_); |
| mapSint32Sint32_.MergeFrom(other.mapSint32Sint32_); |
| mapSint64Sint64_.MergeFrom(other.mapSint64Sint64_); |
| mapFixed32Fixed32_.MergeFrom(other.mapFixed32Fixed32_); |
| mapFixed64Fixed64_.MergeFrom(other.mapFixed64Fixed64_); |
| mapSfixed32Sfixed32_.MergeFrom(other.mapSfixed32Sfixed32_); |
| mapSfixed64Sfixed64_.MergeFrom(other.mapSfixed64Sfixed64_); |
| mapInt32Float_.MergeFrom(other.mapInt32Float_); |
| mapInt32Double_.MergeFrom(other.mapInt32Double_); |
| mapBoolBool_.MergeFrom(other.mapBoolBool_); |
| mapStringString_.MergeFrom(other.mapStringString_); |
| mapStringBytes_.MergeFrom(other.mapStringBytes_); |
| mapStringNestedMessage_.MergeFrom(other.mapStringNestedMessage_); |
| mapStringForeignMessage_.MergeFrom(other.mapStringForeignMessage_); |
| mapStringNestedEnum_.MergeFrom(other.mapStringNestedEnum_); |
| mapStringForeignEnum_.MergeFrom(other.mapStringForeignEnum_); |
| if (other.HasGroupLikeType) { |
| if (!HasGroupLikeType) { |
| GroupLikeType = new global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.GroupLikeType(); |
| } |
| GroupLikeType.MergeFrom(other.GroupLikeType); |
| } |
| if (other.HasDelimitedField) { |
| if (!HasDelimitedField) { |
| DelimitedField = new global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.GroupLikeType(); |
| } |
| DelimitedField.MergeFrom(other.DelimitedField); |
| } |
| switch (other.OneofFieldCase) { |
| case OneofFieldOneofCase.OneofUint32: |
| OneofUint32 = other.OneofUint32; |
| break; |
| case OneofFieldOneofCase.OneofNestedMessage: |
| if (OneofNestedMessage == null) { |
| OneofNestedMessage = new global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.NestedMessage(); |
| } |
| OneofNestedMessage.MergeFrom(other.OneofNestedMessage); |
| break; |
| case OneofFieldOneofCase.OneofString: |
| OneofString = other.OneofString; |
| break; |
| case OneofFieldOneofCase.OneofBytes: |
| OneofBytes = other.OneofBytes; |
| break; |
| case OneofFieldOneofCase.OneofBool: |
| OneofBool = other.OneofBool; |
| break; |
| case OneofFieldOneofCase.OneofUint64: |
| OneofUint64 = other.OneofUint64; |
| break; |
| case OneofFieldOneofCase.OneofFloat: |
| OneofFloat = other.OneofFloat; |
| break; |
| case OneofFieldOneofCase.OneofDouble: |
| OneofDouble = other.OneofDouble; |
| break; |
| case OneofFieldOneofCase.OneofEnum: |
| OneofEnum = other.OneofEnum; |
| break; |
| } |
| |
| pb::ExtensionSet.MergeFrom(ref _extensions, other._extensions); |
| _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public void MergeFrom(pb::CodedInputStream input) { |
| #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| input.ReadRawMessage(this); |
| #else |
| uint tag; |
| while ((tag = input.ReadTag()) != 0) { |
| if ((tag & 7) == 4) { |
| // Abort on any end group tag. |
| return; |
| } |
| switch(tag) { |
| default: |
| if (!pb::ExtensionSet.TryMergeFieldFrom(ref _extensions, input)) { |
| _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| } |
| break; |
| case 8: { |
| OptionalInt32 = input.ReadInt32(); |
| break; |
| } |
| case 16: { |
| OptionalInt64 = input.ReadInt64(); |
| break; |
| } |
| case 24: { |
| OptionalUint32 = input.ReadUInt32(); |
| break; |
| } |
| case 32: { |
| OptionalUint64 = input.ReadUInt64(); |
| break; |
| } |
| case 40: { |
| OptionalSint32 = input.ReadSInt32(); |
| break; |
| } |
| case 48: { |
| OptionalSint64 = input.ReadSInt64(); |
| break; |
| } |
| case 61: { |
| OptionalFixed32 = input.ReadFixed32(); |
| break; |
| } |
| case 65: { |
| OptionalFixed64 = input.ReadFixed64(); |
| break; |
| } |
| case 77: { |
| OptionalSfixed32 = input.ReadSFixed32(); |
| break; |
| } |
| case 81: { |
| OptionalSfixed64 = input.ReadSFixed64(); |
| break; |
| } |
| case 93: { |
| OptionalFloat = input.ReadFloat(); |
| break; |
| } |
| case 97: { |
| OptionalDouble = input.ReadDouble(); |
| break; |
| } |
| case 104: { |
| OptionalBool = input.ReadBool(); |
| break; |
| } |
| case 114: { |
| OptionalString = input.ReadString(); |
| break; |
| } |
| case 122: { |
| OptionalBytes = input.ReadBytes(); |
| break; |
| } |
| case 146: { |
| if (optionalNestedMessage_ == null) { |
| OptionalNestedMessage = new global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.NestedMessage(); |
| } |
| input.ReadMessage(OptionalNestedMessage); |
| break; |
| } |
| case 154: { |
| if (optionalForeignMessage_ == null) { |
| OptionalForeignMessage = new global::ProtobufTestMessages.Editions.ForeignMessageEdition2023(); |
| } |
| input.ReadMessage(OptionalForeignMessage); |
| break; |
| } |
| case 168: { |
| OptionalNestedEnum = (global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.NestedEnum) input.ReadEnum(); |
| break; |
| } |
| case 176: { |
| OptionalForeignEnum = (global::ProtobufTestMessages.Editions.ForeignEnumEdition2023) input.ReadEnum(); |
| break; |
| } |
| case 194: { |
| OptionalStringPiece = input.ReadString(); |
| break; |
| } |
| case 202: { |
| OptionalCord = input.ReadString(); |
| break; |
| } |
| case 218: { |
| if (recursiveMessage_ == null) { |
| RecursiveMessage = new global::ProtobufTestMessages.Editions.TestAllTypesEdition2023(); |
| } |
| input.ReadMessage(RecursiveMessage); |
| break; |
| } |
| case 250: |
| case 248: { |
| repeatedInt32_.AddEntriesFrom(input, _repeated_repeatedInt32_codec); |
| break; |
| } |
| case 258: |
| case 256: { |
| repeatedInt64_.AddEntriesFrom(input, _repeated_repeatedInt64_codec); |
| break; |
| } |
| case 266: |
| case 264: { |
| repeatedUint32_.AddEntriesFrom(input, _repeated_repeatedUint32_codec); |
| break; |
| } |
| case 274: |
| case 272: { |
| repeatedUint64_.AddEntriesFrom(input, _repeated_repeatedUint64_codec); |
| break; |
| } |
| case 282: |
| case 280: { |
| repeatedSint32_.AddEntriesFrom(input, _repeated_repeatedSint32_codec); |
| break; |
| } |
| case 290: |
| case 288: { |
| repeatedSint64_.AddEntriesFrom(input, _repeated_repeatedSint64_codec); |
| break; |
| } |
| case 298: |
| case 301: { |
| repeatedFixed32_.AddEntriesFrom(input, _repeated_repeatedFixed32_codec); |
| break; |
| } |
| case 306: |
| case 305: { |
| repeatedFixed64_.AddEntriesFrom(input, _repeated_repeatedFixed64_codec); |
| break; |
| } |
| case 314: |
| case 317: { |
| repeatedSfixed32_.AddEntriesFrom(input, _repeated_repeatedSfixed32_codec); |
| break; |
| } |
| case 322: |
| case 321: { |
| repeatedSfixed64_.AddEntriesFrom(input, _repeated_repeatedSfixed64_codec); |
| break; |
| } |
| case 330: |
| case 333: { |
| repeatedFloat_.AddEntriesFrom(input, _repeated_repeatedFloat_codec); |
| break; |
| } |
| case 338: |
| case 337: { |
| repeatedDouble_.AddEntriesFrom(input, _repeated_repeatedDouble_codec); |
| break; |
| } |
| case 346: |
| case 344: { |
| repeatedBool_.AddEntriesFrom(input, _repeated_repeatedBool_codec); |
| break; |
| } |
| case 354: { |
| repeatedString_.AddEntriesFrom(input, _repeated_repeatedString_codec); |
| break; |
| } |
| case 362: { |
| repeatedBytes_.AddEntriesFrom(input, _repeated_repeatedBytes_codec); |
| break; |
| } |
| case 386: { |
| repeatedNestedMessage_.AddEntriesFrom(input, _repeated_repeatedNestedMessage_codec); |
| break; |
| } |
| case 394: { |
| repeatedForeignMessage_.AddEntriesFrom(input, _repeated_repeatedForeignMessage_codec); |
| break; |
| } |
| case 410: |
| case 408: { |
| repeatedNestedEnum_.AddEntriesFrom(input, _repeated_repeatedNestedEnum_codec); |
| break; |
| } |
| case 418: |
| case 416: { |
| repeatedForeignEnum_.AddEntriesFrom(input, _repeated_repeatedForeignEnum_codec); |
| break; |
| } |
| case 434: { |
| repeatedStringPiece_.AddEntriesFrom(input, _repeated_repeatedStringPiece_codec); |
| break; |
| } |
| case 442: { |
| repeatedCord_.AddEntriesFrom(input, _repeated_repeatedCord_codec); |
| break; |
| } |
| case 450: { |
| mapInt32Int32_.AddEntriesFrom(input, _map_mapInt32Int32_codec); |
| break; |
| } |
| case 458: { |
| mapInt64Int64_.AddEntriesFrom(input, _map_mapInt64Int64_codec); |
| break; |
| } |
| case 466: { |
| mapUint32Uint32_.AddEntriesFrom(input, _map_mapUint32Uint32_codec); |
| break; |
| } |
| case 474: { |
| mapUint64Uint64_.AddEntriesFrom(input, _map_mapUint64Uint64_codec); |
| break; |
| } |
| case 482: { |
| mapSint32Sint32_.AddEntriesFrom(input, _map_mapSint32Sint32_codec); |
| break; |
| } |
| case 490: { |
| mapSint64Sint64_.AddEntriesFrom(input, _map_mapSint64Sint64_codec); |
| break; |
| } |
| case 498: { |
| mapFixed32Fixed32_.AddEntriesFrom(input, _map_mapFixed32Fixed32_codec); |
| break; |
| } |
| case 506: { |
| mapFixed64Fixed64_.AddEntriesFrom(input, _map_mapFixed64Fixed64_codec); |
| break; |
| } |
| case 514: { |
| mapSfixed32Sfixed32_.AddEntriesFrom(input, _map_mapSfixed32Sfixed32_codec); |
| break; |
| } |
| case 522: { |
| mapSfixed64Sfixed64_.AddEntriesFrom(input, _map_mapSfixed64Sfixed64_codec); |
| break; |
| } |
| case 530: { |
| mapInt32Float_.AddEntriesFrom(input, _map_mapInt32Float_codec); |
| break; |
| } |
| case 538: { |
| mapInt32Double_.AddEntriesFrom(input, _map_mapInt32Double_codec); |
| break; |
| } |
| case 546: { |
| mapBoolBool_.AddEntriesFrom(input, _map_mapBoolBool_codec); |
| break; |
| } |
| case 554: { |
| mapStringString_.AddEntriesFrom(input, _map_mapStringString_codec); |
| break; |
| } |
| case 562: { |
| mapStringBytes_.AddEntriesFrom(input, _map_mapStringBytes_codec); |
| break; |
| } |
| case 570: { |
| mapStringNestedMessage_.AddEntriesFrom(input, _map_mapStringNestedMessage_codec); |
| break; |
| } |
| case 578: { |
| mapStringForeignMessage_.AddEntriesFrom(input, _map_mapStringForeignMessage_codec); |
| break; |
| } |
| case 586: { |
| mapStringNestedEnum_.AddEntriesFrom(input, _map_mapStringNestedEnum_codec); |
| break; |
| } |
| case 594: { |
| mapStringForeignEnum_.AddEntriesFrom(input, _map_mapStringForeignEnum_codec); |
| break; |
| } |
| case 602: |
| case 600: { |
| packedInt32_.AddEntriesFrom(input, _repeated_packedInt32_codec); |
| break; |
| } |
| case 610: |
| case 608: { |
| packedInt64_.AddEntriesFrom(input, _repeated_packedInt64_codec); |
| break; |
| } |
| case 618: |
| case 616: { |
| packedUint32_.AddEntriesFrom(input, _repeated_packedUint32_codec); |
| break; |
| } |
| case 626: |
| case 624: { |
| packedUint64_.AddEntriesFrom(input, _repeated_packedUint64_codec); |
| break; |
| } |
| case 634: |
| case 632: { |
| packedSint32_.AddEntriesFrom(input, _repeated_packedSint32_codec); |
| break; |
| } |
| case 642: |
| case 640: { |
| packedSint64_.AddEntriesFrom(input, _repeated_packedSint64_codec); |
| break; |
| } |
| case 650: |
| case 653: { |
| packedFixed32_.AddEntriesFrom(input, _repeated_packedFixed32_codec); |
| break; |
| } |
| case 658: |
| case 657: { |
| packedFixed64_.AddEntriesFrom(input, _repeated_packedFixed64_codec); |
| break; |
| } |
| case 666: |
| case 669: { |
| packedSfixed32_.AddEntriesFrom(input, _repeated_packedSfixed32_codec); |
| break; |
| } |
| case 674: |
| case 673: { |
| packedSfixed64_.AddEntriesFrom(input, _repeated_packedSfixed64_codec); |
| break; |
| } |
| case 682: |
| case 685: { |
| packedFloat_.AddEntriesFrom(input, _repeated_packedFloat_codec); |
| break; |
| } |
| case 690: |
| case 689: { |
| packedDouble_.AddEntriesFrom(input, _repeated_packedDouble_codec); |
| break; |
| } |
| case 698: |
| case 696: { |
| packedBool_.AddEntriesFrom(input, _repeated_packedBool_codec); |
| break; |
| } |
| case 706: |
| case 704: { |
| packedNestedEnum_.AddEntriesFrom(input, _repeated_packedNestedEnum_codec); |
| break; |
| } |
| case 714: |
| case 712: { |
| unpackedInt32_.AddEntriesFrom(input, _repeated_unpackedInt32_codec); |
| break; |
| } |
| case 722: |
| case 720: { |
| unpackedInt64_.AddEntriesFrom(input, _repeated_unpackedInt64_codec); |
| break; |
| } |
| case 730: |
| case 728: { |
| unpackedUint32_.AddEntriesFrom(input, _repeated_unpackedUint32_codec); |
| break; |
| } |
| case 738: |
| case 736: { |
| unpackedUint64_.AddEntriesFrom(input, _repeated_unpackedUint64_codec); |
| break; |
| } |
| case 746: |
| case 744: { |
| unpackedSint32_.AddEntriesFrom(input, _repeated_unpackedSint32_codec); |
| break; |
| } |
| case 754: |
| case 752: { |
| unpackedSint64_.AddEntriesFrom(input, _repeated_unpackedSint64_codec); |
| break; |
| } |
| case 762: |
| case 765: { |
| unpackedFixed32_.AddEntriesFrom(input, _repeated_unpackedFixed32_codec); |
| break; |
| } |
| case 770: |
| case 769: { |
| unpackedFixed64_.AddEntriesFrom(input, _repeated_unpackedFixed64_codec); |
| break; |
| } |
| case 778: |
| case 781: { |
| unpackedSfixed32_.AddEntriesFrom(input, _repeated_unpackedSfixed32_codec); |
| break; |
| } |
| case 786: |
| case 785: { |
| unpackedSfixed64_.AddEntriesFrom(input, _repeated_unpackedSfixed64_codec); |
| break; |
| } |
| case 794: |
| case 797: { |
| unpackedFloat_.AddEntriesFrom(input, _repeated_unpackedFloat_codec); |
| break; |
| } |
| case 802: |
| case 801: { |
| unpackedDouble_.AddEntriesFrom(input, _repeated_unpackedDouble_codec); |
| break; |
| } |
| case 810: |
| case 808: { |
| unpackedBool_.AddEntriesFrom(input, _repeated_unpackedBool_codec); |
| break; |
| } |
| case 818: |
| case 816: { |
| unpackedNestedEnum_.AddEntriesFrom(input, _repeated_unpackedNestedEnum_codec); |
| break; |
| } |
| case 888: { |
| OneofUint32 = input.ReadUInt32(); |
| break; |
| } |
| case 898: { |
| global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.NestedMessage subBuilder = new global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.NestedMessage(); |
| if (oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage) { |
| subBuilder.MergeFrom(OneofNestedMessage); |
| } |
| input.ReadMessage(subBuilder); |
| OneofNestedMessage = subBuilder; |
| break; |
| } |
| case 906: { |
| OneofString = input.ReadString(); |
| break; |
| } |
| case 914: { |
| OneofBytes = input.ReadBytes(); |
| break; |
| } |
| case 920: { |
| OneofBool = input.ReadBool(); |
| break; |
| } |
| case 928: { |
| OneofUint64 = input.ReadUInt64(); |
| break; |
| } |
| case 941: { |
| OneofFloat = input.ReadFloat(); |
| break; |
| } |
| case 945: { |
| OneofDouble = input.ReadDouble(); |
| break; |
| } |
| case 952: { |
| oneofField_ = input.ReadEnum(); |
| oneofFieldCase_ = OneofFieldOneofCase.OneofEnum; |
| break; |
| } |
| case 1611: { |
| if (!HasGroupLikeType) { |
| GroupLikeType = new global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.GroupLikeType(); |
| } |
| input.ReadGroup(GroupLikeType); |
| break; |
| } |
| case 1619: { |
| if (!HasDelimitedField) { |
| DelimitedField = new global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.GroupLikeType(); |
| } |
| input.ReadGroup(DelimitedField); |
| break; |
| } |
| } |
| } |
| #endif |
| } |
| |
| #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| uint tag; |
| while ((tag = input.ReadTag()) != 0) { |
| if ((tag & 7) == 4) { |
| // Abort on any end group tag. |
| return; |
| } |
| switch(tag) { |
| default: |
| if (!pb::ExtensionSet.TryMergeFieldFrom(ref _extensions, ref input)) { |
| _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| } |
| break; |
| case 8: { |
| OptionalInt32 = input.ReadInt32(); |
| break; |
| } |
| case 16: { |
| OptionalInt64 = input.ReadInt64(); |
| break; |
| } |
| case 24: { |
| OptionalUint32 = input.ReadUInt32(); |
| break; |
| } |
| case 32: { |
| OptionalUint64 = input.ReadUInt64(); |
| break; |
| } |
| case 40: { |
| OptionalSint32 = input.ReadSInt32(); |
| break; |
| } |
| case 48: { |
| OptionalSint64 = input.ReadSInt64(); |
| break; |
| } |
| case 61: { |
| OptionalFixed32 = input.ReadFixed32(); |
| break; |
| } |
| case 65: { |
| OptionalFixed64 = input.ReadFixed64(); |
| break; |
| } |
| case 77: { |
| OptionalSfixed32 = input.ReadSFixed32(); |
| break; |
| } |
| case 81: { |
| OptionalSfixed64 = input.ReadSFixed64(); |
| break; |
| } |
| case 93: { |
| OptionalFloat = input.ReadFloat(); |
| break; |
| } |
| case 97: { |
| OptionalDouble = input.ReadDouble(); |
| break; |
| } |
| case 104: { |
| OptionalBool = input.ReadBool(); |
| break; |
| } |
| case 114: { |
| OptionalString = input.ReadString(); |
| break; |
| } |
| case 122: { |
| OptionalBytes = input.ReadBytes(); |
| break; |
| } |
| case 146: { |
| if (optionalNestedMessage_ == null) { |
| OptionalNestedMessage = new global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.NestedMessage(); |
| } |
| input.ReadMessage(OptionalNestedMessage); |
| break; |
| } |
| case 154: { |
| if (optionalForeignMessage_ == null) { |
| OptionalForeignMessage = new global::ProtobufTestMessages.Editions.ForeignMessageEdition2023(); |
| } |
| input.ReadMessage(OptionalForeignMessage); |
| break; |
| } |
| case 168: { |
| OptionalNestedEnum = (global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.NestedEnum) input.ReadEnum(); |
| break; |
| } |
| case 176: { |
| OptionalForeignEnum = (global::ProtobufTestMessages.Editions.ForeignEnumEdition2023) input.ReadEnum(); |
| break; |
| } |
| case 194: { |
| OptionalStringPiece = input.ReadString(); |
| break; |
| } |
| case 202: { |
| OptionalCord = input.ReadString(); |
| break; |
| } |
| case 218: { |
| if (recursiveMessage_ == null) { |
| RecursiveMessage = new global::ProtobufTestMessages.Editions.TestAllTypesEdition2023(); |
| } |
| input.ReadMessage(RecursiveMessage); |
| break; |
| } |
| case 250: |
| case 248: { |
| repeatedInt32_.AddEntriesFrom(ref input, _repeated_repeatedInt32_codec); |
| break; |
| } |
| case 258: |
| case 256: { |
| repeatedInt64_.AddEntriesFrom(ref input, _repeated_repeatedInt64_codec); |
| break; |
| } |
| case 266: |
| case 264: { |
| repeatedUint32_.AddEntriesFrom(ref input, _repeated_repeatedUint32_codec); |
| break; |
| } |
| case 274: |
| case 272: { |
| repeatedUint64_.AddEntriesFrom(ref input, _repeated_repeatedUint64_codec); |
| break; |
| } |
| case 282: |
| case 280: { |
| repeatedSint32_.AddEntriesFrom(ref input, _repeated_repeatedSint32_codec); |
| break; |
| } |
| case 290: |
| case 288: { |
| repeatedSint64_.AddEntriesFrom(ref input, _repeated_repeatedSint64_codec); |
| break; |
| } |
| case 298: |
| case 301: { |
| repeatedFixed32_.AddEntriesFrom(ref input, _repeated_repeatedFixed32_codec); |
| break; |
| } |
| case 306: |
| case 305: { |
| repeatedFixed64_.AddEntriesFrom(ref input, _repeated_repeatedFixed64_codec); |
| break; |
| } |
| case 314: |
| case 317: { |
| repeatedSfixed32_.AddEntriesFrom(ref input, _repeated_repeatedSfixed32_codec); |
| break; |
| } |
| case 322: |
| case 321: { |
| repeatedSfixed64_.AddEntriesFrom(ref input, _repeated_repeatedSfixed64_codec); |
| break; |
| } |
| case 330: |
| case 333: { |
| repeatedFloat_.AddEntriesFrom(ref input, _repeated_repeatedFloat_codec); |
| break; |
| } |
| case 338: |
| case 337: { |
| repeatedDouble_.AddEntriesFrom(ref input, _repeated_repeatedDouble_codec); |
| break; |
| } |
| case 346: |
| case 344: { |
| repeatedBool_.AddEntriesFrom(ref input, _repeated_repeatedBool_codec); |
| break; |
| } |
| case 354: { |
| repeatedString_.AddEntriesFrom(ref input, _repeated_repeatedString_codec); |
| break; |
| } |
| case 362: { |
| repeatedBytes_.AddEntriesFrom(ref input, _repeated_repeatedBytes_codec); |
| break; |
| } |
| case 386: { |
| repeatedNestedMessage_.AddEntriesFrom(ref input, _repeated_repeatedNestedMessage_codec); |
| break; |
| } |
| case 394: { |
| repeatedForeignMessage_.AddEntriesFrom(ref input, _repeated_repeatedForeignMessage_codec); |
| break; |
| } |
| case 410: |
| case 408: { |
| repeatedNestedEnum_.AddEntriesFrom(ref input, _repeated_repeatedNestedEnum_codec); |
| break; |
| } |
| case 418: |
| case 416: { |
| repeatedForeignEnum_.AddEntriesFrom(ref input, _repeated_repeatedForeignEnum_codec); |
| break; |
| } |
| case 434: { |
| repeatedStringPiece_.AddEntriesFrom(ref input, _repeated_repeatedStringPiece_codec); |
| break; |
| } |
| case 442: { |
| repeatedCord_.AddEntriesFrom(ref input, _repeated_repeatedCord_codec); |
| break; |
| } |
| case 450: { |
| mapInt32Int32_.AddEntriesFrom(ref input, _map_mapInt32Int32_codec); |
| break; |
| } |
| case 458: { |
| mapInt64Int64_.AddEntriesFrom(ref input, _map_mapInt64Int64_codec); |
| break; |
| } |
| case 466: { |
| mapUint32Uint32_.AddEntriesFrom(ref input, _map_mapUint32Uint32_codec); |
| break; |
| } |
| case 474: { |
| mapUint64Uint64_.AddEntriesFrom(ref input, _map_mapUint64Uint64_codec); |
| break; |
| } |
| case 482: { |
| mapSint32Sint32_.AddEntriesFrom(ref input, _map_mapSint32Sint32_codec); |
| break; |
| } |
| case 490: { |
| mapSint64Sint64_.AddEntriesFrom(ref input, _map_mapSint64Sint64_codec); |
| break; |
| } |
| case 498: { |
| mapFixed32Fixed32_.AddEntriesFrom(ref input, _map_mapFixed32Fixed32_codec); |
| break; |
| } |
| case 506: { |
| mapFixed64Fixed64_.AddEntriesFrom(ref input, _map_mapFixed64Fixed64_codec); |
| break; |
| } |
| case 514: { |
| mapSfixed32Sfixed32_.AddEntriesFrom(ref input, _map_mapSfixed32Sfixed32_codec); |
| break; |
| } |
| case 522: { |
| mapSfixed64Sfixed64_.AddEntriesFrom(ref input, _map_mapSfixed64Sfixed64_codec); |
| break; |
| } |
| case 530: { |
| mapInt32Float_.AddEntriesFrom(ref input, _map_mapInt32Float_codec); |
| break; |
| } |
| case 538: { |
| mapInt32Double_.AddEntriesFrom(ref input, _map_mapInt32Double_codec); |
| break; |
| } |
| case 546: { |
| mapBoolBool_.AddEntriesFrom(ref input, _map_mapBoolBool_codec); |
| break; |
| } |
| case 554: { |
| mapStringString_.AddEntriesFrom(ref input, _map_mapStringString_codec); |
| break; |
| } |
| case 562: { |
| mapStringBytes_.AddEntriesFrom(ref input, _map_mapStringBytes_codec); |
| break; |
| } |
| case 570: { |
| mapStringNestedMessage_.AddEntriesFrom(ref input, _map_mapStringNestedMessage_codec); |
| break; |
| } |
| case 578: { |
| mapStringForeignMessage_.AddEntriesFrom(ref input, _map_mapStringForeignMessage_codec); |
| break; |
| } |
| case 586: { |
| mapStringNestedEnum_.AddEntriesFrom(ref input, _map_mapStringNestedEnum_codec); |
| break; |
| } |
| case 594: { |
| mapStringForeignEnum_.AddEntriesFrom(ref input, _map_mapStringForeignEnum_codec); |
| break; |
| } |
| case 602: |
| case 600: { |
| packedInt32_.AddEntriesFrom(ref input, _repeated_packedInt32_codec); |
| break; |
| } |
| case 610: |
| case 608: { |
| packedInt64_.AddEntriesFrom(ref input, _repeated_packedInt64_codec); |
| break; |
| } |
| case 618: |
| case 616: { |
| packedUint32_.AddEntriesFrom(ref input, _repeated_packedUint32_codec); |
| break; |
| } |
| case 626: |
| case 624: { |
| packedUint64_.AddEntriesFrom(ref input, _repeated_packedUint64_codec); |
| break; |
| } |
| case 634: |
| case 632: { |
| packedSint32_.AddEntriesFrom(ref input, _repeated_packedSint32_codec); |
| break; |
| } |
| case 642: |
| case 640: { |
| packedSint64_.AddEntriesFrom(ref input, _repeated_packedSint64_codec); |
| break; |
| } |
| case 650: |
| case 653: { |
| packedFixed32_.AddEntriesFrom(ref input, _repeated_packedFixed32_codec); |
| break; |
| } |
| case 658: |
| case 657: { |
| packedFixed64_.AddEntriesFrom(ref input, _repeated_packedFixed64_codec); |
| break; |
| } |
| case 666: |
| case 669: { |
| packedSfixed32_.AddEntriesFrom(ref input, _repeated_packedSfixed32_codec); |
| break; |
| } |
| case 674: |
| case 673: { |
| packedSfixed64_.AddEntriesFrom(ref input, _repeated_packedSfixed64_codec); |
| break; |
| } |
| case 682: |
| case 685: { |
| packedFloat_.AddEntriesFrom(ref input, _repeated_packedFloat_codec); |
| break; |
| } |
| case 690: |
| case 689: { |
| packedDouble_.AddEntriesFrom(ref input, _repeated_packedDouble_codec); |
| break; |
| } |
| case 698: |
| case 696: { |
| packedBool_.AddEntriesFrom(ref input, _repeated_packedBool_codec); |
| break; |
| } |
| case 706: |
| case 704: { |
| packedNestedEnum_.AddEntriesFrom(ref input, _repeated_packedNestedEnum_codec); |
| break; |
| } |
| case 714: |
| case 712: { |
| unpackedInt32_.AddEntriesFrom(ref input, _repeated_unpackedInt32_codec); |
| break; |
| } |
| case 722: |
| case 720: { |
| unpackedInt64_.AddEntriesFrom(ref input, _repeated_unpackedInt64_codec); |
| break; |
| } |
| case 730: |
| case 728: { |
| unpackedUint32_.AddEntriesFrom(ref input, _repeated_unpackedUint32_codec); |
| break; |
| } |
| case 738: |
| case 736: { |
| unpackedUint64_.AddEntriesFrom(ref input, _repeated_unpackedUint64_codec); |
| break; |
| } |
| case 746: |
| case 744: { |
| unpackedSint32_.AddEntriesFrom(ref input, _repeated_unpackedSint32_codec); |
| break; |
| } |
| case 754: |
| case 752: { |
| unpackedSint64_.AddEntriesFrom(ref input, _repeated_unpackedSint64_codec); |
| break; |
| } |
| case 762: |
| case 765: { |
| unpackedFixed32_.AddEntriesFrom(ref input, _repeated_unpackedFixed32_codec); |
| break; |
| } |
| case 770: |
| case 769: { |
| unpackedFixed64_.AddEntriesFrom(ref input, _repeated_unpackedFixed64_codec); |
| break; |
| } |
| case 778: |
| case 781: { |
| unpackedSfixed32_.AddEntriesFrom(ref input, _repeated_unpackedSfixed32_codec); |
| break; |
| } |
| case 786: |
| case 785: { |
| unpackedSfixed64_.AddEntriesFrom(ref input, _repeated_unpackedSfixed64_codec); |
| break; |
| } |
| case 794: |
| case 797: { |
| unpackedFloat_.AddEntriesFrom(ref input, _repeated_unpackedFloat_codec); |
| break; |
| } |
| case 802: |
| case 801: { |
| unpackedDouble_.AddEntriesFrom(ref input, _repeated_unpackedDouble_codec); |
| break; |
| } |
| case 810: |
| case 808: { |
| unpackedBool_.AddEntriesFrom(ref input, _repeated_unpackedBool_codec); |
| break; |
| } |
| case 818: |
| case 816: { |
| unpackedNestedEnum_.AddEntriesFrom(ref input, _repeated_unpackedNestedEnum_codec); |
| break; |
| } |
| case 888: { |
| OneofUint32 = input.ReadUInt32(); |
| break; |
| } |
| case 898: { |
| global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.NestedMessage subBuilder = new global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.NestedMessage(); |
| if (oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage) { |
| subBuilder.MergeFrom(OneofNestedMessage); |
| } |
| input.ReadMessage(subBuilder); |
| OneofNestedMessage = subBuilder; |
| break; |
| } |
| case 906: { |
| OneofString = input.ReadString(); |
| break; |
| } |
| case 914: { |
| OneofBytes = input.ReadBytes(); |
| break; |
| } |
| case 920: { |
| OneofBool = input.ReadBool(); |
| break; |
| } |
| case 928: { |
| OneofUint64 = input.ReadUInt64(); |
| break; |
| } |
| case 941: { |
| OneofFloat = input.ReadFloat(); |
| break; |
| } |
| case 945: { |
| OneofDouble = input.ReadDouble(); |
| break; |
| } |
| case 952: { |
| oneofField_ = input.ReadEnum(); |
| oneofFieldCase_ = OneofFieldOneofCase.OneofEnum; |
| break; |
| } |
| case 1611: { |
| if (!HasGroupLikeType) { |
| GroupLikeType = new global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.GroupLikeType(); |
| } |
| input.ReadGroup(GroupLikeType); |
| break; |
| } |
| case 1619: { |
| if (!HasDelimitedField) { |
| DelimitedField = new global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Types.GroupLikeType(); |
| } |
| input.ReadGroup(DelimitedField); |
| break; |
| } |
| } |
| } |
| } |
| #endif |
| |
| public TValue GetExtension<TValue>(pb::Extension<TestAllTypesEdition2023, TValue> extension) { |
| return pb::ExtensionSet.Get(ref _extensions, extension); |
| } |
| public pbc::RepeatedField<TValue> GetExtension<TValue>(pb::RepeatedExtension<TestAllTypesEdition2023, TValue> extension) { |
| return pb::ExtensionSet.Get(ref _extensions, extension); |
| } |
| public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<TestAllTypesEdition2023, TValue> extension) { |
| return pb::ExtensionSet.GetOrInitialize(ref _extensions, extension); |
| } |
| public void SetExtension<TValue>(pb::Extension<TestAllTypesEdition2023, TValue> extension, TValue value) { |
| pb::ExtensionSet.Set(ref _extensions, extension, value); |
| } |
| public bool HasExtension<TValue>(pb::Extension<TestAllTypesEdition2023, TValue> extension) { |
| return pb::ExtensionSet.Has(ref _extensions, extension); |
| } |
| public void ClearExtension<TValue>(pb::Extension<TestAllTypesEdition2023, TValue> extension) { |
| pb::ExtensionSet.Clear(ref _extensions, extension); |
| } |
| public void ClearExtension<TValue>(pb::RepeatedExtension<TestAllTypesEdition2023, TValue> extension) { |
| pb::ExtensionSet.Clear(ref _extensions, extension); |
| } |
| |
| #region Nested types |
| /// <summary>Container for nested types declared in the TestAllTypesEdition2023 message type.</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public static partial class Types { |
| public enum NestedEnum { |
| [pbr::OriginalName("FOO")] Foo = 0, |
| [pbr::OriginalName("BAR")] Bar = 1, |
| [pbr::OriginalName("BAZ")] Baz = 2, |
| /// <summary> |
| /// Intentionally negative. |
| /// </summary> |
| [pbr::OriginalName("NEG")] Neg = -1, |
| } |
| |
| [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] |
| public sealed partial class NestedMessage : pb::IMessage<NestedMessage> |
| #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| , pb::IBufferMessage |
| #endif |
| { |
| private static readonly pb::MessageParser<NestedMessage> _parser = new pb::MessageParser<NestedMessage>(() => new NestedMessage()); |
| private pb::UnknownFieldSet _unknownFields; |
| private int _hasBits0; |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public static pb::MessageParser<NestedMessage> Parser { get { return _parser; } } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public static pbr::MessageDescriptor Descriptor { |
| get { return global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Descriptor.NestedTypes[0]; } |
| } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| pbr::MessageDescriptor pb::IMessage.Descriptor { |
| get { return Descriptor; } |
| } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public NestedMessage() { |
| OnConstruction(); |
| } |
| |
| partial void OnConstruction(); |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public NestedMessage(NestedMessage other) : this() { |
| _hasBits0 = other._hasBits0; |
| a_ = other.a_; |
| corecursive_ = other.corecursive_ != null ? other.corecursive_.Clone() : null; |
| _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public NestedMessage Clone() { |
| return new NestedMessage(this); |
| } |
| |
| /// <summary>Field number for the "a" field.</summary> |
| public const int AFieldNumber = 1; |
| private readonly static int ADefaultValue = 0; |
| |
| private int a_; |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public int A { |
| get { if ((_hasBits0 & 1) != 0) { return a_; } else { return ADefaultValue; } } |
| set { |
| _hasBits0 |= 1; |
| a_ = value; |
| } |
| } |
| /// <summary>Gets whether the "a" field is set</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public bool HasA { |
| get { return (_hasBits0 & 1) != 0; } |
| } |
| /// <summary>Clears the value of the "a" field</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public void ClearA() { |
| _hasBits0 &= ~1; |
| } |
| |
| /// <summary>Field number for the "corecursive" field.</summary> |
| public const int CorecursiveFieldNumber = 2; |
| private global::ProtobufTestMessages.Editions.TestAllTypesEdition2023 corecursive_; |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public global::ProtobufTestMessages.Editions.TestAllTypesEdition2023 Corecursive { |
| get { return corecursive_; } |
| set { |
| corecursive_ = value; |
| } |
| } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public override bool Equals(object other) { |
| return Equals(other as NestedMessage); |
| } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public bool Equals(NestedMessage other) { |
| if (ReferenceEquals(other, null)) { |
| return false; |
| } |
| if (ReferenceEquals(other, this)) { |
| return true; |
| } |
| if (A != other.A) return false; |
| if (!object.Equals(Corecursive, other.Corecursive)) return false; |
| return Equals(_unknownFields, other._unknownFields); |
| } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public override int GetHashCode() { |
| int hash = 1; |
| if (HasA) hash ^= A.GetHashCode(); |
| if (corecursive_ != null) hash ^= Corecursive.GetHashCode(); |
| if (_unknownFields != null) { |
| hash ^= _unknownFields.GetHashCode(); |
| } |
| return hash; |
| } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public override string ToString() { |
| return pb::JsonFormatter.ToDiagnosticString(this); |
| } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public void WriteTo(pb::CodedOutputStream output) { |
| #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| output.WriteRawMessage(this); |
| #else |
| if (HasA) { |
| output.WriteRawTag(8); |
| output.WriteInt32(A); |
| } |
| if (corecursive_ != null) { |
| output.WriteRawTag(18); |
| output.WriteMessage(Corecursive); |
| } |
| if (_unknownFields != null) { |
| _unknownFields.WriteTo(output); |
| } |
| #endif |
| } |
| |
| #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| if (HasA) { |
| output.WriteRawTag(8); |
| output.WriteInt32(A); |
| } |
| if (corecursive_ != null) { |
| output.WriteRawTag(18); |
| output.WriteMessage(Corecursive); |
| } |
| if (_unknownFields != null) { |
| _unknownFields.WriteTo(ref output); |
| } |
| } |
| #endif |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public int CalculateSize() { |
| int size = 0; |
| if (HasA) { |
| size += 1 + pb::CodedOutputStream.ComputeInt32Size(A); |
| } |
| if (corecursive_ != null) { |
| size += 1 + pb::CodedOutputStream.ComputeMessageSize(Corecursive); |
| } |
| if (_unknownFields != null) { |
| size += _unknownFields.CalculateSize(); |
| } |
| return size; |
| } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public void MergeFrom(NestedMessage other) { |
| if (other == null) { |
| return; |
| } |
| if (other.HasA) { |
| A = other.A; |
| } |
| if (other.corecursive_ != null) { |
| if (corecursive_ == null) { |
| Corecursive = new global::ProtobufTestMessages.Editions.TestAllTypesEdition2023(); |
| } |
| Corecursive.MergeFrom(other.Corecursive); |
| } |
| _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public void MergeFrom(pb::CodedInputStream input) { |
| #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| input.ReadRawMessage(this); |
| #else |
| uint tag; |
| while ((tag = input.ReadTag()) != 0) { |
| if ((tag & 7) == 4) { |
| // Abort on any end group tag. |
| return; |
| } |
| switch(tag) { |
| default: |
| _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| break; |
| case 8: { |
| A = input.ReadInt32(); |
| break; |
| } |
| case 18: { |
| if (corecursive_ == null) { |
| Corecursive = new global::ProtobufTestMessages.Editions.TestAllTypesEdition2023(); |
| } |
| input.ReadMessage(Corecursive); |
| break; |
| } |
| } |
| } |
| #endif |
| } |
| |
| #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| uint tag; |
| while ((tag = input.ReadTag()) != 0) { |
| if ((tag & 7) == 4) { |
| // Abort on any end group tag. |
| return; |
| } |
| switch(tag) { |
| default: |
| _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| break; |
| case 8: { |
| A = input.ReadInt32(); |
| break; |
| } |
| case 18: { |
| if (corecursive_ == null) { |
| Corecursive = new global::ProtobufTestMessages.Editions.TestAllTypesEdition2023(); |
| } |
| input.ReadMessage(Corecursive); |
| break; |
| } |
| } |
| } |
| } |
| #endif |
| |
| } |
| |
| /// <summary> |
| /// groups |
| /// </summary> |
| [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] |
| public sealed partial class GroupLikeType : pb::IMessage<GroupLikeType> |
| #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| , pb::IBufferMessage |
| #endif |
| { |
| private static readonly pb::MessageParser<GroupLikeType> _parser = new pb::MessageParser<GroupLikeType>(() => new GroupLikeType()); |
| private pb::UnknownFieldSet _unknownFields; |
| private int _hasBits0; |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public static pb::MessageParser<GroupLikeType> Parser { get { return _parser; } } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public static pbr::MessageDescriptor Descriptor { |
| get { return global::ProtobufTestMessages.Editions.TestAllTypesEdition2023.Descriptor.NestedTypes[20]; } |
| } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| pbr::MessageDescriptor pb::IMessage.Descriptor { |
| get { return Descriptor; } |
| } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public GroupLikeType() { |
| OnConstruction(); |
| } |
| |
| partial void OnConstruction(); |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public GroupLikeType(GroupLikeType other) : this() { |
| _hasBits0 = other._hasBits0; |
| groupInt32_ = other.groupInt32_; |
| groupUint32_ = other.groupUint32_; |
| _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public GroupLikeType Clone() { |
| return new GroupLikeType(this); |
| } |
| |
| /// <summary>Field number for the "group_int32" field.</summary> |
| public const int GroupInt32FieldNumber = 202; |
| private readonly static int GroupInt32DefaultValue = 0; |
| |
| private int groupInt32_; |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public int GroupInt32 { |
| get { if ((_hasBits0 & 1) != 0) { return groupInt32_; } else { return GroupInt32DefaultValue; } } |
| set { |
| _hasBits0 |= 1; |
| groupInt32_ = value; |
| } |
| } |
| /// <summary>Gets whether the "group_int32" field is set</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public bool HasGroupInt32 { |
| get { return (_hasBits0 & 1) != 0; } |
| } |
| /// <summary>Clears the value of the "group_int32" field</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public void ClearGroupInt32() { |
| _hasBits0 &= ~1; |
| } |
| |
| /// <summary>Field number for the "group_uint32" field.</summary> |
| public const int GroupUint32FieldNumber = 203; |
| private readonly static uint GroupUint32DefaultValue = 0; |
| |
| private uint groupUint32_; |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public uint GroupUint32 { |
| get { if ((_hasBits0 & 2) != 0) { return groupUint32_; } else { return GroupUint32DefaultValue; } } |
| set { |
| _hasBits0 |= 2; |
| groupUint32_ = value; |
| } |
| } |
| /// <summary>Gets whether the "group_uint32" field is set</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public bool HasGroupUint32 { |
| get { return (_hasBits0 & 2) != 0; } |
| } |
| /// <summary>Clears the value of the "group_uint32" field</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public void ClearGroupUint32() { |
| _hasBits0 &= ~2; |
| } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public override bool Equals(object other) { |
| return Equals(other as GroupLikeType); |
| } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public bool Equals(GroupLikeType other) { |
| if (ReferenceEquals(other, null)) { |
| return false; |
| } |
| if (ReferenceEquals(other, this)) { |
| return true; |
| } |
| if (GroupInt32 != other.GroupInt32) return false; |
| if (GroupUint32 != other.GroupUint32) return false; |
| return Equals(_unknownFields, other._unknownFields); |
| } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public override int GetHashCode() { |
| int hash = 1; |
| if (HasGroupInt32) hash ^= GroupInt32.GetHashCode(); |
| if (HasGroupUint32) hash ^= GroupUint32.GetHashCode(); |
| if (_unknownFields != null) { |
| hash ^= _unknownFields.GetHashCode(); |
| } |
| return hash; |
| } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public override string ToString() { |
| return pb::JsonFormatter.ToDiagnosticString(this); |
| } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public void WriteTo(pb::CodedOutputStream output) { |
| #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| output.WriteRawMessage(this); |
| #else |
| if (HasGroupInt32) { |
| output.WriteRawTag(208, 12); |
| output.WriteInt32(GroupInt32); |
| } |
| if (HasGroupUint32) { |
| output.WriteRawTag(216, 12); |
| output.WriteUInt32(GroupUint32); |
| } |
| if (_unknownFields != null) { |
| _unknownFields.WriteTo(output); |
| } |
| #endif |
| } |
| |
| #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| if (HasGroupInt32) { |
| output.WriteRawTag(208, 12); |
| output.WriteInt32(GroupInt32); |
| } |
| if (HasGroupUint32) { |
| output.WriteRawTag(216, 12); |
| output.WriteUInt32(GroupUint32); |
| } |
| if (_unknownFields != null) { |
| _unknownFields.WriteTo(ref output); |
| } |
| } |
| #endif |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public int CalculateSize() { |
| int size = 0; |
| if (HasGroupInt32) { |
| size += 2 + pb::CodedOutputStream.ComputeInt32Size(GroupInt32); |
| } |
| if (HasGroupUint32) { |
| size += 2 + pb::CodedOutputStream.ComputeUInt32Size(GroupUint32); |
| } |
| if (_unknownFields != null) { |
| size += _unknownFields.CalculateSize(); |
| } |
| return size; |
| } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public void MergeFrom(GroupLikeType other) { |
| if (other == null) { |
| return; |
| } |
| if (other.HasGroupInt32) { |
| GroupInt32 = other.GroupInt32; |
| } |
| if (other.HasGroupUint32) { |
| GroupUint32 = other.GroupUint32; |
| } |
| _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public void MergeFrom(pb::CodedInputStream input) { |
| #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| input.ReadRawMessage(this); |
| #else |
| uint tag; |
| while ((tag = input.ReadTag()) != 0) { |
| if ((tag & 7) == 4) { |
| // Abort on any end group tag. |
| return; |
| } |
| switch(tag) { |
| default: |
| _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| break; |
| case 1616: { |
| GroupInt32 = input.ReadInt32(); |
| break; |
| } |
| case 1624: { |
| GroupUint32 = input.ReadUInt32(); |
| break; |
| } |
| } |
| } |
| #endif |
| } |
| |
| #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| uint tag; |
| while ((tag = input.ReadTag()) != 0) { |
| if ((tag & 7) == 4) { |
| // Abort on any end group tag. |
| return; |
| } |
| switch(tag) { |
| default: |
| _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| break; |
| case 1616: { |
| GroupInt32 = input.ReadInt32(); |
| break; |
| } |
| case 1624: { |
| GroupUint32 = input.ReadUInt32(); |
| break; |
| } |
| } |
| } |
| } |
| #endif |
| |
| } |
| |
| } |
| #endregion |
| |
| } |
| |
| [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] |
| public sealed partial class ForeignMessageEdition2023 : pb::IMessage<ForeignMessageEdition2023> |
| #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| , pb::IBufferMessage |
| #endif |
| { |
| private static readonly pb::MessageParser<ForeignMessageEdition2023> _parser = new pb::MessageParser<ForeignMessageEdition2023>(() => new ForeignMessageEdition2023()); |
| private pb::UnknownFieldSet _unknownFields; |
| private int _hasBits0; |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public static pb::MessageParser<ForeignMessageEdition2023> Parser { get { return _parser; } } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public static pbr::MessageDescriptor Descriptor { |
| get { return global::ProtobufTestMessages.Editions.TestMessagesEdition2023Reflection.Descriptor.MessageTypes[2]; } |
| } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| pbr::MessageDescriptor pb::IMessage.Descriptor { |
| get { return Descriptor; } |
| } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public ForeignMessageEdition2023() { |
| OnConstruction(); |
| } |
| |
| partial void OnConstruction(); |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public ForeignMessageEdition2023(ForeignMessageEdition2023 other) : this() { |
| _hasBits0 = other._hasBits0; |
| c_ = other.c_; |
| _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public ForeignMessageEdition2023 Clone() { |
| return new ForeignMessageEdition2023(this); |
| } |
| |
| /// <summary>Field number for the "c" field.</summary> |
| public const int CFieldNumber = 1; |
| private readonly static int CDefaultValue = 0; |
| |
| private int c_; |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public int C { |
| get { if ((_hasBits0 & 1) != 0) { return c_; } else { return CDefaultValue; } } |
| set { |
| _hasBits0 |= 1; |
| c_ = value; |
| } |
| } |
| /// <summary>Gets whether the "c" field is set</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public bool HasC { |
| get { return (_hasBits0 & 1) != 0; } |
| } |
| /// <summary>Clears the value of the "c" field</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public void ClearC() { |
| _hasBits0 &= ~1; |
| } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public override bool Equals(object other) { |
| return Equals(other as ForeignMessageEdition2023); |
| } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public bool Equals(ForeignMessageEdition2023 other) { |
| if (ReferenceEquals(other, null)) { |
| return false; |
| } |
| if (ReferenceEquals(other, this)) { |
| return true; |
| } |
| if (C != other.C) return false; |
| return Equals(_unknownFields, other._unknownFields); |
| } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public override int GetHashCode() { |
| int hash = 1; |
| if (HasC) hash ^= C.GetHashCode(); |
| if (_unknownFields != null) { |
| hash ^= _unknownFields.GetHashCode(); |
| } |
| return hash; |
| } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public override string ToString() { |
| return pb::JsonFormatter.ToDiagnosticString(this); |
| } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public void WriteTo(pb::CodedOutputStream output) { |
| #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| output.WriteRawMessage(this); |
| #else |
| if (HasC) { |
| output.WriteRawTag(8); |
| output.WriteInt32(C); |
| } |
| if (_unknownFields != null) { |
| _unknownFields.WriteTo(output); |
| } |
| #endif |
| } |
| |
| #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| if (HasC) { |
| output.WriteRawTag(8); |
| output.WriteInt32(C); |
| } |
| if (_unknownFields != null) { |
| _unknownFields.WriteTo(ref output); |
| } |
| } |
| #endif |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public int CalculateSize() { |
| int size = 0; |
| if (HasC) { |
| size += 1 + pb::CodedOutputStream.ComputeInt32Size(C); |
| } |
| if (_unknownFields != null) { |
| size += _unknownFields.CalculateSize(); |
| } |
| return size; |
| } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public void MergeFrom(ForeignMessageEdition2023 other) { |
| if (other == null) { |
| return; |
| } |
| if (other.HasC) { |
| C = other.C; |
| } |
| _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public void MergeFrom(pb::CodedInputStream input) { |
| #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| input.ReadRawMessage(this); |
| #else |
| uint tag; |
| while ((tag = input.ReadTag()) != 0) { |
| if ((tag & 7) == 4) { |
| // Abort on any end group tag. |
| return; |
| } |
| switch(tag) { |
| default: |
| _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| break; |
| case 8: { |
| C = input.ReadInt32(); |
| break; |
| } |
| } |
| } |
| #endif |
| } |
| |
| #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| uint tag; |
| while ((tag = input.ReadTag()) != 0) { |
| if ((tag & 7) == 4) { |
| // Abort on any end group tag. |
| return; |
| } |
| switch(tag) { |
| default: |
| _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| break; |
| case 8: { |
| C = input.ReadInt32(); |
| break; |
| } |
| } |
| } |
| } |
| #endif |
| |
| } |
| |
| [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] |
| public sealed partial class GroupLikeType : pb::IMessage<GroupLikeType> |
| #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| , pb::IBufferMessage |
| #endif |
| { |
| private static readonly pb::MessageParser<GroupLikeType> _parser = new pb::MessageParser<GroupLikeType>(() => new GroupLikeType()); |
| private pb::UnknownFieldSet _unknownFields; |
| private int _hasBits0; |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public static pb::MessageParser<GroupLikeType> Parser { get { return _parser; } } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public static pbr::MessageDescriptor Descriptor { |
| get { return global::ProtobufTestMessages.Editions.TestMessagesEdition2023Reflection.Descriptor.MessageTypes[3]; } |
| } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| pbr::MessageDescriptor pb::IMessage.Descriptor { |
| get { return Descriptor; } |
| } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public GroupLikeType() { |
| OnConstruction(); |
| } |
| |
| partial void OnConstruction(); |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public GroupLikeType(GroupLikeType other) : this() { |
| _hasBits0 = other._hasBits0; |
| c_ = other.c_; |
| _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public GroupLikeType Clone() { |
| return new GroupLikeType(this); |
| } |
| |
| /// <summary>Field number for the "c" field.</summary> |
| public const int CFieldNumber = 1; |
| private readonly static int CDefaultValue = 0; |
| |
| private int c_; |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public int C { |
| get { if ((_hasBits0 & 1) != 0) { return c_; } else { return CDefaultValue; } } |
| set { |
| _hasBits0 |= 1; |
| c_ = value; |
| } |
| } |
| /// <summary>Gets whether the "c" field is set</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public bool HasC { |
| get { return (_hasBits0 & 1) != 0; } |
| } |
| /// <summary>Clears the value of the "c" field</summary> |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public void ClearC() { |
| _hasBits0 &= ~1; |
| } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public override bool Equals(object other) { |
| return Equals(other as GroupLikeType); |
| } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public bool Equals(GroupLikeType other) { |
| if (ReferenceEquals(other, null)) { |
| return false; |
| } |
| if (ReferenceEquals(other, this)) { |
| return true; |
| } |
| if (C != other.C) return false; |
| return Equals(_unknownFields, other._unknownFields); |
| } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public override int GetHashCode() { |
| int hash = 1; |
| if (HasC) hash ^= C.GetHashCode(); |
| if (_unknownFields != null) { |
| hash ^= _unknownFields.GetHashCode(); |
| } |
| return hash; |
| } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public override string ToString() { |
| return pb::JsonFormatter.ToDiagnosticString(this); |
| } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public void WriteTo(pb::CodedOutputStream output) { |
| #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| output.WriteRawMessage(this); |
| #else |
| if (HasC) { |
| output.WriteRawTag(8); |
| output.WriteInt32(C); |
| } |
| if (_unknownFields != null) { |
| _unknownFields.WriteTo(output); |
| } |
| #endif |
| } |
| |
| #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| if (HasC) { |
| output.WriteRawTag(8); |
| output.WriteInt32(C); |
| } |
| if (_unknownFields != null) { |
| _unknownFields.WriteTo(ref output); |
| } |
| } |
| #endif |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public int CalculateSize() { |
| int size = 0; |
| if (HasC) { |
| size += 1 + pb::CodedOutputStream.ComputeInt32Size(C); |
| } |
| if (_unknownFields != null) { |
| size += _unknownFields.CalculateSize(); |
| } |
| return size; |
| } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public void MergeFrom(GroupLikeType other) { |
| if (other == null) { |
| return; |
| } |
| if (other.HasC) { |
| C = other.C; |
| } |
| _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| } |
| |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| public void MergeFrom(pb::CodedInputStream input) { |
| #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| input.ReadRawMessage(this); |
| #else |
| uint tag; |
| while ((tag = input.ReadTag()) != 0) { |
| if ((tag & 7) == 4) { |
| // Abort on any end group tag. |
| return; |
| } |
| switch(tag) { |
| default: |
| _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| break; |
| case 8: { |
| C = input.ReadInt32(); |
| break; |
| } |
| } |
| } |
| #endif |
| } |
| |
| #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| uint tag; |
| while ((tag = input.ReadTag()) != 0) { |
| if ((tag & 7) == 4) { |
| // Abort on any end group tag. |
| return; |
| } |
| switch(tag) { |
| default: |
| _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| break; |
| case 8: { |
| C = input.ReadInt32(); |
| break; |
| } |
| } |
| } |
| } |
| #endif |
| |
| } |
| |
| #endregion |
| |
| } |
| |
| #endregion Designer generated code |