// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: star_tower_rank_apply.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 Proto { /// Holder for reflection information generated from star_tower_rank_apply.proto public static partial class StarTowerRankApplyReflection { #region Descriptor /// File descriptor for star_tower_rank_apply.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static StarTowerRankApplyReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "ChtzdGFyX3Rvd2VyX3JhbmtfYXBwbHkucHJvdG8SBXByb3RvGgxwdWJsaWMu", "cHJvdG8aF3B1YmxpY19zdGFyX3Rvd2VyLnByb3RvGhZzdGFyX3Rvd2VyX2Fw", "cGx5LnByb3RvImYKFVN0YXJUb3dlclJhbmtBcHBseVJlcRIlCgNSZXEYASAB", "KAsyGC5wcm90by5TdGFyVG93ZXJBcHBseVJlcRIQCghTZWFzb25JZBgPIAEo", "DRIUCgtOZXh0UGFja2FnZRj/DyABKAwilwEKFlN0YXJUb3dlclJhbmtBcHBs", "eVJlc3ASJwoEUmVzcBgBIAEoCzIZLnByb3RvLlN0YXJUb3dlckFwcGx5UmVz", "cBIhCgZDaGFuZ2UYDiABKAsyES5wcm90by5DaGFuZ2VJbmZvEhsKE1N0YXJU", "b3dlclJhbmtUaWNrZXQYDyABKA0SFAoLTmV4dFBhY2thZ2UY/w8gASgMUABi", "BnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, global::Proto.PublicStarTowerReflection.Descriptor, global::Proto.StarTowerApplyReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StarTowerRankApplyReq), global::Proto.StarTowerRankApplyReq.Parser, new[]{ "Req", "SeasonId", "NextPackage" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StarTowerRankApplyResp), global::Proto.StarTowerRankApplyResp.Parser, new[]{ "Resp", "Change", "StarTowerRankTicket", "NextPackage" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class StarTowerRankApplyReq : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StarTowerRankApplyReq()); 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::Proto.StarTowerRankApplyReflection.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 StarTowerRankApplyReq() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public StarTowerRankApplyReq(StarTowerRankApplyReq other) : this() { req_ = other.req_ != null ? other.req_.Clone() : null; seasonId_ = other.seasonId_; nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public StarTowerRankApplyReq Clone() { return new StarTowerRankApplyReq(this); } /// Field number for the "Req" field. public const int ReqFieldNumber = 1; private global::Proto.StarTowerApplyReq req_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Proto.StarTowerApplyReq Req { get { return req_; } set { req_ = value; } } /// Field number for the "SeasonId" field. public const int SeasonIdFieldNumber = 15; private uint seasonId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint SeasonId { get { return seasonId_; } set { seasonId_ = value; } } /// Field number for the "NextPackage" field. public const int NextPackageFieldNumber = 2047; private pb::ByteString nextPackage_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pb::ByteString NextPackage { get { return nextPackage_; } set { nextPackage_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as StarTowerRankApplyReq); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(StarTowerRankApplyReq other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(Req, other.Req)) return false; if (SeasonId != other.SeasonId) return false; if (NextPackage != other.NextPackage) 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 (req_ != null) hash ^= Req.GetHashCode(); if (SeasonId != 0) hash ^= SeasonId.GetHashCode(); if (NextPackage.Length != 0) hash ^= NextPackage.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 (req_ != null) { output.WriteRawTag(10); output.WriteMessage(Req); } if (SeasonId != 0) { output.WriteRawTag(120); output.WriteUInt32(SeasonId); } if (NextPackage.Length != 0) { output.WriteRawTag(250, 127); output.WriteBytes(NextPackage); } 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 (req_ != null) { output.WriteRawTag(10); output.WriteMessage(Req); } if (SeasonId != 0) { output.WriteRawTag(120); output.WriteUInt32(SeasonId); } if (NextPackage.Length != 0) { output.WriteRawTag(250, 127); output.WriteBytes(NextPackage); } 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 (req_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Req); } if (SeasonId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SeasonId); } if (NextPackage.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(StarTowerRankApplyReq other) { if (other == null) { return; } if (other.req_ != null) { if (req_ == null) { Req = new global::Proto.StarTowerApplyReq(); } Req.MergeFrom(other.Req); } if (other.SeasonId != 0) { SeasonId = other.SeasonId; } if (other.NextPackage.Length != 0) { NextPackage = other.NextPackage; } _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) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { if (req_ == null) { Req = new global::Proto.StarTowerApplyReq(); } input.ReadMessage(Req); break; } case 120: { SeasonId = input.ReadUInt32(); break; } case 16378: { NextPackage = input.ReadBytes(); 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) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { if (req_ == null) { Req = new global::Proto.StarTowerApplyReq(); } input.ReadMessage(Req); break; } case 120: { SeasonId = input.ReadUInt32(); break; } case 16378: { NextPackage = input.ReadBytes(); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class StarTowerRankApplyResp : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StarTowerRankApplyResp()); 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::Proto.StarTowerRankApplyReflection.Descriptor.MessageTypes[1]; } } [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 StarTowerRankApplyResp() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public StarTowerRankApplyResp(StarTowerRankApplyResp other) : this() { resp_ = other.resp_ != null ? other.resp_.Clone() : null; change_ = other.change_ != null ? other.change_.Clone() : null; starTowerRankTicket_ = other.starTowerRankTicket_; nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public StarTowerRankApplyResp Clone() { return new StarTowerRankApplyResp(this); } /// Field number for the "Resp" field. public const int RespFieldNumber = 1; private global::Proto.StarTowerApplyResp resp_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Proto.StarTowerApplyResp Resp { get { return resp_; } set { resp_ = value; } } /// Field number for the "Change" field. public const int ChangeFieldNumber = 14; private global::Proto.ChangeInfo change_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Proto.ChangeInfo Change { get { return change_; } set { change_ = value; } } /// Field number for the "StarTowerRankTicket" field. public const int StarTowerRankTicketFieldNumber = 15; private uint starTowerRankTicket_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint StarTowerRankTicket { get { return starTowerRankTicket_; } set { starTowerRankTicket_ = value; } } /// Field number for the "NextPackage" field. public const int NextPackageFieldNumber = 2047; private pb::ByteString nextPackage_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pb::ByteString NextPackage { get { return nextPackage_; } set { nextPackage_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as StarTowerRankApplyResp); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(StarTowerRankApplyResp other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(Resp, other.Resp)) return false; if (!object.Equals(Change, other.Change)) return false; if (StarTowerRankTicket != other.StarTowerRankTicket) return false; if (NextPackage != other.NextPackage) 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 (resp_ != null) hash ^= Resp.GetHashCode(); if (change_ != null) hash ^= Change.GetHashCode(); if (StarTowerRankTicket != 0) hash ^= StarTowerRankTicket.GetHashCode(); if (NextPackage.Length != 0) hash ^= NextPackage.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 (resp_ != null) { output.WriteRawTag(10); output.WriteMessage(Resp); } if (change_ != null) { output.WriteRawTag(114); output.WriteMessage(Change); } if (StarTowerRankTicket != 0) { output.WriteRawTag(120); output.WriteUInt32(StarTowerRankTicket); } if (NextPackage.Length != 0) { output.WriteRawTag(250, 127); output.WriteBytes(NextPackage); } 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 (resp_ != null) { output.WriteRawTag(10); output.WriteMessage(Resp); } if (change_ != null) { output.WriteRawTag(114); output.WriteMessage(Change); } if (StarTowerRankTicket != 0) { output.WriteRawTag(120); output.WriteUInt32(StarTowerRankTicket); } if (NextPackage.Length != 0) { output.WriteRawTag(250, 127); output.WriteBytes(NextPackage); } 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 (resp_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Resp); } if (change_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Change); } if (StarTowerRankTicket != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(StarTowerRankTicket); } if (NextPackage.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(StarTowerRankApplyResp other) { if (other == null) { return; } if (other.resp_ != null) { if (resp_ == null) { Resp = new global::Proto.StarTowerApplyResp(); } Resp.MergeFrom(other.Resp); } if (other.change_ != null) { if (change_ == null) { Change = new global::Proto.ChangeInfo(); } Change.MergeFrom(other.Change); } if (other.StarTowerRankTicket != 0) { StarTowerRankTicket = other.StarTowerRankTicket; } if (other.NextPackage.Length != 0) { NextPackage = other.NextPackage; } _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) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { if (resp_ == null) { Resp = new global::Proto.StarTowerApplyResp(); } input.ReadMessage(Resp); break; } case 114: { if (change_ == null) { Change = new global::Proto.ChangeInfo(); } input.ReadMessage(Change); break; } case 120: { StarTowerRankTicket = input.ReadUInt32(); break; } case 16378: { NextPackage = input.ReadBytes(); 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) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { if (resp_ == null) { Resp = new global::Proto.StarTowerApplyResp(); } input.ReadMessage(Resp); break; } case 114: { if (change_ == null) { Change = new global::Proto.ChangeInfo(); } input.ReadMessage(Change); break; } case 120: { StarTowerRankTicket = input.ReadUInt32(); break; } case 16378: { NextPackage = input.ReadBytes(); break; } } } } #endif } #endregion } #endregion Designer generated code