Files
DanhengServer-OpenSource/Proto/UpdateMapRotationDataScNotify.cs
2024-10-04 12:18:36 +08:00

460 lines
18 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: UpdateMapRotationDataScNotify.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021, 8981
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using pbr = global::Google.Protobuf.Reflection;
using scg = global::System.Collections.Generic;
namespace EggLink.DanhengServer.Proto {
/// <summary>Holder for reflection information generated from UpdateMapRotationDataScNotify.proto</summary>
public static partial class UpdateMapRotationDataScNotifyReflection {
#region Descriptor
/// <summary>File descriptor for UpdateMapRotationDataScNotify.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static UpdateMapRotationDataScNotifyReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CiNVcGRhdGVNYXBSb3RhdGlvbkRhdGFTY05vdGlmeS5wcm90bxoXUm90YXRl",
"ckVuZXJneUluZm8ucHJvdG8aEVJvdGF0ZXJEYXRhLnByb3RvGhFHTkFHT01G",
"UEJISC5wcm90bxoRQ2hhcmdlckluZm8ucHJvdG8i9AEKHVVwZGF0ZU1hcFJv",
"dGF0aW9uRGF0YVNjTm90aWZ5EiIKDGNoYXJnZXJfaW5mbxgKIAMoCzIMLkNo",
"YXJnZXJJbmZvEicKC2VuZXJneV9pbmZvGAYgASgLMhIuUm90YXRlckVuZXJn",
"eUluZm8SEwoLRlBGTE5BR0ZEQkQYBSABKAgSJwoRcm90YXRlcl9kYXRhX2xp",
"c3QYAiADKAsyDC5Sb3RhdGVyRGF0YRITCgtCSlBCQUpFQ0tGTxgDIAEoDRIT",
"CgtIREVISEtFTU9DRBgIIAEoBRIeCghyb29tX21hcBgHIAEoCzIMLkdOQUdP",
"TUZQQkhIQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3Rv",
"Mw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.RotaterEnergyInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.RotaterDataReflection.Descriptor, global::EggLink.DanhengServer.Proto.GNAGOMFPBHHReflection.Descriptor, global::EggLink.DanhengServer.Proto.ChargerInfoReflection.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[]{ "ChargerInfo", "EnergyInfo", "FPFLNAGFDBD", "RotaterDataList", "BJPBAJECKFO", "HDEHHKEMOCD", "RoomMap" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class UpdateMapRotationDataScNotify : pb::IMessage<UpdateMapRotationDataScNotify>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<UpdateMapRotationDataScNotify> _parser = new pb::MessageParser<UpdateMapRotationDataScNotify>(() => new UpdateMapRotationDataScNotify());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<UpdateMapRotationDataScNotify> 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() {
chargerInfo_ = other.chargerInfo_.Clone();
energyInfo_ = other.energyInfo_ != null ? other.energyInfo_.Clone() : null;
fPFLNAGFDBD_ = other.fPFLNAGFDBD_;
rotaterDataList_ = other.rotaterDataList_.Clone();
bJPBAJECKFO_ = other.bJPBAJECKFO_;
hDEHHKEMOCD_ = other.hDEHHKEMOCD_;
roomMap_ = other.roomMap_ != null ? other.roomMap_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public UpdateMapRotationDataScNotify Clone() {
return new UpdateMapRotationDataScNotify(this);
}
/// <summary>Field number for the "charger_info" field.</summary>
public const int ChargerInfoFieldNumber = 10;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.ChargerInfo> _repeated_chargerInfo_codec
= pb::FieldCodec.ForMessage(82, global::EggLink.DanhengServer.Proto.ChargerInfo.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ChargerInfo> chargerInfo_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ChargerInfo>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ChargerInfo> ChargerInfo {
get { return chargerInfo_; }
}
/// <summary>Field number for the "energy_info" field.</summary>
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;
}
}
/// <summary>Field number for the "FPFLNAGFDBD" field.</summary>
public const int FPFLNAGFDBDFieldNumber = 5;
private bool fPFLNAGFDBD_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool FPFLNAGFDBD {
get { return fPFLNAGFDBD_; }
set {
fPFLNAGFDBD_ = value;
}
}
/// <summary>Field number for the "rotater_data_list" field.</summary>
public const int RotaterDataListFieldNumber = 2;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.RotaterData> _repeated_rotaterDataList_codec
= pb::FieldCodec.ForMessage(18, global::EggLink.DanhengServer.Proto.RotaterData.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.RotaterData> rotaterDataList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.RotaterData>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.RotaterData> RotaterDataList {
get { return rotaterDataList_; }
}
/// <summary>Field number for the "BJPBAJECKFO" field.</summary>
public const int BJPBAJECKFOFieldNumber = 3;
private uint bJPBAJECKFO_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint BJPBAJECKFO {
get { return bJPBAJECKFO_; }
set {
bJPBAJECKFO_ = value;
}
}
/// <summary>Field number for the "HDEHHKEMOCD" field.</summary>
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;
}
}
/// <summary>Field number for the "room_map" field.</summary>
public const int RoomMapFieldNumber = 7;
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;
}
}
[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(!chargerInfo_.Equals(other.chargerInfo_)) return false;
if (!object.Equals(EnergyInfo, other.EnergyInfo)) return false;
if (FPFLNAGFDBD != other.FPFLNAGFDBD) return false;
if(!rotaterDataList_.Equals(other.rotaterDataList_)) return false;
if (BJPBAJECKFO != other.BJPBAJECKFO) return false;
if (HDEHHKEMOCD != other.HDEHHKEMOCD) return false;
if (!object.Equals(RoomMap, other.RoomMap)) 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 ^= chargerInfo_.GetHashCode();
if (energyInfo_ != null) hash ^= EnergyInfo.GetHashCode();
if (FPFLNAGFDBD != false) hash ^= FPFLNAGFDBD.GetHashCode();
hash ^= rotaterDataList_.GetHashCode();
if (BJPBAJECKFO != 0) hash ^= BJPBAJECKFO.GetHashCode();
if (HDEHHKEMOCD != 0) hash ^= HDEHHKEMOCD.GetHashCode();
if (roomMap_ != null) hash ^= RoomMap.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
rotaterDataList_.WriteTo(output, _repeated_rotaterDataList_codec);
if (BJPBAJECKFO != 0) {
output.WriteRawTag(24);
output.WriteUInt32(BJPBAJECKFO);
}
if (FPFLNAGFDBD != false) {
output.WriteRawTag(40);
output.WriteBool(FPFLNAGFDBD);
}
if (energyInfo_ != null) {
output.WriteRawTag(50);
output.WriteMessage(EnergyInfo);
}
if (roomMap_ != null) {
output.WriteRawTag(58);
output.WriteMessage(RoomMap);
}
if (HDEHHKEMOCD != 0) {
output.WriteRawTag(64);
output.WriteInt32(HDEHHKEMOCD);
}
chargerInfo_.WriteTo(output, _repeated_chargerInfo_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) {
rotaterDataList_.WriteTo(ref output, _repeated_rotaterDataList_codec);
if (BJPBAJECKFO != 0) {
output.WriteRawTag(24);
output.WriteUInt32(BJPBAJECKFO);
}
if (FPFLNAGFDBD != false) {
output.WriteRawTag(40);
output.WriteBool(FPFLNAGFDBD);
}
if (energyInfo_ != null) {
output.WriteRawTag(50);
output.WriteMessage(EnergyInfo);
}
if (roomMap_ != null) {
output.WriteRawTag(58);
output.WriteMessage(RoomMap);
}
if (HDEHHKEMOCD != 0) {
output.WriteRawTag(64);
output.WriteInt32(HDEHHKEMOCD);
}
chargerInfo_.WriteTo(ref output, _repeated_chargerInfo_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 += chargerInfo_.CalculateSize(_repeated_chargerInfo_codec);
if (energyInfo_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(EnergyInfo);
}
if (FPFLNAGFDBD != false) {
size += 1 + 1;
}
size += rotaterDataList_.CalculateSize(_repeated_rotaterDataList_codec);
if (BJPBAJECKFO != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BJPBAJECKFO);
}
if (HDEHHKEMOCD != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(HDEHHKEMOCD);
}
if (roomMap_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(RoomMap);
}
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;
}
chargerInfo_.Add(other.chargerInfo_);
if (other.energyInfo_ != null) {
if (energyInfo_ == null) {
EnergyInfo = new global::EggLink.DanhengServer.Proto.RotaterEnergyInfo();
}
EnergyInfo.MergeFrom(other.EnergyInfo);
}
if (other.FPFLNAGFDBD != false) {
FPFLNAGFDBD = other.FPFLNAGFDBD;
}
rotaterDataList_.Add(other.rotaterDataList_);
if (other.BJPBAJECKFO != 0) {
BJPBAJECKFO = other.BJPBAJECKFO;
}
if (other.HDEHHKEMOCD != 0) {
HDEHHKEMOCD = other.HDEHHKEMOCD;
}
if (other.roomMap_ != null) {
if (roomMap_ == null) {
RoomMap = new global::EggLink.DanhengServer.Proto.GNAGOMFPBHH();
}
RoomMap.MergeFrom(other.RoomMap);
}
_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 18: {
rotaterDataList_.AddEntriesFrom(input, _repeated_rotaterDataList_codec);
break;
}
case 24: {
BJPBAJECKFO = input.ReadUInt32();
break;
}
case 40: {
FPFLNAGFDBD = input.ReadBool();
break;
}
case 50: {
if (energyInfo_ == null) {
EnergyInfo = new global::EggLink.DanhengServer.Proto.RotaterEnergyInfo();
}
input.ReadMessage(EnergyInfo);
break;
}
case 58: {
if (roomMap_ == null) {
RoomMap = new global::EggLink.DanhengServer.Proto.GNAGOMFPBHH();
}
input.ReadMessage(RoomMap);
break;
}
case 64: {
HDEHHKEMOCD = input.ReadInt32();
break;
}
case 82: {
chargerInfo_.AddEntriesFrom(input, _repeated_chargerInfo_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 18: {
rotaterDataList_.AddEntriesFrom(ref input, _repeated_rotaterDataList_codec);
break;
}
case 24: {
BJPBAJECKFO = input.ReadUInt32();
break;
}
case 40: {
FPFLNAGFDBD = input.ReadBool();
break;
}
case 50: {
if (energyInfo_ == null) {
EnergyInfo = new global::EggLink.DanhengServer.Proto.RotaterEnergyInfo();
}
input.ReadMessage(EnergyInfo);
break;
}
case 58: {
if (roomMap_ == null) {
RoomMap = new global::EggLink.DanhengServer.Proto.GNAGOMFPBHH();
}
input.ReadMessage(RoomMap);
break;
}
case 64: {
HDEHHKEMOCD = input.ReadInt32();
break;
}
case 82: {
chargerInfo_.AddEntriesFrom(ref input, _repeated_chargerInfo_codec);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code