@Override
  public String toString() {
    String str =
        String.format(
            "[DirectionsRoute: \"%s\", %d legs, waypointOrder=%s, bounds=%s",
            summary, legs.length, Arrays.toString(waypointOrder), bounds);
    if (fare != null) {
      str = str + ", fare=" + fare;
    }
    if (warnings != null && warnings.length > 0) {
      str = str + ", " + warnings.length + " warnings";
    }
    str = str + "]";
    return str;
  }
Warnings to be displayed when showing these directions. You must handle and display these
warnings yourself.
src/main/java/com/google/maps/model/DirectionsRoute.java