/aosp_15_r20/external/google-cloud-java/java-speech/google-cloud-speech/src/main/java/com/google/cloud/speech/v2/ |
H A D | SpeechClient.java | 60 * 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 D | package-info.java | 22 * <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 D | SpeechClient.java | 46 * 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 D | package-info.java | 22 * <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 D | SpeechClient.java | 46 * 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 D | package-info.java | 22 * <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 D | ITSpeechTest.java | 27 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 D | SyncGetRecognizerRecognizername.java | 22 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 D | SyncGetConfigString.java | 22 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 D | SyncGetConfigConfigname.java | 22 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 D | SyncGetLocation.java | 22 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 D | SyncGetCustomClassCustomclassname.java | 22 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 D | SyncGetCustomClass.java | 23 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 D | SyncGetPhraseSetPhrasesetname.java | 22 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 D | SyncDeleteRecognizerString.java | 22 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 D | SyncDeleteRecognizerRecognizername.java | 22 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 D | SyncListRecognizersLocationname.java | 22 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 D | SyncDeletePhraseSetPhrasesetname.java | 22 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 D | SyncUndeleteCustomClassString.java | 22 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 D | SyncCreateCustomClassLocationnameCustomclassString.java | 22 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 D | SyncCreateRecognizerStringRecognizerString.java | 22 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 D | SyncCreateRecognizerLocationnameRecognizerString.java | 22 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 D | SyncListCustomClassesLocationname.java | 22 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 D | SyncRecognizeRecognitionconfigRecognitionaudio.java | 23 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 D | SyncRecognizeRecognitionconfigRecognitionaudio.java | 23 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()
|