code: public DirectionsApiRequest waypoints(LatLng... waypoints) {
      Waypoint[] objWaypoints = new Waypoint[waypoints.length];
      for (int i = 0; i < waypoints.length; i++) {
        objWaypoints[i] = new Waypoint(waypoints[i]);
      }
      return waypoints(objWaypoints);
    }
docs: The list of waypoints as latitude/longitude locations.
  
  <p>See {@link #waypoints(Waypoint...)}.
  
  @param waypoints The waypoints to add to this directions request.
  @return Returns this {@code DirectionsApiRequest} for call chaining.