// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: UpdateFloorSavedValueNotify.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 EggLink.DanhengServer.Proto { /// Holder for reflection information generated from UpdateFloorSavedValueNotify.proto public static partial class UpdateFloorSavedValueNotifyReflection { #region Descriptor /// File descriptor for UpdateFloorSavedValueNotify.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static UpdateFloorSavedValueNotifyReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CiFVcGRhdGVGbG9vclNhdmVkVmFsdWVOb3RpZnkucHJvdG8izQEKG1VwZGF0", "ZUZsb29yU2F2ZWRWYWx1ZU5vdGlmeRJBCgtzYXZlZF92YWx1ZRgIIAMoCzIs", "LlVwZGF0ZUZsb29yU2F2ZWRWYWx1ZU5vdGlmeS5TYXZlZFZhbHVlRW50cnkS", "EAoIcGxhbmVfaWQYDSABKA0SFAoMZGltZW5zaW9uX2lkGAUgASgNEhAKCGZs", "b29yX2lkGAIgASgNGjEKD1NhdmVkVmFsdWVFbnRyeRILCgNrZXkYASABKAkS", "DQoFdmFsdWUYAiABKAU6AjgBQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIu", "UHJvdG9iBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.UpdateFloorSavedValueNotify), global::EggLink.DanhengServer.Proto.UpdateFloorSavedValueNotify.Parser, new[]{ "SavedValue", "PlaneId", "DimensionId", "FloorId" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, }) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class UpdateFloorSavedValueNotify : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdateFloorSavedValueNotify()); 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::EggLink.DanhengServer.Proto.UpdateFloorSavedValueNotifyReflection.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 UpdateFloorSavedValueNotify() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public UpdateFloorSavedValueNotify(UpdateFloorSavedValueNotify other) : this() { savedValue_ = other.savedValue_.Clone(); planeId_ = other.planeId_; dimensionId_ = other.dimensionId_; floorId_ = other.floorId_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public UpdateFloorSavedValueNotify Clone() { return new UpdateFloorSavedValueNotify(this); } /// Field number for the "saved_value" field. public const int SavedValueFieldNumber = 8; private static readonly pbc::MapField.Codec _map_savedValue_codec = new pbc::MapField.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForInt32(16, 0), 66); private readonly pbc::MapField savedValue_ = new pbc::MapField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::MapField SavedValue { get { return savedValue_; } } /// Field number for the "plane_id" field. public const int PlaneIdFieldNumber = 13; private uint planeId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint PlaneId { get { return planeId_; } set { planeId_ = value; } } /// Field number for the "dimension_id" field. public const int DimensionIdFieldNumber = 5; private uint dimensionId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint DimensionId { get { return dimensionId_; } set { dimensionId_ = value; } } /// Field number for the "floor_id" field. public const int FloorIdFieldNumber = 2; private uint floorId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint FloorId { get { return floorId_; } set { floorId_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as UpdateFloorSavedValueNotify); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(UpdateFloorSavedValueNotify other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!SavedValue.Equals(other.SavedValue)) return false; if (PlaneId != other.PlaneId) return false; if (DimensionId != other.DimensionId) return false; if (FloorId != other.FloorId) 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; hash ^= SavedValue.GetHashCode(); if (PlaneId != 0) hash ^= PlaneId.GetHashCode(); if (DimensionId != 0) hash ^= DimensionId.GetHashCode(); if (FloorId != 0) hash ^= FloorId.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 (FloorId != 0) { output.WriteRawTag(16); output.WriteUInt32(FloorId); } if (DimensionId != 0) { output.WriteRawTag(40); output.WriteUInt32(DimensionId); } savedValue_.WriteTo(output, _map_savedValue_codec); if (PlaneId != 0) { output.WriteRawTag(104); output.WriteUInt32(PlaneId); } 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 (FloorId != 0) { output.WriteRawTag(16); output.WriteUInt32(FloorId); } if (DimensionId != 0) { output.WriteRawTag(40); output.WriteUInt32(DimensionId); } savedValue_.WriteTo(ref output, _map_savedValue_codec); if (PlaneId != 0) { output.WriteRawTag(104); output.WriteUInt32(PlaneId); } 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; size += savedValue_.CalculateSize(_map_savedValue_codec); if (PlaneId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PlaneId); } if (DimensionId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DimensionId); } if (FloorId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(FloorId); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(UpdateFloorSavedValueNotify other) { if (other == null) { return; } savedValue_.MergeFrom(other.savedValue_); if (other.PlaneId != 0) { PlaneId = other.PlaneId; } if (other.DimensionId != 0) { DimensionId = other.DimensionId; } if (other.FloorId != 0) { FloorId = other.FloorId; } _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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 16: { FloorId = input.ReadUInt32(); break; } case 40: { DimensionId = input.ReadUInt32(); break; } case 66: { savedValue_.AddEntriesFrom(input, _map_savedValue_codec); break; } case 104: { PlaneId = input.ReadUInt32(); 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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 16: { FloorId = input.ReadUInt32(); break; } case 40: { DimensionId = input.ReadUInt32(); break; } case 66: { savedValue_.AddEntriesFrom(ref input, _map_savedValue_codec); break; } case 104: { PlaneId = input.ReadUInt32(); break; } } } } #endif } #endregion } #endregion Designer generated code