// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: keyapis/telemetry_control/v1/keyapis_telemetry_control_building_v1.proto // #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 Keyapis.TelemetryControl.V1 { /// Holder for reflection information generated from keyapis/telemetry_control/v1/keyapis_telemetry_control_building_v1.proto public static partial class KeyapisTelemetryControlBuildingV1Reflection { #region Descriptor /// File descriptor for keyapis/telemetry_control/v1/keyapis_telemetry_control_building_v1.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static KeyapisTelemetryControlBuildingV1Reflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CkhrZXlhcGlzL3RlbGVtZXRyeV9jb250cm9sL3YxL2tleWFwaXNfdGVsZW1l", "dHJ5X2NvbnRyb2xfYnVpbGRpbmdfdjEucHJvdG8SHGtleWFwaXMudGVsZW1l", "dHJ5X2NvbnRyb2wudjEaHGdvb2dsZS9hcGkvYW5ub3RhdGlvbnMucHJvdG8a", "H2dvb2dsZS9hcGkvZmllbGRfYmVoYXZpb3IucHJvdG8aHmdvb2dsZS9wcm90", "b2J1Zi93cmFwcGVycy5wcm90bxofZ29vZ2xlL3Byb3RvYnVmL3RpbWVzdGFt", "cC5wcm90byJQChNQb3N0QnVpbGRpbmdSZXF1ZXN0EjkKBGRhdGEYASABKAsy", "Ji5rZXlhcGlzLnRlbGVtZXRyeV9jb250cm9sLnYxLkJ1aWxkaW5nQgPgQQIi", "aQodUHV0QnVpbGRpbmdHcm91cEF0dGFjaFJlcXVlc3QSSAoOYnVpbGRpbmdf", "Z3JvdXAYASABKAsyKy5rZXlhcGlzLnRlbGVtZXRyeV9jb250cm9sLnYxLkJ1", "aWxkaW5nR3JvdXBCA+BBAiJWChRQb3N0QnVpbGRpbmdSZXNwb25zZRI2CgRk", "YXRhGAEgASgLMiYua2V5YXBpcy50ZWxlbWV0cnlfY29udHJvbC52MS5CdWls", "ZGluZ0gAQgYKBHR5cGUiIAoeUHV0QnVpbGRpbmdHcm91cEF0dGFjaFJlc3Bv", "bnNlIiUKEkdldEJ1aWxkaW5nUmVxdWVzdBIPCgJpZBgBIAEoBUID4EECIlUK", "E0dldEJ1aWxkaW5nUmVzcG9uc2USNgoEZGF0YRgBIAEoCzImLmtleWFwaXMu", "dGVsZW1ldHJ5X2NvbnRyb2wudjEuQnVpbGRpbmdIAEIGCgR0eXBlIqQBChZH", "ZXRCdWlsZGluZ0xpc3RSZXF1ZXN0EjwKBmZpbHRlchgBIAEoCzIsLmtleWFw", "aXMudGVsZW1ldHJ5X2NvbnRyb2wudjEuQnVpbGRpbmdGaWx0ZXISPgoGcGFn", "aW5nGAIgASgLMiwua2V5YXBpcy50ZWxlbWV0cnlfY29udHJvbC52MS5CdWls", "ZGluZ1BhZ2luZ0gAQgwKCnBhZ2luYXRpb24iswEKG0dldEJ1aWxkaW5nR3Jv", "dXBMaXN0UmVxdWVzdBJBCgZmaWx0ZXIYASABKAsyMS5rZXlhcGlzLnRlbGVt", "ZXRyeV9jb250cm9sLnYxLkJ1aWxkaW5nR3JvdXBGaWx0ZXISQwoGcGFnaW5n", "GAIgASgLMjEua2V5YXBpcy50ZWxlbWV0cnlfY29udHJvbC52MS5CdWlsZGlu", "Z0dyb3VwUGFnaW5nSABCDAoKcGFnaW5hdGlvbiLsAgoTQnVpbGRpbmdHcm91", "cFBhZ2luZxJUCg1vcmRlcl9ieV90eXBlGAEgASgOMj0ua2V5YXBpcy50ZWxl", "bWV0cnlfY29udHJvbC52MS5CdWlsZGluZ0dyb3VwUGFnaW5nLk9yZGVyQnlU", "eXBlElcKDmRpcmVjdGlvbl90eXBlGAIgASgOMj8ua2V5YXBpcy50ZWxlbWV0", "cnlfY29udHJvbC52MS5CdWlsZGluZ0dyb3VwUGFnaW5nLkRpcmVjdGlvblR5", "cGUSDQoFbGltaXQYAyABKAUSDgoGb2Zmc2V0GAQgASgFIkcKC09yZGVyQnlU", "eXBlEhkKFU9SREVSX0JZX1RZUEVfVU5LTk9XThAAEgwKCEdST1VQX0lEEAES", "DwoLQlVJTERJTkdfSUQQAiI+Cg1EaXJlY3Rpb25UeXBlEhoKFkRJUkVDVElP", "Tl9UWVBFX1VOS05PV04QABIICgRERVNDEAESBwoDQVNDEAIi/gIKDkJ1aWxk", "aW5nUGFnaW5nEk8KDW9yZGVyX2J5X3R5cGUYASABKA4yOC5rZXlhcGlzLnRl", "bGVtZXRyeV9jb250cm9sLnYxLkJ1aWxkaW5nUGFnaW5nLk9yZGVyQnlUeXBl", "ElIKDmRpcmVjdGlvbl90eXBlGAIgASgOMjoua2V5YXBpcy50ZWxlbWV0cnlf", "Y29udHJvbC52MS5CdWlsZGluZ1BhZ2luZy5EaXJlY3Rpb25UeXBlEg0KBWxp", "bWl0GAMgASgFEg4KBm9mZnNldBgEIAEoBSJoCgtPcmRlckJ5VHlwZRIZChVP", "UkRFUl9CWV9UWVBFX1VOS05PV04QABIGCgJJRBABEgkKBVRJVExFEAISDgoK", "Q1JFQVRFRF9BVBADEg4KCkNIQU5HRURfQVQQBBILCgdGSUFTX0lEEAUiPgoN", "RGlyZWN0aW9uVHlwZRIaChZESVJFQ1RJT05fVFlQRV9VTktOT1dOEAASCAoE", "REVTQxABEgcKA0FTQxACIlkKF0dldEJ1aWxkaW5nTGlzdFJlc3BvbnNlEjYK", "BGRhdGEYASABKAsyJi5rZXlhcGlzLnRlbGVtZXRyeV9jb250cm9sLnYxLkJ1", "aWxkaW5nSABCBgoEdHlwZSJjChxHZXRCdWlsZGluZ0dyb3VwTGlzdFJlc3Bv", "bnNlEjsKBGRhdGEYASABKAsyKy5rZXlhcGlzLnRlbGVtZXRyeV9jb250cm9s", "LnYxLkJ1aWxkaW5nR3JvdXBIAEIGCgR0eXBlIqIDCh5Qb3N0QnVpbGRpbmdG", "dWxsRHVwbGV4UmVzcG9uc2USFwoKcmVxdWVzdF9pZBgBIAEoCUID4EECEnEK", "FXVwc2VydF9idWlsZGluZ19ldmVudBgCIAEoCzJQLmtleWFwaXMudGVsZW1l", "dHJ5X2NvbnRyb2wudjEuUG9zdEJ1aWxkaW5nRnVsbER1cGxleFJlc3BvbnNl", "LlVwc2VydEJ1aWxkaW5nRXZlbnRIABJxChVyZW1vdmVfYnVpbGRpbmdfZXZl", "bnQYAyABKAsyUC5rZXlhcGlzLnRlbGVtZXRyeV9jb250cm9sLnYxLlBvc3RC", "dWlsZGluZ0Z1bGxEdXBsZXhSZXNwb25zZS5SZW1vdmVCdWlsZGluZ0V2ZW50", "SAAaJgoTUmVtb3ZlQnVpbGRpbmdFdmVudBIPCgJpZBgBIAEoBUID4EECGlAK", "E1Vwc2VydEJ1aWxkaW5nRXZlbnQSOQoEZGF0YRgBIAEoCzImLmtleWFwaXMu", "dGVsZW1ldHJ5X2NvbnRyb2wudjEuQnVpbGRpbmdCA+BBAkIHCgVldmVudCL5", "BAodUG9zdEJ1aWxkaW5nRnVsbER1cGxleFJlcXVlc3QSFwoKcmVxdWVzdF9p", "ZBgBIAEoCUID4EECEnAKFWJ1aWxkaW5nX2FzeW5jX3N0YXR1cxgCIAEoCzJP", "LmtleWFwaXMudGVsZW1ldHJ5X2NvbnRyb2wudjEuUG9zdEJ1aWxkaW5nRnVs", "bER1cGxleFJlcXVlc3QuQnVpbGRpbmdBc3luY1N0YXR1c0gAGsQDChNCdWls", "ZGluZ0FzeW5jU3RhdHVzEhgKC2J1aWxkaW5nX2lkGAEgASgFQgPgQQISZwoE", "ZGF0YRgCIAEoCzJXLmtleWFwaXMudGVsZW1ldHJ5X2NvbnRyb2wudjEuUG9z", "dEJ1aWxkaW5nRnVsbER1cGxleFJlcXVlc3QuQnVpbGRpbmdBc3luY1N0YXR1", "cy5TdWNjZXNzSAASZgoFZXJyb3IYAyABKAsyVS5rZXlhcGlzLnRlbGVtZXRy", "eV9jb250cm9sLnYxLlBvc3RCdWlsZGluZ0Z1bGxEdXBsZXhSZXF1ZXN0LkJ1", "aWxkaW5nQXN5bmNTdGF0dXMuRXJyb3JIABoJCgdTdWNjZXNzGq4BCgVFcnJv", "chJ1Cgd1bmtub3duGAEgASgLMmIua2V5YXBpcy50ZWxlbWV0cnlfY29udHJv", "bC52MS5Qb3N0QnVpbGRpbmdGdWxsRHVwbGV4UmVxdWVzdC5CdWlsZGluZ0Fz", "eW5jU3RhdHVzLkVycm9yLlVua25vd25FcnJvckgAGiQKDFVua25vd25FcnJv", "chIUCgdtZXNzYWdlGAEgASgJQgPgQQJCCAoGcmVhc29uQgYKBHR5cGVCBgoE", "dGFzayK2AwoOQnVpbGRpbmdGaWx0ZXISLQoHZmlhc19pZBgBIAMoCzIcLmdv", "b2dsZS5wcm90b2J1Zi5TdHJpbmdWYWx1ZRIrCgV0aXRsZRgCIAEoCzIcLmdv", "b2dsZS5wcm90b2J1Zi5TdHJpbmdWYWx1ZRI0ChBhZnRlcl9jcmVhdGVkX2F0", "GAMgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBI1ChFiZWZvcmVf", "Y3JlYXRlZF9hdBgEIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXAS", "QQoJbXJmX3R5cGVzGAUgAygOMi4ua2V5YXBpcy50ZWxlbWV0cnlfY29udHJv", "bC52MS5CdWlsZGluZy5NcmZUeXBlEj8KCHJmX3R5cGVzGAYgAygOMi0ua2V5", "YXBpcy50ZWxlbWV0cnlfY29udHJvbC52MS5CdWlsZGluZy5SZlR5cGUSRwoM", "c3RhdHVzX3R5cGVzGAcgAygOMjEua2V5YXBpcy50ZWxlbWV0cnlfY29udHJv", "bC52MS5CdWlsZGluZy5TdGF0dXNUeXBlEg4KBm9ycG9ucxgIIAMoAyI+ChNC", "dWlsZGluZ0dyb3VwRmlsdGVyEhEKCWdyb3VwX2lkcxgBIAMoCRIUCgxidWls", "ZGluZ19pZHMYAiADKAUiVwoXR2V0QnVpbGRpbmdDb3VudFJlcXVlc3QSPAoG", "ZmlsdGVyGAEgASgLMiwua2V5YXBpcy50ZWxlbWV0cnlfY29udHJvbC52MS5C", "dWlsZGluZ0ZpbHRlciJhChxHZXRCdWlsZGluZ0dyb3VwQ291bnRSZXF1ZXN0", "EkEKBmZpbHRlchgBIAEoCzIxLmtleWFwaXMudGVsZW1ldHJ5X2NvbnRyb2wu", "djEuQnVpbGRpbmdHcm91cEZpbHRlciIyChhHZXRCdWlsZGluZ0NvdW50UmVz", "cG9uc2USDgoEZGF0YRgBIAEoBUgAQgYKBHR5cGUiNwodR2V0QnVpbGRpbmdH", "cm91cENvdW50UmVzcG9uc2USDgoEZGF0YRgBIAEoBUgAQgYKBHR5cGUiKAoV", "RGVsZXRlQnVpbGRpbmdSZXF1ZXN0Eg8KAmlkGAEgASgFQgPgQQIiGAoWRGVs", "ZXRlQnVpbGRpbmdSZXNwb25zZSJpCh1QdXRCdWlsZGluZ0dyb3VwRGV0YWNo", "UmVxdWVzdBJICg5idWlsZGluZ19ncm91cBgBIAEoCzIrLmtleWFwaXMudGVs", "ZW1ldHJ5X2NvbnRyb2wudjEuQnVpbGRpbmdHcm91cEID4EECIiAKHlB1dEJ1", "aWxkaW5nR3JvdXBEZXRhY2hSZXNwb25zZSKODgoIQnVpbGRpbmcSCgoCaWQY", "ASABKAUSDQoFdGl0bGUYAiABKAkSMwoKY3JlYXRlZF9hdBgDIAEoCzIaLmdv", "b2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBCA+BBAxIzCgpjaGFuZ2VkX2F0GAQg", "ASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcEID4EEDEhcKCnV0Y19v", "ZmZzZXQYBSABKAVCA+BBAhItCgdmaWFzX2lkGAYgASgLMhwuZ29vZ2xlLnBy", "b3RvYnVmLlN0cmluZ1ZhbHVlEkAKCG1yZl90eXBlGAcgASgOMi4ua2V5YXBp", "cy50ZWxlbWV0cnlfY29udHJvbC52MS5CdWlsZGluZy5NcmZUeXBlEj4KB3Jm", "X3R5cGUYCCABKA4yLS5rZXlhcGlzLnRlbGVtZXRyeV9jb250cm9sLnYxLkJ1", "aWxkaW5nLlJmVHlwZRJGCgtzdGF0dXNfdHlwZRgJIAEoDjIxLmtleWFwaXMu", "dGVsZW1ldHJ5X2NvbnRyb2wudjEuQnVpbGRpbmcuU3RhdHVzVHlwZRIUCgxm", "dWxsX2FkZHJlc3MYCiABKAkSDQoFb3Jwb24YCyABKAMieQoHTXJmVHlwZRIU", "ChBNUkZfVFlQRV9VTktOT1dOEAASCgoGVFNFTlRSEAESBwoDWVVHEAISCAoE", "VVJBTBADEgkKBVNJQklSEAQSEAoMU0VWRVJPX1pBUEFEEAUSEQoNREFMTklZ", "X1ZPU1RPSxAGEgkKBVZPTEdBEAcixggKBlJmVHlwZRITCg9SRl9UWVBFX1VO", "S05PV04QABIHCgNVRkEQARIJCgVLSVJPVhACEgsKB0lWQU5PVk8QAxIKCgZL", "QUxVR0EQBBIMCghLT1NUUk9NQRAFEgkKBUtVUlNLEAYSCwoHTElQRVRTSxAH", "Eg0KCU1PU09CTEFTVBAIEggKBE9SRUwQCRIKCgZSWUFaQU4QChIKCgZUQU1C", "T1YQCxIICgRUVkVSEAwSDQoJWUFST1NMQVZMEA0SDAoIU01PTEVOU0sQDhII", "CgRUVUxBEA8SCgoGTU9TQ09XEBASBwoDRUFPEBESCgoGS1VSR0FOEBISCQoF", "VFVNRU4QExIJCgVIQU5UWRAUEggKBEFNVVIQFRINCglLQU1DSEFUS0EQFhIL", "CgdNQUdBREFOEBcSDAoIUFJJTU9SWUUQGBIMCghTQUtIQUxJThAZEg4KCktI", "QUJBUk9WU0sQGhIJCgVDSElUQRAbEgwKCENIVUtPVEtBEBwSDwoLQVJDSEFO", "R0VMU0sQHRILCgdWT0xPR0RBEB4SDwoLS0FMSU5JTkdSQUQQHxILCgdLQVJF", "TElBECASCAoES09NSRAhEg0KCUxFTk9CTEFTVBAiEgwKCE1VUk1BTlNLECMS", "DAoITk9WR09ST0QQJBIJCgVQU0tPVhAlEgcKA1NQQhAmEgkKBUFMVEFJECcS", "DQoJQlVSWUFUSVlBECgSCwoHSVJLVVRTSxApEgwKCEtFTUVST1ZPECoSDwoL", "S1JBU05PWUFSU0sQKxIICgRPTVNLECwSDAoISEFLQVNJWUEQLRIKCgZSQUxU", "QVkQLhIICgRUVVZBEC8SCQoFVE9NU0sQMBIMCghPUkVOQlVSRxAxEgwKCEJF", "TEdPUk9EEDISCQoFU0FLSEEQMxIHCgNFS1QQNBINCglWT0xHT0dSQUQQNRIJ", "CgVZQU1BTBA2Eg8KC0NIRUxZQUJJTlNLEDcSCAoEUEVSTRA4EgoKBk1BUllF", "TBA5EgkKBVBFTlpBEDoSDgoKSU5HVVNIRVRJQRA7EgsKB05BTENISUsQPBIK", "CgZFTElTVEEQPRIKCgZST1NUT1YQPhIOCgpNQUhBQ0hLQUxBED8SDQoJTU9S", "RE9WSVlBEEASCQoFS0FaQU4QQRIKCgZTQU1BUkEQQhILCgdTQVJBVE9WEEMS", "DQoJVURNVVJUSVlBEEQSDQoJVUxZQU5PVlNLEEUSDgoKQ0hVVkFTSElZQRBG", "Eg0KCU5OT1ZHT1JPRBBHEgsKB0JSWUFOU0sQSBIMCghWTEFESU1JUhBJEgwK", "CFZPUk9ORVpIEEoSDwoLVkxBRElLQVZLQVoQSxINCglTVEFWUk9QT0wQTBIN", "CglDSEVSS0VTU0sQTRIKCgZNQVlLT1AQThINCglBU1RSQUtIQU4QTxINCglL", "UkFTTk9EQVIQUBIICgRURVNUEFESDwoLTk9WT1NJQklSU0sQUiKBAQoKU3Rh", "dHVzVHlwZRIXChNTVEFUVVNfVFlQRV9VTktOT1dOEAASDAoIQlVJTERJTkcQ", "ARIOCgpBQ0NFUFRBTkNFEAISCgoGQUNUSVZFEAMSCwoHQVJDSElWRRAEEg0K", "CUNBTkNFTExFRBAFEhQKEFRFU1RfU1RBVFVTX1RZUEUQBiJACg1CdWlsZGlu", "Z0dyb3VwEhUKCGdyb3VwX2lkGAEgASgJQgPgQQISGAoLYnVpbGRpbmdfaWQY", "AiABKAVCA+BBAjKzDwoPQnVpbGRpbmdTZXJ2aWNlEqMBCgtHZXRCdWlsZGlu", "ZxIwLmtleWFwaXMudGVsZW1ldHJ5X2NvbnRyb2wudjEuR2V0QnVpbGRpbmdS", "ZXF1ZXN0GjEua2V5YXBpcy50ZWxlbWV0cnlfY29udHJvbC52MS5HZXRCdWls", "ZGluZ1Jlc3BvbnNlIi+C0+STAikSJy90ZWxlbWV0cnlfY29udHJvbC9hcGkv", "djEvYnVpbGRpbmcve2lkfRKxAQoPR2V0QnVpbGRpbmdMaXN0EjQua2V5YXBp", "cy50ZWxlbWV0cnlfY29udHJvbC52MS5HZXRCdWlsZGluZ0xpc3RSZXF1ZXN0", "GjUua2V5YXBpcy50ZWxlbWV0cnlfY29udHJvbC52MS5HZXRCdWlsZGluZ0xp", "c3RSZXNwb25zZSIvgtPkkwIpEicvdGVsZW1ldHJ5X2NvbnRyb2wvYXBpL3Yx", "L2J1aWxkaW5nL2xpc3QwARKzAQoQR2V0QnVpbGRpbmdDb3VudBI1LmtleWFw", "aXMudGVsZW1ldHJ5X2NvbnRyb2wudjEuR2V0QnVpbGRpbmdDb3VudFJlcXVl", "c3QaNi5rZXlhcGlzLnRlbGVtZXRyeV9jb250cm9sLnYxLkdldEJ1aWxkaW5n", "Q291bnRSZXNwb25zZSIwgtPkkwIqEigvdGVsZW1ldHJ5X2NvbnRyb2wvYXBp", "L3YxL2J1aWxkaW5nL2NvdW50EqQBCgxQb3N0QnVpbGRpbmcSMS5rZXlhcGlz", "LnRlbGVtZXRyeV9jb250cm9sLnYxLlBvc3RCdWlsZGluZ1JlcXVlc3QaMi5r", "ZXlhcGlzLnRlbGVtZXRyeV9jb250cm9sLnYxLlBvc3RCdWlsZGluZ1Jlc3Bv", "bnNlIi2C0+STAiciIi90ZWxlbWV0cnlfY29udHJvbC9hcGkvdjEvYnVpbGRp", "bmc6ASoSmQEKFlBvc3RCdWlsZGluZ0Z1bGxEdXBsZXgSOy5rZXlhcGlzLnRl", "bGVtZXRyeV9jb250cm9sLnYxLlBvc3RCdWlsZGluZ0Z1bGxEdXBsZXhSZXF1", "ZXN0Gjwua2V5YXBpcy50ZWxlbWV0cnlfY29udHJvbC52MS5Qb3N0QnVpbGRp", "bmdGdWxsRHVwbGV4UmVzcG9uc2UiACgBMAESrAEKDkRlbGV0ZUJ1aWxkaW5n", "EjMua2V5YXBpcy50ZWxlbWV0cnlfY29udHJvbC52MS5EZWxldGVCdWlsZGlu", "Z1JlcXVlc3QaNC5rZXlhcGlzLnRlbGVtZXRyeV9jb250cm9sLnYxLkRlbGV0", "ZUJ1aWxkaW5nUmVzcG9uc2UiL4LT5JMCKSonL3RlbGVtZXRyeV9jb250cm9s", "L2FwaS92MS9idWlsZGluZy97aWR9EsYBChRHZXRCdWlsZGluZ0dyb3VwTGlz", "dBI5LmtleWFwaXMudGVsZW1ldHJ5X2NvbnRyb2wudjEuR2V0QnVpbGRpbmdH", "cm91cExpc3RSZXF1ZXN0Gjoua2V5YXBpcy50ZWxlbWV0cnlfY29udHJvbC52", "MS5HZXRCdWlsZGluZ0dyb3VwTGlzdFJlc3BvbnNlIjWC0+STAi8SLS90ZWxl", "bWV0cnlfY29udHJvbC9hcGkvdjEvYnVpbGRpbmcvZ3JvdXAvbGlzdDABEsgB", "ChVHZXRCdWlsZGluZ0dyb3VwQ291bnQSOi5rZXlhcGlzLnRlbGVtZXRyeV9j", "b250cm9sLnYxLkdldEJ1aWxkaW5nR3JvdXBDb3VudFJlcXVlc3QaOy5rZXlh", "cGlzLnRlbGVtZXRyeV9jb250cm9sLnYxLkdldEJ1aWxkaW5nR3JvdXBDb3Vu", "dFJlc3BvbnNlIjaC0+STAjASLi90ZWxlbWV0cnlfY29udHJvbC9hcGkvdjEv", "YnVpbGRpbmcvZ3JvdXAvY291bnQSgwIKFlB1dEJ1aWxkaW5nR3JvdXBBdHRh", "Y2gSOy5rZXlhcGlzLnRlbGVtZXRyeV9jb250cm9sLnYxLlB1dEJ1aWxkaW5n", "R3JvdXBBdHRhY2hSZXF1ZXN0Gjwua2V5YXBpcy50ZWxlbWV0cnlfY29udHJv", "bC52MS5QdXRCdWlsZGluZ0dyb3VwQXR0YWNoUmVzcG9uc2UiboLT5JMCaBpm", "L3RlbGVtZXRyeV9jb250cm9sL2FwaS92MS9idWlsZGluZy97YnVpbGRpbmdf", "Z3JvdXAuYnVpbGRpbmdfaWR9L2dyb3VwL3tidWlsZGluZ19ncm91cC5ncm91", "cF9pZH0vYXR0YWNoEoMCChZQdXRCdWlsZGluZ0dyb3VwRGV0YWNoEjsua2V5", "YXBpcy50ZWxlbWV0cnlfY29udHJvbC52MS5QdXRCdWlsZGluZ0dyb3VwRGV0", "YWNoUmVxdWVzdBo8LmtleWFwaXMudGVsZW1ldHJ5X2NvbnRyb2wudjEuUHV0", "QnVpbGRpbmdHcm91cERldGFjaFJlc3BvbnNlIm6C0+STAmgaZi90ZWxlbWV0", "cnlfY29udHJvbC9hcGkvdjEvYnVpbGRpbmcve2J1aWxkaW5nX2dyb3VwLmJ1", "aWxkaW5nX2lkfS9ncm91cC97YnVpbGRpbmdfZ3JvdXAuZ3JvdXBfaWR9L2Rl", "dGFjaELiAQofcnUua2V5YXBpcy50ZWxlbWV0cnlfY29udHJvbC52MUIeS2V5", "YXBpc1RlbGVtZXRyeUNvbnRyb2xWMVByb3RvSANQAFodL2tleWFwaXNfdGVs", "ZW1ldHJ5X2NvbnRyb2xfdjHYAQH4AQGiAhlLRVlBUElTVEVMRU1FVFJZQ09O", "VFJPTFYxqgIbS2V5YXBpcy5UZWxlbWV0cnlDb250cm9sLlYxygIbS2V5YXBp", "c1xUZWxlbWV0cnlDb250cm9sXFYx6gIdS2V5YXBpczo6VGVsZW1ldHJ5Q29u", "dHJvbDo6VjFiBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Google.Api.AnnotationsReflection.Descriptor, global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.WrappersReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.TelemetryControl.V1.PostBuildingRequest), global::Keyapis.TelemetryControl.V1.PostBuildingRequest.Parser, new[]{ "Data" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.TelemetryControl.V1.PutBuildingGroupAttachRequest), global::Keyapis.TelemetryControl.V1.PutBuildingGroupAttachRequest.Parser, new[]{ "BuildingGroup" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.TelemetryControl.V1.PostBuildingResponse), global::Keyapis.TelemetryControl.V1.PostBuildingResponse.Parser, new[]{ "Data" }, new[]{ "Type" }, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.TelemetryControl.V1.PutBuildingGroupAttachResponse), global::Keyapis.TelemetryControl.V1.PutBuildingGroupAttachResponse.Parser, null, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.TelemetryControl.V1.GetBuildingRequest), global::Keyapis.TelemetryControl.V1.GetBuildingRequest.Parser, new[]{ "Id" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.TelemetryControl.V1.GetBuildingResponse), global::Keyapis.TelemetryControl.V1.GetBuildingResponse.Parser, new[]{ "Data" }, new[]{ "Type" }, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.TelemetryControl.V1.GetBuildingListRequest), global::Keyapis.TelemetryControl.V1.GetBuildingListRequest.Parser, new[]{ "Filter", "Paging" }, new[]{ "Pagination" }, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.TelemetryControl.V1.GetBuildingGroupListRequest), global::Keyapis.TelemetryControl.V1.GetBuildingGroupListRequest.Parser, new[]{ "Filter", "Paging" }, new[]{ "Pagination" }, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.TelemetryControl.V1.BuildingGroupPaging), global::Keyapis.TelemetryControl.V1.BuildingGroupPaging.Parser, new[]{ "OrderByType", "DirectionType", "Limit", "Offset" }, null, new[]{ typeof(global::Keyapis.TelemetryControl.V1.BuildingGroupPaging.Types.OrderByType), typeof(global::Keyapis.TelemetryControl.V1.BuildingGroupPaging.Types.DirectionType) }, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.TelemetryControl.V1.BuildingPaging), global::Keyapis.TelemetryControl.V1.BuildingPaging.Parser, new[]{ "OrderByType", "DirectionType", "Limit", "Offset" }, null, new[]{ typeof(global::Keyapis.TelemetryControl.V1.BuildingPaging.Types.OrderByType), typeof(global::Keyapis.TelemetryControl.V1.BuildingPaging.Types.DirectionType) }, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.TelemetryControl.V1.GetBuildingListResponse), global::Keyapis.TelemetryControl.V1.GetBuildingListResponse.Parser, new[]{ "Data" }, new[]{ "Type" }, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.TelemetryControl.V1.GetBuildingGroupListResponse), global::Keyapis.TelemetryControl.V1.GetBuildingGroupListResponse.Parser, new[]{ "Data" }, new[]{ "Type" }, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexResponse), global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexResponse.Parser, new[]{ "RequestId", "UpsertBuildingEvent", "RemoveBuildingEvent" }, new[]{ "Event" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexResponse.Types.RemoveBuildingEvent), global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexResponse.Types.RemoveBuildingEvent.Parser, new[]{ "Id" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexResponse.Types.UpsertBuildingEvent), global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexResponse.Types.UpsertBuildingEvent.Parser, new[]{ "Data" }, null, null, null, null)}), new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexRequest), global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexRequest.Parser, new[]{ "RequestId", "BuildingAsyncStatus" }, new[]{ "Task" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexRequest.Types.BuildingAsyncStatus), global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexRequest.Types.BuildingAsyncStatus.Parser, new[]{ "BuildingId", "Data", "Error" }, new[]{ "Type" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexRequest.Types.BuildingAsyncStatus.Types.Success), global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexRequest.Types.BuildingAsyncStatus.Types.Success.Parser, null, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexRequest.Types.BuildingAsyncStatus.Types.Error), global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexRequest.Types.BuildingAsyncStatus.Types.Error.Parser, new[]{ "Unknown" }, new[]{ "Reason" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexRequest.Types.BuildingAsyncStatus.Types.Error.Types.UnknownError), global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexRequest.Types.BuildingAsyncStatus.Types.Error.Types.UnknownError.Parser, new[]{ "Message" }, null, null, null, null)})})}), new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.TelemetryControl.V1.BuildingFilter), global::Keyapis.TelemetryControl.V1.BuildingFilter.Parser, new[]{ "FiasId", "Title", "AfterCreatedAt", "BeforeCreatedAt", "MrfTypes", "RfTypes", "StatusTypes", "Orpons" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.TelemetryControl.V1.BuildingGroupFilter), global::Keyapis.TelemetryControl.V1.BuildingGroupFilter.Parser, new[]{ "GroupIds", "BuildingIds" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.TelemetryControl.V1.GetBuildingCountRequest), global::Keyapis.TelemetryControl.V1.GetBuildingCountRequest.Parser, new[]{ "Filter" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.TelemetryControl.V1.GetBuildingGroupCountRequest), global::Keyapis.TelemetryControl.V1.GetBuildingGroupCountRequest.Parser, new[]{ "Filter" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.TelemetryControl.V1.GetBuildingCountResponse), global::Keyapis.TelemetryControl.V1.GetBuildingCountResponse.Parser, new[]{ "Data" }, new[]{ "Type" }, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.TelemetryControl.V1.GetBuildingGroupCountResponse), global::Keyapis.TelemetryControl.V1.GetBuildingGroupCountResponse.Parser, new[]{ "Data" }, new[]{ "Type" }, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.TelemetryControl.V1.DeleteBuildingRequest), global::Keyapis.TelemetryControl.V1.DeleteBuildingRequest.Parser, new[]{ "Id" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.TelemetryControl.V1.DeleteBuildingResponse), global::Keyapis.TelemetryControl.V1.DeleteBuildingResponse.Parser, null, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.TelemetryControl.V1.PutBuildingGroupDetachRequest), global::Keyapis.TelemetryControl.V1.PutBuildingGroupDetachRequest.Parser, new[]{ "BuildingGroup" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.TelemetryControl.V1.PutBuildingGroupDetachResponse), global::Keyapis.TelemetryControl.V1.PutBuildingGroupDetachResponse.Parser, null, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.TelemetryControl.V1.Building), global::Keyapis.TelemetryControl.V1.Building.Parser, new[]{ "Id", "Title", "CreatedAt", "ChangedAt", "UtcOffset", "FiasId", "MrfType", "RfType", "StatusType", "FullAddress", "Orpon" }, null, new[]{ typeof(global::Keyapis.TelemetryControl.V1.Building.Types.MrfType), typeof(global::Keyapis.TelemetryControl.V1.Building.Types.RfType), typeof(global::Keyapis.TelemetryControl.V1.Building.Types.StatusType) }, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.TelemetryControl.V1.BuildingGroup), global::Keyapis.TelemetryControl.V1.BuildingGroup.Parser, new[]{ "GroupId", "BuildingId" }, null, null, null, null) })); } #endregion } #region Messages /// /// Запрос сохранения объекта строительства /// public sealed partial class PostBuildingRequest : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PostBuildingRequest()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Keyapis.TelemetryControl.V1.KeyapisTelemetryControlBuildingV1Reflection.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 PostBuildingRequest() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public PostBuildingRequest(PostBuildingRequest other) : this() { data_ = other.data_ != null ? other.data_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public PostBuildingRequest Clone() { return new PostBuildingRequest(this); } /// Field number for the "data" field. public const int DataFieldNumber = 1; private global::Keyapis.TelemetryControl.V1.Building data_; /// /// Объект строительства /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Keyapis.TelemetryControl.V1.Building Data { get { return data_; } set { data_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as PostBuildingRequest); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(PostBuildingRequest other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(Data, other.Data)) 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 (data_ != null) hash ^= Data.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 (data_ != null) { output.WriteRawTag(10); output.WriteMessage(Data); } 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 (data_ != null) { output.WriteRawTag(10); output.WriteMessage(Data); } 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 (data_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Data); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(PostBuildingRequest other) { if (other == null) { return; } if (other.data_ != null) { if (data_ == null) { Data = new global::Keyapis.TelemetryControl.V1.Building(); } Data.MergeFrom(other.Data); } _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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { if (data_ == null) { Data = new global::Keyapis.TelemetryControl.V1.Building(); } input.ReadMessage(Data); 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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { if (data_ == null) { Data = new global::Keyapis.TelemetryControl.V1.Building(); } input.ReadMessage(Data); break; } } } } #endif } /// /// Запрос сохранения связей объектов строительства и группы пользователя /// public sealed partial class PutBuildingGroupAttachRequest : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PutBuildingGroupAttachRequest()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Keyapis.TelemetryControl.V1.KeyapisTelemetryControlBuildingV1Reflection.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 PutBuildingGroupAttachRequest() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public PutBuildingGroupAttachRequest(PutBuildingGroupAttachRequest other) : this() { buildingGroup_ = other.buildingGroup_ != null ? other.buildingGroup_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public PutBuildingGroupAttachRequest Clone() { return new PutBuildingGroupAttachRequest(this); } /// Field number for the "building_group" field. public const int BuildingGroupFieldNumber = 1; private global::Keyapis.TelemetryControl.V1.BuildingGroup buildingGroup_; /// /// Связь объекта строительства и группы пользователя /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Keyapis.TelemetryControl.V1.BuildingGroup BuildingGroup { get { return buildingGroup_; } set { buildingGroup_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as PutBuildingGroupAttachRequest); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(PutBuildingGroupAttachRequest other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(BuildingGroup, other.BuildingGroup)) 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 (buildingGroup_ != null) hash ^= BuildingGroup.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 (buildingGroup_ != null) { output.WriteRawTag(10); output.WriteMessage(BuildingGroup); } 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 (buildingGroup_ != null) { output.WriteRawTag(10); output.WriteMessage(BuildingGroup); } 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 (buildingGroup_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(BuildingGroup); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(PutBuildingGroupAttachRequest other) { if (other == null) { return; } if (other.buildingGroup_ != null) { if (buildingGroup_ == null) { BuildingGroup = new global::Keyapis.TelemetryControl.V1.BuildingGroup(); } BuildingGroup.MergeFrom(other.BuildingGroup); } _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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { if (buildingGroup_ == null) { BuildingGroup = new global::Keyapis.TelemetryControl.V1.BuildingGroup(); } input.ReadMessage(BuildingGroup); 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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { if (buildingGroup_ == null) { BuildingGroup = new global::Keyapis.TelemetryControl.V1.BuildingGroup(); } input.ReadMessage(BuildingGroup); break; } } } } #endif } /// /// Ответ на запрос сохранения объекта строительства /// public sealed partial class PostBuildingResponse : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PostBuildingResponse()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Keyapis.TelemetryControl.V1.KeyapisTelemetryControlBuildingV1Reflection.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 PostBuildingResponse() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public PostBuildingResponse(PostBuildingResponse other) : this() { switch (other.TypeCase) { case TypeOneofCase.Data: Data = other.Data.Clone(); break; } _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public PostBuildingResponse Clone() { return new PostBuildingResponse(this); } /// Field number for the "data" field. public const int DataFieldNumber = 1; /// /// Объект строительства /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Keyapis.TelemetryControl.V1.Building Data { get { return typeCase_ == TypeOneofCase.Data ? (global::Keyapis.TelemetryControl.V1.Building) type_ : null; } set { type_ = value; typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.Data; } } private object type_; /// Enum of possible cases for the "type" oneof. public enum TypeOneofCase { None = 0, Data = 1, } private TypeOneofCase typeCase_ = TypeOneofCase.None; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public TypeOneofCase TypeCase { get { return typeCase_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void ClearType() { typeCase_ = TypeOneofCase.None; type_ = null; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as PostBuildingResponse); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(PostBuildingResponse other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(Data, other.Data)) return false; if (TypeCase != other.TypeCase) 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 (typeCase_ == TypeOneofCase.Data) hash ^= Data.GetHashCode(); hash ^= (int) typeCase_; 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 (typeCase_ == TypeOneofCase.Data) { output.WriteRawTag(10); output.WriteMessage(Data); } 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 (typeCase_ == TypeOneofCase.Data) { output.WriteRawTag(10); output.WriteMessage(Data); } 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 (typeCase_ == TypeOneofCase.Data) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Data); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(PostBuildingResponse other) { if (other == null) { return; } switch (other.TypeCase) { case TypeOneofCase.Data: if (Data == null) { Data = new global::Keyapis.TelemetryControl.V1.Building(); } Data.MergeFrom(other.Data); break; } _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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { global::Keyapis.TelemetryControl.V1.Building subBuilder = new global::Keyapis.TelemetryControl.V1.Building(); if (typeCase_ == TypeOneofCase.Data) { subBuilder.MergeFrom(Data); } input.ReadMessage(subBuilder); Data = subBuilder; 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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { global::Keyapis.TelemetryControl.V1.Building subBuilder = new global::Keyapis.TelemetryControl.V1.Building(); if (typeCase_ == TypeOneofCase.Data) { subBuilder.MergeFrom(Data); } input.ReadMessage(subBuilder); Data = subBuilder; break; } } } } #endif } /// /// Ответ на запрос сохранения связи объекта строительства и группы пользователя /// public sealed partial class PutBuildingGroupAttachResponse : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PutBuildingGroupAttachResponse()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Keyapis.TelemetryControl.V1.KeyapisTelemetryControlBuildingV1Reflection.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 PutBuildingGroupAttachResponse() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public PutBuildingGroupAttachResponse(PutBuildingGroupAttachResponse other) : this() { _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public PutBuildingGroupAttachResponse Clone() { return new PutBuildingGroupAttachResponse(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as PutBuildingGroupAttachResponse); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(PutBuildingGroupAttachResponse other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; 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 (_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 (_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 (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(PutBuildingGroupAttachResponse other) { if (other == null) { return; } _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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); 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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; } } } #endif } /// /// Запрос получения объекта строительства /// public sealed partial class GetBuildingRequest : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetBuildingRequest()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Keyapis.TelemetryControl.V1.KeyapisTelemetryControlBuildingV1Reflection.Descriptor.MessageTypes[4]; } } [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 GetBuildingRequest() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetBuildingRequest(GetBuildingRequest other) : this() { id_ = other.id_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetBuildingRequest Clone() { return new GetBuildingRequest(this); } /// Field number for the "id" field. public const int IdFieldNumber = 1; private int id_; /// /// Идентификатор объекта строительства /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Id { get { return id_; } set { id_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GetBuildingRequest); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GetBuildingRequest other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Id != other.Id) 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 (Id != 0) hash ^= Id.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 (Id != 0) { output.WriteRawTag(8); output.WriteInt32(Id); } 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 (Id != 0) { output.WriteRawTag(8); output.WriteInt32(Id); } 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 (Id != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GetBuildingRequest other) { if (other == null) { return; } if (other.Id != 0) { Id = other.Id; } _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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { Id = 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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { Id = input.ReadInt32(); break; } } } } #endif } /// /// Ответ на запрос получения объекта строительства /// public sealed partial class GetBuildingResponse : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetBuildingResponse()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Keyapis.TelemetryControl.V1.KeyapisTelemetryControlBuildingV1Reflection.Descriptor.MessageTypes[5]; } } [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 GetBuildingResponse() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetBuildingResponse(GetBuildingResponse other) : this() { switch (other.TypeCase) { case TypeOneofCase.Data: Data = other.Data.Clone(); break; } _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetBuildingResponse Clone() { return new GetBuildingResponse(this); } /// Field number for the "data" field. public const int DataFieldNumber = 1; /// /// Объект строительства /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Keyapis.TelemetryControl.V1.Building Data { get { return typeCase_ == TypeOneofCase.Data ? (global::Keyapis.TelemetryControl.V1.Building) type_ : null; } set { type_ = value; typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.Data; } } private object type_; /// Enum of possible cases for the "type" oneof. public enum TypeOneofCase { None = 0, Data = 1, } private TypeOneofCase typeCase_ = TypeOneofCase.None; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public TypeOneofCase TypeCase { get { return typeCase_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void ClearType() { typeCase_ = TypeOneofCase.None; type_ = null; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GetBuildingResponse); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GetBuildingResponse other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(Data, other.Data)) return false; if (TypeCase != other.TypeCase) 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 (typeCase_ == TypeOneofCase.Data) hash ^= Data.GetHashCode(); hash ^= (int) typeCase_; 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 (typeCase_ == TypeOneofCase.Data) { output.WriteRawTag(10); output.WriteMessage(Data); } 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 (typeCase_ == TypeOneofCase.Data) { output.WriteRawTag(10); output.WriteMessage(Data); } 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 (typeCase_ == TypeOneofCase.Data) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Data); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GetBuildingResponse other) { if (other == null) { return; } switch (other.TypeCase) { case TypeOneofCase.Data: if (Data == null) { Data = new global::Keyapis.TelemetryControl.V1.Building(); } Data.MergeFrom(other.Data); break; } _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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { global::Keyapis.TelemetryControl.V1.Building subBuilder = new global::Keyapis.TelemetryControl.V1.Building(); if (typeCase_ == TypeOneofCase.Data) { subBuilder.MergeFrom(Data); } input.ReadMessage(subBuilder); Data = subBuilder; 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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { global::Keyapis.TelemetryControl.V1.Building subBuilder = new global::Keyapis.TelemetryControl.V1.Building(); if (typeCase_ == TypeOneofCase.Data) { subBuilder.MergeFrom(Data); } input.ReadMessage(subBuilder); Data = subBuilder; break; } } } } #endif } /// /// Запрос получения списка /// public sealed partial class GetBuildingListRequest : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetBuildingListRequest()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Keyapis.TelemetryControl.V1.KeyapisTelemetryControlBuildingV1Reflection.Descriptor.MessageTypes[6]; } } [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 GetBuildingListRequest() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetBuildingListRequest(GetBuildingListRequest other) : this() { filter_ = other.filter_ != null ? other.filter_.Clone() : null; switch (other.PaginationCase) { case PaginationOneofCase.Paging: Paging = other.Paging.Clone(); break; } _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetBuildingListRequest Clone() { return new GetBuildingListRequest(this); } /// Field number for the "filter" field. public const int FilterFieldNumber = 1; private global::Keyapis.TelemetryControl.V1.BuildingFilter filter_; /// /// Фильтр индикаторов /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Keyapis.TelemetryControl.V1.BuildingFilter Filter { get { return filter_; } set { filter_ = value; } } /// Field number for the "paging" field. public const int PagingFieldNumber = 2; /// /// Пагинация по индикаторам /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Keyapis.TelemetryControl.V1.BuildingPaging Paging { get { return paginationCase_ == PaginationOneofCase.Paging ? (global::Keyapis.TelemetryControl.V1.BuildingPaging) pagination_ : null; } set { pagination_ = value; paginationCase_ = value == null ? PaginationOneofCase.None : PaginationOneofCase.Paging; } } private object pagination_; /// Enum of possible cases for the "pagination" oneof. public enum PaginationOneofCase { None = 0, Paging = 2, } private PaginationOneofCase paginationCase_ = PaginationOneofCase.None; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public PaginationOneofCase PaginationCase { get { return paginationCase_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void ClearPagination() { paginationCase_ = PaginationOneofCase.None; pagination_ = null; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GetBuildingListRequest); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GetBuildingListRequest other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(Filter, other.Filter)) return false; if (!object.Equals(Paging, other.Paging)) return false; if (PaginationCase != other.PaginationCase) 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 (filter_ != null) hash ^= Filter.GetHashCode(); if (paginationCase_ == PaginationOneofCase.Paging) hash ^= Paging.GetHashCode(); hash ^= (int) paginationCase_; 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 (filter_ != null) { output.WriteRawTag(10); output.WriteMessage(Filter); } if (paginationCase_ == PaginationOneofCase.Paging) { output.WriteRawTag(18); output.WriteMessage(Paging); } 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 (filter_ != null) { output.WriteRawTag(10); output.WriteMessage(Filter); } if (paginationCase_ == PaginationOneofCase.Paging) { output.WriteRawTag(18); output.WriteMessage(Paging); } 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 (filter_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Filter); } if (paginationCase_ == PaginationOneofCase.Paging) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Paging); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GetBuildingListRequest other) { if (other == null) { return; } if (other.filter_ != null) { if (filter_ == null) { Filter = new global::Keyapis.TelemetryControl.V1.BuildingFilter(); } Filter.MergeFrom(other.Filter); } switch (other.PaginationCase) { case PaginationOneofCase.Paging: if (Paging == null) { Paging = new global::Keyapis.TelemetryControl.V1.BuildingPaging(); } Paging.MergeFrom(other.Paging); break; } _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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { if (filter_ == null) { Filter = new global::Keyapis.TelemetryControl.V1.BuildingFilter(); } input.ReadMessage(Filter); break; } case 18: { global::Keyapis.TelemetryControl.V1.BuildingPaging subBuilder = new global::Keyapis.TelemetryControl.V1.BuildingPaging(); if (paginationCase_ == PaginationOneofCase.Paging) { subBuilder.MergeFrom(Paging); } input.ReadMessage(subBuilder); Paging = subBuilder; 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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { if (filter_ == null) { Filter = new global::Keyapis.TelemetryControl.V1.BuildingFilter(); } input.ReadMessage(Filter); break; } case 18: { global::Keyapis.TelemetryControl.V1.BuildingPaging subBuilder = new global::Keyapis.TelemetryControl.V1.BuildingPaging(); if (paginationCase_ == PaginationOneofCase.Paging) { subBuilder.MergeFrom(Paging); } input.ReadMessage(subBuilder); Paging = subBuilder; break; } } } } #endif } /// /// Запрос получения списка /// public sealed partial class GetBuildingGroupListRequest : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetBuildingGroupListRequest()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Keyapis.TelemetryControl.V1.KeyapisTelemetryControlBuildingV1Reflection.Descriptor.MessageTypes[7]; } } [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 GetBuildingGroupListRequest() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetBuildingGroupListRequest(GetBuildingGroupListRequest other) : this() { filter_ = other.filter_ != null ? other.filter_.Clone() : null; switch (other.PaginationCase) { case PaginationOneofCase.Paging: Paging = other.Paging.Clone(); break; } _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetBuildingGroupListRequest Clone() { return new GetBuildingGroupListRequest(this); } /// Field number for the "filter" field. public const int FilterFieldNumber = 1; private global::Keyapis.TelemetryControl.V1.BuildingGroupFilter filter_; /// /// Фильтр связей объектов строительства и группы пользователя /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Keyapis.TelemetryControl.V1.BuildingGroupFilter Filter { get { return filter_; } set { filter_ = value; } } /// Field number for the "paging" field. public const int PagingFieldNumber = 2; /// /// Пагинация /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Keyapis.TelemetryControl.V1.BuildingGroupPaging Paging { get { return paginationCase_ == PaginationOneofCase.Paging ? (global::Keyapis.TelemetryControl.V1.BuildingGroupPaging) pagination_ : null; } set { pagination_ = value; paginationCase_ = value == null ? PaginationOneofCase.None : PaginationOneofCase.Paging; } } private object pagination_; /// Enum of possible cases for the "pagination" oneof. public enum PaginationOneofCase { None = 0, Paging = 2, } private PaginationOneofCase paginationCase_ = PaginationOneofCase.None; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public PaginationOneofCase PaginationCase { get { return paginationCase_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void ClearPagination() { paginationCase_ = PaginationOneofCase.None; pagination_ = null; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GetBuildingGroupListRequest); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GetBuildingGroupListRequest other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(Filter, other.Filter)) return false; if (!object.Equals(Paging, other.Paging)) return false; if (PaginationCase != other.PaginationCase) 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 (filter_ != null) hash ^= Filter.GetHashCode(); if (paginationCase_ == PaginationOneofCase.Paging) hash ^= Paging.GetHashCode(); hash ^= (int) paginationCase_; 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 (filter_ != null) { output.WriteRawTag(10); output.WriteMessage(Filter); } if (paginationCase_ == PaginationOneofCase.Paging) { output.WriteRawTag(18); output.WriteMessage(Paging); } 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 (filter_ != null) { output.WriteRawTag(10); output.WriteMessage(Filter); } if (paginationCase_ == PaginationOneofCase.Paging) { output.WriteRawTag(18); output.WriteMessage(Paging); } 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 (filter_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Filter); } if (paginationCase_ == PaginationOneofCase.Paging) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Paging); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GetBuildingGroupListRequest other) { if (other == null) { return; } if (other.filter_ != null) { if (filter_ == null) { Filter = new global::Keyapis.TelemetryControl.V1.BuildingGroupFilter(); } Filter.MergeFrom(other.Filter); } switch (other.PaginationCase) { case PaginationOneofCase.Paging: if (Paging == null) { Paging = new global::Keyapis.TelemetryControl.V1.BuildingGroupPaging(); } Paging.MergeFrom(other.Paging); break; } _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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { if (filter_ == null) { Filter = new global::Keyapis.TelemetryControl.V1.BuildingGroupFilter(); } input.ReadMessage(Filter); break; } case 18: { global::Keyapis.TelemetryControl.V1.BuildingGroupPaging subBuilder = new global::Keyapis.TelemetryControl.V1.BuildingGroupPaging(); if (paginationCase_ == PaginationOneofCase.Paging) { subBuilder.MergeFrom(Paging); } input.ReadMessage(subBuilder); Paging = subBuilder; 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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { if (filter_ == null) { Filter = new global::Keyapis.TelemetryControl.V1.BuildingGroupFilter(); } input.ReadMessage(Filter); break; } case 18: { global::Keyapis.TelemetryControl.V1.BuildingGroupPaging subBuilder = new global::Keyapis.TelemetryControl.V1.BuildingGroupPaging(); if (paginationCase_ == PaginationOneofCase.Paging) { subBuilder.MergeFrom(Paging); } input.ReadMessage(subBuilder); Paging = subBuilder; break; } } } } #endif } /// /// Пагинация связей объектов строительства и группы пользователя /// public sealed partial class BuildingGroupPaging : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BuildingGroupPaging()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Keyapis.TelemetryControl.V1.KeyapisTelemetryControlBuildingV1Reflection.Descriptor.MessageTypes[8]; } } [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 BuildingGroupPaging() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public BuildingGroupPaging(BuildingGroupPaging other) : this() { orderByType_ = other.orderByType_; directionType_ = other.directionType_; limit_ = other.limit_; offset_ = other.offset_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public BuildingGroupPaging Clone() { return new BuildingGroupPaging(this); } /// Field number for the "order_by_type" field. public const int OrderByTypeFieldNumber = 1; private global::Keyapis.TelemetryControl.V1.BuildingGroupPaging.Types.OrderByType orderByType_ = global::Keyapis.TelemetryControl.V1.BuildingGroupPaging.Types.OrderByType.Unknown; /// /// Тип значения сортировки. /// По умолчанию: ID /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Keyapis.TelemetryControl.V1.BuildingGroupPaging.Types.OrderByType OrderByType { get { return orderByType_; } set { orderByType_ = value; } } /// Field number for the "direction_type" field. public const int DirectionTypeFieldNumber = 2; private global::Keyapis.TelemetryControl.V1.BuildingGroupPaging.Types.DirectionType directionType_ = global::Keyapis.TelemetryControl.V1.BuildingGroupPaging.Types.DirectionType.Unknown; /// /// Тип направления сортировки. /// По умолчанию: DESC /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Keyapis.TelemetryControl.V1.BuildingGroupPaging.Types.DirectionType DirectionType { get { return directionType_; } set { directionType_ = value; } } /// Field number for the "limit" field. public const int LimitFieldNumber = 3; private int limit_; /// /// Количество записей на страницу. /// Минимальное значение: 1. /// Максимальное значение: 100. /// По умолчанию: 20. /// Если значение 0 (не передано), то выставляем значение по умолчанию /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Limit { get { return limit_; } set { limit_ = value; } } /// Field number for the "offset" field. public const int OffsetFieldNumber = 4; private int offset_; /// /// Сдвиг. /// По умолчанию: 0 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Offset { get { return offset_; } set { offset_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as BuildingGroupPaging); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(BuildingGroupPaging other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (OrderByType != other.OrderByType) return false; if (DirectionType != other.DirectionType) return false; if (Limit != other.Limit) return false; if (Offset != other.Offset) 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 (OrderByType != global::Keyapis.TelemetryControl.V1.BuildingGroupPaging.Types.OrderByType.Unknown) hash ^= OrderByType.GetHashCode(); if (DirectionType != global::Keyapis.TelemetryControl.V1.BuildingGroupPaging.Types.DirectionType.Unknown) hash ^= DirectionType.GetHashCode(); if (Limit != 0) hash ^= Limit.GetHashCode(); if (Offset != 0) hash ^= Offset.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 (OrderByType != global::Keyapis.TelemetryControl.V1.BuildingGroupPaging.Types.OrderByType.Unknown) { output.WriteRawTag(8); output.WriteEnum((int) OrderByType); } if (DirectionType != global::Keyapis.TelemetryControl.V1.BuildingGroupPaging.Types.DirectionType.Unknown) { output.WriteRawTag(16); output.WriteEnum((int) DirectionType); } if (Limit != 0) { output.WriteRawTag(24); output.WriteInt32(Limit); } if (Offset != 0) { output.WriteRawTag(32); output.WriteInt32(Offset); } 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 (OrderByType != global::Keyapis.TelemetryControl.V1.BuildingGroupPaging.Types.OrderByType.Unknown) { output.WriteRawTag(8); output.WriteEnum((int) OrderByType); } if (DirectionType != global::Keyapis.TelemetryControl.V1.BuildingGroupPaging.Types.DirectionType.Unknown) { output.WriteRawTag(16); output.WriteEnum((int) DirectionType); } if (Limit != 0) { output.WriteRawTag(24); output.WriteInt32(Limit); } if (Offset != 0) { output.WriteRawTag(32); output.WriteInt32(Offset); } 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 (OrderByType != global::Keyapis.TelemetryControl.V1.BuildingGroupPaging.Types.OrderByType.Unknown) { size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) OrderByType); } if (DirectionType != global::Keyapis.TelemetryControl.V1.BuildingGroupPaging.Types.DirectionType.Unknown) { size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) DirectionType); } if (Limit != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Limit); } if (Offset != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Offset); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(BuildingGroupPaging other) { if (other == null) { return; } if (other.OrderByType != global::Keyapis.TelemetryControl.V1.BuildingGroupPaging.Types.OrderByType.Unknown) { OrderByType = other.OrderByType; } if (other.DirectionType != global::Keyapis.TelemetryControl.V1.BuildingGroupPaging.Types.DirectionType.Unknown) { DirectionType = other.DirectionType; } if (other.Limit != 0) { Limit = other.Limit; } if (other.Offset != 0) { Offset = other.Offset; } _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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { OrderByType = (global::Keyapis.TelemetryControl.V1.BuildingGroupPaging.Types.OrderByType) input.ReadEnum(); break; } case 16: { DirectionType = (global::Keyapis.TelemetryControl.V1.BuildingGroupPaging.Types.DirectionType) input.ReadEnum(); break; } case 24: { Limit = input.ReadInt32(); break; } case 32: { Offset = 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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { OrderByType = (global::Keyapis.TelemetryControl.V1.BuildingGroupPaging.Types.OrderByType) input.ReadEnum(); break; } case 16: { DirectionType = (global::Keyapis.TelemetryControl.V1.BuildingGroupPaging.Types.DirectionType) input.ReadEnum(); break; } case 24: { Limit = input.ReadInt32(); break; } case 32: { Offset = input.ReadInt32(); break; } } } } #endif #region Nested types /// Container for nested types declared in the BuildingGroupPaging message type. [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static partial class Types { /// /// Справочник типов сортировки /// public enum OrderByType { /// /// Значение не указано /// [pbr::OriginalName("ORDER_BY_TYPE_UNKNOWN")] Unknown = 0, /// /// По Идентификатору группы пользователя /// [pbr::OriginalName("GROUP_ID")] GroupId = 1, /// /// По Объекту строительства /// [pbr::OriginalName("BUILDING_ID")] BuildingId = 2, } /// /// Справочник типов направлений сортировки /// public enum DirectionType { /// /// Значение не указано /// [pbr::OriginalName("DIRECTION_TYPE_UNKNOWN")] Unknown = 0, /// /// От большего к меньшему /// [pbr::OriginalName("DESC")] Desc = 1, /// /// От меньшего к большему /// [pbr::OriginalName("ASC")] Asc = 2, } } #endregion } /// /// Пагинация объектов строительства /// public sealed partial class BuildingPaging : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BuildingPaging()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Keyapis.TelemetryControl.V1.KeyapisTelemetryControlBuildingV1Reflection.Descriptor.MessageTypes[9]; } } [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 BuildingPaging() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public BuildingPaging(BuildingPaging other) : this() { orderByType_ = other.orderByType_; directionType_ = other.directionType_; limit_ = other.limit_; offset_ = other.offset_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public BuildingPaging Clone() { return new BuildingPaging(this); } /// Field number for the "order_by_type" field. public const int OrderByTypeFieldNumber = 1; private global::Keyapis.TelemetryControl.V1.BuildingPaging.Types.OrderByType orderByType_ = global::Keyapis.TelemetryControl.V1.BuildingPaging.Types.OrderByType.Unknown; /// /// Тип значения сортировки. /// По умолчанию: ID /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Keyapis.TelemetryControl.V1.BuildingPaging.Types.OrderByType OrderByType { get { return orderByType_; } set { orderByType_ = value; } } /// Field number for the "direction_type" field. public const int DirectionTypeFieldNumber = 2; private global::Keyapis.TelemetryControl.V1.BuildingPaging.Types.DirectionType directionType_ = global::Keyapis.TelemetryControl.V1.BuildingPaging.Types.DirectionType.Unknown; /// /// Тип направления сортировки. /// По умолчанию: DESC /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Keyapis.TelemetryControl.V1.BuildingPaging.Types.DirectionType DirectionType { get { return directionType_; } set { directionType_ = value; } } /// Field number for the "limit" field. public const int LimitFieldNumber = 3; private int limit_; /// /// Количество записей на страницу. /// Минимальное значение: 1. /// Максимальное значение: 100. /// По умолчанию: 20. /// Если значение 0 (не передано), то выставляем значение по умолчанию /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Limit { get { return limit_; } set { limit_ = value; } } /// Field number for the "offset" field. public const int OffsetFieldNumber = 4; private int offset_; /// /// Сдвиг. /// По умолчанию: 0 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Offset { get { return offset_; } set { offset_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as BuildingPaging); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(BuildingPaging other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (OrderByType != other.OrderByType) return false; if (DirectionType != other.DirectionType) return false; if (Limit != other.Limit) return false; if (Offset != other.Offset) 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 (OrderByType != global::Keyapis.TelemetryControl.V1.BuildingPaging.Types.OrderByType.Unknown) hash ^= OrderByType.GetHashCode(); if (DirectionType != global::Keyapis.TelemetryControl.V1.BuildingPaging.Types.DirectionType.Unknown) hash ^= DirectionType.GetHashCode(); if (Limit != 0) hash ^= Limit.GetHashCode(); if (Offset != 0) hash ^= Offset.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 (OrderByType != global::Keyapis.TelemetryControl.V1.BuildingPaging.Types.OrderByType.Unknown) { output.WriteRawTag(8); output.WriteEnum((int) OrderByType); } if (DirectionType != global::Keyapis.TelemetryControl.V1.BuildingPaging.Types.DirectionType.Unknown) { output.WriteRawTag(16); output.WriteEnum((int) DirectionType); } if (Limit != 0) { output.WriteRawTag(24); output.WriteInt32(Limit); } if (Offset != 0) { output.WriteRawTag(32); output.WriteInt32(Offset); } 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 (OrderByType != global::Keyapis.TelemetryControl.V1.BuildingPaging.Types.OrderByType.Unknown) { output.WriteRawTag(8); output.WriteEnum((int) OrderByType); } if (DirectionType != global::Keyapis.TelemetryControl.V1.BuildingPaging.Types.DirectionType.Unknown) { output.WriteRawTag(16); output.WriteEnum((int) DirectionType); } if (Limit != 0) { output.WriteRawTag(24); output.WriteInt32(Limit); } if (Offset != 0) { output.WriteRawTag(32); output.WriteInt32(Offset); } 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 (OrderByType != global::Keyapis.TelemetryControl.V1.BuildingPaging.Types.OrderByType.Unknown) { size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) OrderByType); } if (DirectionType != global::Keyapis.TelemetryControl.V1.BuildingPaging.Types.DirectionType.Unknown) { size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) DirectionType); } if (Limit != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Limit); } if (Offset != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Offset); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(BuildingPaging other) { if (other == null) { return; } if (other.OrderByType != global::Keyapis.TelemetryControl.V1.BuildingPaging.Types.OrderByType.Unknown) { OrderByType = other.OrderByType; } if (other.DirectionType != global::Keyapis.TelemetryControl.V1.BuildingPaging.Types.DirectionType.Unknown) { DirectionType = other.DirectionType; } if (other.Limit != 0) { Limit = other.Limit; } if (other.Offset != 0) { Offset = other.Offset; } _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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { OrderByType = (global::Keyapis.TelemetryControl.V1.BuildingPaging.Types.OrderByType) input.ReadEnum(); break; } case 16: { DirectionType = (global::Keyapis.TelemetryControl.V1.BuildingPaging.Types.DirectionType) input.ReadEnum(); break; } case 24: { Limit = input.ReadInt32(); break; } case 32: { Offset = 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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { OrderByType = (global::Keyapis.TelemetryControl.V1.BuildingPaging.Types.OrderByType) input.ReadEnum(); break; } case 16: { DirectionType = (global::Keyapis.TelemetryControl.V1.BuildingPaging.Types.DirectionType) input.ReadEnum(); break; } case 24: { Limit = input.ReadInt32(); break; } case 32: { Offset = input.ReadInt32(); break; } } } } #endif #region Nested types /// Container for nested types declared in the BuildingPaging message type. [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static partial class Types { /// /// Справочник типов сортировки /// public enum OrderByType { /// /// Значение не указано /// [pbr::OriginalName("ORDER_BY_TYPE_UNKNOWN")] Unknown = 0, /// /// По уникальному ключу /// [pbr::OriginalName("ID")] Id = 1, /// /// По наименованию /// [pbr::OriginalName("TITLE")] Title = 2, /// /// По дате создания /// [pbr::OriginalName("CREATED_AT")] CreatedAt = 3, /// /// По дате изменения /// [pbr::OriginalName("CHANGED_AT")] ChangedAt = 4, /// /// По ФИАС /// [pbr::OriginalName("FIAS_ID")] FiasId = 5, } /// /// Справочник типов направлений сортировки /// public enum DirectionType { /// /// Значение не указано /// [pbr::OriginalName("DIRECTION_TYPE_UNKNOWN")] Unknown = 0, /// /// От большего к меньшему /// [pbr::OriginalName("DESC")] Desc = 1, /// /// От меньшего к большему /// [pbr::OriginalName("ASC")] Asc = 2, } } #endregion } /// /// Ответ на запрос получения списка объектов строительства /// public sealed partial class GetBuildingListResponse : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetBuildingListResponse()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Keyapis.TelemetryControl.V1.KeyapisTelemetryControlBuildingV1Reflection.Descriptor.MessageTypes[10]; } } [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 GetBuildingListResponse() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetBuildingListResponse(GetBuildingListResponse other) : this() { switch (other.TypeCase) { case TypeOneofCase.Data: Data = other.Data.Clone(); break; } _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetBuildingListResponse Clone() { return new GetBuildingListResponse(this); } /// Field number for the "data" field. public const int DataFieldNumber = 1; /// /// Индикатор /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Keyapis.TelemetryControl.V1.Building Data { get { return typeCase_ == TypeOneofCase.Data ? (global::Keyapis.TelemetryControl.V1.Building) type_ : null; } set { type_ = value; typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.Data; } } private object type_; /// Enum of possible cases for the "type" oneof. public enum TypeOneofCase { None = 0, Data = 1, } private TypeOneofCase typeCase_ = TypeOneofCase.None; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public TypeOneofCase TypeCase { get { return typeCase_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void ClearType() { typeCase_ = TypeOneofCase.None; type_ = null; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GetBuildingListResponse); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GetBuildingListResponse other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(Data, other.Data)) return false; if (TypeCase != other.TypeCase) 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 (typeCase_ == TypeOneofCase.Data) hash ^= Data.GetHashCode(); hash ^= (int) typeCase_; 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 (typeCase_ == TypeOneofCase.Data) { output.WriteRawTag(10); output.WriteMessage(Data); } 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 (typeCase_ == TypeOneofCase.Data) { output.WriteRawTag(10); output.WriteMessage(Data); } 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 (typeCase_ == TypeOneofCase.Data) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Data); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GetBuildingListResponse other) { if (other == null) { return; } switch (other.TypeCase) { case TypeOneofCase.Data: if (Data == null) { Data = new global::Keyapis.TelemetryControl.V1.Building(); } Data.MergeFrom(other.Data); break; } _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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { global::Keyapis.TelemetryControl.V1.Building subBuilder = new global::Keyapis.TelemetryControl.V1.Building(); if (typeCase_ == TypeOneofCase.Data) { subBuilder.MergeFrom(Data); } input.ReadMessage(subBuilder); Data = subBuilder; 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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { global::Keyapis.TelemetryControl.V1.Building subBuilder = new global::Keyapis.TelemetryControl.V1.Building(); if (typeCase_ == TypeOneofCase.Data) { subBuilder.MergeFrom(Data); } input.ReadMessage(subBuilder); Data = subBuilder; break; } } } } #endif } /// /// Ответ на запрос получения списка связей объектов строительства и группы пользователя /// public sealed partial class GetBuildingGroupListResponse : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetBuildingGroupListResponse()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Keyapis.TelemetryControl.V1.KeyapisTelemetryControlBuildingV1Reflection.Descriptor.MessageTypes[11]; } } [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 GetBuildingGroupListResponse() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetBuildingGroupListResponse(GetBuildingGroupListResponse other) : this() { switch (other.TypeCase) { case TypeOneofCase.Data: Data = other.Data.Clone(); break; } _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetBuildingGroupListResponse Clone() { return new GetBuildingGroupListResponse(this); } /// Field number for the "data" field. public const int DataFieldNumber = 1; /// /// Связь объекта строительства и группы пользователя /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Keyapis.TelemetryControl.V1.BuildingGroup Data { get { return typeCase_ == TypeOneofCase.Data ? (global::Keyapis.TelemetryControl.V1.BuildingGroup) type_ : null; } set { type_ = value; typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.Data; } } private object type_; /// Enum of possible cases for the "type" oneof. public enum TypeOneofCase { None = 0, Data = 1, } private TypeOneofCase typeCase_ = TypeOneofCase.None; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public TypeOneofCase TypeCase { get { return typeCase_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void ClearType() { typeCase_ = TypeOneofCase.None; type_ = null; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GetBuildingGroupListResponse); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GetBuildingGroupListResponse other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(Data, other.Data)) return false; if (TypeCase != other.TypeCase) 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 (typeCase_ == TypeOneofCase.Data) hash ^= Data.GetHashCode(); hash ^= (int) typeCase_; 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 (typeCase_ == TypeOneofCase.Data) { output.WriteRawTag(10); output.WriteMessage(Data); } 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 (typeCase_ == TypeOneofCase.Data) { output.WriteRawTag(10); output.WriteMessage(Data); } 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 (typeCase_ == TypeOneofCase.Data) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Data); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GetBuildingGroupListResponse other) { if (other == null) { return; } switch (other.TypeCase) { case TypeOneofCase.Data: if (Data == null) { Data = new global::Keyapis.TelemetryControl.V1.BuildingGroup(); } Data.MergeFrom(other.Data); break; } _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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { global::Keyapis.TelemetryControl.V1.BuildingGroup subBuilder = new global::Keyapis.TelemetryControl.V1.BuildingGroup(); if (typeCase_ == TypeOneofCase.Data) { subBuilder.MergeFrom(Data); } input.ReadMessage(subBuilder); Data = subBuilder; 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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { global::Keyapis.TelemetryControl.V1.BuildingGroup subBuilder = new global::Keyapis.TelemetryControl.V1.BuildingGroup(); if (typeCase_ == TypeOneofCase.Data) { subBuilder.MergeFrom(Data); } input.ReadMessage(subBuilder); Data = subBuilder; break; } } } } #endif } /// /// Событие создания/изменения объекта строительства на сервера /// public sealed partial class PostBuildingFullDuplexResponse : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PostBuildingFullDuplexResponse()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Keyapis.TelemetryControl.V1.KeyapisTelemetryControlBuildingV1Reflection.Descriptor.MessageTypes[12]; } } [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 PostBuildingFullDuplexResponse() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public PostBuildingFullDuplexResponse(PostBuildingFullDuplexResponse other) : this() { requestId_ = other.requestId_; switch (other.EventCase) { case EventOneofCase.UpsertBuildingEvent: UpsertBuildingEvent = other.UpsertBuildingEvent.Clone(); break; case EventOneofCase.RemoveBuildingEvent: RemoveBuildingEvent = other.RemoveBuildingEvent.Clone(); break; } _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public PostBuildingFullDuplexResponse Clone() { return new PostBuildingFullDuplexResponse(this); } /// Field number for the "request_id" field. public const int RequestIdFieldNumber = 1; private string requestId_ = ""; /// /// Идентификатор запроса /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string RequestId { get { return requestId_; } set { requestId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "upsert_building_event" field. public const int UpsertBuildingEventFieldNumber = 2; /// /// Событие создания/обновления объекта строительства /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexResponse.Types.UpsertBuildingEvent UpsertBuildingEvent { get { return eventCase_ == EventOneofCase.UpsertBuildingEvent ? (global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexResponse.Types.UpsertBuildingEvent) event_ : null; } set { event_ = value; eventCase_ = value == null ? EventOneofCase.None : EventOneofCase.UpsertBuildingEvent; } } /// Field number for the "remove_building_event" field. public const int RemoveBuildingEventFieldNumber = 3; /// /// Событие удаления объекта строительства /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexResponse.Types.RemoveBuildingEvent RemoveBuildingEvent { get { return eventCase_ == EventOneofCase.RemoveBuildingEvent ? (global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexResponse.Types.RemoveBuildingEvent) event_ : null; } set { event_ = value; eventCase_ = value == null ? EventOneofCase.None : EventOneofCase.RemoveBuildingEvent; } } private object event_; /// Enum of possible cases for the "event" oneof. public enum EventOneofCase { None = 0, UpsertBuildingEvent = 2, RemoveBuildingEvent = 3, } private EventOneofCase eventCase_ = EventOneofCase.None; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public EventOneofCase EventCase { get { return eventCase_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void ClearEvent() { eventCase_ = EventOneofCase.None; event_ = null; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as PostBuildingFullDuplexResponse); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(PostBuildingFullDuplexResponse other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (RequestId != other.RequestId) return false; if (!object.Equals(UpsertBuildingEvent, other.UpsertBuildingEvent)) return false; if (!object.Equals(RemoveBuildingEvent, other.RemoveBuildingEvent)) return false; if (EventCase != other.EventCase) 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 (RequestId.Length != 0) hash ^= RequestId.GetHashCode(); if (eventCase_ == EventOneofCase.UpsertBuildingEvent) hash ^= UpsertBuildingEvent.GetHashCode(); if (eventCase_ == EventOneofCase.RemoveBuildingEvent) hash ^= RemoveBuildingEvent.GetHashCode(); hash ^= (int) eventCase_; 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 (RequestId.Length != 0) { output.WriteRawTag(10); output.WriteString(RequestId); } if (eventCase_ == EventOneofCase.UpsertBuildingEvent) { output.WriteRawTag(18); output.WriteMessage(UpsertBuildingEvent); } if (eventCase_ == EventOneofCase.RemoveBuildingEvent) { output.WriteRawTag(26); output.WriteMessage(RemoveBuildingEvent); } 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 (RequestId.Length != 0) { output.WriteRawTag(10); output.WriteString(RequestId); } if (eventCase_ == EventOneofCase.UpsertBuildingEvent) { output.WriteRawTag(18); output.WriteMessage(UpsertBuildingEvent); } if (eventCase_ == EventOneofCase.RemoveBuildingEvent) { output.WriteRawTag(26); output.WriteMessage(RemoveBuildingEvent); } 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 (RequestId.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(RequestId); } if (eventCase_ == EventOneofCase.UpsertBuildingEvent) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(UpsertBuildingEvent); } if (eventCase_ == EventOneofCase.RemoveBuildingEvent) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(RemoveBuildingEvent); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(PostBuildingFullDuplexResponse other) { if (other == null) { return; } if (other.RequestId.Length != 0) { RequestId = other.RequestId; } switch (other.EventCase) { case EventOneofCase.UpsertBuildingEvent: if (UpsertBuildingEvent == null) { UpsertBuildingEvent = new global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexResponse.Types.UpsertBuildingEvent(); } UpsertBuildingEvent.MergeFrom(other.UpsertBuildingEvent); break; case EventOneofCase.RemoveBuildingEvent: if (RemoveBuildingEvent == null) { RemoveBuildingEvent = new global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexResponse.Types.RemoveBuildingEvent(); } RemoveBuildingEvent.MergeFrom(other.RemoveBuildingEvent); break; } _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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { RequestId = input.ReadString(); break; } case 18: { global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexResponse.Types.UpsertBuildingEvent subBuilder = new global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexResponse.Types.UpsertBuildingEvent(); if (eventCase_ == EventOneofCase.UpsertBuildingEvent) { subBuilder.MergeFrom(UpsertBuildingEvent); } input.ReadMessage(subBuilder); UpsertBuildingEvent = subBuilder; break; } case 26: { global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexResponse.Types.RemoveBuildingEvent subBuilder = new global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexResponse.Types.RemoveBuildingEvent(); if (eventCase_ == EventOneofCase.RemoveBuildingEvent) { subBuilder.MergeFrom(RemoveBuildingEvent); } input.ReadMessage(subBuilder); RemoveBuildingEvent = subBuilder; 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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { RequestId = input.ReadString(); break; } case 18: { global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexResponse.Types.UpsertBuildingEvent subBuilder = new global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexResponse.Types.UpsertBuildingEvent(); if (eventCase_ == EventOneofCase.UpsertBuildingEvent) { subBuilder.MergeFrom(UpsertBuildingEvent); } input.ReadMessage(subBuilder); UpsertBuildingEvent = subBuilder; break; } case 26: { global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexResponse.Types.RemoveBuildingEvent subBuilder = new global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexResponse.Types.RemoveBuildingEvent(); if (eventCase_ == EventOneofCase.RemoveBuildingEvent) { subBuilder.MergeFrom(RemoveBuildingEvent); } input.ReadMessage(subBuilder); RemoveBuildingEvent = subBuilder; break; } } } } #endif #region Nested types /// Container for nested types declared in the PostBuildingFullDuplexResponse message type. [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static partial class Types { /// /// Событие удаления объекта строительства /// public sealed partial class RemoveBuildingEvent : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RemoveBuildingEvent()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexResponse.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 RemoveBuildingEvent() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RemoveBuildingEvent(RemoveBuildingEvent other) : this() { id_ = other.id_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RemoveBuildingEvent Clone() { return new RemoveBuildingEvent(this); } /// Field number for the "id" field. public const int IdFieldNumber = 1; private int id_; /// /// Идентификатор объекта строительства /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Id { get { return id_; } set { id_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as RemoveBuildingEvent); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(RemoveBuildingEvent other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Id != other.Id) 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 (Id != 0) hash ^= Id.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 (Id != 0) { output.WriteRawTag(8); output.WriteInt32(Id); } 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 (Id != 0) { output.WriteRawTag(8); output.WriteInt32(Id); } 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 (Id != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(RemoveBuildingEvent other) { if (other == null) { return; } if (other.Id != 0) { Id = other.Id; } _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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { Id = 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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { Id = input.ReadInt32(); break; } } } } #endif } /// /// Событие создания/обновления объекта строительства /// public sealed partial class UpsertBuildingEvent : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpsertBuildingEvent()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexResponse.Descriptor.NestedTypes[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 UpsertBuildingEvent() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public UpsertBuildingEvent(UpsertBuildingEvent other) : this() { data_ = other.data_ != null ? other.data_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public UpsertBuildingEvent Clone() { return new UpsertBuildingEvent(this); } /// Field number for the "data" field. public const int DataFieldNumber = 1; private global::Keyapis.TelemetryControl.V1.Building data_; /// /// Объект строительства /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Keyapis.TelemetryControl.V1.Building Data { get { return data_; } set { data_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as UpsertBuildingEvent); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(UpsertBuildingEvent other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(Data, other.Data)) 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 (data_ != null) hash ^= Data.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 (data_ != null) { output.WriteRawTag(10); output.WriteMessage(Data); } 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 (data_ != null) { output.WriteRawTag(10); output.WriteMessage(Data); } 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 (data_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Data); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(UpsertBuildingEvent other) { if (other == null) { return; } if (other.data_ != null) { if (data_ == null) { Data = new global::Keyapis.TelemetryControl.V1.Building(); } Data.MergeFrom(other.Data); } _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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { if (data_ == null) { Data = new global::Keyapis.TelemetryControl.V1.Building(); } input.ReadMessage(Data); 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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { if (data_ == null) { Data = new global::Keyapis.TelemetryControl.V1.Building(); } input.ReadMessage(Data); break; } } } } #endif } } #endregion } /// /// Запрос создания задачи с клиента на сервере /// public sealed partial class PostBuildingFullDuplexRequest : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PostBuildingFullDuplexRequest()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Keyapis.TelemetryControl.V1.KeyapisTelemetryControlBuildingV1Reflection.Descriptor.MessageTypes[13]; } } [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 PostBuildingFullDuplexRequest() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public PostBuildingFullDuplexRequest(PostBuildingFullDuplexRequest other) : this() { requestId_ = other.requestId_; switch (other.TaskCase) { case TaskOneofCase.BuildingAsyncStatus: BuildingAsyncStatus = other.BuildingAsyncStatus.Clone(); break; } _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public PostBuildingFullDuplexRequest Clone() { return new PostBuildingFullDuplexRequest(this); } /// Field number for the "request_id" field. public const int RequestIdFieldNumber = 1; private string requestId_ = ""; /// /// Идентификатор запроса /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string RequestId { get { return requestId_; } set { requestId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "building_async_status" field. public const int BuildingAsyncStatusFieldNumber = 2; /// /// Результат обработки объекта строительства на клиенте /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexRequest.Types.BuildingAsyncStatus BuildingAsyncStatus { get { return taskCase_ == TaskOneofCase.BuildingAsyncStatus ? (global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexRequest.Types.BuildingAsyncStatus) task_ : null; } set { task_ = value; taskCase_ = value == null ? TaskOneofCase.None : TaskOneofCase.BuildingAsyncStatus; } } private object task_; /// Enum of possible cases for the "task" oneof. public enum TaskOneofCase { None = 0, BuildingAsyncStatus = 2, } private TaskOneofCase taskCase_ = TaskOneofCase.None; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public TaskOneofCase TaskCase { get { return taskCase_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void ClearTask() { taskCase_ = TaskOneofCase.None; task_ = null; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as PostBuildingFullDuplexRequest); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(PostBuildingFullDuplexRequest other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (RequestId != other.RequestId) return false; if (!object.Equals(BuildingAsyncStatus, other.BuildingAsyncStatus)) return false; if (TaskCase != other.TaskCase) 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 (RequestId.Length != 0) hash ^= RequestId.GetHashCode(); if (taskCase_ == TaskOneofCase.BuildingAsyncStatus) hash ^= BuildingAsyncStatus.GetHashCode(); hash ^= (int) taskCase_; 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 (RequestId.Length != 0) { output.WriteRawTag(10); output.WriteString(RequestId); } if (taskCase_ == TaskOneofCase.BuildingAsyncStatus) { output.WriteRawTag(18); output.WriteMessage(BuildingAsyncStatus); } 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 (RequestId.Length != 0) { output.WriteRawTag(10); output.WriteString(RequestId); } if (taskCase_ == TaskOneofCase.BuildingAsyncStatus) { output.WriteRawTag(18); output.WriteMessage(BuildingAsyncStatus); } 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 (RequestId.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(RequestId); } if (taskCase_ == TaskOneofCase.BuildingAsyncStatus) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(BuildingAsyncStatus); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(PostBuildingFullDuplexRequest other) { if (other == null) { return; } if (other.RequestId.Length != 0) { RequestId = other.RequestId; } switch (other.TaskCase) { case TaskOneofCase.BuildingAsyncStatus: if (BuildingAsyncStatus == null) { BuildingAsyncStatus = new global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexRequest.Types.BuildingAsyncStatus(); } BuildingAsyncStatus.MergeFrom(other.BuildingAsyncStatus); break; } _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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { RequestId = input.ReadString(); break; } case 18: { global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexRequest.Types.BuildingAsyncStatus subBuilder = new global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexRequest.Types.BuildingAsyncStatus(); if (taskCase_ == TaskOneofCase.BuildingAsyncStatus) { subBuilder.MergeFrom(BuildingAsyncStatus); } input.ReadMessage(subBuilder); BuildingAsyncStatus = subBuilder; 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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { RequestId = input.ReadString(); break; } case 18: { global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexRequest.Types.BuildingAsyncStatus subBuilder = new global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexRequest.Types.BuildingAsyncStatus(); if (taskCase_ == TaskOneofCase.BuildingAsyncStatus) { subBuilder.MergeFrom(BuildingAsyncStatus); } input.ReadMessage(subBuilder); BuildingAsyncStatus = subBuilder; break; } } } } #endif #region Nested types /// Container for nested types declared in the PostBuildingFullDuplexRequest message type. [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static partial class Types { /// /// Результат обработки объекта строительства на клиенте /// public sealed partial class BuildingAsyncStatus : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BuildingAsyncStatus()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexRequest.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 BuildingAsyncStatus() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public BuildingAsyncStatus(BuildingAsyncStatus other) : this() { buildingId_ = other.buildingId_; switch (other.TypeCase) { case TypeOneofCase.Data: Data = other.Data.Clone(); break; case TypeOneofCase.Error: Error = other.Error.Clone(); break; } _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public BuildingAsyncStatus Clone() { return new BuildingAsyncStatus(this); } /// Field number for the "building_id" field. public const int BuildingIdFieldNumber = 1; private int buildingId_; /// /// Идентификатор объекта строительства /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int BuildingId { get { return buildingId_; } set { buildingId_ = value; } } /// Field number for the "data" field. public const int DataFieldNumber = 2; /// /// Успех /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexRequest.Types.BuildingAsyncStatus.Types.Success Data { get { return typeCase_ == TypeOneofCase.Data ? (global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexRequest.Types.BuildingAsyncStatus.Types.Success) type_ : null; } set { type_ = value; typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.Data; } } /// Field number for the "error" field. public const int ErrorFieldNumber = 3; /// /// Ошибка /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexRequest.Types.BuildingAsyncStatus.Types.Error Error { get { return typeCase_ == TypeOneofCase.Error ? (global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexRequest.Types.BuildingAsyncStatus.Types.Error) type_ : null; } set { type_ = value; typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.Error; } } private object type_; /// Enum of possible cases for the "type" oneof. public enum TypeOneofCase { None = 0, Data = 2, Error = 3, } private TypeOneofCase typeCase_ = TypeOneofCase.None; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public TypeOneofCase TypeCase { get { return typeCase_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void ClearType() { typeCase_ = TypeOneofCase.None; type_ = null; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as BuildingAsyncStatus); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(BuildingAsyncStatus other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (BuildingId != other.BuildingId) return false; if (!object.Equals(Data, other.Data)) return false; if (!object.Equals(Error, other.Error)) return false; if (TypeCase != other.TypeCase) 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 (BuildingId != 0) hash ^= BuildingId.GetHashCode(); if (typeCase_ == TypeOneofCase.Data) hash ^= Data.GetHashCode(); if (typeCase_ == TypeOneofCase.Error) hash ^= Error.GetHashCode(); hash ^= (int) typeCase_; 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 (BuildingId != 0) { output.WriteRawTag(8); output.WriteInt32(BuildingId); } if (typeCase_ == TypeOneofCase.Data) { output.WriteRawTag(18); output.WriteMessage(Data); } if (typeCase_ == TypeOneofCase.Error) { output.WriteRawTag(26); output.WriteMessage(Error); } 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 (BuildingId != 0) { output.WriteRawTag(8); output.WriteInt32(BuildingId); } if (typeCase_ == TypeOneofCase.Data) { output.WriteRawTag(18); output.WriteMessage(Data); } if (typeCase_ == TypeOneofCase.Error) { output.WriteRawTag(26); output.WriteMessage(Error); } 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 (BuildingId != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(BuildingId); } if (typeCase_ == TypeOneofCase.Data) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Data); } if (typeCase_ == TypeOneofCase.Error) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Error); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(BuildingAsyncStatus other) { if (other == null) { return; } if (other.BuildingId != 0) { BuildingId = other.BuildingId; } switch (other.TypeCase) { case TypeOneofCase.Data: if (Data == null) { Data = new global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexRequest.Types.BuildingAsyncStatus.Types.Success(); } Data.MergeFrom(other.Data); break; case TypeOneofCase.Error: if (Error == null) { Error = new global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexRequest.Types.BuildingAsyncStatus.Types.Error(); } Error.MergeFrom(other.Error); break; } _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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { BuildingId = input.ReadInt32(); break; } case 18: { global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexRequest.Types.BuildingAsyncStatus.Types.Success subBuilder = new global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexRequest.Types.BuildingAsyncStatus.Types.Success(); if (typeCase_ == TypeOneofCase.Data) { subBuilder.MergeFrom(Data); } input.ReadMessage(subBuilder); Data = subBuilder; break; } case 26: { global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexRequest.Types.BuildingAsyncStatus.Types.Error subBuilder = new global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexRequest.Types.BuildingAsyncStatus.Types.Error(); if (typeCase_ == TypeOneofCase.Error) { subBuilder.MergeFrom(Error); } input.ReadMessage(subBuilder); Error = subBuilder; 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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { BuildingId = input.ReadInt32(); break; } case 18: { global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexRequest.Types.BuildingAsyncStatus.Types.Success subBuilder = new global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexRequest.Types.BuildingAsyncStatus.Types.Success(); if (typeCase_ == TypeOneofCase.Data) { subBuilder.MergeFrom(Data); } input.ReadMessage(subBuilder); Data = subBuilder; break; } case 26: { global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexRequest.Types.BuildingAsyncStatus.Types.Error subBuilder = new global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexRequest.Types.BuildingAsyncStatus.Types.Error(); if (typeCase_ == TypeOneofCase.Error) { subBuilder.MergeFrom(Error); } input.ReadMessage(subBuilder); Error = subBuilder; break; } } } } #endif #region Nested types /// Container for nested types declared in the BuildingAsyncStatus message type. [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static partial class Types { /// /// Команда принята /// public sealed partial class Success : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Success()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexRequest.Types.BuildingAsyncStatus.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 Success() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Success(Success other) : this() { _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Success Clone() { return new Success(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as Success); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(Success other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; 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 (_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 (_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 (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(Success other) { if (other == null) { return; } _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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); 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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; } } } #endif } /// /// Ошибки обработки объекта строительства на клиенте /// public sealed partial class Error : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Error()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexRequest.Types.BuildingAsyncStatus.Descriptor.NestedTypes[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 Error() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Error(Error other) : this() { switch (other.ReasonCase) { case ReasonOneofCase.Unknown: Unknown = other.Unknown.Clone(); break; } _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Error Clone() { return new Error(this); } /// Field number for the "unknown" field. public const int UnknownFieldNumber = 1; /// /// Неизвестная ошибка /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexRequest.Types.BuildingAsyncStatus.Types.Error.Types.UnknownError Unknown { get { return reasonCase_ == ReasonOneofCase.Unknown ? (global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexRequest.Types.BuildingAsyncStatus.Types.Error.Types.UnknownError) reason_ : null; } set { reason_ = value; reasonCase_ = value == null ? ReasonOneofCase.None : ReasonOneofCase.Unknown; } } private object reason_; /// Enum of possible cases for the "reason" oneof. public enum ReasonOneofCase { None = 0, Unknown = 1, } private ReasonOneofCase reasonCase_ = ReasonOneofCase.None; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ReasonOneofCase ReasonCase { get { return reasonCase_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void ClearReason() { reasonCase_ = ReasonOneofCase.None; reason_ = null; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as Error); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(Error other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(Unknown, other.Unknown)) return false; if (ReasonCase != other.ReasonCase) 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 (reasonCase_ == ReasonOneofCase.Unknown) hash ^= Unknown.GetHashCode(); hash ^= (int) reasonCase_; 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 (reasonCase_ == ReasonOneofCase.Unknown) { output.WriteRawTag(10); output.WriteMessage(Unknown); } 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 (reasonCase_ == ReasonOneofCase.Unknown) { output.WriteRawTag(10); output.WriteMessage(Unknown); } 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 (reasonCase_ == ReasonOneofCase.Unknown) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Unknown); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(Error other) { if (other == null) { return; } switch (other.ReasonCase) { case ReasonOneofCase.Unknown: if (Unknown == null) { Unknown = new global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexRequest.Types.BuildingAsyncStatus.Types.Error.Types.UnknownError(); } Unknown.MergeFrom(other.Unknown); break; } _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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexRequest.Types.BuildingAsyncStatus.Types.Error.Types.UnknownError subBuilder = new global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexRequest.Types.BuildingAsyncStatus.Types.Error.Types.UnknownError(); if (reasonCase_ == ReasonOneofCase.Unknown) { subBuilder.MergeFrom(Unknown); } input.ReadMessage(subBuilder); Unknown = subBuilder; 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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexRequest.Types.BuildingAsyncStatus.Types.Error.Types.UnknownError subBuilder = new global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexRequest.Types.BuildingAsyncStatus.Types.Error.Types.UnknownError(); if (reasonCase_ == ReasonOneofCase.Unknown) { subBuilder.MergeFrom(Unknown); } input.ReadMessage(subBuilder); Unknown = subBuilder; break; } } } } #endif #region Nested types /// Container for nested types declared in the Error message type. [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static partial class Types { /// /// Неизвестная ошибка на стороне клиента /// public sealed partial class UnknownError : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UnknownError()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexRequest.Types.BuildingAsyncStatus.Types.Error.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 UnknownError() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public UnknownError(UnknownError other) : this() { message_ = other.message_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public UnknownError Clone() { return new UnknownError(this); } /// Field number for the "message" field. public const int MessageFieldNumber = 1; private string message_ = ""; /// /// Произвольный текст ошибки на стороне клиента. /// Отправляется в случае если в спецификации нет подходящей ошибки. /// После анализа таких ошибок в спецификацию добавляется специальный тип под эту ошибку /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Message { get { return message_; } set { message_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as UnknownError); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(UnknownError other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Message != other.Message) 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 (Message.Length != 0) hash ^= Message.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 (Message.Length != 0) { output.WriteRawTag(10); output.WriteString(Message); } 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 (Message.Length != 0) { output.WriteRawTag(10); output.WriteString(Message); } 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 (Message.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Message); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(UnknownError other) { if (other == null) { return; } if (other.Message.Length != 0) { Message = other.Message; } _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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { Message = input.ReadString(); 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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { Message = input.ReadString(); break; } } } } #endif } } #endregion } } #endregion } } #endregion } /// /// Фильтр для запроса объектов строительства. /// При передаче массива в параметр фильтра элементы массива работают в выборке через ИЛИ. /// При передаче нескольких разных параметров фильтра они работают в выборке через И /// public sealed partial class BuildingFilter : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BuildingFilter()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Keyapis.TelemetryControl.V1.KeyapisTelemetryControlBuildingV1Reflection.Descriptor.MessageTypes[14]; } } [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 BuildingFilter() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public BuildingFilter(BuildingFilter other) : this() { fiasId_ = other.fiasId_.Clone(); Title = other.Title; afterCreatedAt_ = other.afterCreatedAt_ != null ? other.afterCreatedAt_.Clone() : null; beforeCreatedAt_ = other.beforeCreatedAt_ != null ? other.beforeCreatedAt_.Clone() : null; mrfTypes_ = other.mrfTypes_.Clone(); rfTypes_ = other.rfTypes_.Clone(); statusTypes_ = other.statusTypes_.Clone(); orpons_ = other.orpons_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public BuildingFilter Clone() { return new BuildingFilter(this); } /// Field number for the "fias_id" field. public const int FiasIdFieldNumber = 1; private static readonly pb::FieldCodec _repeated_fiasId_codec = pb::FieldCodec.ForClassWrapper(10); private readonly pbc::RepeatedField fiasId_ = new pbc::RepeatedField(); /// /// По ФИАС /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField FiasId { get { return fiasId_; } } /// Field number for the "title" field. public const int TitleFieldNumber = 2; private static readonly pb::FieldCodec _single_title_codec = pb::FieldCodec.ForClassWrapper(18); private string title_; /// /// По заголовку /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Title { get { return title_; } set { title_ = value; } } /// Field number for the "after_created_at" field. public const int AfterCreatedAtFieldNumber = 3; private global::Google.Protobuf.WellKnownTypes.Timestamp afterCreatedAt_; /// /// По нижней границе дате создания /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Google.Protobuf.WellKnownTypes.Timestamp AfterCreatedAt { get { return afterCreatedAt_; } set { afterCreatedAt_ = value; } } /// Field number for the "before_created_at" field. public const int BeforeCreatedAtFieldNumber = 4; private global::Google.Protobuf.WellKnownTypes.Timestamp beforeCreatedAt_; /// /// По верхней границе дате создания /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Google.Protobuf.WellKnownTypes.Timestamp BeforeCreatedAt { get { return beforeCreatedAt_; } set { beforeCreatedAt_ = value; } } /// Field number for the "mrf_types" field. public const int MrfTypesFieldNumber = 5; private static readonly pb::FieldCodec _repeated_mrfTypes_codec = pb::FieldCodec.ForEnum(42, x => (int) x, x => (global::Keyapis.TelemetryControl.V1.Building.Types.MrfType) x); private readonly pbc::RepeatedField mrfTypes_ = new pbc::RepeatedField(); /// /// По МРФ (Макрорегион) /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField MrfTypes { get { return mrfTypes_; } } /// Field number for the "rf_types" field. public const int RfTypesFieldNumber = 6; private static readonly pb::FieldCodec _repeated_rfTypes_codec = pb::FieldCodec.ForEnum(50, x => (int) x, x => (global::Keyapis.TelemetryControl.V1.Building.Types.RfType) x); private readonly pbc::RepeatedField rfTypes_ = new pbc::RepeatedField(); /// /// По РФ (Регион) /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField RfTypes { get { return rfTypes_; } } /// Field number for the "status_types" field. public const int StatusTypesFieldNumber = 7; private static readonly pb::FieldCodec _repeated_statusTypes_codec = pb::FieldCodec.ForEnum(58, x => (int) x, x => (global::Keyapis.TelemetryControl.V1.Building.Types.StatusType) x); private readonly pbc::RepeatedField statusTypes_ = new pbc::RepeatedField(); /// /// По статусам объекта строительства /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField StatusTypes { get { return statusTypes_; } } /// Field number for the "orpons" field. public const int OrponsFieldNumber = 8; private static readonly pb::FieldCodec _repeated_orpons_codec = pb::FieldCodec.ForInt64(66); private readonly pbc::RepeatedField orpons_ = new pbc::RepeatedField(); /// /// По ОРПОНам /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Orpons { get { return orpons_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as BuildingFilter); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(BuildingFilter other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if(!fiasId_.Equals(other.fiasId_)) return false; if (Title != other.Title) return false; if (!object.Equals(AfterCreatedAt, other.AfterCreatedAt)) return false; if (!object.Equals(BeforeCreatedAt, other.BeforeCreatedAt)) return false; if(!mrfTypes_.Equals(other.mrfTypes_)) return false; if(!rfTypes_.Equals(other.rfTypes_)) return false; if(!statusTypes_.Equals(other.statusTypes_)) return false; if(!orpons_.Equals(other.orpons_)) 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; hash ^= fiasId_.GetHashCode(); if (title_ != null) hash ^= Title.GetHashCode(); if (afterCreatedAt_ != null) hash ^= AfterCreatedAt.GetHashCode(); if (beforeCreatedAt_ != null) hash ^= BeforeCreatedAt.GetHashCode(); hash ^= mrfTypes_.GetHashCode(); hash ^= rfTypes_.GetHashCode(); hash ^= statusTypes_.GetHashCode(); hash ^= orpons_.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 fiasId_.WriteTo(output, _repeated_fiasId_codec); if (title_ != null) { _single_title_codec.WriteTagAndValue(output, Title); } if (afterCreatedAt_ != null) { output.WriteRawTag(26); output.WriteMessage(AfterCreatedAt); } if (beforeCreatedAt_ != null) { output.WriteRawTag(34); output.WriteMessage(BeforeCreatedAt); } mrfTypes_.WriteTo(output, _repeated_mrfTypes_codec); rfTypes_.WriteTo(output, _repeated_rfTypes_codec); statusTypes_.WriteTo(output, _repeated_statusTypes_codec); orpons_.WriteTo(output, _repeated_orpons_codec); 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) { fiasId_.WriteTo(ref output, _repeated_fiasId_codec); if (title_ != null) { _single_title_codec.WriteTagAndValue(ref output, Title); } if (afterCreatedAt_ != null) { output.WriteRawTag(26); output.WriteMessage(AfterCreatedAt); } if (beforeCreatedAt_ != null) { output.WriteRawTag(34); output.WriteMessage(BeforeCreatedAt); } mrfTypes_.WriteTo(ref output, _repeated_mrfTypes_codec); rfTypes_.WriteTo(ref output, _repeated_rfTypes_codec); statusTypes_.WriteTo(ref output, _repeated_statusTypes_codec); orpons_.WriteTo(ref output, _repeated_orpons_codec); 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; size += fiasId_.CalculateSize(_repeated_fiasId_codec); if (title_ != null) { size += _single_title_codec.CalculateSizeWithTag(Title); } if (afterCreatedAt_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(AfterCreatedAt); } if (beforeCreatedAt_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(BeforeCreatedAt); } size += mrfTypes_.CalculateSize(_repeated_mrfTypes_codec); size += rfTypes_.CalculateSize(_repeated_rfTypes_codec); size += statusTypes_.CalculateSize(_repeated_statusTypes_codec); size += orpons_.CalculateSize(_repeated_orpons_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(BuildingFilter other) { if (other == null) { return; } fiasId_.Add(other.fiasId_); if (other.title_ != null) { if (title_ == null || other.Title != "") { Title = other.Title; } } if (other.afterCreatedAt_ != null) { if (afterCreatedAt_ == null) { AfterCreatedAt = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } AfterCreatedAt.MergeFrom(other.AfterCreatedAt); } if (other.beforeCreatedAt_ != null) { if (beforeCreatedAt_ == null) { BeforeCreatedAt = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } BeforeCreatedAt.MergeFrom(other.BeforeCreatedAt); } mrfTypes_.Add(other.mrfTypes_); rfTypes_.Add(other.rfTypes_); statusTypes_.Add(other.statusTypes_); orpons_.Add(other.orpons_); _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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { fiasId_.AddEntriesFrom(input, _repeated_fiasId_codec); break; } case 18: { string value = _single_title_codec.Read(input); if (title_ == null || value != "") { Title = value; } break; } case 26: { if (afterCreatedAt_ == null) { AfterCreatedAt = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } input.ReadMessage(AfterCreatedAt); break; } case 34: { if (beforeCreatedAt_ == null) { BeforeCreatedAt = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } input.ReadMessage(BeforeCreatedAt); break; } case 42: case 40: { mrfTypes_.AddEntriesFrom(input, _repeated_mrfTypes_codec); break; } case 50: case 48: { rfTypes_.AddEntriesFrom(input, _repeated_rfTypes_codec); break; } case 58: case 56: { statusTypes_.AddEntriesFrom(input, _repeated_statusTypes_codec); break; } case 66: case 64: { orpons_.AddEntriesFrom(input, _repeated_orpons_codec); 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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { fiasId_.AddEntriesFrom(ref input, _repeated_fiasId_codec); break; } case 18: { string value = _single_title_codec.Read(ref input); if (title_ == null || value != "") { Title = value; } break; } case 26: { if (afterCreatedAt_ == null) { AfterCreatedAt = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } input.ReadMessage(AfterCreatedAt); break; } case 34: { if (beforeCreatedAt_ == null) { BeforeCreatedAt = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } input.ReadMessage(BeforeCreatedAt); break; } case 42: case 40: { mrfTypes_.AddEntriesFrom(ref input, _repeated_mrfTypes_codec); break; } case 50: case 48: { rfTypes_.AddEntriesFrom(ref input, _repeated_rfTypes_codec); break; } case 58: case 56: { statusTypes_.AddEntriesFrom(ref input, _repeated_statusTypes_codec); break; } case 66: case 64: { orpons_.AddEntriesFrom(ref input, _repeated_orpons_codec); break; } } } } #endif } /// /// Фильтр для запроса связей объектов строительства и группы пользователя. /// При передаче массива в параметр фильтра элементы массива работают в выборке через ИЛИ. /// При передаче нескольких разных параметров фильтра они работают в выборке через И /// public sealed partial class BuildingGroupFilter : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BuildingGroupFilter()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Keyapis.TelemetryControl.V1.KeyapisTelemetryControlBuildingV1Reflection.Descriptor.MessageTypes[15]; } } [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 BuildingGroupFilter() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public BuildingGroupFilter(BuildingGroupFilter other) : this() { groupIds_ = other.groupIds_.Clone(); buildingIds_ = other.buildingIds_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public BuildingGroupFilter Clone() { return new BuildingGroupFilter(this); } /// Field number for the "group_ids" field. public const int GroupIdsFieldNumber = 1; private static readonly pb::FieldCodec _repeated_groupIds_codec = pb::FieldCodec.ForString(10); private readonly pbc::RepeatedField groupIds_ = new pbc::RepeatedField(); /// /// По Идентификатору группы пользователя /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField GroupIds { get { return groupIds_; } } /// Field number for the "building_ids" field. public const int BuildingIdsFieldNumber = 2; private static readonly pb::FieldCodec _repeated_buildingIds_codec = pb::FieldCodec.ForInt32(18); private readonly pbc::RepeatedField buildingIds_ = new pbc::RepeatedField(); /// /// По Объекту строительства /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField BuildingIds { get { return buildingIds_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as BuildingGroupFilter); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(BuildingGroupFilter other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if(!groupIds_.Equals(other.groupIds_)) return false; if(!buildingIds_.Equals(other.buildingIds_)) 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; hash ^= groupIds_.GetHashCode(); hash ^= buildingIds_.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 groupIds_.WriteTo(output, _repeated_groupIds_codec); buildingIds_.WriteTo(output, _repeated_buildingIds_codec); 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) { groupIds_.WriteTo(ref output, _repeated_groupIds_codec); buildingIds_.WriteTo(ref output, _repeated_buildingIds_codec); 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; size += groupIds_.CalculateSize(_repeated_groupIds_codec); size += buildingIds_.CalculateSize(_repeated_buildingIds_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(BuildingGroupFilter other) { if (other == null) { return; } groupIds_.Add(other.groupIds_); buildingIds_.Add(other.buildingIds_); _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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { groupIds_.AddEntriesFrom(input, _repeated_groupIds_codec); break; } case 18: case 16: { buildingIds_.AddEntriesFrom(input, _repeated_buildingIds_codec); 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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { groupIds_.AddEntriesFrom(ref input, _repeated_groupIds_codec); break; } case 18: case 16: { buildingIds_.AddEntriesFrom(ref input, _repeated_buildingIds_codec); break; } } } } #endif } /// /// Запрос получения количества объектов строительства /// public sealed partial class GetBuildingCountRequest : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetBuildingCountRequest()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Keyapis.TelemetryControl.V1.KeyapisTelemetryControlBuildingV1Reflection.Descriptor.MessageTypes[16]; } } [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 GetBuildingCountRequest() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetBuildingCountRequest(GetBuildingCountRequest other) : this() { filter_ = other.filter_ != null ? other.filter_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetBuildingCountRequest Clone() { return new GetBuildingCountRequest(this); } /// Field number for the "filter" field. public const int FilterFieldNumber = 1; private global::Keyapis.TelemetryControl.V1.BuildingFilter filter_; /// /// Фильтр по индикаторам /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Keyapis.TelemetryControl.V1.BuildingFilter Filter { get { return filter_; } set { filter_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GetBuildingCountRequest); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GetBuildingCountRequest other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(Filter, other.Filter)) 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 (filter_ != null) hash ^= Filter.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 (filter_ != null) { output.WriteRawTag(10); output.WriteMessage(Filter); } 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 (filter_ != null) { output.WriteRawTag(10); output.WriteMessage(Filter); } 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 (filter_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Filter); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GetBuildingCountRequest other) { if (other == null) { return; } if (other.filter_ != null) { if (filter_ == null) { Filter = new global::Keyapis.TelemetryControl.V1.BuildingFilter(); } Filter.MergeFrom(other.Filter); } _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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { if (filter_ == null) { Filter = new global::Keyapis.TelemetryControl.V1.BuildingFilter(); } input.ReadMessage(Filter); 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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { if (filter_ == null) { Filter = new global::Keyapis.TelemetryControl.V1.BuildingFilter(); } input.ReadMessage(Filter); break; } } } } #endif } /// /// Запрос получения количества связей объектов строительства и группы пользователя /// public sealed partial class GetBuildingGroupCountRequest : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetBuildingGroupCountRequest()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Keyapis.TelemetryControl.V1.KeyapisTelemetryControlBuildingV1Reflection.Descriptor.MessageTypes[17]; } } [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 GetBuildingGroupCountRequest() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetBuildingGroupCountRequest(GetBuildingGroupCountRequest other) : this() { filter_ = other.filter_ != null ? other.filter_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetBuildingGroupCountRequest Clone() { return new GetBuildingGroupCountRequest(this); } /// Field number for the "filter" field. public const int FilterFieldNumber = 1; private global::Keyapis.TelemetryControl.V1.BuildingGroupFilter filter_; /// /// Фильтр связей объектов строительства и группы пользователя /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Keyapis.TelemetryControl.V1.BuildingGroupFilter Filter { get { return filter_; } set { filter_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GetBuildingGroupCountRequest); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GetBuildingGroupCountRequest other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(Filter, other.Filter)) 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 (filter_ != null) hash ^= Filter.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 (filter_ != null) { output.WriteRawTag(10); output.WriteMessage(Filter); } 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 (filter_ != null) { output.WriteRawTag(10); output.WriteMessage(Filter); } 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 (filter_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Filter); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GetBuildingGroupCountRequest other) { if (other == null) { return; } if (other.filter_ != null) { if (filter_ == null) { Filter = new global::Keyapis.TelemetryControl.V1.BuildingGroupFilter(); } Filter.MergeFrom(other.Filter); } _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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { if (filter_ == null) { Filter = new global::Keyapis.TelemetryControl.V1.BuildingGroupFilter(); } input.ReadMessage(Filter); 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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { if (filter_ == null) { Filter = new global::Keyapis.TelemetryControl.V1.BuildingGroupFilter(); } input.ReadMessage(Filter); break; } } } } #endif } /// /// Ответ на запрос получения количества объектов строительства /// public sealed partial class GetBuildingCountResponse : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetBuildingCountResponse()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Keyapis.TelemetryControl.V1.KeyapisTelemetryControlBuildingV1Reflection.Descriptor.MessageTypes[18]; } } [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 GetBuildingCountResponse() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetBuildingCountResponse(GetBuildingCountResponse other) : this() { switch (other.TypeCase) { case TypeOneofCase.Data: Data = other.Data; break; } _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetBuildingCountResponse Clone() { return new GetBuildingCountResponse(this); } /// Field number for the "data" field. public const int DataFieldNumber = 1; /// /// Всего индикаторов /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Data { get { return HasData ? (int) type_ : 0; } set { type_ = value; typeCase_ = TypeOneofCase.Data; } } /// Gets whether the "data" field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool HasData { get { return typeCase_ == TypeOneofCase.Data; } } /// Clears the value of the oneof if it's currently set to "data" [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void ClearData() { if (HasData) { ClearType(); } } private object type_; /// Enum of possible cases for the "type" oneof. public enum TypeOneofCase { None = 0, Data = 1, } private TypeOneofCase typeCase_ = TypeOneofCase.None; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public TypeOneofCase TypeCase { get { return typeCase_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void ClearType() { typeCase_ = TypeOneofCase.None; type_ = null; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GetBuildingCountResponse); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GetBuildingCountResponse other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Data != other.Data) return false; if (TypeCase != other.TypeCase) 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 (HasData) hash ^= Data.GetHashCode(); hash ^= (int) typeCase_; 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 (HasData) { output.WriteRawTag(8); output.WriteInt32(Data); } 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 (HasData) { output.WriteRawTag(8); output.WriteInt32(Data); } 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 (HasData) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Data); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GetBuildingCountResponse other) { if (other == null) { return; } switch (other.TypeCase) { case TypeOneofCase.Data: Data = other.Data; break; } _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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { Data = 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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { Data = input.ReadInt32(); break; } } } } #endif } /// /// Ответ на запрос получения количества связей объектов строительства и группы пользователя /// public sealed partial class GetBuildingGroupCountResponse : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetBuildingGroupCountResponse()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Keyapis.TelemetryControl.V1.KeyapisTelemetryControlBuildingV1Reflection.Descriptor.MessageTypes[19]; } } [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 GetBuildingGroupCountResponse() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetBuildingGroupCountResponse(GetBuildingGroupCountResponse other) : this() { switch (other.TypeCase) { case TypeOneofCase.Data: Data = other.Data; break; } _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetBuildingGroupCountResponse Clone() { return new GetBuildingGroupCountResponse(this); } /// Field number for the "data" field. public const int DataFieldNumber = 1; /// /// Всего связей объектов строительства и группы пользователя /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Data { get { return HasData ? (int) type_ : 0; } set { type_ = value; typeCase_ = TypeOneofCase.Data; } } /// Gets whether the "data" field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool HasData { get { return typeCase_ == TypeOneofCase.Data; } } /// Clears the value of the oneof if it's currently set to "data" [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void ClearData() { if (HasData) { ClearType(); } } private object type_; /// Enum of possible cases for the "type" oneof. public enum TypeOneofCase { None = 0, Data = 1, } private TypeOneofCase typeCase_ = TypeOneofCase.None; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public TypeOneofCase TypeCase { get { return typeCase_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void ClearType() { typeCase_ = TypeOneofCase.None; type_ = null; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GetBuildingGroupCountResponse); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GetBuildingGroupCountResponse other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Data != other.Data) return false; if (TypeCase != other.TypeCase) 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 (HasData) hash ^= Data.GetHashCode(); hash ^= (int) typeCase_; 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 (HasData) { output.WriteRawTag(8); output.WriteInt32(Data); } 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 (HasData) { output.WriteRawTag(8); output.WriteInt32(Data); } 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 (HasData) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Data); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GetBuildingGroupCountResponse other) { if (other == null) { return; } switch (other.TypeCase) { case TypeOneofCase.Data: Data = other.Data; break; } _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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { Data = 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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { Data = input.ReadInt32(); break; } } } } #endif } /// /// Запрос удаления объекта строительства /// public sealed partial class DeleteBuildingRequest : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DeleteBuildingRequest()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Keyapis.TelemetryControl.V1.KeyapisTelemetryControlBuildingV1Reflection.Descriptor.MessageTypes[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 DeleteBuildingRequest() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public DeleteBuildingRequest(DeleteBuildingRequest other) : this() { id_ = other.id_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public DeleteBuildingRequest Clone() { return new DeleteBuildingRequest(this); } /// Field number for the "id" field. public const int IdFieldNumber = 1; private int id_; /// /// Идентификатор /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Id { get { return id_; } set { id_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as DeleteBuildingRequest); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(DeleteBuildingRequest other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Id != other.Id) 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 (Id != 0) hash ^= Id.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 (Id != 0) { output.WriteRawTag(8); output.WriteInt32(Id); } 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 (Id != 0) { output.WriteRawTag(8); output.WriteInt32(Id); } 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 (Id != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(DeleteBuildingRequest other) { if (other == null) { return; } if (other.Id != 0) { Id = other.Id; } _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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { Id = 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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { Id = input.ReadInt32(); break; } } } } #endif } /// /// Ответ на запрос удаления объекта строительства /// public sealed partial class DeleteBuildingResponse : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DeleteBuildingResponse()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Keyapis.TelemetryControl.V1.KeyapisTelemetryControlBuildingV1Reflection.Descriptor.MessageTypes[21]; } } [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 DeleteBuildingResponse() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public DeleteBuildingResponse(DeleteBuildingResponse other) : this() { _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public DeleteBuildingResponse Clone() { return new DeleteBuildingResponse(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as DeleteBuildingResponse); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(DeleteBuildingResponse other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; 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 (_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 (_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 (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(DeleteBuildingResponse other) { if (other == null) { return; } _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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); 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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; } } } #endif } /// /// Запрос удаления связей объектов строительства и группы пользователя /// public sealed partial class PutBuildingGroupDetachRequest : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PutBuildingGroupDetachRequest()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Keyapis.TelemetryControl.V1.KeyapisTelemetryControlBuildingV1Reflection.Descriptor.MessageTypes[22]; } } [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 PutBuildingGroupDetachRequest() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public PutBuildingGroupDetachRequest(PutBuildingGroupDetachRequest other) : this() { buildingGroup_ = other.buildingGroup_ != null ? other.buildingGroup_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public PutBuildingGroupDetachRequest Clone() { return new PutBuildingGroupDetachRequest(this); } /// Field number for the "building_group" field. public const int BuildingGroupFieldNumber = 1; private global::Keyapis.TelemetryControl.V1.BuildingGroup buildingGroup_; /// /// Связь объекта строительства и группы пользователя /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Keyapis.TelemetryControl.V1.BuildingGroup BuildingGroup { get { return buildingGroup_; } set { buildingGroup_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as PutBuildingGroupDetachRequest); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(PutBuildingGroupDetachRequest other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(BuildingGroup, other.BuildingGroup)) 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 (buildingGroup_ != null) hash ^= BuildingGroup.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 (buildingGroup_ != null) { output.WriteRawTag(10); output.WriteMessage(BuildingGroup); } 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 (buildingGroup_ != null) { output.WriteRawTag(10); output.WriteMessage(BuildingGroup); } 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 (buildingGroup_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(BuildingGroup); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(PutBuildingGroupDetachRequest other) { if (other == null) { return; } if (other.buildingGroup_ != null) { if (buildingGroup_ == null) { BuildingGroup = new global::Keyapis.TelemetryControl.V1.BuildingGroup(); } BuildingGroup.MergeFrom(other.BuildingGroup); } _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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { if (buildingGroup_ == null) { BuildingGroup = new global::Keyapis.TelemetryControl.V1.BuildingGroup(); } input.ReadMessage(BuildingGroup); 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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { if (buildingGroup_ == null) { BuildingGroup = new global::Keyapis.TelemetryControl.V1.BuildingGroup(); } input.ReadMessage(BuildingGroup); break; } } } } #endif } /// /// Ответ на запрос удаления связи объекта строительства и группы пользователя /// public sealed partial class PutBuildingGroupDetachResponse : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PutBuildingGroupDetachResponse()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Keyapis.TelemetryControl.V1.KeyapisTelemetryControlBuildingV1Reflection.Descriptor.MessageTypes[23]; } } [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 PutBuildingGroupDetachResponse() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public PutBuildingGroupDetachResponse(PutBuildingGroupDetachResponse other) : this() { _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public PutBuildingGroupDetachResponse Clone() { return new PutBuildingGroupDetachResponse(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as PutBuildingGroupDetachResponse); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(PutBuildingGroupDetachResponse other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; 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 (_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 (_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 (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(PutBuildingGroupDetachResponse other) { if (other == null) { return; } _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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); 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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; } } } #endif } /// /// Объект строительства /// public sealed partial class Building : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Building()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Keyapis.TelemetryControl.V1.KeyapisTelemetryControlBuildingV1Reflection.Descriptor.MessageTypes[24]; } } [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 Building() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Building(Building other) : this() { id_ = other.id_; title_ = other.title_; createdAt_ = other.createdAt_ != null ? other.createdAt_.Clone() : null; changedAt_ = other.changedAt_ != null ? other.changedAt_.Clone() : null; utcOffset_ = other.utcOffset_; FiasId = other.FiasId; mrfType_ = other.mrfType_; rfType_ = other.rfType_; statusType_ = other.statusType_; fullAddress_ = other.fullAddress_; orpon_ = other.orpon_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Building Clone() { return new Building(this); } /// Field number for the "id" field. public const int IdFieldNumber = 1; private int id_; /// /// Идентификатор /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Id { get { return id_; } set { id_ = value; } } /// Field number for the "title" field. public const int TitleFieldNumber = 2; private string title_ = ""; /// /// Наименование объекта строительства /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Title { get { return title_; } set { title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "created_at" field. public const int CreatedAtFieldNumber = 3; private global::Google.Protobuf.WellKnownTypes.Timestamp createdAt_; /// /// Дата создания /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Google.Protobuf.WellKnownTypes.Timestamp CreatedAt { get { return createdAt_; } set { createdAt_ = value; } } /// Field number for the "changed_at" field. public const int ChangedAtFieldNumber = 4; private global::Google.Protobuf.WellKnownTypes.Timestamp changedAt_; /// /// Дата последнего изменения. /// Заполняется и обновляется сервером. /// Заполняется при создании и изменении. /// Является версией объекта /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Google.Protobuf.WellKnownTypes.Timestamp ChangedAt { get { return changedAt_; } set { changedAt_ = value; } } /// Field number for the "utc_offset" field. public const int UtcOffsetFieldNumber = 5; private int utcOffset_; /// /// Смещение временной зоны объекта строительства от UTC в минутах /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int UtcOffset { get { return utcOffset_; } set { utcOffset_ = value; } } /// Field number for the "fias_id" field. public const int FiasIdFieldNumber = 6; private static readonly pb::FieldCodec _single_fiasId_codec = pb::FieldCodec.ForClassWrapper(50); private string fiasId_; /// /// ФИАС /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string FiasId { get { return fiasId_; } set { fiasId_ = value; } } /// Field number for the "mrf_type" field. public const int MrfTypeFieldNumber = 7; private global::Keyapis.TelemetryControl.V1.Building.Types.MrfType mrfType_ = global::Keyapis.TelemetryControl.V1.Building.Types.MrfType.Unknown; /// /// Принадлежность объекта строительства к МРФ /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Keyapis.TelemetryControl.V1.Building.Types.MrfType MrfType { get { return mrfType_; } set { mrfType_ = value; } } /// Field number for the "rf_type" field. public const int RfTypeFieldNumber = 8; private global::Keyapis.TelemetryControl.V1.Building.Types.RfType rfType_ = global::Keyapis.TelemetryControl.V1.Building.Types.RfType.Unknown; /// /// Принадлежность объекта строительства к РФ /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Keyapis.TelemetryControl.V1.Building.Types.RfType RfType { get { return rfType_; } set { rfType_ = value; } } /// Field number for the "status_type" field. public const int StatusTypeFieldNumber = 9; private global::Keyapis.TelemetryControl.V1.Building.Types.StatusType statusType_ = global::Keyapis.TelemetryControl.V1.Building.Types.StatusType.Unknown; /// /// Статус объекта строительства /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Keyapis.TelemetryControl.V1.Building.Types.StatusType StatusType { get { return statusType_; } set { statusType_ = value; } } /// Field number for the "full_address" field. public const int FullAddressFieldNumber = 10; private string fullAddress_ = ""; /// /// Адрес объекта строительства /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string FullAddress { get { return fullAddress_; } set { fullAddress_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "orpon" field. public const int OrponFieldNumber = 11; private long orpon_; /// /// ОРПОН /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long Orpon { get { return orpon_; } set { orpon_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as Building); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(Building other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Id != other.Id) return false; if (Title != other.Title) return false; if (!object.Equals(CreatedAt, other.CreatedAt)) return false; if (!object.Equals(ChangedAt, other.ChangedAt)) return false; if (UtcOffset != other.UtcOffset) return false; if (FiasId != other.FiasId) return false; if (MrfType != other.MrfType) return false; if (RfType != other.RfType) return false; if (StatusType != other.StatusType) return false; if (FullAddress != other.FullAddress) return false; if (Orpon != other.Orpon) 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 (Id != 0) hash ^= Id.GetHashCode(); if (Title.Length != 0) hash ^= Title.GetHashCode(); if (createdAt_ != null) hash ^= CreatedAt.GetHashCode(); if (changedAt_ != null) hash ^= ChangedAt.GetHashCode(); if (UtcOffset != 0) hash ^= UtcOffset.GetHashCode(); if (fiasId_ != null) hash ^= FiasId.GetHashCode(); if (MrfType != global::Keyapis.TelemetryControl.V1.Building.Types.MrfType.Unknown) hash ^= MrfType.GetHashCode(); if (RfType != global::Keyapis.TelemetryControl.V1.Building.Types.RfType.Unknown) hash ^= RfType.GetHashCode(); if (StatusType != global::Keyapis.TelemetryControl.V1.Building.Types.StatusType.Unknown) hash ^= StatusType.GetHashCode(); if (FullAddress.Length != 0) hash ^= FullAddress.GetHashCode(); if (Orpon != 0L) hash ^= Orpon.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 (Id != 0) { output.WriteRawTag(8); output.WriteInt32(Id); } if (Title.Length != 0) { output.WriteRawTag(18); output.WriteString(Title); } if (createdAt_ != null) { output.WriteRawTag(26); output.WriteMessage(CreatedAt); } if (changedAt_ != null) { output.WriteRawTag(34); output.WriteMessage(ChangedAt); } if (UtcOffset != 0) { output.WriteRawTag(40); output.WriteInt32(UtcOffset); } if (fiasId_ != null) { _single_fiasId_codec.WriteTagAndValue(output, FiasId); } if (MrfType != global::Keyapis.TelemetryControl.V1.Building.Types.MrfType.Unknown) { output.WriteRawTag(56); output.WriteEnum((int) MrfType); } if (RfType != global::Keyapis.TelemetryControl.V1.Building.Types.RfType.Unknown) { output.WriteRawTag(64); output.WriteEnum((int) RfType); } if (StatusType != global::Keyapis.TelemetryControl.V1.Building.Types.StatusType.Unknown) { output.WriteRawTag(72); output.WriteEnum((int) StatusType); } if (FullAddress.Length != 0) { output.WriteRawTag(82); output.WriteString(FullAddress); } if (Orpon != 0L) { output.WriteRawTag(88); output.WriteInt64(Orpon); } 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 (Id != 0) { output.WriteRawTag(8); output.WriteInt32(Id); } if (Title.Length != 0) { output.WriteRawTag(18); output.WriteString(Title); } if (createdAt_ != null) { output.WriteRawTag(26); output.WriteMessage(CreatedAt); } if (changedAt_ != null) { output.WriteRawTag(34); output.WriteMessage(ChangedAt); } if (UtcOffset != 0) { output.WriteRawTag(40); output.WriteInt32(UtcOffset); } if (fiasId_ != null) { _single_fiasId_codec.WriteTagAndValue(ref output, FiasId); } if (MrfType != global::Keyapis.TelemetryControl.V1.Building.Types.MrfType.Unknown) { output.WriteRawTag(56); output.WriteEnum((int) MrfType); } if (RfType != global::Keyapis.TelemetryControl.V1.Building.Types.RfType.Unknown) { output.WriteRawTag(64); output.WriteEnum((int) RfType); } if (StatusType != global::Keyapis.TelemetryControl.V1.Building.Types.StatusType.Unknown) { output.WriteRawTag(72); output.WriteEnum((int) StatusType); } if (FullAddress.Length != 0) { output.WriteRawTag(82); output.WriteString(FullAddress); } if (Orpon != 0L) { output.WriteRawTag(88); output.WriteInt64(Orpon); } 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 (Id != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id); } if (Title.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); } if (createdAt_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(CreatedAt); } if (changedAt_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(ChangedAt); } if (UtcOffset != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(UtcOffset); } if (fiasId_ != null) { size += _single_fiasId_codec.CalculateSizeWithTag(FiasId); } if (MrfType != global::Keyapis.TelemetryControl.V1.Building.Types.MrfType.Unknown) { size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) MrfType); } if (RfType != global::Keyapis.TelemetryControl.V1.Building.Types.RfType.Unknown) { size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) RfType); } if (StatusType != global::Keyapis.TelemetryControl.V1.Building.Types.StatusType.Unknown) { size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) StatusType); } if (FullAddress.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(FullAddress); } if (Orpon != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(Orpon); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(Building other) { if (other == null) { return; } if (other.Id != 0) { Id = other.Id; } if (other.Title.Length != 0) { Title = other.Title; } if (other.createdAt_ != null) { if (createdAt_ == null) { CreatedAt = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } CreatedAt.MergeFrom(other.CreatedAt); } if (other.changedAt_ != null) { if (changedAt_ == null) { ChangedAt = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } ChangedAt.MergeFrom(other.ChangedAt); } if (other.UtcOffset != 0) { UtcOffset = other.UtcOffset; } if (other.fiasId_ != null) { if (fiasId_ == null || other.FiasId != "") { FiasId = other.FiasId; } } if (other.MrfType != global::Keyapis.TelemetryControl.V1.Building.Types.MrfType.Unknown) { MrfType = other.MrfType; } if (other.RfType != global::Keyapis.TelemetryControl.V1.Building.Types.RfType.Unknown) { RfType = other.RfType; } if (other.StatusType != global::Keyapis.TelemetryControl.V1.Building.Types.StatusType.Unknown) { StatusType = other.StatusType; } if (other.FullAddress.Length != 0) { FullAddress = other.FullAddress; } if (other.Orpon != 0L) { Orpon = other.Orpon; } _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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { Id = input.ReadInt32(); break; } case 18: { Title = input.ReadString(); break; } case 26: { if (createdAt_ == null) { CreatedAt = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } input.ReadMessage(CreatedAt); break; } case 34: { if (changedAt_ == null) { ChangedAt = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } input.ReadMessage(ChangedAt); break; } case 40: { UtcOffset = input.ReadInt32(); break; } case 50: { string value = _single_fiasId_codec.Read(input); if (fiasId_ == null || value != "") { FiasId = value; } break; } case 56: { MrfType = (global::Keyapis.TelemetryControl.V1.Building.Types.MrfType) input.ReadEnum(); break; } case 64: { RfType = (global::Keyapis.TelemetryControl.V1.Building.Types.RfType) input.ReadEnum(); break; } case 72: { StatusType = (global::Keyapis.TelemetryControl.V1.Building.Types.StatusType) input.ReadEnum(); break; } case 82: { FullAddress = input.ReadString(); break; } case 88: { Orpon = input.ReadInt64(); 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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { Id = input.ReadInt32(); break; } case 18: { Title = input.ReadString(); break; } case 26: { if (createdAt_ == null) { CreatedAt = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } input.ReadMessage(CreatedAt); break; } case 34: { if (changedAt_ == null) { ChangedAt = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } input.ReadMessage(ChangedAt); break; } case 40: { UtcOffset = input.ReadInt32(); break; } case 50: { string value = _single_fiasId_codec.Read(ref input); if (fiasId_ == null || value != "") { FiasId = value; } break; } case 56: { MrfType = (global::Keyapis.TelemetryControl.V1.Building.Types.MrfType) input.ReadEnum(); break; } case 64: { RfType = (global::Keyapis.TelemetryControl.V1.Building.Types.RfType) input.ReadEnum(); break; } case 72: { StatusType = (global::Keyapis.TelemetryControl.V1.Building.Types.StatusType) input.ReadEnum(); break; } case 82: { FullAddress = input.ReadString(); break; } case 88: { Orpon = input.ReadInt64(); break; } } } } #endif #region Nested types /// Container for nested types declared in the Building message type. [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static partial class Types { /// /// Справочник МРФ (Макрорегионы) /// public enum MrfType { /// /// Значение не указано /// [pbr::OriginalName("MRF_TYPE_UNKNOWN")] Unknown = 0, /// /// Центр /// [pbr::OriginalName("TSENTR")] Tsentr = 1, /// /// Юг /// [pbr::OriginalName("YUG")] Yug = 2, /// /// Урал /// [pbr::OriginalName("URAL")] Ural = 3, /// /// Сибирь /// [pbr::OriginalName("SIBIR")] Sibir = 4, /// /// Северо-Запад /// [pbr::OriginalName("SEVERO_ZAPAD")] SeveroZapad = 5, /// ///Дальний Восток /// [pbr::OriginalName("DALNIY_VOSTOK")] DalniyVostok = 6, /// /// Волга /// [pbr::OriginalName("VOLGA")] Volga = 7, } /// /// Справочник РФ (Регионы) /// public enum RfType { /// /// Значение не указано /// [pbr::OriginalName("RF_TYPE_UNKNOWN")] Unknown = 0, /// /// Республика Башкортостан /// [pbr::OriginalName("UFA")] Ufa = 1, /// /// Кировская область /// [pbr::OriginalName("KIROV")] Kirov = 2, /// /// Ивановский филиал /// [pbr::OriginalName("IVANOVO")] Ivanovo = 3, /// /// Калужский филиал /// [pbr::OriginalName("KALUGA")] Kaluga = 4, /// /// Костромской филиал /// [pbr::OriginalName("KOSTROMA")] Kostroma = 5, /// /// Курский филиал /// [pbr::OriginalName("KURSK")] Kursk = 6, /// /// Липецкий филиал /// [pbr::OriginalName("LIPETSK")] Lipetsk = 7, /// /// Московская область /// [pbr::OriginalName("MOSOBLAST")] Mosoblast = 8, /// /// Орловский филиал /// [pbr::OriginalName("OREL")] Orel = 9, /// /// Рязанский филиал /// [pbr::OriginalName("RYAZAN")] Ryazan = 10, /// /// Тамбовский филиал /// [pbr::OriginalName("TAMBOV")] Tambov = 11, /// /// Тверской филиал /// [pbr::OriginalName("TVER")] Tver = 12, /// /// Ярославский филиал /// [pbr::OriginalName("YAROSLAVL")] Yaroslavl = 13, /// /// Смоленский филиал /// [pbr::OriginalName("SMOLENSK")] Smolensk = 14, /// /// Тульский филиал /// [pbr::OriginalName("TULA")] Tula = 15, /// /// Москва /// [pbr::OriginalName("MOSCOW")] Moscow = 16, /// /// ЕАО /// [pbr::OriginalName("EAO")] Eao = 17, /// /// Филиал в Тюменской и Курганской областях /// [pbr::OriginalName("KURGAN")] Kurgan = 18, /// /// Филиал в Тюменской и Курганской областях /// [pbr::OriginalName("TUMEN")] Tumen = 19, /// /// Ханты-Мансийский филиал /// [pbr::OriginalName("HANTY")] Hanty = 20, /// /// Амурская область /// [pbr::OriginalName("AMUR")] Amur = 21, /// /// Камчатский край /// [pbr::OriginalName("KAMCHATKA")] Kamchatka = 22, /// /// Магаданская область /// [pbr::OriginalName("MAGADAN")] Magadan = 23, /// /// Приморский край /// [pbr::OriginalName("PRIMORYE")] Primorye = 24, /// /// Сахалинская область /// [pbr::OriginalName("SAKHALIN")] Sakhalin = 25, /// /// Хабаровский край /// [pbr::OriginalName("KHABAROVSK")] Khabarovsk = 26, /// /// Забайкальский край /// [pbr::OriginalName("CHITA")] Chita = 27, /// /// ЧАО /// [pbr::OriginalName("CHUKOTKA")] Chukotka = 28, /// /// Архангельск /// [pbr::OriginalName("ARCHANGELSK")] Archangelsk = 29, /// /// Вологда /// [pbr::OriginalName("VOLOGDA")] Vologda = 30, /// /// Калининград /// [pbr::OriginalName("KALININGRAD")] Kaliningrad = 31, /// /// Карелия /// [pbr::OriginalName("KARELIA")] Karelia = 32, /// /// Коми /// [pbr::OriginalName("KOMI")] Komi = 33, /// /// Лен область /// [pbr::OriginalName("LENOBLAST")] Lenoblast = 34, /// /// Мурманск /// [pbr::OriginalName("MURMANSK")] Murmansk = 35, /// /// Новгород /// [pbr::OriginalName("NOVGOROD")] Novgorod = 36, /// /// Псков /// [pbr::OriginalName("PSKOV")] Pskov = 37, /// /// СПб /// [pbr::OriginalName("SPB")] Spb = 38, /// /// Алтайский филиал /// [pbr::OriginalName("ALTAI")] Altai = 39, /// /// Бурятский филиал /// [pbr::OriginalName("BURYATIYA")] Buryatiya = 40, /// /// Иркутский филиал /// [pbr::OriginalName("IRKUTSK")] Irkutsk = 41, /// /// Кемеровский филиал /// [pbr::OriginalName("KEMEROVO")] Kemerovo = 42, /// /// Красноярский филиал /// [pbr::OriginalName("KRASNOYARSK")] Krasnoyarsk = 43, /// /// Омский филиал /// [pbr::OriginalName("OMSK")] Omsk = 44, /// /// Республика Хакасия /// [pbr::OriginalName("HAKASIYA")] Hakasiya = 45, /// /// Республика Алтай /// [pbr::OriginalName("RALTAY")] Raltay = 46, /// /// Республика Тыва /// [pbr::OriginalName("TUVA")] Tuva = 47, /// /// Томский филиал /// [pbr::OriginalName("TOMSK")] Tomsk = 48, /// /// Оренбургская область /// [pbr::OriginalName("ORENBURG")] Orenburg = 49, /// /// Белгородский филиал /// [pbr::OriginalName("BELGOROD")] Belgorod = 50, /// /// Саха /// [pbr::OriginalName("SAKHA")] Sakha = 51, /// /// Екатеринбургский филиал /// [pbr::OriginalName("EKT")] Ekt = 52, /// /// Волгоградский филиал /// [pbr::OriginalName("VOLGOGRAD")] Volgograd = 53, /// /// Ямало-Ненецкий филиал /// [pbr::OriginalName("YAMAL")] Yamal = 54, /// /// Челябинский филиал /// [pbr::OriginalName("CHELYABINSK")] Chelyabinsk = 55, /// /// Пермский филиал ПАО "Ростелеком" /// [pbr::OriginalName("PERM")] Perm = 56, /// /// Республика Марий Эл /// [pbr::OriginalName("MARYEL")] Maryel = 57, /// /// Пензенская область /// [pbr::OriginalName("PENZA")] Penza = 58, /// /// Ингушский филиал /// [pbr::OriginalName("INGUSHETIA")] Ingushetia = 59, /// /// Кабардино-Балкарский филиал /// [pbr::OriginalName("NALCHIK")] Nalchik = 60, /// /// Калмыцкий филиал /// [pbr::OriginalName("ELISTA")] Elista = 61, /// /// Ростовский филиал /// [pbr::OriginalName("ROSTOV")] Rostov = 62, /// /// Дагестанский филиал /// [pbr::OriginalName("MAHACHKALA")] Mahachkala = 63, /// /// Республика Мордовия /// [pbr::OriginalName("MORDOVIYA")] Mordoviya = 64, /// /// Республика Татарстан (Татарстан) /// [pbr::OriginalName("KAZAN")] Kazan = 65, /// /// Самарская область /// [pbr::OriginalName("SAMARA")] Samara = 66, /// /// Саратовская область /// [pbr::OriginalName("SARATOV")] Saratov = 67, /// /// Удмуртская Республика /// [pbr::OriginalName("UDMURTIYA")] Udmurtiya = 68, /// /// Ульяновская область /// [pbr::OriginalName("ULYANOVSK")] Ulyanovsk = 69, /// /// Чувашская Республика - Чувашия /// [pbr::OriginalName("CHUVASHIYA")] Chuvashiya = 70, /// /// Нижегородская область /// [pbr::OriginalName("NNOVGOROD")] Nnovgorod = 71, /// /// Брянский филиал /// [pbr::OriginalName("BRYANSK")] Bryansk = 72, /// /// Владимирский филиал /// [pbr::OriginalName("VLADIMIR")] Vladimir = 73, /// /// Воронежский филиал /// [pbr::OriginalName("VORONEZH")] Voronezh = 74, /// /// Северо-Осетинский филиал /// [pbr::OriginalName("VLADIKAVKAZ")] Vladikavkaz = 75, /// /// Ставропольский филиал /// [pbr::OriginalName("STAVROPOL")] Stavropol = 76, /// /// Республика Карачаево-Черкесская /// [pbr::OriginalName("CHERKESSK")] Cherkessk = 77, /// /// Республика Адыгея /// [pbr::OriginalName("MAYKOP")] Maykop = 78, /// /// Астраханский филиал /// [pbr::OriginalName("ASTRAKHAN")] Astrakhan = 79, /// /// Краснодарский филиал /// [pbr::OriginalName("KRASNODAR")] Krasnodar = 80, /// /// Тестовый /// [pbr::OriginalName("TEST")] Test = 81, /// /// Новосибирский филиал /// [pbr::OriginalName("NOVOSIBIRSK")] Novosibirsk = 82, } /// /// Статусы объектов строительства /// public enum StatusType { /// /// Значение не указано /// [pbr::OriginalName("STATUS_TYPE_UNKNOWN")] Unknown = 0, /// /// СМР /// [pbr::OriginalName("BUILDING")] Building = 1, /// /// Реализован /// [pbr::OriginalName("ACCEPTANCE")] Acceptance = 2, /// /// Обслуживание /// [pbr::OriginalName("ACTIVE")] Active = 3, /// /// Снят с обслуживания /// [pbr::OriginalName("ARCHIVE")] Archive = 4, /// /// Отказ от заключения договора /// [pbr::OriginalName("CANCELLED")] Cancelled = 5, /// /// Тестовый /// [pbr::OriginalName("TEST_STATUS_TYPE")] TestStatusType = 6, } } #endregion } /// /// Связка объекта строительства и группы пользователя. /// Задает область ресурсов (resource scope), доступную пользователю. /// Используется для контроля доступа к объекту строительства /// public sealed partial class BuildingGroup : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BuildingGroup()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Keyapis.TelemetryControl.V1.KeyapisTelemetryControlBuildingV1Reflection.Descriptor.MessageTypes[25]; } } [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 BuildingGroup() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public BuildingGroup(BuildingGroup other) : this() { groupId_ = other.groupId_; buildingId_ = other.buildingId_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public BuildingGroup Clone() { return new BuildingGroup(this); } /// Field number for the "group_id" field. public const int GroupIdFieldNumber = 1; private string groupId_ = ""; /// /// Идентификатор группы. /// # Тип: Guid /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string GroupId { get { return groupId_; } set { groupId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "building_id" field. public const int BuildingIdFieldNumber = 2; private int buildingId_; /// /// Идентификатор объекта строительства. /// # Диапазон: 0..2147483647 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int BuildingId { get { return buildingId_; } set { buildingId_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as BuildingGroup); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(BuildingGroup other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (GroupId != other.GroupId) return false; if (BuildingId != other.BuildingId) 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 (GroupId.Length != 0) hash ^= GroupId.GetHashCode(); if (BuildingId != 0) hash ^= BuildingId.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 (GroupId.Length != 0) { output.WriteRawTag(10); output.WriteString(GroupId); } if (BuildingId != 0) { output.WriteRawTag(16); output.WriteInt32(BuildingId); } 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 (GroupId.Length != 0) { output.WriteRawTag(10); output.WriteString(GroupId); } if (BuildingId != 0) { output.WriteRawTag(16); output.WriteInt32(BuildingId); } 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 (GroupId.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(GroupId); } if (BuildingId != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(BuildingId); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(BuildingGroup other) { if (other == null) { return; } if (other.GroupId.Length != 0) { GroupId = other.GroupId; } if (other.BuildingId != 0) { BuildingId = other.BuildingId; } _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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { GroupId = input.ReadString(); break; } case 16: { BuildingId = 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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { GroupId = input.ReadString(); break; } case 16: { BuildingId = input.ReadInt32(); break; } } } } #endif } #endregion } #endregion Designer generated code