diff --git a/texttospeech/snippets/src/main/java/com/example/texttospeech/ListAllSupportedVoices.java b/texttospeech/snippets/src/main/java/com/example/texttospeech/ListAllSupportedVoices.java index da20617b81a..795bae7b852 100644 --- a/texttospeech/snippets/src/main/java/com/example/texttospeech/ListAllSupportedVoices.java +++ b/texttospeech/snippets/src/main/java/com/example/texttospeech/ListAllSupportedVoices.java @@ -17,10 +17,10 @@ package com.example.texttospeech; // Imports the Google Cloud client library -import com.google.cloud.texttospeech.v1beta1.ListVoicesRequest; -import com.google.cloud.texttospeech.v1beta1.ListVoicesResponse; -import com.google.cloud.texttospeech.v1beta1.TextToSpeechClient; -import com.google.cloud.texttospeech.v1beta1.Voice; +import com.google.cloud.texttospeech.v1.ListVoicesRequest; +import com.google.cloud.texttospeech.v1.ListVoicesResponse; +import com.google.cloud.texttospeech.v1.TextToSpeechClient; +import com.google.cloud.texttospeech.v1.Voice; import com.google.protobuf.ByteString; import java.util.List; diff --git a/texttospeech/snippets/src/main/java/com/example/texttospeech/QuickstartSample.java b/texttospeech/snippets/src/main/java/com/example/texttospeech/QuickstartSample.java index d05c05f2dc9..542cab8af51 100644 --- a/texttospeech/snippets/src/main/java/com/example/texttospeech/QuickstartSample.java +++ b/texttospeech/snippets/src/main/java/com/example/texttospeech/QuickstartSample.java @@ -18,13 +18,13 @@ // [START tts_quickstart] // Imports the Google Cloud client library -import com.google.cloud.texttospeech.v1beta1.AudioConfig; -import com.google.cloud.texttospeech.v1beta1.AudioEncoding; -import com.google.cloud.texttospeech.v1beta1.SsmlVoiceGender; -import com.google.cloud.texttospeech.v1beta1.SynthesisInput; -import com.google.cloud.texttospeech.v1beta1.SynthesizeSpeechResponse; -import com.google.cloud.texttospeech.v1beta1.TextToSpeechClient; -import com.google.cloud.texttospeech.v1beta1.VoiceSelectionParams; +import com.google.cloud.texttospeech.v1.AudioConfig; +import com.google.cloud.texttospeech.v1.AudioEncoding; +import com.google.cloud.texttospeech.v1.SsmlVoiceGender; +import com.google.cloud.texttospeech.v1.SynthesisInput; +import com.google.cloud.texttospeech.v1.SynthesizeSpeechResponse; +import com.google.cloud.texttospeech.v1.TextToSpeechClient; +import com.google.cloud.texttospeech.v1.VoiceSelectionParams; import com.google.protobuf.ByteString; import java.io.FileOutputStream; import java.io.OutputStream; diff --git a/texttospeech/snippets/src/main/java/com/example/texttospeech/SynthesizeFile.java b/texttospeech/snippets/src/main/java/com/example/texttospeech/SynthesizeFile.java index 8e22a1b05e9..2b1ab08d07f 100644 --- a/texttospeech/snippets/src/main/java/com/example/texttospeech/SynthesizeFile.java +++ b/texttospeech/snippets/src/main/java/com/example/texttospeech/SynthesizeFile.java @@ -17,13 +17,13 @@ package com.example.texttospeech; // Imports the Google Cloud client library -import com.google.cloud.texttospeech.v1beta1.AudioConfig; -import com.google.cloud.texttospeech.v1beta1.AudioEncoding; -import com.google.cloud.texttospeech.v1beta1.SsmlVoiceGender; -import com.google.cloud.texttospeech.v1beta1.SynthesisInput; -import com.google.cloud.texttospeech.v1beta1.SynthesizeSpeechResponse; -import com.google.cloud.texttospeech.v1beta1.TextToSpeechClient; -import com.google.cloud.texttospeech.v1beta1.VoiceSelectionParams; +import com.google.cloud.texttospeech.v1.AudioConfig; +import com.google.cloud.texttospeech.v1.AudioEncoding; +import com.google.cloud.texttospeech.v1.SsmlVoiceGender; +import com.google.cloud.texttospeech.v1.SynthesisInput; +import com.google.cloud.texttospeech.v1.SynthesizeSpeechResponse; +import com.google.cloud.texttospeech.v1.TextToSpeechClient; +import com.google.cloud.texttospeech.v1.VoiceSelectionParams; import com.google.protobuf.ByteString; import java.io.FileOutputStream; diff --git a/texttospeech/snippets/src/main/java/com/example/texttospeech/SynthesizeText.java b/texttospeech/snippets/src/main/java/com/example/texttospeech/SynthesizeText.java index fb4f296c685..c447b69c028 100644 --- a/texttospeech/snippets/src/main/java/com/example/texttospeech/SynthesizeText.java +++ b/texttospeech/snippets/src/main/java/com/example/texttospeech/SynthesizeText.java @@ -17,13 +17,13 @@ package com.example.texttospeech; // Imports the Google Cloud client library -import com.google.cloud.texttospeech.v1beta1.AudioConfig; -import com.google.cloud.texttospeech.v1beta1.AudioEncoding; -import com.google.cloud.texttospeech.v1beta1.SsmlVoiceGender; -import com.google.cloud.texttospeech.v1beta1.SynthesisInput; -import com.google.cloud.texttospeech.v1beta1.SynthesizeSpeechResponse; -import com.google.cloud.texttospeech.v1beta1.TextToSpeechClient; -import com.google.cloud.texttospeech.v1beta1.VoiceSelectionParams; +import com.google.cloud.texttospeech.v1.AudioConfig; +import com.google.cloud.texttospeech.v1.AudioEncoding; +import com.google.cloud.texttospeech.v1.SsmlVoiceGender; +import com.google.cloud.texttospeech.v1.SynthesisInput; +import com.google.cloud.texttospeech.v1.SynthesizeSpeechResponse; +import com.google.cloud.texttospeech.v1.TextToSpeechClient; +import com.google.cloud.texttospeech.v1.VoiceSelectionParams; import com.google.protobuf.ByteString; import java.io.FileOutputStream;