mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
459 lines
15 KiB
C#
459 lines
15 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: ExtraDeviceInfo.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 ExtraDeviceInfo.proto</summary>
|
|
public static partial class ExtraDeviceInfoReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for ExtraDeviceInfo.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static ExtraDeviceInfoReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChVFeHRyYURldmljZUluZm8ucHJvdG8igwEKD0V4dHJhRGV2aWNlSW5mbxIR",
|
|
"CglkZXZpY2VfaWQYASABKAkSEwoLZGV2aWNlX3R5cGUYAiABKAkSDAoEaWRm",
|
|
"YRgDIAEoCRIMCgRpbWVpGAQgASgJEhEKCWFuZHJvaWRpZBgFIAEoCRIMCgRv",
|
|
"YWlkGAYgASgJEgsKA21hYxgHIAEoCUIeqgIbRWdnTGluay5EYW5oZW5nU2Vy",
|
|
"dmVyLlByb3RvYgZwcm90bzM="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ExtraDeviceInfo), global::EggLink.DanhengServer.Proto.ExtraDeviceInfo.Parser, new[]{ "DeviceId", "DeviceType", "Idfa", "Imei", "Androidid", "Oaid", "Mac" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class ExtraDeviceInfo : pb::IMessage<ExtraDeviceInfo>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<ExtraDeviceInfo> _parser = new pb::MessageParser<ExtraDeviceInfo>(() => new ExtraDeviceInfo());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<ExtraDeviceInfo> 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.ExtraDeviceInfoReflection.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 ExtraDeviceInfo() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public ExtraDeviceInfo(ExtraDeviceInfo other) : this() {
|
|
deviceId_ = other.deviceId_;
|
|
deviceType_ = other.deviceType_;
|
|
idfa_ = other.idfa_;
|
|
imei_ = other.imei_;
|
|
androidid_ = other.androidid_;
|
|
oaid_ = other.oaid_;
|
|
mac_ = other.mac_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public ExtraDeviceInfo Clone() {
|
|
return new ExtraDeviceInfo(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "device_id" field.</summary>
|
|
public const int DeviceIdFieldNumber = 1;
|
|
private string deviceId_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string DeviceId {
|
|
get { return deviceId_; }
|
|
set {
|
|
deviceId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "device_type" field.</summary>
|
|
public const int DeviceTypeFieldNumber = 2;
|
|
private string deviceType_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string DeviceType {
|
|
get { return deviceType_; }
|
|
set {
|
|
deviceType_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "idfa" field.</summary>
|
|
public const int IdfaFieldNumber = 3;
|
|
private string idfa_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string Idfa {
|
|
get { return idfa_; }
|
|
set {
|
|
idfa_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "imei" field.</summary>
|
|
public const int ImeiFieldNumber = 4;
|
|
private string imei_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string Imei {
|
|
get { return imei_; }
|
|
set {
|
|
imei_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "androidid" field.</summary>
|
|
public const int AndroididFieldNumber = 5;
|
|
private string androidid_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string Androidid {
|
|
get { return androidid_; }
|
|
set {
|
|
androidid_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "oaid" field.</summary>
|
|
public const int OaidFieldNumber = 6;
|
|
private string oaid_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string Oaid {
|
|
get { return oaid_; }
|
|
set {
|
|
oaid_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "mac" field.</summary>
|
|
public const int MacFieldNumber = 7;
|
|
private string mac_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string Mac {
|
|
get { return mac_; }
|
|
set {
|
|
mac_ = 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 ExtraDeviceInfo);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(ExtraDeviceInfo other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (DeviceId != other.DeviceId) return false;
|
|
if (DeviceType != other.DeviceType) return false;
|
|
if (Idfa != other.Idfa) return false;
|
|
if (Imei != other.Imei) return false;
|
|
if (Androidid != other.Androidid) return false;
|
|
if (Oaid != other.Oaid) return false;
|
|
if (Mac != other.Mac) 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 (DeviceId.Length != 0) hash ^= DeviceId.GetHashCode();
|
|
if (DeviceType.Length != 0) hash ^= DeviceType.GetHashCode();
|
|
if (Idfa.Length != 0) hash ^= Idfa.GetHashCode();
|
|
if (Imei.Length != 0) hash ^= Imei.GetHashCode();
|
|
if (Androidid.Length != 0) hash ^= Androidid.GetHashCode();
|
|
if (Oaid.Length != 0) hash ^= Oaid.GetHashCode();
|
|
if (Mac.Length != 0) hash ^= Mac.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 (DeviceId.Length != 0) {
|
|
output.WriteRawTag(10);
|
|
output.WriteString(DeviceId);
|
|
}
|
|
if (DeviceType.Length != 0) {
|
|
output.WriteRawTag(18);
|
|
output.WriteString(DeviceType);
|
|
}
|
|
if (Idfa.Length != 0) {
|
|
output.WriteRawTag(26);
|
|
output.WriteString(Idfa);
|
|
}
|
|
if (Imei.Length != 0) {
|
|
output.WriteRawTag(34);
|
|
output.WriteString(Imei);
|
|
}
|
|
if (Androidid.Length != 0) {
|
|
output.WriteRawTag(42);
|
|
output.WriteString(Androidid);
|
|
}
|
|
if (Oaid.Length != 0) {
|
|
output.WriteRawTag(50);
|
|
output.WriteString(Oaid);
|
|
}
|
|
if (Mac.Length != 0) {
|
|
output.WriteRawTag(58);
|
|
output.WriteString(Mac);
|
|
}
|
|
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 (DeviceId.Length != 0) {
|
|
output.WriteRawTag(10);
|
|
output.WriteString(DeviceId);
|
|
}
|
|
if (DeviceType.Length != 0) {
|
|
output.WriteRawTag(18);
|
|
output.WriteString(DeviceType);
|
|
}
|
|
if (Idfa.Length != 0) {
|
|
output.WriteRawTag(26);
|
|
output.WriteString(Idfa);
|
|
}
|
|
if (Imei.Length != 0) {
|
|
output.WriteRawTag(34);
|
|
output.WriteString(Imei);
|
|
}
|
|
if (Androidid.Length != 0) {
|
|
output.WriteRawTag(42);
|
|
output.WriteString(Androidid);
|
|
}
|
|
if (Oaid.Length != 0) {
|
|
output.WriteRawTag(50);
|
|
output.WriteString(Oaid);
|
|
}
|
|
if (Mac.Length != 0) {
|
|
output.WriteRawTag(58);
|
|
output.WriteString(Mac);
|
|
}
|
|
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 (DeviceId.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(DeviceId);
|
|
}
|
|
if (DeviceType.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(DeviceType);
|
|
}
|
|
if (Idfa.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Idfa);
|
|
}
|
|
if (Imei.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Imei);
|
|
}
|
|
if (Androidid.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Androidid);
|
|
}
|
|
if (Oaid.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Oaid);
|
|
}
|
|
if (Mac.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Mac);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(ExtraDeviceInfo other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.DeviceId.Length != 0) {
|
|
DeviceId = other.DeviceId;
|
|
}
|
|
if (other.DeviceType.Length != 0) {
|
|
DeviceType = other.DeviceType;
|
|
}
|
|
if (other.Idfa.Length != 0) {
|
|
Idfa = other.Idfa;
|
|
}
|
|
if (other.Imei.Length != 0) {
|
|
Imei = other.Imei;
|
|
}
|
|
if (other.Androidid.Length != 0) {
|
|
Androidid = other.Androidid;
|
|
}
|
|
if (other.Oaid.Length != 0) {
|
|
Oaid = other.Oaid;
|
|
}
|
|
if (other.Mac.Length != 0) {
|
|
Mac = other.Mac;
|
|
}
|
|
_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: {
|
|
DeviceId = input.ReadString();
|
|
break;
|
|
}
|
|
case 18: {
|
|
DeviceType = input.ReadString();
|
|
break;
|
|
}
|
|
case 26: {
|
|
Idfa = input.ReadString();
|
|
break;
|
|
}
|
|
case 34: {
|
|
Imei = input.ReadString();
|
|
break;
|
|
}
|
|
case 42: {
|
|
Androidid = input.ReadString();
|
|
break;
|
|
}
|
|
case 50: {
|
|
Oaid = input.ReadString();
|
|
break;
|
|
}
|
|
case 58: {
|
|
Mac = input.ReadString();
|
|
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: {
|
|
DeviceId = input.ReadString();
|
|
break;
|
|
}
|
|
case 18: {
|
|
DeviceType = input.ReadString();
|
|
break;
|
|
}
|
|
case 26: {
|
|
Idfa = input.ReadString();
|
|
break;
|
|
}
|
|
case 34: {
|
|
Imei = input.ReadString();
|
|
break;
|
|
}
|
|
case 42: {
|
|
Androidid = input.ReadString();
|
|
break;
|
|
}
|
|
case 50: {
|
|
Oaid = input.ReadString();
|
|
break;
|
|
}
|
|
case 58: {
|
|
Mac = input.ReadString();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|