I am trying to do the youtube example here about how to download captions using JAVA. I was able to import all the libraries that they used except one, com.google.api.services.samples.youtube.cmdline.Auth. I don't konw where to find this libary to import. This is similar to this question but im not sure how the given answer helps.
the two lines that need this import are
Credential credential = Auth.authorize(scopes, "captions");
youtube = new YouTube.Builder(Auth.HTTP_TRANSPORT, Auth.JSON_FACTORY, credential)
.setApplicationName("youtube-cmdline-captions-sample").build();