Spread @IntDef across all int-accepting methods.

@IntDef were added to all int-accepting methods. Please check if I did not miss anything.