mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
411 lines
17 KiB
C#
411 lines
17 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: GetBigDataAllRecommendScRsp.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 GetBigDataAllRecommendScRsp.proto</summary>
|
|
public static partial class GetBigDataAllRecommendScRspReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for GetBigDataAllRecommendScRsp.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static GetBigDataAllRecommendScRspReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"CiFHZXRCaWdEYXRhQWxsUmVjb21tZW5kU2NSc3AucHJvdG8aH0JpZ0RhdGFB",
|
|
"bGxSZWxpY0F2YXRhckxpc3QucHJvdG8aH0JpZ0RhdGFBbGxBdmF0YXJSZWxp",
|
|
"Y0xpc3QucHJvdG8aGkJpZ0RhdGFSZWNvbW1lbmRUeXBlLnByb3RvItsBChtH",
|
|
"ZXRCaWdEYXRhQWxsUmVjb21tZW5kU2NSc3ASMgoMcmVsaWNfYXZhdGFyGAog",
|
|
"ASgLMhouQmlnRGF0YUFsbFJlbGljQXZhdGFyTGlzdEgAEjIKDGF2YXRhcl9y",
|
|
"ZWxpYxgHIAEoCzIaLkJpZ0RhdGFBbGxBdmF0YXJSZWxpY0xpc3RIABI2Chdi",
|
|
"aWdfZGF0YV9yZWNvbW1lbmRfdHlwZRgFIAEoDjIVLkJpZ0RhdGFSZWNvbW1l",
|
|
"bmRUeXBlEg8KB3JldGNvZGUYDyABKA1CCwoJZGF0YV9jYXNlQh6qAhtFZ2dM",
|
|
"aW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw=="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.BigDataAllRelicAvatarListReflection.Descriptor, global::EggLink.DanhengServer.Proto.BigDataAllAvatarRelicListReflection.Descriptor, global::EggLink.DanhengServer.Proto.BigDataRecommendTypeReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GetBigDataAllRecommendScRsp), global::EggLink.DanhengServer.Proto.GetBigDataAllRecommendScRsp.Parser, new[]{ "RelicAvatar", "AvatarRelic", "BigDataRecommendType", "Retcode" }, new[]{ "DataCase" }, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class GetBigDataAllRecommendScRsp : pb::IMessage<GetBigDataAllRecommendScRsp>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<GetBigDataAllRecommendScRsp> _parser = new pb::MessageParser<GetBigDataAllRecommendScRsp>(() => new GetBigDataAllRecommendScRsp());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<GetBigDataAllRecommendScRsp> 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.GetBigDataAllRecommendScRspReflection.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 GetBigDataAllRecommendScRsp() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public GetBigDataAllRecommendScRsp(GetBigDataAllRecommendScRsp other) : this() {
|
|
bigDataRecommendType_ = other.bigDataRecommendType_;
|
|
retcode_ = other.retcode_;
|
|
switch (other.DataCaseCase) {
|
|
case DataCaseOneofCase.RelicAvatar:
|
|
RelicAvatar = other.RelicAvatar.Clone();
|
|
break;
|
|
case DataCaseOneofCase.AvatarRelic:
|
|
AvatarRelic = other.AvatarRelic.Clone();
|
|
break;
|
|
}
|
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public GetBigDataAllRecommendScRsp Clone() {
|
|
return new GetBigDataAllRecommendScRsp(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "relic_avatar" field.</summary>
|
|
public const int RelicAvatarFieldNumber = 10;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.BigDataAllRelicAvatarList RelicAvatar {
|
|
get { return dataCaseCase_ == DataCaseOneofCase.RelicAvatar ? (global::EggLink.DanhengServer.Proto.BigDataAllRelicAvatarList) dataCase_ : null; }
|
|
set {
|
|
dataCase_ = value;
|
|
dataCaseCase_ = value == null ? DataCaseOneofCase.None : DataCaseOneofCase.RelicAvatar;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "avatar_relic" field.</summary>
|
|
public const int AvatarRelicFieldNumber = 7;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.BigDataAllAvatarRelicList AvatarRelic {
|
|
get { return dataCaseCase_ == DataCaseOneofCase.AvatarRelic ? (global::EggLink.DanhengServer.Proto.BigDataAllAvatarRelicList) dataCase_ : null; }
|
|
set {
|
|
dataCase_ = value;
|
|
dataCaseCase_ = value == null ? DataCaseOneofCase.None : DataCaseOneofCase.AvatarRelic;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "big_data_recommend_type" field.</summary>
|
|
public const int BigDataRecommendTypeFieldNumber = 5;
|
|
private global::EggLink.DanhengServer.Proto.BigDataRecommendType bigDataRecommendType_ = global::EggLink.DanhengServer.Proto.BigDataRecommendType.None;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.BigDataRecommendType BigDataRecommendType {
|
|
get { return bigDataRecommendType_; }
|
|
set {
|
|
bigDataRecommendType_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "retcode" field.</summary>
|
|
public const int RetcodeFieldNumber = 15;
|
|
private uint retcode_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint Retcode {
|
|
get { return retcode_; }
|
|
set {
|
|
retcode_ = value;
|
|
}
|
|
}
|
|
|
|
private object dataCase_;
|
|
/// <summary>Enum of possible cases for the "data_case" oneof.</summary>
|
|
public enum DataCaseOneofCase {
|
|
None = 0,
|
|
RelicAvatar = 10,
|
|
AvatarRelic = 7,
|
|
}
|
|
private DataCaseOneofCase dataCaseCase_ = DataCaseOneofCase.None;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public DataCaseOneofCase DataCaseCase {
|
|
get { return dataCaseCase_; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void ClearDataCase() {
|
|
dataCaseCase_ = DataCaseOneofCase.None;
|
|
dataCase_ = null;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as GetBigDataAllRecommendScRsp);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(GetBigDataAllRecommendScRsp other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (!object.Equals(RelicAvatar, other.RelicAvatar)) return false;
|
|
if (!object.Equals(AvatarRelic, other.AvatarRelic)) return false;
|
|
if (BigDataRecommendType != other.BigDataRecommendType) return false;
|
|
if (Retcode != other.Retcode) return false;
|
|
if (DataCaseCase != other.DataCaseCase) 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 (dataCaseCase_ == DataCaseOneofCase.RelicAvatar) hash ^= RelicAvatar.GetHashCode();
|
|
if (dataCaseCase_ == DataCaseOneofCase.AvatarRelic) hash ^= AvatarRelic.GetHashCode();
|
|
if (BigDataRecommendType != global::EggLink.DanhengServer.Proto.BigDataRecommendType.None) hash ^= BigDataRecommendType.GetHashCode();
|
|
if (Retcode != 0) hash ^= Retcode.GetHashCode();
|
|
hash ^= (int) dataCaseCase_;
|
|
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 (BigDataRecommendType != global::EggLink.DanhengServer.Proto.BigDataRecommendType.None) {
|
|
output.WriteRawTag(40);
|
|
output.WriteEnum((int) BigDataRecommendType);
|
|
}
|
|
if (dataCaseCase_ == DataCaseOneofCase.AvatarRelic) {
|
|
output.WriteRawTag(58);
|
|
output.WriteMessage(AvatarRelic);
|
|
}
|
|
if (dataCaseCase_ == DataCaseOneofCase.RelicAvatar) {
|
|
output.WriteRawTag(82);
|
|
output.WriteMessage(RelicAvatar);
|
|
}
|
|
if (Retcode != 0) {
|
|
output.WriteRawTag(120);
|
|
output.WriteUInt32(Retcode);
|
|
}
|
|
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 (BigDataRecommendType != global::EggLink.DanhengServer.Proto.BigDataRecommendType.None) {
|
|
output.WriteRawTag(40);
|
|
output.WriteEnum((int) BigDataRecommendType);
|
|
}
|
|
if (dataCaseCase_ == DataCaseOneofCase.AvatarRelic) {
|
|
output.WriteRawTag(58);
|
|
output.WriteMessage(AvatarRelic);
|
|
}
|
|
if (dataCaseCase_ == DataCaseOneofCase.RelicAvatar) {
|
|
output.WriteRawTag(82);
|
|
output.WriteMessage(RelicAvatar);
|
|
}
|
|
if (Retcode != 0) {
|
|
output.WriteRawTag(120);
|
|
output.WriteUInt32(Retcode);
|
|
}
|
|
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 (dataCaseCase_ == DataCaseOneofCase.RelicAvatar) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(RelicAvatar);
|
|
}
|
|
if (dataCaseCase_ == DataCaseOneofCase.AvatarRelic) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AvatarRelic);
|
|
}
|
|
if (BigDataRecommendType != global::EggLink.DanhengServer.Proto.BigDataRecommendType.None) {
|
|
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) BigDataRecommendType);
|
|
}
|
|
if (Retcode != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(GetBigDataAllRecommendScRsp other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.BigDataRecommendType != global::EggLink.DanhengServer.Proto.BigDataRecommendType.None) {
|
|
BigDataRecommendType = other.BigDataRecommendType;
|
|
}
|
|
if (other.Retcode != 0) {
|
|
Retcode = other.Retcode;
|
|
}
|
|
switch (other.DataCaseCase) {
|
|
case DataCaseOneofCase.RelicAvatar:
|
|
if (RelicAvatar == null) {
|
|
RelicAvatar = new global::EggLink.DanhengServer.Proto.BigDataAllRelicAvatarList();
|
|
}
|
|
RelicAvatar.MergeFrom(other.RelicAvatar);
|
|
break;
|
|
case DataCaseOneofCase.AvatarRelic:
|
|
if (AvatarRelic == null) {
|
|
AvatarRelic = new global::EggLink.DanhengServer.Proto.BigDataAllAvatarRelicList();
|
|
}
|
|
AvatarRelic.MergeFrom(other.AvatarRelic);
|
|
break;
|
|
}
|
|
|
|
_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 40: {
|
|
BigDataRecommendType = (global::EggLink.DanhengServer.Proto.BigDataRecommendType) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 58: {
|
|
global::EggLink.DanhengServer.Proto.BigDataAllAvatarRelicList subBuilder = new global::EggLink.DanhengServer.Proto.BigDataAllAvatarRelicList();
|
|
if (dataCaseCase_ == DataCaseOneofCase.AvatarRelic) {
|
|
subBuilder.MergeFrom(AvatarRelic);
|
|
}
|
|
input.ReadMessage(subBuilder);
|
|
AvatarRelic = subBuilder;
|
|
break;
|
|
}
|
|
case 82: {
|
|
global::EggLink.DanhengServer.Proto.BigDataAllRelicAvatarList subBuilder = new global::EggLink.DanhengServer.Proto.BigDataAllRelicAvatarList();
|
|
if (dataCaseCase_ == DataCaseOneofCase.RelicAvatar) {
|
|
subBuilder.MergeFrom(RelicAvatar);
|
|
}
|
|
input.ReadMessage(subBuilder);
|
|
RelicAvatar = subBuilder;
|
|
break;
|
|
}
|
|
case 120: {
|
|
Retcode = 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 40: {
|
|
BigDataRecommendType = (global::EggLink.DanhengServer.Proto.BigDataRecommendType) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 58: {
|
|
global::EggLink.DanhengServer.Proto.BigDataAllAvatarRelicList subBuilder = new global::EggLink.DanhengServer.Proto.BigDataAllAvatarRelicList();
|
|
if (dataCaseCase_ == DataCaseOneofCase.AvatarRelic) {
|
|
subBuilder.MergeFrom(AvatarRelic);
|
|
}
|
|
input.ReadMessage(subBuilder);
|
|
AvatarRelic = subBuilder;
|
|
break;
|
|
}
|
|
case 82: {
|
|
global::EggLink.DanhengServer.Proto.BigDataAllRelicAvatarList subBuilder = new global::EggLink.DanhengServer.Proto.BigDataAllRelicAvatarList();
|
|
if (dataCaseCase_ == DataCaseOneofCase.RelicAvatar) {
|
|
subBuilder.MergeFrom(RelicAvatar);
|
|
}
|
|
input.ReadMessage(subBuilder);
|
|
RelicAvatar = subBuilder;
|
|
break;
|
|
}
|
|
case 120: {
|
|
Retcode = input.ReadUInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|