code: public static RetryDeterminer<IOException> createRateLimitedRetryDeterminer(
        final ApiErrorExtractor errorExtractor) {
      return new RetryDeterminer<IOException>() {
        @Override
        public boolean shouldRetry(IOException e) {
          return errorExtractor.rateLimited(e);
        }
      };
    }
docs: A {@link RetryDeterminer} that retries on rate limited errors as determined by the
  provided {@link ApiErrorExtractor}.
  
  @param errorExtractor The {@link ApiErrorExtractor} that will determine if it is rate limited.