// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: circuits_v2/circuit_object_transform_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 CircuitsV2.Protobuf { /// Holder for reflection information generated from circuits_v2/circuit_object_transform_data.proto public static partial class CircuitObjectTransformDataReflection { #region Descriptor /// File descriptor for circuits_v2/circuit_object_transform_data.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static CircuitObjectTransformDataReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "Ci9jaXJjdWl0c192Mi9jaXJjdWl0X29iamVjdF90cmFuc2Zvcm1fZGF0YS5w", "cm90bxILY2lyY3VpdHNfdjIaMWNpcmN1aXRzL3NoYXJlZC9yZWNfcm9vbS9j", "aXJjdWl0c19xdWF0X2RhdGEucHJvdG8aMWNpcmN1aXRzL3NoYXJlZC9yZWNf", "cm9vbS9jaXJjdWl0c192ZWMzX2RhdGEucHJvdG8imwEKGkNpcmN1aXRPYmpl", "Y3RUcmFuc2Zvcm1EYXRhEjIKDmxvY2FsX3Bvc2l0aW9uGAIgASgLMhouY2ly", "Y3VpdHMuQ2lyY3VpdHNWZWMzRGF0YRIyCg5sb2NhbF9yb3RhdGlvbhgDIAEo", "CzIaLmNpcmN1aXRzLkNpcmN1aXRzUXVhdERhdGESFQoNREVQUkVDQVRFRF9p", "ZBgBIAEoDEIWqgITQ2lyY3VpdHNWMi5Qcm90b2J1ZmIGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Circuits.Shared.RecRoom.Protobuf.CircuitsQuatDataReflection.Descriptor, global::Circuits.Shared.RecRoom.Protobuf.CircuitsVec3DataReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.CircuitObjectTransformData), global::CircuitsV2.Protobuf.CircuitObjectTransformData.Parser, new[]{ "LocalPosition", "LocalRotation", "DEPRECATEDId" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class CircuitObjectTransformData : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CircuitObjectTransformData()); 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::CircuitsV2.Protobuf.CircuitObjectTransformDataReflection.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 CircuitObjectTransformData() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public CircuitObjectTransformData(CircuitObjectTransformData other) : this() { localPosition_ = other.localPosition_ != null ? other.localPosition_.Clone() : null; localRotation_ = other.localRotation_ != null ? other.localRotation_.Clone() : null; dEPRECATEDId_ = other.dEPRECATEDId_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public CircuitObjectTransformData Clone() { return new CircuitObjectTransformData(this); } /// Field number for the "local_position" field. public const int LocalPositionFieldNumber = 2; private global::Circuits.Shared.RecRoom.Protobuf.CircuitsVec3Data localPosition_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Circuits.Shared.RecRoom.Protobuf.CircuitsVec3Data LocalPosition { get { return localPosition_; } set { localPosition_ = value; } } /// Field number for the "local_rotation" field. public const int LocalRotationFieldNumber = 3; private global::Circuits.Shared.RecRoom.Protobuf.CircuitsQuatData localRotation_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Circuits.Shared.RecRoom.Protobuf.CircuitsQuatData LocalRotation { get { return localRotation_; } set { localRotation_ = value; } } /// Field number for the "DEPRECATED_id" field. public const int DEPRECATEDIdFieldNumber = 1; private pb::ByteString dEPRECATEDId_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pb::ByteString DEPRECATEDId { get { return dEPRECATEDId_; } set { dEPRECATEDId_ = 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 CircuitObjectTransformData); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(CircuitObjectTransformData other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(LocalPosition, other.LocalPosition)) return false; if (!object.Equals(LocalRotation, other.LocalRotation)) return false; if (DEPRECATEDId != other.DEPRECATEDId) 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 (localPosition_ != null) hash ^= LocalPosition.GetHashCode(); if (localRotation_ != null) hash ^= LocalRotation.GetHashCode(); if (DEPRECATEDId.Length != 0) hash ^= DEPRECATEDId.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 (DEPRECATEDId.Length != 0) { output.WriteRawTag(10); output.WriteBytes(DEPRECATEDId); } if (localPosition_ != null) { output.WriteRawTag(18); output.WriteMessage(LocalPosition); } if (localRotation_ != null) { output.WriteRawTag(26); output.WriteMessage(LocalRotation); } 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 (DEPRECATEDId.Length != 0) { output.WriteRawTag(10); output.WriteBytes(DEPRECATEDId); } if (localPosition_ != null) { output.WriteRawTag(18); output.WriteMessage(LocalPosition); } if (localRotation_ != null) { output.WriteRawTag(26); output.WriteMessage(LocalRotation); } 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 (localPosition_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(LocalPosition); } if (localRotation_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(LocalRotation); } if (DEPRECATEDId.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeBytesSize(DEPRECATEDId); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(CircuitObjectTransformData other) { if (other == null) { return; } if (other.localPosition_ != null) { if (localPosition_ == null) { LocalPosition = new global::Circuits.Shared.RecRoom.Protobuf.CircuitsVec3Data(); } LocalPosition.MergeFrom(other.LocalPosition); } if (other.localRotation_ != null) { if (localRotation_ == null) { LocalRotation = new global::Circuits.Shared.RecRoom.Protobuf.CircuitsQuatData(); } LocalRotation.MergeFrom(other.LocalRotation); } if (other.DEPRECATEDId.Length != 0) { DEPRECATEDId = other.DEPRECATEDId; } _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 10: { DEPRECATEDId = input.ReadBytes(); break; } case 18: { if (localPosition_ == null) { LocalPosition = new global::Circuits.Shared.RecRoom.Protobuf.CircuitsVec3Data(); } input.ReadMessage(LocalPosition); break; } case 26: { if (localRotation_ == null) { LocalRotation = new global::Circuits.Shared.RecRoom.Protobuf.CircuitsQuatData(); } input.ReadMessage(LocalRotation); 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 10: { DEPRECATEDId = input.ReadBytes(); break; } case 18: { if (localPosition_ == null) { LocalPosition = new global::Circuits.Shared.RecRoom.Protobuf.CircuitsVec3Data(); } input.ReadMessage(LocalPosition); break; } case 26: { if (localRotation_ == null) { LocalRotation = new global::Circuits.Shared.RecRoom.Protobuf.CircuitsQuatData(); } input.ReadMessage(LocalRotation); break; } } } } #endif } #endregion } #endregion Designer generated code