- // Enumeration of the possible match query types. Callers who only need some
- // of the matches for a particular input can get answers more quickly by
- // specifying that upfront.
- enum MatchesRequested {
- // Only the best match in the whole result set matters. Providers should at
- // most return synchronously-available matches, and if possible do even less
- // work, so that it's safe to ask for these repeatedly in the course of one
- // higher-level "synchronous" query.
- BEST_MATCH,
-
- // Only synchronous matches should be returned.
- SYNCHRONOUS_MATCHES,
-
- // All matches should be fetched.
- ALL_MATCHES,
- };
-