2 changes to your code:
List<String> names = new ArrayList<String>();
names.add("Alice");
names.add("Bob");
String sql = "SELECT * FROM people WHERE name IN UNNEST(@names)";
Statement statement = Statement
.newBuilder(sql)
.bind("names").toStringArray(names)
.build();
First we need to make a condition IN UNNEST, since we're going to bind an array, not duplicate values.
to toStringArray, , .
, , , :
SELECT * FROM people WHERE name IN UNNEST(["Alice", "Bob"])