mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
385 lines
13 KiB
C#
385 lines
13 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: PrivacySettings.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 PrivacySettings.proto</summary>
|
|
public static partial class PrivacySettingsReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for PrivacySettings.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static PrivacySettingsReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChVQcml2YWN5U2V0dGluZ3MucHJvdG8iegoPUHJpdmFjeVNldHRpbmdzEhMK",
|
|
"C0tKTkNDS0hKRkhFGAUgASgIEhMKC05KRk1JTEpPRk9LGAsgASgIEhMKC0FQ",
|
|
"T05FSURNUEhMGA0gASgIEhMKC1BCS0JHTEhIS1BFGA8gASgIEhMKC0FJQ05G",
|
|
"QU9CQ1BJGAwgASgIQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9i",
|
|
"BnByb3RvMw=="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.PrivacySettings), global::EggLink.DanhengServer.Proto.PrivacySettings.Parser, new[]{ "KJNCCKHJFHE", "NJFMILJOFOK", "APONEIDMPHL", "PBKBGLHHKPE", "AICNFAOBCPI" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class PrivacySettings : pb::IMessage<PrivacySettings>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<PrivacySettings> _parser = new pb::MessageParser<PrivacySettings>(() => new PrivacySettings());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<PrivacySettings> 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.PrivacySettingsReflection.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 PrivacySettings() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public PrivacySettings(PrivacySettings other) : this() {
|
|
kJNCCKHJFHE_ = other.kJNCCKHJFHE_;
|
|
nJFMILJOFOK_ = other.nJFMILJOFOK_;
|
|
aPONEIDMPHL_ = other.aPONEIDMPHL_;
|
|
pBKBGLHHKPE_ = other.pBKBGLHHKPE_;
|
|
aICNFAOBCPI_ = other.aICNFAOBCPI_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public PrivacySettings Clone() {
|
|
return new PrivacySettings(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "KJNCCKHJFHE" field.</summary>
|
|
public const int KJNCCKHJFHEFieldNumber = 5;
|
|
private bool kJNCCKHJFHE_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool KJNCCKHJFHE {
|
|
get { return kJNCCKHJFHE_; }
|
|
set {
|
|
kJNCCKHJFHE_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "NJFMILJOFOK" field.</summary>
|
|
public const int NJFMILJOFOKFieldNumber = 11;
|
|
private bool nJFMILJOFOK_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool NJFMILJOFOK {
|
|
get { return nJFMILJOFOK_; }
|
|
set {
|
|
nJFMILJOFOK_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "APONEIDMPHL" field.</summary>
|
|
public const int APONEIDMPHLFieldNumber = 13;
|
|
private bool aPONEIDMPHL_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool APONEIDMPHL {
|
|
get { return aPONEIDMPHL_; }
|
|
set {
|
|
aPONEIDMPHL_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "PBKBGLHHKPE" field.</summary>
|
|
public const int PBKBGLHHKPEFieldNumber = 15;
|
|
private bool pBKBGLHHKPE_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool PBKBGLHHKPE {
|
|
get { return pBKBGLHHKPE_; }
|
|
set {
|
|
pBKBGLHHKPE_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "AICNFAOBCPI" field.</summary>
|
|
public const int AICNFAOBCPIFieldNumber = 12;
|
|
private bool aICNFAOBCPI_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool AICNFAOBCPI {
|
|
get { return aICNFAOBCPI_; }
|
|
set {
|
|
aICNFAOBCPI_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as PrivacySettings);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(PrivacySettings other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (KJNCCKHJFHE != other.KJNCCKHJFHE) return false;
|
|
if (NJFMILJOFOK != other.NJFMILJOFOK) return false;
|
|
if (APONEIDMPHL != other.APONEIDMPHL) return false;
|
|
if (PBKBGLHHKPE != other.PBKBGLHHKPE) return false;
|
|
if (AICNFAOBCPI != other.AICNFAOBCPI) 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 (KJNCCKHJFHE != false) hash ^= KJNCCKHJFHE.GetHashCode();
|
|
if (NJFMILJOFOK != false) hash ^= NJFMILJOFOK.GetHashCode();
|
|
if (APONEIDMPHL != false) hash ^= APONEIDMPHL.GetHashCode();
|
|
if (PBKBGLHHKPE != false) hash ^= PBKBGLHHKPE.GetHashCode();
|
|
if (AICNFAOBCPI != false) hash ^= AICNFAOBCPI.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 (KJNCCKHJFHE != false) {
|
|
output.WriteRawTag(40);
|
|
output.WriteBool(KJNCCKHJFHE);
|
|
}
|
|
if (NJFMILJOFOK != false) {
|
|
output.WriteRawTag(88);
|
|
output.WriteBool(NJFMILJOFOK);
|
|
}
|
|
if (AICNFAOBCPI != false) {
|
|
output.WriteRawTag(96);
|
|
output.WriteBool(AICNFAOBCPI);
|
|
}
|
|
if (APONEIDMPHL != false) {
|
|
output.WriteRawTag(104);
|
|
output.WriteBool(APONEIDMPHL);
|
|
}
|
|
if (PBKBGLHHKPE != false) {
|
|
output.WriteRawTag(120);
|
|
output.WriteBool(PBKBGLHHKPE);
|
|
}
|
|
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 (KJNCCKHJFHE != false) {
|
|
output.WriteRawTag(40);
|
|
output.WriteBool(KJNCCKHJFHE);
|
|
}
|
|
if (NJFMILJOFOK != false) {
|
|
output.WriteRawTag(88);
|
|
output.WriteBool(NJFMILJOFOK);
|
|
}
|
|
if (AICNFAOBCPI != false) {
|
|
output.WriteRawTag(96);
|
|
output.WriteBool(AICNFAOBCPI);
|
|
}
|
|
if (APONEIDMPHL != false) {
|
|
output.WriteRawTag(104);
|
|
output.WriteBool(APONEIDMPHL);
|
|
}
|
|
if (PBKBGLHHKPE != false) {
|
|
output.WriteRawTag(120);
|
|
output.WriteBool(PBKBGLHHKPE);
|
|
}
|
|
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 (KJNCCKHJFHE != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (NJFMILJOFOK != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (APONEIDMPHL != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (PBKBGLHHKPE != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (AICNFAOBCPI != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(PrivacySettings other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.KJNCCKHJFHE != false) {
|
|
KJNCCKHJFHE = other.KJNCCKHJFHE;
|
|
}
|
|
if (other.NJFMILJOFOK != false) {
|
|
NJFMILJOFOK = other.NJFMILJOFOK;
|
|
}
|
|
if (other.APONEIDMPHL != false) {
|
|
APONEIDMPHL = other.APONEIDMPHL;
|
|
}
|
|
if (other.PBKBGLHHKPE != false) {
|
|
PBKBGLHHKPE = other.PBKBGLHHKPE;
|
|
}
|
|
if (other.AICNFAOBCPI != false) {
|
|
AICNFAOBCPI = other.AICNFAOBCPI;
|
|
}
|
|
_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: {
|
|
KJNCCKHJFHE = input.ReadBool();
|
|
break;
|
|
}
|
|
case 88: {
|
|
NJFMILJOFOK = input.ReadBool();
|
|
break;
|
|
}
|
|
case 96: {
|
|
AICNFAOBCPI = input.ReadBool();
|
|
break;
|
|
}
|
|
case 104: {
|
|
APONEIDMPHL = input.ReadBool();
|
|
break;
|
|
}
|
|
case 120: {
|
|
PBKBGLHHKPE = input.ReadBool();
|
|
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: {
|
|
KJNCCKHJFHE = input.ReadBool();
|
|
break;
|
|
}
|
|
case 88: {
|
|
NJFMILJOFOK = input.ReadBool();
|
|
break;
|
|
}
|
|
case 96: {
|
|
AICNFAOBCPI = input.ReadBool();
|
|
break;
|
|
}
|
|
case 104: {
|
|
APONEIDMPHL = input.ReadBool();
|
|
break;
|
|
}
|
|
case 120: {
|
|
PBKBGLHHKPE = input.ReadBool();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|