instead annotation of flag interface for Stream protocol

Signed-off-by: kim.shen <sjw_job@126.com>