// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: DatingEvent.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 Nova.Client { /// Holder for reflection information generated from DatingEvent.proto public static partial class DatingEventReflection { #region Descriptor /// File descriptor for DatingEvent.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static DatingEventReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "ChFEYXRpbmdFdmVudC5wcm90byKDAgoLRGF0aW5nRXZlbnQSCgoCaWQYASAB", "KAUSGQoRZGF0aW5nX2V2ZW50X3R5cGUYAiABKAUSGwoTZGF0aW5nX2V2ZW50", "X3BhcmFtcxgDIAMoBRIRCgltdXRleF90YWcYBCABKAUSEAoIc29ydF90YWcY", "BSABKAUSEAoIYWZmaW5pdHkYBiABKAUSDgoGcmV3YXJkGAcgAygFEg0KBWRl", "c2MxGAggASgJEg0KBWRlc2MyGAkgASgJEg0KBWRlc2MzGAogASgJEhAKCHJl", "c3BvbnNlGAsgASgJEgwKBG5hbWUYDCABKAkSDAoEY2x1ZRgNIAEoCRIOCgZt", "ZW1vcnkYDiABKAlCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.DatingEvent), global::Nova.Client.DatingEvent.Parser, new[]{ "Id", "DatingEventType", "DatingEventParams", "MutexTag", "SortTag", "Affinity", "Reward", "Desc1", "Desc2", "Desc3", "Response", "Name", "Clue", "Memory" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class DatingEvent : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DatingEvent()); 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::Nova.Client.DatingEventReflection.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 DatingEvent() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public DatingEvent(DatingEvent other) : this() { id_ = other.id_; datingEventType_ = other.datingEventType_; datingEventParams_ = other.datingEventParams_.Clone(); mutexTag_ = other.mutexTag_; sortTag_ = other.sortTag_; affinity_ = other.affinity_; reward_ = other.reward_.Clone(); desc1_ = other.desc1_; desc2_ = other.desc2_; desc3_ = other.desc3_; response_ = other.response_; name_ = other.name_; clue_ = other.clue_; memory_ = other.memory_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public DatingEvent Clone() { return new DatingEvent(this); } /// Field number for the "id" field. public const int IdFieldNumber = 1; private int id_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Id { get { return id_; } set { id_ = value; } } /// Field number for the "dating_event_type" field. public const int DatingEventTypeFieldNumber = 2; private int datingEventType_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int DatingEventType { get { return datingEventType_; } set { datingEventType_ = value; } } /// Field number for the "dating_event_params" field. public const int DatingEventParamsFieldNumber = 3; private static readonly pb::FieldCodec _repeated_datingEventParams_codec = pb::FieldCodec.ForInt32(26); private readonly pbc::RepeatedField datingEventParams_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField DatingEventParams { get { return datingEventParams_; } } /// Field number for the "mutex_tag" field. public const int MutexTagFieldNumber = 4; private int mutexTag_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int MutexTag { get { return mutexTag_; } set { mutexTag_ = value; } } /// Field number for the "sort_tag" field. public const int SortTagFieldNumber = 5; private int sortTag_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int SortTag { get { return sortTag_; } set { sortTag_ = value; } } /// Field number for the "affinity" field. public const int AffinityFieldNumber = 6; private int affinity_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Affinity { get { return affinity_; } set { affinity_ = value; } } /// Field number for the "reward" field. public const int RewardFieldNumber = 7; private static readonly pb::FieldCodec _repeated_reward_codec = pb::FieldCodec.ForInt32(58); private readonly pbc::RepeatedField reward_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Reward { get { return reward_; } } /// Field number for the "desc1" field. public const int Desc1FieldNumber = 8; private string desc1_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Desc1 { get { return desc1_; } set { desc1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "desc2" field. public const int Desc2FieldNumber = 9; private string desc2_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Desc2 { get { return desc2_; } set { desc2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "desc3" field. public const int Desc3FieldNumber = 10; private string desc3_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Desc3 { get { return desc3_; } set { desc3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "response" field. public const int ResponseFieldNumber = 11; private string response_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Response { get { return response_; } set { response_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "name" field. public const int NameFieldNumber = 12; private string name_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Name { get { return name_; } set { name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "clue" field. public const int ClueFieldNumber = 13; private string clue_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Clue { get { return clue_; } set { clue_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "memory" field. public const int MemoryFieldNumber = 14; private string memory_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Memory { get { return memory_; } set { memory_ = 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 DatingEvent); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(DatingEvent other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Id != other.Id) return false; if (DatingEventType != other.DatingEventType) return false; if(!datingEventParams_.Equals(other.datingEventParams_)) return false; if (MutexTag != other.MutexTag) return false; if (SortTag != other.SortTag) return false; if (Affinity != other.Affinity) return false; if(!reward_.Equals(other.reward_)) return false; if (Desc1 != other.Desc1) return false; if (Desc2 != other.Desc2) return false; if (Desc3 != other.Desc3) return false; if (Response != other.Response) return false; if (Name != other.Name) return false; if (Clue != other.Clue) return false; if (Memory != other.Memory) 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 (Id != 0) hash ^= Id.GetHashCode(); if (DatingEventType != 0) hash ^= DatingEventType.GetHashCode(); hash ^= datingEventParams_.GetHashCode(); if (MutexTag != 0) hash ^= MutexTag.GetHashCode(); if (SortTag != 0) hash ^= SortTag.GetHashCode(); if (Affinity != 0) hash ^= Affinity.GetHashCode(); hash ^= reward_.GetHashCode(); if (Desc1.Length != 0) hash ^= Desc1.GetHashCode(); if (Desc2.Length != 0) hash ^= Desc2.GetHashCode(); if (Desc3.Length != 0) hash ^= Desc3.GetHashCode(); if (Response.Length != 0) hash ^= Response.GetHashCode(); if (Name.Length != 0) hash ^= Name.GetHashCode(); if (Clue.Length != 0) hash ^= Clue.GetHashCode(); if (Memory.Length != 0) hash ^= Memory.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 (Id != 0) { output.WriteRawTag(8); output.WriteInt32(Id); } if (DatingEventType != 0) { output.WriteRawTag(16); output.WriteInt32(DatingEventType); } datingEventParams_.WriteTo(output, _repeated_datingEventParams_codec); if (MutexTag != 0) { output.WriteRawTag(32); output.WriteInt32(MutexTag); } if (SortTag != 0) { output.WriteRawTag(40); output.WriteInt32(SortTag); } if (Affinity != 0) { output.WriteRawTag(48); output.WriteInt32(Affinity); } reward_.WriteTo(output, _repeated_reward_codec); if (Desc1.Length != 0) { output.WriteRawTag(66); output.WriteString(Desc1); } if (Desc2.Length != 0) { output.WriteRawTag(74); output.WriteString(Desc2); } if (Desc3.Length != 0) { output.WriteRawTag(82); output.WriteString(Desc3); } if (Response.Length != 0) { output.WriteRawTag(90); output.WriteString(Response); } if (Name.Length != 0) { output.WriteRawTag(98); output.WriteString(Name); } if (Clue.Length != 0) { output.WriteRawTag(106); output.WriteString(Clue); } if (Memory.Length != 0) { output.WriteRawTag(114); output.WriteString(Memory); } 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 (Id != 0) { output.WriteRawTag(8); output.WriteInt32(Id); } if (DatingEventType != 0) { output.WriteRawTag(16); output.WriteInt32(DatingEventType); } datingEventParams_.WriteTo(ref output, _repeated_datingEventParams_codec); if (MutexTag != 0) { output.WriteRawTag(32); output.WriteInt32(MutexTag); } if (SortTag != 0) { output.WriteRawTag(40); output.WriteInt32(SortTag); } if (Affinity != 0) { output.WriteRawTag(48); output.WriteInt32(Affinity); } reward_.WriteTo(ref output, _repeated_reward_codec); if (Desc1.Length != 0) { output.WriteRawTag(66); output.WriteString(Desc1); } if (Desc2.Length != 0) { output.WriteRawTag(74); output.WriteString(Desc2); } if (Desc3.Length != 0) { output.WriteRawTag(82); output.WriteString(Desc3); } if (Response.Length != 0) { output.WriteRawTag(90); output.WriteString(Response); } if (Name.Length != 0) { output.WriteRawTag(98); output.WriteString(Name); } if (Clue.Length != 0) { output.WriteRawTag(106); output.WriteString(Clue); } if (Memory.Length != 0) { output.WriteRawTag(114); output.WriteString(Memory); } 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 (Id != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id); } if (DatingEventType != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(DatingEventType); } size += datingEventParams_.CalculateSize(_repeated_datingEventParams_codec); if (MutexTag != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(MutexTag); } if (SortTag != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(SortTag); } if (Affinity != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Affinity); } size += reward_.CalculateSize(_repeated_reward_codec); if (Desc1.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc1); } if (Desc2.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc2); } if (Desc3.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc3); } if (Response.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Response); } if (Name.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); } if (Clue.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Clue); } if (Memory.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Memory); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(DatingEvent other) { if (other == null) { return; } if (other.Id != 0) { Id = other.Id; } if (other.DatingEventType != 0) { DatingEventType = other.DatingEventType; } datingEventParams_.Add(other.datingEventParams_); if (other.MutexTag != 0) { MutexTag = other.MutexTag; } if (other.SortTag != 0) { SortTag = other.SortTag; } if (other.Affinity != 0) { Affinity = other.Affinity; } reward_.Add(other.reward_); if (other.Desc1.Length != 0) { Desc1 = other.Desc1; } if (other.Desc2.Length != 0) { Desc2 = other.Desc2; } if (other.Desc3.Length != 0) { Desc3 = other.Desc3; } if (other.Response.Length != 0) { Response = other.Response; } if (other.Name.Length != 0) { Name = other.Name; } if (other.Clue.Length != 0) { Clue = other.Clue; } if (other.Memory.Length != 0) { Memory = other.Memory; } _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 8: { Id = input.ReadInt32(); break; } case 16: { DatingEventType = input.ReadInt32(); break; } case 26: case 24: { datingEventParams_.AddEntriesFrom(input, _repeated_datingEventParams_codec); break; } case 32: { MutexTag = input.ReadInt32(); break; } case 40: { SortTag = input.ReadInt32(); break; } case 48: { Affinity = input.ReadInt32(); break; } case 58: case 56: { reward_.AddEntriesFrom(input, _repeated_reward_codec); break; } case 66: { Desc1 = input.ReadString(); break; } case 74: { Desc2 = input.ReadString(); break; } case 82: { Desc3 = input.ReadString(); break; } case 90: { Response = input.ReadString(); break; } case 98: { Name = input.ReadString(); break; } case 106: { Clue = input.ReadString(); break; } case 114: { Memory = 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) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { Id = input.ReadInt32(); break; } case 16: { DatingEventType = input.ReadInt32(); break; } case 26: case 24: { datingEventParams_.AddEntriesFrom(ref input, _repeated_datingEventParams_codec); break; } case 32: { MutexTag = input.ReadInt32(); break; } case 40: { SortTag = input.ReadInt32(); break; } case 48: { Affinity = input.ReadInt32(); break; } case 58: case 56: { reward_.AddEntriesFrom(ref input, _repeated_reward_codec); break; } case 66: { Desc1 = input.ReadString(); break; } case 74: { Desc2 = input.ReadString(); break; } case 82: { Desc3 = input.ReadString(); break; } case 90: { Response = input.ReadString(); break; } case 98: { Name = input.ReadString(); break; } case 106: { Clue = input.ReadString(); break; } case 114: { Memory = input.ReadString(); break; } } } } #endif } #endregion } #endregion Designer generated code