// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: UpdateMapRotationDataScNotify.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 EggLink.DanhengServer.Proto { /// Holder for reflection information generated from UpdateMapRotationDataScNotify.proto public static partial class UpdateMapRotationDataScNotifyReflection { #region Descriptor /// File descriptor for UpdateMapRotationDataScNotify.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static UpdateMapRotationDataScNotifyReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CiNVcGRhdGVNYXBSb3RhdGlvbkRhdGFTY05vdGlmeS5wcm90bxoRUm90YXRl", "ckRhdGEucHJvdG8aEUNoYXJnZXJJbmZvLnByb3RvGhFITUJMSUFETktFTy5w", "cm90bxoXUm90YXRlckVuZXJneUluZm8ucHJvdG8i9AEKHVVwZGF0ZU1hcFJv", "dGF0aW9uRGF0YVNjTm90aWZ5EhMKC0NISk1PRElNTERBGAIgASgNEh4KCHJv", "b21fbWFwGAwgASgLMgwuSE1CTElBRE5LRU8SJwoRcm90YXRlcl9kYXRhX2xp", "c3QYBCADKAsyDC5Sb3RhdGVyRGF0YRITCgtIRkpOTkJQRExDSxgIIAEoCBIi", "CgxjaGFyZ2VyX2luZm8YAyADKAsyDC5DaGFyZ2VySW5mbxInCgtlbmVyZ3lf", "aW5mbxgBIAEoCzISLlJvdGF0ZXJFbmVyZ3lJbmZvEhMKC0lQRk9GSEhLSktQ", "GAUgASgFQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3Rv", "Mw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.RotaterDataReflection.Descriptor, global::EggLink.DanhengServer.Proto.ChargerInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.HMBLIADNKEOReflection.Descriptor, global::EggLink.DanhengServer.Proto.RotaterEnergyInfoReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.UpdateMapRotationDataScNotify), global::EggLink.DanhengServer.Proto.UpdateMapRotationDataScNotify.Parser, new[]{ "CHJMODIMLDA", "RoomMap", "RotaterDataList", "HFJNNBPDLCK", "ChargerInfo", "EnergyInfo", "IPFOFHHKJKP" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class UpdateMapRotationDataScNotify : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdateMapRotationDataScNotify()); 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::EggLink.DanhengServer.Proto.UpdateMapRotationDataScNotifyReflection.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 UpdateMapRotationDataScNotify() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public UpdateMapRotationDataScNotify(UpdateMapRotationDataScNotify other) : this() { cHJMODIMLDA_ = other.cHJMODIMLDA_; roomMap_ = other.roomMap_ != null ? other.roomMap_.Clone() : null; rotaterDataList_ = other.rotaterDataList_.Clone(); hFJNNBPDLCK_ = other.hFJNNBPDLCK_; chargerInfo_ = other.chargerInfo_.Clone(); energyInfo_ = other.energyInfo_ != null ? other.energyInfo_.Clone() : null; iPFOFHHKJKP_ = other.iPFOFHHKJKP_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public UpdateMapRotationDataScNotify Clone() { return new UpdateMapRotationDataScNotify(this); } /// Field number for the "CHJMODIMLDA" field. public const int CHJMODIMLDAFieldNumber = 2; private uint cHJMODIMLDA_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint CHJMODIMLDA { get { return cHJMODIMLDA_; } set { cHJMODIMLDA_ = value; } } /// Field number for the "room_map" field. public const int RoomMapFieldNumber = 12; private global::EggLink.DanhengServer.Proto.HMBLIADNKEO roomMap_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.HMBLIADNKEO RoomMap { get { return roomMap_; } set { roomMap_ = value; } } /// Field number for the "rotater_data_list" field. public const int RotaterDataListFieldNumber = 4; private static readonly pb::FieldCodec _repeated_rotaterDataList_codec = pb::FieldCodec.ForMessage(34, global::EggLink.DanhengServer.Proto.RotaterData.Parser); private readonly pbc::RepeatedField rotaterDataList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField RotaterDataList { get { return rotaterDataList_; } } /// Field number for the "HFJNNBPDLCK" field. public const int HFJNNBPDLCKFieldNumber = 8; private bool hFJNNBPDLCK_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool HFJNNBPDLCK { get { return hFJNNBPDLCK_; } set { hFJNNBPDLCK_ = value; } } /// Field number for the "charger_info" field. public const int ChargerInfoFieldNumber = 3; private static readonly pb::FieldCodec _repeated_chargerInfo_codec = pb::FieldCodec.ForMessage(26, global::EggLink.DanhengServer.Proto.ChargerInfo.Parser); private readonly pbc::RepeatedField chargerInfo_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField ChargerInfo { get { return chargerInfo_; } } /// Field number for the "energy_info" field. public const int EnergyInfoFieldNumber = 1; private global::EggLink.DanhengServer.Proto.RotaterEnergyInfo energyInfo_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.RotaterEnergyInfo EnergyInfo { get { return energyInfo_; } set { energyInfo_ = value; } } /// Field number for the "IPFOFHHKJKP" field. public const int IPFOFHHKJKPFieldNumber = 5; private int iPFOFHHKJKP_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int IPFOFHHKJKP { get { return iPFOFHHKJKP_; } set { iPFOFHHKJKP_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as UpdateMapRotationDataScNotify); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(UpdateMapRotationDataScNotify other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (CHJMODIMLDA != other.CHJMODIMLDA) return false; if (!object.Equals(RoomMap, other.RoomMap)) return false; if(!rotaterDataList_.Equals(other.rotaterDataList_)) return false; if (HFJNNBPDLCK != other.HFJNNBPDLCK) return false; if(!chargerInfo_.Equals(other.chargerInfo_)) return false; if (!object.Equals(EnergyInfo, other.EnergyInfo)) return false; if (IPFOFHHKJKP != other.IPFOFHHKJKP) 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 (CHJMODIMLDA != 0) hash ^= CHJMODIMLDA.GetHashCode(); if (roomMap_ != null) hash ^= RoomMap.GetHashCode(); hash ^= rotaterDataList_.GetHashCode(); if (HFJNNBPDLCK != false) hash ^= HFJNNBPDLCK.GetHashCode(); hash ^= chargerInfo_.GetHashCode(); if (energyInfo_ != null) hash ^= EnergyInfo.GetHashCode(); if (IPFOFHHKJKP != 0) hash ^= IPFOFHHKJKP.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 (energyInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(EnergyInfo); } if (CHJMODIMLDA != 0) { output.WriteRawTag(16); output.WriteUInt32(CHJMODIMLDA); } chargerInfo_.WriteTo(output, _repeated_chargerInfo_codec); rotaterDataList_.WriteTo(output, _repeated_rotaterDataList_codec); if (IPFOFHHKJKP != 0) { output.WriteRawTag(40); output.WriteInt32(IPFOFHHKJKP); } if (HFJNNBPDLCK != false) { output.WriteRawTag(64); output.WriteBool(HFJNNBPDLCK); } if (roomMap_ != null) { output.WriteRawTag(98); output.WriteMessage(RoomMap); } 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 (energyInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(EnergyInfo); } if (CHJMODIMLDA != 0) { output.WriteRawTag(16); output.WriteUInt32(CHJMODIMLDA); } chargerInfo_.WriteTo(ref output, _repeated_chargerInfo_codec); rotaterDataList_.WriteTo(ref output, _repeated_rotaterDataList_codec); if (IPFOFHHKJKP != 0) { output.WriteRawTag(40); output.WriteInt32(IPFOFHHKJKP); } if (HFJNNBPDLCK != false) { output.WriteRawTag(64); output.WriteBool(HFJNNBPDLCK); } if (roomMap_ != null) { output.WriteRawTag(98); output.WriteMessage(RoomMap); } 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 (CHJMODIMLDA != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CHJMODIMLDA); } if (roomMap_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(RoomMap); } size += rotaterDataList_.CalculateSize(_repeated_rotaterDataList_codec); if (HFJNNBPDLCK != false) { size += 1 + 1; } size += chargerInfo_.CalculateSize(_repeated_chargerInfo_codec); if (energyInfo_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(EnergyInfo); } if (IPFOFHHKJKP != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(IPFOFHHKJKP); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(UpdateMapRotationDataScNotify other) { if (other == null) { return; } if (other.CHJMODIMLDA != 0) { CHJMODIMLDA = other.CHJMODIMLDA; } if (other.roomMap_ != null) { if (roomMap_ == null) { RoomMap = new global::EggLink.DanhengServer.Proto.HMBLIADNKEO(); } RoomMap.MergeFrom(other.RoomMap); } rotaterDataList_.Add(other.rotaterDataList_); if (other.HFJNNBPDLCK != false) { HFJNNBPDLCK = other.HFJNNBPDLCK; } chargerInfo_.Add(other.chargerInfo_); if (other.energyInfo_ != null) { if (energyInfo_ == null) { EnergyInfo = new global::EggLink.DanhengServer.Proto.RotaterEnergyInfo(); } EnergyInfo.MergeFrom(other.EnergyInfo); } if (other.IPFOFHHKJKP != 0) { IPFOFHHKJKP = other.IPFOFHHKJKP; } _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 (energyInfo_ == null) { EnergyInfo = new global::EggLink.DanhengServer.Proto.RotaterEnergyInfo(); } input.ReadMessage(EnergyInfo); break; } case 16: { CHJMODIMLDA = input.ReadUInt32(); break; } case 26: { chargerInfo_.AddEntriesFrom(input, _repeated_chargerInfo_codec); break; } case 34: { rotaterDataList_.AddEntriesFrom(input, _repeated_rotaterDataList_codec); break; } case 40: { IPFOFHHKJKP = input.ReadInt32(); break; } case 64: { HFJNNBPDLCK = input.ReadBool(); break; } case 98: { if (roomMap_ == null) { RoomMap = new global::EggLink.DanhengServer.Proto.HMBLIADNKEO(); } input.ReadMessage(RoomMap); 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 (energyInfo_ == null) { EnergyInfo = new global::EggLink.DanhengServer.Proto.RotaterEnergyInfo(); } input.ReadMessage(EnergyInfo); break; } case 16: { CHJMODIMLDA = input.ReadUInt32(); break; } case 26: { chargerInfo_.AddEntriesFrom(ref input, _repeated_chargerInfo_codec); break; } case 34: { rotaterDataList_.AddEntriesFrom(ref input, _repeated_rotaterDataList_codec); break; } case 40: { IPFOFHHKJKP = input.ReadInt32(); break; } case 64: { HFJNNBPDLCK = input.ReadBool(); break; } case 98: { if (roomMap_ == null) { RoomMap = new global::EggLink.DanhengServer.Proto.HMBLIADNKEO(); } input.ReadMessage(RoomMap); break; } } } } #endif } #endregion } #endregion Designer generated code