Files
DanhengServer-OpenSource/Proto/TrainVisitorInfo.cs
2024-10-05 22:40:41 +08:00

377 lines
14 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: TrainVisitorInfo.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 TrainVisitorInfo.proto</summary>
public static partial class TrainVisitorInfoReflection {
#region Descriptor
/// <summary>File descriptor for TrainVisitorInfo.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static TrainVisitorInfoReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChZUcmFpblZpc2l0b3JJbmZvLnByb3RvGhhUcmFpblZpc2l0b3JTdGF0dXMu",
"cHJvdG8iiwEKEFRyYWluVmlzaXRvckluZm8SEwoLREpMS0NIS01OTUkYBSAB",
"KA0SEwoLTkdPTUFMR0NKTkYYDCABKAgSIwoGc3RhdHVzGAEgASgOMhMuVHJh",
"aW5WaXNpdG9yU3RhdHVzEhMKC0VDRExGRUFOSk1BGAcgAygNEhMKC0FCUExO",
"UE1OREFEGAIgASgNQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9i",
"BnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.TrainVisitorStatusReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.TrainVisitorInfo), global::EggLink.DanhengServer.Proto.TrainVisitorInfo.Parser, new[]{ "DJLKCHKMNMI", "NGOMALGCJNF", "Status", "ECDLFEANJMA", "ABPLNPMNDAD" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class TrainVisitorInfo : pb::IMessage<TrainVisitorInfo>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<TrainVisitorInfo> _parser = new pb::MessageParser<TrainVisitorInfo>(() => new TrainVisitorInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<TrainVisitorInfo> 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.TrainVisitorInfoReflection.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 TrainVisitorInfo() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public TrainVisitorInfo(TrainVisitorInfo other) : this() {
dJLKCHKMNMI_ = other.dJLKCHKMNMI_;
nGOMALGCJNF_ = other.nGOMALGCJNF_;
status_ = other.status_;
eCDLFEANJMA_ = other.eCDLFEANJMA_.Clone();
aBPLNPMNDAD_ = other.aBPLNPMNDAD_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public TrainVisitorInfo Clone() {
return new TrainVisitorInfo(this);
}
/// <summary>Field number for the "DJLKCHKMNMI" field.</summary>
public const int DJLKCHKMNMIFieldNumber = 5;
private uint dJLKCHKMNMI_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint DJLKCHKMNMI {
get { return dJLKCHKMNMI_; }
set {
dJLKCHKMNMI_ = value;
}
}
/// <summary>Field number for the "NGOMALGCJNF" field.</summary>
public const int NGOMALGCJNFFieldNumber = 12;
private bool nGOMALGCJNF_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool NGOMALGCJNF {
get { return nGOMALGCJNF_; }
set {
nGOMALGCJNF_ = value;
}
}
/// <summary>Field number for the "status" field.</summary>
public const int StatusFieldNumber = 1;
private global::EggLink.DanhengServer.Proto.TrainVisitorStatus status_ = global::EggLink.DanhengServer.Proto.TrainVisitorStatus.None;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.TrainVisitorStatus Status {
get { return status_; }
set {
status_ = value;
}
}
/// <summary>Field number for the "ECDLFEANJMA" field.</summary>
public const int ECDLFEANJMAFieldNumber = 7;
private static readonly pb::FieldCodec<uint> _repeated_eCDLFEANJMA_codec
= pb::FieldCodec.ForUInt32(58);
private readonly pbc::RepeatedField<uint> eCDLFEANJMA_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> ECDLFEANJMA {
get { return eCDLFEANJMA_; }
}
/// <summary>Field number for the "ABPLNPMNDAD" field.</summary>
public const int ABPLNPMNDADFieldNumber = 2;
private uint aBPLNPMNDAD_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint ABPLNPMNDAD {
get { return aBPLNPMNDAD_; }
set {
aBPLNPMNDAD_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as TrainVisitorInfo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(TrainVisitorInfo other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (DJLKCHKMNMI != other.DJLKCHKMNMI) return false;
if (NGOMALGCJNF != other.NGOMALGCJNF) return false;
if (Status != other.Status) return false;
if(!eCDLFEANJMA_.Equals(other.eCDLFEANJMA_)) return false;
if (ABPLNPMNDAD != other.ABPLNPMNDAD) 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 (DJLKCHKMNMI != 0) hash ^= DJLKCHKMNMI.GetHashCode();
if (NGOMALGCJNF != false) hash ^= NGOMALGCJNF.GetHashCode();
if (Status != global::EggLink.DanhengServer.Proto.TrainVisitorStatus.None) hash ^= Status.GetHashCode();
hash ^= eCDLFEANJMA_.GetHashCode();
if (ABPLNPMNDAD != 0) hash ^= ABPLNPMNDAD.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 (Status != global::EggLink.DanhengServer.Proto.TrainVisitorStatus.None) {
output.WriteRawTag(8);
output.WriteEnum((int) Status);
}
if (ABPLNPMNDAD != 0) {
output.WriteRawTag(16);
output.WriteUInt32(ABPLNPMNDAD);
}
if (DJLKCHKMNMI != 0) {
output.WriteRawTag(40);
output.WriteUInt32(DJLKCHKMNMI);
}
eCDLFEANJMA_.WriteTo(output, _repeated_eCDLFEANJMA_codec);
if (NGOMALGCJNF != false) {
output.WriteRawTag(96);
output.WriteBool(NGOMALGCJNF);
}
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 (Status != global::EggLink.DanhengServer.Proto.TrainVisitorStatus.None) {
output.WriteRawTag(8);
output.WriteEnum((int) Status);
}
if (ABPLNPMNDAD != 0) {
output.WriteRawTag(16);
output.WriteUInt32(ABPLNPMNDAD);
}
if (DJLKCHKMNMI != 0) {
output.WriteRawTag(40);
output.WriteUInt32(DJLKCHKMNMI);
}
eCDLFEANJMA_.WriteTo(ref output, _repeated_eCDLFEANJMA_codec);
if (NGOMALGCJNF != false) {
output.WriteRawTag(96);
output.WriteBool(NGOMALGCJNF);
}
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 (DJLKCHKMNMI != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DJLKCHKMNMI);
}
if (NGOMALGCJNF != false) {
size += 1 + 1;
}
if (Status != global::EggLink.DanhengServer.Proto.TrainVisitorStatus.None) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Status);
}
size += eCDLFEANJMA_.CalculateSize(_repeated_eCDLFEANJMA_codec);
if (ABPLNPMNDAD != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ABPLNPMNDAD);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(TrainVisitorInfo other) {
if (other == null) {
return;
}
if (other.DJLKCHKMNMI != 0) {
DJLKCHKMNMI = other.DJLKCHKMNMI;
}
if (other.NGOMALGCJNF != false) {
NGOMALGCJNF = other.NGOMALGCJNF;
}
if (other.Status != global::EggLink.DanhengServer.Proto.TrainVisitorStatus.None) {
Status = other.Status;
}
eCDLFEANJMA_.Add(other.eCDLFEANJMA_);
if (other.ABPLNPMNDAD != 0) {
ABPLNPMNDAD = other.ABPLNPMNDAD;
}
_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: {
Status = (global::EggLink.DanhengServer.Proto.TrainVisitorStatus) input.ReadEnum();
break;
}
case 16: {
ABPLNPMNDAD = input.ReadUInt32();
break;
}
case 40: {
DJLKCHKMNMI = input.ReadUInt32();
break;
}
case 58:
case 56: {
eCDLFEANJMA_.AddEntriesFrom(input, _repeated_eCDLFEANJMA_codec);
break;
}
case 96: {
NGOMALGCJNF = input.ReadBool();
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: {
Status = (global::EggLink.DanhengServer.Proto.TrainVisitorStatus) input.ReadEnum();
break;
}
case 16: {
ABPLNPMNDAD = input.ReadUInt32();
break;
}
case 40: {
DJLKCHKMNMI = input.ReadUInt32();
break;
}
case 58:
case 56: {
eCDLFEANJMA_.AddEntriesFrom(ref input, _repeated_eCDLFEANJMA_codec);
break;
}
case 96: {
NGOMALGCJNF = input.ReadBool();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code