// <auto-generated>
//     Generated by the protocol buffer compiler.  DO NOT EDIT!
//     source: plm/v1/process.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.Plm.V1 {

  /// <summary>Holder for reflection information generated from plm/v1/process.proto</summary>
  public static partial class ProcessReflection {

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

    static ProcessReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "ChRwbG0vdjEvcHJvY2Vzcy5wcm90bxIGcGxtLnYxGhZnZW9tZXRyeS92MS9w",
            "b3NlLnByb3RvGh9nb29nbGUvcHJvdG9idWYvdGltZXN0YW1wLnByb3RvGhVw",
            "bG0vdjEvc2VxdWVuY2UucHJvdG8aEXBsbS92MS90YXNrLnByb3RvIqoECg5Q",
            "cm9jZXNzTWVzc2FnZRIfCgtpbnN0YW5jZV9pZBgBIAEoCVIKaW5zdGFuY2VJ",
            "ZBIOCgJpZBgCIAEoCVICaWQSEgoEbmFtZRgDIAEoCVIEbmFtZRIgCgtkZXNj",
            "cmlwdGlvbhgEIAEoCVILZGVzY3JpcHRpb24SJwoEdHlwZRgFIAEoDjITLnBs",
            "bS52MS5Qcm9jZXNzVHlwZVIEdHlwZRIwCgVmcmFtZRgGIAEoCzIaLmdlb21l",
            "dHJ5LnYxLkxvY2FsaXplZFBvc2VSBWZyYW1lEigKEHJvb3Rfc2VxdWVuY2Vf",
            "aWQYByABKAlSDnJvb3RTZXF1ZW5jZUlkEjUKCXNlcXVlbmNlcxgIIAMoCzIX",
            "LnBsbS52MS5TZXF1ZW5jZU1lc3NhZ2VSCXNlcXVlbmNlcxIpCgV0YXNrcxgJ",
            "IAMoCzITLnBsbS52MS5UYXNrTWVzc2FnZVIFdGFza3MSKgoFc3RhdGUYCiAB",
            "KA4yFC5wbG0udjEuUHJvY2Vzc1N0YXRlUgVzdGF0ZRI4Cglpbml0aWF0ZWQY",
            "CyABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wUglpbml0aWF0ZWQS",
            "MAoFZW5kZWQYDCABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wUgVl",
            "bmRlZBIZCghvcmRlcl9pZBgNIAEoCVIHb3JkZXJJZBIXCgdsaW5lX2lkGA4g",
            "ASgJUgZsaW5lSWQipgEKFVByb2Nlc3NVcGRhdGVkTWVzc2FnZRIfCgtpbnN0",
            "YW5jZV9pZBgBIAEoCVIKaW5zdGFuY2VJZBIOCgJpZBgCIAEoCVICaWQSKgoF",
            "c3RhdGUYCiABKA4yFC5wbG0udjEuUHJvY2Vzc1N0YXRlUgVzdGF0ZRIwCgVl",
            "bmRlZBgMIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBSBWVuZGVk",
            "IkgKEFByb2Nlc3Nlc01lc3NhZ2USNAoJcHJvY2Vzc2VzGAEgAygLMhYucGxt",
            "LnYxLlByb2Nlc3NNZXNzYWdlUglwcm9jZXNzZXMqnQEKC1Byb2Nlc3NUeXBl",
            "EhwKGFBST0NFU1NfVFlQRV9VTlNQRUNJRklFRBAAEhkKFVBST0NFU1NfVFlQ",
            "RV9BU1NFTUJMWRABEhwKGFBST0NFU1NfVFlQRV9ESVNBU1NFTUJMWRACEhsK",
            "F1BST0NFU1NfVFlQRV9JTlNQRUNUSU9OEAMSGgoWUFJPQ0VTU19UWVBFX0NI",
            "RUNLTElTVBAEKp8BCgxQcm9jZXNzU3RhdGUSHQoZUFJPQ0VTU19TVEFURV9V",
            "TlNQRUNJRklFRBAAEhkKFVBST0NFU1NfU1RBVEVfV0FJVElORxABEh0KGVBS",
            "T0NFU1NfU1RBVEVfSU5fUFJPR1JFU1MQAhIbChdQUk9DRVNTX1NUQVRFX0NP",
            "TVBMRVRFRBADEhkKFVBST0NFU1NfU1RBVEVfQUJPUlRFRBAEQo8BCgpjb20u",
            "cGxtLnYxQgxQcm9jZXNzUHJvdG9QAVoxZ2l0aHViLmNvbS9jb2JvdGFyL3By",
            "b3RvY29sL21lc3NhZ2VzL3BsbS92MTtwbG12MaICA1BYWKoCD01lc3NhZ2Vz",
            "LlBsbS5WMcoCBlBsbVxWMeICElBsbVxWMVxHUEJNZXRhZGF0YeoCB1BsbTo6",
            "VjFiBnByb3RvMw=="));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { global::Messages.Common.V1.PoseReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, global::Messages.Plm.V1.SequenceReflection.Descriptor, global::Messages.Plm.V1.TaskReflection.Descriptor, },
          new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Messages.Plm.V1.ProcessType), typeof(global::Messages.Plm.V1.ProcessState), }, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::Messages.Plm.V1.ProcessMessage), global::Messages.Plm.V1.ProcessMessage.Parser, new[]{ "InstanceId", "Id", "Name", "Description", "Type", "Frame", "RootSequenceId", "Sequences", "Tasks", "State", "Initiated", "Ended", "OrderId", "LineId" }, null, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Messages.Plm.V1.ProcessUpdatedMessage), global::Messages.Plm.V1.ProcessUpdatedMessage.Parser, new[]{ "InstanceId", "Id", "State", "Ended" }, null, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Messages.Plm.V1.ProcessesMessage), global::Messages.Plm.V1.ProcessesMessage.Parser, new[]{ "Processes" }, null, null, null, null)
          }));
    }
    #endregion

  }
  #region Enums
  public enum ProcessType {
    [pbr::OriginalName("PROCESS_TYPE_UNSPECIFIED")] Unspecified = 0,
    [pbr::OriginalName("PROCESS_TYPE_ASSEMBLY")] Assembly = 1,
    [pbr::OriginalName("PROCESS_TYPE_DISASSEMBLY")] Disassembly = 2,
    /// <summary>
    /// TODO: what should this be?
    /// </summary>
    [pbr::OriginalName("PROCESS_TYPE_INSPECTION")] Inspection = 3,
    /// <summary>
    /// TODO: this could be startup procedures, fault fixing, ...
    /// </summary>
    [pbr::OriginalName("PROCESS_TYPE_CHECKLIST")] Checklist = 4,
  }

  public enum ProcessState {
    [pbr::OriginalName("PROCESS_STATE_UNSPECIFIED")] Unspecified = 0,
    [pbr::OriginalName("PROCESS_STATE_WAITING")] Waiting = 1,
    [pbr::OriginalName("PROCESS_STATE_IN_PROGRESS")] InProgress = 2,
    [pbr::OriginalName("PROCESS_STATE_COMPLETED")] Completed = 3,
    [pbr::OriginalName("PROCESS_STATE_ABORTED")] Aborted = 4,
  }

  #endregion

  #region Messages
  /// <summary>
  /// TODO: should 'running' be called process and 'static' recipe?
  /// TODO: Add/assign the agent(s) at runtime, instead of allocating them to the environment. THen there could also be a situation where each agent is asked to take a task during execution.
  /// </summary>
  [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
  public sealed partial class ProcessMessage : pb::IMessage<ProcessMessage>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<ProcessMessage> _parser = new pb::MessageParser<ProcessMessage>(() => new ProcessMessage());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<ProcessMessage> Parser { get { return _parser; } }

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

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public ProcessMessage(ProcessMessage other) : this() {
      instanceId_ = other.instanceId_;
      id_ = other.id_;
      name_ = other.name_;
      description_ = other.description_;
      type_ = other.type_;
      frame_ = other.frame_ != null ? other.frame_.Clone() : null;
      rootSequenceId_ = other.rootSequenceId_;
      sequences_ = other.sequences_.Clone();
      tasks_ = other.tasks_.Clone();
      state_ = other.state_;
      initiated_ = other.initiated_ != null ? other.initiated_.Clone() : null;
      ended_ = other.ended_ != null ? other.ended_.Clone() : null;
      orderId_ = other.orderId_;
      lineId_ = other.lineId_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

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

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

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

    /// <summary>Field number for the "name" field.</summary>
    public const int NameFieldNumber = 3;
    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");
      }
    }

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

    /// <summary>Field number for the "type" field.</summary>
    public const int TypeFieldNumber = 5;
    private global::Messages.Plm.V1.ProcessType type_ = global::Messages.Plm.V1.ProcessType.Unspecified;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Messages.Plm.V1.ProcessType Type {
      get { return type_; }
      set {
        type_ = value;
      }
    }

    /// <summary>Field number for the "frame" field.</summary>
    public const int FrameFieldNumber = 6;
    private global::Messages.Common.V1.LocalizedPose frame_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Messages.Common.V1.LocalizedPose Frame {
      get { return frame_; }
      set {
        frame_ = value;
      }
    }

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

    /// <summary>Field number for the "sequences" field.</summary>
    public const int SequencesFieldNumber = 8;
    private static readonly pb::FieldCodec<global::Messages.Plm.V1.SequenceMessage> _repeated_sequences_codec
        = pb::FieldCodec.ForMessage(66, global::Messages.Plm.V1.SequenceMessage.Parser);
    private readonly pbc::RepeatedField<global::Messages.Plm.V1.SequenceMessage> sequences_ = new pbc::RepeatedField<global::Messages.Plm.V1.SequenceMessage>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<global::Messages.Plm.V1.SequenceMessage> Sequences {
      get { return sequences_; }
    }

    /// <summary>Field number for the "tasks" field.</summary>
    public const int TasksFieldNumber = 9;
    private static readonly pb::FieldCodec<global::Messages.Plm.V1.TaskMessage> _repeated_tasks_codec
        = pb::FieldCodec.ForMessage(74, global::Messages.Plm.V1.TaskMessage.Parser);
    private readonly pbc::RepeatedField<global::Messages.Plm.V1.TaskMessage> tasks_ = new pbc::RepeatedField<global::Messages.Plm.V1.TaskMessage>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<global::Messages.Plm.V1.TaskMessage> Tasks {
      get { return tasks_; }
    }

    /// <summary>Field number for the "state" field.</summary>
    public const int StateFieldNumber = 10;
    private global::Messages.Plm.V1.ProcessState state_ = global::Messages.Plm.V1.ProcessState.Unspecified;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Messages.Plm.V1.ProcessState State {
      get { return state_; }
      set {
        state_ = value;
      }
    }

    /// <summary>Field number for the "initiated" field.</summary>
    public const int InitiatedFieldNumber = 11;
    private global::Google.Protobuf.WellKnownTypes.Timestamp initiated_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Google.Protobuf.WellKnownTypes.Timestamp Initiated {
      get { return initiated_; }
      set {
        initiated_ = value;
      }
    }

    /// <summary>Field number for the "ended" field.</summary>
    public const int EndedFieldNumber = 12;
    private global::Google.Protobuf.WellKnownTypes.Timestamp ended_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Google.Protobuf.WellKnownTypes.Timestamp Ended {
      get { return ended_; }
      set {
        ended_ = value;
      }
    }

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

    /// <summary>Field number for the "line_id" field.</summary>
    public const int LineIdFieldNumber = 14;
    private string lineId_ = "";
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public string LineId {
      get { return lineId_; }
      set {
        lineId_ = 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 ProcessMessage);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(ProcessMessage other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (InstanceId != other.InstanceId) return false;
      if (Id != other.Id) return false;
      if (Name != other.Name) return false;
      if (Description != other.Description) return false;
      if (Type != other.Type) return false;
      if (!object.Equals(Frame, other.Frame)) return false;
      if (RootSequenceId != other.RootSequenceId) return false;
      if(!sequences_.Equals(other.sequences_)) return false;
      if(!tasks_.Equals(other.tasks_)) return false;
      if (State != other.State) return false;
      if (!object.Equals(Initiated, other.Initiated)) return false;
      if (!object.Equals(Ended, other.Ended)) return false;
      if (OrderId != other.OrderId) return false;
      if (LineId != other.LineId) 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 (InstanceId.Length != 0) hash ^= InstanceId.GetHashCode();
      if (Id.Length != 0) hash ^= Id.GetHashCode();
      if (Name.Length != 0) hash ^= Name.GetHashCode();
      if (Description.Length != 0) hash ^= Description.GetHashCode();
      if (Type != global::Messages.Plm.V1.ProcessType.Unspecified) hash ^= Type.GetHashCode();
      if (frame_ != null) hash ^= Frame.GetHashCode();
      if (RootSequenceId.Length != 0) hash ^= RootSequenceId.GetHashCode();
      hash ^= sequences_.GetHashCode();
      hash ^= tasks_.GetHashCode();
      if (State != global::Messages.Plm.V1.ProcessState.Unspecified) hash ^= State.GetHashCode();
      if (initiated_ != null) hash ^= Initiated.GetHashCode();
      if (ended_ != null) hash ^= Ended.GetHashCode();
      if (OrderId.Length != 0) hash ^= OrderId.GetHashCode();
      if (LineId.Length != 0) hash ^= LineId.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 (InstanceId.Length != 0) {
        output.WriteRawTag(10);
        output.WriteString(InstanceId);
      }
      if (Id.Length != 0) {
        output.WriteRawTag(18);
        output.WriteString(Id);
      }
      if (Name.Length != 0) {
        output.WriteRawTag(26);
        output.WriteString(Name);
      }
      if (Description.Length != 0) {
        output.WriteRawTag(34);
        output.WriteString(Description);
      }
      if (Type != global::Messages.Plm.V1.ProcessType.Unspecified) {
        output.WriteRawTag(40);
        output.WriteEnum((int) Type);
      }
      if (frame_ != null) {
        output.WriteRawTag(50);
        output.WriteMessage(Frame);
      }
      if (RootSequenceId.Length != 0) {
        output.WriteRawTag(58);
        output.WriteString(RootSequenceId);
      }
      sequences_.WriteTo(output, _repeated_sequences_codec);
      tasks_.WriteTo(output, _repeated_tasks_codec);
      if (State != global::Messages.Plm.V1.ProcessState.Unspecified) {
        output.WriteRawTag(80);
        output.WriteEnum((int) State);
      }
      if (initiated_ != null) {
        output.WriteRawTag(90);
        output.WriteMessage(Initiated);
      }
      if (ended_ != null) {
        output.WriteRawTag(98);
        output.WriteMessage(Ended);
      }
      if (OrderId.Length != 0) {
        output.WriteRawTag(106);
        output.WriteString(OrderId);
      }
      if (LineId.Length != 0) {
        output.WriteRawTag(114);
        output.WriteString(LineId);
      }
      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 (InstanceId.Length != 0) {
        output.WriteRawTag(10);
        output.WriteString(InstanceId);
      }
      if (Id.Length != 0) {
        output.WriteRawTag(18);
        output.WriteString(Id);
      }
      if (Name.Length != 0) {
        output.WriteRawTag(26);
        output.WriteString(Name);
      }
      if (Description.Length != 0) {
        output.WriteRawTag(34);
        output.WriteString(Description);
      }
      if (Type != global::Messages.Plm.V1.ProcessType.Unspecified) {
        output.WriteRawTag(40);
        output.WriteEnum((int) Type);
      }
      if (frame_ != null) {
        output.WriteRawTag(50);
        output.WriteMessage(Frame);
      }
      if (RootSequenceId.Length != 0) {
        output.WriteRawTag(58);
        output.WriteString(RootSequenceId);
      }
      sequences_.WriteTo(ref output, _repeated_sequences_codec);
      tasks_.WriteTo(ref output, _repeated_tasks_codec);
      if (State != global::Messages.Plm.V1.ProcessState.Unspecified) {
        output.WriteRawTag(80);
        output.WriteEnum((int) State);
      }
      if (initiated_ != null) {
        output.WriteRawTag(90);
        output.WriteMessage(Initiated);
      }
      if (ended_ != null) {
        output.WriteRawTag(98);
        output.WriteMessage(Ended);
      }
      if (OrderId.Length != 0) {
        output.WriteRawTag(106);
        output.WriteString(OrderId);
      }
      if (LineId.Length != 0) {
        output.WriteRawTag(114);
        output.WriteString(LineId);
      }
      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 (InstanceId.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(InstanceId);
      }
      if (Id.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(Id);
      }
      if (Name.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
      }
      if (Description.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(Description);
      }
      if (Type != global::Messages.Plm.V1.ProcessType.Unspecified) {
        size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type);
      }
      if (frame_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Frame);
      }
      if (RootSequenceId.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(RootSequenceId);
      }
      size += sequences_.CalculateSize(_repeated_sequences_codec);
      size += tasks_.CalculateSize(_repeated_tasks_codec);
      if (State != global::Messages.Plm.V1.ProcessState.Unspecified) {
        size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) State);
      }
      if (initiated_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Initiated);
      }
      if (ended_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Ended);
      }
      if (OrderId.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(OrderId);
      }
      if (LineId.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(LineId);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(ProcessMessage other) {
      if (other == null) {
        return;
      }
      if (other.InstanceId.Length != 0) {
        InstanceId = other.InstanceId;
      }
      if (other.Id.Length != 0) {
        Id = other.Id;
      }
      if (other.Name.Length != 0) {
        Name = other.Name;
      }
      if (other.Description.Length != 0) {
        Description = other.Description;
      }
      if (other.Type != global::Messages.Plm.V1.ProcessType.Unspecified) {
        Type = other.Type;
      }
      if (other.frame_ != null) {
        if (frame_ == null) {
          Frame = new global::Messages.Common.V1.LocalizedPose();
        }
        Frame.MergeFrom(other.Frame);
      }
      if (other.RootSequenceId.Length != 0) {
        RootSequenceId = other.RootSequenceId;
      }
      sequences_.Add(other.sequences_);
      tasks_.Add(other.tasks_);
      if (other.State != global::Messages.Plm.V1.ProcessState.Unspecified) {
        State = other.State;
      }
      if (other.initiated_ != null) {
        if (initiated_ == null) {
          Initiated = new global::Google.Protobuf.WellKnownTypes.Timestamp();
        }
        Initiated.MergeFrom(other.Initiated);
      }
      if (other.ended_ != null) {
        if (ended_ == null) {
          Ended = new global::Google.Protobuf.WellKnownTypes.Timestamp();
        }
        Ended.MergeFrom(other.Ended);
      }
      if (other.OrderId.Length != 0) {
        OrderId = other.OrderId;
      }
      if (other.LineId.Length != 0) {
        LineId = other.LineId;
      }
      _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: {
            InstanceId = input.ReadString();
            break;
          }
          case 18: {
            Id = input.ReadString();
            break;
          }
          case 26: {
            Name = input.ReadString();
            break;
          }
          case 34: {
            Description = input.ReadString();
            break;
          }
          case 40: {
            Type = (global::Messages.Plm.V1.ProcessType) input.ReadEnum();
            break;
          }
          case 50: {
            if (frame_ == null) {
              Frame = new global::Messages.Common.V1.LocalizedPose();
            }
            input.ReadMessage(Frame);
            break;
          }
          case 58: {
            RootSequenceId = input.ReadString();
            break;
          }
          case 66: {
            sequences_.AddEntriesFrom(input, _repeated_sequences_codec);
            break;
          }
          case 74: {
            tasks_.AddEntriesFrom(input, _repeated_tasks_codec);
            break;
          }
          case 80: {
            State = (global::Messages.Plm.V1.ProcessState) input.ReadEnum();
            break;
          }
          case 90: {
            if (initiated_ == null) {
              Initiated = new global::Google.Protobuf.WellKnownTypes.Timestamp();
            }
            input.ReadMessage(Initiated);
            break;
          }
          case 98: {
            if (ended_ == null) {
              Ended = new global::Google.Protobuf.WellKnownTypes.Timestamp();
            }
            input.ReadMessage(Ended);
            break;
          }
          case 106: {
            OrderId = input.ReadString();
            break;
          }
          case 114: {
            LineId = input.ReadString();
            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: {
            InstanceId = input.ReadString();
            break;
          }
          case 18: {
            Id = input.ReadString();
            break;
          }
          case 26: {
            Name = input.ReadString();
            break;
          }
          case 34: {
            Description = input.ReadString();
            break;
          }
          case 40: {
            Type = (global::Messages.Plm.V1.ProcessType) input.ReadEnum();
            break;
          }
          case 50: {
            if (frame_ == null) {
              Frame = new global::Messages.Common.V1.LocalizedPose();
            }
            input.ReadMessage(Frame);
            break;
          }
          case 58: {
            RootSequenceId = input.ReadString();
            break;
          }
          case 66: {
            sequences_.AddEntriesFrom(ref input, _repeated_sequences_codec);
            break;
          }
          case 74: {
            tasks_.AddEntriesFrom(ref input, _repeated_tasks_codec);
            break;
          }
          case 80: {
            State = (global::Messages.Plm.V1.ProcessState) input.ReadEnum();
            break;
          }
          case 90: {
            if (initiated_ == null) {
              Initiated = new global::Google.Protobuf.WellKnownTypes.Timestamp();
            }
            input.ReadMessage(Initiated);
            break;
          }
          case 98: {
            if (ended_ == null) {
              Ended = new global::Google.Protobuf.WellKnownTypes.Timestamp();
            }
            input.ReadMessage(Ended);
            break;
          }
          case 106: {
            OrderId = input.ReadString();
            break;
          }
          case 114: {
            LineId = input.ReadString();
            break;
          }
        }
      }
    }
    #endif

  }

  /// <summary>
  /// Update published when the state of a process have changed
  /// </summary>
  [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
  public sealed partial class ProcessUpdatedMessage : pb::IMessage<ProcessUpdatedMessage>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<ProcessUpdatedMessage> _parser = new pb::MessageParser<ProcessUpdatedMessage>(() => new ProcessUpdatedMessage());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<ProcessUpdatedMessage> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Messages.Plm.V1.ProcessReflection.Descriptor.MessageTypes[1]; }
    }

    [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 ProcessUpdatedMessage() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public ProcessUpdatedMessage(ProcessUpdatedMessage other) : this() {
      instanceId_ = other.instanceId_;
      id_ = other.id_;
      state_ = other.state_;
      ended_ = other.ended_ != null ? other.ended_.Clone() : null;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

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

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

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

    /// <summary>Field number for the "state" field.</summary>
    public const int StateFieldNumber = 10;
    private global::Messages.Plm.V1.ProcessState state_ = global::Messages.Plm.V1.ProcessState.Unspecified;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Messages.Plm.V1.ProcessState State {
      get { return state_; }
      set {
        state_ = value;
      }
    }

    /// <summary>Field number for the "ended" field.</summary>
    public const int EndedFieldNumber = 12;
    private global::Google.Protobuf.WellKnownTypes.Timestamp ended_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Google.Protobuf.WellKnownTypes.Timestamp Ended {
      get { return ended_; }
      set {
        ended_ = value;
      }
    }

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(ProcessUpdatedMessage other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (InstanceId != other.InstanceId) return false;
      if (Id != other.Id) return false;
      if (State != other.State) return false;
      if (!object.Equals(Ended, other.Ended)) 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 (InstanceId.Length != 0) hash ^= InstanceId.GetHashCode();
      if (Id.Length != 0) hash ^= Id.GetHashCode();
      if (State != global::Messages.Plm.V1.ProcessState.Unspecified) hash ^= State.GetHashCode();
      if (ended_ != null) hash ^= Ended.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 (InstanceId.Length != 0) {
        output.WriteRawTag(10);
        output.WriteString(InstanceId);
      }
      if (Id.Length != 0) {
        output.WriteRawTag(18);
        output.WriteString(Id);
      }
      if (State != global::Messages.Plm.V1.ProcessState.Unspecified) {
        output.WriteRawTag(80);
        output.WriteEnum((int) State);
      }
      if (ended_ != null) {
        output.WriteRawTag(98);
        output.WriteMessage(Ended);
      }
      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 (InstanceId.Length != 0) {
        output.WriteRawTag(10);
        output.WriteString(InstanceId);
      }
      if (Id.Length != 0) {
        output.WriteRawTag(18);
        output.WriteString(Id);
      }
      if (State != global::Messages.Plm.V1.ProcessState.Unspecified) {
        output.WriteRawTag(80);
        output.WriteEnum((int) State);
      }
      if (ended_ != null) {
        output.WriteRawTag(98);
        output.WriteMessage(Ended);
      }
      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 (InstanceId.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(InstanceId);
      }
      if (Id.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(Id);
      }
      if (State != global::Messages.Plm.V1.ProcessState.Unspecified) {
        size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) State);
      }
      if (ended_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Ended);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(ProcessUpdatedMessage other) {
      if (other == null) {
        return;
      }
      if (other.InstanceId.Length != 0) {
        InstanceId = other.InstanceId;
      }
      if (other.Id.Length != 0) {
        Id = other.Id;
      }
      if (other.State != global::Messages.Plm.V1.ProcessState.Unspecified) {
        State = other.State;
      }
      if (other.ended_ != null) {
        if (ended_ == null) {
          Ended = new global::Google.Protobuf.WellKnownTypes.Timestamp();
        }
        Ended.MergeFrom(other.Ended);
      }
      _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: {
            InstanceId = input.ReadString();
            break;
          }
          case 18: {
            Id = input.ReadString();
            break;
          }
          case 80: {
            State = (global::Messages.Plm.V1.ProcessState) input.ReadEnum();
            break;
          }
          case 98: {
            if (ended_ == null) {
              Ended = new global::Google.Protobuf.WellKnownTypes.Timestamp();
            }
            input.ReadMessage(Ended);
            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: {
            InstanceId = input.ReadString();
            break;
          }
          case 18: {
            Id = input.ReadString();
            break;
          }
          case 80: {
            State = (global::Messages.Plm.V1.ProcessState) input.ReadEnum();
            break;
          }
          case 98: {
            if (ended_ == null) {
              Ended = new global::Google.Protobuf.WellKnownTypes.Timestamp();
            }
            input.ReadMessage(Ended);
            break;
          }
        }
      }
    }
    #endif

  }

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Messages.Plm.V1.ProcessReflection.Descriptor.MessageTypes[2]; }
    }

    [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 ProcessesMessage() {
      OnConstruction();
    }

    partial void OnConstruction();

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

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

    /// <summary>Field number for the "processes" field.</summary>
    public const int ProcessesFieldNumber = 1;
    private static readonly pb::FieldCodec<global::Messages.Plm.V1.ProcessMessage> _repeated_processes_codec
        = pb::FieldCodec.ForMessage(10, global::Messages.Plm.V1.ProcessMessage.Parser);
    private readonly pbc::RepeatedField<global::Messages.Plm.V1.ProcessMessage> processes_ = new pbc::RepeatedField<global::Messages.Plm.V1.ProcessMessage>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<global::Messages.Plm.V1.ProcessMessage> Processes {
      get { return processes_; }
    }

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(ProcessesMessage other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if(!processes_.Equals(other.processes_)) 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 ^= processes_.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
      processes_.WriteTo(output, _repeated_processes_codec);
      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) {
      processes_.WriteTo(ref output, _repeated_processes_codec);
      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 += processes_.CalculateSize(_repeated_processes_codec);
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(ProcessesMessage other) {
      if (other == null) {
        return;
      }
      processes_.Add(other.processes_);
      _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: {
            processes_.AddEntriesFrom(input, _repeated_processes_codec);
            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: {
            processes_.AddEntriesFrom(ref input, _repeated_processes_codec);
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
