Files
DanhengServer-OpenSource/Proto/PrivacySettings.cs
2024-10-05 22:40:41 +08:00

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",
"C1BKSUxFTU1CTEZHGAIgASgIEhMKC05NSkRCT0lQRklDGA4gASgIEhMKC05F",
"TkdFSUlKSkNCGAggASgIEhMKC0NQRUVFUERCQlBIGAwgASgIEhMKC0dOT0hO",
"UEpCRkpDGAUgASgIQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9i",
"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[]{ "PJILEMMBLFG", "NMJDBOIPFIC", "NENGEIIJJCB", "CPEEEPDBBPH", "GNOHNPJBFJC" }, 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() {
pJILEMMBLFG_ = other.pJILEMMBLFG_;
nMJDBOIPFIC_ = other.nMJDBOIPFIC_;
nENGEIIJJCB_ = other.nENGEIIJJCB_;
cPEEEPDBBPH_ = other.cPEEEPDBBPH_;
gNOHNPJBFJC_ = other.gNOHNPJBFJC_;
_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 "PJILEMMBLFG" field.</summary>
public const int PJILEMMBLFGFieldNumber = 2;
private bool pJILEMMBLFG_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool PJILEMMBLFG {
get { return pJILEMMBLFG_; }
set {
pJILEMMBLFG_ = value;
}
}
/// <summary>Field number for the "NMJDBOIPFIC" field.</summary>
public const int NMJDBOIPFICFieldNumber = 14;
private bool nMJDBOIPFIC_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool NMJDBOIPFIC {
get { return nMJDBOIPFIC_; }
set {
nMJDBOIPFIC_ = value;
}
}
/// <summary>Field number for the "NENGEIIJJCB" field.</summary>
public const int NENGEIIJJCBFieldNumber = 8;
private bool nENGEIIJJCB_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool NENGEIIJJCB {
get { return nENGEIIJJCB_; }
set {
nENGEIIJJCB_ = value;
}
}
/// <summary>Field number for the "CPEEEPDBBPH" field.</summary>
public const int CPEEEPDBBPHFieldNumber = 12;
private bool cPEEEPDBBPH_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool CPEEEPDBBPH {
get { return cPEEEPDBBPH_; }
set {
cPEEEPDBBPH_ = value;
}
}
/// <summary>Field number for the "GNOHNPJBFJC" field.</summary>
public const int GNOHNPJBFJCFieldNumber = 5;
private bool gNOHNPJBFJC_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool GNOHNPJBFJC {
get { return gNOHNPJBFJC_; }
set {
gNOHNPJBFJC_ = 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 (PJILEMMBLFG != other.PJILEMMBLFG) return false;
if (NMJDBOIPFIC != other.NMJDBOIPFIC) return false;
if (NENGEIIJJCB != other.NENGEIIJJCB) return false;
if (CPEEEPDBBPH != other.CPEEEPDBBPH) return false;
if (GNOHNPJBFJC != other.GNOHNPJBFJC) 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 (PJILEMMBLFG != false) hash ^= PJILEMMBLFG.GetHashCode();
if (NMJDBOIPFIC != false) hash ^= NMJDBOIPFIC.GetHashCode();
if (NENGEIIJJCB != false) hash ^= NENGEIIJJCB.GetHashCode();
if (CPEEEPDBBPH != false) hash ^= CPEEEPDBBPH.GetHashCode();
if (GNOHNPJBFJC != false) hash ^= GNOHNPJBFJC.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 (PJILEMMBLFG != false) {
output.WriteRawTag(16);
output.WriteBool(PJILEMMBLFG);
}
if (GNOHNPJBFJC != false) {
output.WriteRawTag(40);
output.WriteBool(GNOHNPJBFJC);
}
if (NENGEIIJJCB != false) {
output.WriteRawTag(64);
output.WriteBool(NENGEIIJJCB);
}
if (CPEEEPDBBPH != false) {
output.WriteRawTag(96);
output.WriteBool(CPEEEPDBBPH);
}
if (NMJDBOIPFIC != false) {
output.WriteRawTag(112);
output.WriteBool(NMJDBOIPFIC);
}
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 (PJILEMMBLFG != false) {
output.WriteRawTag(16);
output.WriteBool(PJILEMMBLFG);
}
if (GNOHNPJBFJC != false) {
output.WriteRawTag(40);
output.WriteBool(GNOHNPJBFJC);
}
if (NENGEIIJJCB != false) {
output.WriteRawTag(64);
output.WriteBool(NENGEIIJJCB);
}
if (CPEEEPDBBPH != false) {
output.WriteRawTag(96);
output.WriteBool(CPEEEPDBBPH);
}
if (NMJDBOIPFIC != false) {
output.WriteRawTag(112);
output.WriteBool(NMJDBOIPFIC);
}
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 (PJILEMMBLFG != false) {
size += 1 + 1;
}
if (NMJDBOIPFIC != false) {
size += 1 + 1;
}
if (NENGEIIJJCB != false) {
size += 1 + 1;
}
if (CPEEEPDBBPH != false) {
size += 1 + 1;
}
if (GNOHNPJBFJC != 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.PJILEMMBLFG != false) {
PJILEMMBLFG = other.PJILEMMBLFG;
}
if (other.NMJDBOIPFIC != false) {
NMJDBOIPFIC = other.NMJDBOIPFIC;
}
if (other.NENGEIIJJCB != false) {
NENGEIIJJCB = other.NENGEIIJJCB;
}
if (other.CPEEEPDBBPH != false) {
CPEEEPDBBPH = other.CPEEEPDBBPH;
}
if (other.GNOHNPJBFJC != false) {
GNOHNPJBFJC = other.GNOHNPJBFJC;
}
_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 16: {
PJILEMMBLFG = input.ReadBool();
break;
}
case 40: {
GNOHNPJBFJC = input.ReadBool();
break;
}
case 64: {
NENGEIIJJCB = input.ReadBool();
break;
}
case 96: {
CPEEEPDBBPH = input.ReadBool();
break;
}
case 112: {
NMJDBOIPFIC = 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 16: {
PJILEMMBLFG = input.ReadBool();
break;
}
case 40: {
GNOHNPJBFJC = input.ReadBool();
break;
}
case 64: {
NENGEIIJJCB = input.ReadBool();
break;
}
case 96: {
CPEEEPDBBPH = input.ReadBool();
break;
}
case 112: {
NMJDBOIPFIC = input.ReadBool();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code