Merge "[Cherry-pick] Add android annotation dependency for @RequiresApi in generated code." into main