//
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: TrainPartyPassenger.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 TrainPartyPassenger.proto
public static partial class TrainPartyPassengerReflection {
#region Descriptor
/// File descriptor for TrainPartyPassenger.proto
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static TrainPartyPassengerReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChlUcmFpblBhcnR5UGFzc2VuZ2VyLnByb3RvImgKE1RyYWluUGFydHlQYXNz",
"ZW5nZXISEQoJcmVjb3JkX2lkGA0gASgNEhMKC1BDTE1OQklMQVBIGAQgAygN",
"EhMKC0NJTk1MQ0tCSElNGAUgASgIEhQKDHBhc3Nlbmdlcl9pZBgDIAEoDUIe",
"qgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlByb3RvYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.TrainPartyPassenger), global::EggLink.DanhengServer.Proto.TrainPartyPassenger.Parser, new[]{ "RecordId", "PCLMNBILAPH", "CINMLCKBHIM", "PassengerId" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class TrainPartyPassenger : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TrainPartyPassenger());
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.TrainPartyPassengerReflection.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 TrainPartyPassenger() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public TrainPartyPassenger(TrainPartyPassenger other) : this() {
recordId_ = other.recordId_;
pCLMNBILAPH_ = other.pCLMNBILAPH_.Clone();
cINMLCKBHIM_ = other.cINMLCKBHIM_;
passengerId_ = other.passengerId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public TrainPartyPassenger Clone() {
return new TrainPartyPassenger(this);
}
/// Field number for the "record_id" field.
public const int RecordIdFieldNumber = 13;
private uint recordId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint RecordId {
get { return recordId_; }
set {
recordId_ = value;
}
}
/// Field number for the "PCLMNBILAPH" field.
public const int PCLMNBILAPHFieldNumber = 4;
private static readonly pb::FieldCodec _repeated_pCLMNBILAPH_codec
= pb::FieldCodec.ForUInt32(34);
private readonly pbc::RepeatedField pCLMNBILAPH_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField PCLMNBILAPH {
get { return pCLMNBILAPH_; }
}
/// Field number for the "CINMLCKBHIM" field.
public const int CINMLCKBHIMFieldNumber = 5;
private bool cINMLCKBHIM_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool CINMLCKBHIM {
get { return cINMLCKBHIM_; }
set {
cINMLCKBHIM_ = value;
}
}
/// Field number for the "passenger_id" field.
public const int PassengerIdFieldNumber = 3;
private uint passengerId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint PassengerId {
get { return passengerId_; }
set {
passengerId_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as TrainPartyPassenger);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(TrainPartyPassenger other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (RecordId != other.RecordId) return false;
if(!pCLMNBILAPH_.Equals(other.pCLMNBILAPH_)) return false;
if (CINMLCKBHIM != other.CINMLCKBHIM) return false;
if (PassengerId != other.PassengerId) 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 (RecordId != 0) hash ^= RecordId.GetHashCode();
hash ^= pCLMNBILAPH_.GetHashCode();
if (CINMLCKBHIM != false) hash ^= CINMLCKBHIM.GetHashCode();
if (PassengerId != 0) hash ^= PassengerId.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 (PassengerId != 0) {
output.WriteRawTag(24);
output.WriteUInt32(PassengerId);
}
pCLMNBILAPH_.WriteTo(output, _repeated_pCLMNBILAPH_codec);
if (CINMLCKBHIM != false) {
output.WriteRawTag(40);
output.WriteBool(CINMLCKBHIM);
}
if (RecordId != 0) {
output.WriteRawTag(104);
output.WriteUInt32(RecordId);
}
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 (PassengerId != 0) {
output.WriteRawTag(24);
output.WriteUInt32(PassengerId);
}
pCLMNBILAPH_.WriteTo(ref output, _repeated_pCLMNBILAPH_codec);
if (CINMLCKBHIM != false) {
output.WriteRawTag(40);
output.WriteBool(CINMLCKBHIM);
}
if (RecordId != 0) {
output.WriteRawTag(104);
output.WriteUInt32(RecordId);
}
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 (RecordId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RecordId);
}
size += pCLMNBILAPH_.CalculateSize(_repeated_pCLMNBILAPH_codec);
if (CINMLCKBHIM != false) {
size += 1 + 1;
}
if (PassengerId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PassengerId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(TrainPartyPassenger other) {
if (other == null) {
return;
}
if (other.RecordId != 0) {
RecordId = other.RecordId;
}
pCLMNBILAPH_.Add(other.pCLMNBILAPH_);
if (other.CINMLCKBHIM != false) {
CINMLCKBHIM = other.CINMLCKBHIM;
}
if (other.PassengerId != 0) {
PassengerId = other.PassengerId;
}
_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 24: {
PassengerId = input.ReadUInt32();
break;
}
case 34:
case 32: {
pCLMNBILAPH_.AddEntriesFrom(input, _repeated_pCLMNBILAPH_codec);
break;
}
case 40: {
CINMLCKBHIM = input.ReadBool();
break;
}
case 104: {
RecordId = input.ReadUInt32();
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 24: {
PassengerId = input.ReadUInt32();
break;
}
case 34:
case 32: {
pCLMNBILAPH_.AddEntriesFrom(ref input, _repeated_pCLMNBILAPH_codec);
break;
}
case 40: {
CINMLCKBHIM = input.ReadBool();
break;
}
case 104: {
RecordId = input.ReadUInt32();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code