Home
last modified time | relevance | path

Searched full:speechclient (Results 1 – 25 of 162) sorted by relevance

1234567

/external/google-cloud-java/java-speech/google-cloud-speech/src/main/java/com/google/cloud/speech/v2/
DSpeechClient.java60 * try (SpeechClient speechClient = SpeechClient.create()) {
62 * Recognizer response = speechClient.getRecognizer(name);
66 * <p>Note: close() needs to be called on the SpeechClient object to clean up resources such as
104 * SpeechClient speechClient = SpeechClient.create(speechSettings);
116 * SpeechClient speechClient = SpeechClient.create(speechSettings);
129 * SpeechClient speechClient = SpeechClient.create(speechSettings);
135 public class SpeechClient implements BackgroundResource { class
141 /** Constructs an instance of SpeechClient with default settings. */
142 public static final SpeechClient create() throws IOException { in create()
147 * Constructs an instance of SpeechClient, using the given settings. The channels are created
[all …]
Dpackage-info.java22 * <p>======================= SpeechClient =======================
26 * <p>Sample for SpeechClient:
34 * try (SpeechClient speechClient = SpeechClient.create()) {
36 * Recognizer response = speechClient.getRecognizer(name);
/external/google-cloud-java/java-speech/google-cloud-speech/src/main/java/com/google/cloud/speech/v1/
DSpeechClient.java46 * try (SpeechClient speechClient = SpeechClient.create()) {
49 * RecognizeResponse response = speechClient.recognize(config, audio);
53 * <p>Note: close() needs to be called on the SpeechClient object to clean up resources such as
91 * SpeechClient speechClient = SpeechClient.create(speechSettings);
103 * SpeechClient speechClient = SpeechClient.create(speechSettings);
116 * SpeechClient speechClient = SpeechClient.create(speechSettings);
122 public class SpeechClient implements BackgroundResource { class
128 /** Constructs an instance of SpeechClient with default settings. */
129 public static final SpeechClient create() throws IOException { in create()
134 * Constructs an instance of SpeechClient, using the given settings. The channels are created
[all …]
Dpackage-info.java22 * <p>======================= SpeechClient =======================
26 * <p>Sample for SpeechClient:
34 * try (SpeechClient speechClient = SpeechClient.create()) {
37 * RecognizeResponse response = speechClient.recognize(config, audio);
/external/google-cloud-java/java-speech/google-cloud-speech/src/main/java/com/google/cloud/speech/v1p1beta1/
DSpeechClient.java46 * try (SpeechClient speechClient = SpeechClient.create()) {
49 * RecognizeResponse response = speechClient.recognize(config, audio);
53 * <p>Note: close() needs to be called on the SpeechClient object to clean up resources such as
91 * SpeechClient speechClient = SpeechClient.create(speechSettings);
103 * SpeechClient speechClient = SpeechClient.create(speechSettings);
116 * SpeechClient speechClient = SpeechClient.create(speechSettings);
123 public class SpeechClient implements BackgroundResource { class
129 /** Constructs an instance of SpeechClient with default settings. */
130 public static final SpeechClient create() throws IOException { in create()
135 * Constructs an instance of SpeechClient, using the given settings. The channels are created
[all …]
Dpackage-info.java22 * <p>======================= SpeechClient =======================
26 * <p>Sample for SpeechClient:
34 * try (SpeechClient speechClient = SpeechClient.create()) {
37 * RecognizeResponse response = speechClient.recognize(config, audio);
/external/google-cloud-java/java-speech/google-cloud-speech/src/test/java/com/google/cloud/speech/v1/it/
DITSpeechTest.java27 import com.google.cloud.speech.v1.SpeechClient;
44 private static SpeechClient speechClient; field in ITSpeechTest
66 speechClient = SpeechClient.create(settingsBuilder.build()); in setupClass()
71 speechClient.close(); in tearDownClass()
76 RecognizeResponse response = speechClient.recognize(config(2), audio()); in syncRecognize()
87 speechClient.longRunningRecognizeAsync(config(2), audio()).get(); in longrunningRecognize()
108 speechClient.streamingRecognizeCallable().bidiStreamingCall(responseObserver); in streamingRecognize()
/external/google-cloud-java/java-speech/samples/snippets/generated/com/google/cloud/speech/v2/speech/getrecognizer/
DSyncGetRecognizerRecognizername.java22 import com.google.cloud.speech.v2.SpeechClient;
36 try (SpeechClient speechClient = SpeechClient.create()) { in syncGetRecognizerRecognizername() argument
38 Recognizer response = speechClient.getRecognizer(name); in syncGetRecognizerRecognizername()
/external/google-cloud-java/java-speech/samples/snippets/generated/com/google/cloud/speech/v2/speech/getconfig/
DSyncGetConfigConfigname.java22 import com.google.cloud.speech.v2.SpeechClient;
36 try (SpeechClient speechClient = SpeechClient.create()) { in syncGetConfigConfigname() argument
38 Config response = speechClient.getConfig(name); in syncGetConfigConfigname()
DSyncGetConfigString.java22 import com.google.cloud.speech.v2.SpeechClient;
36 try (SpeechClient speechClient = SpeechClient.create()) { in syncGetConfigString() argument
38 Config response = speechClient.getConfig(name); in syncGetConfigString()
DSyncGetConfig.java23 import com.google.cloud.speech.v2.SpeechClient;
37 try (SpeechClient speechClient = SpeechClient.create()) { in syncGetConfig() argument
42 Config response = speechClient.getConfig(request); in syncGetConfig()
/external/google-cloud-java/java-speech/samples/snippets/generated/com/google/cloud/speech/v2/speech/getphraseset/
DSyncGetPhraseSetPhrasesetname.java22 import com.google.cloud.speech.v2.SpeechClient;
36 try (SpeechClient speechClient = SpeechClient.create()) { in syncGetPhraseSetPhrasesetname() argument
38 PhraseSet response = speechClient.getPhraseSet(name); in syncGetPhraseSetPhrasesetname()
DSyncGetPhraseSet.java23 import com.google.cloud.speech.v2.SpeechClient;
37 try (SpeechClient speechClient = SpeechClient.create()) { in syncGetPhraseSet() argument
42 PhraseSet response = speechClient.getPhraseSet(request); in syncGetPhraseSet()
/external/google-cloud-java/java-speech/samples/snippets/generated/com/google/cloud/speech/v2/speech/getlocation/
DSyncGetLocation.java22 import com.google.cloud.speech.v2.SpeechClient;
36 try (SpeechClient speechClient = SpeechClient.create()) { in syncGetLocation() argument
38 Location response = speechClient.getLocation(request); in syncGetLocation()
/external/google-cloud-java/java-speech/samples/snippets/generated/com/google/cloud/speech/v2/speech/getcustomclass/
DSyncGetCustomClassCustomclassname.java22 import com.google.cloud.speech.v2.SpeechClient;
36 try (SpeechClient speechClient = SpeechClient.create()) { in syncGetCustomClassCustomclassname() argument
38 CustomClass response = speechClient.getCustomClass(name); in syncGetCustomClassCustomclassname()
DSyncGetCustomClassString.java22 import com.google.cloud.speech.v2.SpeechClient;
36 try (SpeechClient speechClient = SpeechClient.create()) { in syncGetCustomClassString() argument
38 CustomClass response = speechClient.getCustomClass(name); in syncGetCustomClassString()
/external/google-cloud-java/java-speech/samples/snippets/generated/com/google/cloud/speech/v2/speech/undeletecustomclass/
DSyncUndeleteCustomClassCustomclassname.java22 import com.google.cloud.speech.v2.SpeechClient;
36 try (SpeechClient speechClient = SpeechClient.create()) { in syncUndeleteCustomClassCustomclassname() argument
38 CustomClass response = speechClient.undeleteCustomClassAsync(name).get(); in syncUndeleteCustomClassCustomclassname()
DSyncUndeleteCustomClassString.java22 import com.google.cloud.speech.v2.SpeechClient;
36 try (SpeechClient speechClient = SpeechClient.create()) { in syncUndeleteCustomClassString() argument
38 CustomClass response = speechClient.undeleteCustomClassAsync(name).get(); in syncUndeleteCustomClassString()
/external/google-cloud-java/java-speech/samples/snippets/generated/com/google/cloud/speech/v2/speech/createcustomclass/
DSyncCreateCustomClassStringCustomclassString.java22 import com.google.cloud.speech.v2.SpeechClient;
36 try (SpeechClient speechClient = SpeechClient.create()) { in syncCreateCustomClassStringCustomclassString() argument
41 speechClient.createCustomClassAsync(parent, customClass, customClassId).get(); in syncCreateCustomClassStringCustomclassString()
/external/google-cloud-java/java-speech/samples/snippets/generated/com/google/cloud/speech/v2/speech/listphrasesets/
DSyncListPhraseSetsLocationname.java22 import com.google.cloud.speech.v2.SpeechClient;
36 try (SpeechClient speechClient = SpeechClient.create()) { in syncListPhraseSetsLocationname() argument
38 for (PhraseSet element : speechClient.listPhraseSets(parent).iterateAll()) { in syncListPhraseSetsLocationname()
DSyncListPhraseSetsString.java22 import com.google.cloud.speech.v2.SpeechClient;
36 try (SpeechClient speechClient = SpeechClient.create()) { in syncListPhraseSetsString() argument
38 for (PhraseSet element : speechClient.listPhraseSets(parent).iterateAll()) { in syncListPhraseSetsString()
/external/google-cloud-java/java-speech/samples/snippets/generated/com/google/cloud/speech/v1/speech/recognize/
DSyncRecognizeRecognitionconfigRecognitionaudio.java23 import com.google.cloud.speech.v1.SpeechClient;
37 try (SpeechClient speechClient = SpeechClient.create()) { in syncRecognizeRecognitionconfigRecognitionaudio() argument
40 RecognizeResponse response = speechClient.recognize(config, audio); in syncRecognizeRecognitionconfigRecognitionaudio()
/external/google-cloud-java/java-speech/samples/snippets/generated/com/google/cloud/speech/v2/speech/deletecustomclass/
DSyncDeleteCustomClassString.java22 import com.google.cloud.speech.v2.SpeechClient;
36 try (SpeechClient speechClient = SpeechClient.create()) { in syncDeleteCustomClassString() argument
38 CustomClass response = speechClient.deleteCustomClassAsync(name).get(); in syncDeleteCustomClassString()
/external/google-cloud-java/java-speech/samples/snippets/generated/com/google/cloud/speech/v2/speech/createrecognizer/
DSyncCreateRecognizerStringRecognizerString.java22 import com.google.cloud.speech.v2.SpeechClient;
36 try (SpeechClient speechClient = SpeechClient.create()) { in syncCreateRecognizerStringRecognizerString() argument
41 speechClient.createRecognizerAsync(parent, recognizer, recognizerId).get(); in syncCreateRecognizerStringRecognizerString()
/external/google-cloud-java/java-speech/samples/snippets/generated/com/google/cloud/speech/v2/speech/undeleterecognizer/
DSyncUndeleteRecognizerRecognizername.java22 import com.google.cloud.speech.v2.SpeechClient;
36 try (SpeechClient speechClient = SpeechClient.create()) { in syncUndeleteRecognizerRecognizername() argument
38 Recognizer response = speechClient.undeleteRecognizerAsync(name).get(); in syncUndeleteRecognizerRecognizername()

1234567