// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: circuits_v2/moods_constant_node_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/moods_constant_node_data.proto public static partial class MoodsConstantNodeDataReflection { #region Descriptor /// File descriptor for circuits_v2/moods_constant_node_data.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static MoodsConstantNodeDataReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CipjaXJjdWl0c192Mi9tb29kc19jb25zdGFudF9ub2RlX2RhdGEucHJvdG8S", "C2NpcmN1aXRzX3YyGhRjb3JlL2d1aWRfZGF0YS5wcm90byKbAQoVTW9vZHND", "b25zdGFudE5vZGVEYXRhEgwKBG5hbWUYASABKAkSDgoGc3luY2VkGAIgASgI", "EhIKCmJsZW5kX3RpbWUYAyABKAUSGAoQcm9sZV9maWx0ZXJfbW9kZRgEIAEo", "BRImCg5maWx0ZXJlZF9yb2xlcxgFIAMoCzIOLmNvcmUuR3VpZERhdGESDgoG", "ZWFzZUluGAYgASgIQhaqAhNDaXJjdWl0c1YyLlByb3RvYnVmYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::RecRoom.Protobuf.Core.GuidDataReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.MoodsConstantNodeData), global::CircuitsV2.Protobuf.MoodsConstantNodeData.Parser, new[]{ "Name", "Synced", "BlendTime", "RoleFilterMode", "FilteredRoles", "EaseIn" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class MoodsConstantNodeData : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MoodsConstantNodeData()); 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.MoodsConstantNodeDataReflection.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 MoodsConstantNodeData() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public MoodsConstantNodeData(MoodsConstantNodeData other) : this() { name_ = other.name_; synced_ = other.synced_; blendTime_ = other.blendTime_; roleFilterMode_ = other.roleFilterMode_; filteredRoles_ = other.filteredRoles_.Clone(); easeIn_ = other.easeIn_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public MoodsConstantNodeData Clone() { return new MoodsConstantNodeData(this); } /// Field number for the "name" field. public const int NameFieldNumber = 1; private string name_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Name { get { return name_; } set { name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "synced" field. public const int SyncedFieldNumber = 2; private bool synced_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Synced { get { return synced_; } set { synced_ = value; } } /// Field number for the "blend_time" field. public const int BlendTimeFieldNumber = 3; private int blendTime_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int BlendTime { get { return blendTime_; } set { blendTime_ = value; } } /// Field number for the "role_filter_mode" field. public const int RoleFilterModeFieldNumber = 4; private int roleFilterMode_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int RoleFilterMode { get { return roleFilterMode_; } set { roleFilterMode_ = value; } } /// Field number for the "filtered_roles" field. public const int FilteredRolesFieldNumber = 5; private static readonly pb::FieldCodec _repeated_filteredRoles_codec = pb::FieldCodec.ForMessage(42, global::RecRoom.Protobuf.Core.GuidData.Parser); private readonly pbc::RepeatedField filteredRoles_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField FilteredRoles { get { return filteredRoles_; } } /// Field number for the "easeIn" field. public const int EaseInFieldNumber = 6; private bool easeIn_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool EaseIn { get { return easeIn_; } set { easeIn_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as MoodsConstantNodeData); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(MoodsConstantNodeData other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Name != other.Name) return false; if (Synced != other.Synced) return false; if (BlendTime != other.BlendTime) return false; if (RoleFilterMode != other.RoleFilterMode) return false; if(!filteredRoles_.Equals(other.filteredRoles_)) return false; if (EaseIn != other.EaseIn) 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 (Name.Length != 0) hash ^= Name.GetHashCode(); if (Synced != false) hash ^= Synced.GetHashCode(); if (BlendTime != 0) hash ^= BlendTime.GetHashCode(); if (RoleFilterMode != 0) hash ^= RoleFilterMode.GetHashCode(); hash ^= filteredRoles_.GetHashCode(); if (EaseIn != false) hash ^= EaseIn.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 (Name.Length != 0) { output.WriteRawTag(10); output.WriteString(Name); } if (Synced != false) { output.WriteRawTag(16); output.WriteBool(Synced); } if (BlendTime != 0) { output.WriteRawTag(24); output.WriteInt32(BlendTime); } if (RoleFilterMode != 0) { output.WriteRawTag(32); output.WriteInt32(RoleFilterMode); } filteredRoles_.WriteTo(output, _repeated_filteredRoles_codec); if (EaseIn != false) { output.WriteRawTag(48); output.WriteBool(EaseIn); } 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 (Name.Length != 0) { output.WriteRawTag(10); output.WriteString(Name); } if (Synced != false) { output.WriteRawTag(16); output.WriteBool(Synced); } if (BlendTime != 0) { output.WriteRawTag(24); output.WriteInt32(BlendTime); } if (RoleFilterMode != 0) { output.WriteRawTag(32); output.WriteInt32(RoleFilterMode); } filteredRoles_.WriteTo(ref output, _repeated_filteredRoles_codec); if (EaseIn != false) { output.WriteRawTag(48); output.WriteBool(EaseIn); } 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 (Name.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); } if (Synced != false) { size += 1 + 1; } if (BlendTime != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(BlendTime); } if (RoleFilterMode != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(RoleFilterMode); } size += filteredRoles_.CalculateSize(_repeated_filteredRoles_codec); if (EaseIn != false) { size += 1 + 1; } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(MoodsConstantNodeData other) { if (other == null) { return; } if (other.Name.Length != 0) { Name = other.Name; } if (other.Synced != false) { Synced = other.Synced; } if (other.BlendTime != 0) { BlendTime = other.BlendTime; } if (other.RoleFilterMode != 0) { RoleFilterMode = other.RoleFilterMode; } filteredRoles_.Add(other.filteredRoles_); if (other.EaseIn != false) { EaseIn = other.EaseIn; } _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: { Name = input.ReadString(); break; } case 16: { Synced = input.ReadBool(); break; } case 24: { BlendTime = input.ReadInt32(); break; } case 32: { RoleFilterMode = input.ReadInt32(); break; } case 42: { filteredRoles_.AddEntriesFrom(input, _repeated_filteredRoles_codec); break; } case 48: { EaseIn = input.ReadBool(); 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: { Name = input.ReadString(); break; } case 16: { Synced = input.ReadBool(); break; } case 24: { BlendTime = input.ReadInt32(); break; } case 32: { RoleFilterMode = input.ReadInt32(); break; } case 42: { filteredRoles_.AddEntriesFrom(ref input, _repeated_filteredRoles_codec); break; } case 48: { EaseIn = input.ReadBool(); break; } } } } #endif } #endregion } #endregion Designer generated code