feat(proto): add a proto field to signify whether a file is protected (#5308)

* feat(proto): add a proto field to signify whether a file is protected

* fix: add comment
2 files changed