// <auto-generated>
//     Generated by the protocol buffer compiler.  DO NOT EDIT!
//     source: circuits_v2/control_panel_data.proto
// </auto-generated>
#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 {

  /// <summary>Holder for reflection information generated from circuits_v2/control_panel_data.proto</summary>
  public static partial class ControlPanelDataReflection {

    #region Descriptor
    /// <summary>File descriptor for circuits_v2/control_panel_data.proto</summary>
    public static pbr::FileDescriptor Descriptor {
      get { return descriptor; }
    }
    private static pbr::FileDescriptor descriptor;

    static ControlPanelDataReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "CiRjaXJjdWl0c192Mi9jb250cm9sX3BhbmVsX2RhdGEucHJvdG8SC2NpcmN1",
            "aXRzX3YyIocBChBDb250cm9sUGFuZWxEYXRhEhcKD2F0dGFjaG1lbnRfbW9k",
            "ZRgDIAEoBRIqCiJERVBSRUNBVEVEX2lzX2RldGFjaGVkX2Zyb21fb2JqZWN0",
            "GAEgASgIEi4KJkRFUFJFQ0FURURfd2FzX2F0dGFjaGVkX3RvX2JldGFfb2Jq",
            "ZWN0GAIgASgIQhaqAhNDaXJjdWl0c1YyLlByb3RvYnVmYgZwcm90bzM="));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.ControlPanelData), global::CircuitsV2.Protobuf.ControlPanelData.Parser, new[]{ "AttachmentMode", "DEPRECATEDIsDetachedFromObject", "DEPRECATEDWasAttachedToBetaObject" }, null, null, null, null)
          }));
    }
    #endregion

  }
  #region Messages
  [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
  public sealed partial class ControlPanelData : pb::IMessage<ControlPanelData>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<ControlPanelData> _parser = new pb::MessageParser<ControlPanelData>(() => new ControlPanelData());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<ControlPanelData> 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.ControlPanelDataReflection.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 ControlPanelData() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public ControlPanelData(ControlPanelData other) : this() {
      attachmentMode_ = other.attachmentMode_;
      dEPRECATEDIsDetachedFromObject_ = other.dEPRECATEDIsDetachedFromObject_;
      dEPRECATEDWasAttachedToBetaObject_ = other.dEPRECATEDWasAttachedToBetaObject_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public ControlPanelData Clone() {
      return new ControlPanelData(this);
    }

    /// <summary>Field number for the "attachment_mode" field.</summary>
    public const int AttachmentModeFieldNumber = 3;
    private int attachmentMode_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int AttachmentMode {
      get { return attachmentMode_; }
      set {
        attachmentMode_ = value;
      }
    }

    /// <summary>Field number for the "DEPRECATED_is_detached_from_object" field.</summary>
    public const int DEPRECATEDIsDetachedFromObjectFieldNumber = 1;
    private bool dEPRECATEDIsDetachedFromObject_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool DEPRECATEDIsDetachedFromObject {
      get { return dEPRECATEDIsDetachedFromObject_; }
      set {
        dEPRECATEDIsDetachedFromObject_ = value;
      }
    }

    /// <summary>Field number for the "DEPRECATED_was_attached_to_beta_object" field.</summary>
    public const int DEPRECATEDWasAttachedToBetaObjectFieldNumber = 2;
    private bool dEPRECATEDWasAttachedToBetaObject_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool DEPRECATEDWasAttachedToBetaObject {
      get { return dEPRECATEDWasAttachedToBetaObject_; }
      set {
        dEPRECATEDWasAttachedToBetaObject_ = value;
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as ControlPanelData);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(ControlPanelData other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (AttachmentMode != other.AttachmentMode) return false;
      if (DEPRECATEDIsDetachedFromObject != other.DEPRECATEDIsDetachedFromObject) return false;
      if (DEPRECATEDWasAttachedToBetaObject != other.DEPRECATEDWasAttachedToBetaObject) 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 (AttachmentMode != 0) hash ^= AttachmentMode.GetHashCode();
      if (DEPRECATEDIsDetachedFromObject != false) hash ^= DEPRECATEDIsDetachedFromObject.GetHashCode();
      if (DEPRECATEDWasAttachedToBetaObject != false) hash ^= DEPRECATEDWasAttachedToBetaObject.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 (DEPRECATEDIsDetachedFromObject != false) {
        output.WriteRawTag(8);
        output.WriteBool(DEPRECATEDIsDetachedFromObject);
      }
      if (DEPRECATEDWasAttachedToBetaObject != false) {
        output.WriteRawTag(16);
        output.WriteBool(DEPRECATEDWasAttachedToBetaObject);
      }
      if (AttachmentMode != 0) {
        output.WriteRawTag(24);
        output.WriteInt32(AttachmentMode);
      }
      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 (DEPRECATEDIsDetachedFromObject != false) {
        output.WriteRawTag(8);
        output.WriteBool(DEPRECATEDIsDetachedFromObject);
      }
      if (DEPRECATEDWasAttachedToBetaObject != false) {
        output.WriteRawTag(16);
        output.WriteBool(DEPRECATEDWasAttachedToBetaObject);
      }
      if (AttachmentMode != 0) {
        output.WriteRawTag(24);
        output.WriteInt32(AttachmentMode);
      }
      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 (AttachmentMode != 0) {
        size += 1 + pb::CodedOutputStream.ComputeInt32Size(AttachmentMode);
      }
      if (DEPRECATEDIsDetachedFromObject != false) {
        size += 1 + 1;
      }
      if (DEPRECATEDWasAttachedToBetaObject != 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(ControlPanelData other) {
      if (other == null) {
        return;
      }
      if (other.AttachmentMode != 0) {
        AttachmentMode = other.AttachmentMode;
      }
      if (other.DEPRECATEDIsDetachedFromObject != false) {
        DEPRECATEDIsDetachedFromObject = other.DEPRECATEDIsDetachedFromObject;
      }
      if (other.DEPRECATEDWasAttachedToBetaObject != false) {
        DEPRECATEDWasAttachedToBetaObject = other.DEPRECATEDWasAttachedToBetaObject;
      }
      _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: {
            DEPRECATEDIsDetachedFromObject = input.ReadBool();
            break;
          }
          case 16: {
            DEPRECATEDWasAttachedToBetaObject = input.ReadBool();
            break;
          }
          case 24: {
            AttachmentMode = input.ReadInt32();
            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: {
            DEPRECATEDIsDetachedFromObject = input.ReadBool();
            break;
          }
          case 16: {
            DEPRECATEDWasAttachedToBetaObject = input.ReadBool();
            break;
          }
          case 24: {
            AttachmentMode = input.ReadInt32();
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
