Files
DanhengServer-OpenSource/Proto/TrainVisitorInfo.cs

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",
"cHJvdG8iiwEKEFRyYWluVmlzaXRvckluZm8SEwoLQ0VPQkRBRkVMRFAYDyAB",
"KAgSEwoLS0tIQ0dJQk5FRUQYASABKA0SEwoLQUFISUxDQkVGQUQYDCABKA0S",
"IwoGc3RhdHVzGAYgASgOMhMuVHJhaW5WaXNpdG9yU3RhdHVzEhMKC0dMTEhE",
"S0tDR1BNGAQgAygNQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9i",
"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[]{ "CEOBDAFELDP", "KKHCGIBNEED", "AAHILCBEFAD", "Status", "GLLHDKKCGPM" }, 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() {
cEOBDAFELDP_ = other.cEOBDAFELDP_;
kKHCGIBNEED_ = other.kKHCGIBNEED_;
aAHILCBEFAD_ = other.aAHILCBEFAD_;
status_ = other.status_;
gLLHDKKCGPM_ = other.gLLHDKKCGPM_.Clone();
_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 "CEOBDAFELDP" field.</summary>
public const int CEOBDAFELDPFieldNumber = 15;
private bool cEOBDAFELDP_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool CEOBDAFELDP {
get { return cEOBDAFELDP_; }
set {
cEOBDAFELDP_ = value;
}
}
/// <summary>Field number for the "KKHCGIBNEED" field.</summary>
public const int KKHCGIBNEEDFieldNumber = 1;
private uint kKHCGIBNEED_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint KKHCGIBNEED {
get { return kKHCGIBNEED_; }
set {
kKHCGIBNEED_ = value;
}
}
/// <summary>Field number for the "AAHILCBEFAD" field.</summary>
public const int AAHILCBEFADFieldNumber = 12;
private uint aAHILCBEFAD_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint AAHILCBEFAD {
get { return aAHILCBEFAD_; }
set {
aAHILCBEFAD_ = value;
}
}
/// <summary>Field number for the "status" field.</summary>
public const int StatusFieldNumber = 6;
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 "GLLHDKKCGPM" field.</summary>
public const int GLLHDKKCGPMFieldNumber = 4;
private static readonly pb::FieldCodec<uint> _repeated_gLLHDKKCGPM_codec
= pb::FieldCodec.ForUInt32(34);
private readonly pbc::RepeatedField<uint> gLLHDKKCGPM_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> GLLHDKKCGPM {
get { return gLLHDKKCGPM_; }
}
[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 (CEOBDAFELDP != other.CEOBDAFELDP) return false;
if (KKHCGIBNEED != other.KKHCGIBNEED) return false;
if (AAHILCBEFAD != other.AAHILCBEFAD) return false;
if (Status != other.Status) return false;
if(!gLLHDKKCGPM_.Equals(other.gLLHDKKCGPM_)) 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 (CEOBDAFELDP != false) hash ^= CEOBDAFELDP.GetHashCode();
if (KKHCGIBNEED != 0) hash ^= KKHCGIBNEED.GetHashCode();
if (AAHILCBEFAD != 0) hash ^= AAHILCBEFAD.GetHashCode();
if (Status != global::EggLink.DanhengServer.Proto.TrainVisitorStatus.None) hash ^= Status.GetHashCode();
hash ^= gLLHDKKCGPM_.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 (KKHCGIBNEED != 0) {
output.WriteRawTag(8);
output.WriteUInt32(KKHCGIBNEED);
}
gLLHDKKCGPM_.WriteTo(output, _repeated_gLLHDKKCGPM_codec);
if (Status != global::EggLink.DanhengServer.Proto.TrainVisitorStatus.None) {
output.WriteRawTag(48);
output.WriteEnum((int) Status);
}
if (AAHILCBEFAD != 0) {
output.WriteRawTag(96);
output.WriteUInt32(AAHILCBEFAD);
}
if (CEOBDAFELDP != false) {
output.WriteRawTag(120);
output.WriteBool(CEOBDAFELDP);
}
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 (KKHCGIBNEED != 0) {
output.WriteRawTag(8);
output.WriteUInt32(KKHCGIBNEED);
}
gLLHDKKCGPM_.WriteTo(ref output, _repeated_gLLHDKKCGPM_codec);
if (Status != global::EggLink.DanhengServer.Proto.TrainVisitorStatus.None) {
output.WriteRawTag(48);
output.WriteEnum((int) Status);
}
if (AAHILCBEFAD != 0) {
output.WriteRawTag(96);
output.WriteUInt32(AAHILCBEFAD);
}
if (CEOBDAFELDP != false) {
output.WriteRawTag(120);
output.WriteBool(CEOBDAFELDP);
}
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 (CEOBDAFELDP != false) {
size += 1 + 1;
}
if (KKHCGIBNEED != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(KKHCGIBNEED);
}
if (AAHILCBEFAD != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(AAHILCBEFAD);
}
if (Status != global::EggLink.DanhengServer.Proto.TrainVisitorStatus.None) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Status);
}
size += gLLHDKKCGPM_.CalculateSize(_repeated_gLLHDKKCGPM_codec);
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.CEOBDAFELDP != false) {
CEOBDAFELDP = other.CEOBDAFELDP;
}
if (other.KKHCGIBNEED != 0) {
KKHCGIBNEED = other.KKHCGIBNEED;
}
if (other.AAHILCBEFAD != 0) {
AAHILCBEFAD = other.AAHILCBEFAD;
}
if (other.Status != global::EggLink.DanhengServer.Proto.TrainVisitorStatus.None) {
Status = other.Status;
}
gLLHDKKCGPM_.Add(other.gLLHDKKCGPM_);
_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: {
KKHCGIBNEED = input.ReadUInt32();
break;
}
case 34:
case 32: {
gLLHDKKCGPM_.AddEntriesFrom(input, _repeated_gLLHDKKCGPM_codec);
break;
}
case 48: {
Status = (global::EggLink.DanhengServer.Proto.TrainVisitorStatus) input.ReadEnum();
break;
}
case 96: {
AAHILCBEFAD = input.ReadUInt32();
break;
}
case 120: {
CEOBDAFELDP = 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: {
KKHCGIBNEED = input.ReadUInt32();
break;
}
case 34:
case 32: {
gLLHDKKCGPM_.AddEntriesFrom(ref input, _repeated_gLLHDKKCGPM_codec);
break;
}
case 48: {
Status = (global::EggLink.DanhengServer.Proto.TrainVisitorStatus) input.ReadEnum();
break;
}
case 96: {
AAHILCBEFAD = input.ReadUInt32();
break;
}
case 120: {
CEOBDAFELDP = input.ReadBool();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code