// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: room.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; /// Holder for reflection information generated from room.proto public static partial class RoomReflection { #region Descriptor /// File descriptor for room.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static RoomReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "Cgpyb29tLnByb3RvIvMCChRSb29tVGVtcGxhdGVSZXNwb25zZRIKCgJJZBgB", "IAEoAxIUCgxUZW1wbGF0ZU5hbWUYAiABKAkSEQoJQ29tcGFueUlkGAMgASgJ", "Eg8KB1NjZW5lSWQYBCABKAkSEQoJU3ViamVjdElkGAUgASgJEg4KBlN0YXR1", "cxgGIAEoCRISCgpJc1RlbXBsYXRlGAcgASgJEhAKCENyZWF0ZUJ5GAggASgJ", "EhIKCkNyZWF0ZVRpbWUYCSABKAkSEAoIVXBkYXRlQnkYCiABKAkSEgoKVXBk", "YXRlVGltZRgLIAEoCRIOCgZSZW1hcmsYDCABKAkSDAoETW9kZRgNIAEoCRIY", "ChBEaXNhc3RlckxvY2F0aW9uGA4gASgJEhAKCEZpcmV3YWxsGA8gASgJEiEK", "C3Rhc2tPcm1EYXRhGBAgAygLMgwuVGFza09ybURhdGESJQoNc2VsZWN0T3Jt", "RGF0YRgRIAMoCzIOLlNlbGVjdE9ybURhdGEi1QMKC1Rhc2tPcm1EYXRhEgoK", "AklkGAEgASgDEhAKCFRhc2tOYW1lGAIgASgJEhAKCEdhbWVOYW1lGAMgASgJ", "EhAKCEdhbWVUeXBlGAQgASgFEhAKCEdhbWVEZXNjGAUgASgJEhYKDkdhbWVQ", "bGF5U2NyaXB0GAYgASgJEhMKC0dhbWVUcmlnZ2VyGAcgASgJEhgKEEdhbWVU", "cmlnZ2VyTG9naWMYCCABKAkSFwoPR2FtZU92ZXJzZWVDb25kGAkgASgJEhUK", "DUdhbWVUaW1lTGltaXQYCiABKAkSEAoIR2FtZVJvbGUYCyABKAkSEwoLR2Ft", "ZVNlbGVjdHMYDCABKAkSFgoOR2FtZVRhcmdldFR5cGUYDSABKAkSGAoQR2Ft", "ZVRhcmdldHNGaXJzdBgOIAEoCRIZChFHYW1lVGFyZ2V0c1NlY29uZBgPIAEo", "CRIeChZHYW1lVGFyZ2V0c1NlY29uZExvZ2ljGBAgASgJEhYKDkdhbWVFeHRy", "YVZhbHVlGBEgASgJEhAKCEdhbWVTb3J0GBIgASgJEhIKCkdhbWVJc1Nob3cY", "EyABKAkSFQoNR2FtZUV4Y2x1c2l2ZRgUIAEoCRISCgpHYW1lUmV3YXJkGBUg", "ASgJIp4DCg1TZWxlY3RPcm1EYXRhEgoKAklkGAEgASgDEgwKBE5vdGUYAiAB", "KAkSDQoFR3JvdXAYAyABKAkSEAoIU2hvd1RleHQYBCABKAkSDAoESWNvbhgF", "IAEoCRIVCg1QcmVjb25kaXRpb25zGAYgASgJEhEKCUV4Y2x1c2l2ZRgHIAEo", "CRIQCghUYXNrVGltZRgIIAEoAxIRCglUaW1lTGltaXQYCSABKAMSEgoKTmV4", "dFNlbGVjdBgKIAEoCRIQCghUYXNrTGluaxgLIAEoCRIXCg9UYXNrTGlua0Rl", "dGFpbHMYDCABKAkSEAoIQ2FsbE1vZGUYDSABKAkSFQoNQ2FsbFJlY2lwaWVu", "dBgOIAEoCRIVCg1Db3JyZWN0T3B0aW9uGA8gASgJEg4KBlJld2FyZBgQIAEo", "CRIOCgZSZXN1bHQYESABKAkSDQoFUm91dGUYEiABKAkSFAoMVGltaW5nQ2hh", "bmdlGBMgASgJEhEKCUFwcGxpZWRVSRgUIAEoCRIRCglVSURldGFpbHMYFSAB", "KAkSCwoDU2VxGBYgASgJQgdaBS4vO3BiYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::RoomTemplateResponse), global::RoomTemplateResponse.Parser, new[]{ "Id", "TemplateName", "CompanyId", "SceneId", "SubjectId", "Status", "IsTemplate", "CreateBy", "CreateTime", "UpdateBy", "UpdateTime", "Remark", "Mode", "DisasterLocation", "Firewall", "TaskOrmData", "SelectOrmData" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::TaskOrmData), global::TaskOrmData.Parser, new[]{ "Id", "TaskName", "GameName", "GameType", "GameDesc", "GamePlayScript", "GameTrigger", "GameTriggerLogic", "GameOverseeCond", "GameTimeLimit", "GameRole", "GameSelects", "GameTargetType", "GameTargetsFirst", "GameTargetsSecond", "GameTargetsSecondLogic", "GameExtraValue", "GameSort", "GameIsShow", "GameExclusive", "GameReward" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::SelectOrmData), global::SelectOrmData.Parser, new[]{ "Id", "Note", "Group", "ShowText", "Icon", "Preconditions", "Exclusive", "TaskTime", "TimeLimit", "NextSelect", "TaskLink", "TaskLinkDetails", "CallMode", "CallRecipient", "CorrectOption", "Reward", "Result", "Route", "TimingChange", "AppliedUI", "UIDetails", "Seq" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class RoomTemplateResponse : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RoomTemplateResponse()); 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::RoomReflection.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 RoomTemplateResponse() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RoomTemplateResponse(RoomTemplateResponse other) : this() { id_ = other.id_; templateName_ = other.templateName_; companyId_ = other.companyId_; sceneId_ = other.sceneId_; subjectId_ = other.subjectId_; status_ = other.status_; isTemplate_ = other.isTemplate_; createBy_ = other.createBy_; createTime_ = other.createTime_; updateBy_ = other.updateBy_; updateTime_ = other.updateTime_; remark_ = other.remark_; mode_ = other.mode_; disasterLocation_ = other.disasterLocation_; firewall_ = other.firewall_; taskOrmData_ = other.taskOrmData_.Clone(); selectOrmData_ = other.selectOrmData_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RoomTemplateResponse Clone() { return new RoomTemplateResponse(this); } /// Field number for the "Id" field. public const int IdFieldNumber = 1; private long id_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long Id { get { return id_; } set { id_ = value; } } /// Field number for the "TemplateName" field. public const int TemplateNameFieldNumber = 2; private string templateName_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string TemplateName { get { return templateName_; } set { templateName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "CompanyId" field. public const int CompanyIdFieldNumber = 3; private string companyId_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string CompanyId { get { return companyId_; } set { companyId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "SceneId" field. public const int SceneIdFieldNumber = 4; private string sceneId_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string SceneId { get { return sceneId_; } set { sceneId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "SubjectId" field. public const int SubjectIdFieldNumber = 5; private string subjectId_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string SubjectId { get { return subjectId_; } set { subjectId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "Status" field. public const int StatusFieldNumber = 6; private string status_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Status { get { return status_; } set { status_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "IsTemplate" field. public const int IsTemplateFieldNumber = 7; private string isTemplate_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string IsTemplate { get { return isTemplate_; } set { isTemplate_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "CreateBy" field. public const int CreateByFieldNumber = 8; private string createBy_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string CreateBy { get { return createBy_; } set { createBy_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "CreateTime" field. public const int CreateTimeFieldNumber = 9; private string createTime_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string CreateTime { get { return createTime_; } set { createTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "UpdateBy" field. public const int UpdateByFieldNumber = 10; private string updateBy_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string UpdateBy { get { return updateBy_; } set { updateBy_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "UpdateTime" field. public const int UpdateTimeFieldNumber = 11; private string updateTime_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string UpdateTime { get { return updateTime_; } set { updateTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "Remark" field. public const int RemarkFieldNumber = 12; private string remark_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Remark { get { return remark_; } set { remark_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "Mode" field. public const int ModeFieldNumber = 13; private string mode_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Mode { get { return mode_; } set { mode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "DisasterLocation" field. public const int DisasterLocationFieldNumber = 14; private string disasterLocation_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string DisasterLocation { get { return disasterLocation_; } set { disasterLocation_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "Firewall" field. public const int FirewallFieldNumber = 15; private string firewall_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Firewall { get { return firewall_; } set { firewall_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "taskOrmData" field. public const int TaskOrmDataFieldNumber = 16; private static readonly pb::FieldCodec _repeated_taskOrmData_codec = pb::FieldCodec.ForMessage(130, global::TaskOrmData.Parser); private readonly pbc::RepeatedField taskOrmData_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField TaskOrmData { get { return taskOrmData_; } } /// Field number for the "selectOrmData" field. public const int SelectOrmDataFieldNumber = 17; private static readonly pb::FieldCodec _repeated_selectOrmData_codec = pb::FieldCodec.ForMessage(138, global::SelectOrmData.Parser); private readonly pbc::RepeatedField selectOrmData_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField SelectOrmData { get { return selectOrmData_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as RoomTemplateResponse); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(RoomTemplateResponse other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Id != other.Id) return false; if (TemplateName != other.TemplateName) return false; if (CompanyId != other.CompanyId) return false; if (SceneId != other.SceneId) return false; if (SubjectId != other.SubjectId) return false; if (Status != other.Status) return false; if (IsTemplate != other.IsTemplate) return false; if (CreateBy != other.CreateBy) return false; if (CreateTime != other.CreateTime) return false; if (UpdateBy != other.UpdateBy) return false; if (UpdateTime != other.UpdateTime) return false; if (Remark != other.Remark) return false; if (Mode != other.Mode) return false; if (DisasterLocation != other.DisasterLocation) return false; if (Firewall != other.Firewall) return false; if(!taskOrmData_.Equals(other.taskOrmData_)) return false; if(!selectOrmData_.Equals(other.selectOrmData_)) 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 != 0L) hash ^= Id.GetHashCode(); if (TemplateName.Length != 0) hash ^= TemplateName.GetHashCode(); if (CompanyId.Length != 0) hash ^= CompanyId.GetHashCode(); if (SceneId.Length != 0) hash ^= SceneId.GetHashCode(); if (SubjectId.Length != 0) hash ^= SubjectId.GetHashCode(); if (Status.Length != 0) hash ^= Status.GetHashCode(); if (IsTemplate.Length != 0) hash ^= IsTemplate.GetHashCode(); if (CreateBy.Length != 0) hash ^= CreateBy.GetHashCode(); if (CreateTime.Length != 0) hash ^= CreateTime.GetHashCode(); if (UpdateBy.Length != 0) hash ^= UpdateBy.GetHashCode(); if (UpdateTime.Length != 0) hash ^= UpdateTime.GetHashCode(); if (Remark.Length != 0) hash ^= Remark.GetHashCode(); if (Mode.Length != 0) hash ^= Mode.GetHashCode(); if (DisasterLocation.Length != 0) hash ^= DisasterLocation.GetHashCode(); if (Firewall.Length != 0) hash ^= Firewall.GetHashCode(); hash ^= taskOrmData_.GetHashCode(); hash ^= selectOrmData_.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 != 0L) { output.WriteRawTag(8); output.WriteInt64(Id); } if (TemplateName.Length != 0) { output.WriteRawTag(18); output.WriteString(TemplateName); } if (CompanyId.Length != 0) { output.WriteRawTag(26); output.WriteString(CompanyId); } if (SceneId.Length != 0) { output.WriteRawTag(34); output.WriteString(SceneId); } if (SubjectId.Length != 0) { output.WriteRawTag(42); output.WriteString(SubjectId); } if (Status.Length != 0) { output.WriteRawTag(50); output.WriteString(Status); } if (IsTemplate.Length != 0) { output.WriteRawTag(58); output.WriteString(IsTemplate); } if (CreateBy.Length != 0) { output.WriteRawTag(66); output.WriteString(CreateBy); } if (CreateTime.Length != 0) { output.WriteRawTag(74); output.WriteString(CreateTime); } if (UpdateBy.Length != 0) { output.WriteRawTag(82); output.WriteString(UpdateBy); } if (UpdateTime.Length != 0) { output.WriteRawTag(90); output.WriteString(UpdateTime); } if (Remark.Length != 0) { output.WriteRawTag(98); output.WriteString(Remark); } if (Mode.Length != 0) { output.WriteRawTag(106); output.WriteString(Mode); } if (DisasterLocation.Length != 0) { output.WriteRawTag(114); output.WriteString(DisasterLocation); } if (Firewall.Length != 0) { output.WriteRawTag(122); output.WriteString(Firewall); } taskOrmData_.WriteTo(output, _repeated_taskOrmData_codec); selectOrmData_.WriteTo(output, _repeated_selectOrmData_codec); 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 != 0L) { output.WriteRawTag(8); output.WriteInt64(Id); } if (TemplateName.Length != 0) { output.WriteRawTag(18); output.WriteString(TemplateName); } if (CompanyId.Length != 0) { output.WriteRawTag(26); output.WriteString(CompanyId); } if (SceneId.Length != 0) { output.WriteRawTag(34); output.WriteString(SceneId); } if (SubjectId.Length != 0) { output.WriteRawTag(42); output.WriteString(SubjectId); } if (Status.Length != 0) { output.WriteRawTag(50); output.WriteString(Status); } if (IsTemplate.Length != 0) { output.WriteRawTag(58); output.WriteString(IsTemplate); } if (CreateBy.Length != 0) { output.WriteRawTag(66); output.WriteString(CreateBy); } if (CreateTime.Length != 0) { output.WriteRawTag(74); output.WriteString(CreateTime); } if (UpdateBy.Length != 0) { output.WriteRawTag(82); output.WriteString(UpdateBy); } if (UpdateTime.Length != 0) { output.WriteRawTag(90); output.WriteString(UpdateTime); } if (Remark.Length != 0) { output.WriteRawTag(98); output.WriteString(Remark); } if (Mode.Length != 0) { output.WriteRawTag(106); output.WriteString(Mode); } if (DisasterLocation.Length != 0) { output.WriteRawTag(114); output.WriteString(DisasterLocation); } if (Firewall.Length != 0) { output.WriteRawTag(122); output.WriteString(Firewall); } taskOrmData_.WriteTo(ref output, _repeated_taskOrmData_codec); selectOrmData_.WriteTo(ref output, _repeated_selectOrmData_codec); 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 != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(Id); } if (TemplateName.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(TemplateName); } if (CompanyId.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(CompanyId); } if (SceneId.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(SceneId); } if (SubjectId.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(SubjectId); } if (Status.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Status); } if (IsTemplate.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(IsTemplate); } if (CreateBy.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(CreateBy); } if (CreateTime.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(CreateTime); } if (UpdateBy.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(UpdateBy); } if (UpdateTime.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(UpdateTime); } if (Remark.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Remark); } if (Mode.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Mode); } if (DisasterLocation.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(DisasterLocation); } if (Firewall.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Firewall); } size += taskOrmData_.CalculateSize(_repeated_taskOrmData_codec); size += selectOrmData_.CalculateSize(_repeated_selectOrmData_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(RoomTemplateResponse other) { if (other == null) { return; } if (other.Id != 0L) { Id = other.Id; } if (other.TemplateName.Length != 0) { TemplateName = other.TemplateName; } if (other.CompanyId.Length != 0) { CompanyId = other.CompanyId; } if (other.SceneId.Length != 0) { SceneId = other.SceneId; } if (other.SubjectId.Length != 0) { SubjectId = other.SubjectId; } if (other.Status.Length != 0) { Status = other.Status; } if (other.IsTemplate.Length != 0) { IsTemplate = other.IsTemplate; } if (other.CreateBy.Length != 0) { CreateBy = other.CreateBy; } if (other.CreateTime.Length != 0) { CreateTime = other.CreateTime; } if (other.UpdateBy.Length != 0) { UpdateBy = other.UpdateBy; } if (other.UpdateTime.Length != 0) { UpdateTime = other.UpdateTime; } if (other.Remark.Length != 0) { Remark = other.Remark; } if (other.Mode.Length != 0) { Mode = other.Mode; } if (other.DisasterLocation.Length != 0) { DisasterLocation = other.DisasterLocation; } if (other.Firewall.Length != 0) { Firewall = other.Firewall; } taskOrmData_.Add(other.taskOrmData_); selectOrmData_.Add(other.selectOrmData_); _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.ReadInt64(); break; } case 18: { TemplateName = input.ReadString(); break; } case 26: { CompanyId = input.ReadString(); break; } case 34: { SceneId = input.ReadString(); break; } case 42: { SubjectId = input.ReadString(); break; } case 50: { Status = input.ReadString(); break; } case 58: { IsTemplate = input.ReadString(); break; } case 66: { CreateBy = input.ReadString(); break; } case 74: { CreateTime = input.ReadString(); break; } case 82: { UpdateBy = input.ReadString(); break; } case 90: { UpdateTime = input.ReadString(); break; } case 98: { Remark = input.ReadString(); break; } case 106: { Mode = input.ReadString(); break; } case 114: { DisasterLocation = input.ReadString(); break; } case 122: { Firewall = input.ReadString(); break; } case 130: { taskOrmData_.AddEntriesFrom(input, _repeated_taskOrmData_codec); break; } case 138: { selectOrmData_.AddEntriesFrom(input, _repeated_selectOrmData_codec); 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.ReadInt64(); break; } case 18: { TemplateName = input.ReadString(); break; } case 26: { CompanyId = input.ReadString(); break; } case 34: { SceneId = input.ReadString(); break; } case 42: { SubjectId = input.ReadString(); break; } case 50: { Status = input.ReadString(); break; } case 58: { IsTemplate = input.ReadString(); break; } case 66: { CreateBy = input.ReadString(); break; } case 74: { CreateTime = input.ReadString(); break; } case 82: { UpdateBy = input.ReadString(); break; } case 90: { UpdateTime = input.ReadString(); break; } case 98: { Remark = input.ReadString(); break; } case 106: { Mode = input.ReadString(); break; } case 114: { DisasterLocation = input.ReadString(); break; } case 122: { Firewall = input.ReadString(); break; } case 130: { taskOrmData_.AddEntriesFrom(ref input, _repeated_taskOrmData_codec); break; } case 138: { selectOrmData_.AddEntriesFrom(ref input, _repeated_selectOrmData_codec); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class TaskOrmData : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TaskOrmData()); 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::RoomReflection.Descriptor.MessageTypes[1]; } } [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 TaskOrmData() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public TaskOrmData(TaskOrmData other) : this() { id_ = other.id_; taskName_ = other.taskName_; gameName_ = other.gameName_; gameType_ = other.gameType_; gameDesc_ = other.gameDesc_; gamePlayScript_ = other.gamePlayScript_; gameTrigger_ = other.gameTrigger_; gameTriggerLogic_ = other.gameTriggerLogic_; gameOverseeCond_ = other.gameOverseeCond_; gameTimeLimit_ = other.gameTimeLimit_; gameRole_ = other.gameRole_; gameSelects_ = other.gameSelects_; gameTargetType_ = other.gameTargetType_; gameTargetsFirst_ = other.gameTargetsFirst_; gameTargetsSecond_ = other.gameTargetsSecond_; gameTargetsSecondLogic_ = other.gameTargetsSecondLogic_; gameExtraValue_ = other.gameExtraValue_; gameSort_ = other.gameSort_; gameIsShow_ = other.gameIsShow_; gameExclusive_ = other.gameExclusive_; gameReward_ = other.gameReward_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public TaskOrmData Clone() { return new TaskOrmData(this); } /// Field number for the "Id" field. public const int IdFieldNumber = 1; private long id_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long Id { get { return id_; } set { id_ = value; } } /// Field number for the "TaskName" field. public const int TaskNameFieldNumber = 2; private string taskName_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string TaskName { get { return taskName_; } set { taskName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "GameName" field. public const int GameNameFieldNumber = 3; private string gameName_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string GameName { get { return gameName_; } set { gameName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "GameType" field. public const int GameTypeFieldNumber = 4; private int gameType_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int GameType { get { return gameType_; } set { gameType_ = value; } } /// Field number for the "GameDesc" field. public const int GameDescFieldNumber = 5; private string gameDesc_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string GameDesc { get { return gameDesc_; } set { gameDesc_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "GamePlayScript" field. public const int GamePlayScriptFieldNumber = 6; private string gamePlayScript_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string GamePlayScript { get { return gamePlayScript_; } set { gamePlayScript_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "GameTrigger" field. public const int GameTriggerFieldNumber = 7; private string gameTrigger_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string GameTrigger { get { return gameTrigger_; } set { gameTrigger_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "GameTriggerLogic" field. public const int GameTriggerLogicFieldNumber = 8; private string gameTriggerLogic_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string GameTriggerLogic { get { return gameTriggerLogic_; } set { gameTriggerLogic_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "GameOverseeCond" field. public const int GameOverseeCondFieldNumber = 9; private string gameOverseeCond_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string GameOverseeCond { get { return gameOverseeCond_; } set { gameOverseeCond_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "GameTimeLimit" field. public const int GameTimeLimitFieldNumber = 10; private string gameTimeLimit_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string GameTimeLimit { get { return gameTimeLimit_; } set { gameTimeLimit_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "GameRole" field. public const int GameRoleFieldNumber = 11; private string gameRole_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string GameRole { get { return gameRole_; } set { gameRole_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "GameSelects" field. public const int GameSelectsFieldNumber = 12; private string gameSelects_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string GameSelects { get { return gameSelects_; } set { gameSelects_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "GameTargetType" field. public const int GameTargetTypeFieldNumber = 13; private string gameTargetType_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string GameTargetType { get { return gameTargetType_; } set { gameTargetType_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "GameTargetsFirst" field. public const int GameTargetsFirstFieldNumber = 14; private string gameTargetsFirst_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string GameTargetsFirst { get { return gameTargetsFirst_; } set { gameTargetsFirst_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "GameTargetsSecond" field. public const int GameTargetsSecondFieldNumber = 15; private string gameTargetsSecond_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string GameTargetsSecond { get { return gameTargetsSecond_; } set { gameTargetsSecond_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "GameTargetsSecondLogic" field. public const int GameTargetsSecondLogicFieldNumber = 16; private string gameTargetsSecondLogic_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string GameTargetsSecondLogic { get { return gameTargetsSecondLogic_; } set { gameTargetsSecondLogic_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "GameExtraValue" field. public const int GameExtraValueFieldNumber = 17; private string gameExtraValue_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string GameExtraValue { get { return gameExtraValue_; } set { gameExtraValue_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "GameSort" field. public const int GameSortFieldNumber = 18; private string gameSort_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string GameSort { get { return gameSort_; } set { gameSort_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "GameIsShow" field. public const int GameIsShowFieldNumber = 19; private string gameIsShow_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string GameIsShow { get { return gameIsShow_; } set { gameIsShow_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "GameExclusive" field. public const int GameExclusiveFieldNumber = 20; private string gameExclusive_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string GameExclusive { get { return gameExclusive_; } set { gameExclusive_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "GameReward" field. public const int GameRewardFieldNumber = 21; private string gameReward_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string GameReward { get { return gameReward_; } set { gameReward_ = 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 TaskOrmData); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(TaskOrmData other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Id != other.Id) return false; if (TaskName != other.TaskName) return false; if (GameName != other.GameName) return false; if (GameType != other.GameType) return false; if (GameDesc != other.GameDesc) return false; if (GamePlayScript != other.GamePlayScript) return false; if (GameTrigger != other.GameTrigger) return false; if (GameTriggerLogic != other.GameTriggerLogic) return false; if (GameOverseeCond != other.GameOverseeCond) return false; if (GameTimeLimit != other.GameTimeLimit) return false; if (GameRole != other.GameRole) return false; if (GameSelects != other.GameSelects) return false; if (GameTargetType != other.GameTargetType) return false; if (GameTargetsFirst != other.GameTargetsFirst) return false; if (GameTargetsSecond != other.GameTargetsSecond) return false; if (GameTargetsSecondLogic != other.GameTargetsSecondLogic) return false; if (GameExtraValue != other.GameExtraValue) return false; if (GameSort != other.GameSort) return false; if (GameIsShow != other.GameIsShow) return false; if (GameExclusive != other.GameExclusive) return false; if (GameReward != other.GameReward) 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 != 0L) hash ^= Id.GetHashCode(); if (TaskName.Length != 0) hash ^= TaskName.GetHashCode(); if (GameName.Length != 0) hash ^= GameName.GetHashCode(); if (GameType != 0) hash ^= GameType.GetHashCode(); if (GameDesc.Length != 0) hash ^= GameDesc.GetHashCode(); if (GamePlayScript.Length != 0) hash ^= GamePlayScript.GetHashCode(); if (GameTrigger.Length != 0) hash ^= GameTrigger.GetHashCode(); if (GameTriggerLogic.Length != 0) hash ^= GameTriggerLogic.GetHashCode(); if (GameOverseeCond.Length != 0) hash ^= GameOverseeCond.GetHashCode(); if (GameTimeLimit.Length != 0) hash ^= GameTimeLimit.GetHashCode(); if (GameRole.Length != 0) hash ^= GameRole.GetHashCode(); if (GameSelects.Length != 0) hash ^= GameSelects.GetHashCode(); if (GameTargetType.Length != 0) hash ^= GameTargetType.GetHashCode(); if (GameTargetsFirst.Length != 0) hash ^= GameTargetsFirst.GetHashCode(); if (GameTargetsSecond.Length != 0) hash ^= GameTargetsSecond.GetHashCode(); if (GameTargetsSecondLogic.Length != 0) hash ^= GameTargetsSecondLogic.GetHashCode(); if (GameExtraValue.Length != 0) hash ^= GameExtraValue.GetHashCode(); if (GameSort.Length != 0) hash ^= GameSort.GetHashCode(); if (GameIsShow.Length != 0) hash ^= GameIsShow.GetHashCode(); if (GameExclusive.Length != 0) hash ^= GameExclusive.GetHashCode(); if (GameReward.Length != 0) hash ^= GameReward.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 != 0L) { output.WriteRawTag(8); output.WriteInt64(Id); } if (TaskName.Length != 0) { output.WriteRawTag(18); output.WriteString(TaskName); } if (GameName.Length != 0) { output.WriteRawTag(26); output.WriteString(GameName); } if (GameType != 0) { output.WriteRawTag(32); output.WriteInt32(GameType); } if (GameDesc.Length != 0) { output.WriteRawTag(42); output.WriteString(GameDesc); } if (GamePlayScript.Length != 0) { output.WriteRawTag(50); output.WriteString(GamePlayScript); } if (GameTrigger.Length != 0) { output.WriteRawTag(58); output.WriteString(GameTrigger); } if (GameTriggerLogic.Length != 0) { output.WriteRawTag(66); output.WriteString(GameTriggerLogic); } if (GameOverseeCond.Length != 0) { output.WriteRawTag(74); output.WriteString(GameOverseeCond); } if (GameTimeLimit.Length != 0) { output.WriteRawTag(82); output.WriteString(GameTimeLimit); } if (GameRole.Length != 0) { output.WriteRawTag(90); output.WriteString(GameRole); } if (GameSelects.Length != 0) { output.WriteRawTag(98); output.WriteString(GameSelects); } if (GameTargetType.Length != 0) { output.WriteRawTag(106); output.WriteString(GameTargetType); } if (GameTargetsFirst.Length != 0) { output.WriteRawTag(114); output.WriteString(GameTargetsFirst); } if (GameTargetsSecond.Length != 0) { output.WriteRawTag(122); output.WriteString(GameTargetsSecond); } if (GameTargetsSecondLogic.Length != 0) { output.WriteRawTag(130, 1); output.WriteString(GameTargetsSecondLogic); } if (GameExtraValue.Length != 0) { output.WriteRawTag(138, 1); output.WriteString(GameExtraValue); } if (GameSort.Length != 0) { output.WriteRawTag(146, 1); output.WriteString(GameSort); } if (GameIsShow.Length != 0) { output.WriteRawTag(154, 1); output.WriteString(GameIsShow); } if (GameExclusive.Length != 0) { output.WriteRawTag(162, 1); output.WriteString(GameExclusive); } if (GameReward.Length != 0) { output.WriteRawTag(170, 1); output.WriteString(GameReward); } 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 != 0L) { output.WriteRawTag(8); output.WriteInt64(Id); } if (TaskName.Length != 0) { output.WriteRawTag(18); output.WriteString(TaskName); } if (GameName.Length != 0) { output.WriteRawTag(26); output.WriteString(GameName); } if (GameType != 0) { output.WriteRawTag(32); output.WriteInt32(GameType); } if (GameDesc.Length != 0) { output.WriteRawTag(42); output.WriteString(GameDesc); } if (GamePlayScript.Length != 0) { output.WriteRawTag(50); output.WriteString(GamePlayScript); } if (GameTrigger.Length != 0) { output.WriteRawTag(58); output.WriteString(GameTrigger); } if (GameTriggerLogic.Length != 0) { output.WriteRawTag(66); output.WriteString(GameTriggerLogic); } if (GameOverseeCond.Length != 0) { output.WriteRawTag(74); output.WriteString(GameOverseeCond); } if (GameTimeLimit.Length != 0) { output.WriteRawTag(82); output.WriteString(GameTimeLimit); } if (GameRole.Length != 0) { output.WriteRawTag(90); output.WriteString(GameRole); } if (GameSelects.Length != 0) { output.WriteRawTag(98); output.WriteString(GameSelects); } if (GameTargetType.Length != 0) { output.WriteRawTag(106); output.WriteString(GameTargetType); } if (GameTargetsFirst.Length != 0) { output.WriteRawTag(114); output.WriteString(GameTargetsFirst); } if (GameTargetsSecond.Length != 0) { output.WriteRawTag(122); output.WriteString(GameTargetsSecond); } if (GameTargetsSecondLogic.Length != 0) { output.WriteRawTag(130, 1); output.WriteString(GameTargetsSecondLogic); } if (GameExtraValue.Length != 0) { output.WriteRawTag(138, 1); output.WriteString(GameExtraValue); } if (GameSort.Length != 0) { output.WriteRawTag(146, 1); output.WriteString(GameSort); } if (GameIsShow.Length != 0) { output.WriteRawTag(154, 1); output.WriteString(GameIsShow); } if (GameExclusive.Length != 0) { output.WriteRawTag(162, 1); output.WriteString(GameExclusive); } if (GameReward.Length != 0) { output.WriteRawTag(170, 1); output.WriteString(GameReward); } 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 != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(Id); } if (TaskName.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(TaskName); } if (GameName.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(GameName); } if (GameType != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(GameType); } if (GameDesc.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(GameDesc); } if (GamePlayScript.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(GamePlayScript); } if (GameTrigger.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(GameTrigger); } if (GameTriggerLogic.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(GameTriggerLogic); } if (GameOverseeCond.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(GameOverseeCond); } if (GameTimeLimit.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(GameTimeLimit); } if (GameRole.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(GameRole); } if (GameSelects.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(GameSelects); } if (GameTargetType.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(GameTargetType); } if (GameTargetsFirst.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(GameTargetsFirst); } if (GameTargetsSecond.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(GameTargetsSecond); } if (GameTargetsSecondLogic.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(GameTargetsSecondLogic); } if (GameExtraValue.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(GameExtraValue); } if (GameSort.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(GameSort); } if (GameIsShow.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(GameIsShow); } if (GameExclusive.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(GameExclusive); } if (GameReward.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(GameReward); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(TaskOrmData other) { if (other == null) { return; } if (other.Id != 0L) { Id = other.Id; } if (other.TaskName.Length != 0) { TaskName = other.TaskName; } if (other.GameName.Length != 0) { GameName = other.GameName; } if (other.GameType != 0) { GameType = other.GameType; } if (other.GameDesc.Length != 0) { GameDesc = other.GameDesc; } if (other.GamePlayScript.Length != 0) { GamePlayScript = other.GamePlayScript; } if (other.GameTrigger.Length != 0) { GameTrigger = other.GameTrigger; } if (other.GameTriggerLogic.Length != 0) { GameTriggerLogic = other.GameTriggerLogic; } if (other.GameOverseeCond.Length != 0) { GameOverseeCond = other.GameOverseeCond; } if (other.GameTimeLimit.Length != 0) { GameTimeLimit = other.GameTimeLimit; } if (other.GameRole.Length != 0) { GameRole = other.GameRole; } if (other.GameSelects.Length != 0) { GameSelects = other.GameSelects; } if (other.GameTargetType.Length != 0) { GameTargetType = other.GameTargetType; } if (other.GameTargetsFirst.Length != 0) { GameTargetsFirst = other.GameTargetsFirst; } if (other.GameTargetsSecond.Length != 0) { GameTargetsSecond = other.GameTargetsSecond; } if (other.GameTargetsSecondLogic.Length != 0) { GameTargetsSecondLogic = other.GameTargetsSecondLogic; } if (other.GameExtraValue.Length != 0) { GameExtraValue = other.GameExtraValue; } if (other.GameSort.Length != 0) { GameSort = other.GameSort; } if (other.GameIsShow.Length != 0) { GameIsShow = other.GameIsShow; } if (other.GameExclusive.Length != 0) { GameExclusive = other.GameExclusive; } if (other.GameReward.Length != 0) { GameReward = other.GameReward; } _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.ReadInt64(); break; } case 18: { TaskName = input.ReadString(); break; } case 26: { GameName = input.ReadString(); break; } case 32: { GameType = input.ReadInt32(); break; } case 42: { GameDesc = input.ReadString(); break; } case 50: { GamePlayScript = input.ReadString(); break; } case 58: { GameTrigger = input.ReadString(); break; } case 66: { GameTriggerLogic = input.ReadString(); break; } case 74: { GameOverseeCond = input.ReadString(); break; } case 82: { GameTimeLimit = input.ReadString(); break; } case 90: { GameRole = input.ReadString(); break; } case 98: { GameSelects = input.ReadString(); break; } case 106: { GameTargetType = input.ReadString(); break; } case 114: { GameTargetsFirst = input.ReadString(); break; } case 122: { GameTargetsSecond = input.ReadString(); break; } case 130: { GameTargetsSecondLogic = input.ReadString(); break; } case 138: { GameExtraValue = input.ReadString(); break; } case 146: { GameSort = input.ReadString(); break; } case 154: { GameIsShow = input.ReadString(); break; } case 162: { GameExclusive = input.ReadString(); break; } case 170: { GameReward = 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.ReadInt64(); break; } case 18: { TaskName = input.ReadString(); break; } case 26: { GameName = input.ReadString(); break; } case 32: { GameType = input.ReadInt32(); break; } case 42: { GameDesc = input.ReadString(); break; } case 50: { GamePlayScript = input.ReadString(); break; } case 58: { GameTrigger = input.ReadString(); break; } case 66: { GameTriggerLogic = input.ReadString(); break; } case 74: { GameOverseeCond = input.ReadString(); break; } case 82: { GameTimeLimit = input.ReadString(); break; } case 90: { GameRole = input.ReadString(); break; } case 98: { GameSelects = input.ReadString(); break; } case 106: { GameTargetType = input.ReadString(); break; } case 114: { GameTargetsFirst = input.ReadString(); break; } case 122: { GameTargetsSecond = input.ReadString(); break; } case 130: { GameTargetsSecondLogic = input.ReadString(); break; } case 138: { GameExtraValue = input.ReadString(); break; } case 146: { GameSort = input.ReadString(); break; } case 154: { GameIsShow = input.ReadString(); break; } case 162: { GameExclusive = input.ReadString(); break; } case 170: { GameReward = input.ReadString(); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class SelectOrmData : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SelectOrmData()); 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::RoomReflection.Descriptor.MessageTypes[2]; } } [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 SelectOrmData() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public SelectOrmData(SelectOrmData other) : this() { id_ = other.id_; note_ = other.note_; group_ = other.group_; showText_ = other.showText_; icon_ = other.icon_; preconditions_ = other.preconditions_; exclusive_ = other.exclusive_; taskTime_ = other.taskTime_; timeLimit_ = other.timeLimit_; nextSelect_ = other.nextSelect_; taskLink_ = other.taskLink_; taskLinkDetails_ = other.taskLinkDetails_; callMode_ = other.callMode_; callRecipient_ = other.callRecipient_; correctOption_ = other.correctOption_; reward_ = other.reward_; result_ = other.result_; route_ = other.route_; timingChange_ = other.timingChange_; appliedUI_ = other.appliedUI_; uIDetails_ = other.uIDetails_; seq_ = other.seq_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public SelectOrmData Clone() { return new SelectOrmData(this); } /// Field number for the "Id" field. public const int IdFieldNumber = 1; private long id_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long Id { get { return id_; } set { id_ = value; } } /// Field number for the "Note" field. public const int NoteFieldNumber = 2; private string note_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Note { get { return note_; } set { note_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "Group" field. public const int GroupFieldNumber = 3; private string group_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Group { get { return group_; } set { group_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "ShowText" field. public const int ShowTextFieldNumber = 4; private string showText_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string ShowText { get { return showText_; } set { showText_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "Icon" field. public const int IconFieldNumber = 5; private string icon_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Icon { get { return icon_; } set { icon_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "Preconditions" field. public const int PreconditionsFieldNumber = 6; private string preconditions_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Preconditions { get { return preconditions_; } set { preconditions_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "Exclusive" field. public const int ExclusiveFieldNumber = 7; private string exclusive_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Exclusive { get { return exclusive_; } set { exclusive_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "TaskTime" field. public const int TaskTimeFieldNumber = 8; private long taskTime_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long TaskTime { get { return taskTime_; } set { taskTime_ = value; } } /// Field number for the "TimeLimit" field. public const int TimeLimitFieldNumber = 9; private long timeLimit_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long TimeLimit { get { return timeLimit_; } set { timeLimit_ = value; } } /// Field number for the "NextSelect" field. public const int NextSelectFieldNumber = 10; private string nextSelect_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string NextSelect { get { return nextSelect_; } set { nextSelect_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "TaskLink" field. public const int TaskLinkFieldNumber = 11; private string taskLink_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string TaskLink { get { return taskLink_; } set { taskLink_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "TaskLinkDetails" field. public const int TaskLinkDetailsFieldNumber = 12; private string taskLinkDetails_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string TaskLinkDetails { get { return taskLinkDetails_; } set { taskLinkDetails_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "CallMode" field. public const int CallModeFieldNumber = 13; private string callMode_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string CallMode { get { return callMode_; } set { callMode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "CallRecipient" field. public const int CallRecipientFieldNumber = 14; private string callRecipient_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string CallRecipient { get { return callRecipient_; } set { callRecipient_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "CorrectOption" field. public const int CorrectOptionFieldNumber = 15; private string correctOption_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string CorrectOption { get { return correctOption_; } set { correctOption_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "Reward" field. public const int RewardFieldNumber = 16; private string reward_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Reward { get { return reward_; } set { reward_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "Result" field. public const int ResultFieldNumber = 17; private string result_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Result { get { return result_; } set { result_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "Route" field. public const int RouteFieldNumber = 18; private string route_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Route { get { return route_; } set { route_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "TimingChange" field. public const int TimingChangeFieldNumber = 19; private string timingChange_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string TimingChange { get { return timingChange_; } set { timingChange_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "AppliedUI" field. public const int AppliedUIFieldNumber = 20; private string appliedUI_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string AppliedUI { get { return appliedUI_; } set { appliedUI_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "UIDetails" field. public const int UIDetailsFieldNumber = 21; private string uIDetails_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string UIDetails { get { return uIDetails_; } set { uIDetails_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "Seq" field. public const int SeqFieldNumber = 22; private string seq_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Seq { get { return seq_; } set { seq_ = 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 SelectOrmData); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(SelectOrmData other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Id != other.Id) return false; if (Note != other.Note) return false; if (Group != other.Group) return false; if (ShowText != other.ShowText) return false; if (Icon != other.Icon) return false; if (Preconditions != other.Preconditions) return false; if (Exclusive != other.Exclusive) return false; if (TaskTime != other.TaskTime) return false; if (TimeLimit != other.TimeLimit) return false; if (NextSelect != other.NextSelect) return false; if (TaskLink != other.TaskLink) return false; if (TaskLinkDetails != other.TaskLinkDetails) return false; if (CallMode != other.CallMode) return false; if (CallRecipient != other.CallRecipient) return false; if (CorrectOption != other.CorrectOption) return false; if (Reward != other.Reward) return false; if (Result != other.Result) return false; if (Route != other.Route) return false; if (TimingChange != other.TimingChange) return false; if (AppliedUI != other.AppliedUI) return false; if (UIDetails != other.UIDetails) return false; if (Seq != other.Seq) 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 != 0L) hash ^= Id.GetHashCode(); if (Note.Length != 0) hash ^= Note.GetHashCode(); if (Group.Length != 0) hash ^= Group.GetHashCode(); if (ShowText.Length != 0) hash ^= ShowText.GetHashCode(); if (Icon.Length != 0) hash ^= Icon.GetHashCode(); if (Preconditions.Length != 0) hash ^= Preconditions.GetHashCode(); if (Exclusive.Length != 0) hash ^= Exclusive.GetHashCode(); if (TaskTime != 0L) hash ^= TaskTime.GetHashCode(); if (TimeLimit != 0L) hash ^= TimeLimit.GetHashCode(); if (NextSelect.Length != 0) hash ^= NextSelect.GetHashCode(); if (TaskLink.Length != 0) hash ^= TaskLink.GetHashCode(); if (TaskLinkDetails.Length != 0) hash ^= TaskLinkDetails.GetHashCode(); if (CallMode.Length != 0) hash ^= CallMode.GetHashCode(); if (CallRecipient.Length != 0) hash ^= CallRecipient.GetHashCode(); if (CorrectOption.Length != 0) hash ^= CorrectOption.GetHashCode(); if (Reward.Length != 0) hash ^= Reward.GetHashCode(); if (Result.Length != 0) hash ^= Result.GetHashCode(); if (Route.Length != 0) hash ^= Route.GetHashCode(); if (TimingChange.Length != 0) hash ^= TimingChange.GetHashCode(); if (AppliedUI.Length != 0) hash ^= AppliedUI.GetHashCode(); if (UIDetails.Length != 0) hash ^= UIDetails.GetHashCode(); if (Seq.Length != 0) hash ^= Seq.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 != 0L) { output.WriteRawTag(8); output.WriteInt64(Id); } if (Note.Length != 0) { output.WriteRawTag(18); output.WriteString(Note); } if (Group.Length != 0) { output.WriteRawTag(26); output.WriteString(Group); } if (ShowText.Length != 0) { output.WriteRawTag(34); output.WriteString(ShowText); } if (Icon.Length != 0) { output.WriteRawTag(42); output.WriteString(Icon); } if (Preconditions.Length != 0) { output.WriteRawTag(50); output.WriteString(Preconditions); } if (Exclusive.Length != 0) { output.WriteRawTag(58); output.WriteString(Exclusive); } if (TaskTime != 0L) { output.WriteRawTag(64); output.WriteInt64(TaskTime); } if (TimeLimit != 0L) { output.WriteRawTag(72); output.WriteInt64(TimeLimit); } if (NextSelect.Length != 0) { output.WriteRawTag(82); output.WriteString(NextSelect); } if (TaskLink.Length != 0) { output.WriteRawTag(90); output.WriteString(TaskLink); } if (TaskLinkDetails.Length != 0) { output.WriteRawTag(98); output.WriteString(TaskLinkDetails); } if (CallMode.Length != 0) { output.WriteRawTag(106); output.WriteString(CallMode); } if (CallRecipient.Length != 0) { output.WriteRawTag(114); output.WriteString(CallRecipient); } if (CorrectOption.Length != 0) { output.WriteRawTag(122); output.WriteString(CorrectOption); } if (Reward.Length != 0) { output.WriteRawTag(130, 1); output.WriteString(Reward); } if (Result.Length != 0) { output.WriteRawTag(138, 1); output.WriteString(Result); } if (Route.Length != 0) { output.WriteRawTag(146, 1); output.WriteString(Route); } if (TimingChange.Length != 0) { output.WriteRawTag(154, 1); output.WriteString(TimingChange); } if (AppliedUI.Length != 0) { output.WriteRawTag(162, 1); output.WriteString(AppliedUI); } if (UIDetails.Length != 0) { output.WriteRawTag(170, 1); output.WriteString(UIDetails); } if (Seq.Length != 0) { output.WriteRawTag(178, 1); output.WriteString(Seq); } 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 != 0L) { output.WriteRawTag(8); output.WriteInt64(Id); } if (Note.Length != 0) { output.WriteRawTag(18); output.WriteString(Note); } if (Group.Length != 0) { output.WriteRawTag(26); output.WriteString(Group); } if (ShowText.Length != 0) { output.WriteRawTag(34); output.WriteString(ShowText); } if (Icon.Length != 0) { output.WriteRawTag(42); output.WriteString(Icon); } if (Preconditions.Length != 0) { output.WriteRawTag(50); output.WriteString(Preconditions); } if (Exclusive.Length != 0) { output.WriteRawTag(58); output.WriteString(Exclusive); } if (TaskTime != 0L) { output.WriteRawTag(64); output.WriteInt64(TaskTime); } if (TimeLimit != 0L) { output.WriteRawTag(72); output.WriteInt64(TimeLimit); } if (NextSelect.Length != 0) { output.WriteRawTag(82); output.WriteString(NextSelect); } if (TaskLink.Length != 0) { output.WriteRawTag(90); output.WriteString(TaskLink); } if (TaskLinkDetails.Length != 0) { output.WriteRawTag(98); output.WriteString(TaskLinkDetails); } if (CallMode.Length != 0) { output.WriteRawTag(106); output.WriteString(CallMode); } if (CallRecipient.Length != 0) { output.WriteRawTag(114); output.WriteString(CallRecipient); } if (CorrectOption.Length != 0) { output.WriteRawTag(122); output.WriteString(CorrectOption); } if (Reward.Length != 0) { output.WriteRawTag(130, 1); output.WriteString(Reward); } if (Result.Length != 0) { output.WriteRawTag(138, 1); output.WriteString(Result); } if (Route.Length != 0) { output.WriteRawTag(146, 1); output.WriteString(Route); } if (TimingChange.Length != 0) { output.WriteRawTag(154, 1); output.WriteString(TimingChange); } if (AppliedUI.Length != 0) { output.WriteRawTag(162, 1); output.WriteString(AppliedUI); } if (UIDetails.Length != 0) { output.WriteRawTag(170, 1); output.WriteString(UIDetails); } if (Seq.Length != 0) { output.WriteRawTag(178, 1); output.WriteString(Seq); } 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 != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(Id); } if (Note.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Note); } if (Group.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Group); } if (ShowText.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(ShowText); } if (Icon.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); } if (Preconditions.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Preconditions); } if (Exclusive.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Exclusive); } if (TaskTime != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(TaskTime); } if (TimeLimit != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(TimeLimit); } if (NextSelect.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(NextSelect); } if (TaskLink.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(TaskLink); } if (TaskLinkDetails.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(TaskLinkDetails); } if (CallMode.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(CallMode); } if (CallRecipient.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(CallRecipient); } if (CorrectOption.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(CorrectOption); } if (Reward.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(Reward); } if (Result.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(Result); } if (Route.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(Route); } if (TimingChange.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(TimingChange); } if (AppliedUI.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(AppliedUI); } if (UIDetails.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(UIDetails); } if (Seq.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(Seq); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(SelectOrmData other) { if (other == null) { return; } if (other.Id != 0L) { Id = other.Id; } if (other.Note.Length != 0) { Note = other.Note; } if (other.Group.Length != 0) { Group = other.Group; } if (other.ShowText.Length != 0) { ShowText = other.ShowText; } if (other.Icon.Length != 0) { Icon = other.Icon; } if (other.Preconditions.Length != 0) { Preconditions = other.Preconditions; } if (other.Exclusive.Length != 0) { Exclusive = other.Exclusive; } if (other.TaskTime != 0L) { TaskTime = other.TaskTime; } if (other.TimeLimit != 0L) { TimeLimit = other.TimeLimit; } if (other.NextSelect.Length != 0) { NextSelect = other.NextSelect; } if (other.TaskLink.Length != 0) { TaskLink = other.TaskLink; } if (other.TaskLinkDetails.Length != 0) { TaskLinkDetails = other.TaskLinkDetails; } if (other.CallMode.Length != 0) { CallMode = other.CallMode; } if (other.CallRecipient.Length != 0) { CallRecipient = other.CallRecipient; } if (other.CorrectOption.Length != 0) { CorrectOption = other.CorrectOption; } if (other.Reward.Length != 0) { Reward = other.Reward; } if (other.Result.Length != 0) { Result = other.Result; } if (other.Route.Length != 0) { Route = other.Route; } if (other.TimingChange.Length != 0) { TimingChange = other.TimingChange; } if (other.AppliedUI.Length != 0) { AppliedUI = other.AppliedUI; } if (other.UIDetails.Length != 0) { UIDetails = other.UIDetails; } if (other.Seq.Length != 0) { Seq = other.Seq; } _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.ReadInt64(); break; } case 18: { Note = input.ReadString(); break; } case 26: { Group = input.ReadString(); break; } case 34: { ShowText = input.ReadString(); break; } case 42: { Icon = input.ReadString(); break; } case 50: { Preconditions = input.ReadString(); break; } case 58: { Exclusive = input.ReadString(); break; } case 64: { TaskTime = input.ReadInt64(); break; } case 72: { TimeLimit = input.ReadInt64(); break; } case 82: { NextSelect = input.ReadString(); break; } case 90: { TaskLink = input.ReadString(); break; } case 98: { TaskLinkDetails = input.ReadString(); break; } case 106: { CallMode = input.ReadString(); break; } case 114: { CallRecipient = input.ReadString(); break; } case 122: { CorrectOption = input.ReadString(); break; } case 130: { Reward = input.ReadString(); break; } case 138: { Result = input.ReadString(); break; } case 146: { Route = input.ReadString(); break; } case 154: { TimingChange = input.ReadString(); break; } case 162: { AppliedUI = input.ReadString(); break; } case 170: { UIDetails = input.ReadString(); break; } case 178: { Seq = 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.ReadInt64(); break; } case 18: { Note = input.ReadString(); break; } case 26: { Group = input.ReadString(); break; } case 34: { ShowText = input.ReadString(); break; } case 42: { Icon = input.ReadString(); break; } case 50: { Preconditions = input.ReadString(); break; } case 58: { Exclusive = input.ReadString(); break; } case 64: { TaskTime = input.ReadInt64(); break; } case 72: { TimeLimit = input.ReadInt64(); break; } case 82: { NextSelect = input.ReadString(); break; } case 90: { TaskLink = input.ReadString(); break; } case 98: { TaskLinkDetails = input.ReadString(); break; } case 106: { CallMode = input.ReadString(); break; } case 114: { CallRecipient = input.ReadString(); break; } case 122: { CorrectOption = input.ReadString(); break; } case 130: { Reward = input.ReadString(); break; } case 138: { Result = input.ReadString(); break; } case 146: { Route = input.ReadString(); break; } case 154: { TimingChange = input.ReadString(); break; } case 162: { AppliedUI = input.ReadString(); break; } case 170: { UIDetails = input.ReadString(); break; } case 178: { Seq = input.ReadString(); break; } } } } #endif } #endregion #endregion Designer generated code