// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: rec_room/creation_transient/invention_spawn_request_data.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 RecRoom.Creation.Protobuf { /// Holder for reflection information generated from rec_room/creation_transient/invention_spawn_request_data.proto public static partial class InventionSpawnRequestDataReflection { #region Descriptor /// File descriptor for rec_room/creation_transient/invention_spawn_request_data.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static InventionSpawnRequestDataReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "Cj5yZWNfcm9vbS9jcmVhdGlvbl90cmFuc2llbnQvaW52ZW50aW9uX3NwYXdu", "X3JlcXVlc3RfZGF0YS5wcm90bxIIY3JlYXRpb24aFGNvcmUvZ3VpZF9kYXRh", "LnByb3RvGj1yZWNfcm9vbS9jcmVhdGlvbl90cmFuc2llbnQvdGVtcGxhdGVf", "c3Bhd25fcmVxdWVzdF9kYXRhLnByb3RvIu8CChlJbnZlbnRpb25TcGF3blJl", "cXVlc3REYXRhEhQKDGludmVudGlvbl9pZBgBIAEoAxITCgt2ZXJzaW9uX251", "bRgCIAEoBRIWCg5kYXRhX2Jsb2JfbmFtZRgDIAEoCRIWCg5kYXRhX2Jsb2Jf", "aGFzaBgEIAEoCRJCChRzcGF3bl90cmFuc2Zvcm1fZGF0YRgFIAEoCzIkLmNy", "ZWF0aW9uLlRlbXBsYXRlU3Bhd25UcmFuc2Zvcm1EYXRhEigKEGNpcmN1aXRf", "Z3JhcGhfaWQYBiABKAsyDi5jb3JlLkd1aWREYXRhEhAKCGlzX3RyaWFsGAcg", "ASgIEhQKDGNoZWNrX2FuY2hvchgIIAEoCBIhChlyZXBsYWNlX3Byb2dyZXNz", "aW9uX3RhYmxlGAkgASgIEhEKCXBhcmVudF9pZBgKIAEoDRIrChN1bml0eV9z", "dWJfYXNzZXRfaWRzGAsgAygLMg4uY29yZS5HdWlkRGF0YUIcqgIZUmVjUm9v", "bS5DcmVhdGlvbi5Qcm90b2J1ZmIGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::RecRoom.Protobuf.Core.GuidDataReflection.Descriptor, global::RecRoom.Creation.Protobuf.TemplateSpawnRequestDataReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Creation.Protobuf.InventionSpawnRequestData), global::RecRoom.Creation.Protobuf.InventionSpawnRequestData.Parser, new[]{ "InventionId", "VersionNum", "DataBlobName", "DataBlobHash", "SpawnTransformData", "CircuitGraphId", "IsTrial", "CheckAnchor", "ReplaceProgressionTable", "ParentId", "UnitySubAssetIds" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class InventionSpawnRequestData : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new InventionSpawnRequestData()); 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::RecRoom.Creation.Protobuf.InventionSpawnRequestDataReflection.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 InventionSpawnRequestData() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public InventionSpawnRequestData(InventionSpawnRequestData other) : this() { inventionId_ = other.inventionId_; versionNum_ = other.versionNum_; dataBlobName_ = other.dataBlobName_; dataBlobHash_ = other.dataBlobHash_; spawnTransformData_ = other.spawnTransformData_ != null ? other.spawnTransformData_.Clone() : null; circuitGraphId_ = other.circuitGraphId_ != null ? other.circuitGraphId_.Clone() : null; isTrial_ = other.isTrial_; checkAnchor_ = other.checkAnchor_; replaceProgressionTable_ = other.replaceProgressionTable_; parentId_ = other.parentId_; unitySubAssetIds_ = other.unitySubAssetIds_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public InventionSpawnRequestData Clone() { return new InventionSpawnRequestData(this); } /// Field number for the "invention_id" field. public const int InventionIdFieldNumber = 1; private long inventionId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long InventionId { get { return inventionId_; } set { inventionId_ = value; } } /// Field number for the "version_num" field. public const int VersionNumFieldNumber = 2; private int versionNum_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int VersionNum { get { return versionNum_; } set { versionNum_ = value; } } /// Field number for the "data_blob_name" field. public const int DataBlobNameFieldNumber = 3; private string dataBlobName_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string DataBlobName { get { return dataBlobName_; } set { dataBlobName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "data_blob_hash" field. public const int DataBlobHashFieldNumber = 4; private string dataBlobHash_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string DataBlobHash { get { return dataBlobHash_; } set { dataBlobHash_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "spawn_transform_data" field. public const int SpawnTransformDataFieldNumber = 5; private global::RecRoom.Creation.Protobuf.TemplateSpawnTransformData spawnTransformData_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::RecRoom.Creation.Protobuf.TemplateSpawnTransformData SpawnTransformData { get { return spawnTransformData_; } set { spawnTransformData_ = value; } } /// Field number for the "circuit_graph_id" field. public const int CircuitGraphIdFieldNumber = 6; private global::RecRoom.Protobuf.Core.GuidData circuitGraphId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::RecRoom.Protobuf.Core.GuidData CircuitGraphId { get { return circuitGraphId_; } set { circuitGraphId_ = value; } } /// Field number for the "is_trial" field. public const int IsTrialFieldNumber = 7; private bool isTrial_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool IsTrial { get { return isTrial_; } set { isTrial_ = value; } } /// Field number for the "check_anchor" field. public const int CheckAnchorFieldNumber = 8; private bool checkAnchor_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool CheckAnchor { get { return checkAnchor_; } set { checkAnchor_ = value; } } /// Field number for the "replace_progression_table" field. public const int ReplaceProgressionTableFieldNumber = 9; private bool replaceProgressionTable_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool ReplaceProgressionTable { get { return replaceProgressionTable_; } set { replaceProgressionTable_ = value; } } /// Field number for the "parent_id" field. public const int ParentIdFieldNumber = 10; private uint parentId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint ParentId { get { return parentId_; } set { parentId_ = value; } } /// Field number for the "unity_sub_asset_ids" field. public const int UnitySubAssetIdsFieldNumber = 11; private static readonly pb::FieldCodec _repeated_unitySubAssetIds_codec = pb::FieldCodec.ForMessage(90, global::RecRoom.Protobuf.Core.GuidData.Parser); private readonly pbc::RepeatedField unitySubAssetIds_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField UnitySubAssetIds { get { return unitySubAssetIds_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as InventionSpawnRequestData); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(InventionSpawnRequestData other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (InventionId != other.InventionId) return false; if (VersionNum != other.VersionNum) return false; if (DataBlobName != other.DataBlobName) return false; if (DataBlobHash != other.DataBlobHash) return false; if (!object.Equals(SpawnTransformData, other.SpawnTransformData)) return false; if (!object.Equals(CircuitGraphId, other.CircuitGraphId)) return false; if (IsTrial != other.IsTrial) return false; if (CheckAnchor != other.CheckAnchor) return false; if (ReplaceProgressionTable != other.ReplaceProgressionTable) return false; if (ParentId != other.ParentId) return false; if(!unitySubAssetIds_.Equals(other.unitySubAssetIds_)) 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 (InventionId != 0L) hash ^= InventionId.GetHashCode(); if (VersionNum != 0) hash ^= VersionNum.GetHashCode(); if (DataBlobName.Length != 0) hash ^= DataBlobName.GetHashCode(); if (DataBlobHash.Length != 0) hash ^= DataBlobHash.GetHashCode(); if (spawnTransformData_ != null) hash ^= SpawnTransformData.GetHashCode(); if (circuitGraphId_ != null) hash ^= CircuitGraphId.GetHashCode(); if (IsTrial != false) hash ^= IsTrial.GetHashCode(); if (CheckAnchor != false) hash ^= CheckAnchor.GetHashCode(); if (ReplaceProgressionTable != false) hash ^= ReplaceProgressionTable.GetHashCode(); if (ParentId != 0) hash ^= ParentId.GetHashCode(); hash ^= unitySubAssetIds_.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 (InventionId != 0L) { output.WriteRawTag(8); output.WriteInt64(InventionId); } if (VersionNum != 0) { output.WriteRawTag(16); output.WriteInt32(VersionNum); } if (DataBlobName.Length != 0) { output.WriteRawTag(26); output.WriteString(DataBlobName); } if (DataBlobHash.Length != 0) { output.WriteRawTag(34); output.WriteString(DataBlobHash); } if (spawnTransformData_ != null) { output.WriteRawTag(42); output.WriteMessage(SpawnTransformData); } if (circuitGraphId_ != null) { output.WriteRawTag(50); output.WriteMessage(CircuitGraphId); } if (IsTrial != false) { output.WriteRawTag(56); output.WriteBool(IsTrial); } if (CheckAnchor != false) { output.WriteRawTag(64); output.WriteBool(CheckAnchor); } if (ReplaceProgressionTable != false) { output.WriteRawTag(72); output.WriteBool(ReplaceProgressionTable); } if (ParentId != 0) { output.WriteRawTag(80); output.WriteUInt32(ParentId); } unitySubAssetIds_.WriteTo(output, _repeated_unitySubAssetIds_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 (InventionId != 0L) { output.WriteRawTag(8); output.WriteInt64(InventionId); } if (VersionNum != 0) { output.WriteRawTag(16); output.WriteInt32(VersionNum); } if (DataBlobName.Length != 0) { output.WriteRawTag(26); output.WriteString(DataBlobName); } if (DataBlobHash.Length != 0) { output.WriteRawTag(34); output.WriteString(DataBlobHash); } if (spawnTransformData_ != null) { output.WriteRawTag(42); output.WriteMessage(SpawnTransformData); } if (circuitGraphId_ != null) { output.WriteRawTag(50); output.WriteMessage(CircuitGraphId); } if (IsTrial != false) { output.WriteRawTag(56); output.WriteBool(IsTrial); } if (CheckAnchor != false) { output.WriteRawTag(64); output.WriteBool(CheckAnchor); } if (ReplaceProgressionTable != false) { output.WriteRawTag(72); output.WriteBool(ReplaceProgressionTable); } if (ParentId != 0) { output.WriteRawTag(80); output.WriteUInt32(ParentId); } unitySubAssetIds_.WriteTo(ref output, _repeated_unitySubAssetIds_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 (InventionId != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(InventionId); } if (VersionNum != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(VersionNum); } if (DataBlobName.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(DataBlobName); } if (DataBlobHash.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(DataBlobHash); } if (spawnTransformData_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(SpawnTransformData); } if (circuitGraphId_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(CircuitGraphId); } if (IsTrial != false) { size += 1 + 1; } if (CheckAnchor != false) { size += 1 + 1; } if (ReplaceProgressionTable != false) { size += 1 + 1; } if (ParentId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ParentId); } size += unitySubAssetIds_.CalculateSize(_repeated_unitySubAssetIds_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(InventionSpawnRequestData other) { if (other == null) { return; } if (other.InventionId != 0L) { InventionId = other.InventionId; } if (other.VersionNum != 0) { VersionNum = other.VersionNum; } if (other.DataBlobName.Length != 0) { DataBlobName = other.DataBlobName; } if (other.DataBlobHash.Length != 0) { DataBlobHash = other.DataBlobHash; } if (other.spawnTransformData_ != null) { if (spawnTransformData_ == null) { SpawnTransformData = new global::RecRoom.Creation.Protobuf.TemplateSpawnTransformData(); } SpawnTransformData.MergeFrom(other.SpawnTransformData); } if (other.circuitGraphId_ != null) { if (circuitGraphId_ == null) { CircuitGraphId = new global::RecRoom.Protobuf.Core.GuidData(); } CircuitGraphId.MergeFrom(other.CircuitGraphId); } if (other.IsTrial != false) { IsTrial = other.IsTrial; } if (other.CheckAnchor != false) { CheckAnchor = other.CheckAnchor; } if (other.ReplaceProgressionTable != false) { ReplaceProgressionTable = other.ReplaceProgressionTable; } if (other.ParentId != 0) { ParentId = other.ParentId; } unitySubAssetIds_.Add(other.unitySubAssetIds_); _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: { InventionId = input.ReadInt64(); break; } case 16: { VersionNum = input.ReadInt32(); break; } case 26: { DataBlobName = input.ReadString(); break; } case 34: { DataBlobHash = input.ReadString(); break; } case 42: { if (spawnTransformData_ == null) { SpawnTransformData = new global::RecRoom.Creation.Protobuf.TemplateSpawnTransformData(); } input.ReadMessage(SpawnTransformData); break; } case 50: { if (circuitGraphId_ == null) { CircuitGraphId = new global::RecRoom.Protobuf.Core.GuidData(); } input.ReadMessage(CircuitGraphId); break; } case 56: { IsTrial = input.ReadBool(); break; } case 64: { CheckAnchor = input.ReadBool(); break; } case 72: { ReplaceProgressionTable = input.ReadBool(); break; } case 80: { ParentId = input.ReadUInt32(); break; } case 90: { unitySubAssetIds_.AddEntriesFrom(input, _repeated_unitySubAssetIds_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: { InventionId = input.ReadInt64(); break; } case 16: { VersionNum = input.ReadInt32(); break; } case 26: { DataBlobName = input.ReadString(); break; } case 34: { DataBlobHash = input.ReadString(); break; } case 42: { if (spawnTransformData_ == null) { SpawnTransformData = new global::RecRoom.Creation.Protobuf.TemplateSpawnTransformData(); } input.ReadMessage(SpawnTransformData); break; } case 50: { if (circuitGraphId_ == null) { CircuitGraphId = new global::RecRoom.Protobuf.Core.GuidData(); } input.ReadMessage(CircuitGraphId); break; } case 56: { IsTrial = input.ReadBool(); break; } case 64: { CheckAnchor = input.ReadBool(); break; } case 72: { ReplaceProgressionTable = input.ReadBool(); break; } case 80: { ParentId = input.ReadUInt32(); break; } case 90: { unitySubAssetIds_.AddEntriesFrom(ref input, _repeated_unitySubAssetIds_codec); break; } } } } #endif } #endregion } #endregion Designer generated code