public static ComponentFilter route(String route) {
    return new ComponentFilter("route", route);
  }
Matches long or short name of a route.

@param route The name of the route to filter on.
@return Returns a {@link ComponentFilter}.
src/main/java/com/google/maps/model/ComponentFilter.java