// <auto-generated>
//     Generated by the protocol buffer compiler.  DO NOT EDIT!
//     source: robot/v1/robot_visibility.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 Messages.Common.V1 {

  /// <summary>Holder for reflection information generated from robot/v1/robot_visibility.proto</summary>
  public static partial class RobotVisibilityReflection {

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

    static RobotVisibilityReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "Ch9yb2JvdC92MS9yb2JvdF92aXNpYmlsaXR5LnByb3RvEghyb2JvdC52MSKj",
            "AgoWUm9ib3RWaXNpYmlsaXR5TWVzc2FnZRIZCghyb2JvdF9pZBgBIAEoCVIH",
            "cm9ib3RJZBIhCgxiYXNlX3Zpc2libGUYAiABKAhSC2Jhc2VWaXNpYmxlEioK",
            "EXVwcGVyX2FybV92aXNpYmxlGAMgASgIUg91cHBlckFybVZpc2libGUSJwoP",
            "Zm9yZWFybV92aXNpYmxlGAQgASgIUg5mb3JlYXJtVmlzaWJsZRIjCg13cmlz",
            "dF92aXNpYmxlGAUgASgIUgx3cmlzdFZpc2libGUSMAoUZW5kX2VmZmVjdG9y",
            "X3Zpc2libGUYBiABKAhSEmVuZEVmZmVjdG9yVmlzaWJsZRIfCgt0Y3Bfdmlz",
            "aWJsZRgHIAEoCFIKdGNwVmlzaWJsZUKmAQoMY29tLnJvYm90LnYxQhRSb2Jv",
            "dFZpc2liaWxpdHlQcm90b1ABWjVnaXRodWIuY29tL2NvYm90YXIvcHJvdG9j",
            "b2wvbWVzc2FnZXMvcm9ib3QvdjE7cm9ib3R2MaICA1JYWKoCEk1lc3NhZ2Vz",
            "LkNvbW1vbi5WMcoCCFJvYm90XFYx4gIUUm9ib3RcVjFcR1BCTWV0YWRhdGHq",
            "AglSb2JvdDo6VjFiBnByb3RvMw=="));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::Messages.Common.V1.RobotVisibilityMessage), global::Messages.Common.V1.RobotVisibilityMessage.Parser, new[]{ "RobotId", "BaseVisible", "UpperArmVisible", "ForearmVisible", "WristVisible", "EndEffectorVisible", "TcpVisible" }, null, null, null, null)
          }));
    }
    #endregion

  }
  #region Messages
  [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
  public sealed partial class RobotVisibilityMessage : pb::IMessage<RobotVisibilityMessage>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<RobotVisibilityMessage> _parser = new pb::MessageParser<RobotVisibilityMessage>(() => new RobotVisibilityMessage());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<RobotVisibilityMessage> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Messages.Common.V1.RobotVisibilityReflection.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 RobotVisibilityMessage() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public RobotVisibilityMessage(RobotVisibilityMessage other) : this() {
      robotId_ = other.robotId_;
      baseVisible_ = other.baseVisible_;
      upperArmVisible_ = other.upperArmVisible_;
      forearmVisible_ = other.forearmVisible_;
      wristVisible_ = other.wristVisible_;
      endEffectorVisible_ = other.endEffectorVisible_;
      tcpVisible_ = other.tcpVisible_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

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

    /// <summary>Field number for the "robot_id" field.</summary>
    public const int RobotIdFieldNumber = 1;
    private string robotId_ = "";
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public string RobotId {
      get { return robotId_; }
      set {
        robotId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

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

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

    /// <summary>Field number for the "forearm_visible" field.</summary>
    public const int ForearmVisibleFieldNumber = 4;
    private bool forearmVisible_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool ForearmVisible {
      get { return forearmVisible_; }
      set {
        forearmVisible_ = value;
      }
    }

    /// <summary>Field number for the "wrist_visible" field.</summary>
    public const int WristVisibleFieldNumber = 5;
    private bool wristVisible_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool WristVisible {
      get { return wristVisible_; }
      set {
        wristVisible_ = value;
      }
    }

    /// <summary>Field number for the "end_effector_visible" field.</summary>
    public const int EndEffectorVisibleFieldNumber = 6;
    private bool endEffectorVisible_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool EndEffectorVisible {
      get { return endEffectorVisible_; }
      set {
        endEffectorVisible_ = value;
      }
    }

    /// <summary>Field number for the "tcp_visible" field.</summary>
    public const int TcpVisibleFieldNumber = 7;
    private bool tcpVisible_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool TcpVisible {
      get { return tcpVisible_; }
      set {
        tcpVisible_ = value;
      }
    }

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(RobotVisibilityMessage other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (RobotId != other.RobotId) return false;
      if (BaseVisible != other.BaseVisible) return false;
      if (UpperArmVisible != other.UpperArmVisible) return false;
      if (ForearmVisible != other.ForearmVisible) return false;
      if (WristVisible != other.WristVisible) return false;
      if (EndEffectorVisible != other.EndEffectorVisible) return false;
      if (TcpVisible != other.TcpVisible) 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 (RobotId.Length != 0) hash ^= RobotId.GetHashCode();
      if (BaseVisible != false) hash ^= BaseVisible.GetHashCode();
      if (UpperArmVisible != false) hash ^= UpperArmVisible.GetHashCode();
      if (ForearmVisible != false) hash ^= ForearmVisible.GetHashCode();
      if (WristVisible != false) hash ^= WristVisible.GetHashCode();
      if (EndEffectorVisible != false) hash ^= EndEffectorVisible.GetHashCode();
      if (TcpVisible != false) hash ^= TcpVisible.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 (RobotId.Length != 0) {
        output.WriteRawTag(10);
        output.WriteString(RobotId);
      }
      if (BaseVisible != false) {
        output.WriteRawTag(16);
        output.WriteBool(BaseVisible);
      }
      if (UpperArmVisible != false) {
        output.WriteRawTag(24);
        output.WriteBool(UpperArmVisible);
      }
      if (ForearmVisible != false) {
        output.WriteRawTag(32);
        output.WriteBool(ForearmVisible);
      }
      if (WristVisible != false) {
        output.WriteRawTag(40);
        output.WriteBool(WristVisible);
      }
      if (EndEffectorVisible != false) {
        output.WriteRawTag(48);
        output.WriteBool(EndEffectorVisible);
      }
      if (TcpVisible != false) {
        output.WriteRawTag(56);
        output.WriteBool(TcpVisible);
      }
      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 (RobotId.Length != 0) {
        output.WriteRawTag(10);
        output.WriteString(RobotId);
      }
      if (BaseVisible != false) {
        output.WriteRawTag(16);
        output.WriteBool(BaseVisible);
      }
      if (UpperArmVisible != false) {
        output.WriteRawTag(24);
        output.WriteBool(UpperArmVisible);
      }
      if (ForearmVisible != false) {
        output.WriteRawTag(32);
        output.WriteBool(ForearmVisible);
      }
      if (WristVisible != false) {
        output.WriteRawTag(40);
        output.WriteBool(WristVisible);
      }
      if (EndEffectorVisible != false) {
        output.WriteRawTag(48);
        output.WriteBool(EndEffectorVisible);
      }
      if (TcpVisible != false) {
        output.WriteRawTag(56);
        output.WriteBool(TcpVisible);
      }
      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 (RobotId.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(RobotId);
      }
      if (BaseVisible != false) {
        size += 1 + 1;
      }
      if (UpperArmVisible != false) {
        size += 1 + 1;
      }
      if (ForearmVisible != false) {
        size += 1 + 1;
      }
      if (WristVisible != false) {
        size += 1 + 1;
      }
      if (EndEffectorVisible != false) {
        size += 1 + 1;
      }
      if (TcpVisible != 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(RobotVisibilityMessage other) {
      if (other == null) {
        return;
      }
      if (other.RobotId.Length != 0) {
        RobotId = other.RobotId;
      }
      if (other.BaseVisible != false) {
        BaseVisible = other.BaseVisible;
      }
      if (other.UpperArmVisible != false) {
        UpperArmVisible = other.UpperArmVisible;
      }
      if (other.ForearmVisible != false) {
        ForearmVisible = other.ForearmVisible;
      }
      if (other.WristVisible != false) {
        WristVisible = other.WristVisible;
      }
      if (other.EndEffectorVisible != false) {
        EndEffectorVisible = other.EndEffectorVisible;
      }
      if (other.TcpVisible != false) {
        TcpVisible = other.TcpVisible;
      }
      _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: {
            RobotId = input.ReadString();
            break;
          }
          case 16: {
            BaseVisible = input.ReadBool();
            break;
          }
          case 24: {
            UpperArmVisible = input.ReadBool();
            break;
          }
          case 32: {
            ForearmVisible = input.ReadBool();
            break;
          }
          case 40: {
            WristVisible = input.ReadBool();
            break;
          }
          case 48: {
            EndEffectorVisible = input.ReadBool();
            break;
          }
          case 56: {
            TcpVisible = 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: {
            RobotId = input.ReadString();
            break;
          }
          case 16: {
            BaseVisible = input.ReadBool();
            break;
          }
          case 24: {
            UpperArmVisible = input.ReadBool();
            break;
          }
          case 32: {
            ForearmVisible = input.ReadBool();
            break;
          }
          case 40: {
            WristVisible = input.ReadBool();
            break;
          }
          case 48: {
            EndEffectorVisible = input.ReadBool();
            break;
          }
          case 56: {
            TcpVisible = input.ReadBool();
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
