// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: GetMapRotationDataScRsp.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 GetMapRotationDataScRsp.proto public static partial class GetMapRotationDataScRspReflection { #region Descriptor /// File descriptor for GetMapRotationDataScRsp.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static GetMapRotationDataScRspReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "Ch1HZXRNYXBSb3RhdGlvbkRhdGFTY1JzcC5wcm90bxoRR05BR09NRlBCSEgu", "cHJvdG8aEUNoYXJnZXJJbmZvLnByb3RvGhdSb3RhdGVyRW5lcmd5SW5mby5w", "cm90bxoRUm90YXRlckRhdGEucHJvdG8i/wEKF0dldE1hcFJvdGF0aW9uRGF0", "YVNjUnNwEh4KCHJvb21fbWFwGA8gASgLMgwuR05BR09NRlBCSEgSEwoLSERF", "SEhLRU1PQ0QYCCABKAUSEwoLRlBGTE5BR0ZEQkQYCiABKAgSJwoLZW5lcmd5", "X2luZm8YBiABKAsyEi5Sb3RhdGVyRW5lcmd5SW5mbxIiCgxjaGFyZ2VyX2lu", "Zm8YAyADKAsyDC5DaGFyZ2VySW5mbxITCgtCSlBCQUpFQ0tGTxgLIAEoDRIP", "CgdyZXRjb2RlGAQgASgNEicKEXJvdGF0ZXJfZGF0YV9saXN0GAkgAygLMgwu", "Um90YXRlckRhdGFCHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IG", "cHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.GNAGOMFPBHHReflection.Descriptor, global::EggLink.DanhengServer.Proto.ChargerInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.RotaterEnergyInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.RotaterDataReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GetMapRotationDataScRsp), global::EggLink.DanhengServer.Proto.GetMapRotationDataScRsp.Parser, new[]{ "RoomMap", "HDEHHKEMOCD", "FPFLNAGFDBD", "EnergyInfo", "ChargerInfo", "BJPBAJECKFO", "Retcode", "RotaterDataList" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class GetMapRotationDataScRsp : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetMapRotationDataScRsp()); 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.GetMapRotationDataScRspReflection.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 GetMapRotationDataScRsp() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetMapRotationDataScRsp(GetMapRotationDataScRsp other) : this() { roomMap_ = other.roomMap_ != null ? other.roomMap_.Clone() : null; hDEHHKEMOCD_ = other.hDEHHKEMOCD_; fPFLNAGFDBD_ = other.fPFLNAGFDBD_; energyInfo_ = other.energyInfo_ != null ? other.energyInfo_.Clone() : null; chargerInfo_ = other.chargerInfo_.Clone(); bJPBAJECKFO_ = other.bJPBAJECKFO_; retcode_ = other.retcode_; rotaterDataList_ = other.rotaterDataList_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetMapRotationDataScRsp Clone() { return new GetMapRotationDataScRsp(this); } /// Field number for the "room_map" field. public const int RoomMapFieldNumber = 15; private global::EggLink.DanhengServer.Proto.GNAGOMFPBHH roomMap_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.GNAGOMFPBHH RoomMap { get { return roomMap_; } set { roomMap_ = value; } } /// Field number for the "HDEHHKEMOCD" field. public const int HDEHHKEMOCDFieldNumber = 8; private int hDEHHKEMOCD_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int HDEHHKEMOCD { get { return hDEHHKEMOCD_; } set { hDEHHKEMOCD_ = value; } } /// Field number for the "FPFLNAGFDBD" field. public const int FPFLNAGFDBDFieldNumber = 10; private bool fPFLNAGFDBD_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool FPFLNAGFDBD { get { return fPFLNAGFDBD_; } set { fPFLNAGFDBD_ = value; } } /// Field number for the "energy_info" field. public const int EnergyInfoFieldNumber = 6; 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 "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 "BJPBAJECKFO" field. public const int BJPBAJECKFOFieldNumber = 11; private uint bJPBAJECKFO_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint BJPBAJECKFO { get { return bJPBAJECKFO_; } set { bJPBAJECKFO_ = value; } } /// Field number for the "retcode" field. public const int RetcodeFieldNumber = 4; private uint retcode_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint Retcode { get { return retcode_; } set { retcode_ = value; } } /// Field number for the "rotater_data_list" field. public const int RotaterDataListFieldNumber = 9; private static readonly pb::FieldCodec _repeated_rotaterDataList_codec = pb::FieldCodec.ForMessage(74, 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_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GetMapRotationDataScRsp); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GetMapRotationDataScRsp other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(RoomMap, other.RoomMap)) return false; if (HDEHHKEMOCD != other.HDEHHKEMOCD) return false; if (FPFLNAGFDBD != other.FPFLNAGFDBD) return false; if (!object.Equals(EnergyInfo, other.EnergyInfo)) return false; if(!chargerInfo_.Equals(other.chargerInfo_)) return false; if (BJPBAJECKFO != other.BJPBAJECKFO) return false; if (Retcode != other.Retcode) return false; if(!rotaterDataList_.Equals(other.rotaterDataList_)) 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 (roomMap_ != null) hash ^= RoomMap.GetHashCode(); if (HDEHHKEMOCD != 0) hash ^= HDEHHKEMOCD.GetHashCode(); if (FPFLNAGFDBD != false) hash ^= FPFLNAGFDBD.GetHashCode(); if (energyInfo_ != null) hash ^= EnergyInfo.GetHashCode(); hash ^= chargerInfo_.GetHashCode(); if (BJPBAJECKFO != 0) hash ^= BJPBAJECKFO.GetHashCode(); if (Retcode != 0) hash ^= Retcode.GetHashCode(); hash ^= rotaterDataList_.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 chargerInfo_.WriteTo(output, _repeated_chargerInfo_codec); if (Retcode != 0) { output.WriteRawTag(32); output.WriteUInt32(Retcode); } if (energyInfo_ != null) { output.WriteRawTag(50); output.WriteMessage(EnergyInfo); } if (HDEHHKEMOCD != 0) { output.WriteRawTag(64); output.WriteInt32(HDEHHKEMOCD); } rotaterDataList_.WriteTo(output, _repeated_rotaterDataList_codec); if (FPFLNAGFDBD != false) { output.WriteRawTag(80); output.WriteBool(FPFLNAGFDBD); } if (BJPBAJECKFO != 0) { output.WriteRawTag(88); output.WriteUInt32(BJPBAJECKFO); } if (roomMap_ != null) { output.WriteRawTag(122); 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) { chargerInfo_.WriteTo(ref output, _repeated_chargerInfo_codec); if (Retcode != 0) { output.WriteRawTag(32); output.WriteUInt32(Retcode); } if (energyInfo_ != null) { output.WriteRawTag(50); output.WriteMessage(EnergyInfo); } if (HDEHHKEMOCD != 0) { output.WriteRawTag(64); output.WriteInt32(HDEHHKEMOCD); } rotaterDataList_.WriteTo(ref output, _repeated_rotaterDataList_codec); if (FPFLNAGFDBD != false) { output.WriteRawTag(80); output.WriteBool(FPFLNAGFDBD); } if (BJPBAJECKFO != 0) { output.WriteRawTag(88); output.WriteUInt32(BJPBAJECKFO); } if (roomMap_ != null) { output.WriteRawTag(122); 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 (roomMap_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(RoomMap); } if (HDEHHKEMOCD != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(HDEHHKEMOCD); } if (FPFLNAGFDBD != false) { size += 1 + 1; } if (energyInfo_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(EnergyInfo); } size += chargerInfo_.CalculateSize(_repeated_chargerInfo_codec); if (BJPBAJECKFO != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BJPBAJECKFO); } if (Retcode != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode); } size += rotaterDataList_.CalculateSize(_repeated_rotaterDataList_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GetMapRotationDataScRsp other) { if (other == null) { return; } if (other.roomMap_ != null) { if (roomMap_ == null) { RoomMap = new global::EggLink.DanhengServer.Proto.GNAGOMFPBHH(); } RoomMap.MergeFrom(other.RoomMap); } if (other.HDEHHKEMOCD != 0) { HDEHHKEMOCD = other.HDEHHKEMOCD; } if (other.FPFLNAGFDBD != false) { FPFLNAGFDBD = other.FPFLNAGFDBD; } if (other.energyInfo_ != null) { if (energyInfo_ == null) { EnergyInfo = new global::EggLink.DanhengServer.Proto.RotaterEnergyInfo(); } EnergyInfo.MergeFrom(other.EnergyInfo); } chargerInfo_.Add(other.chargerInfo_); if (other.BJPBAJECKFO != 0) { BJPBAJECKFO = other.BJPBAJECKFO; } if (other.Retcode != 0) { Retcode = other.Retcode; } rotaterDataList_.Add(other.rotaterDataList_); _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 26: { chargerInfo_.AddEntriesFrom(input, _repeated_chargerInfo_codec); break; } case 32: { Retcode = input.ReadUInt32(); break; } case 50: { if (energyInfo_ == null) { EnergyInfo = new global::EggLink.DanhengServer.Proto.RotaterEnergyInfo(); } input.ReadMessage(EnergyInfo); break; } case 64: { HDEHHKEMOCD = input.ReadInt32(); break; } case 74: { rotaterDataList_.AddEntriesFrom(input, _repeated_rotaterDataList_codec); break; } case 80: { FPFLNAGFDBD = input.ReadBool(); break; } case 88: { BJPBAJECKFO = input.ReadUInt32(); break; } case 122: { if (roomMap_ == null) { RoomMap = new global::EggLink.DanhengServer.Proto.GNAGOMFPBHH(); } 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 26: { chargerInfo_.AddEntriesFrom(ref input, _repeated_chargerInfo_codec); break; } case 32: { Retcode = input.ReadUInt32(); break; } case 50: { if (energyInfo_ == null) { EnergyInfo = new global::EggLink.DanhengServer.Proto.RotaterEnergyInfo(); } input.ReadMessage(EnergyInfo); break; } case 64: { HDEHHKEMOCD = input.ReadInt32(); break; } case 74: { rotaterDataList_.AddEntriesFrom(ref input, _repeated_rotaterDataList_codec); break; } case 80: { FPFLNAGFDBD = input.ReadBool(); break; } case 88: { BJPBAJECKFO = input.ReadUInt32(); break; } case 122: { if (roomMap_ == null) { RoomMap = new global::EggLink.DanhengServer.Proto.GNAGOMFPBHH(); } input.ReadMessage(RoomMap); break; } } } } #endif } #endregion } #endregion Designer generated code