// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: FriendSimpleInfo.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 FriendSimpleInfo.proto public static partial class FriendSimpleInfoReflection { #region Descriptor /// File descriptor for FriendSimpleInfo.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static FriendSimpleInfoReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "ChZGcmllbmRTaW1wbGVJbmZvLnByb3RvGhFOQUFKS0xNTklKSS5wcm90bxoS", "UGxheWluZ1N0YXRlLnByb3RvGhZQbGF5ZXJTaW1wbGVJbmZvLnByb3RvIsAB", "ChBGcmllbmRTaW1wbGVJbmZvEhMKC3JlbWFya19uYW1lGAwgASgJEiYKC3Bs", "YXllcl9pbmZvGAggASgLMhEuUGxheWVyU2ltcGxlSW5mbxIRCglpc19tYXJr", "ZWQYCyABKAgSJAoNcGxheWluZ19zdGF0ZRgHIAEoDjINLlBsYXlpbmdTdGF0", "ZRIhCgtFRkFFQUxLRUlQRBgNIAEoCzIMLk5BQUpLTE1OSUpJEhMKC2NyZWF0", "ZV90aW1lGAYgASgDQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9i", "BnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.NAAJKLMNIJIReflection.Descriptor, global::EggLink.DanhengServer.Proto.PlayingStateReflection.Descriptor, global::EggLink.DanhengServer.Proto.PlayerSimpleInfoReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.FriendSimpleInfo), global::EggLink.DanhengServer.Proto.FriendSimpleInfo.Parser, new[]{ "RemarkName", "PlayerInfo", "IsMarked", "PlayingState", "EFAEALKEIPD", "CreateTime" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class FriendSimpleInfo : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FriendSimpleInfo()); 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.FriendSimpleInfoReflection.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 FriendSimpleInfo() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public FriendSimpleInfo(FriendSimpleInfo other) : this() { remarkName_ = other.remarkName_; playerInfo_ = other.playerInfo_ != null ? other.playerInfo_.Clone() : null; isMarked_ = other.isMarked_; playingState_ = other.playingState_; eFAEALKEIPD_ = other.eFAEALKEIPD_ != null ? other.eFAEALKEIPD_.Clone() : null; createTime_ = other.createTime_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public FriendSimpleInfo Clone() { return new FriendSimpleInfo(this); } /// Field number for the "remark_name" field. public const int RemarkNameFieldNumber = 12; private string remarkName_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string RemarkName { get { return remarkName_; } set { remarkName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "player_info" field. public const int PlayerInfoFieldNumber = 8; private global::EggLink.DanhengServer.Proto.PlayerSimpleInfo playerInfo_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.PlayerSimpleInfo PlayerInfo { get { return playerInfo_; } set { playerInfo_ = value; } } /// Field number for the "is_marked" field. public const int IsMarkedFieldNumber = 11; private bool isMarked_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool IsMarked { get { return isMarked_; } set { isMarked_ = value; } } /// Field number for the "playing_state" field. public const int PlayingStateFieldNumber = 7; private global::EggLink.DanhengServer.Proto.PlayingState playingState_ = global::EggLink.DanhengServer.Proto.PlayingState.None; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.PlayingState PlayingState { get { return playingState_; } set { playingState_ = value; } } /// Field number for the "EFAEALKEIPD" field. public const int EFAEALKEIPDFieldNumber = 13; private global::EggLink.DanhengServer.Proto.NAAJKLMNIJI eFAEALKEIPD_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.NAAJKLMNIJI EFAEALKEIPD { get { return eFAEALKEIPD_; } set { eFAEALKEIPD_ = value; } } /// Field number for the "create_time" field. public const int CreateTimeFieldNumber = 6; private long createTime_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long CreateTime { get { return createTime_; } set { createTime_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as FriendSimpleInfo); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(FriendSimpleInfo other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (RemarkName != other.RemarkName) return false; if (!object.Equals(PlayerInfo, other.PlayerInfo)) return false; if (IsMarked != other.IsMarked) return false; if (PlayingState != other.PlayingState) return false; if (!object.Equals(EFAEALKEIPD, other.EFAEALKEIPD)) return false; if (CreateTime != other.CreateTime) 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 (RemarkName.Length != 0) hash ^= RemarkName.GetHashCode(); if (playerInfo_ != null) hash ^= PlayerInfo.GetHashCode(); if (IsMarked != false) hash ^= IsMarked.GetHashCode(); if (PlayingState != global::EggLink.DanhengServer.Proto.PlayingState.None) hash ^= PlayingState.GetHashCode(); if (eFAEALKEIPD_ != null) hash ^= EFAEALKEIPD.GetHashCode(); if (CreateTime != 0L) hash ^= CreateTime.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 (CreateTime != 0L) { output.WriteRawTag(48); output.WriteInt64(CreateTime); } if (PlayingState != global::EggLink.DanhengServer.Proto.PlayingState.None) { output.WriteRawTag(56); output.WriteEnum((int) PlayingState); } if (playerInfo_ != null) { output.WriteRawTag(66); output.WriteMessage(PlayerInfo); } if (IsMarked != false) { output.WriteRawTag(88); output.WriteBool(IsMarked); } if (RemarkName.Length != 0) { output.WriteRawTag(98); output.WriteString(RemarkName); } if (eFAEALKEIPD_ != null) { output.WriteRawTag(106); output.WriteMessage(EFAEALKEIPD); } 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 (CreateTime != 0L) { output.WriteRawTag(48); output.WriteInt64(CreateTime); } if (PlayingState != global::EggLink.DanhengServer.Proto.PlayingState.None) { output.WriteRawTag(56); output.WriteEnum((int) PlayingState); } if (playerInfo_ != null) { output.WriteRawTag(66); output.WriteMessage(PlayerInfo); } if (IsMarked != false) { output.WriteRawTag(88); output.WriteBool(IsMarked); } if (RemarkName.Length != 0) { output.WriteRawTag(98); output.WriteString(RemarkName); } if (eFAEALKEIPD_ != null) { output.WriteRawTag(106); output.WriteMessage(EFAEALKEIPD); } 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 (RemarkName.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(RemarkName); } if (playerInfo_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(PlayerInfo); } if (IsMarked != false) { size += 1 + 1; } if (PlayingState != global::EggLink.DanhengServer.Proto.PlayingState.None) { size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) PlayingState); } if (eFAEALKEIPD_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(EFAEALKEIPD); } if (CreateTime != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(CreateTime); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(FriendSimpleInfo other) { if (other == null) { return; } if (other.RemarkName.Length != 0) { RemarkName = other.RemarkName; } if (other.playerInfo_ != null) { if (playerInfo_ == null) { PlayerInfo = new global::EggLink.DanhengServer.Proto.PlayerSimpleInfo(); } PlayerInfo.MergeFrom(other.PlayerInfo); } if (other.IsMarked != false) { IsMarked = other.IsMarked; } if (other.PlayingState != global::EggLink.DanhengServer.Proto.PlayingState.None) { PlayingState = other.PlayingState; } if (other.eFAEALKEIPD_ != null) { if (eFAEALKEIPD_ == null) { EFAEALKEIPD = new global::EggLink.DanhengServer.Proto.NAAJKLMNIJI(); } EFAEALKEIPD.MergeFrom(other.EFAEALKEIPD); } if (other.CreateTime != 0L) { CreateTime = other.CreateTime; } _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 48: { CreateTime = input.ReadInt64(); break; } case 56: { PlayingState = (global::EggLink.DanhengServer.Proto.PlayingState) input.ReadEnum(); break; } case 66: { if (playerInfo_ == null) { PlayerInfo = new global::EggLink.DanhengServer.Proto.PlayerSimpleInfo(); } input.ReadMessage(PlayerInfo); break; } case 88: { IsMarked = input.ReadBool(); break; } case 98: { RemarkName = input.ReadString(); break; } case 106: { if (eFAEALKEIPD_ == null) { EFAEALKEIPD = new global::EggLink.DanhengServer.Proto.NAAJKLMNIJI(); } input.ReadMessage(EFAEALKEIPD); 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 48: { CreateTime = input.ReadInt64(); break; } case 56: { PlayingState = (global::EggLink.DanhengServer.Proto.PlayingState) input.ReadEnum(); break; } case 66: { if (playerInfo_ == null) { PlayerInfo = new global::EggLink.DanhengServer.Proto.PlayerSimpleInfo(); } input.ReadMessage(PlayerInfo); break; } case 88: { IsMarked = input.ReadBool(); break; } case 98: { RemarkName = input.ReadString(); break; } case 106: { if (eFAEALKEIPD_ == null) { EFAEALKEIPD = new global::EggLink.DanhengServer.Proto.NAAJKLMNIJI(); } input.ReadMessage(EFAEALKEIPD); break; } } } } #endif } #endregion } #endregion Designer generated code