pub fn pb_pid_to_pid(pid: &ProcedureId) -> Result<ProcedureId>
Cast the protobuf [ProcedureId] to common [ProcedureId].
ProcedureId