Home
last modified time | relevance | path

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

1234567

/aosp_15_r20/external/google-cloud-java/java-speech/google-cloud-speech/src/main/java/com/google/cloud/speech/v2/
H A 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 …]
H A Dpackage-info.java22 * <p>======================= SpeechClient =======================
26 * <p>Sample for SpeechClient:
34 * try (SpeechClient speechClient = SpeechClient.create()) {
36 * Recognizer response = speechClient.getRecognizer(name);
/aosp_15_r20/external/google-cloud-java/java-speech/google-cloud-speech/src/main/java/com/google/cloud/speech/v1/
H A 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 …]
H A Dpackage-info.java22 * <p>======================= SpeechClient =======================
26 * <p>Sample for SpeechClient:
34 * try (SpeechClient speechClient = SpeechClient.create()) {
37 * RecognizeResponse response = speechClient.recognize(config, audio);
/aosp_15_r20/external/google-cloud-java/java-speech/google-cloud-speech/src/main/java/com/google/cloud/speech/v1p1beta1/
H A 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 …]
H A Dpackage-info.java22 * <p>======================= SpeechClient =======================
26 * <p>Sample for SpeechClient:
34 * try (SpeechClient speechClient = SpeechClient.create()) {
37 * RecognizeResponse response = speechClient.recognize(config, audio);
/aosp_15_r20/external/google-cloud-java/java-speech/google-cloud-speech/src/test/java/com/google/cloud/speech/v1/it/
H A 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()
/aosp_15_r20/external/google-cloud-java/java-speech/samples/snippets/generated/com/google/cloud/speech/v2/speech/getrecognizer/
H A 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()
/aosp_15_r20/external/google-cloud-java/java-speech/samples/snippets/generated/com/google/cloud/speech/v2/speech/getconfig/
H A 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()
H A 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()
/aosp_15_r20/external/google-cloud-java/java-speech/samples/snippets/generated/com/google/cloud/speech/v2/speech/getlocation/
H A 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()
/aosp_15_r20/external/google-cloud-java/java-speech/samples/snippets/generated/com/google/cloud/speech/v2/speech/getcustomclass/
H A 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()
H A DSyncGetCustomClass.java23 import com.google.cloud.speech.v2.SpeechClient;
37 try (SpeechClient speechClient = SpeechClient.create()) { in syncGetCustomClass() argument
42 CustomClass response = speechClient.getCustomClass(request); in syncGetCustomClass()
/aosp_15_r20/external/google-cloud-java/java-speech/samples/snippets/generated/com/google/cloud/speech/v2/speech/getphraseset/
H A 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()
/aosp_15_r20/external/google-cloud-java/java-speech/samples/snippets/generated/com/google/cloud/speech/v2/speech/deleterecognizer/
H A DSyncDeleteRecognizerString.java22 import com.google.cloud.speech.v2.SpeechClient;
36 try (SpeechClient speechClient = SpeechClient.create()) { in syncDeleteRecognizerString() argument
38 Recognizer response = speechClient.deleteRecognizerAsync(name).get(); in syncDeleteRecognizerString()
H A DSyncDeleteRecognizerRecognizername.java22 import com.google.cloud.speech.v2.SpeechClient;
36 try (SpeechClient speechClient = SpeechClient.create()) { in syncDeleteRecognizerRecognizername() argument
38 Recognizer response = speechClient.deleteRecognizerAsync(name).get(); in syncDeleteRecognizerRecognizername()
/aosp_15_r20/external/google-cloud-java/java-speech/samples/snippets/generated/com/google/cloud/speech/v2/speech/listrecognizers/
H A DSyncListRecognizersLocationname.java22 import com.google.cloud.speech.v2.SpeechClient;
36 try (SpeechClient speechClient = SpeechClient.create()) { in syncListRecognizersLocationname() argument
38 for (Recognizer element : speechClient.listRecognizers(parent).iterateAll()) { in syncListRecognizersLocationname()
/aosp_15_r20/external/google-cloud-java/java-speech/samples/snippets/generated/com/google/cloud/speech/v2/speech/deletephraseset/
H A DSyncDeletePhraseSetPhrasesetname.java22 import com.google.cloud.speech.v2.SpeechClient;
36 try (SpeechClient speechClient = SpeechClient.create()) { in syncDeletePhraseSetPhrasesetname() argument
38 PhraseSet response = speechClient.deletePhraseSetAsync(name).get(); in syncDeletePhraseSetPhrasesetname()
/aosp_15_r20/external/google-cloud-java/java-speech/samples/snippets/generated/com/google/cloud/speech/v2/speech/undeletecustomclass/
H A 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()
/aosp_15_r20/external/google-cloud-java/java-speech/samples/snippets/generated/com/google/cloud/speech/v2/speech/createcustomclass/
H A DSyncCreateCustomClassLocationnameCustomclassString.java22 import com.google.cloud.speech.v2.SpeechClient;
36 try (SpeechClient speechClient = SpeechClient.create()) { in syncCreateCustomClassLocationnameCustomclassString() argument
41 speechClient.createCustomClassAsync(parent, customClass, customClassId).get(); in syncCreateCustomClassLocationnameCustomclassString()
/aosp_15_r20/external/google-cloud-java/java-speech/samples/snippets/generated/com/google/cloud/speech/v2/speech/createrecognizer/
H A 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()
H A DSyncCreateRecognizerLocationnameRecognizerString.java22 import com.google.cloud.speech.v2.SpeechClient;
36 try (SpeechClient speechClient = SpeechClient.create()) { in syncCreateRecognizerLocationnameRecognizerString() argument
41 speechClient.createRecognizerAsync(parent, recognizer, recognizerId).get(); in syncCreateRecognizerLocationnameRecognizerString()
/aosp_15_r20/external/google-cloud-java/java-speech/samples/snippets/generated/com/google/cloud/speech/v2/speech/listcustomclasses/
H A DSyncListCustomClassesLocationname.java22 import com.google.cloud.speech.v2.SpeechClient;
36 try (SpeechClient speechClient = SpeechClient.create()) { in syncListCustomClassesLocationname() argument
38 for (CustomClass element : speechClient.listCustomClasses(parent).iterateAll()) { in syncListCustomClassesLocationname()
/aosp_15_r20/external/google-cloud-java/java-speech/samples/snippets/generated/com/google/cloud/speech/v1/speech/recognize/
H A 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()
/aosp_15_r20/external/google-cloud-java/java-speech/samples/snippets/generated/com/google/cloud/speech/v1p1beta1/speech/recognize/
H A DSyncRecognizeRecognitionconfigRecognitionaudio.java23 import com.google.cloud.speech.v1p1beta1.SpeechClient;
37 try (SpeechClient speechClient = SpeechClient.create()) { in syncRecognizeRecognitionconfigRecognitionaudio() argument
40 RecognizeResponse response = speechClient.recognize(config, audio); in syncRecognizeRecognitionconfigRecognitionaudio()

1234567