// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: rec_room/autosaves/autosave_file_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.Protobuf { /// Holder for reflection information generated from rec_room/autosaves/autosave_file_data.proto public static partial class AutosaveFileDataReflection { #region Descriptor /// File descriptor for rec_room/autosaves/autosave_file_data.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static AutosaveFileDataReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CityZWNfcm9vbS9hdXRvc2F2ZXMvYXV0b3NhdmVfZmlsZV9kYXRhLnByb3Rv", "EghyZWNfcm9vbRoucmVjX3Jvb20vcGVyc2lzdGVuY2UvcGVyc2lzdGVkX3Jv", "b21fZGF0YS5wcm90bxoUY29yZS9ndWlkX2RhdGEucHJvdG8ivgIKEEF1dG9z", "YXZlRmlsZURhdGESDgoGcm9vbUlkGAEgASgDEhEKCXN1YnJvb21JZBgCIAEo", "AxIcChRyZWZlcmVuY2VkX2ZpbGVuYW1lcxgDIAMoCRIuCiZsZWdhY3lfYWRk", "aXRpb25hbF9yZWZlcmVuY2VkX2ZpbGVuYW1lcxgEIAMoCRIVCg1pbnZlbnRp", "b25faWRzGAUgAygDEhwKFGludmVudGlvbl9yZWZlcmVuY2VzGAYgAygFEhYK", "DnVuaXR5X2Fzc2V0X2lkGAcgASgJEjgKE3BlcnNpc3RlZF9yb29tX2RhdGEY", "CCABKAsyGy5yZWNfcm9vbS5QZXJzaXN0ZWRSb29tRGF0YRIyChpyZWZlcmVu", "Y2VkX3VuaXR5X2Fzc2V0X2lkcxgJIAMoCzIOLmNvcmUuR3VpZERhdGFCE6oC", "EFJlY1Jvb20uUHJvdG9idWZiBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::RecRoom.Protobuf.PersistedRoomDataReflection.Descriptor, global::RecRoom.Protobuf.Core.GuidDataReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.AutosaveFileData), global::RecRoom.Protobuf.AutosaveFileData.Parser, new[]{ "RoomId", "SubroomId", "ReferencedFilenames", "LegacyAdditionalReferencedFilenames", "InventionIds", "InventionReferences", "UnityAssetId", "PersistedRoomData", "ReferencedUnityAssetIds" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class AutosaveFileData : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AutosaveFileData()); 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.Protobuf.AutosaveFileDataReflection.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 AutosaveFileData() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public AutosaveFileData(AutosaveFileData other) : this() { roomId_ = other.roomId_; subroomId_ = other.subroomId_; referencedFilenames_ = other.referencedFilenames_.Clone(); legacyAdditionalReferencedFilenames_ = other.legacyAdditionalReferencedFilenames_.Clone(); inventionIds_ = other.inventionIds_.Clone(); inventionReferences_ = other.inventionReferences_.Clone(); unityAssetId_ = other.unityAssetId_; persistedRoomData_ = other.persistedRoomData_ != null ? other.persistedRoomData_.Clone() : null; referencedUnityAssetIds_ = other.referencedUnityAssetIds_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public AutosaveFileData Clone() { return new AutosaveFileData(this); } /// Field number for the "roomId" field. public const int RoomIdFieldNumber = 1; private long roomId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long RoomId { get { return roomId_; } set { roomId_ = value; } } /// Field number for the "subroomId" field. public const int SubroomIdFieldNumber = 2; private long subroomId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long SubroomId { get { return subroomId_; } set { subroomId_ = value; } } /// Field number for the "referenced_filenames" field. public const int ReferencedFilenamesFieldNumber = 3; private static readonly pb::FieldCodec _repeated_referencedFilenames_codec = pb::FieldCodec.ForString(26); private readonly pbc::RepeatedField referencedFilenames_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField ReferencedFilenames { get { return referencedFilenames_; } } /// Field number for the "legacy_additional_referenced_filenames" field. public const int LegacyAdditionalReferencedFilenamesFieldNumber = 4; private static readonly pb::FieldCodec _repeated_legacyAdditionalReferencedFilenames_codec = pb::FieldCodec.ForString(34); private readonly pbc::RepeatedField legacyAdditionalReferencedFilenames_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField LegacyAdditionalReferencedFilenames { get { return legacyAdditionalReferencedFilenames_; } } /// Field number for the "invention_ids" field. public const int InventionIdsFieldNumber = 5; private static readonly pb::FieldCodec _repeated_inventionIds_codec = pb::FieldCodec.ForInt64(42); private readonly pbc::RepeatedField inventionIds_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField InventionIds { get { return inventionIds_; } } /// Field number for the "invention_references" field. public const int InventionReferencesFieldNumber = 6; private static readonly pb::FieldCodec _repeated_inventionReferences_codec = pb::FieldCodec.ForInt32(50); private readonly pbc::RepeatedField inventionReferences_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField InventionReferences { get { return inventionReferences_; } } /// Field number for the "unity_asset_id" field. public const int UnityAssetIdFieldNumber = 7; private string unityAssetId_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string UnityAssetId { get { return unityAssetId_; } set { unityAssetId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "persisted_room_data" field. public const int PersistedRoomDataFieldNumber = 8; private global::RecRoom.Protobuf.PersistedRoomData persistedRoomData_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::RecRoom.Protobuf.PersistedRoomData PersistedRoomData { get { return persistedRoomData_; } set { persistedRoomData_ = value; } } /// Field number for the "referenced_unity_asset_ids" field. public const int ReferencedUnityAssetIdsFieldNumber = 9; private static readonly pb::FieldCodec _repeated_referencedUnityAssetIds_codec = pb::FieldCodec.ForMessage(74, global::RecRoom.Protobuf.Core.GuidData.Parser); private readonly pbc::RepeatedField referencedUnityAssetIds_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField ReferencedUnityAssetIds { get { return referencedUnityAssetIds_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as AutosaveFileData); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(AutosaveFileData other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (RoomId != other.RoomId) return false; if (SubroomId != other.SubroomId) return false; if(!referencedFilenames_.Equals(other.referencedFilenames_)) return false; if(!legacyAdditionalReferencedFilenames_.Equals(other.legacyAdditionalReferencedFilenames_)) return false; if(!inventionIds_.Equals(other.inventionIds_)) return false; if(!inventionReferences_.Equals(other.inventionReferences_)) return false; if (UnityAssetId != other.UnityAssetId) return false; if (!object.Equals(PersistedRoomData, other.PersistedRoomData)) return false; if(!referencedUnityAssetIds_.Equals(other.referencedUnityAssetIds_)) 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 (RoomId != 0L) hash ^= RoomId.GetHashCode(); if (SubroomId != 0L) hash ^= SubroomId.GetHashCode(); hash ^= referencedFilenames_.GetHashCode(); hash ^= legacyAdditionalReferencedFilenames_.GetHashCode(); hash ^= inventionIds_.GetHashCode(); hash ^= inventionReferences_.GetHashCode(); if (UnityAssetId.Length != 0) hash ^= UnityAssetId.GetHashCode(); if (persistedRoomData_ != null) hash ^= PersistedRoomData.GetHashCode(); hash ^= referencedUnityAssetIds_.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 (RoomId != 0L) { output.WriteRawTag(8); output.WriteInt64(RoomId); } if (SubroomId != 0L) { output.WriteRawTag(16); output.WriteInt64(SubroomId); } referencedFilenames_.WriteTo(output, _repeated_referencedFilenames_codec); legacyAdditionalReferencedFilenames_.WriteTo(output, _repeated_legacyAdditionalReferencedFilenames_codec); inventionIds_.WriteTo(output, _repeated_inventionIds_codec); inventionReferences_.WriteTo(output, _repeated_inventionReferences_codec); if (UnityAssetId.Length != 0) { output.WriteRawTag(58); output.WriteString(UnityAssetId); } if (persistedRoomData_ != null) { output.WriteRawTag(66); output.WriteMessage(PersistedRoomData); } referencedUnityAssetIds_.WriteTo(output, _repeated_referencedUnityAssetIds_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 (RoomId != 0L) { output.WriteRawTag(8); output.WriteInt64(RoomId); } if (SubroomId != 0L) { output.WriteRawTag(16); output.WriteInt64(SubroomId); } referencedFilenames_.WriteTo(ref output, _repeated_referencedFilenames_codec); legacyAdditionalReferencedFilenames_.WriteTo(ref output, _repeated_legacyAdditionalReferencedFilenames_codec); inventionIds_.WriteTo(ref output, _repeated_inventionIds_codec); inventionReferences_.WriteTo(ref output, _repeated_inventionReferences_codec); if (UnityAssetId.Length != 0) { output.WriteRawTag(58); output.WriteString(UnityAssetId); } if (persistedRoomData_ != null) { output.WriteRawTag(66); output.WriteMessage(PersistedRoomData); } referencedUnityAssetIds_.WriteTo(ref output, _repeated_referencedUnityAssetIds_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 (RoomId != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(RoomId); } if (SubroomId != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(SubroomId); } size += referencedFilenames_.CalculateSize(_repeated_referencedFilenames_codec); size += legacyAdditionalReferencedFilenames_.CalculateSize(_repeated_legacyAdditionalReferencedFilenames_codec); size += inventionIds_.CalculateSize(_repeated_inventionIds_codec); size += inventionReferences_.CalculateSize(_repeated_inventionReferences_codec); if (UnityAssetId.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(UnityAssetId); } if (persistedRoomData_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(PersistedRoomData); } size += referencedUnityAssetIds_.CalculateSize(_repeated_referencedUnityAssetIds_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(AutosaveFileData other) { if (other == null) { return; } if (other.RoomId != 0L) { RoomId = other.RoomId; } if (other.SubroomId != 0L) { SubroomId = other.SubroomId; } referencedFilenames_.Add(other.referencedFilenames_); legacyAdditionalReferencedFilenames_.Add(other.legacyAdditionalReferencedFilenames_); inventionIds_.Add(other.inventionIds_); inventionReferences_.Add(other.inventionReferences_); if (other.UnityAssetId.Length != 0) { UnityAssetId = other.UnityAssetId; } if (other.persistedRoomData_ != null) { if (persistedRoomData_ == null) { PersistedRoomData = new global::RecRoom.Protobuf.PersistedRoomData(); } PersistedRoomData.MergeFrom(other.PersistedRoomData); } referencedUnityAssetIds_.Add(other.referencedUnityAssetIds_); _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: { RoomId = input.ReadInt64(); break; } case 16: { SubroomId = input.ReadInt64(); break; } case 26: { referencedFilenames_.AddEntriesFrom(input, _repeated_referencedFilenames_codec); break; } case 34: { legacyAdditionalReferencedFilenames_.AddEntriesFrom(input, _repeated_legacyAdditionalReferencedFilenames_codec); break; } case 42: case 40: { inventionIds_.AddEntriesFrom(input, _repeated_inventionIds_codec); break; } case 50: case 48: { inventionReferences_.AddEntriesFrom(input, _repeated_inventionReferences_codec); break; } case 58: { UnityAssetId = input.ReadString(); break; } case 66: { if (persistedRoomData_ == null) { PersistedRoomData = new global::RecRoom.Protobuf.PersistedRoomData(); } input.ReadMessage(PersistedRoomData); break; } case 74: { referencedUnityAssetIds_.AddEntriesFrom(input, _repeated_referencedUnityAssetIds_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: { RoomId = input.ReadInt64(); break; } case 16: { SubroomId = input.ReadInt64(); break; } case 26: { referencedFilenames_.AddEntriesFrom(ref input, _repeated_referencedFilenames_codec); break; } case 34: { legacyAdditionalReferencedFilenames_.AddEntriesFrom(ref input, _repeated_legacyAdditionalReferencedFilenames_codec); break; } case 42: case 40: { inventionIds_.AddEntriesFrom(ref input, _repeated_inventionIds_codec); break; } case 50: case 48: { inventionReferences_.AddEntriesFrom(ref input, _repeated_inventionReferences_codec); break; } case 58: { UnityAssetId = input.ReadString(); break; } case 66: { if (persistedRoomData_ == null) { PersistedRoomData = new global::RecRoom.Protobuf.PersistedRoomData(); } input.ReadMessage(PersistedRoomData); break; } case 74: { referencedUnityAssetIds_.AddEntriesFrom(ref input, _repeated_referencedUnityAssetIds_codec); break; } } } } #endif } #endregion } #endregion Designer generated code