// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: keyapis/telemetry_control/v1/keyapis_telemetry_control_building_gis_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_gis_v1.proto public static partial class KeyapisTelemetryControlBuildingGisV1Reflection { #region Descriptor /// File descriptor for keyapis/telemetry_control/v1/keyapis_telemetry_control_building_gis_v1.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static KeyapisTelemetryControlBuildingGisV1Reflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CkxrZXlhcGlzL3RlbGVtZXRyeV9jb250cm9sL3YxL2tleWFwaXNfdGVsZW1l", "dHJ5X2NvbnRyb2xfYnVpbGRpbmdfZ2lzX3YxLnByb3RvEhxrZXlhcGlzLnRl", "bGVtZXRyeV9jb250cm9sLnYxGhxnb29nbGUvYXBpL2Fubm90YXRpb25zLnBy", "b3RvGh9nb29nbGUvYXBpL2ZpZWxkX2JlaGF2aW9yLnByb3RvImkKH1B1dEJ1", "aWxkaW5nR2lzQXR0cmlidXRlc1JlcXVlc3QSRgoEZGF0YRgBIAEoCzIzLmtl", "eWFwaXMudGVsZW1ldHJ5X2NvbnRyb2wudjEuQnVpbGRpbmdHaXNBdHRyaWJ1", "dGVzQgPgQQIibwogUHV0QnVpbGRpbmdHaXNBdHRyaWJ1dGVzUmVzcG9uc2US", "QwoEZGF0YRgBIAEoCzIzLmtleWFwaXMudGVsZW1ldHJ5X2NvbnRyb2wudjEu", "QnVpbGRpbmdHaXNBdHRyaWJ1dGVzSABCBgoEdHlwZSIyCh9HZXRCdWlsZGlu", "Z0dpc0F0dHJpYnV0ZXNSZXF1ZXN0Eg8KAmlkGAEgASgFQgPgQQIibwogR2V0", "QnVpbGRpbmdHaXNBdHRyaWJ1dGVzUmVzcG9uc2USQwoEZGF0YRgBIAEoCzIz", "LmtleWFwaXMudGVsZW1ldHJ5X2NvbnRyb2wudjEuQnVpbGRpbmdHaXNBdHRy", "aWJ1dGVzSABCBgoEdHlwZSL+AwoVQnVpbGRpbmdHaXNBdHRyaWJ1dGVzEg8K", "AmlkGAEgASgFQgPgQQISUQoJaG90X3dhdGVyGAIgASgLMj4ua2V5YXBpcy50", "ZWxlbWV0cnlfY29udHJvbC52MS5CdWlsZGluZ0dpc0F0dHJpYnV0ZXMuQXR0", "cmlidXRlcxJSCgpjb2xkX3dhdGVyGAMgASgLMj4ua2V5YXBpcy50ZWxlbWV0", "cnlfY29udHJvbC52MS5CdWlsZGluZ0dpc0F0dHJpYnV0ZXMuQXR0cmlidXRl", "cxJMCgRoZWF0GAQgASgLMj4ua2V5YXBpcy50ZWxlbWV0cnlfY29udHJvbC52", "MS5CdWlsZGluZ0dpc0F0dHJpYnV0ZXMuQXR0cmlidXRlcxJLCgNnYXMYBSAB", "KAsyPi5rZXlhcGlzLnRlbGVtZXRyeV9jb250cm9sLnYxLkJ1aWxkaW5nR2lz", "QXR0cmlidXRlcy5BdHRyaWJ1dGVzElMKC2VsZWN0cmljaXR5GAYgASgLMj4u", "a2V5YXBpcy50ZWxlbWV0cnlfY29udHJvbC52MS5CdWlsZGluZ0dpc0F0dHJp", "YnV0ZXMuQXR0cmlidXRlcxo9CgpBdHRyaWJ1dGVzEhcKCmlzX2VuYWJsZWQY", "ASABKAhCA+BBAhIWCglzdGFydF9kYXkYAiABKAVCA+BBAjLUAwoSQnVpbGRp", "bmdHaXNTZXJ2aWNlEtkBChhHZXRCdWlsZGluZ0dpc0F0dHJpYnV0ZXMSPS5r", "ZXlhcGlzLnRlbGVtZXRyeV9jb250cm9sLnYxLkdldEJ1aWxkaW5nR2lzQXR0", "cmlidXRlc1JlcXVlc3QaPi5rZXlhcGlzLnRlbGVtZXRyeV9jb250cm9sLnYx", "LkdldEJ1aWxkaW5nR2lzQXR0cmlidXRlc1Jlc3BvbnNlIj6C0+STAjgSNi90", "ZWxlbWV0cnlfY29udHJvbC9hcGkvdjEvYnVpbGRpbmdfZ2lzX2F0dHJpYnV0", "ZXMve2lkfRLhAQoYUHV0QnVpbGRpbmdHaXNBdHRyaWJ1dGVzEj0ua2V5YXBp", "cy50ZWxlbWV0cnlfY29udHJvbC52MS5QdXRCdWlsZGluZ0dpc0F0dHJpYnV0", "ZXNSZXF1ZXN0Gj4ua2V5YXBpcy50ZWxlbWV0cnlfY29udHJvbC52MS5QdXRC", "dWlsZGluZ0dpc0F0dHJpYnV0ZXNSZXNwb25zZSJGgtPkkwJAGjsvdGVsZW1l", "dHJ5X2NvbnRyb2wvYXBpL3YxL2J1aWxkaW5nX2dpc19hdHRyaWJ1dGVzL3tk", "YXRhLmlkfToBKkLiAQofcnUua2V5YXBpcy50ZWxlbWV0cnlfY29udHJvbC52", "MUIeS2V5YXBpc1RlbGVtZXRyeUNvbnRyb2xWMVByb3RvSANQAFodL2tleWFw", "aXNfdGVsZW1ldHJ5X2NvbnRyb2xfdjHYAQH4AQGiAhlLRVlBUElTVEVMRU1F", "VFJZQ09OVFJPTFYxqgIbS2V5YXBpcy5UZWxlbWV0cnlDb250cm9sLlYxygIb", "S2V5YXBpc1xUZWxlbWV0cnlDb250cm9sXFYx6gIdS2V5YXBpczo6VGVsZW1l", "dHJ5Q29udHJvbDo6VjFiBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Google.Api.AnnotationsReflection.Descriptor, global::Google.Api.FieldBehaviorReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.TelemetryControl.V1.PutBuildingGisAttributesRequest), global::Keyapis.TelemetryControl.V1.PutBuildingGisAttributesRequest.Parser, new[]{ "Data" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.TelemetryControl.V1.PutBuildingGisAttributesResponse), global::Keyapis.TelemetryControl.V1.PutBuildingGisAttributesResponse.Parser, new[]{ "Data" }, new[]{ "Type" }, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.TelemetryControl.V1.GetBuildingGisAttributesRequest), global::Keyapis.TelemetryControl.V1.GetBuildingGisAttributesRequest.Parser, new[]{ "Id" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.TelemetryControl.V1.GetBuildingGisAttributesResponse), global::Keyapis.TelemetryControl.V1.GetBuildingGisAttributesResponse.Parser, new[]{ "Data" }, new[]{ "Type" }, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.TelemetryControl.V1.BuildingGisAttributes), global::Keyapis.TelemetryControl.V1.BuildingGisAttributes.Parser, new[]{ "Id", "HotWater", "ColdWater", "Heat", "Gas", "Electricity" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.TelemetryControl.V1.BuildingGisAttributes.Types.Attributes), global::Keyapis.TelemetryControl.V1.BuildingGisAttributes.Types.Attributes.Parser, new[]{ "IsEnabled", "StartDay" }, null, null, null, null)}) })); } #endregion } #region Messages /// /// Запрос сохранения атрибутов выгрузки показаний в ГИС ЖКХ объекта строительства /// public sealed partial class PutBuildingGisAttributesRequest : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PutBuildingGisAttributesRequest()); 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.KeyapisTelemetryControlBuildingGisV1Reflection.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 PutBuildingGisAttributesRequest() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public PutBuildingGisAttributesRequest(PutBuildingGisAttributesRequest 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 PutBuildingGisAttributesRequest Clone() { return new PutBuildingGisAttributesRequest(this); } /// Field number for the "data" field. public const int DataFieldNumber = 1; private global::Keyapis.TelemetryControl.V1.BuildingGisAttributes data_; /// /// Атрибуты выгрузки показаний в ГИС ЖКХ объекта строительства /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Keyapis.TelemetryControl.V1.BuildingGisAttributes 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 PutBuildingGisAttributesRequest); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(PutBuildingGisAttributesRequest 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(PutBuildingGisAttributesRequest other) { if (other == null) { return; } if (other.data_ != null) { if (data_ == null) { Data = new global::Keyapis.TelemetryControl.V1.BuildingGisAttributes(); } 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.BuildingGisAttributes(); } 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.BuildingGisAttributes(); } input.ReadMessage(Data); break; } } } } #endif } /// /// Ответ на запрос сохранения атрибутов выгрузки показаний в ГИС ЖКХ объекта строительства /// public sealed partial class PutBuildingGisAttributesResponse : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PutBuildingGisAttributesResponse()); 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.KeyapisTelemetryControlBuildingGisV1Reflection.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 PutBuildingGisAttributesResponse() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public PutBuildingGisAttributesResponse(PutBuildingGisAttributesResponse 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 PutBuildingGisAttributesResponse Clone() { return new PutBuildingGisAttributesResponse(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.BuildingGisAttributes Data { get { return typeCase_ == TypeOneofCase.Data ? (global::Keyapis.TelemetryControl.V1.BuildingGisAttributes) 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 PutBuildingGisAttributesResponse); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(PutBuildingGisAttributesResponse 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(PutBuildingGisAttributesResponse other) { if (other == null) { return; } switch (other.TypeCase) { case TypeOneofCase.Data: if (Data == null) { Data = new global::Keyapis.TelemetryControl.V1.BuildingGisAttributes(); } 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.BuildingGisAttributes subBuilder = new global::Keyapis.TelemetryControl.V1.BuildingGisAttributes(); 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.BuildingGisAttributes subBuilder = new global::Keyapis.TelemetryControl.V1.BuildingGisAttributes(); if (typeCase_ == TypeOneofCase.Data) { subBuilder.MergeFrom(Data); } input.ReadMessage(subBuilder); Data = subBuilder; break; } } } } #endif } /// /// Запрос получения атрибутов выгрузки показаний в ГИС ЖКХ объекта строительства /// public sealed partial class GetBuildingGisAttributesRequest : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetBuildingGisAttributesRequest()); 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.KeyapisTelemetryControlBuildingGisV1Reflection.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 GetBuildingGisAttributesRequest() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetBuildingGisAttributesRequest(GetBuildingGisAttributesRequest other) : this() { id_ = other.id_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetBuildingGisAttributesRequest Clone() { return new GetBuildingGisAttributesRequest(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 GetBuildingGisAttributesRequest); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GetBuildingGisAttributesRequest 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(GetBuildingGisAttributesRequest 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 GetBuildingGisAttributesResponse : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetBuildingGisAttributesResponse()); 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.KeyapisTelemetryControlBuildingGisV1Reflection.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 GetBuildingGisAttributesResponse() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetBuildingGisAttributesResponse(GetBuildingGisAttributesResponse 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 GetBuildingGisAttributesResponse Clone() { return new GetBuildingGisAttributesResponse(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.BuildingGisAttributes Data { get { return typeCase_ == TypeOneofCase.Data ? (global::Keyapis.TelemetryControl.V1.BuildingGisAttributes) 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 GetBuildingGisAttributesResponse); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GetBuildingGisAttributesResponse 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(GetBuildingGisAttributesResponse other) { if (other == null) { return; } switch (other.TypeCase) { case TypeOneofCase.Data: if (Data == null) { Data = new global::Keyapis.TelemetryControl.V1.BuildingGisAttributes(); } 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.BuildingGisAttributes subBuilder = new global::Keyapis.TelemetryControl.V1.BuildingGisAttributes(); 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.BuildingGisAttributes subBuilder = new global::Keyapis.TelemetryControl.V1.BuildingGisAttributes(); if (typeCase_ == TypeOneofCase.Data) { subBuilder.MergeFrom(Data); } input.ReadMessage(subBuilder); Data = subBuilder; break; } } } } #endif } /// /// Атрибуты выгрузки показаний в ГИС ЖКХ объекта строительства /// public sealed partial class BuildingGisAttributes : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BuildingGisAttributes()); 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.KeyapisTelemetryControlBuildingGisV1Reflection.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 BuildingGisAttributes() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public BuildingGisAttributes(BuildingGisAttributes other) : this() { id_ = other.id_; hotWater_ = other.hotWater_ != null ? other.hotWater_.Clone() : null; coldWater_ = other.coldWater_ != null ? other.coldWater_.Clone() : null; heat_ = other.heat_ != null ? other.heat_.Clone() : null; gas_ = other.gas_ != null ? other.gas_.Clone() : null; electricity_ = other.electricity_ != null ? other.electricity_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public BuildingGisAttributes Clone() { return new BuildingGisAttributes(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 "hot_water" field. public const int HotWaterFieldNumber = 2; private global::Keyapis.TelemetryControl.V1.BuildingGisAttributes.Types.Attributes hotWater_; /// /// Горячая вода /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Keyapis.TelemetryControl.V1.BuildingGisAttributes.Types.Attributes HotWater { get { return hotWater_; } set { hotWater_ = value; } } /// Field number for the "cold_water" field. public const int ColdWaterFieldNumber = 3; private global::Keyapis.TelemetryControl.V1.BuildingGisAttributes.Types.Attributes coldWater_; /// /// Холодная вода /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Keyapis.TelemetryControl.V1.BuildingGisAttributes.Types.Attributes ColdWater { get { return coldWater_; } set { coldWater_ = value; } } /// Field number for the "heat" field. public const int HeatFieldNumber = 4; private global::Keyapis.TelemetryControl.V1.BuildingGisAttributes.Types.Attributes heat_; /// /// Теплоэнергия /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Keyapis.TelemetryControl.V1.BuildingGisAttributes.Types.Attributes Heat { get { return heat_; } set { heat_ = value; } } /// Field number for the "gas" field. public const int GasFieldNumber = 5; private global::Keyapis.TelemetryControl.V1.BuildingGisAttributes.Types.Attributes gas_; /// /// Газ /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Keyapis.TelemetryControl.V1.BuildingGisAttributes.Types.Attributes Gas { get { return gas_; } set { gas_ = value; } } /// Field number for the "electricity" field. public const int ElectricityFieldNumber = 6; private global::Keyapis.TelemetryControl.V1.BuildingGisAttributes.Types.Attributes electricity_; /// /// Электроэнергия /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Keyapis.TelemetryControl.V1.BuildingGisAttributes.Types.Attributes Electricity { get { return electricity_; } set { electricity_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as BuildingGisAttributes); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(BuildingGisAttributes other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Id != other.Id) return false; if (!object.Equals(HotWater, other.HotWater)) return false; if (!object.Equals(ColdWater, other.ColdWater)) return false; if (!object.Equals(Heat, other.Heat)) return false; if (!object.Equals(Gas, other.Gas)) return false; if (!object.Equals(Electricity, other.Electricity)) 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 (hotWater_ != null) hash ^= HotWater.GetHashCode(); if (coldWater_ != null) hash ^= ColdWater.GetHashCode(); if (heat_ != null) hash ^= Heat.GetHashCode(); if (gas_ != null) hash ^= Gas.GetHashCode(); if (electricity_ != null) hash ^= Electricity.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 (hotWater_ != null) { output.WriteRawTag(18); output.WriteMessage(HotWater); } if (coldWater_ != null) { output.WriteRawTag(26); output.WriteMessage(ColdWater); } if (heat_ != null) { output.WriteRawTag(34); output.WriteMessage(Heat); } if (gas_ != null) { output.WriteRawTag(42); output.WriteMessage(Gas); } if (electricity_ != null) { output.WriteRawTag(50); output.WriteMessage(Electricity); } 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 (hotWater_ != null) { output.WriteRawTag(18); output.WriteMessage(HotWater); } if (coldWater_ != null) { output.WriteRawTag(26); output.WriteMessage(ColdWater); } if (heat_ != null) { output.WriteRawTag(34); output.WriteMessage(Heat); } if (gas_ != null) { output.WriteRawTag(42); output.WriteMessage(Gas); } if (electricity_ != null) { output.WriteRawTag(50); output.WriteMessage(Electricity); } 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 (hotWater_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(HotWater); } if (coldWater_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(ColdWater); } if (heat_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Heat); } if (gas_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Gas); } if (electricity_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Electricity); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(BuildingGisAttributes other) { if (other == null) { return; } if (other.Id != 0) { Id = other.Id; } if (other.hotWater_ != null) { if (hotWater_ == null) { HotWater = new global::Keyapis.TelemetryControl.V1.BuildingGisAttributes.Types.Attributes(); } HotWater.MergeFrom(other.HotWater); } if (other.coldWater_ != null) { if (coldWater_ == null) { ColdWater = new global::Keyapis.TelemetryControl.V1.BuildingGisAttributes.Types.Attributes(); } ColdWater.MergeFrom(other.ColdWater); } if (other.heat_ != null) { if (heat_ == null) { Heat = new global::Keyapis.TelemetryControl.V1.BuildingGisAttributes.Types.Attributes(); } Heat.MergeFrom(other.Heat); } if (other.gas_ != null) { if (gas_ == null) { Gas = new global::Keyapis.TelemetryControl.V1.BuildingGisAttributes.Types.Attributes(); } Gas.MergeFrom(other.Gas); } if (other.electricity_ != null) { if (electricity_ == null) { Electricity = new global::Keyapis.TelemetryControl.V1.BuildingGisAttributes.Types.Attributes(); } Electricity.MergeFrom(other.Electricity); } _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: { if (hotWater_ == null) { HotWater = new global::Keyapis.TelemetryControl.V1.BuildingGisAttributes.Types.Attributes(); } input.ReadMessage(HotWater); break; } case 26: { if (coldWater_ == null) { ColdWater = new global::Keyapis.TelemetryControl.V1.BuildingGisAttributes.Types.Attributes(); } input.ReadMessage(ColdWater); break; } case 34: { if (heat_ == null) { Heat = new global::Keyapis.TelemetryControl.V1.BuildingGisAttributes.Types.Attributes(); } input.ReadMessage(Heat); break; } case 42: { if (gas_ == null) { Gas = new global::Keyapis.TelemetryControl.V1.BuildingGisAttributes.Types.Attributes(); } input.ReadMessage(Gas); break; } case 50: { if (electricity_ == null) { Electricity = new global::Keyapis.TelemetryControl.V1.BuildingGisAttributes.Types.Attributes(); } input.ReadMessage(Electricity); 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: { if (hotWater_ == null) { HotWater = new global::Keyapis.TelemetryControl.V1.BuildingGisAttributes.Types.Attributes(); } input.ReadMessage(HotWater); break; } case 26: { if (coldWater_ == null) { ColdWater = new global::Keyapis.TelemetryControl.V1.BuildingGisAttributes.Types.Attributes(); } input.ReadMessage(ColdWater); break; } case 34: { if (heat_ == null) { Heat = new global::Keyapis.TelemetryControl.V1.BuildingGisAttributes.Types.Attributes(); } input.ReadMessage(Heat); break; } case 42: { if (gas_ == null) { Gas = new global::Keyapis.TelemetryControl.V1.BuildingGisAttributes.Types.Attributes(); } input.ReadMessage(Gas); break; } case 50: { if (electricity_ == null) { Electricity = new global::Keyapis.TelemetryControl.V1.BuildingGisAttributes.Types.Attributes(); } input.ReadMessage(Electricity); break; } } } } #endif #region Nested types /// Container for nested types declared in the BuildingGisAttributes message type. [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static partial class Types { /// /// Атрибуты выгрузки показаний для типа ресурса /// public sealed partial class Attributes : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Attributes()); 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.BuildingGisAttributes.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 Attributes() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Attributes(Attributes other) : this() { isEnabled_ = other.isEnabled_; startDay_ = other.startDay_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Attributes Clone() { return new Attributes(this); } /// Field number for the "is_enabled" field. public const int IsEnabledFieldNumber = 1; private bool isEnabled_; /// /// Флаг включения передачи показаний /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool IsEnabled { get { return isEnabled_; } set { isEnabled_ = value; } } /// Field number for the "start_day" field. public const int StartDayFieldNumber = 2; private int startDay_; /// /// Число месяца начала передачи показаний. /// # Диапазон: 15..25 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int StartDay { get { return startDay_; } set { startDay_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as Attributes); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(Attributes other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (IsEnabled != other.IsEnabled) return false; if (StartDay != other.StartDay) 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 (IsEnabled != false) hash ^= IsEnabled.GetHashCode(); if (StartDay != 0) hash ^= StartDay.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 (IsEnabled != false) { output.WriteRawTag(8); output.WriteBool(IsEnabled); } if (StartDay != 0) { output.WriteRawTag(16); output.WriteInt32(StartDay); } 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 (IsEnabled != false) { output.WriteRawTag(8); output.WriteBool(IsEnabled); } if (StartDay != 0) { output.WriteRawTag(16); output.WriteInt32(StartDay); } 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 (IsEnabled != false) { size += 1 + 1; } if (StartDay != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(StartDay); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(Attributes other) { if (other == null) { return; } if (other.IsEnabled != false) { IsEnabled = other.IsEnabled; } if (other.StartDay != 0) { StartDay = other.StartDay; } _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: { IsEnabled = input.ReadBool(); break; } case 16: { StartDay = 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: { IsEnabled = input.ReadBool(); break; } case 16: { StartDay = input.ReadInt32(); break; } } } } #endif } } #endregion } #endregion } #endregion Designer generated code