File tree Expand file tree Collapse file tree 5 files changed +26
-26
lines changed
texttospeech/cloud-client
src/main/java/com/example/texttospeech Expand file tree Collapse file tree 5 files changed +26
-26
lines changed Original file line number Diff line number Diff line change 3535 <dependency >
3636 <groupId >com.google.cloud</groupId >
3737 <artifactId >google-cloud-texttospeech</artifactId >
38- <version >0.52 .0-beta</version >
38+ <version >0.53 .0-beta</version >
3939 </dependency >
4040 <dependency >
4141 <groupId >net.sourceforge.argparse4j</groupId >
Original file line number Diff line number Diff line change 1717package com .example .texttospeech ;
1818
1919// Imports the Google Cloud client library
20- import com .google .cloud .texttospeech .v1beta1 .ListVoicesRequest ;
21- import com .google .cloud .texttospeech .v1beta1 .ListVoicesResponse ;
22- import com .google .cloud .texttospeech .v1beta1 .TextToSpeechClient ;
23- import com .google .cloud .texttospeech .v1beta1 .Voice ;
20+ import com .google .cloud .texttospeech .v1 .ListVoicesRequest ;
21+ import com .google .cloud .texttospeech .v1 .ListVoicesResponse ;
22+ import com .google .cloud .texttospeech .v1 .TextToSpeechClient ;
23+ import com .google .cloud .texttospeech .v1 .Voice ;
2424import com .google .protobuf .ByteString ;
2525
2626import java .util .List ;
Original file line number Diff line number Diff line change 1818
1919// [START tts_quickstart]
2020// Imports the Google Cloud client library
21- import com .google .cloud .texttospeech .v1beta1 .AudioConfig ;
22- import com .google .cloud .texttospeech .v1beta1 .AudioEncoding ;
23- import com .google .cloud .texttospeech .v1beta1 .SsmlVoiceGender ;
24- import com .google .cloud .texttospeech .v1beta1 .SynthesisInput ;
25- import com .google .cloud .texttospeech .v1beta1 .SynthesizeSpeechResponse ;
26- import com .google .cloud .texttospeech .v1beta1 .TextToSpeechClient ;
27- import com .google .cloud .texttospeech .v1beta1 .VoiceSelectionParams ;
21+ import com .google .cloud .texttospeech .v1 .AudioConfig ;
22+ import com .google .cloud .texttospeech .v1 .AudioEncoding ;
23+ import com .google .cloud .texttospeech .v1 .SsmlVoiceGender ;
24+ import com .google .cloud .texttospeech .v1 .SynthesisInput ;
25+ import com .google .cloud .texttospeech .v1 .SynthesizeSpeechResponse ;
26+ import com .google .cloud .texttospeech .v1 .TextToSpeechClient ;
27+ import com .google .cloud .texttospeech .v1 .VoiceSelectionParams ;
2828import com .google .protobuf .ByteString ;
2929import java .io .FileOutputStream ;
3030import java .io .OutputStream ;
Original file line number Diff line number Diff line change 1717package com .example .texttospeech ;
1818
1919// Imports the Google Cloud client library
20- import com .google .cloud .texttospeech .v1beta1 .AudioConfig ;
21- import com .google .cloud .texttospeech .v1beta1 .AudioEncoding ;
22- import com .google .cloud .texttospeech .v1beta1 .SsmlVoiceGender ;
23- import com .google .cloud .texttospeech .v1beta1 .SynthesisInput ;
24- import com .google .cloud .texttospeech .v1beta1 .SynthesizeSpeechResponse ;
25- import com .google .cloud .texttospeech .v1beta1 .TextToSpeechClient ;
26- import com .google .cloud .texttospeech .v1beta1 .VoiceSelectionParams ;
20+ import com .google .cloud .texttospeech .v1 .AudioConfig ;
21+ import com .google .cloud .texttospeech .v1 .AudioEncoding ;
22+ import com .google .cloud .texttospeech .v1 .SsmlVoiceGender ;
23+ import com .google .cloud .texttospeech .v1 .SynthesisInput ;
24+ import com .google .cloud .texttospeech .v1 .SynthesizeSpeechResponse ;
25+ import com .google .cloud .texttospeech .v1 .TextToSpeechClient ;
26+ import com .google .cloud .texttospeech .v1 .VoiceSelectionParams ;
2727import com .google .protobuf .ByteString ;
2828
2929import java .io .FileOutputStream ;
Original file line number Diff line number Diff line change 1717package com .example .texttospeech ;
1818
1919// Imports the Google Cloud client library
20- import com .google .cloud .texttospeech .v1beta1 .AudioConfig ;
21- import com .google .cloud .texttospeech .v1beta1 .AudioEncoding ;
22- import com .google .cloud .texttospeech .v1beta1 .SsmlVoiceGender ;
23- import com .google .cloud .texttospeech .v1beta1 .SynthesisInput ;
24- import com .google .cloud .texttospeech .v1beta1 .SynthesizeSpeechResponse ;
25- import com .google .cloud .texttospeech .v1beta1 .TextToSpeechClient ;
26- import com .google .cloud .texttospeech .v1beta1 .VoiceSelectionParams ;
20+ import com .google .cloud .texttospeech .v1 .AudioConfig ;
21+ import com .google .cloud .texttospeech .v1 .AudioEncoding ;
22+ import com .google .cloud .texttospeech .v1 .SsmlVoiceGender ;
23+ import com .google .cloud .texttospeech .v1 .SynthesisInput ;
24+ import com .google .cloud .texttospeech .v1 .SynthesizeSpeechResponse ;
25+ import com .google .cloud .texttospeech .v1 .TextToSpeechClient ;
26+ import com .google .cloud .texttospeech .v1 .VoiceSelectionParams ;
2727import com .google .protobuf .ByteString ;
2828
2929import java .io .FileOutputStream ;
You can’t perform that action at this time.
0 commit comments