// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: rec_room/room_load_transient/operation_validation.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.RoomLoad.Protobuf { /// Holder for reflection information generated from rec_room/room_load_transient/operation_validation.proto public static partial class OperationValidationReflection { #region Descriptor /// File descriptor for rec_room/room_load_transient/operation_validation.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static OperationValidationReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CjdyZWNfcm9vbS9yb29tX2xvYWRfdHJhbnNpZW50L29wZXJhdGlvbl92YWxp", "ZGF0aW9uLnByb3RvEglyb29tX2xvYWQioAEKHVJvb21PcGVyYXRpb25WYWxp", "ZGF0aW9uUmVzdWx0EisKBnJlYXNvbhgBIAEoDjIbLnJvb21fbG9hZC5WYWxp", "ZGF0aW9uUmVhc29uEg8KB2NvbnRleHQYBSABKAwSQQoPZmFpbGVkX2NoaWxk", "cmVuGAogAygLMigucm9vbV9sb2FkLlJvb21PcGVyYXRpb25WYWxpZGF0aW9u", "UmVzdWx0Kt0DChBWYWxpZGF0aW9uUmVhc29uEhIKDlVua25vd25GYWlsdXJl", "EAASCwoHU3VjY2VzcxABEg4KCk51bGxQbGF5ZXIQAhIeChpPcGVyYXRpb25B", "bHJlYWR5SW5Qcm9ncmVzcxADEhUKEUp1bmlvclJlc3RyaWN0aW9uEAQSFwoT", "UGxhdGZvcm1SZXN0cmljdGlvbhAFEg4KCk1vZGVyYXRpb24QBhIXChNTZXJ2", "ZXJGb3JiaWRzU2F2aW5nEAcSGwoXU2VydmVyRm9yYmlkc1NhdmluZ0l0ZW0Q", "CBIPCgtHYW1lUnVubmluZxAJEhwKGFVnY1Jlc3RyaWN0ZWRGb3JMb2NhdGlv", "bhAKEg8KC1Blcm1pc3Npb25zEAsSDQoJQWdncmVnYXRlEAwSDQoJTm90SW5S", "b29tEA0SHAoYTXVsdGlJbnN0YW5jZUV2ZW50QWN0aXZlEA4SJQohV2FpdGlu", "Z0ZvclBsYXllclRvRmluaXNoT3BlcmF0aW9uEA8SHwobS2VlcHNha2VSb29t", "V2l0aEFjdGl2ZUV2ZW50EBASFgoSUm9vbUNvbnRlbnRJc0Jha2VkEBESFgoS", "Q2lyY3VpdHNDb3JydXB0aW9uEBISDgoJQ2FuY2VsbGVkEMgBQhyqAhlSZWNS", "b29tLlJvb21Mb2FkLlByb3RvYnVmYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(new[] {typeof(global::RecRoom.RoomLoad.Protobuf.ValidationReason), }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.RoomLoad.Protobuf.RoomOperationValidationResult), global::RecRoom.RoomLoad.Protobuf.RoomOperationValidationResult.Parser, new[]{ "Reason", "Context", "FailedChildren" }, null, null, null, null) })); } #endregion } #region Enums public enum ValidationReason { [pbr::OriginalName("UnknownFailure")] UnknownFailure = 0, [pbr::OriginalName("Success")] Success = 1, [pbr::OriginalName("NullPlayer")] NullPlayer = 2, [pbr::OriginalName("OperationAlreadyInProgress")] OperationAlreadyInProgress = 3, [pbr::OriginalName("JuniorRestriction")] JuniorRestriction = 4, [pbr::OriginalName("PlatformRestriction")] PlatformRestriction = 5, [pbr::OriginalName("Moderation")] Moderation = 6, [pbr::OriginalName("ServerForbidsSaving")] ServerForbidsSaving = 7, [pbr::OriginalName("ServerForbidsSavingItem")] ServerForbidsSavingItem = 8, [pbr::OriginalName("GameRunning")] GameRunning = 9, [pbr::OriginalName("UgcRestrictedForLocation")] UgcRestrictedForLocation = 10, [pbr::OriginalName("Permissions")] Permissions = 11, [pbr::OriginalName("Aggregate")] Aggregate = 12, [pbr::OriginalName("NotInRoom")] NotInRoom = 13, [pbr::OriginalName("MultiInstanceEventActive")] MultiInstanceEventActive = 14, [pbr::OriginalName("WaitingForPlayerToFinishOperation")] WaitingForPlayerToFinishOperation = 15, [pbr::OriginalName("KeepsakeRoomWithActiveEvent")] KeepsakeRoomWithActiveEvent = 16, [pbr::OriginalName("RoomContentIsBaked")] RoomContentIsBaked = 17, [pbr::OriginalName("CircuitsCorruption")] CircuitsCorruption = 18, [pbr::OriginalName("Cancelled")] Cancelled = 200, } #endregion #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class RoomOperationValidationResult : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RoomOperationValidationResult()); 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.RoomLoad.Protobuf.OperationValidationReflection.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 RoomOperationValidationResult() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RoomOperationValidationResult(RoomOperationValidationResult other) : this() { reason_ = other.reason_; context_ = other.context_; failedChildren_ = other.failedChildren_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RoomOperationValidationResult Clone() { return new RoomOperationValidationResult(this); } /// Field number for the "reason" field. public const int ReasonFieldNumber = 1; private global::RecRoom.RoomLoad.Protobuf.ValidationReason reason_ = global::RecRoom.RoomLoad.Protobuf.ValidationReason.UnknownFailure; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::RecRoom.RoomLoad.Protobuf.ValidationReason Reason { get { return reason_; } set { reason_ = value; } } /// Field number for the "context" field. public const int ContextFieldNumber = 5; private pb::ByteString context_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pb::ByteString Context { get { return context_; } set { context_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "failed_children" field. public const int FailedChildrenFieldNumber = 10; private static readonly pb::FieldCodec _repeated_failedChildren_codec = pb::FieldCodec.ForMessage(82, global::RecRoom.RoomLoad.Protobuf.RoomOperationValidationResult.Parser); private readonly pbc::RepeatedField failedChildren_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField FailedChildren { get { return failedChildren_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as RoomOperationValidationResult); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(RoomOperationValidationResult other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Reason != other.Reason) return false; if (Context != other.Context) return false; if(!failedChildren_.Equals(other.failedChildren_)) 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 (Reason != global::RecRoom.RoomLoad.Protobuf.ValidationReason.UnknownFailure) hash ^= Reason.GetHashCode(); if (Context.Length != 0) hash ^= Context.GetHashCode(); hash ^= failedChildren_.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 (Reason != global::RecRoom.RoomLoad.Protobuf.ValidationReason.UnknownFailure) { output.WriteRawTag(8); output.WriteEnum((int) Reason); } if (Context.Length != 0) { output.WriteRawTag(42); output.WriteBytes(Context); } failedChildren_.WriteTo(output, _repeated_failedChildren_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 (Reason != global::RecRoom.RoomLoad.Protobuf.ValidationReason.UnknownFailure) { output.WriteRawTag(8); output.WriteEnum((int) Reason); } if (Context.Length != 0) { output.WriteRawTag(42); output.WriteBytes(Context); } failedChildren_.WriteTo(ref output, _repeated_failedChildren_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 (Reason != global::RecRoom.RoomLoad.Protobuf.ValidationReason.UnknownFailure) { size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Reason); } if (Context.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeBytesSize(Context); } size += failedChildren_.CalculateSize(_repeated_failedChildren_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(RoomOperationValidationResult other) { if (other == null) { return; } if (other.Reason != global::RecRoom.RoomLoad.Protobuf.ValidationReason.UnknownFailure) { Reason = other.Reason; } if (other.Context.Length != 0) { Context = other.Context; } failedChildren_.Add(other.failedChildren_); _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: { Reason = (global::RecRoom.RoomLoad.Protobuf.ValidationReason) input.ReadEnum(); break; } case 42: { Context = input.ReadBytes(); break; } case 82: { failedChildren_.AddEntriesFrom(input, _repeated_failedChildren_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: { Reason = (global::RecRoom.RoomLoad.Protobuf.ValidationReason) input.ReadEnum(); break; } case 42: { Context = input.ReadBytes(); break; } case 82: { failedChildren_.AddEntriesFrom(ref input, _repeated_failedChildren_codec); break; } } } } #endif } #endregion } #endregion Designer generated code