File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
speech/snippets/src/main/java/com/example/speech Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 1818
1919// [START speech_quickstart]
2020// Imports the Google Cloud client library
21- import com .google .cloud .speech .v1p1beta1 .RecognitionAudio ;
22- import com .google .cloud .speech .v1p1beta1 .RecognitionConfig ;
23- import com .google .cloud .speech .v1p1beta1 .RecognitionConfig .AudioEncoding ;
24- import com .google .cloud .speech .v1p1beta1 .RecognizeResponse ;
25- import com .google .cloud .speech .v1p1beta1 .SpeechClient ;
26- import com .google .cloud .speech .v1p1beta1 .SpeechRecognitionAlternative ;
27- import com .google .cloud .speech .v1p1beta1 .SpeechRecognitionResult ;
21+ import com .google .cloud .speech .v1 .RecognitionAudio ;
22+ import com .google .cloud .speech .v1 .RecognitionConfig ;
23+ import com .google .cloud .speech .v1 .RecognitionConfig .AudioEncoding ;
24+ import com .google .cloud .speech .v1 .RecognizeResponse ;
25+ import com .google .cloud .speech .v1 .SpeechClient ;
26+ import com .google .cloud .speech .v1 .SpeechRecognitionAlternative ;
27+ import com .google .cloud .speech .v1 .SpeechRecognitionResult ;
2828import com .google .protobuf .ByteString ;
2929import java .nio .file .Files ;
3030import java .nio .file .Path ;
You can’t perform that action at this time.
0 commit comments