// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: SetGrowthTargetAvatarCsReq.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 SetGrowthTargetAvatarCsReq.proto public static partial class SetGrowthTargetAvatarCsReqReflection { #region Descriptor /// File descriptor for SetGrowthTargetAvatarCsReq.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static SetGrowthTargetAvatarCsReqReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CiBTZXRHcm93dGhUYXJnZXRBdmF0YXJDc1JlcS5wcm90bxoXR3Jvd3RoVGFy", "Z2V0U3RhdGUucHJvdG8aG0dyb3d0aFRhcnRnZXRGdW5jVHlwZS5wcm90byKh", "AQoaU2V0R3Jvd3RoVGFyZ2V0QXZhdGFyQ3NSZXESNwoXZ3Jvd3RoX3Rhcmdl", "dF90eXBlX2xpc3QYASADKA4yFi5Hcm93dGhUYXJ0Z2V0RnVuY1R5cGUSEwoL", "SUROTUVLTkhMUE8YDiABKA0SIgoGc291cmNlGAUgASgOMhIuR3Jvd3RoVGFy", "Z2V0U3RhdGUSEQoJYXZhdGFyX2lkGAMgASgNQh6qAhtFZ2dMaW5rLkRhbmhl", "bmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.GrowthTargetStateReflection.Descriptor, global::EggLink.DanhengServer.Proto.GrowthTartgetFuncTypeReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.SetGrowthTargetAvatarCsReq), global::EggLink.DanhengServer.Proto.SetGrowthTargetAvatarCsReq.Parser, new[]{ "GrowthTargetTypeList", "IDNMEKNHLPO", "Source", "AvatarId" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class SetGrowthTargetAvatarCsReq : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SetGrowthTargetAvatarCsReq()); 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.SetGrowthTargetAvatarCsReqReflection.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 SetGrowthTargetAvatarCsReq() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public SetGrowthTargetAvatarCsReq(SetGrowthTargetAvatarCsReq other) : this() { growthTargetTypeList_ = other.growthTargetTypeList_.Clone(); iDNMEKNHLPO_ = other.iDNMEKNHLPO_; source_ = other.source_; avatarId_ = other.avatarId_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public SetGrowthTargetAvatarCsReq Clone() { return new SetGrowthTargetAvatarCsReq(this); } /// Field number for the "growth_target_type_list" field. public const int GrowthTargetTypeListFieldNumber = 1; private static readonly pb::FieldCodec _repeated_growthTargetTypeList_codec = pb::FieldCodec.ForEnum(10, x => (int) x, x => (global::EggLink.DanhengServer.Proto.GrowthTartgetFuncType) x); private readonly pbc::RepeatedField growthTargetTypeList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField GrowthTargetTypeList { get { return growthTargetTypeList_; } } /// Field number for the "IDNMEKNHLPO" field. public const int IDNMEKNHLPOFieldNumber = 14; private uint iDNMEKNHLPO_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint IDNMEKNHLPO { get { return iDNMEKNHLPO_; } set { iDNMEKNHLPO_ = value; } } /// Field number for the "source" field. public const int SourceFieldNumber = 5; private global::EggLink.DanhengServer.Proto.GrowthTargetState source_ = global::EggLink.DanhengServer.Proto.GrowthTargetState.GrowthTargetAvatarNone; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.GrowthTargetState Source { get { return source_; } set { source_ = value; } } /// Field number for the "avatar_id" field. public const int AvatarIdFieldNumber = 3; private uint avatarId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint AvatarId { get { return avatarId_; } set { avatarId_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as SetGrowthTargetAvatarCsReq); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(SetGrowthTargetAvatarCsReq other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if(!growthTargetTypeList_.Equals(other.growthTargetTypeList_)) return false; if (IDNMEKNHLPO != other.IDNMEKNHLPO) return false; if (Source != other.Source) return false; if (AvatarId != other.AvatarId) 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 ^= growthTargetTypeList_.GetHashCode(); if (IDNMEKNHLPO != 0) hash ^= IDNMEKNHLPO.GetHashCode(); if (Source != global::EggLink.DanhengServer.Proto.GrowthTargetState.GrowthTargetAvatarNone) hash ^= Source.GetHashCode(); if (AvatarId != 0) hash ^= AvatarId.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 growthTargetTypeList_.WriteTo(output, _repeated_growthTargetTypeList_codec); if (AvatarId != 0) { output.WriteRawTag(24); output.WriteUInt32(AvatarId); } if (Source != global::EggLink.DanhengServer.Proto.GrowthTargetState.GrowthTargetAvatarNone) { output.WriteRawTag(40); output.WriteEnum((int) Source); } if (IDNMEKNHLPO != 0) { output.WriteRawTag(112); output.WriteUInt32(IDNMEKNHLPO); } 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) { growthTargetTypeList_.WriteTo(ref output, _repeated_growthTargetTypeList_codec); if (AvatarId != 0) { output.WriteRawTag(24); output.WriteUInt32(AvatarId); } if (Source != global::EggLink.DanhengServer.Proto.GrowthTargetState.GrowthTargetAvatarNone) { output.WriteRawTag(40); output.WriteEnum((int) Source); } if (IDNMEKNHLPO != 0) { output.WriteRawTag(112); output.WriteUInt32(IDNMEKNHLPO); } 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 += growthTargetTypeList_.CalculateSize(_repeated_growthTargetTypeList_codec); if (IDNMEKNHLPO != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(IDNMEKNHLPO); } if (Source != global::EggLink.DanhengServer.Proto.GrowthTargetState.GrowthTargetAvatarNone) { size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Source); } if (AvatarId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(AvatarId); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(SetGrowthTargetAvatarCsReq other) { if (other == null) { return; } growthTargetTypeList_.Add(other.growthTargetTypeList_); if (other.IDNMEKNHLPO != 0) { IDNMEKNHLPO = other.IDNMEKNHLPO; } if (other.Source != global::EggLink.DanhengServer.Proto.GrowthTargetState.GrowthTargetAvatarNone) { Source = other.Source; } if (other.AvatarId != 0) { AvatarId = other.AvatarId; } _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 10: case 8: { growthTargetTypeList_.AddEntriesFrom(input, _repeated_growthTargetTypeList_codec); break; } case 24: { AvatarId = input.ReadUInt32(); break; } case 40: { Source = (global::EggLink.DanhengServer.Proto.GrowthTargetState) input.ReadEnum(); break; } case 112: { IDNMEKNHLPO = 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 10: case 8: { growthTargetTypeList_.AddEntriesFrom(ref input, _repeated_growthTargetTypeList_codec); break; } case 24: { AvatarId = input.ReadUInt32(); break; } case 40: { Source = (global::EggLink.DanhengServer.Proto.GrowthTargetState) input.ReadEnum(); break; } case 112: { IDNMEKNHLPO = input.ReadUInt32(); break; } } } } #endif } #endregion } #endregion Designer generated code