public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 10: {
                    if (commit_ == null)
                    {
                        commit_ = new global::Dolittle.Runtime.Events.Relativity.Protobuf.CommittedEventStream();
                    }
                    input.ReadMessage(commit_);
                    break;
                }

                case 18: {
                    if (context_ == null)
                    {
                        context_ = new global::Dolittle.Runtime.Events.Relativity.Protobuf.ExecutionContext();
                    }
                    input.ReadMessage(context_);
                    break;
                }
                }
            }
        }
 public void MergeFrom(CommittedEventStreamWithContext other)
 {
     if (other == null)
     {
         return;
     }
     if (other.commit_ != null)
     {
         if (commit_ == null)
         {
             commit_ = new global::Dolittle.Runtime.Events.Relativity.Protobuf.CommittedEventStream();
         }
         Commit.MergeFrom(other.Commit);
     }
     if (other.context_ != null)
     {
         if (context_ == null)
         {
             context_ = new global::Dolittle.Runtime.Events.Relativity.Protobuf.ExecutionContext();
         }
         Context.MergeFrom(other.Context);
     }
 }